Initializes a new instance of the Ellipsoid class. If either the semiMinorAxis or the eccentricitySquared are Double.NaN, then that value is calculated from the other two parameters. An ArgumentException is thrown if both the semiMinorAxis and the eccentricitySquared are Double.NaN.

Namespace:  DotNetCoords.Ellipsoid
Assembly:  DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.9 (1.0.0.9)

Collapse imageSyntax

C#
protected Ellipsoid(
	double semiMajorAxis,
	double semiMinorAxis,
	double eccentricitySquared
)
Visual Basic (Declaration)
Protected Sub New ( _
	semiMajorAxis As Double, _
	semiMinorAxis As Double, _
	eccentricitySquared As Double _
)
Visual C++
protected:
Ellipsoid(
	double semiMajorAxis, 
	double semiMinorAxis, 
	double eccentricitySquared
)

Parameters

semiMajorAxis
Type: System..::.Double
The semi major axis.
semiMinorAxis
Type: System..::.Double
The semi minor axis.
eccentricitySquared
Type: System..::.Double
The eccentricity squared.

Collapse imageExceptions

Collapse imageSee Also