Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_Contour Class Reference

Container for path(s) More...

Public Member Functions

int32_t CountElements (int32_t inContour=0) const
 
AOI_ContourElementPtr GetData (int32_t) const
 

Static Public Member Functions

static AOI_ContourNew ()
 

Detailed Description

Container for path(s)

Definition at line 10 of file AOI_Contour.h.

Member Function Documentation

◆ CountElements()

int32_t AOI_Contour::CountElements ( int32_t inContour = 0) const

Returns the number of nodes of the path in this contour object. A contour object can hold multiple paths forming a compound path.

Parameters
inContourIndex of the path. 0 based.
Returns
Number of nodes of the path.
See also
GetData

Definition at line 22 of file AOI_Contour.cpp.

◆ GetData()

AOI_ContourElementPtr AOI_Contour::GetData ( int32_t inContour) const

Returns a pointer to the first node of the path in this contour object. The pointer can be considered as an array of nodes. The number of nodes can be queried using CountElements.

Parameters
inContourIndex of the path. 0 based.
Returns
Pointer to the first node of the path.
See also
GetData

Definition at line 36 of file AOI_Contour.cpp.

◆ New()

AOI_Contour * AOI_Contour::New ( )
static

Creates a new instance of the contour object containing 0 paths.

Returns
Empty contour instance.

Definition at line 47 of file AOI_Contour.cpp.


The documentation for this class was generated from the following files: