#include <space.h>
Public Types | |
enum | { Dimension = N } |
Dimension is a constant determines the dimension of the space. More... | |
typedef Point< N, S > | PointType |
type used as point Type | |
typedef S | ScalarType |
the type used as scalar. Typically, float or double, but char or int are possible too. | |
Public Member Functions | |
Box< N, S > const | BBox () const |
the ... | |
PointType | ClosestPoint (PointType const &p) const |
given a point, return the closest point | |
ParamType | GlobalToLocal (ParamType) |
PointType | LocalToGlobal (ParamType) |
Definition at line 57 of file vcg/space/space.h.
typedef Point<N,S> vcg::Space< N, S >::PointType |
type used as point Type
Reimplemented in vcg::Box< N, S >, vcg::Box< 3, int >, and vcg::Box< 3, float >.
Definition at line 64 of file vcg/space/space.h.
typedef S vcg::Space< N, S >::ScalarType |
the type used as scalar. Typically, float or double, but char or int are possible too.
Reimplemented in vcg::Box< N, S >, vcg::Box< 3, int >, and vcg::Box< 3, float >.
Definition at line 62 of file vcg/space/space.h.
anonymous enum |
Dimension is a constant determines the dimension of the space.
Definition at line 60 of file vcg/space/space.h.
Box<N,S> const vcg::Space< N, S >::BBox | ( | ) | const |
the ...
returns the bounding box of the object
PointType vcg::Space< N, S >::ClosestPoint | ( | PointType const & | p | ) | const |
given a point, return the closest point
ParamType vcg::Space< N, S >::GlobalToLocal | ( | ParamType | ) |
PointType vcg::Space< N, S >::LocalToGlobal | ( | ParamType | ) |