1 #ifndef __blip_Point_hpp 2 #define __blip_Point_hpp 13 template<
typename T>
class Point 65 #endif // __blip_Point_hpp Point(T x, T y)
Construct a new point with the given coordinates.
Definition: Point.hpp:18
void setY(T y)
Set the y coordinate.
Definition: Point.hpp:38
A cartesian point: a value with x and y coordinates.
Definition: Point.hpp:13
Point & operator+=(const Point &other)
Add a point to this one.
Definition: Point.hpp:42
void setX(T x)
Set the x coordinate.
Definition: Point.hpp:30
WAV file format details at: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/.
Definition: AccelerometerSensorEvent.cpp:3
T getY() const
Get the y coordinate.
Definition: Point.hpp:34
~Point()
Destructor.
Definition: Point.hpp:23
T getX() const
Get the x coordinate.
Definition: Point.hpp:26
Point & operator-=(const Point &other)
Subtract a point from this one.
Definition: Point.hpp:50