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 TypeMethodDescriptionprivate double
static double
static int
int
int
int
int
int
int
int
boolean
double
Point2D.distanceSquaredTo
(Point2D that) double
Point2D.distanceTo
(Point2D that) void
-
Uses of Point2D in algs32.kdtree
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionboolean
boolean
boolean
double
RectHV.distanceSquaredTo
(Point2D p) double
RectHV.distanceTo
(Point2D p) void
protected static boolean
void
protected static boolean
protected static Point2D
private static void
NearestNeighborCorrectnessTest.printError
(int treeSize, PointSET brute, KdTree kdtree, Point2D p) -
Uses of Point2D in algs91
Modifier and TypeFieldDescriptionprivate Point2D
ClosestPair.best1
private Point2D
FarthestPair.best1
private Point2D
ClosestPair.best2
private Point2D
FarthestPair.best2
Modifier and TypeMethodDescriptionClosestPair.either()
FarthestPair.either()
XInteractiveFarthestPair.FarthestPairBrute.either()
ClosestPair.other()
FarthestPair.other()
XInteractiveFarthestPair.FarthestPairBrute.other()
Modifier and TypeMethodDescriptionprivate double
ModifierConstructorDescriptionClosestPair
(Point2D[] points) FarthestPair
(Point2D[] points) FarthestPairBrute
(Point2D[] points) GrahamScan
(Point2D[] pts) XGrahamScanNondegenerate
(Point2D[] points)