Click or drag to resize
VectorExtensions Class
Conversions between 2- and 3-dimensional vectors.
Inheritance Hierarchy
SystemObject
  Slash.Math.Algebra.VectorsVectorExtensions

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static class VectorExtensions

The VectorExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberToVector2F(Vector2I)
Converts a integer vector to a float vector.
Public methodStatic memberToVector2F(Vector3F)
Returns the 2D representation of this 3D vector (i.e. x and y coordinates).
Public methodStatic memberToVector2I
Converts a 3D vector to a 2D vector by removing the Z coordinate.
Public methodStatic memberToVector3F
Returns the 3D representation of this 2D vector and z coordinate.
Top
See Also