Package boofcv.alg.shapes.polygon
Class UtilShapePolygon
java.lang.Object
boofcv.alg.shapes.polygon.UtilShapePolygon
Utility functions used by classes which fit polygons to shapes in the image
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
convert
(LineGeneral2D_F64[] lines, Polygon2D_F64 poly) Finds the intersections between the four lines and converts it into a quadrilateral
-
Constructor Details
-
UtilShapePolygon
public UtilShapePolygon()
-
-
Method Details
-
convert
Finds the intersections between the four lines and converts it into a quadrilateral- Parameters:
lines
- Assumes lines are ordered
-