Sphere_3D

template<typename F>
struct HPS::Sphere_3D

Public Functions

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

Public Members

Point_3D<F> center
F radius

Public Static Functions

static inline HPS_INLINE Sphere_3D Invalid ()