Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
HLRBRep_CurveTool Class Reference

#include <HLRBRep_CurveTool.hxx>

Static Public Member Functions

static double FirstParameter (const HLRBRep_CurvePtr C)
 
static double LastParameter (const HLRBRep_CurvePtr C)
 
static GeomAbs_Shape Continuity (const HLRBRep_CurvePtr C)
 
static int NbIntervals (const HLRBRep_CurvePtr C)
 Returns the number of intervals for continuity . May be one if Continuity(myclass) >=
 
static void Intervals (const HLRBRep_CurvePtr C, NCollection_Array1< double > &T)
 Stores in <T> the parameters bounding the intervals of continuity .
 
static void GetInterval (const HLRBRep_CurvePtr C, const int Index, const NCollection_Array1< double > &Tab, double &U1, double &U2)
 output the bounds of interval of index <Index> used if Type == Composite.
 
static bool IsClosed (const HLRBRep_CurvePtr C)
 
static bool IsPeriodic (const HLRBRep_CurvePtr C)
 
static double Period (const HLRBRep_CurvePtr C)
 
static gp_Pnt2d Value (const HLRBRep_CurvePtr C, const double U)
 Computes the point of parameter U on the curve.
 
static void D0 (const HLRBRep_CurvePtr C, const double U, gp_Pnt2d &P)
 Computes the point of parameter U on the curve.
 
static void D1 (const HLRBRep_CurvePtr C, const double U, gp_Pnt2d &P, gp_Vec2d &V)
 Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
 
static void D2 (const HLRBRep_CurvePtr C, const double U, gp_Pnt2d &P, gp_Vec2d &V1, gp_Vec2d &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 HLRBRep_CurvePtr C, const double U, gp_Pnt2d &P, gp_Vec2d &V1, gp_Vec2d &V2, gp_Vec2d &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_Vec2d DN (const HLRBRep_CurvePtr C, const double U, const int 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 double Resolution (const HLRBRep_CurvePtr C, const double R3d)
 Returns the parametric resolution corresponding to the real space resolution <R3d>.
 
static GeomAbs_CurveType GetType (const HLRBRep_CurvePtr C)
 Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
 
static GeomAbs_CurveType TheType (const HLRBRep_CurvePtr C)
 Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
 
static gp_Lin2d Line (const HLRBRep_CurvePtr C)
 
static gp_Circ2d Circle (const HLRBRep_CurvePtr C)
 
static gp_Elips2d Ellipse (const HLRBRep_CurvePtr C)
 
static gp_Hypr2d Hyperbola (const HLRBRep_CurvePtr C)
 
static gp_Parab2d Parabola (const HLRBRep_CurvePtr C)
 
static occ::handle< Geom2d_BezierCurveBezier (const HLRBRep_CurvePtr C)
 
static occ::handle< Geom2d_BSplineCurveBSpline (const HLRBRep_CurvePtr C)
 
static double EpsX (const HLRBRep_CurvePtr C)
 
static int NbSamples (const HLRBRep_CurvePtr C, const double U0, const double U1)
 
static int NbSamples (const HLRBRep_CurvePtr C)
 
static int Degree (const HLRBRep_CurvePtr C)
 

Member Function Documentation

◆ Bezier()

static occ::handle< Geom2d_BezierCurve > HLRBRep_CurveTool::Bezier ( const HLRBRep_CurvePtr C)
static

◆ BSpline()

static occ::handle< Geom2d_BSplineCurve > HLRBRep_CurveTool::BSpline ( const HLRBRep_CurvePtr C)
static

◆ Circle()

static gp_Circ2d HLRBRep_CurveTool::Circle ( const HLRBRep_CurvePtr C)
static

◆ Continuity()

static GeomAbs_Shape HLRBRep_CurveTool::Continuity ( const HLRBRep_CurvePtr C)
static

◆ D0()

static void HLRBRep_CurveTool::D0 ( const HLRBRep_CurvePtr C,
const double U,
gp_Pnt2d & P )
static

Computes the point of parameter U on the curve.

◆ D1()

static void HLRBRep_CurveTool::D1 ( const HLRBRep_CurvePtr C,
const double U,
gp_Pnt2d & P,
gp_Vec2d & V )
static

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

◆ D2()

static void HLRBRep_CurveTool::D2 ( const HLRBRep_CurvePtr C,
const double U,
gp_Pnt2d & P,
gp_Vec2d & V1,
gp_Vec2d & 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_CurveTool::D3 ( const HLRBRep_CurvePtr C,
const double U,
gp_Pnt2d & P,
gp_Vec2d & V1,
gp_Vec2d & V2,
gp_Vec2d & 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 int HLRBRep_CurveTool::Degree ( const HLRBRep_CurvePtr C)
static

◆ DN()

static gp_Vec2d HLRBRep_CurveTool::DN ( const HLRBRep_CurvePtr C,
const double U,
const int 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_Elips2d HLRBRep_CurveTool::Ellipse ( const HLRBRep_CurvePtr C)
static

◆ EpsX()

static double HLRBRep_CurveTool::EpsX ( const HLRBRep_CurvePtr C)
static

◆ FirstParameter()

static double HLRBRep_CurveTool::FirstParameter ( const HLRBRep_CurvePtr C)
static

◆ GetInterval()

static void HLRBRep_CurveTool::GetInterval ( const HLRBRep_CurvePtr C,
const int Index,
const NCollection_Array1< double > & Tab,
double & U1,
double & U2 )
static

output the bounds of interval of index <Index> used if Type == Composite.

◆ GetType()

static GeomAbs_CurveType HLRBRep_CurveTool::GetType ( const HLRBRep_CurvePtr C)
static

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

◆ Hyperbola()

static gp_Hypr2d HLRBRep_CurveTool::Hyperbola ( const HLRBRep_CurvePtr C)
static

◆ Intervals()

static void HLRBRep_CurveTool::Intervals ( const HLRBRep_CurvePtr C,
NCollection_Array1< double > & T )
static

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

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

◆ IsClosed()

static bool HLRBRep_CurveTool::IsClosed ( const HLRBRep_CurvePtr C)
static

◆ IsPeriodic()

static bool HLRBRep_CurveTool::IsPeriodic ( const HLRBRep_CurvePtr C)
static

◆ LastParameter()

static double HLRBRep_CurveTool::LastParameter ( const HLRBRep_CurvePtr C)
static

◆ Line()

static gp_Lin2d HLRBRep_CurveTool::Line ( const HLRBRep_CurvePtr C)
static

◆ NbIntervals()

static int HLRBRep_CurveTool::NbIntervals ( const HLRBRep_CurvePtr C)
static

Returns the number of intervals for continuity . May be one if Continuity(myclass) >=

◆ NbSamples() [1/2]

static int HLRBRep_CurveTool::NbSamples ( const HLRBRep_CurvePtr C)
static

◆ NbSamples() [2/2]

static int HLRBRep_CurveTool::NbSamples ( const HLRBRep_CurvePtr C,
const double U0,
const double U1 )
static

◆ Parabola()

static gp_Parab2d HLRBRep_CurveTool::Parabola ( const HLRBRep_CurvePtr C)
static

◆ Period()

static double HLRBRep_CurveTool::Period ( const HLRBRep_CurvePtr C)
static

◆ Resolution()

static double HLRBRep_CurveTool::Resolution ( const HLRBRep_CurvePtr C,
const double R3d )
static

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

◆ TheType()

static GeomAbs_CurveType HLRBRep_CurveTool::TheType ( const HLRBRep_CurvePtr C)
static

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

◆ Value()

static gp_Pnt2d HLRBRep_CurveTool::Value ( const HLRBRep_CurvePtr C,
const double U )
static

Computes the point of parameter U on the curve.


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