This document is archived and information here might be outdated.  Recommended version.


ITransform3D.Move3D Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

ITransform3D.Move3D Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
[C#]










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);


}







See Also

ITransform3D Interface

.NET Samples

3D multipatch examples (Code Files: CompositeExamples Transform3DExamples)