MeshKit  1.0
Point2D Class Reference

#include <Point2D.hpp>

List of all members.

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

Detailed Description

Definition at line 14 of file Point2D.hpp.


Constructor & Destructor Documentation

Point2D ( )

No-argument constructor.

Construct a point at (0, 0).

Definition at line 3 of file Point2D.cpp.

Point2D ( double  xVal,
double  yVal 
)

Standard constructor.

Construct a point at the specified coordinates.

Parameters:
xValthe x coordinate of the point
yValthe y coordinate of the point

Definition at line 8 of file Point2D.cpp.


Member Function Documentation

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.


Member Data Documentation

double x [private]

Definition at line 18 of file Point2D.hpp.

double y [private]

Definition at line 18 of file Point2D.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines