API Reference > FacetModeler Namespace > Classes > Profile2D Class > Profile2D Methods > Profile2D::getFaces Method
Profile2D::getFaces Method
Syntax
C++
Result getFaces(std::vector<Profile2D>& aFaces) const;
Parameters 
Description 
std::vector<Profile2D>& aFaces 
[out] Array of resulting faces as std::vector.  

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

Gets all profiles. Each of the returned profiles bounds a connected domain and contains one (the first one) big CCW contour and possibly few smaller CW "holes." 

 

This profile should be "regular" (no self-intersections, valid nesting of CCW/CW).

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