BlinkenArea - GitList
Repositories
Blog
Wiki
libetherpix
Code
Commits
Branches
Tags
Search
Tree:
8e0a57f
Branches
Tags
master
libetherpix
simulator
pixel.cpp
complete implementation of config file parsing
Stefan Schuermans
commited
8e0a57f
at 2017-06-10 21:21:50
pixel.cpp
Blame
History
Raw
/* * EtherPix simulator * * Copyright 2017 Stefan Schuermans <stefan schuermans info> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "pixel.h" /// default constructor Pixel::Pixel(): m_x(0.5), m_y(0.5), m_r(0.0) { } /// constructor based on coordinates and radius Pixel::Pixel(double x, double y, double r): m_x(x), m_y(y), m_r(r) { }