GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Typedefs | Functions
glc_vector3d.h File Reference

interface for the GLC_Vector3d class. More...

#include <QDataStream>
#include "glc_utils_maths.h"
#include "glc_vector3df.h"
#include "glc_vector2d.h"
#include "../glc_config.h"

Go to the source code of this file.

Classes

class  GLC_Vector3d
 GLC_Vector3d is a 3 dimensions Vector. More...
 

Namespaces

namespace  glc
 Definition of usefull constants.
 

Typedefs

typedef GLC_Vector3d GLC_Point3d
 Define GLC_Point3D.
 

Functions

const GLC_Vector3d glc::X_AXIS (1.0, 0.0, 0.0)
 
const GLC_Vector3d glc::Y_AXIS (0.0, 1.0, 0.0)
 
const GLC_Vector3d glc::Z_AXIS (0.0, 0.0, 1.0)
 
QDataStream & operator<< (QDataStream &stream, const GLC_Vector3d &vector)
 Write the vector to stream.
 
QDataStream & operator>> (QDataStream &stream, GLC_Vector3d &vector)
 Read the vector from stream.
 
double getDeterminant3x3 (const double *Mat3x3)
 Return the determinant of the given Matrix 3X3.
 

Detailed Description

interface for the GLC_Vector3d class.

Definition in file glc_vector3d.h.

Typedef Documentation

Define GLC_Point3D.

Definition at line 277 of file glc_vector3d.h.

Function Documentation

double getDeterminant3x3 ( const double *  Mat3x3)
inline

Return the determinant of the given Matrix 3X3.

Definition at line 299 of file glc_vector3d.h.

Referenced by GLC_Matrix4x4::determinant(), GLC_Matrix4x4::getCoMat4x4(), GLC_Matrix4x4::getDeterminantLC(), and GLC_Vector3d::signedAngleWithVect().

QDataStream& operator<< ( QDataStream &  stream,
const GLC_Vector3d vector 
)
inline

Write the vector to stream.

Definition at line 283 of file glc_vector3d.h.

References GLC_Vector3d::x(), GLC_Vector3d::y(), and GLC_Vector3d::z().

QDataStream& operator>> ( QDataStream &  stream,
GLC_Vector3d vector 
)
inline

Read the vector from stream.

Definition at line 290 of file glc_vector3d.h.

References GLC_Vector3d::setVect().

©2005-2013 Laurent Ribon