Point2d Structure |
The Point2d type exposes the following members.
| Name | Description | |
|---|---|---|
| Point2d(Double) |
Constructor for the Point2d class. Creates a
new point with coordinates taken from the first two values of the
passed array.
|
|
| Point2d(Double, Double) |
Constructor for the Point2d class. Creates a
new point with coordinates specified by the x and y values.
|
| Name | Description | |
|---|---|---|
| Coordinate | ||
| Origin | ||
| X | ||
| Y |
| Name | Description | |
|---|---|---|
| Add |
Returns a new point as the result of adding
this point to the specified two-dimensional vector.
|
|
| DivideBy |
Returns a new point as the result of dividing
this point's coordinates by the specified value.
|
|
| Equals |
Checks objects for equality.
(Overrides ValueTypeEquals(Object).) |
|
| GetAsVector |
Returns this point as a vector.
|
|
| GetDistanceTo |
Retrieves the distance from this point to the
specified point.
|
|
| GetHashCode |
Retrieves the object hash code.
(Overrides ValueTypeGetHashCode.) |
|
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
| GetVectorTo |
Retrieves the vector with respect to the
specified point.
|
|
| IsEqualTo(Point2d) |
Checks points for equality.
|
|
| IsEqualTo(Point2d, Tolerance) |
Checks points for equality with respect to the
specified tolerance.
|
|
| Mirror |
Mirrors this point about the specified 2D
line.
|
|
| MultiplyBy |
Multiplies coordinates of this point by the
passed value.
|
|
| RotateBy |
Rotates this point about the specified point
by the specified angle.
|
|
| ScaleBy |
Scales this point by the scale factor about
the specified point.
|
|
| Subtract |
Subtracts the specified value from each
coordinate of this point and returns the resulting point.
|
|
| ToArray | ||
| ToString | (Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) | ||
| ToString(String, IFormatProvider) | ||
| TransformBy |
| Name | Description | |
|---|---|---|
| Addition |
Addition operator for the Point2d class.
|
|
| Division |
Division operator for the Point2d class.
|
|
| Equality |
Equality operator for the Point2d class.
|
|
| Inequality |
Inequality operator for the Point2d
class.
|
|
| Multiply(Double, Point2d) |
Multiplication operator for the Point2d
class.
|
|
| Multiply(Matrix2d, Point2d) |
Multiplication operator for the Point2d
class.
|
|
| Multiply(Point2d, Double) |
Multiplication operator for the Point2d
class.
|
|
| Subtraction(Point2d, Point2d) |
Subtraction operator for the Point2d
class.
|
|
| Subtraction(Point2d, Vector2d) |
Subtraction operator for the Point2d
class.
|
| © Bricsys NV. All rights reserved. |