CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbGeoPositionMarker.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
24#ifndef _ODDBGEOPOSITIONMARKER_INCLUDED_
25#define _ODDBGEOPOSITIONMARKER_INCLUDED_
26
27#include "TD_PackPush.h"
28#include "DbEntity.h"
29#include "OdString.h"
30#include "DbMText.h"
31
38{
39public:
45 kLeftAlignment = 0,
47 kCenterAlignment = 1,
49 kRightAlignment = 2
50 };
51
60
62
67
76
80 double radius() const;
81
89 OdResult setRadius(double radius);
90
94 OdString text() const;
95
104
109
117 OdResult setMText(const OdDbMText * pMText);
118
123 bool mtextVisible() const;
124
134
138 double landingGap() const;
139
147 OdResult setLandingGap(double landingGap);
148
153 bool enableFrameText() const;
154
163 OdResult setEnableFrameText(bool enableFrameText);
164
169
178
183
192
197
206
216 OdResult latLonAlt(double &lat, double &lon, double &alt) const;
217
227 OdResult setLatLonAlt(double lat, double lon, double alt);
228
233
238
240 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
242 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
243
245 virtual bool subWorldDraw(OdGiWorldDraw* pWorldDraw) const;
246 virtual void subViewportDraw(OdGiViewportDraw* pViewportDraw) const;
247
248 virtual OdResult subTransformBy(const OdGeMatrix3d& xform);
249 virtual void subClose();
250
251 virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const;
252
253 virtual void subSetDatabaseDefaults(OdDbDatabase* pDb, bool doSubents);
254};
259
260#endif
#define DBENT_EXPORT
Definition: DbExport.h:67
OdSmartPtr< OdDbGeoPositionMarker > OdDbGeoPositionMarkerPtr
alt
Definition: DimVarDefs.h:165
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
virtual void subViewportDraw(OdGiViewportDraw *pViewportDraw) const
ODDB_DECLARE_MEMBERS(OdDbGeoPositionMarker)
OdResult setText(const OdString &text)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
double radius() const
OdResult setRadius(double radius)
OdResult setEnableFrameText(bool enableFrameText)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult setGeoPosition(const OdGePoint3d &position)
OdResult setPosition(const OdGePoint3d &position)
virtual void subClose()
OdGePoint3d position() const
OdResult setLandingGap(double landingGap)
OdResult setMTextVisible(bool visible)
OdResult setTextAlignmentType(OdTextAlignmentType textAlignmentType)
OdGePoint3d geoPosition() const
double landingGap() const
OdResult setMText(const OdDbMText *pMText)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
bool mtextVisible() const
OdDbObjectId textStyle() const
OdTextAlignmentType textAlignmentType() const
OdDbMTextPtr mtext() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xform)
OdString notes() const
OdGeVector3d normal() const
OdString text() const
OdResult setNotes(const OdString &notes)
virtual ~OdDbGeoPositionMarker()
OdResult latLonAlt(double &lat, double &lon, double &alt) const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
bool enableFrameText() const
virtual bool subWorldDraw(OdGiWorldDraw *pWorldDraw) const
OdResult setLatLonAlt(double lat, double lon, double alt)