Uses of Class
georegression.struct.shapes.Rectangle2D_F64
Packages that use Rectangle2D_F64
Package
Description
-
Uses of Rectangle2D_F64 in georegression.fitting.polygon
Methods in georegression.fitting.polygon that return Rectangle2D_F64Modifier and TypeMethodDescriptionstatic Rectangle2D_F64
FitPolygon2D_F64.rectangleAabb
(List<Point2D_F64> points, @Nullable Rectangle2D_F64 rectangle) Finds the smallest Axis Aligned Bounding Box (AABB) for the set of set of points.Methods in georegression.fitting.polygon with parameters of type Rectangle2D_F64Modifier and TypeMethodDescriptionstatic Rectangle2D_F64
FitPolygon2D_F64.rectangleAabb
(List<Point2D_F64> points, @Nullable Rectangle2D_F64 rectangle) Finds the smallest Axis Aligned Bounding Box (AABB) for the set of set of points. -
Uses of Rectangle2D_F64 in georegression.geometry
Methods in georegression.geometry that return Rectangle2D_F64Modifier and TypeMethodDescriptionstatic Rectangle2D_F64
UtilPoint2D_F64.bounding
(List<Point2D_F64> points, @Nullable Rectangle2D_F64 bounding) Finds the minimal volumeRectangleLength2D_F64
which contains all the points.Methods in georegression.geometry with parameters of type Rectangle2D_F64Modifier and TypeMethodDescriptionstatic Rectangle2D_F64
UtilPoint2D_F64.bounding
(List<Point2D_F64> points, @Nullable Rectangle2D_F64 bounding) Finds the minimal volumeRectangleLength2D_F64
which contains all the points.static void
UtilPolygons2D_F64.bounding
(Polygon2D_F64 polygon, Rectangle2D_F64 rectangle) Finds the minimum area bounding rectangle around the quadrilateral that is aligned with coordinate system axises.static void
UtilPolygons2D_F64.bounding
(Quadrilateral_F64 quad, Rectangle2D_F64 rectangle) Finds the minimum area bounding rectangle around the quadrilateral.static void
UtilPolygons2D_F64.convert
(Rectangle2D_F64 input, Polygon2D_F64 output) Converts a rectangle into a polygonstatic void
UtilPolygons2D_F64.convert
(Rectangle2D_F64 input, Quadrilateral_F64 output) Converts a rectangle into a quadrilateral -
Uses of Rectangle2D_F64 in georegression.metric
Methods in georegression.metric with parameters of type Rectangle2D_F64Modifier and TypeMethodDescriptionstatic boolean
Intersection2D_F64.contains
(Rectangle2D_F64 a, double x, double y) Checks to see if the specified point is inside the rectangle.static boolean
Intersection2D_F64.contains2
(Rectangle2D_F64 a, double x, double y) Checks to see if the specified point is inside the rectangle.static boolean
Intersection2D_F64.intersection
(Rectangle2D_F64 a, Rectangle2D_F64 b, Rectangle2D_F64 result) Finds the intersection between two rectangles.static double
Intersection2D_F64.intersectionArea
(Rectangle2D_F64 a, Rectangle2D_F64 b) Returns the area of the intersection of two rectangles.static boolean
Intersection2D_F64.intersects
(LineSegment2D_F64 line, Rectangle2D_F64 rect, double tol) Checks to see if the line segment and rectangle intersect each other.static boolean
Intersection2D_F64.intersects
(Rectangle2D_F64 a, Rectangle2D_F64 b) Checks to see if the two rectangles intersect each otherstatic double
Area2D_F64.rectangle
(Rectangle2D_F64 r) Returns the area of the Rectanglestatic double
Distance2D_F64.scoreIoU
(Rectangle2D_F64 a, Rectangle2D_F64 b) Returns the Intersection Over Union (IoU) score -
Uses of Rectangle2D_F64 in georegression.struct.shapes
Methods in georegression.struct.shapes that return Rectangle2D_F64Modifier and TypeMethodDescriptionRectangle2D_F64.setTo
(double x0, double y0, double x1, double y1) Rectangle2D_F64.setTo
(Rectangle2D_F64 orig) Methods in georegression.struct.shapes with parameters of type Rectangle2D_F64Modifier and TypeMethodDescriptionboolean
Rectangle2D_F64.isEquals
(Rectangle2D_F64 r, double tol) Returns true if all the extents are within tolerance.Rectangle2D_F64.setTo
(Rectangle2D_F64 orig) Constructors in georegression.struct.shapes with parameters of type Rectangle2D_F64