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

In This Topic
    OutGeometryType Property (GeodesicSectorParameter)
    In This Topic
    Gets or sets the type of geometry that will be created. Only multipoint, polyline and polygon are supported.
    Syntax
    Public Property OutGeometryType As GeometryType
    public GeometryType OutGeometryType {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