Represent a point in a two-dimensional plane.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Structure Point
C#
public struct Point
C++
public value class Point

Methods

IconTypeDescription
static memberAdd(Point, Point)
Returns a Point whose coordinates are the sum of the respective coordinates of two other points.
static memberAddition(Point, Point)
Returns a Point whose coordinates are the sum of the respective coordinates of two other points.
static memberDistance(Point, Point)
Returns the Euclidean distance between two points.
static memberEquality(Point, Point)
Compares two Point structures for equality.
Equals(Object)
Overridden. Returns a value indicating whether this instance is equal to a specified object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
static memberFromIntersection(Line, Line)
Returns a Point that is the intersection of two Line curves.
GetHashCode()
Overridden. Returns the hash code for this instance.
GetType()
Gets the Type of the current instance.
static memberInequality(Point, Point)
Compares two Point structures for inequality.
static memberManhattanDistance(Point, Point)
Returns the "Manhattan distance" between two points.
MemberwiseClone()
Creates a shallow copy of the current Object.
static memberSubtract(Point, Point)
Returns a Point whose coordinates are the differences between the respective coordinates of two other points.
static memberSubtraction(Point, Point)
Returns a Point whose coordinates are the differences between the respective coordinates of two other points.
ToString()
Returns the fully qualified type name of this instance.

Constructors

IconTypeDescription
PointNew(Double, Double)
Constructs a new point with the specified coordinates.

Properties

IconTypeDescription
X
Gets the X-coordinate of the point.
Y
Gets the Y-coordinate of the point.