GeometricObjects Interface CATSplineCurve

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


interface CATSplineCurve

Interface representing a curve interpolated between a set of points with a spline interpolation.

The CATSplineCurve is created by the CreateSplineCurve method of the CATGeoFactory interface and deleted with the Remove method. It is defined with:
CATMathSetOfPoints Points The definition points of the curve
The user can defined its own parameterization on the curve.


Method Index


o GetNumberOfPoints()
Returns the number of points defining this CATSplineCurve.
o GetOneParameter(CATLONG32)
Returns the parameter of a definition point of this CATSplineCurve.
o GetOnePoint(CATLONG32,CATMathPoint&)
Returns a definition point of this CATSplineCurve.
o GetOneTangent(CATLONG32)
Returns the tangent at a definition point of this CATSplineCurve.
o GetOneTangent(CATLONG32,CATMathVector&)
Returns the tangent at a definition point of this CATSplineCurve.
o ReplaceOnePoint(CATLONG32,CATMathPoint&)
Modifies a definition point of this CATSplineCurve.
o ReplaceOneTangent(CATLONG32,CATMathVector&)
Modifies the tangent at a definition point of this CATSplineCurve.
o SetOnePoint(CATLONG32,CATMathPoint&)
o SetOneTangent(CATLONG32,CATMathVector&)

Methods


o GetNumberOfPoints
public virtual GetNumberOfPoints()
Returns the number of points defining this CATSplineCurve.
Returns:
The number of definition points.
o GetOneParameter
public virtual GetOneParameter( iNum)
Returns the parameter of a definition point of this CATSplineCurve.
Parameters:
iNum
The number of the definition point starting at 1.
Returns:
The corresponding parameter on this CATSplineCurve.
o GetOnePoint
public virtual GetOnePoint( iNum,
ioPoint)
Returns a definition point of this CATSplineCurve.
Parameters:
iNum
The number of the definition point starting at 1.
ioPoint
The corresponding point.
o GetOneTangent
public virtual GetOneTangent( iNum)
Returns the tangent at a definition point of this CATSplineCurve. This Curve must be C2 continuous.
Parameters:
iNum
The number of the definition point starting at 1.
Returns:
The tangent.
o GetOneTangent
public virtual GetOneTangent( iNum,
ioTangent)
Returns the tangent at a definition point of this CATSplineCurve.
Parameters:
iNum
The number of the definition point starting at 1.
ioTangent
The corresponding tangent.
o ReplaceOnePoint
public virtual ReplaceOnePoint( iNum,
const iNewCoord)
Modifies a definition point of this CATSplineCurve. This Curve must be C2 continuous and a quintic.
Parameters:
iNum
The number of the definition point starting at 1.
iNewCoord
The new coordinates of the point.
o ReplaceOneTangent
public virtual ReplaceOneTangent( iNum,
const iNewTangent)
Modifies the tangent at a definition point of this CATSplineCurve. This Curve must be C2 continuous and a quintic.
Parameters:
iNum
The number of the definition point starting at 1.
iNewCoord
The new coordinates of the point.
o SetOnePoint
public virtual SetOnePoint( iNum,
const iNewCoord)
Deprecated:
V5R17 ReplaceOnePoint
o SetOneTangent
public virtual SetOneTangent( iNum,
const iNewTangent)
Deprecated:
V5R17 ReplaceOneTangent

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.