3 #ifndef __u3d_abstract_prgrid2d_hpp
4 #define __u3d_abstract_prgrid2d_hpp
6 #include <mth/u_base_math.hpp>
7 #include <mth/u3d_point.hpp>
8 #include <mth/u3d_box.hpp>
49 virtual void construct(
const U3dPointsAr &points,
double g_step,
U3dBox *area = NULL);
51 virtual void construct(
const U3dPoints &points,
double g_step,
U3dBox *area = NULL);
59 void setMinGridStepY(
double eps) {
60 minGridEpsY = (eps < 0.)?(0.):(eps);
69 double getMinGridStepY() {
88 return m_grd_y.size();
97 int setGridPointZ(
int i,
int j,
double z);
137 double xmn,xmx,ymn,ymx,zmn,zmx;
GridCell(int i_ind, double i_z)
Definition: u3d_abstract_prgrid2d.hpp:119
int ip_ind
Definition: u3d_abstract_prgrid2d.hpp:124
Definition: u3d_abstract_prgrid2d.hpp:135
void setMinGridStepX(double eps)
Definition: u3d_abstract_prgrid2d.hpp:55
void setXYZ(double x, double y, double z)
Definition: u3d_point.hpp:147
void getGridArea(U3dPoint &min, U3dPoint &max)
Definition: u3d_abstract_prgrid2d.hpp:74
int getGridXSize() const
Definition: u3d_abstract_prgrid2d.hpp:82
std::vector< GridLine > GridMatrix
Definition: u3d_abstract_prgrid2d.hpp:132
Definition: u3d_box.hpp:24
Area3d m_area3d
Definition: u3d_abstract_prgrid2d.hpp:157
virtual U3dAbstractPRGrid2d * clone()
U3dPointsAr m_ips
Definition: u3d_abstract_prgrid2d.hpp:143
GridMatrix m_grid
Definition: u3d_abstract_prgrid2d.hpp:154
U3dPointsAr & getInitialPoints()
Definition: u3d_abstract_prgrid2d.hpp:100
double minGridEpsX
Definition: u3d_abstract_prgrid2d.hpp:147
virtual ~U3dAbstractPRGrid2d()
static void correct_id(int &id, int size)
Definition: u3d_abstract_prgrid2d.hpp:160
Definition: u3d_point.hpp:16
double getMinGridStepX()
Definition: u3d_abstract_prgrid2d.hpp:65
std::vector< GridCell > GridLine
Definition: u3d_abstract_prgrid2d.hpp:129
virtual void addPoint(U3dPoint *)
Definition: u3d_abstract_prgrid2d.hpp:107
Definition: u3d_abstract_prgrid2d.hpp:116
int getGridYSize() const
Definition: u3d_abstract_prgrid2d.hpp:87
int getGridPoint(int i, int j, U3dPoint &p) const
virtual bool removePoint(int)
Definition: u3d_abstract_prgrid2d.hpp:111
double z
Definition: u3d_abstract_prgrid2d.hpp:125
virtual void construct(const U3dPointsAr &points, double g_step, U3dBox *area=NULL)
std::vector< double > m_grd_x
Definition: u3d_abstract_prgrid2d.hpp:151
Definition: u3d_abstract_prgrid2d.hpp:11