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

#include <hps.h>

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

Public Member Functions

 Plane_3D ()
 
 Plane_3D (F v1, F v2, F v3, F v4)
 
 Plane_3D (Vector_3D< F > const &v, F f=0)
 
 Plane_3D (Vector_3D< F > const &v, Point_3D< F > const &p)
 
 Plane_3D (Point_3D< F > const &p, Vector_3D< F > const &v)
 
template<typename D >
 Plane_3D (Plane_3D< D > const &that)
 
 Plane_3D (size_t count, Point_3D< F > const *points)
 
Plane_3D const operator- () const
 
bool operator== (Plane_3D const &p) const
 
bool operator!= (Plane_3D const &p) const
 
Foperator[] (size_t i)
 
F const & operator[] (size_t i) const
 
HPS_INLINE bool Equals (Plane_3D const &p, int in_tolerance=32) const
 
Plane_3DNormalize (F epsilon=Float_Traits< F >::Epsilon())
 
Point_3D< FIntersectLineSegment (Point_3D< F > const &p1, Point_3D< F > const &p2, float eps=1e-5f) const
 
Point_3D< FIntersectLineSegment2 (Point_3D< F > const &p1, Point_3D< F > const &p2) const
 

Static Public Member Functions

static HPS_INLINE Plane_3D Zero ()
 

Public Attributes

F a
 
F b
 
F c
 
F d
 

Private Member Functions

Plane_3Doperator*= (F s)
 
Plane_3Doperator/= (F s)
 
Plane_3D const operator* (F s) const
 
Plane_3D const operator/ (F s) const
 

Constructor & Destructor Documentation

◆ Plane_3D() [1/7]

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

◆ Plane_3D() [2/7]

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

◆ Plane_3D() [3/7]

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

◆ Plane_3D() [4/7]

template<typename F>
HPS::Plane_3D< F >::Plane_3D ( Vector_3D< F > const &  v,
Point_3D< F > const &  p 
)
inline

◆ Plane_3D() [5/7]

template<typename F>
HPS::Plane_3D< F >::Plane_3D ( Point_3D< F > const &  p,
Vector_3D< F > const &  v 
)
inline

◆ Plane_3D() [6/7]

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

◆ Plane_3D() [7/7]

template<typename F>
HPS::Plane_3D< F >::Plane_3D ( size_t  count,
Point_3D< F > const *  points 
)
inline

Member Function Documentation

◆ Equals()

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

◆ IntersectLineSegment()

template<typename F>
Point_3D<F> HPS::Plane_3D< F >::IntersectLineSegment ( Point_3D< F > const &  p1,
Point_3D< F > const &  p2,
float  eps = 1e-5f 
) const
inline

◆ IntersectLineSegment2()

template<typename F>
Point_3D<F> HPS::Plane_3D< F >::IntersectLineSegment2 ( Point_3D< F > const &  p1,
Point_3D< F > const &  p2 
) const
inline

◆ Normalize()

template<typename F>
Plane_3D& HPS::Plane_3D< F >::Normalize ( F  epsilon = Float_Traits<F>::Epsilon())
inline

◆ operator!=()

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

◆ operator*()

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

◆ operator*=()

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

◆ operator-()

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

◆ operator/()

template<typename F>
Plane_3D const HPS::Plane_3D< F >::operator/ ( F  s) const
inlineprivate

◆ operator/=()

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

◆ operator==()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ Zero()

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

Member Data Documentation

◆ a

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

◆ b

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

◆ c

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

◆ d

template<typename F>
F HPS::Plane_3D< F >::d

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