SmApiNonManifoldRotationalSweep#
Defined in SM_API/inc/SmApiBrep.h
- SmApiStatus SmApiNonManifoldRotationalSweep(
- SmBrep *pBrepToSweep,
- SmBrep *pRegionBrep,
- const SmPoint3d &rBasePt,
- const SmVector3d &rAxis,
- double dAngleDeg,
- 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.
rBasePt – [in ]: Rotation axis base point
rAxis – [in ]: Rotation axis direction
dAngleDeg – [in ]: Angle of rotation in degrees
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.