Click or drag to resize

Coordinate Constructor (Double, Double, EagerLoad)

Creates a populated Coordinate object with specified eager loading options.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.12.1.1
Syntax
C#
public Coordinate(
	double lat,
	double longi,
	EagerLoad eagerLoad
)

Parameters

lat
Type: SystemDouble
signed latitude
longi
Type: SystemDouble
signed longitude
eagerLoad
Type: CoordinateSharpEagerLoad
Eager loading options
Remarks
Geodate will default to 1900-01-01.
Examples
The following example demonstrates how to create a defined Coordinate object with defined eager loading options.
//Create a new EagerLoading object set to only
//eager load celestial calculations.
EagerLoading el = new EagerLoading(EagerLoadType.Celestial);

Coordinate c = new Coordinate(25, 25, el);
See Also