CADability dotNET

The GeoVector type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBisector
Returns the bisector vector of the two provided vectors. The result will be normalized (length = 1)
Public methodStatic memberCos
Returns the cosine of the angle between the two vectors. Throws an arithmetic exception if any of the vectors is the nullvector.
Public methodEquals
Overrides object.Equals.
(Overrides ValueType..::..Equals(Object).)
Public methodGetHashCode
Overrides object.GetHashCode
(Overrides ValueType..::..GetHashCode()()()().)
Public methodGetObjectData
Public methodIsNullVector
Returns true, if this vector is exactly the nullvector. Use IsNullVector(GeoVector) if you need more control over precision.
Public methodIsPerpendicular
Determins whether this vector and the othe vector are perpendicular. Use IsPerpendicular(GeoVector, GeoVector, Boolean) if you need more control over precision.
Public methodNorm
Normalizes this vector. After this operation the vector will have the Length 1.0 Throws a GeoVectorException if the vector is the nullvector.
Public methodNormIfNotNull
Public methodReverse
Reverses this vector.
Public methodTo2D
Returns the coresponding 2d vector by omitting the z coordinate
Public methodToString (Overrides ValueType..::..ToString()()()().)

See Also