Class Contour2DInfoMap


  • public class Contour2DInfoMap
    extends java.lang.Object
    class for analysing 2d contours.
    • Constructor Detail

      • Contour2DInfoMap

        public Contour2DInfoMap​(long cPtr,
                                boolean cMemoryOwn)
      • Contour2DInfoMap

        public Contour2DInfoMap​(int resolution)
        constructor
        Parameters:
        resolution - [in] the resolution of the dicretisation of the
        polar coordinates.
      • Contour2DInfoMap

        public Contour2DInfoMap()
        constructor
    • Method Detail

      • delete

        public void delete()
      • reset

        public void reset​(Contour2D contor)
        initialize the contour2d map with a contour
      • printToFile

        public void printToFile​(java.lang.String file)
        writes this contour information to file
        Parameters:
        file - [in] name of file
      • getMinCurvature

        public double getMinCurvature()
        get min curvature of contour
        Returns:
        min curvature
      • getMaxCurvature

        public double getMaxCurvature()
        get max curvature of contour
        Returns:
        max curvature
      • getAvgCurvature

        public double getAvgCurvature()
        get average curvature of contour
        Returns:
        average curvature
      • getContour

        public Contour2D getContour()
        get the 2d contour
        Returns:
        2d contour