Uses of Class
georegression.struct.shapes.Quadrilateral_F32
-
Uses of Quadrilateral_F32 in georegression.geometry
Modifier and TypeMethodDescriptionstatic void
UtilPolygons2D_F32.bounding
(Quadrilateral_F32 quad, Rectangle2D_F32 rectangle) Finds the minimum area bounding rectangle around the quadrilateral.static Point2D_F32
UtilPolygons2D_F32.center
(Quadrilateral_F32 quad, @Nullable Point2D_F32 center) Computes the center or average point in the quadrilateral.static void
UtilPolygons2D_F32.convert
(Polygon2D_F32 input, Quadrilateral_F32 output) Converts a polygon into a quadrilateralstatic void
UtilPolygons2D_F32.convert
(Quadrilateral_F32 input, Polygon2D_F32 output) Converts a quadrilateral into a polygonstatic void
UtilPolygons2D_F32.convert
(Rectangle2D_F32 input, Quadrilateral_F32 output) Converts a rectangle into a quadrilateralstatic void
UtilPolygons2D_F32.convert
(RectangleLength2D_I32 input, Quadrilateral_F32 output) Converts a rectangle into a quadrilateral -
Uses of Quadrilateral_F32 in georegression.metric
Modifier and TypeMethodDescriptionstatic boolean
Intersection2D_F32.contains
(Quadrilateral_F32 quad, Point2D_F32 pt) True if the point is contained inside the quadrilateral.static float
Distance2D_F32.distance
(Quadrilateral_F32 quad, Point2D_F32 p) Returns the Euclidean distance of the closest point on the quadrilateral to the provided point.static float
Distance2D_F32.distanceSq
(Quadrilateral_F32 quad, Point2D_F32 p) Returns the Euclidean distance squared of the closest point on the quadrilateral to the provided point.static float
Area2D_F32.quadrilateral
(Quadrilateral_F32 quad) Area of a quadrilateral computed from two triangles. -
Uses of Quadrilateral_F32 in georegression.struct.shapes
Modifier and TypeMethodDescriptionboolean
Quadrilateral_F32.isEquals
(Quadrilateral_F32 quad, float tol) Returns true if the two quadrilaterals are equal to each other to within tolerance.void
Quadrilateral_F32.setTo
(Quadrilateral_F32 quad)