Open CASCADE Technology 7.8.0
Public Member Functions
Approx_CurvlinFunc Class Reference

defines an abstract curve with curvilinear parametrization More...

#include <Approx_CurvlinFunc.hxx>

Inheritance diagram for Approx_CurvlinFunc:
Inheritance graph
[legend]

Public Member Functions

 Approx_CurvlinFunc (const Handle< Adaptor3d_Curve > &C, const Standard_Real Tol)
 
 Approx_CurvlinFunc (const Handle< Adaptor2d_Curve2d > &C2D, const Handle< Adaptor3d_Surface > &S, const Standard_Real Tol)
 
 Approx_CurvlinFunc (const Handle< Adaptor2d_Curve2d > &C2D1, const Handle< Adaptor2d_Curve2d > &C2D2, const Handle< Adaptor3d_Surface > &S1, const Handle< Adaptor3d_Surface > &S2, const Standard_Real Tol)
 
void SetTol (const Standard_Real Tol)
 —Purpose Update the tolerance to used
 
Standard_Real FirstParameter () const
 
Standard_Real LastParameter () const
 
Standard_Integer NbIntervals (const GeomAbs_Shape S) const
 Returns the number of intervals for continuity . May be one if Continuity(me) >=
 
void Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const
 Stores in <T> the parameters bounding the intervals of continuity .
 
void Trim (const Standard_Real First, const Standard_Real Last, const Standard_Real Tol)
 if First < 0 or Last > 1
 
void Length ()
 Computes length of the curve.
 
Standard_Real Length (Adaptor3d_Curve &C, const Standard_Real FirstU, const Standard_Real LasrU) const
 Computes length of the curve segment.
 
Standard_Real GetLength () const
 
Standard_Real GetUParameter (Adaptor3d_Curve &C, const Standard_Real S, const Standard_Integer NumberOfCurve) const
 returns original parameter corresponding S. if Case == 1 computation is performed on myC2D1 and mySurf1, otherwise it is done on myC2D2 and mySurf2.
 
Standard_Real GetSParameter (const Standard_Real U) const
 returns original parameter corresponding S.
 
Standard_Boolean EvalCase1 (const Standard_Real S, const Standard_Integer Order, TColStd_Array1OfReal &Result) const
 if myCase != 1
 
Standard_Boolean EvalCase2 (const Standard_Real S, const Standard_Integer Order, TColStd_Array1OfReal &Result) const
 if myCase != 2
 
Standard_Boolean EvalCase3 (const Standard_Real S, const Standard_Integer Order, TColStd_Array1OfReal &Result)
 if myCase != 3
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
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.
 
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.
 
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.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

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

Detailed Description

defines an abstract curve with curvilinear parametrization

Constructor & Destructor Documentation

◆ Approx_CurvlinFunc() [1/3]

Approx_CurvlinFunc::Approx_CurvlinFunc ( const Handle< Adaptor3d_Curve > &  C,
const Standard_Real  Tol 
)

◆ Approx_CurvlinFunc() [2/3]

Approx_CurvlinFunc::Approx_CurvlinFunc ( const Handle< Adaptor2d_Curve2d > &  C2D,
const Handle< Adaptor3d_Surface > &  S,
const Standard_Real  Tol 
)

◆ Approx_CurvlinFunc() [3/3]

Approx_CurvlinFunc::Approx_CurvlinFunc ( const Handle< Adaptor2d_Curve2d > &  C2D1,
const Handle< Adaptor2d_Curve2d > &  C2D2,
const Handle< Adaptor3d_Surface > &  S1,
const Handle< Adaptor3d_Surface > &  S2,
const Standard_Real  Tol 
)

Member Function Documentation

◆ EvalCase1()

Standard_Boolean Approx_CurvlinFunc::EvalCase1 ( const Standard_Real  S,
const Standard_Integer  Order,
TColStd_Array1OfReal Result 
) const

if myCase != 1

◆ EvalCase2()

Standard_Boolean Approx_CurvlinFunc::EvalCase2 ( const Standard_Real  S,
const Standard_Integer  Order,
TColStd_Array1OfReal Result 
) const

if myCase != 2

◆ EvalCase3()

Standard_Boolean Approx_CurvlinFunc::EvalCase3 ( const Standard_Real  S,
const Standard_Integer  Order,
TColStd_Array1OfReal Result 
)

if myCase != 3

◆ FirstParameter()

Standard_Real Approx_CurvlinFunc::FirstParameter ( ) const

◆ GetLength()

Standard_Real Approx_CurvlinFunc::GetLength ( ) const

◆ GetSParameter()

Standard_Real Approx_CurvlinFunc::GetSParameter ( const Standard_Real  U) const

returns original parameter corresponding S.

◆ GetUParameter()

Standard_Real Approx_CurvlinFunc::GetUParameter ( Adaptor3d_Curve C,
const Standard_Real  S,
const Standard_Integer  NumberOfCurve 
) const

returns original parameter corresponding S. if Case == 1 computation is performed on myC2D1 and mySurf1, otherwise it is done on myC2D2 and mySurf2.

◆ Intervals()

void Approx_CurvlinFunc::Intervals ( TColStd_Array1OfReal T,
const GeomAbs_Shape  S 
) const

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

◆ LastParameter()

Standard_Real Approx_CurvlinFunc::LastParameter ( ) const

◆ Length() [1/2]

void Approx_CurvlinFunc::Length ( )

Computes length of the curve.

◆ Length() [2/2]

Standard_Real Approx_CurvlinFunc::Length ( Adaptor3d_Curve C,
const Standard_Real  FirstU,
const Standard_Real  LasrU 
) const

Computes length of the curve segment.

◆ NbIntervals()

Standard_Integer Approx_CurvlinFunc::NbIntervals ( const GeomAbs_Shape  S) const

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

◆ SetTol()

void Approx_CurvlinFunc::SetTol ( const Standard_Real  Tol)

—Purpose Update the tolerance to used

◆ Trim()

void Approx_CurvlinFunc::Trim ( const Standard_Real  First,
const Standard_Real  Last,
const Standard_Real  Tol 
)

if First < 0 or Last > 1


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