Struct GpxDegrees
Represents an angle, in degrees.
Assembly: NetTopologySuite.IO.GPX.dll
Syntax
public struct GpxDegrees : IEquatable<GpxDegrees>, IComparable<GpxDegrees>, IComparable, IFormattable, IConvertible
Constructors
|
Improve this Doc
View Source
GpxDegrees(Double)
Initializes a new instance of the GpxDegrees struct.
Declaration
public GpxDegrees(double val)
Parameters
Type |
Name |
Description |
Double |
val |
The value to store in Value.
|
Exceptions
Fields
|
Improve this Doc
View Source
MaxValue
The maximum legal value of GpxDegrees (a value very slightly smaller than 360).
Declaration
public static readonly GpxDegrees MaxValue
Field Value
|
Improve this Doc
View Source
MinValue
Declaration
public static readonly GpxDegrees MinValue
Field Value
|
Improve this Doc
View Source
Value
The value stored in this instance.
Guaranteed to be between 0 (inclusive) and 360 (exclusive) under normal circumstances.
Declaration
public readonly double Value
Field Value
Methods
|
Improve this Doc
View Source
CompareTo(GpxDegrees)
Declaration
public int CompareTo(GpxDegrees other)
Parameters
Returns
|
Improve this Doc
View Source
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
Equals(GpxDegrees)
Declaration
public bool Equals(GpxDegrees other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
GetTypeCode()
Declaration
public TypeCode GetTypeCode()
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public string ToString(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Equality(GpxDegrees, GpxDegrees)
Declaration
public static bool operator ==(GpxDegrees deg1, GpxDegrees deg2)
Parameters
Returns
|
Improve this Doc
View Source
Explicit(Double to GpxDegrees)
Declaration
public static explicit operator GpxDegrees(double val)
Parameters
Type |
Name |
Description |
Double |
val |
|
Returns
|
Improve this Doc
View Source
GreaterThan(GpxDegrees, GpxDegrees)
Declaration
public static bool operator>(GpxDegrees deg1, GpxDegrees deg2)
Parameters
Returns
|
Improve this Doc
View Source
GreaterThanOrEqual(GpxDegrees, GpxDegrees)
Declaration
public static bool operator >=(GpxDegrees deg1, GpxDegrees deg2)
Parameters
Returns
|
Improve this Doc
View Source
Implicit(GpxDegrees to Double)
Declaration
public static implicit operator double (GpxDegrees deg)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(GpxDegrees, GpxDegrees)
Declaration
public static bool operator !=(GpxDegrees deg1, GpxDegrees deg2)
Parameters
Returns
|
Improve this Doc
View Source
LessThan(GpxDegrees, GpxDegrees)
Declaration
public static bool operator <(GpxDegrees deg1, GpxDegrees deg2)
Parameters
Returns
|
Improve this Doc
View Source
LessThanOrEqual(GpxDegrees, GpxDegrees)
Declaration
public static bool operator <=(GpxDegrees deg1, GpxDegrees deg2)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
Declaration
bool IConvertible.ToBoolean(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
byte IConvertible.ToByte(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
char IConvertible.ToChar(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
DateTime IConvertible.ToDateTime(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
decimal IConvertible.ToDecimal(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
double IConvertible.ToDouble(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
short IConvertible.ToInt16(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
int IConvertible.ToInt32(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
long IConvertible.ToInt64(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
sbyte IConvertible.ToSByte(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
float IConvertible.ToSingle(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
object IConvertible.ToType(Type conversionType, IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
ushort IConvertible.ToUInt16(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
uint IConvertible.ToUInt32(IFormatProvider provider)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
ulong IConvertible.ToUInt64(IFormatProvider provider)
Parameters
Returns
Implements