Open CASCADE Technology  7.7.0
Public Member Functions | Protected Attributes
GeomFill_TrihedronLaw Class Referenceabstract

To define Trihedron along one Curve. More...

#include <GeomFill_TrihedronLaw.hxx>

Inheritance diagram for GeomFill_TrihedronLaw:
Inheritance graph
[legend]

Public Member Functions

virtual Standard_Boolean SetCurve (const Handle< Adaptor3d_Curve > &C)
 initialize curve of trihedron law More...
 
virtual Handle< GeomFill_TrihedronLawCopy () const =0
 
virtual GeomFill_PipeError ErrorStatus () const
 Give a status to the Law Returns PipeOk (default implementation) More...
 
virtual Standard_Boolean D0 (const Standard_Real Param, gp_Vec &Tangent, gp_Vec &Normal, gp_Vec &BiNormal)=0
 compute Triedrhon on curve at parameter More...
 
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 approximation More...
 
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 approximation More...
 
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> More...
 
virtual void Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const =0
 Stores in <T> the parameters bounding the intervals of continuity <S>. More...
 
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. More...
 
void GetInterval (Standard_Real &First, Standard_Real &Last)
 Gets the bounds of the parametric interval on the function. More...
 
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. More...
 
virtual Standard_Boolean IsConstant () const
 Say if the law is Constant. More...
 
virtual Standard_Boolean IsOnlyBy3dCurve () const
 Say if the law is defined, only by the 3d Geometry of the set Curve Return False by Default. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Protected Attributes

Handle< Adaptor3d_CurvemyCurve
 
Handle< Adaptor3d_CurvemyTrimmed
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Detailed Description

To define Trihedron along one Curve.

Member Function Documentation

◆ Copy()

virtual Handle< GeomFill_TrihedronLaw > GeomFill_TrihedronLaw::Copy ( ) const
pure virtual

◆ D0()

virtual Standard_Boolean GeomFill_TrihedronLaw::D0 ( const Standard_Real  Param,
gp_Vec Tangent,
gp_Vec Normal,
gp_Vec BiNormal 
)
pure virtual

◆ D1()

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

compute Triedrhon and derivative Trihedron on curve at parameter Warning : It used only for C1 or C2 approximation

Reimplemented in GeomFill_CorrectedFrenet, GeomFill_DiscreteTrihedron, GeomFill_GuideTrihedronPlan, GeomFill_Frenet, GeomFill_ConstantBiNormal, GeomFill_GuideTrihedronAC, GeomFill_DraftTrihedron, GeomFill_Darboux, and GeomFill_Fixed.

◆ D2()

virtual Standard_Boolean GeomFill_TrihedronLaw::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 
)
virtual

compute Trihedron on curve first and seconde derivatives. Warning : It used only for C2 approximation

Reimplemented in GeomFill_DiscreteTrihedron, GeomFill_CorrectedFrenet, GeomFill_GuideTrihedronPlan, GeomFill_Frenet, GeomFill_ConstantBiNormal, GeomFill_GuideTrihedronAC, GeomFill_Darboux, GeomFill_DraftTrihedron, and GeomFill_Fixed.

◆ ErrorStatus()

virtual GeomFill_PipeError GeomFill_TrihedronLaw::ErrorStatus ( ) const
virtual

Give a status to the Law Returns PipeOk (default implementation)

Reimplemented in GeomFill_GuideTrihedronPlan.

◆ GetAverageLaw()

virtual void GeomFill_TrihedronLaw::GetAverageLaw ( gp_Vec ATangent,
gp_Vec ANormal,
gp_Vec ABiNormal 
)
pure virtual

Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces.

Implemented in GeomFill_CorrectedFrenet, GeomFill_DiscreteTrihedron, GeomFill_GuideTrihedronPlan, GeomFill_GuideTrihedronAC, GeomFill_Frenet, GeomFill_ConstantBiNormal, GeomFill_Darboux, GeomFill_DraftTrihedron, and GeomFill_Fixed.

◆ GetInterval()

void GeomFill_TrihedronLaw::GetInterval ( Standard_Real First,
Standard_Real Last 
)

Gets the bounds of the parametric interval on the function.

◆ Intervals()

virtual void GeomFill_TrihedronLaw::Intervals ( TColStd_Array1OfReal T,
const GeomAbs_Shape  S 
) const
pure virtual

Stores in <T> the parameters bounding the intervals of continuity <S>.

The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals()

Implemented in GeomFill_DiscreteTrihedron, GeomFill_GuideTrihedronPlan, GeomFill_CorrectedFrenet, GeomFill_Frenet, GeomFill_ConstantBiNormal, GeomFill_GuideTrihedronAC, GeomFill_Darboux, GeomFill_DraftTrihedron, and GeomFill_Fixed.

◆ IsConstant()

virtual Standard_Boolean GeomFill_TrihedronLaw::IsConstant ( ) const
virtual

◆ IsOnlyBy3dCurve()

virtual Standard_Boolean GeomFill_TrihedronLaw::IsOnlyBy3dCurve ( ) const
virtual

Say if the law is defined, only by the 3d Geometry of the set Curve Return False by Default.

Reimplemented in GeomFill_CorrectedFrenet, GeomFill_GuideTrihedronPlan, GeomFill_DiscreteTrihedron, GeomFill_GuideTrihedronAC, GeomFill_Frenet, GeomFill_ConstantBiNormal, GeomFill_Darboux, and GeomFill_DraftTrihedron.

◆ NbIntervals()

virtual Standard_Integer GeomFill_TrihedronLaw::NbIntervals ( const GeomAbs_Shape  S) const
pure virtual

◆ SetCurve()

virtual Standard_Boolean GeomFill_TrihedronLaw::SetCurve ( const Handle< Adaptor3d_Curve > &  C)
virtual

◆ SetInterval()

virtual void GeomFill_TrihedronLaw::SetInterval ( const Standard_Real  First,
const Standard_Real  Last 
)
virtual

Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn.

Reimplemented in GeomFill_GuideTrihedronAC, GeomFill_GuideTrihedronPlan, and GeomFill_CorrectedFrenet.

Field Documentation

◆ myCurve

Handle< Adaptor3d_Curve > GeomFill_TrihedronLaw::myCurve
protected

◆ myTrimmed

Handle< Adaptor3d_Curve > GeomFill_TrihedronLaw::myTrimmed
protected

The documentation for this class was generated from the following file: