Public Types | Public Member Functions | Protected Attributes
vcg::Sphere3< T > Class Template Reference

#include <sphere3.h>

List of all members.

Public Types

typedef T ScalarType

Public Member Functions

void Add (const Point3< T > &p)
void Add (const Sphere3 &sphere)
Point3< T > & Center ()
const Point3< T > & Center () const
int CreateFromBox (int n, const Point3< T > *points)
int CreateTight (int n, const Point3< T > *points, T threshold=1.01, T speed=0.6)
int CreateTight (const std::vector< Point3< T > > &points, T threshold=1.01, T speed=0.6)
void Intersect (const Sphere3 &sphere)
bool IsEmpty () const
bool IsIn (const Point3< T > &p) const
 return true if
bool IsIn (const Sphere3< T > &p) const
TRadius ()
const TRadius () const
 Sphere3 ()
 Sphere3 (const Point3< T > &center, T radius)

Protected Attributes

Point3< T_center
T _radius

Detailed Description

template<class T>
class vcg::Sphere3< T >

Templated class for 3D sphere. This is the class for definition of a sphere in 3D space. It is stored just as a Point3 and a radius

Parameters:
T(template parameter) Specifies the type of scalar used to represent coords. Various policy could be added to improve efficience (keeping square of radius for instance).

Definition at line 75 of file sphere3.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:20