ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeodesicSectorParameter Class
Members Example

In This Topic
    GeodesicSectorParameter Class
    In This Topic
    Options for creating a geodesic ellipse with the GeometryEngine.GeodesicSector function.
    Object Model
    GeodesicSectorParameter ClassCoordinate2D StructureLinearUnit Class
    Syntax
    public sealed class GeodesicSectorParameter 
    Public NotInheritable Class GeodesicSectorParameter 
    Example
    GeodesicSector
    GeodesicSectorParameter param = new GeodesicSectorParameter();
    param.ArcVertexCount = 50;
    param.AxisDirection = Math.PI / 4;
    param.Center = new Coordinate2D(0, 0);
    param.LinearUnit = LinearUnit.Meters;
    param.OutGeometryType = GeometryType.Polygon;
    param.RadiusVertexCount = 10;
    param.SectorAngle = 5 * Math.PI / 3;
    param.SemiAxis1Length = 100000;
    param.SemiAxis2Length = 20000;
    param.StartDirection = 11 * Math.PI / 6;
    
    Geometry geometry = GeometryEngine.Instance.GeodesicSector(param, SpatialReferences.WGS84);
    // geometry.IsEmpty = false
    
    Polygon polygon = geometry as Polygon;
    // polygon.PointCount = 68
    // polygon.PartCount = 1
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Geometry.GeodesicSectorParameter

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also