Uses of Class
algs12.Point2D
-
Uses of Point2D in algs12
Modifier and TypeFieldDescriptionfinal Comparator
<Point2D> Point2D.ATAN2_ORDER
final Comparator
<Point2D> Point2D.DISTANCE_TO_ORDER
final Comparator
<Point2D> Point2D.POLAR_ORDER
static final Comparator
<Point2D> Point2D.R_ORDER
static final Comparator
<Point2D> Point2D.X_ORDER
static final Comparator
<Point2D> Point2D.Y_ORDER
Modifier and TypeMethodDescriptionstatic double
static int
int
boolean
double
Point2D.distanceSquaredTo
(Point2D that) double
Point2D.distanceTo
(Point2D that) void
-
Uses of Point2D in algs32.kdtree
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionModifier and TypeMethodDescriptionboolean
boolean
boolean
double
RectHV.distanceSquaredTo
(Point2D p) double
RectHV.distanceTo
(Point2D p) void
void
-
Uses of Point2D in algs91
Modifier and TypeMethodDescriptionClosestPair.either()
FarthestPair.either()
XInteractiveFarthestPair.FarthestPairBrute.either()
ClosestPair.other()
FarthestPair.other()
XInteractiveFarthestPair.FarthestPairBrute.other()
ModifierConstructorDescriptionClosestPair
(Point2D[] points) FarthestPair
(Point2D[] points) FarthestPairBrute
(Point2D[] points) GrahamScan
(Point2D[] pts) XGrahamScanNondegenerate
(Point2D[] points)