All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Interface CATSplineLaw

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATLaw
            |
            +---CATSplineLaw
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATSplineLaw

Interface representing a linear law.

A law is a function L of one parameter iT on a given 1D interval [iTmin,iTmax]. A spline law is a spline interpolation function between points with imposed tangents.


Method Index


o GetConstraints(CATLONG32&,double*&,double*&)
Returns the constraint parameters.
o GetOneConstraint(CATLONG32,double&,double&)
Returns the a constraint parameter.

Methods


o GetConstraints
public virtual void GetConstraints(CATLONG32& ioNbrOfConstraint,
double*& oT,
double*& oValue) 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.
oT
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.
oValue
The array of the corresponding law values. The array is allocated by the method, and must be deallocated by the caller. If ioNumberOfConstraints==0, the array is not allocated.
o GetOneConstraint
public virtual void GetOneConstraint( const CATLONG32 iIndex,
double& ioT,
double& ioValue) const = 0
Returns the a constraint parameter.
Parameters:
iIndex
The index (beginning at 0) of the constraint parameter.
ioT
The constraint parameter value.
oValue
The corresponding law value.

This object is included in the file: CATSplineLaw.h
If needed, your Imakefile.mk should include the module: CATGeometricObjects

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