OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
GeomFill


GeomFill_CorrectedFrenet Class Reference

Defined an Corrected Frenet Trihedron Law It is
like Frenet with an Torsion's minimization
.

#include <GeomFill_CorrectedFrenet.hxx>

Inheritance diagram for GeomFill_CorrectedFrenet:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT GeomFill_CorrectedFrenet ()
virtual Standard_EXPORT Handle_GeomFill_TrihedronLaw Copy () const
virtual Standard_EXPORT void SetCurve (const Handle(Adaptor3d_HCurve)&C)
virtual Standard_EXPORT 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 Standard_EXPORT Standard_Boolean D0 (const Standard_Real Param, gp_Vec &Tangent, gp_Vec &Normal, gp_Vec &BiNormal)
 compute Triedrhon on curve at parameter <param>

virtual Standard_EXPORT 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 <param>
Warning : It used only for C1 or C2 aproximation

virtual Standard_EXPORT 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_EXPORT Standard_Integer NbIntervals (const GeomAbs_Shape S) const
 Returns the number of intervals for continuity
<s>.
May be one if Continuity(me) >= <s>
.
virtual Standard_EXPORT 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 Standard_EXPORT void GetAverageLaw (gp_Vec &ATangent, gp_Vec &ANormal, gp_Vec &ABiNormal)
 Get average value of Tangent(t) and Normal(t) it is usfull to
make fast approximation of rational surfaces.
.
virtual Standard_EXPORT Standard_Boolean IsConstant () const
 Say if the law is Constant.
.
virtual Standard_EXPORT Standard_Boolean IsOnlyBy3dCurve () const
 Return True.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Member Functions

Standard_EXPORT void Init ()
Standard_EXPORT Standard_Boolean InitInterval (const Standard_Real First, const Standard_Real Last, const Standard_Real Step, Standard_Real &startAng, gp_Vec &prevTangent, gp_Vec &prevNormal, gp_Vec &aT, gp_Vec &aN, Handle(Law_Function)&FuncInt, TColStd_SequenceOfReal &SeqPoles, TColStd_SequenceOfReal &SeqAngle, TColgp_SequenceOfVec &SeqTangent, TColgp_SequenceOfVec &SeqNormal) const
 Computes BSpline representation of Normal evolution at one
interval of continuity of Frenet. Returns True if FuncInt = 0
.
Standard_EXPORT Standard_Real CalcAngleAT (const gp_Vec &Tangent, const gp_Vec &Normal, const gp_Vec &prevTangent, const gp_Vec &prevNormal) const
 Computes angle of Normal evolution of Frenet between any two points on the curve.
.
Standard_EXPORT Standard_Real GetAngleAT (const Standard_Real P) const
 Get corrected value of angle of Normal evolution of Frenet
.

Private Attributes

Handle_GeomFill_Frenet frenet
Handle_Law_Function EvolAroundT
Handle_Law_Function TLaw
gp_Vec AT
gp_Vec AN
Standard_Boolean isFrenet
Handle_TColStd_HArray1OfReal HArrPoles
Handle_TColStd_HArray1OfReal HArrAngle
Handle_TColgp_HArray1OfVec HArrTangent
Handle_TColgp_HArray1OfVec HArrNormal

Constructor & Destructor Documentation

Standard_EXPORT GeomFill_CorrectedFrenet::GeomFill_CorrectedFrenet  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Real GeomFill_CorrectedFrenet::CalcAngleAT const gp_Vec &  Tangent,
const gp_Vec &  Normal,
const gp_Vec &  prevTangent,
const gp_Vec &  prevNormal
const [private]
 

virtual Standard_EXPORT Handle_GeomFill_TrihedronLaw GeomFill_CorrectedFrenet::Copy  )  const [virtual]
 

Implements GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Boolean GeomFill_CorrectedFrenet::D0 const Standard_Real  Param,
gp_Vec &  Tangent,
gp_Vec &  Normal,
gp_Vec &  BiNormal
[virtual]
 

Implements GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Boolean GeomFill_CorrectedFrenet::D1 const Standard_Real  Param,
gp_Vec &  Tangent,
gp_Vec &  DTangent,
gp_Vec &  Normal,
gp_Vec &  DNormal,
gp_Vec &  BiNormal,
gp_Vec &  DBiNormal
[virtual]
 

Reimplemented from GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Boolean GeomFill_CorrectedFrenet::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]
 

Reimplemented from GeomFill_TrihedronLaw.

Standard_EXPORT Standard_Real GeomFill_CorrectedFrenet::GetAngleAT const Standard_Real  P  )  const [private]
 

virtual Standard_EXPORT void GeomFill_CorrectedFrenet::GetAverageLaw gp_Vec &  ATangent,
gp_Vec &  ANormal,
gp_Vec &  ABiNormal
[virtual]
 

Implements GeomFill_TrihedronLaw.

Standard_EXPORT const GeomFill_CorrectedFrenet::Handle Standard_Type   )  const
 

Reimplemented from GeomFill_TrihedronLaw.

Standard_EXPORT void GeomFill_CorrectedFrenet::Init  )  [private]
 

Standard_EXPORT Standard_Boolean GeomFill_CorrectedFrenet::InitInterval const Standard_Real  First,
const Standard_Real  Last,
const Standard_Real  Step,
Standard_Real &  startAng,
gp_Vec &  prevTangent,
gp_Vec &  prevNormal,
gp_Vec &  aT,
gp_Vec &  aN,
Handle(Law_Function)&  FuncInt,
TColStd_SequenceOfReal &  SeqPoles,
TColStd_SequenceOfReal &  SeqAngle,
TColgp_SequenceOfVec &  SeqTangent,
TColgp_SequenceOfVec &  SeqNormal
const [private]
 

virtual Standard_EXPORT void GeomFill_CorrectedFrenet::Intervals TColStd_Array1OfReal &  T,
const GeomAbs_Shape  S
const [virtual]
 

Implements GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Boolean GeomFill_CorrectedFrenet::IsConstant  )  const [virtual]
 

Reimplemented from GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Boolean GeomFill_CorrectedFrenet::IsOnlyBy3dCurve  )  const [virtual]
 

Reimplemented from GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Integer GeomFill_CorrectedFrenet::NbIntervals const GeomAbs_Shape  S  )  const [virtual]
 

Implements GeomFill_TrihedronLaw.

virtual Standard_EXPORT void GeomFill_CorrectedFrenet::SetCurve const Handle(Adaptor3d_HCurve)&  C  )  [virtual]
 

Reimplemented from GeomFill_TrihedronLaw.

virtual Standard_EXPORT void GeomFill_CorrectedFrenet::SetInterval const Standard_Real  First,
const Standard_Real  Last
[virtual]
 

Reimplemented from GeomFill_TrihedronLaw.


Field Documentation

gp_Vec GeomFill_CorrectedFrenet::AN [private]
 

gp_Vec GeomFill_CorrectedFrenet::AT [private]
 

Handle_Law_Function GeomFill_CorrectedFrenet::EvolAroundT [private]
 

Handle_GeomFill_Frenet GeomFill_CorrectedFrenet::frenet [private]
 

Handle_TColStd_HArray1OfReal GeomFill_CorrectedFrenet::HArrAngle [private]
 

Handle_TColgp_HArray1OfVec GeomFill_CorrectedFrenet::HArrNormal [private]
 

Handle_TColStd_HArray1OfReal GeomFill_CorrectedFrenet::HArrPoles [private]
 

Handle_TColgp_HArray1OfVec GeomFill_CorrectedFrenet::HArrTangent [private]
 

Standard_Boolean GeomFill_CorrectedFrenet::isFrenet [private]
 

Handle_Law_Function GeomFill_CorrectedFrenet::TLaw [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:51 2008 for OpenCASCADE by  doxygen 1.4.1