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 double
distance(Point2d p1)
double
distanceL1(Point2d p1)
double
distanceLinf(Point2d p1)
double
distanceSquared(Point2d p1)
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, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Point2d
public Point2d(double x, double y) -
Point2d
public Point2d(double[] p) -
Point2d
-
Point2d
-
Point2d
-
Point2d
-
Point2d
public Point2d()
-
-
Method Details
-
distanceSquared
-
distance
-
distanceL1
-
distanceLinf
-