ISpheroid Interface

Provides access to members that control the properties of all spheroids.

Description

Defines a spheroid object. You can retrieve any of the three values that define a spheroid: the semimajor or semiminor axes or the flattening. The axes are in meters.

Members

Name Description
Read-only property Abbreviation The abbreviated name of this spatial reference component.
Read-only property Alias The alias of this spatial reference component.
Read-only property FactoryCode The factory code (WKID) of the spatial reference.
Read-only property Flattening The flattening ratio of this spheroid.
Read-only property Name The name of this spatial reference component.
Read-only property Remarks The comment string of this spatial reference component.
Read-only property SemiMajorAxis The semi-major axis length of this spheroid.
Read-only property SemiMinorAxis The semi-minor axis length of this spheroid.

ISpheroid.Flattening Property

The flattening ratio of this spheroid.

Public ReadOnly Property Flattening As Double
public double Flattening {get;}

ISpheroid.SemiMajorAxis Property

The semi-major axis length of this spheroid.

Public ReadOnly Property SemiMajorAxis As Double
public double SemiMajorAxis {get;}
private void PrintSpheroid(ISpheroid spheroid)

    {

        System.Windows.Forms.MessageBox.Show(spheroid.SemiMajorAxis.ToString());

    }

ISpheroid.SemiMinorAxis Property

The semi-minor axis length of this spheroid.

Public ReadOnly Property SemiMinorAxis As Double
public double SemiMinorAxis {get;}
private void PrintSpheroid(ISpheroid spheroid)

    {

        System.Windows.Forms.MessageBox.Show(spheroid.SemiMinorAxis.ToString());

    }

Inherited Interfaces

Interfaces Description
ISpatialReferenceInfo Provides access to members that control the properties common to all components of a spatial reference system.

Classes that implement ISpheroid

Classes Description
Spheroid Creates a spheroid.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close