vcg::Space< N, S > Class Template Reference

#include <space.h>

Inheritance diagram for vcg::Space< N, S >:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

template<int N, class S>
class vcg::Space< N, S >

Definition at line 57 of file vcg/space/space.h.


Member Typedef Documentation

template<int N, class S>
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.

template<int N, class S>
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.


Member Enumeration Documentation

template<int N, class S>
anonymous enum

Dimension is a constant determines the dimension of the space.

Enumerator:
Dimension 

Definition at line 60 of file vcg/space/space.h.


Member Function Documentation

template<int N, class S>
Box<N,S> const vcg::Space< N, S >::BBox (  )  const

the ...

returns the bounding box of the object

template<int N, class S>
PointType vcg::Space< N, S >::ClosestPoint ( PointType const &  p  )  const

given a point, return the closest point

template<int N, class S>
ParamType vcg::Space< N, S >::GlobalToLocal ( ParamType   ) 
template<int N, class S>
PointType vcg::Space< N, S >::LocalToGlobal ( ParamType   ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:05 2013