Uses of Class
georegression.struct.shapes.Rectangle2D_F32
Packages that use Rectangle2D_F32
Package
Description
-
Uses of Rectangle2D_F32 in georegression.fitting.polygon
Methods in georegression.fitting.polygon that return Rectangle2D_F32Modifier and TypeMethodDescriptionstatic Rectangle2D_F32FitPolygon2D_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.Methods in georegression.fitting.polygon with parameters of type Rectangle2D_F32Modifier and TypeMethodDescriptionstatic Rectangle2D_F32FitPolygon2D_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
Methods in georegression.geometry that return Rectangle2D_F32Modifier and TypeMethodDescriptionstatic Rectangle2D_F32UtilPoint2D_F32.bounding(List<Point2D_F32> points, @Nullable Rectangle2D_F32 bounding) Finds the minimal volumeRectangleLength2D_F32which contains all the points.Methods in georegression.geometry with parameters of type Rectangle2D_F32Modifier and TypeMethodDescriptionstatic Rectangle2D_F32UtilPoint2D_F32.bounding(List<Point2D_F32> points, @Nullable Rectangle2D_F32 bounding) Finds the minimal volumeRectangleLength2D_F32which contains all the points.static voidUtilPolygons2D_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 voidUtilPolygons2D_F32.bounding(Quadrilateral_F32 quad, Rectangle2D_F32 rectangle) Finds the minimum area bounding rectangle around the quadrilateral.static voidUtilPolygons2D_F32.convert(Rectangle2D_F32 input, Polygon2D_F32 output) Converts a rectangle into a polygonstatic voidUtilPolygons2D_F32.convert(Rectangle2D_F32 input, Quadrilateral_F32 output) Converts a rectangle into a quadrilateral -
Uses of Rectangle2D_F32 in georegression.metric
Methods in georegression.metric with parameters of type Rectangle2D_F32Modifier and TypeMethodDescriptionstatic booleanIntersection2D_F32.contains(Rectangle2D_F32 a, float x, float y) Checks to see if the specified point is inside the rectangle.static booleanIntersection2D_F32.contains2(Rectangle2D_F32 a, float x, float y) Checks to see if the specified point is inside the rectangle.static booleanIntersection2D_F32.intersection(Rectangle2D_F32 a, Rectangle2D_F32 b, Rectangle2D_F32 result) Finds the intersection between two rectangles.static floatIntersection2D_F32.intersectionArea(Rectangle2D_F32 a, Rectangle2D_F32 b) Returns the area of the intersection of two rectangles.static booleanIntersection2D_F32.intersects(LineSegment2D_F32 line, Rectangle2D_F32 rect, float tol) Checks to see if the line segment and rectangle intersect each other.static booleanIntersection2D_F32.intersects(Rectangle2D_F32 a, Rectangle2D_F32 b) Checks to see if the two rectangles intersect each otherstatic floatArea2D_F32.rectangle(Rectangle2D_F32 r) Returns the area of the Rectanglestatic floatDistance2D_F32.scoreIoU(Rectangle2D_F32 a, Rectangle2D_F32 b) Returns the Intersection Over Union (IoU) score -
Uses of Rectangle2D_F32 in georegression.struct.shapes
Methods in georegression.struct.shapes that return Rectangle2D_F32Modifier and TypeMethodDescriptionRectangle2D_F32.setTo(float x0, float y0, float x1, float y1) Rectangle2D_F32.setTo(Rectangle2D_F32 orig) Methods in georegression.struct.shapes with parameters of type Rectangle2D_F32Modifier and TypeMethodDescriptionbooleanRectangle2D_F32.isEquals(Rectangle2D_F32 r, float tol) Returns true if all the extents are within tolerance.Rectangle2D_F32.setTo(Rectangle2D_F32 orig) Constructors in georegression.struct.shapes with parameters of type Rectangle2D_F32