![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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 occ::handle< BRepFill_SectionLaw > &Section, const occ::handle< BRepFill_LocationLaw > &Location, const bool WithKPart) | |
| void | SetBounds (const TopoDS_Wire &FirstShape, const TopoDS_Wire &LastShape) |
| void | SetTolerance (const double Tol3d, const double BoundTol=1.0, const double Tol2d=1.0e-5, const double 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 double AngleMin=0.01, const double AngleMax=6.0) |
| Tolerance To controle Corner management. | |
| void | SetForceApproxC1 (const bool ForceApproxC1) |
| Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0. | |
| void | Build (NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > &ReversedEdges, NCollection_DataMap< TopoDS_Shape, occ::handle< NCollection_HArray2< TopoDS_Shape > >, TopTools_ShapeMapHasher > &Tapes, NCollection_DataMap< TopoDS_Shape, occ::handle< NCollection_HArray2< TopoDS_Shape > >, TopTools_ShapeMapHasher > &Rails, const BRepFill_TransitionStyle Transition=BRepFill_Modified, const GeomAbs_Shape Continuity=GeomAbs_C2, const GeomFill_ApproxStyle Approx=GeomFill_Location, const int Degmax=11, const int Segmax=30) |
| Build the Sweep Surface Transition define Transition strategy Approx define Approximation Strategy. | |
| bool | IsDone () const |
| Say if the Shape is Build. | |
| TopoDS_Shape | Shape () const |
| Returns the Sweeping Shape. | |
| double | ErrorOnSurface () const |
| Get the Approximation error. | |
| occ::handle< NCollection_HArray2< TopoDS_Shape > > | SubShape () const |
| occ::handle< NCollection_HArray2< TopoDS_Shape > > | InterFaces () const |
| occ::handle< NCollection_HArray2< TopoDS_Shape > > | Sections () const |
| TopoDS_Shape | Tape (const int 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 occ::handle< BRepFill_SectionLaw > & | Section, |
| const occ::handle< BRepFill_LocationLaw > & | Location, | ||
| const bool | WithKPart ) |
| void BRepFill_Sweep::Build | ( | NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > & | ReversedEdges, |
| NCollection_DataMap< TopoDS_Shape, occ::handle< NCollection_HArray2< TopoDS_Shape > >, TopTools_ShapeMapHasher > & | Tapes, | ||
| NCollection_DataMap< TopoDS_Shape, occ::handle< NCollection_HArray2< TopoDS_Shape > >, TopTools_ShapeMapHasher > & | Rails, | ||
| const BRepFill_TransitionStyle | Transition = BRepFill_Modified, | ||
| const GeomAbs_Shape | Continuity = GeomAbs_C2, | ||
| const GeomFill_ApproxStyle | Approx = GeomFill_Location, | ||
| const int | Degmax = 11, | ||
| const int | Segmax = 30 ) |
Build the Sweep Surface Transition define Transition strategy Approx define Approximation Strategy.
|
protected |
|
protected |
|
protected |
| double BRepFill_Sweep::ErrorOnSurface | ( | ) | const |
Get the Approximation error.
|
protected |
| occ::handle< NCollection_HArray2< TopoDS_Shape > > BRepFill_Sweep::InterFaces | ( | ) | const |
| bool BRepFill_Sweep::IsDone | ( | ) | const |
Say if the Shape is Build.
|
protected |
|
protected |
|
protected |
| occ::handle< NCollection_HArray2< TopoDS_Shape > > BRepFill_Sweep::Sections | ( | ) | const |
| void BRepFill_Sweep::SetAngularControl | ( | const double | AngleMin = 0.01, |
| const double | 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 ) |
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 double | Tol3d, |
| const double | BoundTol = 1.0, | ||
| const double | Tol2d = 1.0e-5, | ||
| const double | 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.
| occ::handle< NCollection_HArray2< TopoDS_Shape > > BRepFill_Sweep::SubShape | ( | ) | const |
| TopoDS_Shape BRepFill_Sweep::Tape | ( | const int | Index | ) | const |
Returns the Tape corresponding to Index-th edge of section.
|
protected |