Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <IjkGridExplicitRepresentation.h>
Public Member Functions | |
IjkGridExplicitRepresentation (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2 ::AbstractHdfProxy *proxy=nullptr) | |
IjkGridExplicitRepresentation (resqml2 ::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2 ::AbstractHdfProxy *proxy=nullptr) | |
IjkGridExplicitRepresentation (gsoap_resqml2_0_1::_resqml20__IjkGridRepresentation *fromGsoap) | |
Creates an instance of this class by wrapping a gSOAP instance. | |
IjkGridExplicitRepresentation (gsoap_resqml2_0_1::_resqml20__TruncatedIjkGridRepresentation *fromGsoap) | |
Creates an instance of this class by wrapping a gSOAP instance. | |
virtual | ~IjkGridExplicitRepresentation ()=default |
common::DataObjectReference | getHdfProxyDor () const final |
void | getXyzPointsOfPatch (unsigned int patchIndex, double *xyzPoints) const final |
Gets all the xyz points of a particular patch of this representation. xyz points are given in the local CRS. | |
void | setGeometryAsCoordinateLineNodes (gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded, double const *points, eml2 ::AbstractHdfProxy *proxy=nullptr, uint64_t splitCoordinateLineCount=0, unsigned int const *pillarOfCoordinateLine=nullptr, unsigned int const *splitCoordinateLineColumnCumulativeCount=nullptr, unsigned int const *splitCoordinateLineColumns=nullptr, int8_t const *definedPillars=nullptr, resqml2 ::AbstractLocal3dCrs *localCrs=nullptr) final |
void | setGeometryAsCoordinateLineNodesUsingExistingDatasets (gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded, const std::string &points, eml2 ::AbstractHdfProxy *proxy=nullptr, uint64_t splitCoordinateLineCount=0, const std::string &pillarOfCoordinateLine="", const std::string &splitCoordinateLineColumnCumulativeCount="", const std::string &splitCoordinateLineColumns="", const std::string &definedPillars="", resqml2 ::AbstractLocal3dCrs *localCrs=nullptr) final |
std::string | getXmlNamespace () const final |
Static Public Attributes | |
static constexpr char const * | XML_NS = "resqml20" |
An IJK Grid explicit representation defines each cell corner position by means of XYZ coordinates. Adjacent cell corner are supposed to be located the same so they are not repeated unless you define split lines or split nodes.
|
inline |
Constructor
[in] | repo | The repo where the underlying gsoap proxy is going to be created. |
guid | Unique identifier. | |
title | The title. | |
iCount | Number of cell in I direction. | |
jCount | Number of cell in J direction. | |
kCount | Number of cell in K direction. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
|
inline |
Constructor
[in] | interp | If non-null, the interp. |
guid | Unique identifier. | |
title | The title. | |
iCount | Number of cell in I direction. | |
jCount | Number of cell in J direction. | |
kCount | Number of cell in K direction. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
|
inline |
Creates an instance of this class by wrapping a gSOAP instance.
[in] | fromGsoap | If non-null, the gSOAP instance. |
|
inline |
Creates an instance of this class by wrapping a gSOAP instance.
[in] | fromGsoap | If non-null, the gSOAP instance. |
|
virtualdefault |
Destructor does nothing since the memory is managed by the gsoap context.
|
inlinefinal |
Get the standard XML namespace for serializing this data object.
|
final |
Gets all the xyz points of a particular patch of this representation. xyz points are given in the local CRS.
std::logic_error | If the geometry of the grid either does not exist or is not an explicit one. |
std::logic_error | If this grid is truncated and the additional grid points cannot be read. |
std::out_of_range | If patchIndex >= getPatchCount(). |
patchIndex | The index of the patch. |
xyzPoints | xyz double triplets ordered by i then j then split then k. It must be preallocated with a count of ((iCellCount+1) * (jCellCount+1) + splitCoordinateLineCount) * kCellCount. |
|
staticconstexpr |
The standard XML namespace for serializing this data object.