public interface PointsToPolyline
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumSides() |
int |
getMinimumSides() |
boolean |
isConvex() |
boolean |
isLoop()
Is it configured for loops or lines?
|
boolean |
process(java.util.List<georegression.struct.point.Point2D_I32> input,
org.ddogleg.struct.GrowQueue_I32 vertexes)
Computes a polyline from the set of image pixels.
|
void |
setConvex(boolean convex)
Specifies if the found polygons will be convex or not.
|
void |
setMaximumSides(int maximum)
Specifies the maximum allowed sides.
|
void |
setMinimumSides(int minimum)
Specifies the minimum number of sides in a polyline that's returned
By default the minimum is 3.
|
boolean process(java.util.List<georegression.struct.point.Point2D_I32> input,
org.ddogleg.struct.GrowQueue_I32 vertexes)
input - (Input) List of points in ordervertexes - (Output) Indexes in the input list which are corners in the polylinevoid setMinimumSides(int minimum)
minimum - The minimum number of allowed verticesint getMinimumSides()
void setMaximumSides(int maximum)
maximum - The maximum number of allowed verticesint getMaximumSides()
boolean isLoop()
void setConvex(boolean convex)
boolean isConvex()