Operator implicit operator
implicit operator GeoNearPoint(XYPoint)
Implicit conversion to wrap an XYPoint in a GeoNearPoint value.
public static implicit operator GeoNearPoint(XYPoint value)
Parameters
value
XYPointThe value.
Returns
- GeoNearPoint
A GeoNearPoint value.
implicit operator GeoNearPoint(GeoJsonPoint<GeoJson2DCoordinates>)
Implicit conversion to wrap a 2D GeoJson point in a GeoNearPoint value.
public static implicit operator GeoNearPoint(GeoJsonPoint<GeoJson2DCoordinates> value)
Parameters
value
GeoJsonPoint<GeoJson2DCoordinates>The value.
Returns
- GeoNearPoint
A GeoNearPoint value.
implicit operator GeoNearPoint(GeoJsonPoint<GeoJson2DGeographicCoordinates>)
Implicit conversion to wrap a 2D GeoJson point in a GeoNearPoint value.
public static implicit operator GeoNearPoint(GeoJsonPoint<GeoJson2DGeographicCoordinates> value)
Parameters
value
GeoJsonPoint<GeoJson2DGeographicCoordinates>The value.
Returns
- GeoNearPoint
A GeoNearPoint value.
implicit operator GeoNearPoint(GeoJsonPoint<GeoJson2DProjectedCoordinates>)
Implicit conversion to wrap a 2D GeoJson point in a GeoNearPoint value.
public static implicit operator GeoNearPoint(GeoJsonPoint<GeoJson2DProjectedCoordinates> value)
Parameters
value
GeoJsonPoint<GeoJson2DProjectedCoordinates>The value.
Returns
- GeoNearPoint
A GeoNearPoint value.