PlottWare/PlottWareControl/point.cpp

28 lines
271 B
C++
Raw Permalink Normal View History

2019-08-08 14:02:07 +00:00
#include "point.h"
Point::Point(){
x=0;
y=0;
}
Point::Point(float _x, float _y){
x=_x;
y=_y;
}
float Point::getX(){
return x;
}
float Point::getY(){
return y;
}
void Point::setX(float _x){
x=_x;
}
void Point::setY(float _y){
y=_y;
}