This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IT > ITransform3D Interface > ITransform3D.Move3D Method (ArcObjects .NET 10.5 SDK) |
Moves the object by dx, dy and dz along the x, y, and z axes respectively.
[Visual Basic .NET] Public Sub Move3D ( _ ByVal dx As Double, _ ByVal dy As Double, _ ByVal dz As Double _ )
[C#] public void Move3D ( double dx, double dy, double dz );
[C++]
HRESULT Move3D(
double dx,
double dy,
double dz
);
[C++]
Parameters dx dx is a parameter of type double dy dy is a parameter of type double dz dz is a parameter of type double
public static void TransformMultiPatchGeometry()
{
const double XOffset=7.5;
const double YOffset=7.5;
const double ZOffset=-10;
//Transform3D: Cylinder Repositioned Via Move3D()
IGeometry geometry=GetMultiPatchGeometry();
ITransform3D transform3D=geometry as ITransform3D;
transform3D.Move3D(XOffset, YOffset, ZOffset);
}