#include <PointSetRepresentation.h>
|
| PointSetRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) |
|
| PointSetRepresentation (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title) |
| Constructor.
|
|
| PointSetRepresentation (resqml2 ::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
| Creates an instance of this class in a gsoap context.
|
|
| PointSetRepresentation (gsoap_eml2_3::_resqml22__PointSetRepresentation *fromGsoap) |
|
| ~PointSetRepresentation ()=default |
|
common::DataObjectReference | getHdfProxyDor () const final |
|
uint64_t | getXyzPointCountOfPatch (unsigned int patchIndex) const final |
|
void | getXyzPointsOfPatch (unsigned int patchIndex, double *xyzPoints) const final |
|
uint64_t | getPatchCount () const final |
|
void | pushBackGeometryPatch (unsigned int xyzPointCount, double const *xyzPoints, eml2 ::AbstractHdfProxy *proxy=nullptr, resqml2 ::AbstractLocal3dCrs *localCrs=nullptr) final |
|
std::string | getXmlNamespace () const final |
|
A point set representation.
◆ PointSetRepresentation() [1/4]
resqml2_2::PointSetRepresentation::PointSetRepresentation |
( |
gsoap_resqml2_0_1::eml20__DataObjectReference * | partialObject | ) |
|
|
inline |
Only to be used in partial transfer context
- Parameters
-
[in,out] | partialObject | If non-null, the partial object. |
◆ PointSetRepresentation() [2/4]
resqml2_2::PointSetRepresentation::PointSetRepresentation |
( |
common ::DataObjectRepository * | repo, |
|
|
const std::string & | guid, |
|
|
const std::string & | title ) |
Constructor.
- Parameters
-
[in] | repo | If non-nullptr, the repo. |
| guid | Unique identifier. |
| title | The title. |
◆ PointSetRepresentation() [3/4]
resqml2_2::PointSetRepresentation::PointSetRepresentation |
( |
resqml2 ::AbstractFeatureInterpretation * | interp, |
|
|
const std::string & | guid, |
|
|
const std::string & | title ) |
Creates an instance of this class in a gsoap context.
- Exceptions
-
std::invalid_argument | If interp == nullptr . |
- Parameters
-
[in] | interp | The interpretation this representation represents. |
| guid | The guid to set to the new instance. If empty then a new guid will be generated. |
| title | A title for the instance to create. |
◆ PointSetRepresentation() [4/4]
resqml2_2::PointSetRepresentation::PointSetRepresentation |
( |
gsoap_eml2_3::_resqml22__PointSetRepresentation * | fromGsoap | ) |
|
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
- Parameters
-
[in,out] | fromGsoap | If non-null, from gsoap. |
◆ ~PointSetRepresentation()
resqml2_2::PointSetRepresentation::~PointSetRepresentation |
( |
| ) |
|
|
default |
Destructor does nothing since the memory is managed by the gsoap context.
◆ getXmlNamespace()
std::string resqml2_2::PointSetRepresentation::getXmlNamespace |
( |
| ) |
const |
|
inlinefinal |
Get the standard XML namespace for serializing this data object.
◆ getXyzPointsOfPatch()
void resqml2_2::PointSetRepresentation::getXyzPointsOfPatch |
( |
unsigned int | patchIndex, |
|
|
double * | xyzPoints ) const |
|
final |
Get all the XYZ points of a particular patch of this representation. XYZ points are given in the local CRS.
- Parameters
-
| patchIndex | Zero-based index of the patch. |
[in,out] | xyzPoints | A linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated. |
◆ XML_NS
const char* resqml2_2::PointSetRepresentation::XML_NS |
|
static |
The standard XML namespace for serializing this data object.
The documentation for this class was generated from the following file: