Parallel Coordinate System with Time Series Data
Vector2D.h
Go to the documentation of this file.
1 #pragma once
2 
3 class Vector2D {
4 protected:
5  float x, y;
6 public:
7  Vector2D();
8  Vector2D(float x);
9  Vector2D(float x, float y);
10 
11  float getX();
12  float getY();
13 
14  Vector2D negate();
18 };
Definition: Vector2D.h:3
Vector2D negate()
Definition: Vector2D.cpp:31
Vector2D add(Vector2D v)
Definition: Vector2D.cpp:36
Vector2D mul(Vector2D v)
Definition: Vector2D.cpp:46
float getX()
Definition: Vector2D.cpp:21
float getY()
Definition: Vector2D.cpp:26
float y
Definition: Vector2D.h:5
Vector2D()
Definition: Vector2D.cpp:3
Vector2D sub(Vector2D v)
Definition: Vector2D.cpp:41
float x
Definition: Vector2D.h:5