ArcObjects Library Reference (Geometry)  

IVector3D.PolarSet Method

Set the vector using polar components. Angles are in radians.

[Visual Basic .NET]
Public Sub PolarSet ( _
    ByVal Azimuth As Double, _
    ByVal Inclination As Double, _
    ByVal radiusLength As Double _
)
[C#]
public void PolarSet (
    double Azimuth,
    double Inclination,
    double radiusLength
);
[C++]
HRESULT PolarSet(
  double Azimuth,
  double Inclination,
  double radiusLength
);
[C++]

Parameters

Azimuth   Azimuth is a parameter of type double Inclination   Inclination is a parameter of type double radiusLength   radiusLength is a parameter of type double

Product Availability

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

Description

Sets the X Component, Y Component, and Z Component values of the 3 Dimensional vector that correspond to the input Azimuth, Inclination, and Radius Length (Magnitude) values.  The Azimuth and Inclination are measured in radians.

Remarks

 

Vector3D PolarSet Example

[C#]

    public IVector3D CreateVector3DPolar(double azimuth, double inclination, double magnitude)
    {
        IVector3D vector3D = new Vector3DClass();
        vector3D.PolarSet(azimuth, inclination, magnitude);
        return vector3D;
    }

See Also

IVector3D Interface