Class UtilShapePolygon


  • public class UtilShapePolygon
    extends java.lang.Object
    Utility functions used by classes which fit polygons to shapes in the image
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UtilShapePolygon

        public UtilShapePolygon()
    • Method Detail

      • 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