API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::getSubContour Method
Contour2D::getSubContour Method
Syntax
C++
Result getSubContour(double dStartParam, double dEndParam, Contour2D & rSubContour, const OdGeTol & gTol = FMGeGbl::gTol) const;
Parameters 
Description 
double dStartParam 
[in] The lower bound on which to create a sub-contour.  
double dEndParam 
[in] The upper bound on which to create a sub-contour.  
Contour2D & rSubContour 
[out] Resulting sub-contour.  
const OdGeTol & gTol = FMGeGbl::gTol 
[in] Tolerance.  

eOk if the sub-contour is computed successfully, or a corresponding error type otherwise.

Gets a sub-contour given by two parameters. 

 

If (dStartParam > dEndParam), the rSubContour has the opposite direction.

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