Location Structure |
Namespace: Ptv.Components.Projections
The Location type exposes the following members.
| Name | Description | |
|---|---|---|
| Location(Point) |
Initializes a new instance of the Location struct, including its x- and y-coordinate from the given point.
| |
| Location(Location) |
Initializes a new instance of the Location struct, initializing its coordinates from the given location.
| |
| Location(Double, Double, NullableDouble) |
Initializes a new instance of the Location struct, initializing it with the given coordinates.
|
| Name | Description | |
|---|---|---|
| ToString |
Returns a string representing of the current location.
(Overrides ValueTypeToString.) | |
| Transform |
Provides a shortcut for transforming the current location from one
coordinate reference system to another.
|
| Name | Description | |
|---|---|---|
| X |
The x-coordinate of the location.
| |
| Y |
The y-coordinate of the location.
| |
| Z |
The optional z-coordinate of the location.
|
| Name | Description | |
|---|---|---|
| ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |