Class XPoint2D
java.lang.Object
net.sourceforge.plantuml.klimt.geom.XPoint2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
distance
(double px, double py) static double
distance
(double x1, double y1, double x2, double y2) double
double
distanceSq
(XPoint2D other) boolean
final double
getX()
final double
getY()
int
hashCode()
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
-