Method | Description | |
---|---|---|
GeoNearOptionsBuilder ( ) : System |
Initializes a new instance of the GeoNearOptionsBuilder class.
|
|
SetDistanceMultiplier ( double value ) : |
Sets the distance multiplier.
|
|
SetMaxDistance ( double value ) : |
Sets the max distance.
|
|
SetSpherical ( bool value ) : |
Sets whether to use a spherical search.
|
|
ToBsonDocument ( ) : BsonDocument |
Returns the result of the builder as a BsonDocument.
|
Method | Description | |
---|---|---|
Serialize ( BsonWriter bsonWriter, |
Serializes the result of the builder to a BsonWriter.
|
protected Serialize ( BsonWriter bsonWriter, |
||
bsonWriter | BsonWriter | The writer. |
nominalType | The nominal type. | |
options | IBsonSerializationOptions | The serialization options. |
return | void |
public SetDistanceMultiplier ( double value ) : |
||
value | double | The distance multiplier. |
return |
public SetMaxDistance ( double value ) : |
||
value | double | The max distance. |
return |
public SetSpherical ( bool value ) : |
||
value | bool | Whether to use a spherical search. |
return |