Design Patterns
shape_interface.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef STRUCTURAL_ADAPTER_SHAPE_INTERFACE_H_
7 #define STRUCTURAL_ADAPTER_SHAPE_INTERFACE_H_
8 
9 #include "../commons/point.h"
10 
11 namespace structural
12 {
13 namespace adapter
14 {
16 {
17  public:
18  virtual ~ShapeInterface() { }
19 
20  virtual void BoundingBox(commons::Point<float>& bottom_left, commons::Point<float>& top_right) const = 0;
21 };
22 }
23 }
24 
25 #endif
26 
Definition: shape_interface.h:11
virtual ~ShapeInterface()
Definition: shape_interface.h:18
Definition: shape_interface.h:15
virtual void BoundingBox(commons::Point< float > &bottom_left, commons::Point< float > &top_right) const =0