Open CASCADE Technology 6.6.0
|
To define Trihedron along one Curve
#include <GeomFill_TrihedronLaw.hxx>
Public Member Functions | |
virtual void | SetCurve (const Handle< Adaptor3d_HCurve > &C) |
virtual Handle_GeomFill_TrihedronLaw | Copy () const =0 |
virtual GeomFill_PipeError | ErrorStatus () const |
Give a status to the Law Returns PipeOk (default implementation) | |
virtual Standard_Boolean | D0 (const Standard_Real Param, gp_Vec &Tangent, gp_Vec &Normal, gp_Vec &BiNormal)=0 |
compute Triedrhon on curve at parameter | |
virtual Standard_Boolean | D1 (const Standard_Real Param, gp_Vec &Tangent, gp_Vec &DTangent, gp_Vec &Normal, gp_Vec &DNormal, gp_Vec &BiNormal, gp_Vec &DBiNormal) |
compute Triedrhon and derivative Trihedron on curve at parameter Warning : It used only for C1 or C2 aproximation | |
virtual Standard_Boolean | D2 (const Standard_Real Param, gp_Vec &Tangent, gp_Vec &DTangent, gp_Vec &D2Tangent, gp_Vec &Normal, gp_Vec &DNormal, gp_Vec &D2Normal, gp_Vec &BiNormal, gp_Vec &DBiNormal, gp_Vec &D2BiNormal) |
compute Trihedron on curve first and seconde derivatives. Warning : It used only for C2 aproximation | |
virtual Standard_Integer | NbIntervals (const GeomAbs_Shape S) const =0 |
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 =0 |
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. | |
void | GetInterval (Standard_Real &First, Standard_Real &Last) |
Gets the bounds of the parametric interval on the function | |
virtual void | GetAverageLaw (gp_Vec &ATangent, gp_Vec &ANormal, gp_Vec &ABiNormal)=0 |
Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces. | |
virtual Standard_Boolean | IsConstant () const |
Say if the law is Constant | |
virtual Standard_Boolean | IsOnlyBy3dCurve () const |
Say if the law is defined, only by the 3d Geometry of the setted Curve Return False by Default. | |
Protected Attributes | |
Handle_Adaptor3d_HCurve | myCurve |
Handle_Adaptor3d_HCurve | myTrimmed |
virtual Handle_GeomFill_TrihedronLaw GeomFill_TrihedronLaw::Copy | ( | ) | const [pure virtual] |
virtual Standard_Boolean GeomFill_TrihedronLaw::D0 | ( | const Standard_Real | Param, |
gp_Vec & | Tangent, | ||
gp_Vec & | Normal, | ||
gp_Vec & | BiNormal | ||
) | [pure virtual] |
virtual Standard_Boolean GeomFill_TrihedronLaw::D1 | ( | const Standard_Real | Param, |
gp_Vec & | Tangent, | ||
gp_Vec & | DTangent, | ||
gp_Vec & | Normal, | ||
gp_Vec & | DNormal, | ||
gp_Vec & | BiNormal, | ||
gp_Vec & | DBiNormal | ||
) | [virtual] |
virtual GeomFill_PipeError GeomFill_TrihedronLaw::ErrorStatus | ( | ) | const [virtual] |
Reimplemented in GeomFill_GuideTrihedronPlan.
void GeomFill_TrihedronLaw::GetInterval | ( | Standard_Real & | First, |
Standard_Real & | Last | ||
) |
virtual void GeomFill_TrihedronLaw::Intervals | ( | TColStd_Array1OfReal & | T, |
const GeomAbs_Shape | S | ||
) | const [pure virtual] |
virtual Standard_Boolean GeomFill_TrihedronLaw::IsConstant | ( | ) | const [virtual] |
virtual Standard_Boolean GeomFill_TrihedronLaw::IsOnlyBy3dCurve | ( | ) | const [virtual] |
virtual Standard_Integer GeomFill_TrihedronLaw::NbIntervals | ( | const GeomAbs_Shape | S | ) | const [pure virtual] |
virtual void GeomFill_TrihedronLaw::SetCurve | ( | const Handle< Adaptor3d_HCurve > & | C | ) | [virtual] |
virtual void GeomFill_TrihedronLaw::SetInterval | ( | const Standard_Real | First, |
const Standard_Real | Last | ||
) | [virtual] |
Reimplemented in GeomFill_CorrectedFrenet, GeomFill_GuideTrihedronAC, and GeomFill_GuideTrihedronPlan.
Handle_Adaptor3d_HCurve GeomFill_TrihedronLaw::myCurve [protected] |
Handle_Adaptor3d_HCurve GeomFill_TrihedronLaw::myTrimmed [protected] |