NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
CVect3< T > Class Template Reference

Search Toolkit Book for CVect3

#include <gui/utils/vect3.hpp>

+ Inheritance diagram for CVect3< T >:
+ Collaboration diagram for CVect3< T >:

Public Types

typedef T TVecType
 

Public Member Functions

 CVect3 ()
 
 CVect3 (T val)
 
 CVect3 (T, T, T)
 
const Toperator[] (int i) const
 
Toperator[] (int i)
 
CVect3< T > & operator+= (T)
 
CVect3< T > & operator+= (const CVect3< T > &)
 
CVect3< T > & operator-= (T)
 
CVect3< T > & operator-= (const CVect3< T > &)
 
CVect3< T > & operator*= (T)
 
CVect3< T > & operator*= (const CVect3< T > &)
 
CVect3< T > & operator/= (T)
 
CVect3< T > & operator/= (const CVect3< T > &)
 
void Set (T x, T y, T z)
 
float Length () const
 
float Length2 () const
 
bool Vanishing () const
 
void Normalize ()
 
CVect3< TDirection () const
 
bool Parallel (const CVect3< T > &) const
 
bool Normal (const CVect3< T > &) const
 
T Dot (const CVect3< T > &) const
 
CVect3< TCross (const CVect3< T > &) const
 
TX ()
 
const TX () const
 
TY ()
 
const TY () const
 
TZ ()
 
const TZ () const
 
const TGetData () const
 

Private Attributes

T m_Xyz [3]
 

Detailed Description

template<class T>
class CVect3< T >

Definition at line 47 of file vect3.hpp.


The documentation for this class was generated from the following files:
Modified on Sun Feb 25 03:06:00 2024 by modify_doxy.py rev. 669887