Stores an X and Y Position simply.
More...
Stores an X and Y Position simply.
◆ Point()
ReadingBusesAPI.Common.Point.Point |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
Default constructor
- Parameters
-
◆ Equals() [1/2]
override bool ReadingBusesAPI.Common.Point.Equals |
( |
object |
obj | ) |
|
Checks if two point objects are the same or not.
- Parameters
-
obj | Another object to compare against this object. |
- Returns
- Is it the same object or not.
◆ Equals() [2/2]
bool ReadingBusesAPI.Common.Point.Equals |
( |
Point |
other | ) |
|
Implements logic for checking if two objects are equal.
- Parameters
-
other | The other object to check if equal. |
- Returns
- True if equals else false.
◆ GetHashCode()
override int ReadingBusesAPI.Common.Point.GetHashCode |
( |
| ) |
|
Generates a unique number for each Point Object.
- Returns
- Int value of object.
◆ operator!=()
static bool ReadingBusesAPI.Common.Point.operator!= |
( |
Point |
point1, |
|
|
Point |
point2 |
|
) |
| |
|
static |
Checks if two objects are the not the same.
- Parameters
-
point1 | First Point Object. |
point2 | Second Point Object. |
- Returns
- True if they are not the same.
◆ operator==()
static bool ReadingBusesAPI.Common.Point.operator== |
( |
Point |
point1, |
|
|
Point |
point2 |
|
) |
| |
|
static |
Checks if two objects are the same.
- Parameters
-
point1 | First Point Object. |
point2 | Second Point Object. |
- Returns
- True if equal else false
◆ ToString()
override string ReadingBusesAPI.Common.Point.ToString |
( |
| ) |
|
Converts point to string representation.
- Returns
- Point as a string.
double ReadingBusesAPI.Common.Point.X |
|
get |
double ReadingBusesAPI.Common.Point.Y |
|
get |
The documentation for this struct was generated from the following file: