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

In This Topic
    GeodesicEllipseParameter Class
    In This Topic
    Options for creating a geodesic ellipse with the GeometryEngine.GeodesicEllipse function.
    Object Model
    GeodesicEllipseParameter ClassCoordinate2D StructureLinearUnit Class
    Syntax
    Public NotInheritable Class GeodesicEllipseParameter 
    public sealed class GeodesicEllipseParameter 
    Example
    GeodesicEllipse
    {
      GeodesicEllipseParameter param = new()
      {
        AxisDirection = 4 * Math.PI / 3,
        Center = new Coordinate2D(-120, 60),
        LinearUnit = LinearUnit.Meters,
        OutGeometryType = GeometryType.Polyline,
        SemiAxis1Length = 6500000,
        SemiAxis2Length = 1500000,
        VertexCount = 800
      };
    
      Geometry geometry = GeometryEngine.Instance.GeodesicEllipse(param, SpatialReferences.WGS84);
      // geometry.IsEmpty = false
    
      polyline = geometry as Polyline;
      // polyline.PointCount = 801
      // polyline.PartCount = 1
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Geometry.GeodesicEllipseParameter

    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also