Package javax.vecmath
Class Point2d
java.lang.Object
javax.vecmath.Tuple2d
javax.vecmath.Point2d
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Point2d extends Tuple2d implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description doubledistance(Point2d point2d)doubledistanceL1(Point2d point2d)doubledistanceLinf(Point2d point2d)doubledistanceSquared(Point2d point2d)Methods inherited from class javax.vecmath.Tuple2d
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, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Point2d
public Point2d(double double1, double double2) -
Point2d
public Point2d(double[] doubleArray) -
Point2d
-
Point2d
-
Point2d
-
Point2d
-
Point2d
public Point2d()
-
-
Method Details
-
distanceSquared
-
distance
-
distanceL1
-
distanceLinf
-