GenGeo  1.1
LineSegment2D.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2007-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __LINESEGMENT2D_H
14 #define __LINESEGMENT2D_H
15 
16 // --- Project includes ---
17 #include "Line2D.h"
18 
22 class LineSegment2D : public Line2D
23 {
24  public:
25  LineSegment2D();
26  LineSegment2D(const Vector3&,const Vector3&);
27  virtual ~LineSegment2D(){};
28 
29  virtual double getDist(const Vector3&) const;
30 
31  friend ostream& operator<< (ostream&, const LineSegment2D&);
32 };
33 
34 #endif // __LINESEGMENT2D_H