All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

MeasureGeometryInterfaces Interface CATIMeasurableVolume

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

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


interface CATIMeasurableVolume

Get measurements on a volume.


Method Index


o GetArea(double&)
Get the area of the surface.
o GetCOG(CATMathPoint&)
Get the position of the center of gravity of the surface.
o GetVolume(double&)
Get the volume of the volume.
o GetVolume_Area_COfG(double&,double&,CATMathPoint&)
Get the volume, the Area and the Center Of Gravity of the volume.

Methods


o GetArea
public virtual HRESULT GetArea(double& oArea) const=0
Get the area of the surface.
Parameters:
oArea
The area.
Returns:
HRESULT
o GetCOG
public virtual HRESULT GetCOG(CATMathPoint& ioPoint) const=0
Get the position of the center of gravity of the surface.
Parameters:
ioPoint
The position with respect to absolute axis system.
Returns:
HRESULT
o GetVolume
public virtual HRESULT GetVolume(double& oVolume) const=0
Get the volume of the volume.
Parameters:
oVolume
The volume.
Returns:
HRESULT
o GetVolume_Area_COfG
public virtual HRESULT GetVolume_Area_COfG(double& oVolume,
double& oSurface,
CATMathPoint& oCOfG) const = 0
Get the volume, the Area and the Center Of Gravity of the volume. Use for better performance
Parameters:
oVolume
The volume.
oArea
The area.
oCOfG
The position with respect to absolute axis system.
Returns:
HRESULT

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

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