Package com.treemap.swing.voronoi
Class Point2d
java.lang.Object
com.treemap.swing.voronoi.Tuple2d
com.treemap.swing.voronoi.Point2d
A point in 2D space represented by x and y coordinate asn doubles
-
Constructor Details
-
Point2d
public Point2d() -
Point2d
public Point2d(double x, double y) -
Point2d
-
-
Method Details
-
distanceSquared
-
distance
-
getDistanceSquared
public double getDistanceSquared(int x, int y)
-