Longitude Structure

Represents an easting value in the Latitude-Longitude coordinate system.

Definition

Namespace: InnerDrive.Geography
Assembly: InnerDrive.Geography (in InnerDrive.Geography.dll) Version: 5.2.9017.0
C#
[SerializableAttribute]
public struct Longitude : IComparable, IComparable<Longitude>, 
	IComparisonOperators<Longitude, Longitude, bool>, IEqualityOperators<Longitude, Longitude, bool>, 
	IComparisonOperators<Longitude, double, bool>, IEqualityOperators<Longitude, double, bool>, 
	IDmsCoordinate, IEquatable<Longitude>, IFormattable, IMinMaxValue<Longitude>
Inheritance
Object    ValueType    Longitude
Implements
IDmsCoordinate, IComparable, IComparableLongitude, IEquatableLongitude, IFormattable, IComparisonOperatorsLongitude, Longitude, Boolean, IComparisonOperatorsLongitude, Double, Boolean, IEqualityOperatorsLongitude, Longitude, Boolean, IEqualityOperatorsLongitude, Double, Boolean, IMinMaxValueLongitude

Constructors

Longitude(Double) Creates a new instance of Longitude.
Longitude(Double, Double, Double) Creates a new instance of Longitude.

Properties

Degrees Gets the integral number of degrees represented by this IDmsCoordinate.
MaxValueGets the maximum value of the current type.
Minutes Gets the integral number of minutes represented by this IDmsCoordinate.
MinValueGets the minimum value of the current type.
Seconds Gets the number of seconds (not including Degrees or Minutes) represented by this IDmsCoordinate.
TotalDegrees Gets the total number of Degrees for this IDmsCoordinate including Minutes and Seconds.
TotalMinutes Gets the total number of Minutes for this IDmsCoordinate including Degrees and Seconds.
TotalSeconds Gets the total number of Seconds for this IDmsCoordinate including Degrees and Minutes.
Value Gets the value of this Longitude.

Methods

Add(Longitude, Longitude) Adds two instances of Longitude together.
Add(Longitude, Double) Adds an instance of Longitude to an instance of Double.
CompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Divide Divides an instance of Longitude by a double-precision value.
Equals(Longitude)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsNaN Returns a value indicating whether the specified number evaluates to a value that is not a number (NaN).
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Multiply Multiplies an instance of Longitude by a double-precision value.
Negate Negates the value of the specified Longitude operand.
Subtract(Longitude, Longitude) Subtracts one instance of Longitude from another.
Subtract(Longitude, Double) Subtracts an instance of Double from an instance of Longitude.
ToDmsString Gets the string representation of this IDmsCoordinate in degrees, minutes, and seconds.
ToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
ToString(String) Converts the numeric value of this instance to its equivalent String representation, using the specified format.
ToString(String, IFormatProvider)Formats the value of the current instance using the specified format.

Operators

Addition(Longitude, Longitude) Adds two instances of Longitude together.
Addition(Longitude, Double) Adds an instance of Longitude to an instance of Double.
Division(Longitude, Double) Divides an instance of Longitude by a double-precision value.
Equality(Double, Longitude) Compares an instance of Longitude with an instance of Double for equality.
Equality(Longitude, Longitude)Compares two values to determine equality.
Equality(Longitude, Double)Compares two values to determine equality.
GreaterThan(Double, Longitude) Compares an instance of Longitude to an instance of Double for different values.
GreaterThan(Longitude, Longitude)Compares two values to determine which is greater.
GreaterThan(Longitude, Double)Compares two values to determine which is greater.
GreaterThanOrEqual(Double, Longitude) Compares an instance of Longitude to an instance of Double for different values.
GreaterThanOrEqual(Longitude, Longitude)Compares two values to determine which is greater or equal.
GreaterThanOrEqual(Longitude, Double)Compares two values to determine which is greater or equal.
(Double to Longitude) Creates a new Longitude object from a Double value.
(Longitude to Double) Creates a new Double value from a given Longitude object.
Inequality(Double, Longitude) Compares an instance of Longitude with an instance of Double for inequality.
Inequality(Longitude, Longitude)Compares two values to determine inequality.
Inequality(Longitude, Double)Compares two values to determine inequality.
LessThan(Double, Longitude) Compares an instance of Longitude to an instance of Double for different values.
LessThan(Longitude, Longitude)Compares two values to determine which is less.
LessThan(Longitude, Double)Compares two values to determine which is less.
LessThanOrEqual(Double, Longitude) Compares an instance of Longitude to an instance of Double for different values.
LessThanOrEqual(Longitude, Longitude)Compares two values to determine which is less or equal.
LessThanOrEqual(Longitude, Double)Compares two values to determine which is less or equal.
Multiply(Longitude, Double) Multiplies an instance of Longitude by a double-precision value.
Subtraction(Longitude, Longitude) Subtracts one instance of Longitude from another.
Subtraction(Longitude, Double) Subtracts an instance of Double from an instance of Longitude.
UnaryNegation(Longitude) Negates the value of the specified Longitude operand.

Explicit Interface Implementations

IComparableCompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

See Also