CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdDatumShift.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23#ifndef _ODSPATIALREFERENCE_ODDATUMSHIFT_INCLUDED_
24#define _ODSPATIALREFERENCE_ODDATUMSHIFT_INCLUDED_
25
28#include "OdDatumDefinition.h"
29
30namespace OdSpatialReference
31{
32 class OdDatumShift;
33
38
39 class OdDatumShiftImpl;
40
46 class TD_SPATIALREFERENCE_API OdDatumShift : public OdRxObject
47 {
49 public:
50
60 static OdResult load(const OdDatumDefinition* pDatumSource, const OdDatumDefinition* pDatumTarget, OdDatumShiftPtr& pDatumShift);
61
71 static OdResult load(const OdString& sDatumSource, const OdString& sDatumTarget, OdDatumShiftPtr& pDatumShift);
72
82 OdResult convert3D(double& dLon, double& dLat, double& dHeight) const;
83
92 OdResult convert(double& dLon, double& dLat) const;
93
101 OdResult getPath(OdGeodeticPathDefinitionPtr& pGeodeticPathDefinition) const;
102
112 OdResult getAt(OdUInt32 uIndex, bool& bIsInversed, OdGeodeticTransformationDefinitionPtr& pGeodeticTransformationDefinition) const;
113
121 OdResult getCount(OdUInt32& uCount) const;
122
129
139 static OdResult getDatumShift(const OdGeodeticTransformationDefinition * pGeodeticTransformationDefinition, bool bInverse, OdDatumShiftPtr & pDatumShift);
140 };
141}
142
143#endif //_ODSPATIALREFERENCE_ODDATUMSHIFT_INCLUDED_
unsigned int OdUInt32
OdResult
Definition OdResult.h:29
#define ODSPREF_RX_WITH_IMPL_DECLARE_MEMBERS(ClassName)
#define TD_SPATIALREFERENCE_API
OdResult getCount(OdUInt32 &uCount) const
OdResult convert3D(double &dLon, double &dLat, double &dHeight) const
static OdResult load(const OdDatumDefinition *pDatumSource, const OdDatumDefinition *pDatumTarget, OdDatumShiftPtr &pDatumShift)
static OdResult load(const OdString &sDatumSource, const OdString &sDatumTarget, OdDatumShiftPtr &pDatumShift)
OdResult getPath(OdGeodeticPathDefinitionPtr &pGeodeticPathDefinition) const
OdResult getAt(OdUInt32 uIndex, bool &bIsInversed, OdGeodeticTransformationDefinitionPtr &pGeodeticTransformationDefinition) const
OdResult convert(double &dLon, double &dLat) const
static OdResult getDatumShift(const OdGeodeticTransformationDefinition *pGeodeticTransformationDefinition, bool bInverse, OdDatumShiftPtr &pDatumShift)
OdSmartPtr< OdGeodeticTransformationDefinition > OdGeodeticTransformationDefinitionPtr
OdSmartPtr< OdGeodeticPathDefinition > OdGeodeticPathDefinitionPtr
OdSmartPtr< OdDatumShift > OdDatumShiftPtr