GeometricObjects Interface CATLinearLaw
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATLinearLaw
Interface representing a linear law.
A law is a function L of one parameter iT on a given 1D interval
[iTmin,iTmax]. A linear law is line segment between L(iTmin)=iValueAtTMin
and L(iTmax)=iValueAtTMax.
Method Index
- o
GetLawEquation(double&,double&)
- Retrieves the coefficient of the law equation.
- o
GetLimitConstraints(double&,double&,double&,double&)
- Retrieves the limits constraints.
- o
SetLawEquation(double,double)
- Modifies the law definition by its the equation coefficients.
- o
SetLimitConstraints(double,double,double,double)
- Modifies the limits constraints.
Methods
o GetLawEquation
public virtual GetLawEquation( | | ioSlope, |
| | ioValueAtZero) |
-
Retrieves the coefficient of the law equation.
L(iT)= ioSlope*iT + ioValueAtZero.
o GetLimitConstraints
public virtual GetLimitConstraints( | | ioTMin, |
| | ioValueAtTMin, |
| | ioTMax, |
| | ioValueAtTMax) |
-
Retrieves the limits constraints.
- Parameters:
-
- ioTMin
- The lower bound of the definition interval.
- ioValueAtTMin
- The law value on the lower bound of the definition interval.
- ioTMax
- The upper bound of the definition interval.
- ioValueAtTMax
- The law value on the upper bound of the definition interval.
o SetLawEquation
public virtual SetLawEquation( | const | iNewSlope, |
| const | iNewValueAtZero) |
-
Modifies the law definition by its the equation coefficients.
L(iT)= iNewSlope*iT + iNewValueAtZero.
o SetLimitConstraints
public virtual SetLimitConstraints( | const | iNewTMin, |
| const | iNewValueAtTMin, |
| const | iNewTMax, |
| const | iNewValueAtTMax) |
-
Modifies the limits constraints.
- Parameters:
-
- iTMin
- The lower bound of the definition interval.
- iValueAtTMin
- The law value on the lower bound of the definition interval.
- iTMax
- The upper bound of the definition interval.
- iValueAtTMax
- The law value on the upper bound of the definition interval.
This object is included in the file: CATLinearLaw.h
If needed, your Imakefile.mk should include the module: CATGMGeometricInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.