|
Open CASCADE Technology
6.5.4
|
Define location law with an TrihedronLaw and an
curve
Definition Location is :
transformed section coordinates in (Curve(v)),
(Normal(v), BiNormal(v), Tangente(v))) systeme are
the same like section shape coordinates in
(O,(OX, OY, OZ)) systeme.
#include <GeomFill_CurveAndTrihedron.hxx>

Public Member Functions | |
| GeomFill_CurveAndTrihedron (const Handle< GeomFill_TrihedronLaw > &Trihedron) | |
| virtual void | SetCurve (const Handle< Adaptor3d_HCurve > &C) |
| virtual const Handle_Adaptor3d_HCurve & | GetCurve () const |
| virtual void | SetTrsf (const gp_Mat &Transfo) |
| Set a transformation Matrix like the law M(t) become Mat * M(t) | |
| virtual Handle_GeomFill_LocationLaw | Copy () const |
| virtual Standard_Boolean | D0 (const Standard_Real Param, gp_Mat &M, gp_Vec &V) |
| compute Location and 2d points | |
| virtual Standard_Boolean | D0 (const Standard_Real Param, gp_Mat &M, gp_Vec &V, TColgp_Array1OfPnt2d &Poles2d) |
| compute Location and 2d points | |
| virtual Standard_Boolean | D1 (const Standard_Real Param, gp_Mat &M, gp_Vec &V, gp_Mat &DM, gp_Vec &DV, TColgp_Array1OfPnt2d &Poles2d, TColgp_Array1OfVec2d &DPoles2d) |
| compute location 2d points and associated first derivatives. Warning : It used only for C1 or C2 aproximation | |
| virtual Standard_Boolean | D2 (const Standard_Real Param, gp_Mat &M, gp_Vec &V, gp_Mat &DM, gp_Vec &DV, gp_Mat &D2M, gp_Vec &D2V, TColgp_Array1OfPnt2d &Poles2d, TColgp_Array1OfVec2d &DPoles2d, TColgp_Array1OfVec2d &D2Poles2d) |
| compute location 2d points and associated first and seconde derivatives. Warning : It used only for C2 aproximation | |
| virtual Standard_Integer | NbIntervals (const GeomAbs_Shape S) const |
| Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S> | |
| virtual void | Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const |
| Stores in <T> the parameters bounding the intervals of continuity <S>. The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals() | |
| virtual void | SetInterval (const Standard_Real First, const Standard_Real Last) |
| Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn. | |
| virtual void | GetInterval (Standard_Real &First, Standard_Real &Last) const |
| Gets the bounds of the parametric interval on the function | |
| virtual void | GetDomain (Standard_Real &First, Standard_Real &Last) const |
| Gets the bounds of the function parametric domain. Warning: This domain it is not modified by the SetValue method | |
| virtual Standard_Real | GetMaximalNorm () |
| Get the maximum Norm of the matrix-location part. It is usful to find an good Tolerance to approx M(t). | |
| virtual void | GetAverageLaw (gp_Mat &AM, gp_Vec &AV) |
| Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces. | |
| virtual Standard_Boolean | IsTranslation (Standard_Real &Error) const |
| Say if the Location Law, is an translation of Location The default implementation is " returns False ". | |
| virtual Standard_Boolean | IsRotation (Standard_Real &Error) const |
| Say if the Location Law, is a rotation of Location The default implementation is " returns False ". | |
| virtual void | Rotation (gp_Pnt &Center) const |
| GeomFill_CurveAndTrihedron::GeomFill_CurveAndTrihedron | ( | const Handle< GeomFill_TrihedronLaw > & | Trihedron | ) |
| virtual Handle_GeomFill_LocationLaw GeomFill_CurveAndTrihedron::Copy | ( | ) | const [virtual] |
Implements GeomFill_LocationLaw.
| virtual Standard_Boolean GeomFill_CurveAndTrihedron::D0 | ( | const Standard_Real | Param, |
| gp_Mat & | M, | ||
| gp_Vec & | V | ||
| ) | [virtual] |
Implements GeomFill_LocationLaw.
| virtual Standard_Boolean GeomFill_CurveAndTrihedron::D0 | ( | const Standard_Real | Param, |
| gp_Mat & | M, | ||
| gp_Vec & | V, | ||
| TColgp_Array1OfPnt2d & | Poles2d | ||
| ) | [virtual] |
Implements GeomFill_LocationLaw.
| virtual Standard_Boolean GeomFill_CurveAndTrihedron::D1 | ( | const Standard_Real | Param, |
| gp_Mat & | M, | ||
| gp_Vec & | V, | ||
| gp_Mat & | DM, | ||
| gp_Vec & | DV, | ||
| TColgp_Array1OfPnt2d & | Poles2d, | ||
| TColgp_Array1OfVec2d & | DPoles2d | ||
| ) | [virtual] |
Reimplemented from GeomFill_LocationLaw.
| virtual Standard_Boolean GeomFill_CurveAndTrihedron::D2 | ( | const Standard_Real | Param, |
| gp_Mat & | M, | ||
| gp_Vec & | V, | ||
| gp_Mat & | DM, | ||
| gp_Vec & | DV, | ||
| gp_Mat & | D2M, | ||
| gp_Vec & | D2V, | ||
| TColgp_Array1OfPnt2d & | Poles2d, | ||
| TColgp_Array1OfVec2d & | DPoles2d, | ||
| TColgp_Array1OfVec2d & | D2Poles2d | ||
| ) | [virtual] |
Reimplemented from GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::GetAverageLaw | ( | gp_Mat & | AM, |
| gp_Vec & | AV | ||
| ) | [virtual] |
Implements GeomFill_LocationLaw.
| virtual const Handle_Adaptor3d_HCurve& GeomFill_CurveAndTrihedron::GetCurve | ( | ) | const [virtual] |
Implements GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::GetDomain | ( | Standard_Real & | First, |
| Standard_Real & | Last | ||
| ) | const [virtual] |
Implements GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::GetInterval | ( | Standard_Real & | First, |
| Standard_Real & | Last | ||
| ) | const [virtual] |
Implements GeomFill_LocationLaw.
| virtual Standard_Real GeomFill_CurveAndTrihedron::GetMaximalNorm | ( | ) | [virtual] |
Implements GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::Intervals | ( | TColStd_Array1OfReal & | T, |
| const GeomAbs_Shape | S | ||
| ) | const [virtual] |
Implements GeomFill_LocationLaw.
| virtual Standard_Boolean GeomFill_CurveAndTrihedron::IsRotation | ( | Standard_Real & | Error | ) | const [virtual] |
Reimplemented from GeomFill_LocationLaw.
| virtual Standard_Boolean GeomFill_CurveAndTrihedron::IsTranslation | ( | Standard_Real & | Error | ) | const [virtual] |
Reimplemented from GeomFill_LocationLaw.
| virtual Standard_Integer GeomFill_CurveAndTrihedron::NbIntervals | ( | const GeomAbs_Shape | S | ) | const [virtual] |
Implements GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::Rotation | ( | gp_Pnt & | Center | ) | const [virtual] |
Reimplemented from GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::SetCurve | ( | const Handle< Adaptor3d_HCurve > & | C | ) | [virtual] |
Implements GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::SetInterval | ( | const Standard_Real | First, |
| const Standard_Real | Last | ||
| ) | [virtual] |
Implements GeomFill_LocationLaw.
| virtual void GeomFill_CurveAndTrihedron::SetTrsf | ( | const gp_Mat & | Transfo | ) | [virtual] |
Implements GeomFill_LocationLaw.
1.8.0