Bullet Collision Detection & Physics Library
Public Member Functions | Private Attributes | List of all members
Vectormath::Aos::Point3 Class Reference

#include <vectormath_aos.h>

Public Member Functions

 Point3 ()
 
 Point3 (const Point3 &pnt)
 
 Point3 (float x, float y, float z)
 
 Point3 (const Vector3 &vec)
 
 Point3 (float scalar)
 
Point3operator= (const Point3 &pnt)
 
Point3setX (float x)
 
Point3setY (float y)
 
Point3setZ (float z)
 
float getX () const
 
float getY () const
 
float getZ () const
 
Point3setElem (int idx, float value)
 
float getElem (int idx) const
 
float & operator[] (int idx)
 
float operator[] (int idx) const
 
const Vector3 operator- (const Point3 &pnt) const
 
const Point3 operator+ (const Vector3 &vec) const
 
const Point3 operator- (const Vector3 &vec) const
 
Point3operator+= (const Vector3 &vec)
 
Point3operator-= (const Vector3 &vec)
 
 Point3 ()
 
 Point3 (const Point3 &pnt)
 
 Point3 (float x, float y, float z)
 
 Point3 (const Vector3 &vec)
 
 Point3 (float scalar)
 
Point3operator= (const Point3 &pnt)
 
Point3setX (float x)
 
Point3setY (float y)
 
Point3setZ (float z)
 
float getX () const
 
float getY () const
 
float getZ () const
 
Point3setElem (int idx, float value)
 
float getElem (int idx) const
 
float & operator[] (int idx)
 
float operator[] (int idx) const
 
const Vector3 operator- (const Point3 &pnt) const
 
const Point3 operator+ (const Vector3 &vec) const
 
const Point3 operator- (const Vector3 &vec) const
 
Point3operator+= (const Vector3 &vec)
 
Point3operator-= (const Vector3 &vec)
 
 Point3 ()
 
 Point3 (float x, float y, float z)
 
 Point3 (const floatInVec &x, const floatInVec &y, const floatInVec &z)
 
 Point3 (const Vector3 &vec)
 
 Point3 (float scalar)
 
 Point3 (const floatInVec &scalar)
 
 Point3 (__m128 vf4)
 
__m128 get128 () const
 
Point3operator= (const Point3 &pnt)
 
Point3setX (float x)
 
Point3setY (float y)
 
Point3setZ (float z)
 
Point3setX (const floatInVec &x)
 
Point3setY (const floatInVec &y)
 
Point3setZ (const floatInVec &z)
 
const floatInVec getX () const
 
const floatInVec getY () const
 
const floatInVec getZ () const
 
Point3setElem (int idx, float value)
 
Point3setElem (int idx, const floatInVec &value)
 
const floatInVec getElem (int idx) const
 
VecIdx operator[] (int idx)
 
const floatInVec operator[] (int idx) const
 
const Vector3 operator- (const Point3 &pnt) const
 
const Point3 operator+ (const Vector3 &vec) const
 
const Point3 operator- (const Vector3 &vec) const
 
Point3operator+= (const Vector3 &vec)
 
Point3operator-= (const Vector3 &vec)
 

Private Attributes

float mX
 
float mY
 
float mZ
 
float d
 
__m128 mVec128
 

Detailed Description

Definition at line 634 of file neon/vectormath_aos.h.

Constructor & Destructor Documentation

Vectormath::Aos::Point3::Point3 ( )
inline

Definition at line 646 of file neon/vectormath_aos.h.

Vectormath::Aos::Point3::Point3 ( const Point3 pnt)
inline

Definition at line 1034 of file neon/vec_aos.h.

Vectormath::Aos::Point3::Point3 ( float  x,
float  y,
float  z 
)
inline

Definition at line 1041 of file neon/vec_aos.h.

Vectormath::Aos::Point3::Point3 ( const Vector3 vec)
inlineexplicit

Definition at line 1048 of file neon/vec_aos.h.

Vectormath::Aos::Point3::Point3 ( float  scalar)
inlineexplicit

Definition at line 1055 of file neon/vec_aos.h.

Vectormath::Aos::Point3::Point3 ( )
inline

Definition at line 644 of file scalar/vectormath_aos.h.

Vectormath::Aos::Point3::Point3 ( const Point3 pnt)
inline
Vectormath::Aos::Point3::Point3 ( float  x,
float  y,
float  z 
)
inline
Vectormath::Aos::Point3::Point3 ( const Vector3 vec)
inlineexplicit
Vectormath::Aos::Point3::Point3 ( float  scalar)
inlineexplicit
Vectormath::Aos::Point3::Point3 ( )
inline

Definition at line 1079 of file sse/vectormath_aos.h.

Vectormath::Aos::Point3::Point3 ( float  x,
float  y,
float  z 
)
inline
Vectormath::Aos::Point3::Point3 ( const floatInVec x,
const floatInVec y,
const floatInVec z 
)
inline

Definition at line 1135 of file sse/vec_aos.h.

Vectormath::Aos::Point3::Point3 ( const Vector3 vec)
inlineexplicit
Vectormath::Aos::Point3::Point3 ( float  scalar)
inlineexplicit
Vectormath::Aos::Point3::Point3 ( const floatInVec scalar)
inlineexplicit

Definition at line 1150 of file sse/vec_aos.h.

Vectormath::Aos::Point3::Point3 ( __m128  vf4)
inlineexplicit

Definition at line 1155 of file sse/vec_aos.h.

Member Function Documentation

__m128 Vectormath::Aos::Point3::get128 ( ) const
inline

Definition at line 1170 of file sse/vec_aos.h.

float Vectormath::Aos::Point3::getElem ( int  idx) const
inline
const floatInVec Vectormath::Aos::Point3::getElem ( int  idx) const
inline

Definition at line 1202 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Point3::getElem ( int  idx) const
inline
float Vectormath::Aos::Point3::getX ( ) const
inline
const floatInVec Vectormath::Aos::Point3::getX ( ) const
inline

Definition at line 1169 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Point3::getX ( ) const
inline
float Vectormath::Aos::Point3::getY ( ) const
inline
const floatInVec Vectormath::Aos::Point3::getY ( ) const
inline

Definition at line 1180 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Point3::getY ( ) const
inline
float Vectormath::Aos::Point3::getZ ( ) const
inline
const floatInVec Vectormath::Aos::Point3::getZ ( ) const
inline

Definition at line 1191 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Point3::getZ ( ) const
inline
const Point3 Vectormath::Aos::Point3::operator+ ( const Vector3 vec) const
inline
const Point3 Vectormath::Aos::Point3::operator+ ( const Vector3 vec) const
inline

Definition at line 1226 of file neon/vec_aos.h.

const Point3 Vectormath::Aos::Point3::operator+ ( const Vector3 vec) const
inline
Point3& Vectormath::Aos::Point3::operator+= ( const Vector3 vec)
inline
Point3 & Vectormath::Aos::Point3::operator+= ( const Vector3 vec)
inline

Definition at line 1244 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::operator+= ( const Vector3 vec)
inline
const Vector3 Vectormath::Aos::Point3::operator- ( const Point3 pnt) const
inline
const Vector3 Vectormath::Aos::Point3::operator- ( const Point3 pnt) const
inline

Definition at line 1217 of file neon/vec_aos.h.

const Point3 Vectormath::Aos::Point3::operator- ( const Vector3 vec) const
inline
const Point3 Vectormath::Aos::Point3::operator- ( const Vector3 vec) const
inline

Definition at line 1235 of file neon/vec_aos.h.

const Vector3 Vectormath::Aos::Point3::operator- ( const Point3 pnt) const
inline
const Point3 Vectormath::Aos::Point3::operator- ( const Vector3 vec) const
inline
Point3& Vectormath::Aos::Point3::operator-= ( const Vector3 vec)
inline
Point3 & Vectormath::Aos::Point3::operator-= ( const Vector3 vec)
inline

Definition at line 1250 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::operator-= ( const Vector3 vec)
inline
Point3& Vectormath::Aos::Point3::operator= ( const Point3 pnt)
inline
Point3 & Vectormath::Aos::Point3::operator= ( const Point3 pnt)
inline

Definition at line 1155 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::operator= ( const Point3 pnt)
inline
float& Vectormath::Aos::Point3::operator[] ( int  idx)
inline
VecIdx Vectormath::Aos::Point3::operator[] ( int  idx)
inline

Definition at line 1207 of file neon/vec_aos.h.

float Vectormath::Aos::Point3::operator[] ( int  idx) const
inline
const floatInVec Vectormath::Aos::Point3::operator[] ( int  idx) const
inline

Definition at line 1212 of file neon/vec_aos.h.

VecIdx Vectormath::Aos::Point3::operator[] ( int  idx)
inline
const floatInVec Vectormath::Aos::Point3::operator[] ( int  idx) const
inline
Point3& Vectormath::Aos::Point3::setElem ( int  idx,
float  value 
)
inline
Point3 & Vectormath::Aos::Point3::setElem ( int  idx,
float  value 
)
inline

Definition at line 1196 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::setElem ( int  idx,
float  value 
)
inline
Point3 & Vectormath::Aos::Point3::setElem ( int  idx,
const floatInVec value 
)
inline

Definition at line 1281 of file sse/vec_aos.h.

Point3& Vectormath::Aos::Point3::setX ( float  x)
inline
Point3 & Vectormath::Aos::Point3::setX ( float  x)
inline

Definition at line 1163 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::setX ( float  x)
inline
Point3 & Vectormath::Aos::Point3::setX ( const floatInVec x)
inline

Definition at line 1230 of file sse/vec_aos.h.

Point3& Vectormath::Aos::Point3::setY ( float  y)
inline
Point3 & Vectormath::Aos::Point3::setY ( float  y)
inline

Definition at line 1174 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::setY ( float  y)
inline
Point3 & Vectormath::Aos::Point3::setY ( const floatInVec y)
inline

Definition at line 1247 of file sse/vec_aos.h.

Point3& Vectormath::Aos::Point3::setZ ( float  z)
inline
Point3 & Vectormath::Aos::Point3::setZ ( float  z)
inline

Definition at line 1185 of file neon/vec_aos.h.

Point3& Vectormath::Aos::Point3::setZ ( float  z)
inline
Point3 & Vectormath::Aos::Point3::setZ ( const floatInVec z)
inline

Definition at line 1264 of file sse/vec_aos.h.

Member Data Documentation

float Vectormath::Aos::Point3::d
private

Definition at line 640 of file neon/vectormath_aos.h.

__m128 Vectormath::Aos::Point3::mVec128
private

Definition at line 1074 of file sse/vectormath_aos.h.

float Vectormath::Aos::Point3::mX
private

Definition at line 636 of file neon/vectormath_aos.h.

float Vectormath::Aos::Point3::mY
private

Definition at line 637 of file neon/vectormath_aos.h.

float Vectormath::Aos::Point3::mZ
private

Definition at line 638 of file neon/vectormath_aos.h.


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