CADability dotNET
The GeoVector type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Bisector |
Returns the bisector vector of the two provided vectors. The result will be normalized (length = 1)
| |
| Cos |
Returns the cosine of the angle between the two vectors. Throws an arithmetic exception if any of the vectors
is the nullvector.
| |
| Equals |
Overrides object.Equals.
(Overrides ValueType..::..Equals(Object).) | |
| GetHashCode |
Overrides object.GetHashCode
(Overrides ValueType..::..GetHashCode()()()().) | |
| GetObjectData | ||
| IsNullVector |
Returns true, if this vector is exactly the nullvector. Use IsNullVector(GeoVector)
if you need more control over precision.
| |
| IsPerpendicular |
Determins whether this vector and the othe vector are perpendicular. Use IsPerpendicular(GeoVector, GeoVector, Boolean)
if you need more control over precision.
| |
| Norm |
Normalizes this vector. After this operation the vector will have the Length 1.0
Throws a GeoVectorException if the vector is the nullvector.
| |
| NormIfNotNull | ||
| Reverse |
Reverses this vector.
| |
| To2D |
Returns the coresponding 2d vector by omitting the z coordinate
| |
| ToString | (Overrides ValueType..::..ToString()()()().) |