GEL  2
GEL is a library for Geometry and Linear Algebra
Public Member Functions
CGLA::Vec3f Class Reference

3D float vector. More...

#include <Vec3f.h>

Inherits CGLA::ArithVec3Float< float, Vec3f >.

List of all members.

Public Member Functions

 Vec3f ()
 Construct 0 vector.
 Vec3f (float a, float b, float c)
 Construct a 3D float vector.
 Vec3f (float a)
 Construct a vector with 3 identical coordinates.
 Vec3f (const Vec3i &v)
 Construct from a 3D int vector.
 Vec3f (const Vec3usi &v)
 Construct from a 3D unsigned int vector.
 Vec3f (const Vec3d &)
 Construct from a 3D double vector.
 Vec3f (const Vec4f &)
 Construct from a 4D float vector (skipping the last value)

Detailed Description

3D float vector.

Class Vec3f is the vector typically used in 3D computer graphics. The class has many constructors since we may need to convert from other vector types. Most of these are explicit to avoid automatic conversion.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations