SmApiNonManifoldSweep#
Defined in SM_API/inc/SmApiBrep.h
- SmApiStatus SmApiNonManifoldSweep(
- SmBrep *pBrepToSweep,
- SmBrep *pRegionBrep,
- const SmVector3d &rSweepDir,
- double dSweepDist,
- SmBoolean bDoStitching,
- SmBoolean bDoMerge,
- SmTArray<SmFace*> *pOptFaces,
- SmTArray<SmEdge*> *pOptEdges,
- SmTArray<SmVertex*> *pOptVertices,
- Parameters:
pBrepToSweep – [in/out]: Brep containing topology to sweep; modified in place
pRegionBrep –
[in ]: Target region’s Brep. NULL or pBrepToSweep; any other
: Brep returns SM_ERR_INVALID_INPUT, because only
: pBrepToSweep is stitched, validated and returned.
: SmTopologySweep::DoSweep still accepts a distinct Brep.
rSweepDir – [in ]: Sweep direction vector
dSweepDist – [in ]: Sweep distance
bDoStitching – [in ]: TRUE = stitch after sweep
bDoMerge – [in ]: TRUE = merge (catches self-intersections)
pOptFaces – [opt]: Faces to sweep into solids, NULL to ignore faces
pOptEdges – [opt]: Edges to sweep into faces, NULL to ignore edges
pOptVertices –
[opt]: Vertices to sweep into edges, NULL to ignore vertices;
: only when all three are NULL is the whole Brep swept.
: Every entry must be live topology of pBrepToSweep; a
: null, foreign or stale handle returns
: SM_ERR_INVALID_INPUT and nothing is modified.