This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Ingame.MyWaypointInfo
Malware edited this page Dec 21, 2018
·
52 revisions
← Index
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Represents a GPS coordinate
_string Name_ |
The name of this GPS coordinate |
_Vector3D Coords_ |
Gets the target coordinate as a [Vector3D](VRageMath.Vector3D) |
static _MyWaypointInfo Empty_ |
Returns an empty (undefined) GPS coordinate |
static _void FindAll(string source, List gpsList)_ |
Searches for all GPS coordinates in the given text. |
static _bool TryParse(string text, ref MyWaypointInfo gps)_ |
Attempts to parse a GPS coordinate from the given text. The text cannot contain anything but the GPS coordinate. A GPS coordinate has the format GPS:Name:X:Y:Z: |
_bool IsEmpty()_ |
Determines whether this coordinate is empty (undefined) |
_string ToString()_ |
Converts this GPS coordinate to its string equivalent |
_bool Equals(MyWaypointInfo other)_ |
Determines whether this coordinate is the same as another. Uses 0.0001 as the epsilon to counter floating point inaccuracies. |
_bool Equals(MyWaypointInfo other, double epsilon)_ |
Determines whether this coordinate is the same as another. Uses 0.0001 as the epsilon to counter floating point inaccuracies. |
_bool Equals(Object obj)_ |
Determines whether this coordinate is the same as another. Uses 0.0001 as the epsilon to counter floating point inaccuracies. |
_int GetHashCode()_ |
Gets the hashcode of this coordinate |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!