Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

implicit operator GeoNearPoint(XYPoint)

Implicit conversion to wrap an XYPoint in a GeoNearPoint value.

public static implicit operator GeoNearPoint(XYPoint value)

Parameters

value XYPoint

The 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.