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 CATLONG32 GetNumberOfPoints()const = 0
Returns the number of points defining this CATSplineCurve.
Returns:
The number of definition points.
o GetOneParameter
public virtual double GetOneParameter(CATLONG32 iNum) const = 0
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 void GetOnePoint(CATLONG32 iNum,
CATMathPoint& ioPoint) const = 0
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 CATMathVector GetOneTangent(CATLONG32 iNum) const = 0
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 void GetOneTangent(CATLONG32 iNum,
CATMathVector& ioTangent) const = 0
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 void ReplaceOnePoint(CATLONG32 iNum,
const CATMathPoint& iNewCoord) = 0
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 void ReplaceOneTangent(CATLONG32 iNum,
const CATMathVector& iNewTangent) = 0
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 void SetOnePoint(CATLONG32 iNum,
const CATMathPoint& iNewCoord) = 0
Deprecated:
V5R17 ReplaceOnePoint
o SetOneTangent
public virtual void SetOneTangent(CATLONG32 iNum,
const CATMathVector& iNewTangent) = 0
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.