![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Geometrical Sweep Algorithm. More...
#include <GeomFill_Sweep.hxx>
Public Member Functions | |
| GeomFill_Sweep (const occ::handle< GeomFill_LocationLaw > &Location, const bool WithKpart=true) | |
| void | SetDomain (const double First, const double Last, const double SectionFirst, const double SectionLast) |
| Set parametric information [<First>, <Last>] Sets the parametric bound of the sweeping surface to build. <SectionFirst>, <SectionLast> gives corresponding bounds parameter on the section law of <First> and <Last> | |
| void | SetTolerance (const double Tol3d, const double BoundTol=1.0, const double Tol2d=1.0e-5, const double TolAngular=1.0) |
| 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 method define in <LocationLaw> 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 | SetForceApproxC1 (const bool ForceApproxC1) |
| Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0. | |
| bool | ExchangeUV () const |
| returns true if sections are U-Iso This can be produce in some cases when <WithKpart> is True. | |
| bool | UReversed () const |
| returns true if Parametrisation sens in U is inverse of parametrisation sens of section (or of path if ExchangeUV) | |
| bool | VReversed () const |
| returns true if Parametrisation sens in V is inverse of parametrisation sens of path (or of section if ExchangeUV) | |
| void | Build (const occ::handle< GeomFill_SectionLaw > &Section, const GeomFill_ApproxStyle Methode=GeomFill_Location, const GeomAbs_Shape Continuity=GeomAbs_C2, const int Degmax=10, const int Segmax=30) |
| Build the Sweeep Surface ApproxStyle defines Approximation Strategy. | |
| bool | IsDone () const |
| Tells if the Surface is Built. | |
| double | ErrorOnSurface () const |
| Gets the Approximation error. | |
| void | ErrorOnRestriction (const bool IsFirst, double &UError, double &VError) const |
| Gets the Approximation error. | |
| void | ErrorOnTrace (const int IndexOfTrace, double &UError, double &VError) const |
| Gets the Approximation error. | |
| occ::handle< Geom_Surface > | Surface () const |
| occ::handle< Geom2d_Curve > | Restriction (const bool IsFirst) const |
| int | NumberOfTrace () const |
| occ::handle< Geom2d_Curve > | Trace (const int IndexOfTrace) const |
Geometrical Sweep Algorithm.
| GeomFill_Sweep::GeomFill_Sweep | ( | const occ::handle< GeomFill_LocationLaw > & | Location, |
| const bool | WithKpart = true ) |
| void GeomFill_Sweep::Build | ( | const occ::handle< GeomFill_SectionLaw > & | Section, |
| const GeomFill_ApproxStyle | Methode = GeomFill_Location, | ||
| const GeomAbs_Shape | Continuity = GeomAbs_C2, | ||
| const int | Degmax = 10, | ||
| const int | Segmax = 30 ) |
Build the Sweeep Surface ApproxStyle defines Approximation Strategy.
raise If Domain are infinite or Profile not set.
| void GeomFill_Sweep::ErrorOnRestriction | ( | const bool | IsFirst, |
| double & | UError, | ||
| double & | VError ) const |
Gets the Approximation error.
| double GeomFill_Sweep::ErrorOnSurface | ( | ) | const |
Gets the Approximation error.
| void GeomFill_Sweep::ErrorOnTrace | ( | const int | IndexOfTrace, |
| double & | UError, | ||
| double & | VError ) const |
Gets the Approximation error.
| bool GeomFill_Sweep::ExchangeUV | ( | ) | const |
returns true if sections are U-Iso This can be produce in some cases when <WithKpart> is True.
| bool GeomFill_Sweep::IsDone | ( | ) | const |
Tells if the Surface is Built.
| int GeomFill_Sweep::NumberOfTrace | ( | ) | const |
| occ::handle< Geom2d_Curve > GeomFill_Sweep::Restriction | ( | const bool | IsFirst | ) | const |
| void GeomFill_Sweep::SetDomain | ( | const double | First, |
| const double | Last, | ||
| const double | SectionFirst, | ||
| const double | SectionLast ) |
Set parametric information [<First>, <Last>] Sets the parametric bound of the sweeping surface to build. <SectionFirst>, <SectionLast> gives corresponding bounds parameter on the section law of <First> and <Last>
V-Iso on Sweeping Surface S(u,v) is defined by Location(v) and Section(w) where w = SectionFirst + (v - First) / (Last-First)
By default w = v, and First and Last are given by First and Last parameter stored in LocationLaw.
Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
| void GeomFill_Sweep::SetTolerance | ( | const double | Tol3d, |
| const double | BoundTol = 1.0, | ||
| const double | Tol2d = 1.0e-5, | ||
| const double | TolAngular = 1.0 ) |
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 method define in <LocationLaw> 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.
| occ::handle< Geom_Surface > GeomFill_Sweep::Surface | ( | ) | const |
| occ::handle< Geom2d_Curve > GeomFill_Sweep::Trace | ( | const int | IndexOfTrace | ) | const |
| bool GeomFill_Sweep::UReversed | ( | ) | const |
returns true if Parametrisation sens in U is inverse of parametrisation sens of section (or of path if ExchangeUV)
| bool GeomFill_Sweep::VReversed | ( | ) | const |
returns true if Parametrisation sens in V is inverse of parametrisation sens of path (or of section if ExchangeUV)