Uses of Class
georegression.struct.point.Point2D_I32
Package
Description
-
Uses of Point2D_I32 in georegression.fitting.line
Modifier and TypeMethodDescriptionstatic LinePolar2D_F32
FitLine_I32.polar
(List<Point2D_I32> points, int start, int length, @Nullable LinePolar2D_F32 ret) Computes the unweighted best fit line to the set of points using the polar line equation.static LinePolar2D_F64
FitLine_I32.polar
(List<Point2D_I32> points, int start, int length, @Nullable LinePolar2D_F64 ret) Computes the unweighted best fit line to the set of points using the polar line equation. -
Uses of Point2D_I32 in georegression.fitting.polygon
Modifier and TypeMethodDescriptionstatic Rectangle2D_I32
FitPolygon2D_I32.rectangleAabb
(List<Point2D_I32> points, @Nullable Rectangle2D_I32 rectangle) Finds the smallest Axis Aligned Bounding Box (AABB) for the set of set of points. -
Uses of Point2D_I32 in georegression.geometry
Modifier and TypeMethodDescriptionstatic Point2D_I32
UtilPoint2D_I32.mean
(List<Point2D_I32> list, @Nullable Point2D_I32 mean) Finds the point which has the mean location of all the points in the list.Modifier and TypeMethodDescriptionstatic double
UtilPoint2D_I32.distance
(Point2D_I32 a, Point2D_I32 b) static int
UtilPoint2D_I32.distanceSq
(Point2D_I32 a, Point2D_I32 b) static boolean
UtilPolygons2D_I32.isPositiveZ
(Point2D_I32 a, Point2D_I32 b, Point2D_I32 c) Returns true if the cross product would result in a strictly positive z (e.g.static Point2D_I32
UtilPoint2D_I32.mean
(List<Point2D_I32> list, @Nullable Point2D_I32 mean) Finds the point which has the mean location of all the points in the list.Modifier and TypeMethodDescriptionstatic void
UtilPolygons2D_I32.bounding
(List<Point2D_I32> points, Rectangle2D_I32 rectangle) Finds the minimum area bounding rectangle which is aligned to the x and y axis around the list of points.static boolean
UtilPolygons2D_I32.isCCW
(List<Point2D_I32> polygon) Returns true if the polygon is ordered in a counter-clockwise order.static Point2D_F32
UtilPoint2D_I32.mean
(List<Point2D_I32> list, @Nullable Point2D_F32 mean) Finds the point which has the mean location of all the points in the list.static Point2D_F64
UtilPoint2D_I32.mean
(List<Point2D_I32> list, @Nullable Point2D_F64 mean) Finds the point which has the mean location of all the points in the list.static Point2D_I32
UtilPoint2D_I32.mean
(List<Point2D_I32> list, @Nullable Point2D_I32 mean) Finds the point which has the mean location of all the points in the list. -
Uses of Point2D_I32 in georegression.metric
Modifier and TypeMethodDescriptionstatic boolean
Intersection2D_I32.containsConcave
(Polygon2D_I32 polygon, Point2D_I32 pt) Checks to see if the point is contained inside the concave polygon.static boolean
Intersection2D_I32.containsConvex
(Polygon2D_I32 polygon, Point2D_I32 pt) Checks to see if the point is contained inside the convex polygon.static double
Distance2D_I32.distance
(LineParametric2D_I32 line, Point2D_I32 p) Returns the distance of a point to the closest point on a line.static double
Distance2D_I32.distance
(LineSegment2D_I32 line, Point2D_I32 p) Returns the distance the closest point on a line segment is from the specified point.static double
Distance2D_I32.distanceSq
(LineParametric2D_I32 line, Point2D_I32 p) Returns the squared distance of a point to the closest point on a line. -
Uses of Point2D_I32 in georegression.misc.test
Modifier and TypeMethodDescriptionstatic void
GeometryUnitTest.assertEquals
(int x, int y, Point2D_I32 found) static void
GeometryUnitTest.assertEquals
(Point2D_I32 expected, Point2D_I32 found) -
Uses of Point2D_I32 in georegression.struct.line
Modifier and TypeFieldDescriptionLineSegment2D_I32.a
LineSegment2D_I32.b
LineParametric2D_I32.p
A point on the lineModifier and TypeMethodDescriptionvoid
LineParametric2D_I32.setP
(Point2D_I32 p) void
LineParametric2D_I32.setPoint
(Point2D_I32 pt) LineSegment2D_I32.setTo
(Point2D_I32 a, Point2D_I32 b) static LineSegment2D_I32
LineSegment2D_I32.wrap
(Point2D_I32 a, Point2D_I32 b) -
Uses of Point2D_I32 in georegression.struct.point
Modifier and TypeMethodDescriptionPoint2D_I32.copy()
Point2D_I32.createNewInstance()
Point2D_I32.setTo
(Point2D_I32 src) Modifier and TypeMethodDescriptiondouble
Point2D_I32.distance
(Point2D_I32 a) int
Point2D_I32.distance2
(Point2D_I32 a) Returns the Euclidean distance squared from 'this' to 'a'.Point2D_I32.setTo
(Point2D_I32 src) -
Uses of Point2D_I32 in georegression.struct.shapes
Modifier and TypeMethodDescriptionPolygon2D_I32.get
(int index) Rectangle2D_I32.getCorner
(int index, @Nullable Point2D_I32 corner) Provides access to corners in the order specified below.Modifier and TypeMethodDescriptionRectangle2D_I32.getCorner
(int index, @Nullable Point2D_I32 corner) Provides access to corners in the order specified below.