Uses of Class
georegression.struct.shapes.Rectangle2D_F32
Package
Description
-
Uses of Rectangle2D_F32 in georegression.fitting.polygon
Modifier and TypeMethodDescriptionstatic Rectangle2D_F32
FitPolygon2D_F32.rectangleAabb
(List<Point2D_F32> points, @Nullable Rectangle2D_F32 rectangle) Finds the smallest Axis Aligned Bounding Box (AABB) for the set of set of points.Modifier and TypeMethodDescriptionstatic Rectangle2D_F32
FitPolygon2D_F32.rectangleAabb
(List<Point2D_F32> points, @Nullable Rectangle2D_F32 rectangle) Finds the smallest Axis Aligned Bounding Box (AABB) for the set of set of points. -
Uses of Rectangle2D_F32 in georegression.geometry
Modifier and TypeMethodDescriptionstatic Rectangle2D_F32
UtilPoint2D_F32.bounding
(List<Point2D_F32> points, @Nullable Rectangle2D_F32 bounding) Finds the minimal volumeRectangleLength2D_F32
which contains all the points.Modifier and TypeMethodDescriptionstatic Rectangle2D_F32
UtilPoint2D_F32.bounding
(List<Point2D_F32> points, @Nullable Rectangle2D_F32 bounding) Finds the minimal volumeRectangleLength2D_F32
which contains all the points.static void
UtilPolygons2D_F32.bounding
(Polygon2D_F32 polygon, Rectangle2D_F32 rectangle) Finds the minimum area bounding rectangle around the quadrilateral that is aligned with coordinate system axises.static void
UtilPolygons2D_F32.bounding
(Quadrilateral_F32 quad, Rectangle2D_F32 rectangle) Finds the minimum area bounding rectangle around the quadrilateral.static void
UtilPolygons2D_F32.convert
(Rectangle2D_F32 input, Polygon2D_F32 output) Converts a rectangle into a polygonstatic void
UtilPolygons2D_F32.convert
(Rectangle2D_F32 input, Quadrilateral_F32 output) Converts a rectangle into a quadrilateral -
Uses of Rectangle2D_F32 in georegression.metric
Modifier and TypeMethodDescriptionstatic boolean
Intersection2D_F32.contains
(Rectangle2D_F32 a, float x, float y) Checks to see if the specified point is inside the rectangle.static boolean
Intersection2D_F32.contains2
(Rectangle2D_F32 a, float x, float y) Checks to see if the specified point is inside the rectangle.static boolean
Intersection2D_F32.intersection
(Rectangle2D_F32 a, Rectangle2D_F32 b, Rectangle2D_F32 result) Finds the intersection between two rectangles.static float
Intersection2D_F32.intersectionArea
(Rectangle2D_F32 a, Rectangle2D_F32 b) Returns the area of the intersection of two rectangles.static boolean
Intersection2D_F32.intersects
(LineSegment2D_F32 line, Rectangle2D_F32 rect, float tol) Checks to see if the line segment and rectangle intersect each other.static boolean
Intersection2D_F32.intersects
(Rectangle2D_F32 a, Rectangle2D_F32 b) Checks to see if the two rectangles intersect each otherstatic float
Area2D_F32.rectangle
(Rectangle2D_F32 r) Returns the area of the Rectanglestatic float
Distance2D_F32.scoreIoU
(Rectangle2D_F32 a, Rectangle2D_F32 b) Returns the Intersection Over Union (IoU) score -
Uses of Rectangle2D_F32 in georegression.struct.shapes
Modifier and TypeMethodDescriptionRectangle2D_F32.setTo
(float x0, float y0, float x1, float y1) Rectangle2D_F32.setTo
(Rectangle2D_F32 orig) Modifier and TypeMethodDescriptionboolean
Rectangle2D_F32.isEquals
(Rectangle2D_F32 r, float tol) Returns true if all the extents are within tolerance.Rectangle2D_F32.setTo
(Rectangle2D_F32 orig)