Class XPoint2D
java.lang.Object
net.sourceforge.plantuml.klimt.geom.XPoint2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledistance(double px, double py) static doubledistance(double x1, double y1, double x2, double y2) doubledoubledistanceSq(XPoint2D other) booleanfinal doublegetX()final doublegetY()inthashCode()move(double dx, double dy) toString()transform(AffineTransform rotate)
-
Field Details
-
x
public final double x -
y
public final double y
-
-
Constructor Details
-
XPoint2D
public XPoint2D(double x, double y)
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
transform
-
getX
public final double getX() -
getY
public final double getY() -
distance
-
distanceSq
-
distance
public static double distance(double x1, double y1, double x2, double y2) -
distance
public double distance(double px, double py) -
move
-
move
-