GeomFill_SnglrFunc Class Reference

to represent function C'(t)^C''(t) More...

`#include <GeomFill_SnglrFunc.hxx>`

Inheritance diagram for GeomFill_SnglrFunc:
[legend]

Public Member Functions

GeomFill_SnglrFunc (const Handle< Adaptor3d_HCurve > &HC)

void SetRatio (const Standard_Real Ratio)

Standard_Real FirstParameter () const

Standard_Real LastParameter () const

Standard_Integer NbIntervals (const GeomAbs_Shape S) const
Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S> More...

void Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const
Stores in <T> the parameters bounding the intervals of continuity <S>. More...

gp_Pnt Value (const Standard_Real U) const
Computes the point of parameter U on the curve. More...

Standard_Boolean IsPeriodic () const

Standard_Real Period () const

void D0 (const Standard_Real U, gp_Pnt &P) const
Computes the point of parameter U on the curve. More...

void D1 (const Standard_Real U, gp_Pnt &P, gp_Vec &V) const
Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1. More...

void D2 (const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2) const
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...

void D3 (const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2, gp_Vec &V3) const
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 C1. More...

gp_Vec DN (const Standard_Real U, const Standard_Integer N) const
The returned vector gives the value of the derivative for the order of derivation N. Raised if N < 1. More...

Standard_Real Resolution (const Standard_Real R3d) const
Returns the parametric resolution corresponding to the real space resolution <R3d>. More...

GeomAbs_CurveType GetType () const
Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. More...

Public Member Functions inherited from Adaptor3d_Curve
virtual GeomAbs_Shape Continuity () const

virtual Handle< Adaptor3d_HCurveTrim (const Standard_Real First, const Standard_Real Last, const Standard_Real Tol) const
Returns a curve equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last> More...

virtual Standard_Boolean IsClosed () const

virtual gp_Lin Line () const

virtual gp_Circ Circle () const

virtual gp_Elips Ellipse () const

virtual gp_Hypr Hyperbola () const

virtual gp_Parab Parabola () const

virtual Standard_Integer Degree () const

virtual Standard_Boolean IsRational () const

virtual Standard_Integer NbPoles () const

virtual Standard_Integer NbKnots () const

virtual Handle< Geom_BezierCurveBezier () const

virtual Handle< Geom_BSplineCurveBSpline () const

Detailed Description

to represent function C'(t)^C''(t)

Constructor & Destructor Documentation

 GeomFill_SnglrFunc::GeomFill_SnglrFunc ( const Handle< Adaptor3d_HCurve > & HC )

Member Function Documentation

 void GeomFill_SnglrFunc::D0 ( const Standard_Real U, gp_Pnt & P ) const
virtual

Computes the point of parameter U on the curve.

 void GeomFill_SnglrFunc::D1 ( const Standard_Real U, gp_Pnt & P, gp_Vec & V ) const
virtual

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

 void GeomFill_SnglrFunc::D2 ( const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2 ) const
virtual

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.

 void GeomFill_SnglrFunc::D3 ( const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3 ) const
virtual

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 C1.

 gp_Vec GeomFill_SnglrFunc::DN ( const Standard_Real U, const Standard_Integer N ) const
virtual

The returned vector gives the value of the derivative for the order of derivation N. Raised if N < 1.

 Standard_Real GeomFill_SnglrFunc::FirstParameter ( ) const
virtual

 GeomAbs_CurveType GeomFill_SnglrFunc::GetType ( ) const
virtual

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

 void GeomFill_SnglrFunc::Intervals ( TColStd_Array1OfReal & T, const GeomAbs_Shape S ) const
virtual

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

 Standard_Boolean GeomFill_SnglrFunc::IsPeriodic ( ) const
virtual

 Standard_Real GeomFill_SnglrFunc::LastParameter ( ) const
virtual

 Standard_Integer GeomFill_SnglrFunc::NbIntervals ( const GeomAbs_Shape S ) const
virtual

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

 Standard_Real GeomFill_SnglrFunc::Period ( ) const
virtual

 Standard_Real GeomFill_SnglrFunc::Resolution ( const Standard_Real R3d ) const
virtual

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