32 #ifndef LAS_SPATIAL_HPP 33 #define LAS_SPATIAL_HPP 40 #define LAS_SPATIAL_QUAD_TREE 0 59 virtual BOOL coarsen(
const I32 cell_index,
I32* coarser_cell_index,
U32* num_cell_indices,
I32** cell_indices)
const = 0;
virtual BOOL get_intersected_cells()=0
virtual U32 intersect_circle(const F64 center_x, const F64 center_y, const F64 radius)=0
virtual U32 intersect_tile(const F32 ll_x, const F32 ll_y, const F32 size)=0
virtual F64 get_min_y() const =0
virtual F64 get_max_x() const =0
virtual F64 get_min_x() const =0
virtual BOOL inside(const F64 x, const F64 y) const =0
virtual U32 intersect_rectangle(const F64 r_min_x, const F64 r_min_y, const F64 r_max_x, const F64 r_max_y)=0
virtual BOOL has_more_cells()=0
virtual BOOL get_all_cells()=0
virtual BOOL manage_cell(const U32 cell_index, const BOOL finalize=FALSE)=0
virtual F64 get_max_y() const =0
virtual BOOL read(ByteStreamIn *stream)=0
virtual U32 get_cell_index(const F64 x, const F64 y) const =0
virtual BOOL coarsen(const I32 cell_index, I32 *coarser_cell_index, U32 *num_cell_indices, I32 **cell_indices) const =0
virtual void get_cell_bounding_box(const I32 cell_index, F32 *min, F32 *max) const =0
virtual BOOL write(ByteStreamOut *stream) const =0