Contour
The Contour class represents a contour in 2D space. It contains an array of Point objects, which represent the vertices of the contour.
Definition
Namespace: Dynamsoft.Core
class Contour
Methods
| Method | Description |
|---|---|
GetPointsCount |
Gets the number of points in the point array. |
GetPoints |
Gets the point array. |
SetPoints |
Sets the point array and the points free function pointer. |
GetPointsCount
Gets the number of points in the point array.
int GetPointsCount()
Return Value
The number of points in the point array.
GetPoints
Gets the point array.
Point[] GetPoints()
Return Value
Return the point array.
SetPoints
Sets the point array and the points free function pointer.
void SetPoints(Point[] points)
Parameters
[in] points: The point array.