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 "../resqml2/PlaneSetRepresentation.h"
22 
23 namespace RESQML2_2_NS
24 {
26  class PlaneSetRepresentation final : public RESQML2_NS::PlaneSetRepresentation
27  {
28  public:
29 
37  DLL_IMPORT_OR_EXPORT PlaneSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::PlaneSetRepresentation(partialObject) {}
38 
49  PlaneSetRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
50  const std::string & guid, const std::string & title);
51 
57  PlaneSetRepresentation(gsoap_eml2_3::_resqml22__PlaneSetRepresentation* fromGsoap) : RESQML2_NS::PlaneSetRepresentation(fromGsoap) {}
58 
61 
62  COMMON_NS::DataObjectReference getLocalCrsDor(unsigned int patchIndex) const final;
63 
64  DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
65 
75  DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
76 
82  DLL_IMPORT_OR_EXPORT unsigned int getPatchCount() const final;
83 
84  DLL_IMPORT_OR_EXPORT void pushBackHorizontalPlaneGeometryPatch(double zCoordinate, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
85 
86  DLL_IMPORT_OR_EXPORT void pushBackTiltedPlaneGeometryPatch(
87  double x1, double y1, double z1,
88  double x2, double y2, double z2,
89  double x3, double y3, double z3,
90  RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
91 
95  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
96 
100  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
101  };
102 }
Definition: PlaneSetRepresentation.h:27
PlaneSetRepresentation(gsoap_eml2_3::_resqml22__PlaneSetRepresentation *fromGsoap)
Definition: PlaneSetRepresentation.h:57
PlaneSetRepresentation(resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
PlaneSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: PlaneSetRepresentation.h:37
unsigned int getPatchCount() const final
common::DataObjectReference getLocalCrsDor(unsigned int patchIndex) const final
void getXyzPointsOfPatch(unsigned int patchIndex, double *xyzPoints) const final
uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final