#include <blkocc.h>
Inheritance diagram for REGION_OCC:
The only data held is the min and max x limits of the outline within the region.
REGION_OCCs are held on lists, one list for each region. The lists are built in sorted order of min x. Overlapping REGION_OCCs are not permitted on a single list. An overlapping region to be added causes the existing region to be extended. This extension may result in the following REGION_OCC on the list overlapping the ammended one. In this case the ammended REGION_OCC is further extended to include the range of the following one, so that the following one can be deleted.
Definition at line 42 of file blkocc.h.
REGION_OCC::REGION_OCC | ( | ) | [inline] |
REGION_OCC::REGION_OCC | ( | float | min, | |
float | max, | |||
INT16 | region | |||
) | [inline] |
Definition at line 52 of file blkocc.h.
References max_x, min_x, and region_type.
00055 { 00056 min_x = min; 00057 max_x = max; 00058 region_type = region; 00059 }
void ELIST_LINK::de_serialise_asc | ( | FILE * | f | ) | [inherited] |
Reimplemented in ICOORDELT.
Definition at line 39 of file elst.cpp.
References ABORT, ERRCODE::error(), and SERIALISE_LINKS.
00040 { 00041 SERIALISE_LINKS.error ("ELIST_LINK::de_serialise_asc", ABORT, 00042 "Don't call this, override!"); 00043 }
void ELIST_LINK::serialise_asc | ( | FILE * | f | ) | [inherited] |
Generates an error, as it should never be called.
Definition at line 32 of file elst.cpp.
References ABORT, ERRCODE::error(), and SERIALISE_LINKS.
00033 { 00034 SERIALISE_LINKS.error ("ELIST_LINK::serialise_asc", ABORT, 00035 "Don't call this, override!"); 00036 }
float REGION_OCC::max_x |
Definition at line 46 of file blkocc.h.
Referenced by block_occ(), compress_region_list(), and REGION_OCC().
float REGION_OCC::min_x |