Package boofcv.alg.shapes.polygon
Class UtilShapePolygon
java.lang.Object
boofcv.alg.shapes.polygon.UtilShapePolygon
public class UtilShapePolygon extends Object
Utility functions used by classes which fit polygons to shapes in the image
-
Constructor Summary
Constructors Constructor Description UtilShapePolygon()
-
Method Summary
Modifier and Type Method Description static 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
-