All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MeasureGeometryInterfaces Interface CATIMeasurableCurve

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---MeasureGeometryInterfaces.CATIMeasurable
        |
        +---CATIMeasurableCurve
 

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


interface CATIMeasurableCurve

Get measurements on a curve.


Method Index


o GetCOG(CATMathPoint&)
Get the position of the center of gravity of the curve.
o GetLength(double&)
Get the length of the curve.
o GetPoints(CATMathPoint&,CATMathPoint&,CATMathPoint&)
Get the characteristic points of the curve.

Methods


o GetCOG
public virtual HRESULT GetCOG(CATMathPoint& ioPoint) const=0
Get the position of the center of gravity of the curve.
Parameters:
ioPoint
The position with respect to absolute axis system.
Returns:
HRESULT
o GetLength
public virtual HRESULT GetLength(double& oLength) const=0
Get the length of the curve.
Parameters:
oLength
The length.
Returns:
HRESULT
o GetPoints
public virtual HRESULT GetPoints(CATMathPoint& ioStartPoint,
CATMathPoint& ioMidPoint,
CATMathPoint& ioEndPoint) const=0
Get the characteristic points of the curve.
Parameters:
ioStartPoint
The position of the start point with respect to absolute axis system.
ioMidPoint
The position of the mid point with respect to absolute axis system.
ioEndPoint
The position of the end point with respect to absolute axis system.
Returns:
HRESULT

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

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