Point Class Reference

#include <Point.h>

List of all members.

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


Constructor & Destructor Documentation

Point::Point ( const float  _x,
const float  _y,
const int  _id,
const int  _rank 
)

Constructs a new point object

Parameters:
_x x coordinate of a point
_y y coordinate of a point
Constructs a new point object
Parameters:
_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 (  ) 


Member Function Documentation

int Point::getID (  ) 

int Point::getID (  ) 

Returns the id of the streamline the point belongs to

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

Returns:
the rank of the point inside the streamline

float Point::getX (  ) 

float Point::getX (  ) 

Returns the x coordinate of the point

Returns:
x coordinate

float Point::getY (  ) 

float Point::getY (  ) 

Returns the y coordinate of the point

Returns:
y coordinate


Member Data Documentation

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


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

Generated on Tue Jan 20 23:44:14 2009 for FlowVis by  doxygen 1.5.7.1