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 point2d)
double
distanceL1(Point2d point2d)
double
distanceLinf(Point2d point2d)
double
distanceSquared(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, toString
Methods 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
-