Class Distance
Assembly: OpenSearch.Client.dll
Syntax
Constructors
|
Edit this page
View Source
Distance(double)
Declaration
public Distance(double distance)
Parameters
Type |
Name |
Description |
double |
distance |
|
|
Edit this page
View Source
Distance(double, DistanceUnit)
Declaration
public Distance(double distance, DistanceUnit unit)
Parameters
|
Edit this page
View Source
Distance(string)
Declaration
public Distance(string distanceUnit)
Parameters
Type |
Name |
Description |
string |
distanceUnit |
|
Properties
|
Edit this page
View Source
Precision
Declaration
public double Precision { get; }
Property Value
|
Edit this page
View Source
Unit
Declaration
public DistanceUnit Unit { get; }
Property Value
Methods
|
Edit this page
View Source
Centimeters(double)
Declaration
public static Distance Centimeters(double centimeters)
Parameters
Type |
Name |
Description |
double |
centimeters |
|
Returns
|
Edit this page
View Source
Inches(double)
Declaration
public static Distance Inches(double inches)
Parameters
Type |
Name |
Description |
double |
inches |
|
Returns
|
Edit this page
View Source
Kilometers(double)
Declaration
public static Distance Kilometers(double kilometers)
Parameters
Type |
Name |
Description |
double |
kilometers |
|
Returns
|
Edit this page
View Source
Meters(double)
Declaration
public static Distance Meters(double meters)
Parameters
Type |
Name |
Description |
double |
meters |
|
Returns
|
Edit this page
View Source
Miles(double)
Declaration
public static Distance Miles(double miles)
Parameters
Type |
Name |
Description |
double |
miles |
|
Returns
|
Edit this page
View Source
Millimeters(double)
Declaration
public static Distance Millimeters(double millimeter)
Parameters
Type |
Name |
Description |
double |
millimeter |
|
Returns
|
Edit this page
View Source
NauticalMiles(double)
Declaration
public static Distance NauticalMiles(double nauticalMiles)
Parameters
Type |
Name |
Description |
double |
nauticalMiles |
|
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
Yards(double)
Declaration
public static Distance Yards(double yards)
Parameters
Type |
Name |
Description |
double |
yards |
|
Returns
Operators
|
Edit this page
View Source
implicit operator Distance(string)
Declaration
public static implicit operator Distance(string distanceUnit)
Parameters
Type |
Name |
Description |
string |
distanceUnit |
|
Returns
Extension Methods