All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MeasureGeometryInterfaces Interface CATIMeasurableSurface

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

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


interface CATIMeasurableSurface

Get measurements on a surface.


Method Index


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

Methods


o GetArea
public virtual HRESULT GetArea(double& oArea) const=0
Get the area of the surface.
Parameters:
oArea
The area.
Returns:
HRESULT
o GetArea_COfG
public virtual HRESULT GetArea_COfG(double& oSurface,
CATMathPoint& oCOfG) const=0
Get the Area and the Center Of Gravity of the volume. Use for better performance
Parameters:
oArea
The area.
oCOfG
The position with respect to absolute axis system.
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 GetPerimeter
public virtual HRESULT GetPerimeter(double& oPerimeter) const=0
Get the perimeter of the surface.
Parameters:
oPerimeter
The Perimeter
Returns:
HRESULT

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

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