// Este es el archivo Punto.h en el cual se declara la clase Punto. // esta clase permite la instancia del volumen3D y del ArregloDeNormales #ifndef PUNTO_H #define PUNTO_H #include "General.h" #include "DatoDeColeccion.h" #include "ListaLigada.h" class C_Punto : public C_DatoDeColeccion { private: int CoordX; int CoordY; int CoordZ; public: C_Punto() {CoordX=0;CoordY=0;CoordZ=0;} C_Punto(int X,int Y,int Z) {CoordX=X,CoordY=Y,CoordZ=Z;} int LeeX() {return CoordX;} int LeeY() {return CoordY;} int LeeZ() {return CoordZ;} void CambiaCoordenadas(int X,int Y,int Z=0) {CoordX=X,CoordY=Y,CoordZ=Z;} bool Copia(C_Punto *Nuevo); }; typedef C_ListaLigada C_ListaPuntos; #endif