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

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

    System.Object
       ArcGIS.Core.Geometry.GeodesicSectorParameter

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also