Open CASCADE Technology 7.8.2.dev
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:

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;.
 
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 AppDef_SmoothCriterion
- 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 char * get_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

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: