Defines a point in 2D space.
More...
Defines a point in 2D space.
Definition at line 10 of file Point.cs.
static VRageMath.Point.Point |
( |
| ) |
|
|
inlinestatic |
VRageMath.Point.Point |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
Initializes a new instance of Point.
- Parameters
-
x | The x-coordinate of the Point. |
y | The y-coordinate of the Point. |
Definition at line 41 of file Point.cs.
bool VRageMath.Point.Equals |
( |
Point |
other | ) |
|
|
inline |
Determines whether two Point instances are equal.
- Parameters
-
other | The Point to compare this instance to. |
Definition at line 72 of file Point.cs.
override bool VRageMath.Point.Equals |
( |
object |
obj | ) |
|
|
inline |
Determines whether two Point instances are equal.
- Parameters
-
obj | The object to compare this instance to. |
Definition at line 84 of file Point.cs.
override int VRageMath.Point.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code for this object.
Definition at line 95 of file Point.cs.
static bool VRageMath.Point.operator!= |
( |
Point |
a, |
|
|
Point |
b |
|
) |
| |
|
inlinestatic |
Determines whether two Point instances are not equal.
- Parameters
-
a | The Point on the left side of the equal sign. |
b | The Point on the right side of the equal sign. |
Definition at line 60 of file Point.cs.
static bool VRageMath.Point.operator== |
( |
Point |
a, |
|
|
Point |
b |
|
) |
| |
|
inlinestatic |
Determines whether two Point instances are equal.
- Parameters
-
a | Point on the left side of the equal sign. |
b | Point on the right side of the equal sign. |
Definition at line 51 of file Point.cs.
override string VRageMath.Point.ToString |
( |
| ) |
|
|
inline |
Returns a String that represents the current Point.
Definition at line 103 of file Point.cs.
Specifies the x-coordinate of the Point.
Definition at line 16 of file Point.cs.
Specifies the y-coordinate of the Point.
Definition at line 20 of file Point.cs.
Point VRageMath.Point.Zero |
|
staticget |
Returns the point (0,0).
Definition at line 26 of file Point.cs.
The documentation for this struct was generated from the following file: