Point2D Structure

Represents a point in 2D space.

Definition

Namespace: Numerics.NET.Spatial
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
C#
public readonly struct Point2D : IEquatable<Point2D>
Inheritance
Object  →  ValueType  →  Point2D
Implements
IEquatable<Point2D>

Constructors

Point2D Initializes a new instance of the Point2D struct.

Properties

X Gets the x-coordinate of the point.
Y Gets the y-coordinate of the point.

Methods

Equals(Object) Determines whether the specified object is equal to the current instance.
(Overrides ValueType.Equals(Object))
Equals(Point2D) Determines whether the specified Point2D is equal to the current instance.
GetHashCode Returns the hash code for this instance.
(Overrides ValueType.GetHashCode())
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToString Returns a string representation of this point.
(Overrides ValueType.ToString())

Operators

See Also