Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
VRageMath.Point Struct Reference

Defines a point in 2D space. More...

Inheritance diagram for VRageMath.Point:

Public Member Functions

 Point (int x, int y)
 Initializes a new instance of Point. More...
 
bool Equals (Point other)
 Determines whether two Point instances are equal. More...
 
override bool Equals (object obj)
 Determines whether two Point instances are equal. More...
 
override int GetHashCode ()
 Gets the hash code for this object. More...
 
override string ToString ()
 Returns a String that represents the current Point. More...
 

Static Public Member Functions

static Point ()
 
static bool operator== (Point a, Point b)
 Determines whether two Point instances are equal. More...
 
static bool operator!= (Point a, Point b)
 Determines whether two Point instances are not equal. More...
 

Public Attributes

int X
 Specifies the x-coordinate of the Point. More...
 
int Y
 Specifies the y-coordinate of the Point. More...
 

Properties

static Point Zero [get]
 Returns the point (0,0). More...
 

Detailed Description

Defines a point in 2D space.

Definition at line 10 of file Point.cs.

Constructor & Destructor Documentation

static VRageMath.Point.Point ( )
inlinestatic

Definition at line 33 of file Point.cs.

VRageMath.Point.Point ( int  x,
int  y 
)
inline

Initializes a new instance of Point.

Parameters
xThe x-coordinate of the Point.
yThe y-coordinate of the Point.

Definition at line 41 of file Point.cs.

Member Function Documentation

bool VRageMath.Point.Equals ( Point  other)
inline

Determines whether two Point instances are equal.

Parameters
otherThe 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
objThe 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
aThe Point on the left side of the equal sign.
bThe 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
aPoint on the left side of the equal sign.
bPoint 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.

Member Data Documentation

int VRageMath.Point.X

Specifies the x-coordinate of the Point.

Definition at line 16 of file Point.cs.

int VRageMath.Point.Y

Specifies the y-coordinate of the Point.

Definition at line 20 of file Point.cs.

Property Documentation

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: