UNIVERS
15.3
UNIVERS base processing software API
|
#include <sim_fdm_snapshot.hpp>
Public Member Functions | |
Area () | |
Area (const Point2D &top_left_coords, const std::vector< CoordT > &dx_vec, const std::vector< CoordT > &dz_vec) | |
Area (const Point2D &top_left_coords, const Point2D &bottom_right_coords, const Point2D &coord_steps) | |
const Point2D & | topLeftCoords () const |
const std::vector< CoordT > & | stepVec (const CoordsMask &coord) const |
Protected Attributes | |
Point2D | m_top_left_coords |
std::vector< CoordT > | m_dx_vec |
std::vector< CoordT > | m_dz_vec |
Coordinates area of the snapshot.
|
inline |
Default constructor.
sim::fdm::Snapshot::Area::Area | ( | const Point2D & | top_left_coords, |
const std::vector< CoordT > & | dx_vec, | ||
const std::vector< CoordT > & | dz_vec | ||
) |
Construct area.
top_left_coord | Top left coordinate of the snapshot. |
dx_vec | Vector of steps along x-direction. |
dz_vec | Vector of steps along z-direction. |
sim::fdm::Snapshot::Area::Area | ( | const Point2D & | top_left_coords, |
const Point2D & | bottom_right_coords, | ||
const Point2D & | coord_steps | ||
) |
Construct area (for regular snapshot).
top_left_coord | Top left coordinate of the snapshot. |
bottom_right_coords | Bottom right coordinate of the snapshot. |
coord_steps | Steps along x and z coordinates. |
const std::vector<CoordT>& sim::fdm::Snapshot::Area::stepVec | ( | const CoordsMask & | coord | ) | const |
Access to coordinate steps.
coord | Coordinate projection required. |
|
inline |
Access to coordinates of top left corner of the snapshot.
|
protected |
Steps along x-direction.
|
protected |
Steps along z-direction.
|
protected |
Top left corner of the snapshot.