Open CASCADE Technology  7.3.1.dev
Public Member Functions | Protected Attributes
BRepAdaptor_HCurve Class Reference

#include <BRepAdaptor_HCurve.hxx>

Inheritance diagram for BRepAdaptor_HCurve:
Inheritance graph
[legend]

Public Member Functions

 BRepAdaptor_HCurve ()
 Creates an empty GenHCurve. More...
 
 BRepAdaptor_HCurve (const BRepAdaptor_Curve &C)
 Creates a GenHCurve from a Curve. More...
 
void Set (const BRepAdaptor_Curve &C)
 Sets the field of the GenHCurve. More...
 
const Adaptor3d_CurveCurve () const override
 Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. More...
 
Adaptor3d_CurveGetCurve () override
 Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. More...
 
BRepAdaptor_CurveChangeCurve ()
 Returns the curve used to create the GenHCurve. More...
 
- Public Member Functions inherited from Adaptor3d_HCurve
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
 
Handle< Geom_OffsetCurveOffsetCurve () const
 
- 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 void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::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 opencascade::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...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Protected Attributes

BRepAdaptor_Curve myCurve
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Constructor & Destructor Documentation

◆ BRepAdaptor_HCurve() [1/2]

BRepAdaptor_HCurve::BRepAdaptor_HCurve ( )

Creates an empty GenHCurve.

◆ BRepAdaptor_HCurve() [2/2]

BRepAdaptor_HCurve::BRepAdaptor_HCurve ( const BRepAdaptor_Curve C)

Creates a GenHCurve from a Curve.

Member Function Documentation

◆ ChangeCurve()

BRepAdaptor_Curve& BRepAdaptor_HCurve::ChangeCurve ( )

Returns the curve used to create the GenHCurve.

◆ Curve()

const Adaptor3d_Curve& BRepAdaptor_HCurve::Curve ( ) const
overridevirtual

Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline.

Implements Adaptor3d_HCurve.

◆ GetCurve()

Adaptor3d_Curve& BRepAdaptor_HCurve::GetCurve ( )
overridevirtual

Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline.

Implements Adaptor3d_HCurve.

◆ Set()

void BRepAdaptor_HCurve::Set ( const BRepAdaptor_Curve C)

Sets the field of the GenHCurve.

Field Documentation

◆ myCurve

BRepAdaptor_Curve BRepAdaptor_HCurve::myCurve
protected

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