src/work/athos/xy/boundingbox.h
changeset 243 a85fd87460e3
parent 240 4a1d2e642552
equal deleted inserted replaced
0:11d4889d0d18 1:408dfb7090db
     1 // -*- c++ -*-
     1 // -*- c++ -*-
     2 /**
       
     3 Implementation of a bounding box of plainvectors.
       
     4 
       
     5 */
       
     6 #ifndef HUGO_BOUNDINGBOX_H
     2 #ifndef HUGO_BOUNDINGBOX_H
     7 #define HUGO_BOUNDINGBOX_H
     3 #define HUGO_BOUNDINGBOX_H
     8 
     4 
     9 
     5 
    10 #include <xy.h>
     6 #include <xy.h>
    11 
     7 
    12 namespace hugo {
     8 namespace hugo {
    13 
     9 
       
    10   /** \brief
       
    11      Implementation of a bounding box of plainvectors.
       
    12      
       
    13   */
    14   template<typename T>
    14   template<typename T>
    15     class BoundingBox {
    15     class BoundingBox {
    16       xy<T> bottomleft, topright;
    16       xy<T> bottomleft, topright;
    17       bool _empty;
    17       bool _empty;
    18     public:
    18     public: