CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGeodeticPathDefinition.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_ODGEODETICPATHDEFINITION_INCLUDED_
24#define _ODSPATIALREFERENCE_ODGEODETICPATHDEFINITION_INCLUDED_
25
26#include "OdDefinitionBase.h"
28
29namespace OdSpatialReference
30{
32
37
42
43 class OdGeodeticPathDefinitionImpl;
44
51 {
53 public:
62 static OdResult load(const OdString & sCode, OdGeodeticPathDefinitionPtr& pGeodeticPathDefinition);
63
71 static OdResult loadAll(OdGeodeticPathDefinitionArray& arrGeodeticPathDefinition);
72
80 OdResult getSourceDatum(OdString& sSourceDatum) const;
81
89 OdResult setSourceDatum(const OdString& sSourceDatum);
90
98 OdResult getTargetDatum(OdString& sTargetDatum) const;
99
107 OdResult setTargetDatum(const OdString& sTargetDatum);
108
117 OdResult getIsReversible(bool& bIsReversible) const;
118
127 OdResult setIsReversible(bool bIsReversible);
128
137
146
154 OdResult isProtected(bool& bProtected) const;
155
163 OdResult setProtected(bool bProtected);
164
172 OdResult getGroup(OdString& sGroup) const;
173
181 OdResult setGroup(const OdString& sGroup);
182
190 OdResult getAccuracy(double& dAccuracy) const;
191
199 OdResult setAccuracy(double dAccuracy);
200
208 OdResult getEpsgCode(OdInt16& nEpsgCode) const;
209
218
226 OdResult getEpsgVariant(OdInt16& nEpsgVariant) const;
227
236
244 static bool isLegalCode(const OdString& sCode);
245
253 static bool isLegalDescription(const OdString& sDescription);
254
262 static bool isLegalSource(const OdString& sSource);
263
271 static bool isLegalGroup(const OdString& sGroup);
272 };
273}
274
275#endif //_ODSPATIALREFERENCE_ODGEODETICPATHDEFINITION_INCLUDED_
short OdInt16
OdResult
Definition OdResult.h:29
#define ODSPREF_RX_DECLARE_MEMBERS(ClassName)
#define TD_SPATIALREFERENCE_API
OdResult getAccuracy(double &dAccuracy) const
OdResult setGroup(const OdString &sGroup)
OdResult isProtected(bool &bProtected) const
OdResult setEpsgCode(OdInt16 nEpsgCode)
OdResult getEpsgCode(OdInt16 &nEpsgCode) const
static OdResult loadAll(OdGeodeticPathDefinitionArray &arrGeodeticPathDefinition)
OdResult getPathElements(OdGeodeticPathElementArray &arrPathElements) const
OdResult getIsReversible(bool &bIsReversible) const
OdResult setAccuracy(double dAccuracy)
OdResult getSourceDatum(OdString &sSourceDatum) const
OdResult setTargetDatum(const OdString &sTargetDatum)
static bool isLegalGroup(const OdString &sGroup)
OdResult getTargetDatum(OdString &sTargetDatum) const
OdResult setSourceDatum(const OdString &sSourceDatum)
static OdResult load(const OdString &sCode, OdGeodeticPathDefinitionPtr &pGeodeticPathDefinition)
static bool isLegalCode(const OdString &sCode)
OdResult setEpsgVariant(OdInt16 nEpsgVariant)
static bool isLegalDescription(const OdString &sDescription)
static bool isLegalSource(const OdString &sSource)
OdResult getGroup(OdString &sGroup) const
OdResult setPathElements(const OdGeodeticPathElementArray &arrPathElements)
OdResult getEpsgVariant(OdInt16 &nEpsgVariant) const
OdResult setIsReversible(bool bIsReversible)
OdArray< OdGeodeticPathElementPtr > OdGeodeticPathElementArray
OdSmartPtr< OdGeodeticPathDefinition > OdGeodeticPathDefinitionPtr
OdArray< OdGeodeticPathDefinitionPtr > OdGeodeticPathDefinitionArray