Catalano.Imaging.Tools
Class Contour
- java.lang.Object
-
- Catalano.Imaging.Tools.Contour
-
-
Constructor Summary
Constructors Constructor and Description Contour(int label, java.util.List<IntPoint> points)Initializes a new instance of the Contour class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompareTo(Contour c2)intgetLabel()Get the label.intgetLength()Get the length of the contour.IntPoint[]getPointArray()Get points as array.java.util.List<IntPoint>getPoints()Get points.
-
-
-
Constructor Detail
-
Contour
public Contour(int label, java.util.List<IntPoint> points)Initializes a new instance of the Contour class.- Parameters:
label- Label.points- List of points.
-
-
Method Detail
-
getLabel
public int getLabel()
Get the label.- Returns:
- Label.
-
getPoints
public java.util.List<IntPoint> getPoints()
Get points.- Returns:
- Points.
-
getPointArray
public IntPoint[] getPointArray()
Get points as array.- Returns:
- Points.
-
getLength
public int getLength()
Get the length of the contour.- Returns:
- Length.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG