GeometricObjects Interface CATPSpline
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATPSpline
Interface representing a curve interpolated between a set of points on surface
with a spline interpolation .
The CATPSpline is created by the CreatePSpline
method of the CATGeoFactory interface and deleted with the Remove method.
It is defined with:
CATMathSetOfPoints | Points |
The set of points on surface defining the curve |
CATSurface | iSupport |
The surface on which the Spline is defined |
The user may define its own parameterization on the curve.
Method Index
- o
AddOnePoint(CATLONG32,double,double*,double*,double*,CATLONG32,CATLONG32)
- Adds a point to the definition of this CATPSpline.
- o
GetDegree()
- Get the degree of this CATPSpline .
- o
GetNumberOfPoints()
- Returns the number points defining this CATPSpline.
- o
GetOneParameter(CATLONG32)
- Returns the global parameter of a definition point of this CATPSpline .
- o
GetOnePoint(CATLONG32,CATSurParam&)
- Returns the parameter of a definition point of this CATPSpline.
- o
GetOneSecondDerivative(CATLONG32,CATMathVector2D&)
- Returns the second derivative at a definition point of this CATPSpline.
- o
GetOneTangent(CATLONG32,CATMathVector2D&)
- Returns the tangent at a definition point of this CATPSpline.
- o
ReplaceOneParameter(CATLONG32,double&)
- Modifies this CATPSpline definition point parameter.
- o
ReplaceOnePoint(CATLONG32,CATSurParam&)
- Modifies the definition of one point of this.
- o
ReplaceOneTangent(CATLONG32,CATMathVector2D&)
- Modifies the tangent of one definition point of this CATPSpline.
- o
SetOneParameter(CATLONG32,double&)
-
- o
SetOnePoint(CATLONG32,CATSurParam&)
-
- o
SetOneSecondDerivative(CATLONG32,CATMathVector2D&)
- Modifies the second derivative of a point of this CATPSpline.
- o
SetOneTangent(CATLONG32,CATMathVector2D&)
-
Methods
o AddOnePoint
public virtual AddOnePoint( | const | iRankNumber, |
| const | iParam, |
| const | iPoint, |
| const | iTangent, |
| const | iSecondDerivative, |
| const | iFirstCoordIndex, |
| const | iSecondCoordIndex) |
-
Adds a point to the definition of this CATPSpline.
- Parameters:
-
- iRankNumber
- The position of the added point
(1 to be inserted between the first and the second point).
- iParam
- The parameter of the added point on the curve
- iPoint
- The array of the point coordinates.
- iTangent
- The array of the tangent coordinates.
- iSecondDerivative
- The array of the second derivative coordinates.
- iFirstCoordIndex
- This index is such that the point, tangent and second derivative of the
first coordinate of the spline are the values of index iFirstCoordIndex
- iSecondCoordIndex
- Idem as iFirstCoordIndex but for the second coordinate of the spline.
o GetDegree
public virtual GetDegree( | ) |
-
Get the degree of this CATPSpline .
- Returns:
- The degree of this CATPSpline .
o GetNumberOfPoints
public virtual GetNumberOfPoints( | ) |
-
Returns the number points defining this CATPSpline.
- Returns:
- The number of points
o GetOneParameter
public virtual GetOneParameter( | | iNum) |
-
Returns the global parameter of a definition point of this CATPSpline .
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- Returns:
- The parameter value on the curve.
o GetOnePoint
public virtual GetOnePoint( | | iNum, |
| | ioParam) |
-
Returns the parameter of a definition point of this CATPSpline.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- ioParam
- The corresponding parameter on the underlying surface.
o GetOneSecondDerivative
public virtual GetOneSecondDerivative( | | iNum, |
| | ioSecondDerivativeVector) |
-
Returns the second derivative at a definition point of this CATPSpline.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- ioSecondDerivativeVector
- The corresponding second derivative on the underlying surface.
o GetOneTangent
public virtual GetOneTangent( | | iNum, |
| | ioTangentVector) |
-
Returns the tangent at a definition point of this CATPSpline.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- ioTangentVector
- The corresponding tangent on the underlying surface.
o ReplaceOneParameter
public virtual ReplaceOneParameter( | | iNum, |
| const | iNewParameter) |
-
Modifies this CATPSpline definition point parameter.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- iNewParameter
- The new parameter value on the curve.
o ReplaceOnePoint
public virtual ReplaceOnePoint( | | iNum, |
| const | iNewCoord) |
-
Modifies the definition of one point of this.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- iNewCoord
- The new parameter value on the surface.
o ReplaceOneTangent
public virtual ReplaceOneTangent( | | iNum, |
| const | iNewTangent) |
-
Modifies the tangent of one definition point of this CATPSpline.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- iNewTangent
- The corresponding tangent on the underlying surface.
o SetOneParameter
public virtual SetOneParameter( | | iNum, |
| const | iNewParameter) |
-
- Deprecated:
- V5R17 ReplaceOneParameter
o SetOnePoint
public virtual SetOnePoint( | | iNum, |
| const | iNewCoord) |
-
- Deprecated:
- V5R17 ReplaceOnePoint
o SetOneSecondDerivative
public virtual SetOneSecondDerivative( | | iNum, |
| const | iSecondDerivativeVector) |
-
Modifies the second derivative of a point of this CATPSpline.
- Parameters:
-
- iNum
- The number of the definition point starting at 1.
- iSecondDerivativeVector
- The corresponding second derivative on the underlying surface. If the spline degree is 3, this does nothing.
o SetOneTangent
public virtual SetOneTangent( | | iNum, |
| const | iNewTangent) |
-
- Deprecated:
- V5R17 ReplaceOneTangent
This object is included in the file: CATPSpline.h
If needed, your Imakefile.mk should include the module: CATGMGeometricInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.