00001 00020 #ifndef CRAKEDGE_H 00021 #define CRAKEDGE_H 00022 00023 #include "points.h" 00024 #include "mod128.h" 00025 00033 class CRACKEDGE 00034 { 00035 public: 00036 ICOORD pos; /*position of crack */ 00037 INT8 stepx; //edge step 00038 INT8 stepy; 00039 INT8 stepdir; //chaincode 00040 CRACKEDGE *prev; /*previous point */ 00041 CRACKEDGE *next; /*next point */ 00042 00043 NEWDELETE2 (CRACKEDGE) CRACKEDGE () { 00044 } //empty constructor 00045 }; 00046 #endif