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

In This Topic
    ArcVertexCount Property
    In This Topic
    Gets or sets the number of vertices in the arc.
    Syntax
    Public Property ArcVertexCount As UInteger
    public uint ArcVertexCount {get; set;}
    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
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also