3dpcp/.svn/pristine/d9/d96fdad4fa07cea9a31eec9ac30abb477ab4d7b1.svn-base

38 lines
793 B
Text
Raw Normal View History

2012-09-16 12:33:11 +00:00
/*
* scanGrid implementation
*
* Copyright (C) Uwe Hebbelmann, Sebastian Stock, Andre Schemschat
*
* Released under the GPL version 3.
*
*/
#include "grid/scanGrid.h"
/**
* CTor.
* Calls CTor of grid and sets viewpointx and viewpointz
*
* @param offsetX the x offset of the robot
* @param offsetZ the z offset of the robot
* @param viewpointX the x-position of the robot
* @param viewpointZ the z-position of the robot
* @param sizeX the x size of the grid
* @param sizeZ the z size of the grid
*/
scanGrid::scanGrid(long viewpointX, long viewpointZ,
long offsetX, long offsetZ,
long sizeX, long sizeZ)
: grid(offsetX, offsetZ, sizeX, sizeZ)
{
this->viewpointX = viewpointX;
this->viewpointZ = viewpointZ;
}
/**
* DTor.
*/
scanGrid::~scanGrid()
{
}