Method Move
Move(double, double, double, double, double, double, double, double, double, double, double, double, double, bool, bool)
Translates and/or rotates the selected objects.
Declaration
public void Move(double xOrig, double yOrig, double zOrig, double xExt, double yExt, double zExt, double oxyOrig = 0, double oyzOrig = 0, double ozxOrig = 0, double oxyExt = 0, double oyzExt = 0, double ozxExt = 0, double distance = 0, bool duplicate = false, bool percuss = false)
Parameters
Type | Name | Description |
---|---|---|
double | xOrig | Coordinate of the origin of the moving vector, in scene measurement units. |
double | yOrig | Coordinate of the origin of the moving vector, in scene measurement units. |
double | zOrig | Coordinate of the origin of the moving vector, in scene measurement units. |
double | xExt | Coordinate of the extremity of the moving vector, in scene measurement units. |
double | yExt | Coordinate of the extremity of the moving vector, in scene measurement units. |
double | zExt | Coordinate of the extremity of the moving vector, in scene measurement units. |
double | oxyOrig | Rotation in the origin of the moving vector, in the OXY plane, in degrees. |
double | oyzOrig | Rotation in the origin of the moving vector, in the OYZ plane, in degrees. |
double | ozxOrig | Rotation in the origin of the moving vector, in the OZX plane, in degrees. |
double | oxyExt | Rotation in the extremity of the moving vector, in the OXY plane, in degrees. |
double | oyzExt | Rotation in the extremity of the moving vector, in the OYZ plane, in degrees. |
double | ozxExt | Rotation in the extremity of the moving vector, in the OZX plane, in degrees. |
double | distance | The value (length) of the translation.
If |
bool | duplicate | If |
bool | percuss | If |
Remarks
The translation axis is defined by the vector in scene
coordinates having the(xOrig
, yOrig
, zOrig
) origin and
the(xExt
, yExt
, zExt
) extremity.
The value (length) of the translation is defined by the
distance
parameter given in the scene
measurement unit.
If the distance
parameter equals 0,
then the value (length) of the translation is defined by the
distance between the two points which coordinates are passed as
parameters.
The rotations are defined by the differences between the
oxyExt
and oxyOrig
angles, the oyzExt
and oyzOrig
angles and at last the ozxExt
and ozxOrig
angles.