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 Details

    • UtilShapePolygon

      public UtilShapePolygon()
  • Method Details

    • convert

      public static boolean convert(LineGeneral2D_F64[] lines, Polygon2D_F64 poly)
      Finds the intersections between the four lines and converts it into a quadrilateral
      Parameters:
      lines - Assumes lines are ordered