Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::Point_3D< F > Class Template Reference

#include <hps.h>

Inheritance diagram for HPS::Point_3D< F >:
Collaboration diagram for HPS::Point_3D< F >:

Public Member Functions

 Point_3D ()
 
 Point_3D (F v1, F v2, F v3)
 
template<typename D >
 Point_3D (Point_3D< D > const &that)
 
 Point_3D (Vector_3D< F > const &v)
 
 Point_3D (Vector_2D< F > const &v)
 
 Point_3D (Point_2D< F > const &that)
 
Point_3D const operator- () const
 
bool operator== (Point_3D const &p) const
 
bool operator!= (Point_3D const &p) const
 
bool Equals (Point_3D const &p, int in_tolerance=32) const
 
Point_3Doperator*= (F s)
 
Point_3Doperator/= (F s)
 
Point_3D const operator* (F s) const
 
Point_3D const operator/ (F s) const
 
Foperator[] (size_t i)
 
F const & operator[] (size_t i) const
 
Point_3Doperator+= (Vector_3D< F > const &v)
 
Point_3Doperator-= (Vector_3D< F > const &v)
 
Point_3Doperator*= (Vector_3D< F > const &v)
 
Point_3Doperator/= (Vector_3D< F > const &v)
 
Point_3D const operator* (Vector_3D< F > const &v) const
 
Point_3D const operator/ (Vector_3D< F > const &v) const
 
Point_3Doperator+= (Vector_2D< F > const &v)
 
Point_3Doperator-= (Vector_2D< F > const &v)
 
Point_3Doperator*= (Vector_2D< F > const &v)
 
Point_3Doperator/= (Vector_2D< F > const &v)
 
Point_3D const operator* (Vector_2D< F > const &v) const
 
Point_3D const operator/ (Vector_2D< F > const &v) const
 
Vector_3D< F > const operator- (Point_3D const &p) const
 
Point_3D const operator+ (Vector_3D< F > const &v) const
 
Point_3D const operator- (Vector_3D< F > const &v) const
 
Point_3D const operator+ (Vector_2D< F > const &v) const
 
Point_3D const operator- (Vector_2D< F > const &v) const
 

Static Public Member Functions

static HPS_INLINE Point_3D Origin ()
 
static HPS_INLINE Point_3D Zero ()
 

Public Attributes

F x
 
F y
 
F z
 

Constructor & Destructor Documentation

◆ Point_3D() [1/6]

template<typename F>
HPS::Point_3D< F >::Point_3D ( )
inline

◆ Point_3D() [2/6]

template<typename F>
HPS::Point_3D< F >::Point_3D ( F  v1,
F  v2,
F  v3 
)
inline

◆ Point_3D() [3/6]

template<typename F>
template<typename D >
HPS::Point_3D< F >::Point_3D ( Point_3D< D > const &  that)
inlineexplicit

◆ Point_3D() [4/6]

template<typename F>
HPS_INLINE HPS::Point_3D< F >::Point_3D ( Vector_3D< F > const &  v)
explicit

◆ Point_3D() [5/6]

template<typename F>
HPS_INLINE HPS::Point_3D< F >::Point_3D ( Vector_2D< F > const &  v)
explicit

◆ Point_3D() [6/6]

template<typename F>
HPS_INLINE HPS::Point_3D< F >::Point_3D ( Point_2D< F > const &  that)
explicit

Member Function Documentation

◆ Equals()

template<typename F>
bool HPS::Point_3D< F >::Equals ( Point_3D< F > const &  p,
int  in_tolerance = 32 
) const
inline

◆ operator!=()

template<typename F>
bool HPS::Point_3D< F >::operator!= ( Point_3D< F > const &  p) const
inline

◆ operator*() [1/3]

template<typename F>
Point_3D const HPS::Point_3D< F >::operator* ( F  s) const
inline

◆ operator*() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator* ( Vector_3D< F > const &  v) const

◆ operator*() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator* ( Vector_2D< F > const &  v) const

◆ operator*=() [1/3]

template<typename F>
Point_3D& HPS::Point_3D< F >::operator*= ( F  s)
inline

◆ operator*=() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator*= ( Vector_3D< F > const &  v)

◆ operator*=() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator*= ( Vector_2D< F > const &  v)

◆ operator+() [1/2]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator+ ( Vector_3D< F > const &  v) const

◆ operator+() [2/2]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator+ ( Vector_2D< F > const &  v) const

◆ operator+=() [1/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator+= ( Vector_3D< F > const &  v)

◆ operator+=() [2/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator+= ( Vector_2D< F > const &  v)

◆ operator-() [1/4]

template<typename F>
Point_3D const HPS::Point_3D< F >::operator- ( ) const
inline

◆ operator-() [2/4]

template<typename F>
Vector_3D<F> const HPS::Point_3D< F >::operator- ( Point_3D< F > const &  p) const

◆ operator-() [3/4]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator- ( Vector_3D< F > const &  v) const

◆ operator-() [4/4]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator- ( Vector_2D< F > const &  v) const

◆ operator-=() [1/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator-= ( Vector_3D< F > const &  v)

◆ operator-=() [2/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator-= ( Vector_2D< F > const &  v)

◆ operator/() [1/3]

template<typename F>
Point_3D const HPS::Point_3D< F >::operator/ ( F  s) const
inline

◆ operator/() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator/ ( Vector_3D< F > const &  v) const

◆ operator/() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator/ ( Vector_2D< F > const &  v) const

◆ operator/=() [1/3]

template<typename F>
Point_3D& HPS::Point_3D< F >::operator/= ( F  s)
inline

◆ operator/=() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator/= ( Vector_3D< F > const &  v)

◆ operator/=() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator/= ( Vector_2D< F > const &  v)

◆ operator==()

template<typename F>
bool HPS::Point_3D< F >::operator== ( Point_3D< F > const &  p) const
inline

◆ operator[]() [1/2]

template<typename F>
F& HPS::Point_3D< F >::operator[] ( size_t  i)
inline

◆ operator[]() [2/2]

template<typename F>
F const& HPS::Point_3D< F >::operator[] ( size_t  i) const
inline

◆ Origin()

template<typename F>
static HPS_INLINE Point_3D HPS::Point_3D< F >::Origin ( )
inlinestatic

◆ Zero()

template<typename F>
static HPS_INLINE Point_3D HPS::Point_3D< F >::Zero ( )
inlinestatic

Member Data Documentation

◆ x

template<typename F>
F HPS::Point_3D< F >::x

◆ y

template<typename F>
F HPS::Point_3D< F >::y

◆ z

template<typename F>
F HPS::Point_3D< F >::z

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