All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwCoordDimension

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---DraftingInterfaces.CATIDrwAnnotation
        |
        +---DraftingInterfaces.CATIDrwAnnotationComponent
          |
          +---DraftingInterfaces.CATIDrwSimpleText
            |
            +---CATIDrwCoordDimension
 

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


interface CATIDrwCoordDimension

Manages the coordinate dimension.


Method Index


o GetCoordDimensionType(int&)
To know if the dimension is a 2D or 3D coordinate dimension.
o GetDimensionedPosition(double&,double&)
Gets dimension values.
o GetDimensionedPosition(double&,double&,double&)
Gets dimension values (case of 3D coordinate dimensions).

Methods


o GetCoordDimensionType
public virtual HRESULT GetCoordDimensionType(int& oType) const = 0
To know if the dimension is a 2D or 3D coordinate dimension. Returns the type of the coordinate dimension
Parameters:
oType
oType (0: 2D coordinate dimension, 1: 3D coordinate dimension).
Returns:
error returned code.
o GetDimensionedPosition
public virtual void GetDimensionedPosition(double& oXDimed,
double& oYDimed) const = 0
Gets dimension values.
Parameters:
oXDimed
X value.
oYDimed
Y value.
o GetDimensionedPosition
public virtual void GetDimensionedPosition(double& oXDimed,
double& oYDimed,
double& oZDimed) const = 0
Gets dimension values (case of 3D coordinate dimensions).
Parameters:
oXDimed
X value.
oYDimed
Y value.
oZDimed
Z value.

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

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