Package javax.vecmath
Class Point2f
java.lang.Object
javax.vecmath.Tuple2f
javax.vecmath.Point2f
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Point2f extends Tuple2f implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description float
distance(Point2f point2f)
float
distanceL1(Point2f point2f)
float
distanceLinf(Point2f point2f)
float
distanceSquared(Point2f point2f)
Methods inherited from class javax.vecmath.Tuple2f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, getX, getY, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, setX, setY, sub, sub, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Point2f
public Point2f(float float1, float float2) -
Point2f
public Point2f(float[] floatArray) -
Point2f
-
Point2f
-
Point2f
-
Point2f
-
Point2f
public Point2f()
-
-
Method Details
-
distanceSquared
-
distance
-
distanceL1
-
distanceLinf
-