The Point type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| DistanceTo |
Calculate Euclidean distance between two points.
| |
| Divide |
Division operator – divides coordinates of the specified point by scalar value.
| |
| Equals |
Check if this instance of Point equal to the specified one.
(Overrides ValueType..::.Equals(Object).) | |
| EuclideanNorm |
Calculate Euclidean norm of the vector comprised of the point’s
coordinates – distance from (0, 0) in other words.
| |
| GetHashCode |
Get hash code for this instance.
(Overrides ValueType..::.GetHashCode()()().) | |
| Multiply |
Multiplication operator – multiplies coordinates of the specified point by scalar value.
| |
| Round |
Rounds the single precision point.
| |
| SquaredDistanceTo |
Calculate squared Euclidean distance between two points.
| |
| Subtract | Overloaded. | |
| ToString |
Get string representation of the class.
(Overrides ValueType..::.ToString()()().) |
Operators
| Name | Description | |
|---|---|---|
| Addition | Overloaded. | |
| Division |
Division operator – divides coordinates of the specified point by scalar value.
| |
| Equality |
Equality operator – checks if two points have equal coordinates.
| |
| Explicit |
Explicit conversion to IntPoint.
| |
| Implicit |
Implicit conversion to DoublePoint.
| |
| Inequality |
Inequality operator – checks if two points have different coordinates.
| |
| Multiply |
Multiplication operator – multiplies coordinates of the specified point by scalar value.
| |
| Subtraction | Overloaded. |