CATGSMUseItf Interface CATIGSMUseRotate

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


interface CATIGSMUseRotate

Rotate feature.
Role: Allows to access data of the Rotate feature created by using an element, an axis (a line) and an angle.

See also:


Method Index


o GetAngle(double&)
Gets the angle.
o GetAngle(CATICkeParm_var&)
Gets the angle.
o GetAxis(CATIMmiMechanicalFeature_var&)
Gets the axis.
o GetCreationMode(enum CATGSMTransfoMode&)
Gets the Creation Mode.
o GetElemToRotate(CATIMmiMechanicalFeature_var&)
Gets the feature to rotate.
o GetFirstElement(CATIMmiMechanicalFeature_var&)
Gets the first element defining the rotation angle.
o GetFirstPoint(CATIMmiMechanicalFeature_var&)
Gets the first point defining the rotation.
o GetOrientationOfFirstElement(CATBoolean&)
Gets the orientation of the first element (line or plane).
o GetOrientationOfSecondElement(CATBoolean&)
Gets the orientation of the second element (line or plane).
o GetRotationType(enum CATGSMRotationType&)
Gets the type of the rotation definition.
o GetSecondElement(CATIMmiMechanicalFeature_var&)
Gets the second element defining the rotation angle.
o GetSecondPoint(CATIMmiMechanicalFeature_var&)
Gets the second point defining the rotation.
o GetThirdPoint(CATIMmiMechanicalFeature_var&)
Gets the third point defining the rotation.
o SetAngle(double)
Sets the angle value.
o SetAngle(CATICkeParm_var)
Sets the angle value.
o SetAxis(CATIMmiMechanicalFeature_var)
Sets the axis.
o SetCreationMode(CATBoolean)
Sets the Creation Mode.
o SetElemToRotate(CATIMmiMechanicalFeature_var)
Sets the element that is rotated.
o SetFirstElement(CATIMmiMechanicalFeature_var)
Sets the first element defining the rotation angle.
o SetFirstPoint(CATIMmiMechanicalFeature_var)
Sets the first point defining the rotation.
o SetOrientationOfFirstElement(CATBoolean)
Sets the orientation of the first element (line or plane).
o SetOrientationOfSecondElement(CATBoolean)
Sets the orientation of the second element (line or plane).
o SetRotationType(enum CATGSMRotationType)
Sets the type of the rotation definition.
o SetSecondElement(CATIMmiMechanicalFeature_var)
Sets the second element defining the rotation angle.
o SetSecondPoint(CATIMmiMechanicalFeature_var)
Sets the second point defining the rotation.
o SetThirdPoint(CATIMmiMechanicalFeature_var)
Sets the third point defining the rotation.

Methods


o GetAngle
public virtual GetAngle( oAngle)
Gets the angle.
Parameters:
oAngle
angle value
o GetAngle
public virtual GetAngle( oAngle)
Gets the angle.
Parameters:
oAngle
angle value
o GetAxis
public virtual GetAxis( oElem)
Gets the axis.
Parameters:
oElem
axis
o GetCreationMode
public virtual GetCreationMode( oMode)
Gets the Creation Mode.
Parameters:
oMode
flag for transformation type (from CATGSMTransfoMode enumeration) : - CATGSMTransfoModeUnset - CATGSMTransfoModeCreation - CATGSMTransfoModeModification
o GetElemToRotate
public virtual GetElemToRotate( oElem)
Gets the feature to rotate.
Parameters:
oElem
feature to transform
o GetFirstElement
public virtual GetFirstElement( oElem1)
Gets the first element defining the rotation angle.
Parameters:
oElem1
The first element.
o GetFirstPoint
public virtual GetFirstPoint( oPoint1)
Gets the first point defining the rotation.
Parameters:
oPoint1
The first point.
o GetOrientationOfFirstElement
public virtual GetOrientationOfFirstElement( oOrient1)
Gets the orientation of the first element (line or plane).
Parameters:
oOrient
: False means that there is no invertion of the orientation : True to invert this orientation
o GetOrientationOfSecondElement
public virtual GetOrientationOfSecondElement( oOrient2)
Gets the orientation of the second element (line or plane).
Parameters:
oOrient
: False means that there is no invertion of the orientation : True to invert this orientation
o GetRotationType
public virtual GetRotationType( oType)
Gets the type of the rotation definition.
Parameters:
oType
Type of rotation :
- CATGSMAxisAngle,
- CATGSMAxisTwoElem,
- CATGSMThreePoints,
- CATGSMUnknownRotationType.
See also:
o GetSecondElement
public virtual GetSecondElement( oElem2)
Gets the second element defining the rotation angle.
Parameters:
oElem2
The second element.
o GetSecondPoint
public virtual GetSecondPoint( oPoint2)
Gets the second point defining the rotation.
Parameters:
oPoint2
The second point.
o GetThirdPoint
public virtual GetThirdPoint( oPoint3)
Gets the third point defining the rotation.
Parameters:
oPoint3
The third point.
o SetAngle
public virtual SetAngle( iAngle)
Sets the angle value.
Parameters:
iAngle
new angle value
o SetAngle
public virtual SetAngle( const iAngle)
Sets the angle value.
Parameters:
iAngle
new angle value
o SetAxis
public virtual SetAxis( const iElem)
Sets the axis.
Parameters:
iElem
new axis
o SetCreationMode
public virtual SetCreationMode( const iMode)
Sets the Creation Mode.
Parameters:
iMode
flag for transformation type (creation or modification)
o SetElemToRotate
public virtual SetElemToRotate( const iElem)
Sets the element that is rotated.
Parameters:
iElem
new element that is rotated
o SetFirstElement
public virtual SetFirstElement( const iElem1)
Sets the first element defining the rotation angle.
Parameters:
oElem1
The first element.
o SetFirstPoint
public virtual SetFirstPoint( const iPoint1)
Sets the first point defining the rotation.
Parameters:
oPoint1
The first point.
o SetOrientationOfFirstElement
public virtual SetOrientationOfFirstElement( const iOrient1)
Sets the orientation of the first element (line or plane).
Parameters:
iOrient
: False means that there is no invertion of the orientation : True to invert this orientation
o SetOrientationOfSecondElement
public virtual SetOrientationOfSecondElement( const iOrient2)
Sets the orientation of the second element (line or plane).
Parameters:
iOrient
: False means that there is no invertion of the orientation : True to invert this orientation
o SetRotationType
public virtual SetRotationType( const iType)
Sets the type of the rotation definition.
Parameters:
iType
Type of rotation :
- CATGSMAxisAngle,
- CATGSMAxisTwoElem,
- CATGSMThreePoints,
- CATGSMUnknownRotationType.
See also:
o SetSecondElement
public virtual SetSecondElement( const iElem2)
Sets the second element defining the rotation angle.
Parameters:
oElem2
The second element.
o SetSecondPoint
public virtual SetSecondPoint( const iPoint2)
Sets the second point defining the rotation.
Parameters:
oPoint.2
The second point.
o SetThirdPoint
public virtual SetThirdPoint( const iPoint3)
Sets the third point defining the rotation.
Parameters:
oPoint.3
The third point.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.