Open CASCADE Technology  6.9.0
Public Member Functions

Adaptor3d_HCurve Class Referenceabstract

Root class for 3D curves manipulated by handles, on which geometric algorithms work. An adapted curve is an interface between the services provided by a curve and those required of the curve by algorithms which use it. Two derived concrete classes are provided: More...

#include <Adaptor3d_HCurve.hxx>

Inheritance diagram for Adaptor3d_HCurve:
Inheritance graph
[legend]

Public Member Functions

virtual const Adaptor3d_CurveCurve () const =0
 Returns a pointer to the Curve inside the HCurve. More...
 
virtual Adaptor3d_CurveGetCurve ()=0
 Returns a pointer to the Curve inside the HCurve. More...
 
Standard_Real FirstParameter () const
 
Standard_Real LastParameter () const
 
GeomAbs_Shape Continuity () const
 
Standard_Integer NbIntervals (const GeomAbs_Shape S) const
 
void Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const
 Stores in <T> the parameters bounding the intervals of continuity <S>. More...
 
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. More...
 
Standard_Boolean IsClosed () const
 
Standard_Boolean IsPeriodic () const
 
Standard_Real Period () const
 
gp_Pnt Value (const Standard_Real U) const
 
void D0 (const Standard_Real U, gp_Pnt &P) const
 
void D1 (const Standard_Real U, gp_Pnt &P, gp_Vec &V) const
 
void D2 (const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2) const
 
void D3 (const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2, gp_Vec &V3) const
 
gp_Vec DN (const Standard_Real U, const Standard_Integer N) const
 
Standard_Real Resolution (const Standard_Real R3d) const
 
GeomAbs_CurveType GetType () const
 
gp_Lin Line () const
 
gp_Circ Circle () const
 
gp_Elips Ellipse () const
 
gp_Hypr Hyperbola () const
 
gp_Parab Parabola () const
 
Standard_Integer Degree () const
 
Standard_Boolean IsRational () const
 
Standard_Integer NbPoles () const
 
Standard_Integer NbKnots () const
 
Handle< Geom_BezierCurveBezier () const
 
Handle< Geom_BSplineCurveBSpline () const
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Detailed Description

Root class for 3D curves manipulated by handles, on which geometric algorithms work. An adapted curve is an interface between the services provided by a curve and those required of the curve by algorithms which use it. Two derived concrete classes are provided:

Member Function Documentation

Handle< Geom_BezierCurve > Adaptor3d_HCurve::Bezier ( ) const
Handle< Geom_BSplineCurve > Adaptor3d_HCurve::BSpline ( ) const
gp_Circ Adaptor3d_HCurve::Circle ( ) const
GeomAbs_Shape Adaptor3d_HCurve::Continuity ( ) const
virtual const Adaptor3d_Curve& Adaptor3d_HCurve::Curve ( ) const
pure virtual
void Adaptor3d_HCurve::D0 ( const Standard_Real  U,
gp_Pnt P 
) const
void Adaptor3d_HCurve::D1 ( const Standard_Real  U,
gp_Pnt P,
gp_Vec V 
) const
void Adaptor3d_HCurve::D2 ( const Standard_Real  U,
gp_Pnt P,
gp_Vec V1,
gp_Vec V2 
) const
void Adaptor3d_HCurve::D3 ( const Standard_Real  U,
gp_Pnt P,
gp_Vec V1,
gp_Vec V2,
gp_Vec V3 
) const
Standard_Integer Adaptor3d_HCurve::Degree ( ) const
gp_Vec Adaptor3d_HCurve::DN ( const Standard_Real  U,
const Standard_Integer  N 
) const
gp_Elips Adaptor3d_HCurve::Ellipse ( ) const
Standard_Real Adaptor3d_HCurve::FirstParameter ( ) const
virtual Adaptor3d_Curve& Adaptor3d_HCurve::GetCurve ( )
pure virtual
GeomAbs_CurveType Adaptor3d_HCurve::GetType ( ) const
gp_Hypr Adaptor3d_HCurve::Hyperbola ( ) const
void Adaptor3d_HCurve::Intervals ( TColStd_Array1OfReal T,
const GeomAbs_Shape  S 
) const

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 Adaptor3d_HCurve::IsClosed ( ) const
Standard_Boolean Adaptor3d_HCurve::IsPeriodic ( ) const
Standard_Boolean Adaptor3d_HCurve::IsRational ( ) const
Standard_Real Adaptor3d_HCurve::LastParameter ( ) const
gp_Lin Adaptor3d_HCurve::Line ( ) const
Standard_Integer Adaptor3d_HCurve::NbIntervals ( const GeomAbs_Shape  S) const
Standard_Integer Adaptor3d_HCurve::NbKnots ( ) const
Standard_Integer Adaptor3d_HCurve::NbPoles ( ) const
gp_Parab Adaptor3d_HCurve::Parabola ( ) const
Standard_Real Adaptor3d_HCurve::Period ( ) const
Standard_Real Adaptor3d_HCurve::Resolution ( const Standard_Real  R3d) const
Handle< Adaptor3d_HCurve > Adaptor3d_HCurve::Trim ( 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>

gp_Pnt Adaptor3d_HCurve::Value ( const Standard_Real  U) const

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