Newer
Older
orange2022 / src / openslam_gmapping / include / gmapping / utils / orientedboundingbox.h
#ifndef  ORIENTENDBOUNDINGBOX_H
#define  ORIENTENDBOUNDINGBOX_H


#include <stdio.h>
#include <math.h>

#include <gmapping/utils/point.h>

namespace GMapping{

template<class NUMERIC>
class OrientedBoundingBox {

 public:
  OrientedBoundingBox(std::vector< point<NUMERIC> > p);  
  double area();

 protected:
  Point ul;
  Point ur;
  Point ll;
  Point lr;  
};

#include "gmapping/utils/orientedboundingbox.hxx"

};// end namespace

#endif