Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
PlaneSetRepresentation.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "AbstractSurfaceRepresentation.h"
22 
23 namespace 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, RESQML2_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  RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) = 0;
84 
86  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
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
virtual void pushBackHorizontalPlaneGeometryPatch(double zCoordinate, resqml2::AbstractLocal3dCrs *localCrs=nullptr)=0
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 void pushBackTiltedPlaneGeometryPatch(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, resqml2::AbstractLocal3dCrs *localCrs=nullptr)=0
static const char * XML_TAG
Definition: PlaneSetRepresentation.h:86
virtual std::string getXmlTag() const final
Definition: PlaneSetRepresentation.h:88
virtual ~PlaneSetRepresentation()=default