Location Constructor (Double, Double, NullableDouble) |
Initializes a new instance of the
Location struct, initializing it with the given coordinates.
Namespace:
Ptv.Components.Projections
Assembly:
Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax public Location(
double x,
double y,
Nullable<double> z = null
)
Public Sub New (
x As Double,
y As Double,
Optional z As Nullable(Of Double) = Nothing
)
public:
Location(
double x,
double y,
Nullable<double> z = nullptr
)
new :
x : float *
y : float *
?z : Nullable<float>
(* Defaults:
let _z = defaultArg z null
*)
-> Location
Parameters
- x
- Type: SystemDouble
The x-coordinate of the location. - y
- Type: SystemDouble
The y-coordinate of the location. - z (Optional)
- Type: SystemNullableDouble
The optional z-coordinate of the location (defaults to null).
See Also