Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
PointSetRepresentation.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "AbstractRepresentation.h"
22
23namespace RESQML2_NS
24{
31 {
32 public:
33
35 virtual ~PointSetRepresentation() = default;
36
55 DLL_IMPORT_OR_EXPORT virtual void pushBackXyzGeometryPatch(
56 uint64_t xyzPointCount, double const * xyzPoints,
57 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs * localCrs = nullptr) = 0;
58
77 DLL_IMPORT_OR_EXPORT virtual void pushBackXyGeometryPatch(
78 uint64_t xyPointCount, double const* xyPoints,
79 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) = 0;
80
86 DLL_IMPORT_OR_EXPORT virtual bool isIn2D(uint64_t patchIndex) const = 0;
87
97 DLL_IMPORT_OR_EXPORT virtual void getXyPointsOfPatch(uint64_t patchIndex, double* xyPoints) const = 0;
98
100 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "PointSetRepresentation";
101
102 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
103
104 protected:
105
113 DLL_IMPORT_OR_EXPORT PointSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractRepresentation(partialObject) {}
114
115 PointSetRepresentation() {}
116
122 PointSetRepresentation(gsoap_resqml2_0_1::_resqml20__PointSetRepresentation* fromGsoap) : RESQML2_NS::AbstractRepresentation(fromGsoap) {}
123
129 PointSetRepresentation(gsoap_eml2_3::_resqml22__PointSetRepresentation* fromGsoap) : RESQML2_NS::AbstractRepresentation(fromGsoap) {}
130 };
131}
Proxy class for an abstract representation.
Definition AbstractRepresentation.h:38
A representation that consists of one or more node patches. Each node patch is an array of xyz coordi...
Definition PointSetRepresentation.h:31
virtual std::string getXmlTag() const final
Definition PointSetRepresentation.h:102
virtual bool isIn2D(uint64_t patchIndex) const =0
virtual void getXyPointsOfPatch(uint64_t patchIndex, double *xyPoints) const =0
virtual void pushBackXyGeometryPatch(uint64_t xyPointCount, double const *xyPoints, eml2::AbstractHdfProxy *proxy=nullptr, eml2::AbstractLocal3dCrs *localCrs=nullptr)=0
virtual void pushBackXyzGeometryPatch(uint64_t xyzPointCount, double const *xyzPoints, eml2::AbstractHdfProxy *proxy=nullptr, eml2::AbstractLocal3dCrs *localCrs=nullptr)=0
virtual ~PointSetRepresentation()=default