Open CASCADE Technology 7.8.2.dev
|
Topological Sweep Algorithm Computes an Sweep shell using a generating wire, an SectionLaw and an LocationLaw. More...
#include <BRepFill_Sweep.hxx>
Public Member Functions | |
BRepFill_Sweep (const Handle< BRepFill_SectionLaw > &Section, const Handle< BRepFill_LocationLaw > &Location, const Standard_Boolean WithKPart) | |
void | SetBounds (const TopoDS_Wire &FirstShape, const TopoDS_Wire &LastShape) |
void | SetTolerance (const Standard_Real Tol3d, const Standard_Real BoundTol=1.0, const Standard_Real Tol2d=1.0e-5, const Standard_Real TolAngular=1.0e-2) |
Set Approximation Tolerance Tol3d : Tolerance to surface approximation Tol2d : Tolerance used to perform curve approximation Normally the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. TolAngular : Tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface. | |
void | SetAngularControl (const Standard_Real AngleMin=0.01, const Standard_Real AngleMax=6.0) |
Tolerance To controle Corner management. | |
void | SetForceApproxC1 (const Standard_Boolean ForceApproxC1) |
Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0. | |
void | Build (TopTools_MapOfShape &ReversedEdges, BRepFill_DataMapOfShapeHArray2OfShape &Tapes, BRepFill_DataMapOfShapeHArray2OfShape &Rails, const BRepFill_TransitionStyle Transition=BRepFill_Modified, const GeomAbs_Shape Continuity=GeomAbs_C2, const GeomFill_ApproxStyle Approx=GeomFill_Location, const Standard_Integer Degmax=11, const Standard_Integer Segmax=30) |
Build the Sweep Surface Transition define Transition strategy Approx define Approximation Strategy. | |
Standard_Boolean | IsDone () const |
Say if the Shape is Build. | |
TopoDS_Shape | Shape () const |
returns the Sweeping Shape | |
Standard_Real | ErrorOnSurface () const |
Get the Approximation error. | |
Handle< TopTools_HArray2OfShape > | SubShape () const |
Handle< TopTools_HArray2OfShape > | InterFaces () const |
Handle< TopTools_HArray2OfShape > | Sections () const |
TopoDS_Shape | Tape (const Standard_Integer Index) const |
returns the Tape corresponding to Index-th edge of section | |
Topological Sweep Algorithm Computes an Sweep shell using a generating wire, an SectionLaw and an LocationLaw.
BRepFill_Sweep::BRepFill_Sweep | ( | const Handle< BRepFill_SectionLaw > & | Section, |
const Handle< BRepFill_LocationLaw > & | Location, | ||
const Standard_Boolean | WithKPart ) |
void BRepFill_Sweep::Build | ( | TopTools_MapOfShape & | ReversedEdges, |
BRepFill_DataMapOfShapeHArray2OfShape & | Tapes, | ||
BRepFill_DataMapOfShapeHArray2OfShape & | Rails, | ||
const BRepFill_TransitionStyle | Transition = BRepFill_Modified, | ||
const GeomAbs_Shape | Continuity = GeomAbs_C2, | ||
const GeomFill_ApproxStyle | Approx = GeomFill_Location, | ||
const Standard_Integer | Degmax = 11, | ||
const Standard_Integer | Segmax = 30 ) |
Build the Sweep Surface Transition define Transition strategy Approx define Approximation Strategy.
|
protected |
|
protected |
|
protected |
Standard_Real BRepFill_Sweep::ErrorOnSurface | ( | ) | const |
Get the Approximation error.
|
protected |
Handle< TopTools_HArray2OfShape > BRepFill_Sweep::InterFaces | ( | ) | const |
Standard_Boolean BRepFill_Sweep::IsDone | ( | ) | const |
Say if the Shape is Build.
|
protected |
|
protected |
|
protected |
Handle< TopTools_HArray2OfShape > BRepFill_Sweep::Sections | ( | ) | const |
void BRepFill_Sweep::SetAngularControl | ( | const Standard_Real | AngleMin = 0.01, |
const Standard_Real | AngleMax = 6.0 ) |
Tolerance To controle Corner management.
If the discontinuity is lesser than <AngleMin> in radian The Transition Performed will be always "Modified"
void BRepFill_Sweep::SetBounds | ( | const TopoDS_Wire & | FirstShape, |
const TopoDS_Wire & | LastShape ) |
void BRepFill_Sweep::SetForceApproxC1 | ( | const Standard_Boolean | ForceApproxC1 | ) |
Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
void BRepFill_Sweep::SetTolerance | ( | const Standard_Real | Tol3d, |
const Standard_Real | BoundTol = 1.0, | ||
const Standard_Real | Tol2d = 1.0e-5, | ||
const Standard_Real | TolAngular = 1.0e-2 ) |
Set Approximation Tolerance Tol3d : Tolerance to surface approximation Tol2d : Tolerance used to perform curve approximation Normally the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. TolAngular : Tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface.
TopoDS_Shape BRepFill_Sweep::Shape | ( | ) | const |
returns the Sweeping Shape
Handle< TopTools_HArray2OfShape > BRepFill_Sweep::SubShape | ( | ) | const |
TopoDS_Shape BRepFill_Sweep::Tape | ( | const Standard_Integer | Index | ) | const |
returns the Tape corresponding to Index-th edge of section
|
protected |