SpatiumLib
Geometry.h
Go to the documentation of this file.
1 /*
2  * Program: Spatium Library
3  *
4  * Copyright (C) Martijn Koopman
5  * All Rights Reserved
6  *
7  * This software is distributed WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE.
10  *
11  */
12 
13 #ifndef SPATIUMLIB_IDX_GEOMETRY_H
14 #define SPATIUMLIB_IDX_GEOMETRY_H
15 
16 #include "Bounds.h"
17 
18 namespace spatium {
19 namespace idx {
20 
26 template<typename T, size_t D>
27 class Geometry
28 {
29  Bounds<T,D> bounds() const
30  {
31  return m_bounds;
32  }
33 
34 protected:
36 };
37 
38 } // namespace idx
39 } // namespace spatium
40 
41 #endif // SPATIUMLIB_IDX_GEOMETRY_H
Definition: Vector2.h:19
Bounds< T, D > m_bounds
Definition: Geometry.h:35
Boundaries in D-dimensional space.
Definition: Bounds.h:25
Geometry in D-dimensional space.
Definition: Geometry.h:27