Thea
LineSegment2.hpp
1 //============================================================================
2 //
3 // This file is part of the Thea toolkit.
4 //
5 // This software is distributed under the BSD license, as detailed in the
6 // accompanying LICENSE.txt file. Portions are derived from other works:
7 // their respective licenses and copyright information are reproduced in
8 // LICENSE.txt and/or in the relevant source files.
9 //
10 // Author: Siddhartha Chaudhuri
11 // First version: 2011
12 //
13 //============================================================================
14 
15 #ifndef __Thea_LineSegment2_hpp__
16 #define __Thea_LineSegment2_hpp__
17 
18 #include "Common.hpp"
19 #include "LineSegmentN.hpp"
20 
21 namespace Thea {
22 
23 #ifdef THEA_EXPORT_INSTANTIATION
24  template class THEA_API LineSegmentN<2, Real>;
25 #endif
26 
28 typedef LineSegmentN<2, Real> LineSegment2;
29 
30 } // namespace Thea
31 
32 #endif
LineSegmentN< 2, Real > LineSegment2
The default line segment class in 2-dimensional real space.
Root namespace for the Thea library.