Documentation of 'georegression.geometry.algs.AndrewMonotoneConvexHull_F32' Java class
AndrewMonotoneConvexHull_F32
georegression.geometry.algs

Class AndrewMonotoneConvexHull_F32



  • public class AndrewMonotoneConvexHull_F32
    extends java.lang.Object
    Computes the convex hull of a set of points using Andrew's monotone chain algorithm. O(n log n) for sort and O(N) for convex hull computation, where N is number of input points.
    • Constructor Detail

      • AndrewMonotoneConvexHull_F32

        public AndrewMonotoneConvexHull_F32()
    • Method Detail

      • process

        public void process(Point2D_F32[] input,
                            int length,
                            Polygon2D_F32 hull)
        Computes the convex hull. The output will be in counter-clockwise order.
        Parameters:
        input - List of input points. The list will be modified by sorting
        length - Number of valid elements in list
        hull - (Output) Where the complex hull is written to

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.