StructLocation
Represents a geographical location.
Definition
Namespace:Telerik.Maui.Controls.ShapefileReader
Assembly:Telerik.Maui.Controls.dll
Syntax:
public struct Location
Constructors
Location(double, double)
Initializes a new instance of the Location struct.
Properties
Invalid
Gets a value that represents an invalid Location structure.
Declaration
public static Location Invalid { get; }
Property Value
Remarks
A Location structure with Latitude and Longitude values set to 0 is not empty. An empty Location structure has Latitude and Longitude values set to negative infinity. This is the only time a Location structure can have negative infinity values.
IsEmpty
Gets a value that indicates whether this Location structure is empty.
Declaration
public bool IsEmpty { get; }
Property Value
Remarks
A Location structure with Latitude and Longitude values set to 0 is not empty. An empty Location structure has Latitude and Longitude values set to negative infinity. This is the only time a Location structure can have negative infinity values.
Latitude
Gets or sets the latitude value of the location.
Methods
Equals(Location, Location)
Checks whether two Location values are equal.
Equals(object)
Determines whether the specified object is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
ToString()
Returns a string that represents this instance.
Operators
operator !=(Location, Location)
Checks whether two Location values are not equal.
operator ==(Location, Location)
Checks whether two Location values are equal.