Click or drag to resize

MilitaryGridReferenceSystem.TryConvertToUniversalTransverseMercator Method

Attempts to convert this instance to a set of UniversalTransverseMercator coordinates.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public bool TryConvertToUniversalTransverseMercator(
	Ellipsoid ellipsoid,
	out UniversalTransverseMercator utm
)

Parameters

ellipsoid
Type: AGI.Foundation.Geometry.Shapes.Ellipsoid
The reference ellipsoid.
utm
Type: AGI.Foundation.Coordinates.UniversalTransverseMercator
The converted coordinates.

Return Value

Type: Boolean
true if this instance could be converted to the desired coordinate type; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when ellipsoid is null.
See Also