![]() |
v2.46
|
|
Region in two-dimensional space. More...
Public Member Functions | |
| HRESULT | GetContour ([in] int index, [out, retval] ICurve2D **ppContour2D) |
| Returns the contour by the index. The outer contour is always at index 0. | |
| HRESULT | GetContourCount ([out, retval] int *pCount) |
| The number of contours including the outer contour. | |
| HRESULT | GetOuterContour ([out, retval] ICurve2D **ppContour2D) |
| Returns the outer contour of the region. | |
Region in two-dimensional space.
A region represents a connected set of two-dimensional points, which boundaries are described by contours. Contours of the region are represented by polycurves which are closed and not self-intersected (but there may be self-contacts). In arbitrary region there is only one outer contour (positive traverse of outer contour is performed counterclockwise) and several inner contour (positive traverse of inner contour is performed clockwise) which are completely located inside outer contour (or may contact it).
| HRESULT GetContour | ( | [in] int | index, |
| [out, retval] ICurve2D ** | ppContour2D ) |
Returns the contour by the index. The outer contour is always at index 0.
Use cast to IPolyCurve2D interface to decompose the returned contour into segments.
| HRESULT GetOuterContour | ( | [out, retval] ICurve2D ** | ppContour2D | ) |
Returns the outer contour of the region.
Use cast to IPolyCurve2D interface to decompose the returned contour into segments.