BufferRegion.cpp
Go to the documentation of this file.
00001 /*
00002  * BufferRegion.cpp
00003  *
00004  *  Created on: Aug 19, 2015
00005  *      Author: Péter Fankhauser
00006  *   Institute: ETH Zurich, ANYbotics
00007  */
00008 #include <grid_map_core/BufferRegion.hpp>
00009 
00010 namespace grid_map {
00011 
00012 BufferRegion::BufferRegion() :
00013     staretIndex_(Index::Zero()),
00014     size_(Size::Zero()),
00015     quadrant_(BufferRegion::Quadrant::Undefined)
00016 {
00017 }
00018 
00019 BufferRegion::BufferRegion(const Index& index, const Size& size, const BufferRegion::Quadrant& quadrant) :
00020     staretIndex_(index),
00021     size_(size),
00022     quadrant_(quadrant)
00023 {
00024 }
00025 
00026 BufferRegion::~BufferRegion()
00027 {
00028 }
00029 
00030 const Index& BufferRegion::getStartIndex() const
00031 {
00032   return staretIndex_;
00033 }
00034 
00035 void BufferRegion::setStartIndex(const Index& staretIndex)
00036 {
00037   staretIndex_ = staretIndex;
00038 }
00039 
00040 const Size& BufferRegion::getSize() const
00041 {
00042   return size_;
00043 }
00044 
00045 void BufferRegion::setSize(const Size& size)
00046 {
00047   size_ = size;
00048 }
00049 
00050 BufferRegion::Quadrant BufferRegion::getQuadrant() const
00051 {
00052   return quadrant_;
00053 }
00054 
00055 void BufferRegion::setQuadrant(BufferRegion::Quadrant type)
00056 {
00057   quadrant_ = type;
00058 }
00059 
00060 } /* namespace grid_map */
00061 
00062 


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jul 9 2019 05:06:13