ArcObjects Library Reference (Geometry)  

IVector3D.Rotate Method

Rotate the vector around an axis defined by another vector. The angle is in radians.

[Visual Basic .NET]
Public Sub Rotate ( _
    ByVal Angle As Double, _
    ByVal axis As IVector3D _
)
[C#]
public void Rotate (
    double Angle,
    IVector3D axis
);
[C++]
HRESULT Rotate(
  double Angle,
  IVector3D* axis
);
[C++]

Parameters

Angle   Angle is a parameter of type double axis

  axis is a parameter of type IVector3D

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Rotates the base Vector3D a given input angle measured in radians around the specified axis defined by the input Vector3D.  To rotate a vector in a given plane defined by two vectors, use the CrossProduct of those vectors as the axis of rotation.

See Also

IVector3D Interface