#include <geo_utils.h>
Public Member Functions | |
cPoint2D () | |
constructeur par defaut : [0,0] | |
cPoint2D (int x, int y) | |
Get_X () | |
retourne l'abcisse du point | |
Get_Y () | |
retourne l'ordonnée du point | |
Set (int x, int y) | |
set les coord du point à [x,y] | |
bool | operator== (cPoint2D &p) |
operateur d'egalité | |
bool | operator!= (cPoint2D &p) |
operateur de difference | |
Public Attributes | |
int | X |
abcisse du point | |
int | Y |
ordonnée du point | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const cPoint2D &ex) |
Definition at line 43 of file geo_utils.h.
|
constructeur par defaut : [0,0]
Definition at line 48 of file geo_utils.h. |
|
Definition at line 54 of file geo_utils.h. |
|
retourne l'abcisse du point
Definition at line 61 of file geo_utils.h. References X. Referenced by Build_Two_Segments(), cHV_Seg::cHV_Seg(), cHV_Seg::Contient_Point(), cGame_World::Do_Segment_Intersect_Walls(), cGame_World::Find_Path(), cHV_Wall::Get_Intersection(), cHV_Seg::Get_Intersection(), cWall::Get_Length(), cSeg::Get_Middle(), cHV_Wall::Get_Position_Point(), cSeg::Get_Square_Distance_From_Point(), cSeg::Get_Square_Length(), cPositive_Rectangle::In(), cSquare_Area::Manage_Paralell_Portals(), cUnit::Move(), cHV_Seg::Set(), cHV_Wall::Set_HV(), cHV_Wall::Set_Order(), cSquare_Area::split(), and Test_Intersections_1(). |
|
retourne l'ordonnée du point
Definition at line 63 of file geo_utils.h. References Y. Referenced by Build_Two_Segments(), cHV_Seg::cHV_Seg(), cHV_Seg::Contient_Point(), cGame_World::Do_Segment_Intersect_Walls(), cGame_World::Find_Path(), cHV_Wall::Get_Intersection(), cHV_Seg::Get_Intersection(), cWall::Get_Length(), cSeg::Get_Middle(), cHV_Wall::Get_Position_Point(), cSeg::Get_Square_Distance_From_Point(), cSeg::Get_Square_Length(), cPositive_Rectangle::In(), cSquare_Area::Manage_Paralell_Portals(), cUnit::Move(), cHV_Seg::Set(), cHV_Wall::Set_HV(), cHV_Wall::Set_Order(), cSquare_Area::split(), and Test_Intersections_1(). |
|
operateur de difference
Definition at line 78 of file geo_utils.h. References operator!=(), X, and Y. Referenced by operator!=(). |
|
operateur d'egalité
Definition at line 72 of file geo_utils.h. References operator==(), X, and Y. Referenced by operator==(). |
|
|
Definition at line 45 of file geo_utils.h. |
|
|