Vector2d Structure |
The Vector2d type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Vector2d(Double) |
Constructor for the Vector2d class. Creates a
new vector with coordinates taken from the first two values of the
passed array.
|
![]() |
Vector2d(Double, Double) |
Constructor for the Vector2d class. Creates a
new vector with coordinates specified by the x and y values.
|
Name | Description | |
---|---|---|
![]() |
Angle | |
![]() |
Coordinate | |
![]() |
Length | |
![]() |
LengthSqrd | |
![]() |
X | |
![]() ![]() |
XAxis | |
![]() |
Y | |
![]() ![]() |
YAxis |
Name | Description | |
---|---|---|
![]() |
Add |
Adds this vector to the specified
vector.
|
![]() |
DivideBy |
Divides this vector by the passed value.
|
![]() |
DotProduct |
Returns the dot product of this vector and the
specified vector.
|
![]() |
Equals |
Checks objects for equality.
(Overrides ValueTypeEquals(Object).) |
![]() |
GetAngleTo |
Retrieves the angle between this vector and
the passed vector.
|
![]() |
GetHashCode |
Retrieves the object hash code.
(Overrides ValueTypeGetHashCode.) |
![]() |
GetNormal |
Retrieves the unit vector co-directional to
this vector.
|
![]() |
GetNormal(Tolerance) |
Retrieves the unit vector co-directional to
this vector with respect to a geometric tolerance.
|
![]() |
GetPerpendicularVector |
Retrieves a vector orthogonal to this vector
with ( -y, x) coordinates.
|
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
IsCodirectionalTo(Vector2d) |
Checks whether the passed vector is
co-directional to this vector.
|
![]() |
IsCodirectionalTo(Vector2d, Tolerance) |
Checks whether the passed vector is
co-directional to this vector with respect to a geometric
tolerance.
|
![]() |
IsEqualTo(Vector2d) |
Checks whether the passed vector is equal to
this vector. Vectors are considered equal if all coordinates of
this vector are the same as coordinates of the specified
vector.
|
![]() |
IsEqualTo(Vector2d, Tolerance) |
Checks whether the passed vector is equal to
this vector. Vectors are considered equal if all coordinates of
this vector are the same as coordinates of the specified vector
within geometric tolerance.
|
![]() |
IsParallelTo(Vector2d) |
Checks whether the passed vector is parallel
to this vector.
|
![]() |
IsParallelTo(Vector2d, Tolerance) |
Checks whether the passed vector is parallel
to this vector with respect to a geometric tolerance.
|
![]() |
IsPerpendicularTo(Vector2d) |
Checks whether the passed vector is
perpendicular to this vector.
|
![]() |
IsPerpendicularTo(Vector2d, Tolerance) |
Checks whether the passed vector is
perpendicular to this vector with respect to a geometric
tolerance.
|
![]() |
IsUnitLength |
Checks whether the length of this vector is
1.0.
|
![]() |
IsUnitLength(Tolerance) |
Checks whether the length of this vector is
1.0 with respect to a geometric tolerance.
|
![]() |
IsZeroLength |
Checks whether the length of this vector is
0.0.
|
![]() |
IsZeroLength(Tolerance) |
Checks whether the length of this vector is
0.0 with respect to a geometric tolerance.
|
![]() |
Mirror |
Mirrors this vector about the specified 2D
line.
|
![]() |
MultiplyBy |
Multiplies coordinates of this vector by the
specified value.
|
![]() |
Negate |
Negates this vector by setting it to be equal
to the vector (-x, -y).
|
![]() |
RotateBy |
Rotates vector by the passed angle.
|
![]() |
Subtract |
Subtracts a passed vector from this
vector.
|
![]() |
ToArray | |
![]() |
ToString | (Overrides ValueTypeToString.) |
![]() |
ToString(IFormatProvider) | |
![]() |
ToString(String, IFormatProvider) | |
![]() |
TransformBy |
Name | Description | |
---|---|---|
![]() ![]() |
Addition |
Addition operator for the Vector2d
class.
|
![]() ![]() |
Division |
Division operator for the Vector2d
class.
|
![]() ![]() |
Equality |
Equality operator for the Vector2d
class.
|
![]() ![]() |
Inequality |
Inequality operator for the Vector2d
class.
|
![]() ![]() |
Multiply(Double, Vector2d) |
Multiplication operator for the Vector2d
class.
|
![]() ![]() |
Multiply(Matrix2d, Vector2d) |
Multiplication operator for the Vector2d
class.
|
![]() ![]() |
Multiply(Vector2d, Double) |
Multiplication operator for the Vector2d
class.
|
![]() ![]() |
Subtraction |
Subtraction operator for the Vector2d
class.
|
![]() ![]() |
UnaryNegation |
Negation operator for the Vector2d
class.
|
© Bricsys NV. All rights reserved. |