Open CASCADE Technology  7.7.0
Static Public Member Functions
HLRBRep_LineTool Class Reference

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

#include <HLRBRep_LineTool.hxx>

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. More...
 
static void Intervals (const gp_Lin &C, TColStd_Array1OfReal &T, const GeomAbs_Shape Sh)
 Sets the current working interval. More...
 
static Standard_Real IntervalFirst (const gp_Lin &C)
 Returns the first parameter of the current interval. More...
 
static Standard_Real IntervalLast (const gp_Lin &C)
 Returns the last parameter of the current interval. More...
 
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. More...
 
static void D0 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P)
 Computes the point of parameter U on the line. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
static Standard_Real Resolution (const gp_Lin &C, const Standard_Real R3d)
 Returns the parametric resolution corresponding to the real space resolution <R3d>. More...
 
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. More...
 
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_BezierCurveBezier (const gp_Lin &C)
 
static Handle< Geom_BSplineCurveBSpline (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 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)
 

Detailed Description

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

Member Function Documentation

◆ Bezier()

static Handle< Geom_BezierCurve > HLRBRep_LineTool::Bezier ( const gp_Lin C)
static

◆ BSpline()

static Handle< Geom_BSplineCurve > HLRBRep_LineTool::BSpline ( const gp_Lin C)
static

◆ Circle()

static gp_Circ HLRBRep_LineTool::Circle ( const gp_Lin C)
static

◆ Continuity()

static GeomAbs_Shape HLRBRep_LineTool::Continuity ( const gp_Lin C)
static

◆ D0()

static void HLRBRep_LineTool::D0 ( const gp_Lin C,
const Standard_Real  U,
gp_Pnt P 
)
static

Computes the point of parameter U on the line.

◆ D1()

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

Computes the point of parameter U on the line with its first derivative. Raised if the continuity of the current interval is not C1.

◆ D2()

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

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.

◆ D3()

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 
)
static

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.

◆ Degree()

static Standard_Integer HLRBRep_LineTool::Degree ( const gp_Lin C)
static

◆ DN()

static gp_Vec HLRBRep_LineTool::DN ( const gp_Lin C,
const Standard_Real  U,
const Standard_Integer  N 
)
static

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.

◆ Ellipse()

static gp_Elips HLRBRep_LineTool::Ellipse ( const gp_Lin C)
static

◆ FirstParameter()

static Standard_Real HLRBRep_LineTool::FirstParameter ( const gp_Lin C)
static

◆ GetType()

static GeomAbs_CurveType HLRBRep_LineTool::GetType ( const gp_Lin C)
static

Returns the type of the line in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.

◆ Hyperbola()

static gp_Hypr HLRBRep_LineTool::Hyperbola ( const gp_Lin C)
static

◆ IntervalContinuity()

static GeomAbs_Shape HLRBRep_LineTool::IntervalContinuity ( const gp_Lin C)
static

◆ IntervalFirst()

static Standard_Real HLRBRep_LineTool::IntervalFirst ( const gp_Lin C)
static

Returns the first parameter of the current interval.

◆ IntervalLast()

static Standard_Real HLRBRep_LineTool::IntervalLast ( const gp_Lin C)
static

Returns the last parameter of the current interval.

◆ Intervals()

static void HLRBRep_LineTool::Intervals ( const gp_Lin C,
TColStd_Array1OfReal T,
const GeomAbs_Shape  Sh 
)
static

Sets the current working interval.

◆ IsClosed()

static Standard_Boolean HLRBRep_LineTool::IsClosed ( const gp_Lin C)
static

◆ IsPeriodic()

static Standard_Boolean HLRBRep_LineTool::IsPeriodic ( const gp_Lin C)
static

◆ IsRational()

static Standard_Boolean HLRBRep_LineTool::IsRational ( const gp_Lin C)
static

◆ KnotsAndMultiplicities()

static void HLRBRep_LineTool::KnotsAndMultiplicities ( const gp_Lin C,
TColStd_Array1OfReal TK,
TColStd_Array1OfInteger TM 
)
static

◆ LastParameter()

static Standard_Real HLRBRep_LineTool::LastParameter ( const gp_Lin C)
static

◆ Line()

static gp_Lin HLRBRep_LineTool::Line ( const gp_Lin C)
static

◆ NbIntervals()

static Standard_Integer HLRBRep_LineTool::NbIntervals ( const gp_Lin C,
const GeomAbs_Shape  S 
)
static

If necessary, breaks the line in intervals of continuity <S>. And returns the number of intervals.

◆ NbKnots()

static Standard_Integer HLRBRep_LineTool::NbKnots ( const gp_Lin C)
static

◆ NbPoles()

static Standard_Integer HLRBRep_LineTool::NbPoles ( const gp_Lin C)
static

◆ NbSamples()

static Standard_Integer HLRBRep_LineTool::NbSamples ( const gp_Lin C,
const Standard_Real  U0,
const Standard_Real  U1 
)
static

◆ Parabola()

static gp_Parab HLRBRep_LineTool::Parabola ( const gp_Lin C)
static

◆ Period()

static Standard_Real HLRBRep_LineTool::Period ( const gp_Lin C)
static

◆ Poles()

static void HLRBRep_LineTool::Poles ( const gp_Lin C,
TColgp_Array1OfPnt TP 
)
static

◆ PolesAndWeights()

static void HLRBRep_LineTool::PolesAndWeights ( const gp_Lin C,
TColgp_Array1OfPnt TP,
TColStd_Array1OfReal TW 
)
static

◆ Resolution()

static Standard_Real HLRBRep_LineTool::Resolution ( const gp_Lin C,
const Standard_Real  R3d 
)
static

Returns the parametric resolution corresponding to the real space resolution <R3d>.

◆ SamplePars()

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 
)
static

◆ Value()

static gp_Pnt HLRBRep_LineTool::Value ( const gp_Lin C,
const Standard_Real  U 
)
static

Computes the point of parameter U on the line.


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