API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::isInsideContour Method
Contour2D::isInsideContour Method
Syntax
C++
bool isInsideContour(const Contour2D& c2dOuter, bool fAllowBordersTouch = false, const OdGeTol& gTol = FMGeGbl::gTol) const;
Parameters 
Description 
const Contour2D& c2dOuter 
[in] Probable outer contour.  
bool fAllowBordersTouch = false 
[in] true to allow the contour to touch and overlap, or false to disallow.  
const OdGeTol& gTol = FMGeGbl::gTol 
[in] Tolerance.  

true if this contour is located inside the specified countour, false - otherwise.

Checks whether this contour is inside the specified contour. 

 

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