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

ModelingAlgorithms
TKHLR
HLRBRep


HLRBRep_LineTool Class Reference

The LineTool class provides class methods to
access the methodes of the Line.
.

#include <HLRBRep_LineTool.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_Real FirstParameter (const gp_Lin &C)
static Standard_Real LastParameter (const gp_Lin &C)
static GeomAbs_Shape Continuity (const gp_Lin &C)
static Standard_Integer NbIntervals (const gp_Lin &C, const GeomAbs_Shape S)
 If necessary, breaks the line in intervals of
continuity <s>. And returns the number of
intervals.
.
static void Intervals (const gp_Lin &C, TColStd_Array1OfReal &T, const GeomAbs_Shape Sh)
 Sets the current working interval.
.
static Standard_Real IntervalFirst (const gp_Lin &C)
 Returns the first parameter of the current
interval.
.
static Standard_Real IntervalLast (const gp_Lin &C)
 Returns the last parameter of the current
interval.
.
static GeomAbs_Shape IntervalContinuity (const gp_Lin &C)
static Standard_Boolean IsClosed (const gp_Lin &C)
static Standard_Boolean IsPeriodic (const gp_Lin &C)
static Standard_Real Period (const gp_Lin &C)
static gp_Pnt Value (const gp_Lin &C, const Standard_Real U)
 Computes the point of parameter U on the line.
.
static void D0 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P)
 Computes the point of parameter U on the line.
.
static void D1 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V)
 Computes the point of parameter U on the line with its
first derivative.
//! Raised if the continuity of the current interval
is not C1.
.
static void D2 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2)
 Returns the point P of parameter U, the first and second
derivatives V1 and V2.
//! Raised if the continuity of the current interval
is not C2.
.
static void D3 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2, gp_Vec &V3)
 Returns the point P of parameter U, the first, the second
and the third derivative.
//! Raised if the continuity of the current interval
is not C3.
.
static gp_Vec DN (const gp_Lin &C, const Standard_Real U, const Standard_Integer N)
 The returned vector gives the value of the derivative for the
order of derivation N.
//! Raised if the continuity of the current interval
is not CN.
//! Raised if N < 1.
.
static Standard_Real Resolution (const gp_Lin &C, const Standard_Real R3d)
 Returns the parametric resolution corresponding
to the real space resolution <r3d>.
.
static GeomAbs_CurveType GetType (const gp_Lin &C)
 Returns the type of the line in the current
interval : Line, Circle, Ellipse, Hyperbola,
Parabola, BezierCurve, BSplineCurve, OtherCurve.
.
static gp_Lin Line (const gp_Lin &C)
static gp_Circ Circle (const gp_Lin &C)
static gp_Elips Ellipse (const gp_Lin &C)
static gp_Hypr Hyperbola (const gp_Lin &C)
static gp_Parab Parabola (const gp_Lin &C)
static Handle_Geom_BezierCurve Bezier (const gp_Lin &C)
static Handle_Geom_BSplineCurve BSpline (const gp_Lin &C)
static Standard_Integer Degree (const gp_Lin &C)
static Standard_Integer NbPoles (const gp_Lin &C)
static void Poles (const gp_Lin &C, TColgp_Array1OfPnt &TP)
static Standard_Boolean IsRational (const gp_Lin &C)
static void PolesAndWeights (const gp_Lin &C, TColgp_Array1OfPnt &TP, TColStd_Array1OfReal &TW)
static Standard_Integer NbKnots (const gp_Lin &C)
static void KnotsAndMultiplicities (const gp_Lin &C, TColStd_Array1OfReal &TK, TColStd_Array1OfInteger &TM)
static Standard_Integer NbSamples (const gp_Lin &C, const Standard_Real U0, const Standard_Real U1)
static Standard_EXPORT void SamplePars (const gp_Lin &C, const Standard_Real U0, const Standard_Real U1, const Standard_Real Defl, const Standard_Integer NbMin, Handle(TColStd_HArray1OfReal)&Pars)


Member Function Documentation

static Handle_Geom_BezierCurve HLRBRep_LineTool::Bezier (  const gp_Lin &  C  )  [static]
 

static Handle_Geom_BSplineCurve HLRBRep_LineTool::BSpline (  const gp_Lin &  C  )  [static]
 

gp_Circ HLRBRep_LineTool::Circle (  const gp_Lin &  C  )  [inline, static]
 

GeomAbs_Shape HLRBRep_LineTool::Continuity (  const gp_Lin &  C  )  [inline, static]
 

void HLRBRep_LineTool::D0 (  const gp_Lin &  C,
const Standard_Real  U,
gp_Pnt &  P
)  [inline, static]
 

void HLRBRep_LineTool::D1 (  const gp_Lin &  C,
const Standard_Real  U,
gp_Pnt &  P,
gp_Vec &  V
)  [inline, static]
 

void HLRBRep_LineTool::D2 (  const gp_Lin &  C,
const Standard_Real  U,
gp_Pnt &  P,
gp_Vec &  V1,
gp_Vec &  V2
)  [inline, static]
 

void HLRBRep_LineTool::D3 (  const gp_Lin &  C,
const Standard_Real  U,
gp_Pnt &  P,
gp_Vec &  V1,
gp_Vec &  V2,
gp_Vec &  V3
)  [inline, static]
 

Standard_Integer HLRBRep_LineTool::Degree (  const gp_Lin &  C  )  [inline, static]
 

gp_Vec HLRBRep_LineTool::DN (  const gp_Lin &  C,
const Standard_Real  U,
const Standard_Integer  N
)  [inline, static]
 

gp_Elips HLRBRep_LineTool::Ellipse (  const gp_Lin &  C  )  [inline, static]
 

Standard_Real HLRBRep_LineTool::FirstParameter (  const gp_Lin &  C  )  [inline, static]
 

GeomAbs_CurveType HLRBRep_LineTool::GetType (  const gp_Lin &  C  )  [inline, static]
 

gp_Hypr HLRBRep_LineTool::Hyperbola (  const gp_Lin &  C  )  [inline, static]
 

GeomAbs_Shape HLRBRep_LineTool::IntervalContinuity (  const gp_Lin &  C  )  [inline, static]
 

Standard_Real HLRBRep_LineTool::IntervalFirst (  const gp_Lin &  C  )  [inline, static]
 

Standard_Real HLRBRep_LineTool::IntervalLast (  const gp_Lin &  C  )  [inline, static]
 

void HLRBRep_LineTool::Intervals (  const gp_Lin &  C,
TColStd_Array1OfReal &  T,
const GeomAbs_Shape  Sh
)  [inline, static]
 

Standard_Boolean HLRBRep_LineTool::IsClosed (  const gp_Lin &  C  )  [inline, static]
 

Standard_Boolean HLRBRep_LineTool::IsPeriodic (  const gp_Lin &  C  )  [inline, static]
 

Standard_Boolean HLRBRep_LineTool::IsRational (  const gp_Lin &  C  )  [inline, static]
 

void HLRBRep_LineTool::KnotsAndMultiplicities (  const gp_Lin &  C,
TColStd_Array1OfReal &  TK,
TColStd_Array1OfInteger &  TM
)  [inline, static]
 

Standard_Real HLRBRep_LineTool::LastParameter (  const gp_Lin &  C  )  [inline, static]
 

gp_Lin HLRBRep_LineTool::Line (  const gp_Lin &  C  )  [inline, static]
 

Standard_Integer HLRBRep_LineTool::NbIntervals (  const gp_Lin &  C,
const GeomAbs_Shape  S
)  [inline, static]
 

Standard_Integer HLRBRep_LineTool::NbKnots (  const gp_Lin &  C  )  [inline, static]
 

Standard_Integer HLRBRep_LineTool::NbPoles (  const gp_Lin &  C  )  [inline, static]
 

Standard_Integer HLRBRep_LineTool::NbSamples (  const gp_Lin &  C,
const Standard_Real  U0,
const Standard_Real  U1
)  [inline, static]
 

void HLRBRep_LineTool::operator delete (  void *  anAddress  )  [inline]
 

void* HLRBRep_LineTool::operator new (  size_t  size  )  [inline]
 

void* HLRBRep_LineTool::operator new (  size_t  ,
void *  anAddress
)  [inline]
 

gp_Parab HLRBRep_LineTool::Parabola (  const gp_Lin &  C  )  [inline, static]
 

Standard_Real HLRBRep_LineTool::Period (  const gp_Lin &  C  )  [inline, static]
 

void HLRBRep_LineTool::Poles (  const gp_Lin &  C,
TColgp_Array1OfPnt &  TP
)  [inline, static]
 

void HLRBRep_LineTool::PolesAndWeights (  const gp_Lin &  C,
TColgp_Array1OfPnt &  TP,
TColStd_Array1OfReal &  TW
)  [inline, static]
 

Standard_Real HLRBRep_LineTool::Resolution (  const gp_Lin &  C,
const Standard_Real  R3d
)  [inline, static]
 

void HLRBRep_LineTool::SamplePars (  const gp_Lin &  C,
const Standard_Real  U0,
const Standard_Real  U1,
const Standard_Real  Defl,
const Standard_Integer  NbMin,
Handle(TColStd_HArray1OfReal)&  Pars
)  [inline, static]
 

gp_Pnt HLRBRep_LineTool::Value (  const gp_Lin &  C,
const Standard_Real  U
)  [inline, static]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:06 2008 for OpenCASCADE by  doxygen 1.4.1