API Reference > Namespaces > ODGT_NAMESPACE Namespace > Classes > ODGT_PARENT Class > ODGT_PARENT Methods > ODGT_PARENT::breakToConvex Method
ODGT_PARENT::breakToConvex Method
Syntax
C++
ContourPtr breakToConvex(unsigned int options, double eps = 0);
Parameters 
Description 
unsigned int options 
[in] Break options.  
double eps = 0 
[in] Maximum tolerance of the initial vertices.  

smart pointer to the first contour after breaking.

Breaks the contour to convex parts. 

 

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