00001 //deprecated 00003 // 00004 // PROJECT.....: vpat - Creating Virtual Patients 00005 // RESPONSIBLE.: Carla Freitas e Luciana Nedel 00006 // 00007 // FILE........: vppoint2d.h 00008 // DESCRIPTION.: Contain the VPPoint2D class declarations. 00009 // 00010 // AUTHOR......: Isabel Harb Manssour 00011 // DATE........: August/10/2000 00012 // DESCRIPTION.: Classes and new methods declaration. 00013 // 00014 // AUTHOR......: Isabel Harb Manssour 00015 // DATE........: September/06/2001 00016 // DESCRIPTION.: Attributes change for "x", "y", and public. 00017 // 00019 00020 00021 #ifndef __VPPOINT2D_H 00022 #define __VPPOINT2D_H 00023 00024 #include <vppoint.h> 00025 00027 // Class Name: VPPoint2D (storage and manipulation of 2D points) 00028 // Superclass: VPPoint 00029 // Subclasses: - 00031 00032 class VPPoint2D : public VPPoint { 00033 private: 00034 public: 00035 float x; 00036 float y; 00037 VPPoint2D(); 00038 VPPoint2D(float xi, float yi); 00039 float vpGetX(); 00040 float vpGetY(); 00041 void vpGetXY(float &_x, float &_y); 00042 00043 VPPoint2D vpGetPoint2D(void); 00044 void vpSetX(float _x); 00045 void vpSetY(float _y); 00046 void vpSetXY(float _x, float _y); 00047 VPPoint2D operator= (VPPoint2D p); 00048 VPPoint2D operator- (int num); 00049 00050 }; 00051 00052 #endif