Class Point2D

Point2D class

The 2D point.

public class Point2D : IEquatable<Point2D>

Constructors

NameDescription
Point2D()The default constructor.
Point2D(double, double)Initializes a new instance of the Point2D class.

Properties

NameDescription
X { get; set; }Gets or sets the x.
Y { get; set; }Gets or sets the y.

Methods

NameDescription
Distance(Point2D)
override Equals(object)
virtual Equals(Point2D)
override GetHashCode()
static Distance(Point2D, Point2D)Gets distance between points
operator ==
operator !=

See Also