import "GEOM_Gen.idl";
Public Member Functions | |
GEOM_Object | 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. | |
GEOM_Object | 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. | |
GEOM_Object | 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. | |
GEOM_Object | 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. | |
GEOM_Object | TranslateVector (in GEOM_Object theObject, in GEOM_Object theVector) |
Translate the given object along the given vector. | |
GEOM_Object | TranslateVectorCopy (in GEOM_Object theObject, in GEOM_Object theVector) |
Translate the given object along the given vector, creating its copy before the translation. | |
GEOM_Object | TranslateVectorDistance (in GEOM_Object theObject, in GEOM_Object theVector, in double theDistance, in boolean theCopy) |
Translate the given object along the given vector on given distance, creating its copy before the translation. | |
GEOM_Object | 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. | |
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) |
Conseqently apply two specified translations to theObject specified number of times. | |
GEOM_Object | RotateThreePoints (in GEOM_Object theObject, in GEOM_Object theCentPoint, in GEOM_Object thePoint1, in GEOM_Object thePoint2) |
Rotate given object around vector perpendicular to plane containing three points. | |
GEOM_Object | RotateThreePointsCopy (in GEOM_Object theObject, in GEOM_Object theCentPoint, in GEOM_Object thePoint1, in GEOM_Object thePoint2) |
Rotate given object around vector perpendicular to plane containing three points. | |
GEOM_Object | Rotate (in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle) |
Rotate the given object around the given axis on the given angle. | |
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) |
Rotate the given object around the given axis a given number times. | |
GEOM_Object | 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. | |
GEOM_Object | MirrorPlane (in GEOM_Object theObject, in GEOM_Object thePlane) |
Replace the given object by an object, symmetrical to it relatively the given plane. | |
GEOM_Object | MirrorPlaneCopy (in GEOM_Object theObject, in GEOM_Object thePlane) |
Create an object, symmetrical to the given one relatively the given plane. | |
GEOM_Object | MirrorAxis (in GEOM_Object theObject, in GEOM_Object theAxis) |
Replace the given object by an object, symmetrical to it relatively the given axis. | |
GEOM_Object | MirrorAxisCopy (in GEOM_Object theObject, in GEOM_Object theAxis) |
Create an object, symmetrical to the given one relatively the given axis. | |
GEOM_Object | MirrorPoint (in GEOM_Object theObject, in GEOM_Object thePoint) |
Replace the given object by an object, symmetrical to it relatively the given point. | |
GEOM_Object | MirrorPointCopy (in GEOM_Object theObject, in GEOM_Object thePoint) |
Create an object, symmetrical to the given one relatively the given point. | |
GEOM_Object | OffsetShape (in GEOM_Object theObject, in double theOffset) |
Replace the given object by its offset. | |
GEOM_Object | OffsetShapeCopy (in GEOM_Object theObject, in double theOffset) |
Create new object as offset of the given one. | |
GEOM_Object | ProjectShapeCopy (in GEOM_Object theSource, in GEOM_Object theTarget) |
Create new object as projection of the given one on a 2D surface. | |
GEOM_Object | ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor) |
Scale the given object by the factor. | |
GEOM_Object | 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. | |
GEOM_Object | ScaleShapeAlongAxes (in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactorX, in double theFactorY, in double theFactorZ) |
Scale the given object by different factors along coordinate axes. | |
GEOM_Object | ScaleShapeAlongAxesCopy (in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactorX, in double theFactorY, in double theFactorZ) |
Scale the given object by different factors along coordinate axes, creating its copy before the scaling. | |
GEOM_Object | PositionShape (in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS) |
Modify the Location of the given object by LCS. | |
GEOM_Object | 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. | |
GEOM_Object | PositionAlongPath (in GEOM_Object theObject, in GEOM_Object thePath, in double theDistance, in boolean theCopy, in boolean theReverse) |
Modify the Location of the given object by Path,. | |
GEOM_Object | TransformLikeOtherCopy (in GEOM_Object theObject, in GEOM_Object theSample) |
Transform the shape in the same way what was used for the sample shape creation. | |
GEOM_Object | RecomputeObject (in GEOM_Object theObject) |
Recompute the shape from its arguments. | |
boolean | IsDone () |
To know, if the operation was successfully performed. | |
void | SetErrorCode (in string theErrorID) |
Set the operation error code. | |
string | GetErrorCode () |
Get the operation error code. | |
long | GetStudyID () |
Get ID of study, where the operation is defined. | |
void | StartOperation () |
Opens a new transaction. | |
void | FinishOperation () |
Closes the previously opened trasaction. | |
void | AbortOperation () |
Aborts the previously opened transaction. |
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.
theObject | The object to be translated. |
thePoint1 | Start point of translation vector. |
thePoint2 | End point of translation vector. |
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.
theObject | The object to be translated. |
thePoint1 | Start point of translation vector. |
thePoint2 | End point of translation vector. |
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.
theObject | The object to be translated. |
theDX,theDY,theDZ | Components of translation vector. |
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.
theObject | The object to be translated. |
theDX,theDY,theDZ | Components of translation vector. |
GEOM_Object GEOM::GEOM_ITransformOperations::TranslateVector | ( | in GEOM_Object | theObject, |
in GEOM_Object | theVector | ||
) |
Translate the given object along the given vector.
theObject | The object to be translated. |
theVector | Translation vector, giving both direction and distance. |
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.
theObject | The object to be translated. |
theVector | Translation vector, giving both direction and distance. |
GEOM_Object GEOM::GEOM_ITransformOperations::TranslateVectorDistance | ( | in GEOM_Object | theObject, |
in GEOM_Object | theVector, | ||
in double | theDistance, | ||
in boolean | theCopy | ||
) |
Translate the given object along the given vector on given distance, creating its copy before the translation.
theObject | The object to be translated. |
theVector | Translation vector, giving a direction. |
theDistance | Translation distance, giving a distance. |
theCopy | Translation copy, creating its copy if true. |
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.
theObject | The object to be translated. |
theVector | Direction of the translation. |
theStep | Distance to translate on. |
theNbTimes | Quantity of translations to be done. |
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.
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. |
GEOM_Object GEOM::GEOM_ITransformOperations::RotateThreePoints | ( | in GEOM_Object | theObject, |
in GEOM_Object | theCentPoint, | ||
in GEOM_Object | thePoint1, | ||
in GEOM_Object | thePoint2 | ||
) |
Rotate given object around vector perpendicular to plane containing three points.
theObject | The object to be rotated. |
theCentPoint | central point - the axis is the vector perpendicular to the plane containing the three points. |
thePoint1,thePoint2 | - in a perpendicular plan of the axis. |
GEOM_Object GEOM::GEOM_ITransformOperations::RotateThreePointsCopy | ( | in GEOM_Object | theObject, |
in GEOM_Object | theCentPoint, | ||
in GEOM_Object | thePoint1, | ||
in GEOM_Object | thePoint2 | ||
) |
Rotate given object around vector perpendicular to plane containing three points.
Creating its copy before the rotatation.
theObject | The object to be rotated. |
theCentPoint | central point - the axis is the vector perpendicular to the plane containing the three points. |
thePoint1,thePoint2 | - in a perpendicular plan of the axis. |
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.
theObject | The object to be rotated. |
theAxis | Rotation axis. |
theAngle | Rotation angle in radians. |
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.
theObject | The object to be rotated. |
theAxis | Rotation axis. |
theAngle | Rotation angle in radians. |
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.
theObject | The object to be rotated. |
theAxis | The rotation axis. |
theNbTimes | Quantity of rotations to be done. |
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.
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. |
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.
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.
theObject | The object to be mirrored. |
thePlane | Plane of symmetry. |
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.
theObject | The object to be mirrored. |
theAxis | Axis of symmetry. |
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.
theObject | The object to be mirrored. |
theAxis | Axis of symmetry. |
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.
theObject | The object to be mirrored. |
thePoint | Point of symmetry. |
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.
theObject | The object to be mirrored. |
thePoint | Point of symmetry. |
GEOM_Object GEOM::GEOM_ITransformOperations::OffsetShape | ( | in GEOM_Object | theObject, |
in double | theOffset | ||
) |
Replace the given object by its offset.
theObject | The base object for the offset. |
theOffset | Offset value. |
GEOM_Object GEOM::GEOM_ITransformOperations::OffsetShapeCopy | ( | in GEOM_Object | theObject, |
in double | theOffset | ||
) |
Create new object as offset of the given one.
theObject | The base object for the offset. |
theOffset | Offset value. |
GEOM_Object GEOM::GEOM_ITransformOperations::ProjectShapeCopy | ( | in GEOM_Object | theSource, |
in GEOM_Object | theTarget | ||
) |
Create new object as projection of the given one on a 2D surface.
theSource | The source object for the projection. It can be a point, edge or wire. |
theTarget | The target object. It can be planar or cylindrical face. |
GEOM_Object GEOM::GEOM_ITransformOperations::ScaleShape | ( | in GEOM_Object | theObject, |
in GEOM_Object | thePoint, | ||
in double | theFactor | ||
) |
Scale the given object by the factor.
theObject | The object to be scaled. |
thePoint | Center point for scaling. |
theFactor | Scaling factor value. |
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.
theObject | The object to be scaled. |
thePoint | Center point for scaling. |
theFactor | Scaling factor value. |
GEOM_Object GEOM::GEOM_ITransformOperations::ScaleShapeAlongAxes | ( | in GEOM_Object | theObject, |
in GEOM_Object | thePoint, | ||
in double | theFactorX, | ||
in double | theFactorY, | ||
in double | theFactorZ | ||
) |
Scale the given object by different factors along coordinate axes.
theObject | The object to be scaled. |
thePoint | Center point for scaling. |
theFactorX,theFactorY,theFactorZ | Scaling factors along each axis. |
GEOM_Object GEOM::GEOM_ITransformOperations::ScaleShapeAlongAxesCopy | ( | in GEOM_Object | theObject, |
in GEOM_Object | thePoint, | ||
in double | theFactorX, | ||
in double | theFactorY, | ||
in double | theFactorZ | ||
) |
Scale the given object by different factors along coordinate axes, creating its copy before the scaling.
theObject | The object to be scaled. |
thePoint | Center point for scaling. |
theFactorX,theFactorY,theFactorZ | Scaling factors along each axis. |
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.
theObject | The object to be displaced. |
theStartLCS | Coordinate system to perform displacement from it. If theStartLCS is NULL, displacement will be performed from global CS. If theObject itself is used as theStartLCS, its location will be changed to theEndLCS. |
theEndLCS | Coordinate system to perform displacement to it. |
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.
theObject | The object to be displaced. |
theStartLCS | Coordinate system to perform displacement from it. If theStartLCS is NULL, displacement will be performed from global CS. If theObject itself is used as theStartLCS, its location will be changed to theEndLCS. |
theEndLCS | Coordinate system to perform displacement to it. |
GEOM_Object GEOM::GEOM_ITransformOperations::PositionAlongPath | ( | in GEOM_Object | theObject, |
in GEOM_Object | thePath, | ||
in double | theDistance, | ||
in boolean | theCopy, | ||
in boolean | theReverse | ||
) |
Modify the Location of the given object by Path,.
theObject | The object to be displaced. |
thePath | Wire or Edge along that the object will be translated. |
theDistance | progress of Path (0 = actual location, 1 = end of path location). |
theCopy | is a true or false parameter. true is to create a copy, false to move the object. |
theReverse | is a true or false parameter. true is to reverse direction, false is to move normal direction. |
GEOM_Object GEOM::GEOM_ITransformOperations::TransformLikeOtherCopy | ( | in GEOM_Object | theObject, |
in GEOM_Object | theSample | ||
) |
Transform the shape in the same way what was used for the sample shape creation.
theObject | The object to be transformed. |
theSample | The object containing information about required transformation. |
GEOM_Object GEOM::GEOM_ITransformOperations::RecomputeObject | ( | in GEOM_Object | theObject | ) |
Recompute the shape from its arguments.
theObject | The object to be recomputed. |
|
inherited |
To know, if the operation was successfully performed.
|
inherited |
Set the operation error code.
theErrorID | is a string describing the error occured |
|
inherited |
Get the operation error code.
|
inherited |
Get ID of study, where the operation is defined.
|
inherited |
Opens a new transaction.
|
inherited |
Closes the previously opened trasaction.
|
inherited |
Aborts the previously opened transaction.