SemiMinor Property

Type

GeoCalcNET.LinearValue

 

Access

Get/Set

 

Description

The SemiMinor property provides access to a LinearValue that gives the length of the semi minor radius for the Ellipsoid.  If the InvFlatDefinitive property is false, then setting this property will not affect the Ellipsoid.  If the InvFlatDefinitive property is true, then setting this property will affect the Eccentricity, EccentricitySquared, and InverseFlattening properties.

 

Example

[VB]

Private Sub GeoCalcNET_Ellipsoid_SemiMinor(ByVal ell As GeoCalcNET.Ellipsoid, ByVal data As GeoCalcNET.DataSourceComponent)

Dim semiMin As GeoCalcNET.LinearValue = ell.SemiMinor

 

ell.SemiMinor = New GeoCalcNET.LinearValue

ell.SemiMinor.Units = data.GetLinearUnit("BMG", "METERS")

ell.SemiMinor.InUnits = 6356752.31424518

End Sub

 

[C#]

private void GeoCalcNET_Ellipsoid_SemiMinor(GeoCalcNET.Ellipsoid ell, GeoCalcNET.DataSourceComponent data)

{

GeoCalcNET.LinearValue lv = ell.SemiMinor;

 

GeoCalcNET.LinearUnit lu = data.GetLinearUnit("BMG", "METERS");

GeoCalcNET.LinearValue lv2 = new GeoCalcNET.LinearValue();

lv2.Units = lu;

lv2.InUnits = 6356752.31424518;

ell.SemiMinor = lv2;

}