Plugins
Loading...
Searching...
No Matches
ug::d3f::RasterID Class Reference

#include <rasterid.h>

Public Member Functions

bool get_id_by_pnt (number x, number y, int &ident) const
 checks, in which union (x, y) is (if in any)
 
void load_id_raster_from (const char *file_name)
 loads the id raster
 
 RasterID ()
 class constructor
 

Private Types

typedef Raster< int, 2 > id_raster_type
 

Private Attributes

id_raster_type m_id_raster
 

Detailed Description

This class implements mapping a point to an id by a 2d raster.

Member Typedef Documentation

◆ id_raster_type

typedef Raster<int, 2> ug::d3f::RasterID::id_raster_type
private

Constructor & Destructor Documentation

◆ RasterID()

ug::d3f::RasterID::RasterID ( )
inline

class constructor

Member Function Documentation

◆ get_id_by_pnt()

bool ug::d3f::RasterID::get_id_by_pnt ( number  x,
number  y,
int &  ident 
) const
inline

◆ load_id_raster_from()

void ug::d3f::RasterID::load_id_raster_from ( const char *  file_name)
inline

loads the id raster

References ug::Raster< class T, int TDIM >::load_from_asc(), and m_id_raster.

Member Data Documentation

◆ m_id_raster

id_raster_type ug::d3f::RasterID::m_id_raster
private

The documentation for this class was generated from the following file: