OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
Law


Law_Interpol Class Reference

Provides an evolution law that interpolates a set
of parameter and value pairs (wi, radi)
.

#include <Law_Interpol.hxx>

Inheritance diagram for Law_Interpol:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT Law_Interpol ()
 Constructs an empty interpolative evolution law.
The function Set is used to define the law.
.
Standard_EXPORT void Set (const TColgp_Array1OfPnt2d &ParAndRad, const Standard_Boolean Periodic=Standard_False)
 Defines this evolution law by interpolating the set of 2D
points ParAndRad. The Y coordinate of a point of
ParAndRad is the value of the function at the parameter
point given by its X coordinate.
If Periodic is true, this function is assumed to be periodic.
Warning
- The X coordinates of points in the table ParAndRad
must be given in ascendant order.
- If Periodic is true, the first and last Y coordinates of
points in the table ParAndRad are assumed to be
equal. In addition, with the second syntax, Dd and Df
are also assumed to be equal. If this is not the case,
Set uses the first value(s) as last value(s).
.
Standard_EXPORT void SetInRelative (const TColgp_Array1OfPnt2d &ParAndRad, const Standard_Real Ud, const Standard_Real Uf, const Standard_Boolean Periodic=Standard_False)
Standard_EXPORT void Set (const TColgp_Array1OfPnt2d &ParAndRad, const Standard_Real Dd, const Standard_Real Df, const Standard_Boolean Periodic=Standard_False)
 Defines this evolution law by interpolating the set of 2D
points ParAndRad. The Y coordinate of a point of
ParAndRad is the value of the function at the parameter
point given by its X coordinate.
If Periodic is true, this function is assumed to be periodic.
In the second syntax, Dd and Df define the values of
the first derivative of the function at its first and last points.
Warning
- The X coordinates of points in the table ParAndRad
must be given in ascendant order.
- If Periodic is true, the first and last Y coordinates of
points in the table ParAndRad are assumed to be
equal. In addition, with the second syntax, Dd and Df
are also assumed to be equal. If this is not the case,
Set uses the first value(s) as last value(s).
.
Standard_EXPORT void SetInRelative (const TColgp_Array1OfPnt2d &ParAndRad, const Standard_Real Ud, const Standard_Real Uf, const Standard_Real Dd, const Standard_Real Df, const Standard_Boolean Periodic=Standard_False)
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Constructor & Destructor Documentation

Standard_EXPORT Law_Interpol::Law_Interpol  ) 
 


Member Function Documentation

Standard_EXPORT const Law_Interpol::Handle Standard_Type   )  const
 

Reimplemented from Law_BSpFunc.

Standard_EXPORT void Law_Interpol::Set const TColgp_Array1OfPnt2d &  ParAndRad,
const Standard_Real  Dd,
const Standard_Real  Df,
const Standard_Boolean  Periodic = Standard_False
 

Standard_EXPORT void Law_Interpol::Set const TColgp_Array1OfPnt2d &  ParAndRad,
const Standard_Boolean  Periodic = Standard_False
 

Standard_EXPORT void Law_Interpol::SetInRelative const TColgp_Array1OfPnt2d &  ParAndRad,
const Standard_Real  Ud,
const Standard_Real  Uf,
const Standard_Real  Dd,
const Standard_Real  Df,
const Standard_Boolean  Periodic = Standard_False
 

Standard_EXPORT void Law_Interpol::SetInRelative const TColgp_Array1OfPnt2d &  ParAndRad,
const Standard_Real  Ud,
const Standard_Real  Uf,
const Standard_Boolean  Periodic = Standard_False
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:24 2008 for OpenCASCADE by  doxygen 1.4.1