Open CASCADE Technology  7.4.1.dev
Public Member Functions
FEmTool_Curve Class Reference

Curve defined by Polynomial Elements. More...

#include <FEmTool_Curve.hxx>

Inheritance diagram for FEmTool_Curve:
Inheritance graph
[legend]

Public Member Functions

 FEmTool_Curve (const Standard_Integer Dimension, const Standard_Integer NbElements, const Handle< PLib_Base > &TheBase, const Standard_Real Tolerance)
 
TColStd_Array1OfRealKnots () const
 
void SetElement (const Standard_Integer IndexOfElement, const TColStd_Array2OfReal &Coeffs)
 
void D0 (const Standard_Real U, TColStd_Array1OfReal &Pnt)
 
void D1 (const Standard_Real U, TColStd_Array1OfReal &Vec)
 
void D2 (const Standard_Real U, TColStd_Array1OfReal &Vec)
 
void Length (const Standard_Real FirstU, const Standard_Real LastU, Standard_Real &Length)
 
void GetElement (const Standard_Integer IndexOfElement, TColStd_Array2OfReal &Coeffs)
 
void GetPolynom (TColStd_Array1OfReal &Coeffs)
 returns coefficients of all elements in canonical base. More...
 
Standard_Integer NbElements () const
 
Standard_Integer Dimension () const
 
Handle< PLib_BaseBase () const
 
Standard_Integer Degree (const Standard_Integer IndexOfElement) const
 
void SetDegree (const Standard_Integer IndexOfElement, const Standard_Integer Degree)
 
void ReduceDegree (const Standard_Integer IndexOfElement, const Standard_Real Tol, Standard_Integer &NewDegree, Standard_Real &MaxError)
 
- 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...
 

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

Detailed Description

Curve defined by Polynomial Elements.

Constructor & Destructor Documentation

◆ FEmTool_Curve()

FEmTool_Curve::FEmTool_Curve ( const Standard_Integer  Dimension,
const Standard_Integer  NbElements,
const Handle< PLib_Base > &  TheBase,
const Standard_Real  Tolerance 
)

Member Function Documentation

◆ Base()

Handle< PLib_Base > FEmTool_Curve::Base ( ) const

◆ D0()

void FEmTool_Curve::D0 ( const Standard_Real  U,
TColStd_Array1OfReal Pnt 
)

◆ D1()

void FEmTool_Curve::D1 ( const Standard_Real  U,
TColStd_Array1OfReal Vec 
)

◆ D2()

void FEmTool_Curve::D2 ( const Standard_Real  U,
TColStd_Array1OfReal Vec 
)

◆ Degree()

Standard_Integer FEmTool_Curve::Degree ( const Standard_Integer  IndexOfElement) const

◆ Dimension()

Standard_Integer FEmTool_Curve::Dimension ( ) const

◆ GetElement()

void FEmTool_Curve::GetElement ( const Standard_Integer  IndexOfElement,
TColStd_Array2OfReal Coeffs 
)

◆ GetPolynom()

void FEmTool_Curve::GetPolynom ( TColStd_Array1OfReal Coeffs)

returns coefficients of all elements in canonical base.

◆ Knots()

TColStd_Array1OfReal& FEmTool_Curve::Knots ( ) const

◆ Length()

void FEmTool_Curve::Length ( const Standard_Real  FirstU,
const Standard_Real  LastU,
Standard_Real Length 
)

◆ NbElements()

Standard_Integer FEmTool_Curve::NbElements ( ) const

◆ ReduceDegree()

void FEmTool_Curve::ReduceDegree ( const Standard_Integer  IndexOfElement,
const Standard_Real  Tol,
Standard_Integer NewDegree,
Standard_Real MaxError 
)

◆ SetDegree()

void FEmTool_Curve::SetDegree ( const Standard_Integer  IndexOfElement,
const Standard_Integer  Degree 
)

◆ SetElement()

void FEmTool_Curve::SetElement ( const Standard_Integer  IndexOfElement,
const TColStd_Array2OfReal Coeffs 
)

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