# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::CVectorH Class Reference

Homogeneus vector. More...

#include <vector_h.h>

List of all members.

Public Methods

 CVectorH ()
 Constructor. More...

 CVectorH (float _x, float _y, float _z, float _w)
 Constructor . More...

 CVectorH (const CVectorH &v)
 Copy Constructor. More...

 CVectorH (const CVector &v)
 Constructor using a vector. More...

void set (float _x, float _y, float _z, float _w)
 Set. More...

 operator CVector () const
 Cast operator to a vector(ignoring w). More...

Misc.
bool operator== (const CVectorH &v) const
bool operator!= (const CVectorH &v) const
bool operator< (const CVectorH &v) const
 This operator is here just for map/set insertion(no meaning). comparison order is x,y,z,w. More...


Public Attributes

float x
 Attributes. More...

float y
 Attributes. More...

float z
 Attributes. More...

float w
 Attributes. More...


Detailed Description

Homogeneus vector.

A CVectorH has a fourth value, w.

Author:
Olivier Cado , Nevrax France
Date:
2000

Definition at line 43 of file vector_h.h.


Constructor & Destructor Documentation

NLMISC::CVectorH::CVectorH   [inline]
 

Constructor.

Definition at line 51 of file vector_h.h.

Referenced by CVectorH, operator!=, operator<, and operator==.

NLMISC::CVectorH::CVectorH float    _x,
float    _y,
float    _z,
float    _w
[inline]
 

Constructor .

Definition at line 53 of file vector_h.h.

References w, x, y, and z.

NLMISC::CVectorH::CVectorH const CVectorH &    v [inline]
 

Copy Constructor.

Definition at line 55 of file vector_h.h.

References CVectorH, v, w, x, y, and z.

NLMISC::CVectorH::CVectorH const CVector   v [inline]
 

Constructor using a vector.

Definition at line 57 of file vector_h.h.

References v, w, x, y, and z.


Member Function Documentation

NLMISC::CVectorH::operator CVector   const [inline]
 

Cast operator to a vector(ignoring w).

Definition at line 66 of file vector_h.h.

References x, y, and z.

bool NLMISC::CVectorH::operator!= const CVectorH &    v const [inline]
 

Definition at line 78 of file vector_h.h.

References CVectorH, and v.

bool NLMISC::CVectorH::operator< const CVectorH &    v const [inline]
 

This operator is here just for map/set insertion(no meaning). comparison order is x,y,z,w.

Definition at line 83 of file vector_h.h.

References CVectorH, v, w, x, y, and z.

bool NLMISC::CVectorH::operator== const CVectorH &    v const [inline]
 

Definition at line 74 of file vector_h.h.

References CVectorH, v, w, x, y, and z.

void NLMISC::CVectorH::set float    _x,
float    _y,
float    _z,
float    _w
[inline]
 

Set.

Definition at line 60 of file vector_h.h.

References w, x, y, and z.

Referenced by NL3D::CWaterRenderObs::setupMaterialNVertexShader.


Member Data Documentation

float NLMISC::CVectorH::w
 

Attributes.

Definition at line 48 of file vector_h.h.

Referenced by CVectorH, operator<, operator==, and set.

float NLMISC::CVectorH::x
 

Attributes.

Definition at line 48 of file vector_h.h.

Referenced by CVectorH, operator CVector, operator<, operator==, and set.

float NLMISC::CVectorH::y
 

Attributes.

Definition at line 48 of file vector_h.h.

Referenced by CVectorH, operator CVector, operator<, operator==, and set.

float NLMISC::CVectorH::z
 

Attributes.

Definition at line 48 of file vector_h.h.

Referenced by CVectorH, operator CVector, operator<, operator==, and set.


The documentation for this class was generated from the following file: