h5geo 0.4.0
C++17 and python API to work with geo-data (seismic, wells, maps, other in process) based on HDF5. Aimed at geoscientists and developers.
Loading...
Searching...
No Matches
h5points2.h
1#ifndef H5POINTS2_H
2#define H5POINTS2_H
3
4#include "h5basepoints.h"
5
11class H5Points2 : public H5BasePoints
12{
13protected:
14 virtual ~H5Points2() = default;
15
16public:
18 virtual bool writeData(
19 h5geo::Point2Array& data,
20 const std::string& lengthUnits = "",
21 bool doCoordTransform = false) = 0;
22
24 virtual h5geo::Point2Array getData(
25 const std::string& lengthUnits = "",
26 bool doCoordTransform = false) = 0;
27};
28
29using H5Points2_ptr = std::unique_ptr<H5Points2, h5geo::ObjectDeleter>;
30
31#endif // H5POINTS2_H
Base class for Points.
Definition h5basepoints.h:16
Provides API to work with 2D points.
Definition h5points2.h:12
virtual h5geo::Point2Array getData(const std::string &lengthUnits="", bool doCoordTransform=false)=0
Read data from DataSet.
virtual bool writeData(h5geo::Point2Array &data, const std::string &lengthUnits="", bool doCoordTransform=false)=0
Write data to DataSet.