SmApiFaceGetBoundaryLoops#
Defined in SM_API/inc/SmApiQueries.h
- SmApiStatus SmApiFaceGetBoundaryLoops(
- SmFace *pFace,
- SmTArray<ULONG> &rEdgeCountsPerLoop,
- SmTArray<SmEdge*> &rEdges,
- SmTArray<SmOrientType> &rOrientations,
- Parameters:
pFace – [in ]: Face to query
rEdgeCountsPerLoop –
[out]: Edge-occurrence count for each loop, outer loop first;
later-loop order is unspecified; a vertex-only loop
contributes a zero countrEdges –
[out]: Borrowed Brep-owned edges, flattened loop by loop in
traversal order; each loop’s starting occurrence is
unspecified; repeated seam occurrences are retained;
invalid after the owning Brep’s topology changes
rOrientations –
[out]: Orientation per edge occurrence; SM_OT_SAME traverses
edge start/min to end/max, SM_OT_OPPOSITE traverses reverse