Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Point

Morten Aune Lyrstad edited this page Apr 16, 2022 · 49 revisions

IndexNamespace Index

Point Struct

public struct Point: IEquatable<Point>

Defines a point in 2D space.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

int X

Specifies the x-coordinate of the Point.

int Y

Specifies the y-coordinate of the Point.

Properties

static Point Zero { get; }

Returns the point (0,0).

Constructors

Point(int x, int y)

Methods

bool Equals(Point other)

Determines whether two Point instances are equal.

bool Equals(object obj)

Determines whether two Point instances are equal.

int GetHashCode()

Gets the hash code for this object.

string ToString()

Returns a String that represents the current Point.

Clone this wiki locally