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
| Icon | Type | Description |
|---|---|---|
| Add(Point, Point) |
Returns a Point whose coordinates are the sum of
the respective coordinates of two other points.
| |
| Addition(Point, Point) |
Returns a Point whose coordinates are the sum of
the respective coordinates of two other points.
| |
| Distance(Point, Point) |
Returns the Euclidean distance between two points.
| |
| Equality(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() | ||
| FromIntersection(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. | |
| Inequality(Point, Point) |
Compares two Point structures
for inequality.
| |
| ManhattanDistance(Point, Point) |
Returns the "Manhattan distance" between two points.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| Subtract(Point, Point) |
Returns a Point whose coordinates are the differences between
the respective coordinates of two other points.
| |
| Subtraction(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
| Icon | Type | Description |
|---|---|---|
| PointNew(Double, Double) |
Constructs a new point with the specified coordinates.
|