All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDftAnnotation

System.IUnknown
  |
  +---CATIDftAnnotation
 

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


interface CATIDftAnnotation

This interfaces handle position, orientation and associativity of Annotation object.


Method Index


o GetOrientation(double*,DftOrientationReference)
Returns the angle of an annotation.
o GetOrientationReference(DftOrientationReference*)
Returns the orientation reference of an AnnotationComponent.
o GetPosition(double [2])
Returns the anchor position of an annotation.
o Move(double [2],DftAssociativityMode)
Set the anchor position of an annotation.
o Rotate(double)
Rotate the annotation around its anchor point.
o SetOrientation(double)
Set the angle of an annotation.
o SetOrientationReference(DftOrientationReference)
Set the orientation reference of an AnnotationComponent.
o SetPosition(double [2],DftAssociativityMode)
Set the anchor position of an annotation.

Methods


o GetOrientation
public virtual HRESULT GetOrientation(double* oAngle,
DftOrientationReference iComputeMode= DftOrientElement) = 0
Returns the angle of an annotation.
Parameters:
oAngle
iComputeMode
By default, give orientation in the reference axis.
See also:
DftOrientationReference
o GetOrientationReference
public virtual HRESULT GetOrientationReference(DftOrientationReference* oOrientReference) = 0
Returns the orientation reference of an AnnotationComponent.
Parameters:
oOrientReference
See also:
DftOrientationReference
o GetPosition
public virtual HRESULT GetPosition(double [2] oPosition) = 0
Returns the anchor position of an annotation.
Parameters:
oPosition
o Move
public virtual HRESULT Move( const double [2] iVecteur,
DftAssociativityMode AssocMode= Override) = 0
Set the anchor position of an annotation.
Parameters:
iVecteur
Translation vecteur.
AssocMode
Defines the behaviour of the move if an associativity exists.
By default, the associativity is overrided to match the new position.
See also:
DftAssociativityMode
o Rotate
public virtual HRESULT Rotate( const double iDeltaAngle) = 0
Rotate the annotation around its anchor point.
Parameters:
iDeltaAngle
o SetOrientation
public virtual HRESULT SetOrientation( const double iAngle) = 0
Set the angle of an annotation.
Parameters:
iAngle
Note : iAngle is based on the reference axis.
o SetOrientationReference
public virtual HRESULT SetOrientationReference( const DftOrientationReference iOrientReference) = 0
Set the orientation reference of an AnnotationComponent.
Parameters:
iOrientReference
See also:
DftOrientationReference
o SetPosition
public virtual HRESULT SetPosition( const double [2] iPosition,
DftAssociativityMode AssocMode= Override) = 0
Set the anchor position of an annotation.
Parameters:
iPosition
New position of the annotation
AssocMode
Defines the behaviour of SetPosition if an associativity exists.
By default, the associativity is overrided to match the new position.
See also:
DftAssociativityMode

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

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