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

#include <IntCurveSurface_TheHCurveTool.hxx>

Static Public Member Functions

static double FirstParameter (const occ::handle< Adaptor3d_Curve > &C)
 
static double LastParameter (const occ::handle< Adaptor3d_Curve > &C)
 
static GeomAbs_Shape Continuity (const occ::handle< Adaptor3d_Curve > &C)
 
static int NbIntervals (const occ::handle< Adaptor3d_Curve > &C, const GeomAbs_Shape S)
 Returns the number of intervals for continuity . May be one if Continuity(myclass) >=
 
static void Intervals (const occ::handle< Adaptor3d_Curve > &C, NCollection_Array1< double > &T, const GeomAbs_Shape S)
 Stores in <T> the parameters bounding the intervals of continuity .
 
static bool IsClosed (const occ::handle< Adaptor3d_Curve > &C)
 
static bool IsPeriodic (const occ::handle< Adaptor3d_Curve > &C)
 
static double Period (const occ::handle< Adaptor3d_Curve > &C)
 
static gp_Pnt Value (const occ::handle< Adaptor3d_Curve > &C, const double U)
 Computes the point of parameter U on the curve.
 
static void D0 (const occ::handle< Adaptor3d_Curve > &C, const double U, gp_Pnt &P)
 Computes the point of parameter U on the curve.
 
static void D1 (const occ::handle< Adaptor3d_Curve > &C, const double U, gp_Pnt &P, gp_Vec &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 occ::handle< Adaptor3d_Curve > &C, const double 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 occ::handle< Adaptor3d_Curve > &C, const double 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 occ::handle< Adaptor3d_Curve > &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 occ::handle< Adaptor3d_Curve > &C, const double R3d)
 Returns the parametric resolution corresponding to the real space resolution <R3d>.
 
static GeomAbs_CurveType GetType (const occ::handle< Adaptor3d_Curve > &C)
 Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
 
static gp_Lin Line (const occ::handle< Adaptor3d_Curve > &C)
 
static gp_Circ Circle (const occ::handle< Adaptor3d_Curve > &C)
 
static gp_Elips Ellipse (const occ::handle< Adaptor3d_Curve > &C)
 
static gp_Hypr Hyperbola (const occ::handle< Adaptor3d_Curve > &C)
 
static gp_Parab Parabola (const occ::handle< Adaptor3d_Curve > &C)
 
static occ::handle< Geom_BezierCurveBezier (const occ::handle< Adaptor3d_Curve > &C)
 
static occ::handle< Geom_BSplineCurveBSpline (const occ::handle< Adaptor3d_Curve > &C)
 
static int NbSamples (const occ::handle< Adaptor3d_Curve > &C, const double U0, const double U1)
 
static occ::handle< NCollection_HArray1< double > > SamplePars (const occ::handle< Adaptor3d_Curve > &C, const double U0, const double U1, const double Defl, const int NbMin)
 Returns sample parameters for the curve within [U0, U1] range, computed based on deflection and minimum number of points.
 
static void SamplePars (const occ::handle< Adaptor3d_Curve > &C, const double U0, const double U1, const double Defl, const int NbMin, occ::handle< NCollection_HArray1< double > > &Pars)
 

Member Function Documentation

◆ Bezier()

static occ::handle< Geom_BezierCurve > IntCurveSurface_TheHCurveTool::Bezier ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ BSpline()

static occ::handle< Geom_BSplineCurve > IntCurveSurface_TheHCurveTool::BSpline ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ Circle()

static gp_Circ IntCurveSurface_TheHCurveTool::Circle ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ Continuity()

static GeomAbs_Shape IntCurveSurface_TheHCurveTool::Continuity ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ D0()

static void IntCurveSurface_TheHCurveTool::D0 ( const occ::handle< Adaptor3d_Curve > & C,
const double U,
gp_Pnt & P )
inlinestatic

Computes the point of parameter U on the curve.

◆ D1()

static void IntCurveSurface_TheHCurveTool::D1 ( const occ::handle< Adaptor3d_Curve > & C,
const double U,
gp_Pnt & P,
gp_Vec & V )
inlinestatic

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 IntCurveSurface_TheHCurveTool::D2 ( const occ::handle< Adaptor3d_Curve > & C,
const double U,
gp_Pnt & P,
gp_Vec & V1,
gp_Vec & V2 )
inlinestatic

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 IntCurveSurface_TheHCurveTool::D3 ( const occ::handle< Adaptor3d_Curve > & C,
const double U,
gp_Pnt & P,
gp_Vec & V1,
gp_Vec & V2,
gp_Vec & V3 )
inlinestatic

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.

◆ DN()

static gp_Vec IntCurveSurface_TheHCurveTool::DN ( const occ::handle< Adaptor3d_Curve > & C,
const double U,
const int N )
inlinestatic

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 IntCurveSurface_TheHCurveTool::Ellipse ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ FirstParameter()

static double IntCurveSurface_TheHCurveTool::FirstParameter ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ GetType()

static GeomAbs_CurveType IntCurveSurface_TheHCurveTool::GetType ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

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

◆ Hyperbola()

static gp_Hypr IntCurveSurface_TheHCurveTool::Hyperbola ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ Intervals()

static void IntCurveSurface_TheHCurveTool::Intervals ( const occ::handle< Adaptor3d_Curve > & C,
NCollection_Array1< double > & T,
const GeomAbs_Shape S )
inlinestatic

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 IntCurveSurface_TheHCurveTool::IsClosed ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ IsPeriodic()

static bool IntCurveSurface_TheHCurveTool::IsPeriodic ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ LastParameter()

static double IntCurveSurface_TheHCurveTool::LastParameter ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ Line()

static gp_Lin IntCurveSurface_TheHCurveTool::Line ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ NbIntervals()

static int IntCurveSurface_TheHCurveTool::NbIntervals ( const occ::handle< Adaptor3d_Curve > & C,
const GeomAbs_Shape S )
inlinestatic

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

◆ NbSamples()

static int IntCurveSurface_TheHCurveTool::NbSamples ( const occ::handle< Adaptor3d_Curve > & C,
const double U0,
const double U1 )
static

◆ Parabola()

static gp_Parab IntCurveSurface_TheHCurveTool::Parabola ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ Period()

static double IntCurveSurface_TheHCurveTool::Period ( const occ::handle< Adaptor3d_Curve > & C)
inlinestatic

◆ Resolution()

static double IntCurveSurface_TheHCurveTool::Resolution ( const occ::handle< Adaptor3d_Curve > & C,
const double R3d )
inlinestatic

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

◆ SamplePars() [1/2]

static occ::handle< NCollection_HArray1< double > > IntCurveSurface_TheHCurveTool::SamplePars ( const occ::handle< Adaptor3d_Curve > & C,
const double U0,
const double U1,
const double Defl,
const int NbMin )
static

Returns sample parameters for the curve within [U0, U1] range, computed based on deflection and minimum number of points.

Parameters
[in]Cthe curve adaptor
[in]U0start parameter
[in]U1end parameter
[in]Defldeflection tolerance
[in]NbMinminimum number of sample points
Returns
array of sample parameter values

◆ SamplePars() [2/2]

static void IntCurveSurface_TheHCurveTool::SamplePars ( const occ::handle< Adaptor3d_Curve > & C,
const double U0,
const double U1,
const double Defl,
const int NbMin,
occ::handle< NCollection_HArray1< double > > & Pars )
static
Deprecated

Use SamplePars() returning handle by value instead.

("Use SamplePars() returning handle by value instead")

◆ Value()

static gp_Pnt IntCurveSurface_TheHCurveTool::Value ( const occ::handle< Adaptor3d_Curve > & C,
const double U )
inlinestatic

Computes the point of parameter U on the curve.


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