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
PlaneSetRepresentation.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 "AbstractSurfaceRepresentation.h"
22
23namespace RESQML2_NS
24{
34 {
35 public:
36
38 virtual ~PlaneSetRepresentation() = default;
39
46 COMMON_NS::DataObjectReference getHdfProxyDor() const { return COMMON_NS::DataObjectReference(); }
47
58 DLL_IMPORT_OR_EXPORT virtual void pushBackHorizontalPlaneGeometryPatch(double zCoordinate, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) = 0;
59
79 DLL_IMPORT_OR_EXPORT virtual void pushBackTiltedPlaneGeometryPatch(
80 double x1, double y1, double z1,
81 double x2, double y2, double z2,
82 double x3, double y3, double z3,
83 EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) = 0;
84
86 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "PlaneSetRepresentation";
87
88 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
89
90 protected:
91
99 DLL_IMPORT_OR_EXPORT PlaneSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractSurfaceRepresentation(partialObject) {}
100
104 PlaneSetRepresentation() {}
105
111 PlaneSetRepresentation(gsoap_resqml2_0_1::_resqml20__PlaneSetRepresentation* fromGsoap) : AbstractSurfaceRepresentation(fromGsoap) {}
112
118 PlaneSetRepresentation(gsoap_eml2_3::_resqml22__PlaneSetRepresentation* fromGsoap) : AbstractSurfaceRepresentation(fromGsoap) {}
119 };
120}
An abstract surface representation. It is the parent class of structural surface representations,...
Definition AbstractSurfaceRepresentation.h:33
Defines a plane representation, which can be made up of multiple patches. Commonly represented featur...
Definition PlaneSetRepresentation.h:34
common::DataObjectReference getHdfProxyDor() const
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
Definition PlaneSetRepresentation.h:46
virtual std::string getXmlTag() const final
Definition PlaneSetRepresentation.h:88
virtual void pushBackTiltedPlaneGeometryPatch(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, eml2::AbstractLocal3dCrs *localCrs=nullptr)=0
virtual ~PlaneSetRepresentation()=default
virtual void pushBackHorizontalPlaneGeometryPatch(double zCoordinate, eml2::AbstractLocal3dCrs *localCrs=nullptr)=0