UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
U3dPRGrid2dMaze Class Reference

#include <u3d_prgrid2d_maze.hpp>

Inheritance diagram for U3dPRGrid2dMaze:
U3dPRGrid2d U3dAbstractPRGrid2d

Public Member Functions

 U3dPRGrid2dMaze ()
 
 U3dPRGrid2dMaze (const U3dPointsAr &points, double g_step, U3dBox *area=NULL)
 
 U3dPRGrid2dMaze (const U3dPoints &points, double g_step, U3dBox *area=NULL)
 
 U3dPRGrid2dMaze (const U3dPoints &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
 U3dPRGrid2dMaze (const U3dPointsAr &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
 U3dPRGrid2dMaze (const U3dPRGrid2d &obj)
 
virtual ~U3dPRGrid2dMaze ()
 
- Public Member Functions inherited from U3dPRGrid2d
 U3dPRGrid2d ()
 
 U3dPRGrid2d (const U3dPointsAr &points, double g_step, U3dBox *area=NULL)
 
 U3dPRGrid2d (const U3dPoints &points, double g_step, U3dBox *area=NULL)
 
 U3dPRGrid2d (const U3dPoints &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
 U3dPRGrid2d (const U3dPointsAr &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
 U3dPRGrid2d (const U3dPRGrid2d &obj)
 
virtual ~U3dPRGrid2d ()
 
virtual void construct (const U3dPointsAr &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
virtual void construct (const U3dPoints &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
- Public Member Functions inherited from U3dAbstractPRGrid2d
 U3dAbstractPRGrid2d ()
 
 U3dAbstractPRGrid2d (const U3dPointsAr &points, double g_step, U3dBox *area=NULL)
 
 U3dAbstractPRGrid2d (const U3dPoints &points, double g_step, U3dBox *area=NULL)
 
 U3dAbstractPRGrid2d (const U3dPoints &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
 U3dAbstractPRGrid2d (const U3dPointsAr &points, double g_step_x, double g_step_y, U3dBox *area=NULL)
 
 U3dAbstractPRGrid2d (const U3dAbstractPRGrid2d &obj)
 
virtual ~U3dAbstractPRGrid2d ()
 
virtual U3dAbstractPRGrid2dclone ()
 
virtual void construct (const U3dPointsAr &points, double g_step, U3dBox *area=NULL)
 
virtual void construct (const U3dPoints &points, double g_step, U3dBox *area=NULL)
 
void setMinGridStepX (double eps)
 
void setMinGridStepY (double eps)
 
double getMinGridStepX ()
 
double getMinGridStepY ()
 
void getGridArea (U3dPoint &min, U3dPoint &max)
 
int getGridXSize () const
 
int getGridYSize () const
 
int getGridPoint (int i, int j, U3dPoint &p) const
 
int setGridPointZ (int i, int j, double z)
 
U3dPointsAr & getInitialPoints ()
 
virtual void addPoint (U3dPoint *)
 
virtual bool removePoint (int)
 

Protected Member Functions

virtual void calc_grid_z_levels ()
 
- Protected Member Functions inherited from U3dPRGrid2d
virtual void push_ip (const U3dPoint *point)
 
void clear ()
 
virtual double calc_nip_z (double x, double y)
 
void expand_grid_area (U3dBox *area)
 

Additional Inherited Members

- Public Types inherited from U3dAbstractPRGrid2d
typedef std::vector< GridCellGridLine
 
typedef std::vector< GridLineGridMatrix
 
- Static Protected Member Functions inherited from U3dPRGrid2d
static int get_ip_id (double x, std::vector< double > &grd_x, double dx, double &xmn, double &xmx)
 
static bool add_grid_cell (int ix, int jy, GridCell &cell, GridMatrix &rgrid, double &zmn, double &zmx, double &pzmn, double &pzmx, std::vector< double > &xgd, std::vector< double > &ygd, double x, double y, bool is_increase_xy=true)
 
- Static Protected Member Functions inherited from U3dAbstractPRGrid2d
static void correct_id (int &id, int size)
 
- Protected Attributes inherited from U3dAbstractPRGrid2d
U3dPointsAr m_ips
 
double minGridEpsX
 
double minGridEpsY
 
std::vector< double > m_grd_x
 
std::vector< double > m_grd_y
 
GridMatrix m_grid
 
Area3d m_area3d
 

Detailed Description

2D grid constructor using "Maze" method.

Constructor & Destructor Documentation

U3dPRGrid2dMaze::U3dPRGrid2dMaze ( )

Default constructor, empty grid.

U3dPRGrid2dMaze::U3dPRGrid2dMaze ( const U3dPointsAr &  points,
double  g_step,
U3dBox area = NULL 
)

Construct grid with points, minimal grid step and expanded area provided

U3dPRGrid2dMaze::U3dPRGrid2dMaze ( const U3dPRGrid2d obj)

Copy constructor

virtual U3dPRGrid2dMaze::~U3dPRGrid2dMaze ( )
virtual

Destruct object

Member Function Documentation

virtual void U3dPRGrid2dMaze::calc_grid_z_levels ( )
protectedvirtual

Calculate z-levels for not initial grid points

Reimplemented from U3dPRGrid2d.


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