GEOM.GEOM_ITransformOperations Interface Reference

import "GEOM_Gen.idl";

Inheritance diagram for GEOM.GEOM_ITransformOperations:

Inheritance graph

Public Member Functions

GEOM_Object TranslateTwoPoints (in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
GEOM_Object TranslateTwoPointsCopy (in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
GEOM_Object TranslateDXDYDZ (in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ)
GEOM_Object TranslateDXDYDZCopy (in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ)
GEOM_Object TranslateVector (in GEOM_Object theObject, in GEOM_Object theVector)
GEOM_Object TranslateVectorCopy (in GEOM_Object theObject, in GEOM_Object theVector)
GEOM_Object MultiTranslate1D (in GEOM_Object theObject, in GEOM_Object theVector, in double theStep, in long theNbTimes)
GEOM_Object MultiTranslate2D (in GEOM_Object theObject, in GEOM_Object theVector1, in double theStep1, in long theNbTimes1, in GEOM_Object theVector2, in double theStep2, in long theNbTimes2)
GEOM_Object Rotate (in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
GEOM_Object RotateCopy (in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
GEOM_Object MultiRotate1D (in GEOM_Object theObject, in GEOM_Object theAxis, in long theNbTimes)
GEOM_Object MultiRotate2D (in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle, in long theNbTimes1, in double theStep, in long theNbTimes2)
GEOM_Object MirrorPlane (in GEOM_Object theObject, in GEOM_Object thePlane)
GEOM_Object MirrorPlaneCopy (in GEOM_Object theObject, in GEOM_Object thePlane)
GEOM_Object MirrorAxis (in GEOM_Object theObject, in GEOM_Object theAxis)
GEOM_Object MirrorAxisCopy (in GEOM_Object theObject, in GEOM_Object theAxis)
GEOM_Object MirrorPoint (in GEOM_Object theObject, in GEOM_Object thePoint)
GEOM_Object MirrorPointCopy (in GEOM_Object theObject, in GEOM_Object thePoint)
GEOM_Object OffsetShape (in GEOM_Object theObject, in double theOffset)
GEOM_Object OffsetShapeCopy (in GEOM_Object theObject, in double theOffset)
GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
GEOM_Object ScaleShapeCopy (in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
GEOM_Object PositionShape (in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
GEOM_Object PositionShapeCopy (in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
boolean IsDone ()
void SetErrorCode (in string theErrorID)
string GetErrorCode ()
long GetStudyID ()
void StartOperation ()
void FinishOperation ()
void AbortOperation ()

Member Function Documentation

GEOM_Object GEOM.GEOM_ITransformOperations.TranslateTwoPoints in GEOM_Object  theObject,
in GEOM_Object  thePoint1,
in GEOM_Object  thePoint2
 

Translate the given object along the vector, specified by its end points.

Parameters:
theObject The object to be translated.
thePoint1 Start point of translation vector.
thePoint2 End point of translation vector.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.TranslateTwoPointsCopy in GEOM_Object  theObject,
in GEOM_Object  thePoint1,
in GEOM_Object  thePoint2
 

Translate the given object along the vector, specified by its end points, creating its copy before the translation.

Parameters:
theObject The object to be translated.
thePoint1 Start point of translation vector.
thePoint2 End point of translation vector.
Returns:
New GEOM_Object, containing the translated object.

GEOM_Object GEOM.GEOM_ITransformOperations.TranslateDXDYDZ in GEOM_Object  theObject,
in double  theDX,
in double  theDY,
in double  theDZ
 

Translate the given object along the vector, specified by its components.

Parameters:
theObject The object to be translated.
theDX,theDY,theDZ Components of translation vector.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.TranslateDXDYDZCopy in GEOM_Object  theObject,
in double  theDX,
in double  theDY,
in double  theDZ
 

Translate the given object along the vector, specified by its components, creating its copy before the translation.

Parameters:
theObject The object to be translated.
theDX,theDY,theDZ Components of translation vector.
Returns:
New GEOM_Object, containing the translated object.

GEOM_Object GEOM.GEOM_ITransformOperations.TranslateVector in GEOM_Object  theObject,
in GEOM_Object  theVector
 

Translate the given object along the given vector.

Parameters:
theObject The object to be translated.
theVector Translation vector, giving both direction and distance.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.TranslateVectorCopy in GEOM_Object  theObject,
in GEOM_Object  theVector
 

Translate the given object along the given vector, creating its copy before the translation.

Parameters:
theObject The object to be translated.
theVector Translation vector, giving both direction and distance.
Returns:
New GEOM_Object, containing the translated object.

GEOM_Object GEOM.GEOM_ITransformOperations.MultiTranslate1D in GEOM_Object  theObject,
in GEOM_Object  theVector,
in double  theStep,
in long  theNbTimes
 

Translate the given object along the given vector a given number times

Parameters:
theObject The object to be translated.
theVector Direction of the translation.
theStep Distance to translate on.
theNbTimes Quantity of translations to be done.
Returns:
New GEOM_Object, containing compound of all the shapes, obtained after each translation.

GEOM_Object GEOM.GEOM_ITransformOperations.MultiTranslate2D in GEOM_Object  theObject,
in GEOM_Object  theVector1,
in double  theStep1,
in long  theNbTimes1,
in GEOM_Object  theVector2,
in double  theStep2,
in long  theNbTimes2
 

Conseqently apply two specified translations to theObject specified number of times.

Parameters:
theObject The object to be translated.
theVector1 Direction of the first translation.
theStep1 Step of the first translation.
theNbTimes1 Quantity of translations to be done along theVector1.
theVector2 Direction of the second translation.
theStep2 Step of the second translation.
theNbTimes2 Quantity of translations to be done along theVector2.
Returns:
New GEOM_Object, containing compound of all the shapes, obtained after each translation.

GEOM_Object GEOM.GEOM_ITransformOperations.Rotate in GEOM_Object  theObject,
in GEOM_Object  theAxis,
in double  theAngle
 

Rotate the given object around the given axis on the given angle.

Parameters:
theObject The object to be rotated.
theAxis Rotation axis.
theAngle Rotation angle in radians.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.RotateCopy in GEOM_Object  theObject,
in GEOM_Object  theAxis,
in double  theAngle
 

Rotate the given object around the given axis on the given angle, creating its copy before the rotatation.

Parameters:
theObject The object to be rotated.
theAxis Rotation axis.
theAngle Rotation angle in radians.
Returns:
New GEOM_Object, containing the rotated object.

GEOM_Object GEOM.GEOM_ITransformOperations.MultiRotate1D in GEOM_Object  theObject,
in GEOM_Object  theAxis,
in long  theNbTimes
 

Rotate the given object around the given axis a given number times. Rotation angle will be 2*PI/theNbTimes.

Parameters:
theObject The object to be rotated.
theAxis The rotation axis.
theNbTimes Quantity of rotations to be done.
Returns:
New GEOM_Object, containing compound of all the shapes, obtained after each rotation.

GEOM_Object GEOM.GEOM_ITransformOperations.MultiRotate2D in GEOM_Object  theObject,
in GEOM_Object  theAxis,
in double  theAngle,
in long  theNbTimes1,
in double  theStep,
in long  theNbTimes2
 

Rotate the given object around the given axis on the given angle a given number times and multi-translate each rotation result. Translation direction passes through center of gravity of rotated shape and its projection on the rotation axis.

Parameters:
theObject The object to be rotated.
theAxis Rotation axis.
theAngle Rotation angle in graduces.
theNbTimes1 Quantity of rotations to be done.
theStep Translation distance.
theNbTimes2 Quantity of translations to be done.
Returns:
New GEOM_Object, containing compound of all the shapes, obtained after each transformation.

GEOM_Object GEOM.GEOM_ITransformOperations.MirrorPlane in GEOM_Object  theObject,
in GEOM_Object  thePlane
 

Replace the given object by an object, symmetrical to it relatively the given plane.

Parameters:
theObject The object to be mirrored.
thePlane Plane of symmetry.

GEOM_Object GEOM.GEOM_ITransformOperations.MirrorPlaneCopy in GEOM_Object  theObject,
in GEOM_Object  thePlane
 

Create an object, symmetrical to the given one relatively the given plane.

Parameters:
theObject The object to be mirrored.
thePlane Plane of symmetry.
Returns:
New GEOM_Object, containing the mirrored shape.

GEOM_Object GEOM.GEOM_ITransformOperations.MirrorAxis in GEOM_Object  theObject,
in GEOM_Object  theAxis
 

Replace the given object by an object, symmetrical to it relatively the given axis.

Parameters:
theObject The object to be mirrored.
theAxis Axis of symmetry.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.MirrorAxisCopy in GEOM_Object  theObject,
in GEOM_Object  theAxis
 

Create an object, symmetrical to the given one relatively the given axis.

Parameters:
theObject The object to be mirrored.
theAxis Axis of symmetry.
Returns:
New GEOM_Object, containing the mirrored object.

GEOM_Object GEOM.GEOM_ITransformOperations.MirrorPoint in GEOM_Object  theObject,
in GEOM_Object  thePoint
 

Replace the given object by an object, symmetrical to it relatively the given point.

Parameters:
theObject The object to be mirrored.
thePoint Point of symmetry.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.MirrorPointCopy in GEOM_Object  theObject,
in GEOM_Object  thePoint
 

Create an object, symmetrical to the given one relatively the given point.

Parameters:
theObject The object to be mirrored.
thePoint Point of symmetry.
Returns:
New GEOM_Object, containing the mirrored object.

GEOM_Object GEOM.GEOM_ITransformOperations.OffsetShape in GEOM_Object  theObject,
in double  theOffset
 

Replace the given object by its offset.

Parameters:
theObject The base object for the offset.
theOffset Offset value.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.OffsetShapeCopy in GEOM_Object  theObject,
in double  theOffset
 

Create new object as offset of the given one.

Parameters:
theObject The base object for the offset.
theOffset Offset value.
Returns:
New GEOM_Object, containing the offset object.

GEOM_Object GEOM.GEOM_ITransformOperations.ScaleShape in GEOM_Object  theObject,
in GEOM_Object  thePoint,
in double  theFactor
 

Scale the given object by the factor.

Parameters:
theObject The object to be scaled.
thePoint Center point for scaling.
theFactor Scaling factor value.
Returns:
theObject.

GEOM_Object GEOM.GEOM_ITransformOperations.ScaleShapeCopy in GEOM_Object  theObject,
in GEOM_Object  thePoint,
in double  theFactor
 

Scale the given object by the factor, creating its copy before the scaling.

Parameters:
theObject The object to be scaled.
thePoint Center point for scaling.
theFactor Scaling factor value.
Returns:
New GEOM_Object, containing the scaled shape.

GEOM_Object GEOM.GEOM_ITransformOperations.PositionShape in GEOM_Object  theObject,
in GEOM_Object  theStartLCS,
in GEOM_Object  theEndLCS
 

Modify the Location of the given object by LCS

GEOM_Object GEOM.GEOM_ITransformOperations.PositionShapeCopy in GEOM_Object  theObject,
in GEOM_Object  theStartLCS,
in GEOM_Object  theEndLCS
 

Modify the Location of the given object by LCS creating its copy before the setting

boolean GEOM.GEOM_IOperations.IsDone  )  [inherited]
 

To know, if the operation was successfully performed

void GEOM.GEOM_IOperations.SetErrorCode in string  theErrorID  )  [inherited]
 

Set the operation error code

Parameters:
theErrorID is a string describing the error occured
Note:
This method is supposed to be used only by interfaces inheriting from IOperations.

string GEOM.GEOM_IOperations.GetErrorCode  )  [inherited]
 

Get the operation error code

long GEOM.GEOM_IOperations.GetStudyID  )  [inherited]
 

Get ID of study, where the operation is defined

void GEOM.GEOM_IOperations.StartOperation  )  [inherited]
 

Opens a new transaction

void GEOM.GEOM_IOperations.FinishOperation  )  [inherited]
 

Closes the previously opened trasaction

void GEOM.GEOM_IOperations.AbortOperation  )  [inherited]
 

Aborts the previously opened transaction


Generated on Wed Feb 8 00:23:28 2006 for SALOME - GEOM - v.2.2.8 by doxygen 1.3.7