CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
OdTrVisMiniVec3d< DataType > Struct Template Reference

#include <TrVisVector.h>

Inheritance diagram for OdTrVisMiniVec3d< DataType >:
OdTrVisMiniVec2d< DataType >

Public Types

typedef OdTrVisMiniVec2d< DataType > BaseVec
 
- Public Types inherited from OdTrVisMiniVec2d< DataType >
typedef DataType EntryType
 

Public Member Functions

 OdTrVisMiniVec3d ()
 
 OdTrVisMiniVec3d (DataType _x, DataType _y, DataType _z)
 
 OdTrVisMiniVec3d (const BaseVec &xy, DataType _z)
 
template<typename VecType >
 OdTrVisMiniVec3d (const VecType &vec)
 
OdTrVisMiniVec3dset (DataType _x, DataType _y, DataType _z)
 
OdTrVisMiniVec3dset (const BaseVec &xy, DataType _z)
 
template<typename VecType >
OdTrVisMiniVec3dset (const VecType &vec)
 
DataType operator[] (int nAxis) const
 
DataType & operator[] (int nAxis)
 
bool operator== (const OdTrVisMiniVec3d &vec) const
 
bool operator!= (const OdTrVisMiniVec3d &vec) const
 
 operator OdGePoint3d () const
 
 operator OdGeVector3d () const
 
OdTrVisMiniVec3d operator+ (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3doperator+= (const OdTrVisMiniVec3d &vec)
 
OdTrVisMiniVec3d operator- (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3doperator-= (const OdTrVisMiniVec3d &vec)
 
DataType operator* (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3d operator^ (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3doperator*= (DataType val)
 
OdTrVisMiniVec3doperator/= (DataType val)
 
OdTrVisMiniVec3d operator- () const
 
OdTrVisMiniVec3dnegate ()
 
OdTrVisMiniVec3d mul (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3dsetMul (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3d div (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3dsetDiv (const OdTrVisMiniVec3d &vec) const
 
OdTrVisMiniVec3dsetNull ()
 
bool isNull (DataType eps=1.e-8f) const
 
DataType length2 () const
 
DataType length () const
 
OdTrVisMiniVec3d operator~ () const
 
OdTrVisMiniVec3dnormalize (DataType eps=1.e-8f)
 
DataType minimum () const
 
DataType maximum () const
 
OdTrVisMiniVec3dreflect (const OdTrVisMiniVec3d &n)
 
OdTrVisMiniVec3drefract (const OdTrVisMiniVec3d &n, DataType eta, DataType eps=1.e-8f)
 
- Public Member Functions inherited from OdTrVisMiniVec2d< DataType >
 OdTrVisMiniVec2d ()
 
 OdTrVisMiniVec2d (DataType _x, DataType _y)
 
template<typename VecType >
 OdTrVisMiniVec2d (const VecType &vec)
 
OdTrVisMiniVec2dset (DataType _x, DataType _y)
 
template<typename VecType >
OdTrVisMiniVec2dset (const VecType &vec)
 
DataType operator[] (int nAxis) const
 
DataType & operator[] (int nAxis)
 
bool operator== (const OdTrVisMiniVec2d &vec) const
 
bool operator!= (const OdTrVisMiniVec2d &vec) const
 
 operator OdGePoint2d () const
 
 operator OdGeVector2d () const
 
OdTrVisMiniVec2d operator+ (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2doperator+= (const OdTrVisMiniVec2d &vec)
 
OdTrVisMiniVec2d operator- (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2doperator-= (const OdTrVisMiniVec2d &vec)
 
DataType operator* (const OdTrVisMiniVec2d &vec) const
 
DataType operator^ (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2doperator*= (DataType val)
 
OdTrVisMiniVec2doperator/= (DataType val)
 
OdTrVisMiniVec2d operator- () const
 
OdTrVisMiniVec2dnegate ()
 
OdTrVisMiniVec2d mul (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2dsetMul (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2d div (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2dsetDiv (const OdTrVisMiniVec2d &vec) const
 
OdTrVisMiniVec2dsetNull ()
 
bool isNull (DataType eps=1.e-8f) const
 
DataType length2 () const
 
DataType length () const
 
OdTrVisMiniVec2d operator~ () const
 
OdTrVisMiniVec2dnormalize (DataType eps=1.e-8f)
 
DataType minimum () const
 
DataType maximum () const
 

Public Attributes

DataType z
 
- Public Attributes inherited from OdTrVisMiniVec2d< DataType >
DataType x
 
DataType y
 

Friends

OdTrVisMiniVec3d operator* (const OdTrVisMiniVec3d &vec, DataType val)
 
OdTrVisMiniVec3d operator* (DataType val, const OdTrVisMiniVec3d &vec)
 
OdTrVisMiniVec3d operator/ (const OdTrVisMiniVec3d &vec, DataType val)
 
OdTrVisMiniVec3d operator/ (DataType val, const OdTrVisMiniVec3d &vec)
 

Additional Inherited Members

- Static Public Member Functions inherited from OdTrVisMiniVec2d< DataType >
static bool eqTol (float val, float eps=1.e-8f)
 
static bool eqTol (double val, double eps=1.e-10)
 

Detailed Description

template<typename DataType>
struct OdTrVisMiniVec3d< DataType >

Library: Source code provided. <group ExRender_Windows_Classes>

Definition at line 156 of file TrVisVector.h.

Member Typedef Documentation

◆ BaseVec

template<typename DataType >
typedef OdTrVisMiniVec2d<DataType> OdTrVisMiniVec3d< DataType >::BaseVec

Definition at line 160 of file TrVisVector.h.

Constructor & Destructor Documentation

◆ OdTrVisMiniVec3d() [1/4]

template<typename DataType >
OdTrVisMiniVec3d< DataType >::OdTrVisMiniVec3d ( )
inline

Definition at line 162 of file TrVisVector.h.

◆ OdTrVisMiniVec3d() [2/4]

template<typename DataType >
OdTrVisMiniVec3d< DataType >::OdTrVisMiniVec3d ( DataType  _x,
DataType  _y,
DataType  _z 
)
inline

Definition at line 163 of file TrVisVector.h.

◆ OdTrVisMiniVec3d() [3/4]

template<typename DataType >
OdTrVisMiniVec3d< DataType >::OdTrVisMiniVec3d ( const BaseVec xy,
DataType  _z 
)
inline

Definition at line 164 of file TrVisVector.h.

◆ OdTrVisMiniVec3d() [4/4]

template<typename DataType >
template<typename VecType >
OdTrVisMiniVec3d< DataType >::OdTrVisMiniVec3d ( const VecType &  vec)
inline

Definition at line 166 of file TrVisVector.h.

Member Function Documentation

◆ div()

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::div ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 232 of file TrVisVector.h.

◆ isNull()

template<typename DataType >
bool OdTrVisMiniVec3d< DataType >::isNull ( DataType  eps = 1.e-8f) const
inline

Definition at line 240 of file TrVisVector.h.

◆ length()

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::length ( ) const
inline

Definition at line 246 of file TrVisVector.h.

◆ length2()

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::length2 ( ) const
inline

Definition at line 244 of file TrVisVector.h.

◆ maximum()

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::maximum ( ) const
inline

Definition at line 265 of file TrVisVector.h.

◆ minimum()

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::minimum ( ) const
inline

Definition at line 263 of file TrVisVector.h.

◆ mul()

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::mul ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 228 of file TrVisVector.h.

◆ negate()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::negate ( )
inline

Definition at line 225 of file TrVisVector.h.

◆ normalize()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::normalize ( DataType  eps = 1.e-8f)
inline

Definition at line 252 of file TrVisVector.h.

◆ operator OdGePoint3d()

template<typename DataType >
OdTrVisMiniVec3d< DataType >::operator OdGePoint3d ( ) const
inline

Definition at line 190 of file TrVisVector.h.

◆ operator OdGeVector3d()

template<typename DataType >
OdTrVisMiniVec3d< DataType >::operator OdGeVector3d ( ) const
inline

Definition at line 191 of file TrVisVector.h.

◆ operator!=()

template<typename DataType >
bool OdTrVisMiniVec3d< DataType >::operator!= ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 186 of file TrVisVector.h.

◆ operator*()

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::operator* ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 204 of file TrVisVector.h.

◆ operator*=()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::operator*= ( DataType  val)
inline

Definition at line 214 of file TrVisVector.h.

◆ operator+()

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::operator+ ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 194 of file TrVisVector.h.

◆ operator+=()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::operator+= ( const OdTrVisMiniVec3d< DataType > &  vec)
inline

Definition at line 196 of file TrVisVector.h.

◆ operator-() [1/2]

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::operator- ( ) const
inline

Definition at line 224 of file TrVisVector.h.

◆ operator-() [2/2]

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::operator- ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 198 of file TrVisVector.h.

◆ operator-=()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::operator-= ( const OdTrVisMiniVec3d< DataType > &  vec)
inline

Definition at line 200 of file TrVisVector.h.

◆ operator/=()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::operator/= ( DataType  val)
inline

Definition at line 220 of file TrVisVector.h.

◆ operator==()

template<typename DataType >
bool OdTrVisMiniVec3d< DataType >::operator== ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 184 of file TrVisVector.h.

◆ operator[]() [1/2]

template<typename DataType >
DataType & OdTrVisMiniVec3d< DataType >::operator[] ( int  nAxis)
inline

Definition at line 180 of file TrVisVector.h.

◆ operator[]() [2/2]

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::operator[] ( int  nAxis) const
inline

Definition at line 178 of file TrVisVector.h.

◆ operator^()

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::operator^ ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 206 of file TrVisVector.h.

◆ operator~()

template<typename DataType >
OdTrVisMiniVec3d OdTrVisMiniVec3d< DataType >::operator~ ( ) const
inline

Definition at line 250 of file TrVisVector.h.

◆ reflect()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::reflect ( const OdTrVisMiniVec3d< DataType > &  n)
inline

Definition at line 269 of file TrVisVector.h.

◆ refract()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::refract ( const OdTrVisMiniVec3d< DataType > &  n,
DataType  eta,
DataType  eps = 1.e-8f 
)
inline

Definition at line 273 of file TrVisVector.h.

◆ set() [1/3]

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::set ( const BaseVec xy,
DataType  _z 
)
inline

Definition at line 171 of file TrVisVector.h.

◆ set() [2/3]

template<typename DataType >
template<typename VecType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::set ( const VecType &  vec)
inline

Definition at line 174 of file TrVisVector.h.

◆ set() [3/3]

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::set ( DataType  _x,
DataType  _y,
DataType  _z 
)
inline

Definition at line 169 of file TrVisVector.h.

◆ setDiv()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::setDiv ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 234 of file TrVisVector.h.

◆ setMul()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::setMul ( const OdTrVisMiniVec3d< DataType > &  vec) const
inline

Definition at line 230 of file TrVisVector.h.

◆ setNull()

template<typename DataType >
OdTrVisMiniVec3d & OdTrVisMiniVec3d< DataType >::setNull ( )
inline

Definition at line 238 of file TrVisVector.h.

Friends And Related Function Documentation

◆ operator* [1/2]

template<typename DataType >
OdTrVisMiniVec3d operator* ( const OdTrVisMiniVec3d< DataType > &  vec,
DataType  val 
)
friend

Definition at line 210 of file TrVisVector.h.

◆ operator* [2/2]

template<typename DataType >
OdTrVisMiniVec3d operator* ( DataType  val,
const OdTrVisMiniVec3d< DataType > &  vec 
)
friend

Definition at line 212 of file TrVisVector.h.

◆ operator/ [1/2]

template<typename DataType >
OdTrVisMiniVec3d operator/ ( const OdTrVisMiniVec3d< DataType > &  vec,
DataType  val 
)
friend

Definition at line 216 of file TrVisVector.h.

◆ operator/ [2/2]

template<typename DataType >
OdTrVisMiniVec3d operator/ ( DataType  val,
const OdTrVisMiniVec3d< DataType > &  vec 
)
friend

Definition at line 218 of file TrVisVector.h.

Member Data Documentation

◆ z

template<typename DataType >
DataType OdTrVisMiniVec3d< DataType >::z

Definition at line 158 of file TrVisVector.h.


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