MeshKit
1.0
|
#include <Point2D.hpp>
Public Member Functions | |
Point2D () | |
No-argument constructor. | |
Point2D (double xVal, double yVal) | |
Standard constructor. | |
double | getX () const |
Get the value of the x coordinate. | |
double | getY () const |
Get the value of the y coordinate. | |
Private Attributes | |
double | x |
double | y |
Definition at line 14 of file Point2D.hpp.
Point2D | ( | ) |
Point2D | ( | double | xVal, |
double | yVal | ||
) |
Standard constructor.
Construct a point at the specified coordinates.
xVal | the x coordinate of the point |
yVal | the y coordinate of the point |
Definition at line 8 of file Point2D.cpp.
double getX | ( | ) | const |
Get the value of the x coordinate.
Definition at line 13 of file Point2D.cpp.
double getY | ( | ) | const |
Get the value of the y coordinate.
Definition at line 18 of file Point2D.cpp.
double x [private] |
Definition at line 18 of file Point2D.hpp.
double y [private] |
Definition at line 18 of file Point2D.hpp.