All Frameworks Class Hierarchy This Framework Previous Next Indexes
GeometricObjects Interface CATLaw
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---GeometricObjects.CATICGMUnknown
|
+---GeometricObjects.CATICGMObject
|
+---CATLaw
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATLaw
Base interface representing the laws.
A law is a function L of one parameter iT on a given 1D interval
[iTmin,iTmax].
Method Index
- o
Eval(double)
- Evaluates this law.
- o
EvalFirstDeriv(double)
- Evaluates the first derivative of this law.
- o
EvalSecondDeriv(double)
- Evaluates the second derivative of this law.
- o
EvalThirdDeriv(double)
- Evaluates the third derivative of this law.
- o
GetConstraintParameters(CATLONG32&)
- Returns the constraint parameters.
- o
GetDefinitionInterval(double&,double&)
- Retrieves the definition interval of this CATLaw.
- o
GetExtremums(double&,double&)
- Retrieves the extremum values of the law.
- o
GetNumberOfConstraintParameters()
- Returns the number of constraint parameters.
- o
GetOneConstraintParameter(CATLONG32)
- Returns a constraint parameter.
- o
GetScalePowerXScalePowerF(CATLONG32&,CATLONG32&,CATLONG32&)
-
- o
LocateConstraint(double)
- Returns the constraint index nearest to a given parameter.
- o
SetScalePowerXScalePowerF(CATLONG32,CATLONG32,CATLONG32)
-
Methods
o Eval
public virtual double Eval( | const double | iT) const = 0 |
-
Evaluates this law.
- Parameters:
-
- iT
- The parameter value where to evaluate.
- Returns:
- The corresponding law value (L(iT)).
o EvalFirstDeriv
public virtual double EvalFirstDeriv( | const double | iT) const = 0 |
-
Evaluates the first derivative of this law.
- Parameters:
-
- iT
- The parameter value where to evaluate.
- Returns:
- The first derivative value (L'(iT)).
o EvalSecondDeriv
public virtual double EvalSecondDeriv( | const double | iT) const = 0 |
-
Evaluates the second derivative of this law.
- Parameters:
-
- iT
- The parameter value where to evaluate.
- Returns:
- The second derivative value (L''(iT)).
o EvalThirdDeriv
public virtual double EvalThirdDeriv( | const double | iT) const = 0 |
-
Evaluates the third derivative of this law.
- Parameters:
-
- iT
- The parameter value where to evaluate.
- Returns:
- The third derivative value (L'''(iT)).
o GetConstraintParameters
public virtual double * GetConstraintParameters( | CATLONG32& | ioNumberOfConstraints) const = 0 |
-
Returns the constraint parameters.
The internal values are copied into the output array.
- Parameters:
-
- ioNumberOfConstraints
- The index (beginning at 0) of the constraint parameter.
- Returns:
- The array of the constraint parameter values. The array is allocated by the method, and
must be deallocated by the caller. If ioNumberOfConstraints==0, the array is not
allocated.
o GetDefinitionInterval
public virtual void GetDefinitionInterval( | double& | ioTMin, |
| double& | ioTMax) const = 0 |
-
Retrieves the definition interval of this CATLaw.
- Parameters:
-
- ioTMin
- The lower bound value.
- ioTMax
- The upper bound value.
o GetExtremums
public virtual void GetExtremums( | double& | ioMin, |
| double& | ioMax) = 0 |
-
Retrieves the extremum values of the law.
- Parameters:
-
- ioMin
- The minimum law value ioMin= min(L(t)).
- ioMax
- The maximum law value ioMax= max(L(t)).
o GetNumberOfConstraintParameters
public virtual CATLONG32 GetNumberOfConstraintParameters( | )const = 0 |
-
Returns the number of constraint parameters.
- Returns:
- The number of constraint parameters.
o GetOneConstraintParameter
public virtual double GetOneConstraintParameter( | const CATLONG32 | iIndex) const = 0 |
-
Returns a constraint parameter.
- Parameters:
-
- iIndex
- The index (beginning at 0) of the constraint parameter.
o GetScalePowerXScalePowerF
-
o LocateConstraint
public virtual CATLONG32 LocateConstraint( | const double | iT) const = 0 |
-
Returns the constraint index nearest to a given parameter.
- Parameters:
-
- iT
- The parameter value.
- Returns:
- The index (beginning at 0) of the nearest constraint.
o SetScalePowerXScalePowerF
-
This object is included in the file: CATLaw.h
If needed, your Imakefile.mk should include the module: CATGeometricObjects