GeVector Class |
Namespace: FDF.Common.Geometries
The GeVector type exposes the following members.
Name | Description | |
---|---|---|
GeVector |
Initializes a new instance of the empty vector.
| |
GeVector(GeCoordinate) |
Initializes a new instance of the radius (position) vector
between the origin and specified coordinate.
| |
GeVector(GeVector) |
Initializes a new instance based on the specified vector.
| |
GeVector(IGeLineSegment) |
Initializes a new instance of vector using specified
line, assuming that the direction is from the start point
to the end point, and using start point as the origin.
| |
GeVector(Double, Double) |
Initializes a new instance of the 2D vector.
| |
GeVector(GeCoordinate, GeCoordinate) |
Initializes a new instance of vector using two specified
coordinates, assuming that the direction is from the
tip to the tail, and using tip as the origin.
| |
GeVector(GeVector, Double) |
Initializes a new instance based on the specified vector
and specified magnitude.
| |
GeVector(IGePlane, GeVector) |
Initializes a new instance of the vector using 2D plane
and specified vector representing axis normal to the plane.
| |
GeVector(Double, Double, Double) |
Initializes a new instance of the 3D vector.
| |
GeVector(GeCoordinate, GeAngle, GeAngle) | Initializes a new instance of the GeVector class | |
GeVector(GeCoordinate, GeCoordinate, GeCoordinate) |
Initializes a new instance of the unit normal vector
specified by three coordinates.
| |
GeVector(Double, Double, Double, Double) |
Initializes a new instance of the 2D vector.
| |
GeVector(Double, Double, Double, Double, Double, Double) |
Initializes a new instance of the 3D vector.
|
Name | Description | |
---|---|---|
IsEmpty |
Returns True if object instance is considered empty,
otherwise returns False.
| |
Magnitude |
Returns vector magnitude (intensity, length or norm).
| |
Phi |
Returns angle of this vector from X-Y plane.
| |
Theta |
Returns angle of this vector in X-Y plane.
| |
X |
Gets or sets X component.
| |
Y |
Gets or sets Y component.
| |
Z |
Gets or sets Z component.
|
Name | Description | |
---|---|---|
AngleTo(GePlane) | ||
AngleTo(GeVector) |
Returns angle in [0,Pi] range between
this vector and specified vector.
| |
AngleTo(GeVector, GeVector) |
Returns angle in [0,2*Pi] range between
this vector and specified vector, also
using reference vector.
| |
Bisection |
Returns angular bisector vector of this vector
and specifed vector.
| |
Clone | Creates a new object that is a copy of the current instance. | |
CrossProduct |
Returns cross (outer) product of this vector and specified vector.
| |
DotProduct |
Returns dot (inner) product of this vector and specified vector.
| |
Empty |
Returns empty (zero, identity or null) vector.
| |
Equals(GeVector) | Indicates whether the current object is equal to another object of the same type. | |
Equals(GeVector, GeDimensionality, GeLength, GeSpatialComparision) |
Indicates whether the current object is equal to another object of the same type.
| |
IsCodirectionalTo |
Returns True if this vector is codirectional to specified
vector, otherwise returns False.
| |
IsCoplanarTo |
Returns True if this vector and two other specified
vectors lie in the same
plane, otherwise returns False.
| |
IsNormalized |
Returns True if this vector is equal to its normalization,
otherwise returns False.
| |
IsParallelTo |
Returns True if this vector is parallel to specified
vector, otherwise returns False.
| |
IsPerpendicularTo |
Returns True if this vector is perpendicular to specified
vector, otherwise returns False.
| |
IsValid |
Returns True if object instance is considered valid,
otherwise returns False.
| |
Negate |
Returns a vector being result of this vector's negation.
Resulting vector has the same magnitude as before, but its direction is now opposite.
| |
Normalize |
Returns unit vector codirectional to this vector.
| |
Perpendicular |
Returns a vector orthogonal to this vector.
| |
Perpendicular(IGePlane) |
Returns a vector orthogonal to both this vector
and the specified plane normal vector.
Resulting perpendicular vector sits in the specified plane.
| |
ScalarTripleProduct |
Returns scalar triple (box) product of this vector and specified vectors.
| |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) | |
ToString(Int32) |
Returns a String that represents the specified
ordinate ordinal (index).
| |
ToString(GeDimensionality, String, IFormatProvider) | ||
Transform | ||
XAxis |
Returns vector (1, 0, 0) or X-axis vector.
| |
YAxis |
Returns vector (0, 1, 0) or Y-axis vector.
| |
ZAxis |
Returns vector (0, 0, 1) or Z-axis vector.
|
Name | Description | |
---|---|---|
Addition |
Returns the sum of two vectors.
| |
Division(GeVector, GeVector) |
Returns the quotient of two vectors.
| |
Division(GeVector, Double) |
Returns the quotient of a vector and a scalar.
| |
Equality |
Returns True if two vectors are equal, otherwise returns False.
| |
Inequality |
Returns True if two vectors are not equal, otherwise returns False.
| |
Multiply(GeVector, GeVector) |
Returns the product of two vectors.
| |
Multiply(GeVector, Double) |
Returns the product of a vector and a scalar.
| |
Subtraction |
Returns the difference between two vectors.
| |
UnaryNegation |
Returns a negated vector.
|