#include <Point.h>
Public Member Functions | |
Point (const float _x, const float _y, const int _id, const int _rank) | |
~Point () | |
float | getX () |
float | getY () |
int | getRank () |
int | getID () |
Point (const float _x, const float _y, const int _id, const int _rank) | |
~Point () | |
float | getX () |
float | getY () |
int | getRank () |
int | getID () |
Private Attributes | |
float | x |
float | y |
int | id |
int | rank |
Point::Point | ( | const float | _x, | |
const float | _y, | |||
const int | _id, | |||
const int | _rank | |||
) |
Constructs a new point object
_x | x coordinate of a point | |
_y | y coordinate of a point |
_x | x coordinate of a point | |
_y | y coordinate of a point | |
_id | id of the streamline the point belongs to | |
_rank | rank of the point inside the streamline |
Point::~Point | ( | ) |
Constructs a new point object
Point::Point | ( | const float | _x, | |
const float | _y, | |||
const int | _id, | |||
const int | _rank | |||
) |
Point::~Point | ( | ) |
int Point::getID | ( | ) |
int Point::getID | ( | ) |
Returns the id of the streamline the point belongs to
int Point::getRank | ( | ) |
int Point::getRank | ( | ) |
Returns the rank of the point inside the streamline
float Point::getX | ( | ) |
float Point::getX | ( | ) |
Returns the x coordinate of the point
float Point::getY | ( | ) |
float Point::getY | ( | ) |
Returns the y coordinate of the point
int Point::id [private] |
id of the streamline the point belongs to
int Point::rank [private] |
rank of the point inside the streamline
float Point::x [private] |
x coordinate of the point
float Point::y [private] |
y coordinate of the point