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

ModelingAlgorithms
TKGeomAlgo
GeomFill


GeomFill_Frenet Class Reference

Defined Frenet Trihedron Law
.

#include <GeomFill_Frenet.hxx>

Inheritance diagram for GeomFill_Frenet:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT GeomFill_Frenet ()
virtual Standard_EXPORT Handle_GeomFill_TrihedronLaw Copy () const
Standard_EXPORT void Init ()
virtual Standard_EXPORT void SetCurve (const Handle(Adaptor3d_HCurve)&C)
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 Standard_Boolean IsSingular (const Standard_Real U, Standard_Integer &Index) const
Standard_EXPORT Standard_Boolean DoSingular (const Standard_Real U, const Standard_Integer Index, gp_Vec &Tangent, gp_Vec &BiNormal, Standard_Integer &n, Standard_Integer &k, Standard_Integer &TFlag, Standard_Integer &BNFlag)
Standard_EXPORT Standard_Boolean SingularD0 (const Standard_Real Param, const Standard_Integer Index, gp_Vec &Tangent, gp_Vec &Normal, gp_Vec &BiNormal)
 computes Triedrhon on curve at parameter <param>

Standard_EXPORT Standard_Boolean SingularD1 (const Standard_Real Param, const Standard_Integer Index, gp_Vec &Tangent, gp_Vec &DTangent, gp_Vec &Normal, gp_Vec &DNormal, gp_Vec &BiNormal, gp_Vec &DBiNormal)
 computes Triedrhon and derivative Trihedron on curve
at parameter <param>
Warning : It used only for C1 or C2 aproximation

Standard_EXPORT Standard_Boolean SingularD2 (const Standard_Real Param, const Standard_Integer Index, 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)
 computes Trihedron on curve
first and seconde derivatives.
Warning : It used only for C2 aproximation


Private Attributes

gp_Pnt P
Handle_TColStd_HArray1OfReal mySngl
Handle_TColStd_HArray1OfReal mySnglLen
Standard_Boolean isSngl

Constructor & Destructor Documentation

Standard_EXPORT GeomFill_Frenet::GeomFill_Frenet  ) 
 


Member Function Documentation

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

Implements GeomFill_TrihedronLaw.

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

Implements GeomFill_TrihedronLaw.

virtual Standard_EXPORT Standard_Boolean GeomFill_Frenet::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_Frenet::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_Boolean GeomFill_Frenet::DoSingular const Standard_Real  U,
const Standard_Integer  Index,
gp_Vec &  Tangent,
gp_Vec &  BiNormal,
Standard_Integer &  n,
Standard_Integer &  k,
Standard_Integer &  TFlag,
Standard_Integer &  BNFlag
[private]
 

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

Implements GeomFill_TrihedronLaw.

Standard_EXPORT const GeomFill_Frenet::Handle Standard_Type   )  const
 

Reimplemented from GeomFill_TrihedronLaw.

Standard_EXPORT void GeomFill_Frenet::Init  ) 
 

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

Implements GeomFill_TrihedronLaw.

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

Reimplemented from GeomFill_TrihedronLaw.

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

Reimplemented from GeomFill_TrihedronLaw.

Standard_EXPORT Standard_Boolean GeomFill_Frenet::IsSingular const Standard_Real  U,
Standard_Integer &  Index
const [private]
 

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

Implements GeomFill_TrihedronLaw.

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

Reimplemented from GeomFill_TrihedronLaw.

Standard_EXPORT Standard_Boolean GeomFill_Frenet::SingularD0 const Standard_Real  Param,
const Standard_Integer  Index,
gp_Vec &  Tangent,
gp_Vec &  Normal,
gp_Vec &  BiNormal
[private]
 

Standard_EXPORT Standard_Boolean GeomFill_Frenet::SingularD1 const Standard_Real  Param,
const Standard_Integer  Index,
gp_Vec &  Tangent,
gp_Vec &  DTangent,
gp_Vec &  Normal,
gp_Vec &  DNormal,
gp_Vec &  BiNormal,
gp_Vec &  DBiNormal
[private]
 

Standard_EXPORT Standard_Boolean GeomFill_Frenet::SingularD2 const Standard_Real  Param,
const Standard_Integer  Index,
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
[private]
 


Field Documentation

Standard_Boolean GeomFill_Frenet::isSngl [private]
 

Handle_TColStd_HArray1OfReal GeomFill_Frenet::mySngl [private]
 

Handle_TColStd_HArray1OfReal GeomFill_Frenet::mySnglLen [private]
 

gp_Pnt GeomFill_Frenet::P [private]
 


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