Latitude Structure

Represents a northing 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 Latitude : IComparable, IComparable<Latitude>, 
	IComparisonOperators<Latitude, Latitude, bool>, IEqualityOperators<Latitude, Latitude, bool>, 
	IComparisonOperators<Latitude, double, bool>, IEqualityOperators<Latitude, double, bool>, 
	IDmsCoordinate, IEquatable<Latitude>, IFormattable, IMinMaxValue<Latitude>
Inheritance
Object    ValueType    Latitude
Implements
IDmsCoordinate, IComparable, IComparableLatitude, IEquatableLatitude, IFormattable, IComparisonOperatorsLatitude, Latitude, Boolean, IComparisonOperatorsLatitude, Double, Boolean, IEqualityOperatorsLatitude, Latitude, Boolean, IEqualityOperatorsLatitude, Double, Boolean, IMinMaxValueLatitude

Constructors

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

Properties

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

Methods

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