API Reference > FacetModeler Namespace > Classes > Profile2D Class > Profile2D Methods > Profile2D::regularizeTo Method
Profile2D::regularizeTo Method
Syntax
C++
Result regularizeTo(Profile2D& rDest, const OdGeTol& gTol = FMGeGbl::gTol) const;
Parameters 
Description 
Profile2D& rDest 
[out] Resulting contour.  
const OdGeTol& gTol = FMGeGbl::gTol 
[in] Tolerance.  

eOk if the contour regularization succeeded, or a corresponding error type otherwise.

Removes self-intersecting parts oriented clockwise and leaves counter-clockwise parts intact. 

 

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