All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Interface CATLinearLaw

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATLaw
            |
            +---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 void GetLawEquation(double& ioSlope,
double& ioValueAtZero) const = 0
Retrieves the coefficient of the law equation.
L(iT)= ioSlope*iT + ioValueAtZero.
o GetLimitConstraints
public virtual void GetLimitConstraints(double& ioTMin,
double& ioValueAtTMin,
double& ioTMax,
double& ioValueAtTMax) const = 0
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 void SetLawEquation( const double iNewSlope,
const double iNewValueAtZero) = 0
Modifies the law definition by its the equation coefficients.
L(iT)= iNewSlope*iT + iNewValueAtZero.
o SetLimitConstraints
public virtual void SetLimitConstraints( const double iNewTMin,
const double iNewValueAtTMin,
const double iNewTMax,
const double iNewValueAtTMax) = 0
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: CATGeometricObjects

Copyright © 2003, Dassault Systèmes. All rights reserved.