API Reference > OdGe Classes > OdGeCurveBoundary Class > OdGeCurveBoundary Methods > OdGeCurveBoundary::getContour Method
OdGeCurveBoundary::getContour Method
Syntax
C++
void getContour(int& numCurves, OdGeEntity3d*** crv3d, OdGeCurve2d*** crv2d, bool** orientation3d, bool** orientation2d) const;
Parameters 
Description 
int& numCurves 
[out] Receives the number of curves in the curve boundary.  
OdGeEntity3d*** crv3d 
[in/out] Array of 3D curves for each element in the curve boundary.  
OdGeCurve2d*** crv2d 
[in/out] Array of 2D curves for each element in the curve boundary.  
bool** orientation3d 
[in/out] Orientation for each 3D curve element. Valid only if crv3d is not NULL; if NULL, the caller must delete allocated memory that was intended for numCurves.  
bool** orientation2d 
[in/out] Orientation for each 2D curve element. Valid only if crv2d is not NULL; if NULL, the caller must delete allocated memory that was intended for numCurves. 

Returns the paramaters for the curve boundary. 

 

For each array, provide memory for the array or allow getCountour to allocate it, and delete the elements of the array. If an array is NULL, getCountour allocates memory and the caller must also delete the corresponding array.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.