ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Coordinate3D Structure / Inclination Property
Example

In This Topic
    Inclination Property
    In This Topic
    Gets the inclination of the Coordinate3D. The inclination is measured in radians.
    Syntax
    public double Inclination {get;}
    Public ReadOnly Property Inclination As Double
    Remarks
    The inclination is the angle between the XY-plane and the Coordinate3D measured in the Z-direction. The inclination is measured in radians and has a value between -PI/2 and PI/2 inclusive.

    Coordinate3D

    Example
    Getting vector inclination
    Coordinate3D v = new Coordinate3D(0, 0, 7);
    double inclination = v.Inclination;         // inclination = PI/2
    
    v.SetComponents(-2, -3, 0);
    inclination = v.Inclination;                // inclination = 0
    
    v.SetComponents(0, 0, -2);
    inclination = v.Inclination;                // inclination = -PI/2
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also