module CoordinateVector

Type conversion

to_vector # => Vector

Conversion to 3D Vector

Misc

rotate_by_matrix(rotator) # => Coordinate

Rotation of vector by application of 3x3 matrix

rotate_by_matrix!(rotator) # => nil

In-place rotation of vector by application of 3x3 matrix

CoordinateVector.rotator_from_angle_axis(angle,axis) # => Matrix

Creates rotator matrix from ange (float) and axis (3D vector)

rotate_angle_axis(angle,axis) # => Coordinate

Returns vector rotated by angle (float) around axis (3D vector)

rotate_angle_axis!(angle,axis) # => nil

Rotates vector by angle (float) around axis (3D vector)

Extend 3d vector to allow conversion to coordinate

module Vector3DMethods

to_coordinate # => Coordinate

Conversion of 3D vector to coordinate