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::Sphere_3D< F > Struct Template Reference

#include <hps.h>

Collaboration diagram for HPS::Sphere_3D< F >:

Public Member Functions

 Sphere_3D ()
 
template<typename D >
 Sphere_3D (Sphere_3D< D > const &that)
 
 Sphere_3D (Cuboid_3D< F > const &cuboid)
 
 Sphere_3D (Point_3D< F > const &starting_center, F in_radius=0)
 
 Sphere_3D (size_t count, Point_3D< F > const *points)
 
template<typename T >
 Sphere_3D (size_t count, T const *indices, Point_3D< F > const *points)
 
 Sphere_3D (size_t count, Point_3D< F > const *points, Point_3D< F > const &starting_center)
 
template<typename T >
 Sphere_3D (size_t count, T const *indices, Point_3D< F > const *points, Point_3D< F > const &starting_center)
 
HPS_INLINE bool IsValid () const
 
void Invalidate ()
 
HPS_INLINE bool operator== (Sphere_3D const &sphere) const
 
HPS_INLINE bool operator!= (Sphere_3D const &sphere) const
 
HPS_INLINE F Volume () const
 
HPS_INLINE void Merge (Point_3D< F > const &point)
 
HPS_INLINE void Merge (size_t count, Point_3D< F > const *points)
 
HPS_INLINE void Merge (Sphere_3D const &sphere)
 
HPS_INLINE void Merge (Cuboid_3D< F > const &cuboid)
 

Static Public Member Functions

static HPS_INLINE Sphere_3D Invalid ()
 

Public Attributes

Point_3D< Fcenter
 
F radius
 

Private Member Functions

HPS_INLINE void Engulf (size_t count, Point_3D< F > const *points)
 
template<typename T >
HPS_INLINE void Engulf (size_t count, T const *indices, Point_3D< F > const *points)
 

Constructor & Destructor Documentation

◆ Sphere_3D() [1/8]

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

◆ Sphere_3D() [2/8]

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

◆ Sphere_3D() [3/8]

template<typename F>
HPS::Sphere_3D< F >::Sphere_3D ( Cuboid_3D< F > const &  cuboid)
inline
Here is the call graph for this function:

◆ Sphere_3D() [4/8]

template<typename F>
HPS::Sphere_3D< F >::Sphere_3D ( Point_3D< F > const &  starting_center,
F  in_radius = 0 
)
inline

◆ Sphere_3D() [5/8]

template<typename F>
HPS::Sphere_3D< F >::Sphere_3D ( size_t  count,
Point_3D< F > const *  points 
)
inline
Here is the call graph for this function:

◆ Sphere_3D() [6/8]

template<typename F>
template<typename T >
HPS::Sphere_3D< F >::Sphere_3D ( size_t  count,
T const *  indices,
Point_3D< F > const *  points 
)
inline
Here is the call graph for this function:

◆ Sphere_3D() [7/8]

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

◆ Sphere_3D() [8/8]

template<typename F>
template<typename T >
HPS::Sphere_3D< F >::Sphere_3D ( size_t  count,
T const *  indices,
Point_3D< F > const *  points,
Point_3D< F > const &  starting_center 
)
inline

Member Function Documentation

◆ Engulf() [1/2]

template<typename F>
HPS_INLINE void HPS::Sphere_3D< F >::Engulf ( size_t  count,
Point_3D< F > const *  points 
)
inlineprivate

◆ Engulf() [2/2]

template<typename F>
template<typename T >
HPS_INLINE void HPS::Sphere_3D< F >::Engulf ( size_t  count,
T const *  indices,
Point_3D< F > const *  points 
)
inlineprivate

◆ Invalid()

template<typename F>
static HPS_INLINE Sphere_3D HPS::Sphere_3D< F >::Invalid ( )
inlinestatic

◆ Invalidate()

template<typename F>
void HPS::Sphere_3D< F >::Invalidate ( )
inline

◆ IsValid()

template<typename F>
HPS_INLINE bool HPS::Sphere_3D< F >::IsValid ( ) const
inline

◆ Merge() [1/4]

template<typename F>
HPS_INLINE void HPS::Sphere_3D< F >::Merge ( Point_3D< F > const &  point)
inline
Here is the call graph for this function:

◆ Merge() [2/4]

template<typename F>
HPS_INLINE void HPS::Sphere_3D< F >::Merge ( size_t  count,
Point_3D< F > const *  points 
)
inline
Here is the call graph for this function:

◆ Merge() [3/4]

template<typename F>
HPS_INLINE void HPS::Sphere_3D< F >::Merge ( Sphere_3D< F > const &  sphere)
inline
Here is the call graph for this function:

◆ Merge() [4/4]

template<typename F>
HPS_INLINE void HPS::Sphere_3D< F >::Merge ( Cuboid_3D< F > const &  cuboid)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

template<typename F>
HPS_INLINE bool HPS::Sphere_3D< F >::operator!= ( Sphere_3D< F > const &  sphere) const
inline

◆ operator==()

template<typename F>
HPS_INLINE bool HPS::Sphere_3D< F >::operator== ( Sphere_3D< F > const &  sphere) const
inline

◆ Volume()

template<typename F>
HPS_INLINE F HPS::Sphere_3D< F >::Volume ( ) const
inline

Member Data Documentation

◆ center

template<typename F>
Point_3D<F> HPS::Sphere_3D< F >::center

◆ radius

template<typename F>
F HPS::Sphere_3D< F >::radius

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