Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
jafar::model3d::Point2D Class Reference

Simple Point2D class, where the x and y are int. More...


Detailed Description

Simple Point2D class, where the x and y are int.

Definition at line 15 of file point2D.hpp.

#include <point2D.hpp>

List of all members.

Public Types

enum  STATE { BAD_POINT = 0, GOOD_POINT = 1 }

Public Member Functions

 Point2D (const Point2D &)
 Copy constructor.
 Point2D (int x, int y)
 constructor with given coordinates
Point2Doperator= (const Point2D &)
 implement = operator
bool isGoodPoint ()
 Decides wether the point is good or bad depending on its state.
int x () const
int y () const
void setCoord (int x, int y)
 setter
virtual void clear ()
 set the point at the origin (0,0)

Public Attributes

int m_x
 Data Member.
int m_y
Point2D::STATE state
 can tel if this point is a "good" one or a "bad" one for example a bad point can be a result of an Outer measure

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

Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1
LAAS-CNRS