Parallel Coordinate System with Time Series Data
Vector2D Class Reference

#include <Vector2D.h>

Public Member Functions

 Vector2D ()
 
 Vector2D (float x)
 
 Vector2D (float x, float y)
 
float getX ()
 
float getY ()
 
Vector2D negate ()
 
Vector2D add (Vector2D v)
 
Vector2D sub (Vector2D v)
 
Vector2D mul (Vector2D v)
 

Protected Attributes

float x
 
float y
 

Constructor & Destructor Documentation

◆ Vector2D() [1/3]

Vector2D::Vector2D ( )

◆ Vector2D() [2/3]

Vector2D::Vector2D ( float  x)

◆ Vector2D() [3/3]

Vector2D::Vector2D ( float  x,
float  y 
)

Member Function Documentation

◆ add()

Vector2D Vector2D::add ( Vector2D  v)

◆ getX()

float Vector2D::getX ( )

◆ getY()

float Vector2D::getY ( )

◆ mul()

Vector2D Vector2D::mul ( Vector2D  v)

◆ negate()

Vector2D Vector2D::negate ( )

◆ sub()

Vector2D Vector2D::sub ( Vector2D  v)

Member Data Documentation

◆ x

float Vector2D::x
protected

◆ y

float Vector2D::y
protected

The documentation for this class was generated from the following files: