Open CASCADE Technology  7.7.0
Public Member Functions
AppDef_LinearCriteria Class Reference

defined an Linear Criteria to used in variational Smoothing of points. More...

#include <AppDef_LinearCriteria.hxx>

Inheritance diagram for AppDef_LinearCriteria:
Inheritance graph
[legend]

Public Member Functions

 AppDef_LinearCriteria (const AppDef_MultiLine &SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint)
 
void SetParameters (const Handle< TColStd_HArray1OfReal > &Parameters) override
 
void SetCurve (const Handle< FEmTool_Curve > &C) override
 
void GetCurve (Handle< FEmTool_Curve > &C) const override
 
void SetEstimation (const Standard_Real E1, const Standard_Real E2, const Standard_Real E3) override
 
Standard_RealEstLength () override
 
void GetEstimation (Standard_Real &E1, Standard_Real &E2, Standard_Real &E3) const override
 
Handle< FEmTool_HAssemblyTable > AssemblyTable () const override
 
Handle< TColStd_HArray2OfInteger > DependenceTable () const override
 
Standard_Integer QualityValues (const Standard_Real J1min, const Standard_Real J2min, const Standard_Real J3min, Standard_Real &J1, Standard_Real &J2, Standard_Real &J3) override
 
void ErrorValues (Standard_Real &MaxError, Standard_Real &QuadraticError, Standard_Real &AverageError) override
 
void Hessian (const Standard_Integer Element, const Standard_Integer Dimension1, const Standard_Integer Dimension2, math_Matrix &H) override
 
void Gradient (const Standard_Integer Element, const Standard_Integer Dimension, math_Vector &G) override
 
void InputVector (const math_Vector &X, const Handle< FEmTool_HAssemblyTable > &AssTable) override
 Convert the assembly Vector in an Curve;. More...
 
void SetWeight (const Standard_Real QuadraticWeight, const Standard_Real QualityWeight, const Standard_Real percentJ1, const Standard_Real percentJ2, const Standard_Real percentJ3) override
 
void GetWeight (Standard_Real &QuadraticWeight, Standard_Real &QualityWeight) const override
 
void SetWeight (const TColStd_Array1OfReal &Weight) override
 
- 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

defined an Linear Criteria to used in variational Smoothing of points.

Constructor & Destructor Documentation

◆ AppDef_LinearCriteria()

AppDef_LinearCriteria::AppDef_LinearCriteria ( const AppDef_MultiLine SSP,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint 
)

Member Function Documentation

◆ AssemblyTable()

Handle< FEmTool_HAssemblyTable > AppDef_LinearCriteria::AssemblyTable ( ) const
overridevirtual

◆ DependenceTable()

Handle< TColStd_HArray2OfInteger > AppDef_LinearCriteria::DependenceTable ( ) const
overridevirtual

◆ ErrorValues()

void AppDef_LinearCriteria::ErrorValues ( Standard_Real MaxError,
Standard_Real QuadraticError,
Standard_Real AverageError 
)
overridevirtual

◆ EstLength()

Standard_Real& AppDef_LinearCriteria::EstLength ( )
overridevirtual

◆ GetCurve()

void AppDef_LinearCriteria::GetCurve ( Handle< FEmTool_Curve > &  C) const
overridevirtual

◆ GetEstimation()

void AppDef_LinearCriteria::GetEstimation ( Standard_Real E1,
Standard_Real E2,
Standard_Real E3 
) const
overridevirtual

◆ GetWeight()

void AppDef_LinearCriteria::GetWeight ( Standard_Real QuadraticWeight,
Standard_Real QualityWeight 
) const
overridevirtual

◆ Gradient()

void AppDef_LinearCriteria::Gradient ( const Standard_Integer  Element,
const Standard_Integer  Dimension,
math_Vector G 
)
overridevirtual

◆ Hessian()

void AppDef_LinearCriteria::Hessian ( const Standard_Integer  Element,
const Standard_Integer  Dimension1,
const Standard_Integer  Dimension2,
math_Matrix H 
)
overridevirtual

◆ InputVector()

void AppDef_LinearCriteria::InputVector ( const math_Vector X,
const Handle< FEmTool_HAssemblyTable > &  AssTable 
)
overridevirtual

Convert the assembly Vector in an Curve;.

Implements AppDef_SmoothCriterion.

◆ QualityValues()

Standard_Integer AppDef_LinearCriteria::QualityValues ( const Standard_Real  J1min,
const Standard_Real  J2min,
const Standard_Real  J3min,
Standard_Real J1,
Standard_Real J2,
Standard_Real J3 
)
overridevirtual

◆ SetCurve()

void AppDef_LinearCriteria::SetCurve ( const Handle< FEmTool_Curve > &  C)
overridevirtual

◆ SetEstimation()

void AppDef_LinearCriteria::SetEstimation ( const Standard_Real  E1,
const Standard_Real  E2,
const Standard_Real  E3 
)
overridevirtual

◆ SetParameters()

void AppDef_LinearCriteria::SetParameters ( const Handle< TColStd_HArray1OfReal > &  Parameters)
overridevirtual

◆ SetWeight() [1/2]

void AppDef_LinearCriteria::SetWeight ( const Standard_Real  QuadraticWeight,
const Standard_Real  QualityWeight,
const Standard_Real  percentJ1,
const Standard_Real  percentJ2,
const Standard_Real  percentJ3 
)
overridevirtual

◆ SetWeight() [2/2]

void AppDef_LinearCriteria::SetWeight ( const TColStd_Array1OfReal Weight)
overridevirtual

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