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::Plane_2D< F > Class Template Reference

#include <hps.h>

Collaboration diagram for HPS::Plane_2D< F >:

Public Member Functions

 Plane_2D ()
 
 Plane_2D (F v1, F v2, F v3)
 
 Plane_2D (Vector_2D< F > const &v, F f=0)
 
 Plane_2D (Vector_2D< F > const &v, Point_2D< F > const &p)
 
 Plane_2D (Point_2D< F > const &p, Vector_2D< F > const &v)
 
template<typename D >
 Plane_2D (Plane_2D< D > const &that)
 
Plane_2D const operator- () const
 
bool operator== (Plane_2D const &p) const
 
bool operator!= (Plane_2D const &p) const
 
Foperator[] (size_t i)
 
F const & operator[] (size_t i) const
 
HPS_INLINE bool Equals (Plane_2D const &p, int in_tolerance=32) const
 
Plane_2DNormalize (F epsilon=Float_Traits< F >::Epsilon())
 

Static Public Member Functions

static HPS_INLINE Plane_2D Zero ()
 

Public Attributes

F a
 
F b
 
F c
 

Private Member Functions

Plane_2Doperator*= (F s)
 
Plane_2Doperator/= (F s)
 
Plane_2D const operator* (F s) const
 
Plane_2D const operator/ (F s) const
 

Constructor & Destructor Documentation

◆ Plane_2D() [1/6]

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

◆ Plane_2D() [2/6]

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

◆ Plane_2D() [3/6]

template<typename F>
HPS::Plane_2D< F >::Plane_2D ( Vector_2D< F > const &  v,
F  f = 0 
)
inline

◆ Plane_2D() [4/6]

template<typename F>
HPS::Plane_2D< F >::Plane_2D ( Vector_2D< F > const &  v,
Point_2D< F > const &  p 
)
inline

◆ Plane_2D() [5/6]

template<typename F>
HPS::Plane_2D< F >::Plane_2D ( Point_2D< F > const &  p,
Vector_2D< F > const &  v 
)
inline

◆ Plane_2D() [6/6]

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

Member Function Documentation

◆ Equals()

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

◆ Normalize()

template<typename F>
Plane_2D& HPS::Plane_2D< F >::Normalize ( F  epsilon = Float_Traits<F>::Epsilon())
inline
Here is the call graph for this function:

◆ operator!=()

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

◆ operator*()

template<typename F>
Plane_2D const HPS::Plane_2D< F >::operator* ( F  s) const
inlineprivate

◆ operator*=()

template<typename F>
Plane_2D& HPS::Plane_2D< F >::operator*= ( F  s)
inlineprivate

◆ operator-()

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

◆ operator/()

template<typename F>
Plane_2D const HPS::Plane_2D< F >::operator/ ( F  s) const
inlineprivate
Here is the call graph for this function:

◆ operator/=()

template<typename F>
Plane_2D& HPS::Plane_2D< F >::operator/= ( F  s)
inlineprivate

◆ operator==()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ Zero()

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

Member Data Documentation

◆ a

template<typename F>
F HPS::Plane_2D< F >::a

◆ b

template<typename F>
F HPS::Plane_2D< F >::b

◆ c

template<typename F>
F HPS::Plane_2D< F >::c

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