InverseFlattening Property

Type

System.Double

 

Access

Get/Set

 

Description

The InverseFlattening property provides access to a double value that gives the inverse flattening of the Ellipsoid.  If the value of InvFlatDefinitive is false, then setting this property will not affect the Ellipsoid.  If InvFlatDefinitive is true, then setting this value will affect the value of the Eccentricity, EccentricitySquared, and SemiMinor properties.

 

Example

[VB]

Private Sub GeoCalcNET_Ellipsoid_InverseFlattening(ByVal ell As GeoCalcNET.Ellipsoid)

If ell.InvFlatDefinitive Then

ell.InverseFlattening = 298.25722356

Else

Dim flat As Double = ell.InverseFlattening

End If

End Sub

 

[C#]

private void GeoCalcNET_Ellipsoid_InverseFlattening(GeoCalcNET.Ellipsoid ell)

{

if(ell.InvFlatDefinitive)

{

ell.InverseFlattening = 298.257223563;

}

else

{

double d = ell.InverseFlattening;

}

}