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
LocalEngineeringCompoundCrs.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 "../eml2/AbstractLocal3dCrs.h"
22
23namespace EML2_3_NS
24{
25 class LocalEngineering2dCrs;
26 class VerticalCrs;
27
29 class LocalEngineeringCompoundCrs final : public EML2_NS::AbstractLocal3dCrs
30 {
31 public:
32
38 DLL_IMPORT_OR_EXPORT LocalEngineeringCompoundCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : EML2_NS::AbstractLocal3dCrs(partialObject) {}
39
64 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
65 double originOrdinal1, double originOrdinal2, double originOrdinal3,
66 double arealRotation,
67 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode,
68 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented);
69
95 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
96 double originOrdinal1, double originOrdinal2, double originOrdinal3,
97 double arealRotation,
98 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string & projectedUnknownReason,
99 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string & verticalUnknownReason, bool isUpOriented);
100
128 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
129 double originOrdinal1, double originOrdinal2, double originOrdinal3,
130 double arealRotation,
131 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode,
132 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string & verticalUnknownReason, bool isUpOriented);
133
159 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
160 double originOrdinal1, double originOrdinal2, double originOrdinal3,
161 double arealRotation,
162 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string & projectedUnknownReason,
163 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented);
164
189 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
190 double originOrdinal1, double originOrdinal2, double originOrdinal3,
191 double arealRotation,
192 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode,
193 gsoap_resqml2_0_1::eml20__TimeUom timeUom,
194 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented);
195
222 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
223 double originOrdinal1, double originOrdinal2, double originOrdinal3,
224 double arealRotation,
225 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string & projectedUnknownReason,
226 gsoap_resqml2_0_1::eml20__TimeUom timeUom,
227 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string & verticalUnknownReason, bool isUpOriented);
228
255 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
256 double originOrdinal1, double originOrdinal2, double originOrdinal3,
257 double arealRotation,
258 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode,
259 gsoap_resqml2_0_1::eml20__TimeUom timeUom,
260 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string & verticalUnknownReason, bool isUpOriented);
261
288 LocalEngineeringCompoundCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
289 double originOrdinal1, double originOrdinal2, double originOrdinal3,
290 double arealRotation,
291 gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string & projectedUnknownReason,
292 gsoap_resqml2_0_1::eml20__TimeUom timeUom,
293 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented);
294
300 LocalEngineeringCompoundCrs(gsoap_eml2_3::_eml23__LocalEngineeringCompoundCrs* fromGsoap): EML2_NS::AbstractLocal3dCrs(fromGsoap) {}
301
304
305 DLL_IMPORT_OR_EXPORT bool isATimeCrs() const final { return static_cast<gsoap_eml2_3::_eml23__LocalEngineeringCompoundCrs*>(gsoapProxy2_3)->VerticalAxis->IsTime; }
306
307 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::eml20__TimeUom getTimeUom() const final;
308
309 DLL_IMPORT_OR_EXPORT LocalEngineering2dCrs* getLocalEngineering2dCrs() const;
310
311 DLL_IMPORT_OR_EXPORT VerticalCrs* getVerticalCrs() const;
312
316 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "eml23";
317
321 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
322
324 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "LocalEngineeringCompoundCrs";
325
326 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
327
330
331 private:
332
354 void init(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
355 uint64_t projectedEpsgCode, std::string unknownProjectedReason,
356 double originOrdinal1, double originOrdinal2, gsoap_resqml2_0_1::eml20__LengthUom projectedUom,
357 double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference,
358 gsoap_eml2_3::eml23__AxisOrder2d axisOrder,
359 uint64_t verticalEpsgCode, std::string unknwownVerticalReason,
360 double originOrdinal3,
361 gsoap_resqml2_0_1::eml20__LengthUom verticalUom, bool isUpOriented);
362
384 void init(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
385 uint64_t projectedEpsgCode, std::string unknownProjectedReason,
386 double originOrdinal1, double originOrdinal2, gsoap_resqml2_0_1::eml20__LengthUom projectedUom,
387 double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference,
388 gsoap_eml2_3::eml23__AxisOrder2d axisOrder,
389 uint64_t verticalEpsgCode, std::string unknwownVerticalReason,
390 double originOrdinal3,
391 gsoap_resqml2_0_1::eml20__LengthUom verticalUom,
392 gsoap_resqml2_0_1::eml20__TimeUom timeUom, bool isUpOriented);
393
399 double getZOffset() const { return isATimeCrs() ? .0 : getOriginDepthOrElevation(); }
400 };
401}
Definition LocalEngineering2dCrs.h:27
Definition LocalEngineeringCompoundCrs.h:30
bool isATimeCrs() const final
Definition LocalEngineeringCompoundCrs.h:305
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented)
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented)
Creates a local time 3d CRS which unkown for its projected part and which is identified by an EPSG co...
LocalEngineeringCompoundCrs(gsoap_eml2_3::_eml23__LocalEngineeringCompoundCrs *fromGsoap)
Definition LocalEngineeringCompoundCrs.h:300
LocalEngineeringCompoundCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition LocalEngineeringCompoundCrs.h:38
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented)
Creates a local depth 3d CRS which is identified by an EPSG code for its projected part and which is ...
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented)
Creates a local depth 3d CRS which is fully identified by means of EPSG code.
virtual std::string getXmlTag() const final
Definition LocalEngineeringCompoundCrs.h:326
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented)
Creates a local depth 3d CRS which unkown for its projected part and which is identified by an EPSG c...
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented)
Creates a local time 3d CRS which is fully identified by means of EPSG code.
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented)
gsoap_resqml2_0_1::eml20__TimeUom getTimeUom() const final
LocalEngineeringCompoundCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented)
Creates a local depth 3d CRS which is identified by an EPSG code for its projected part and which is ...
Definition VerticalCrs.h:27