CFx SDK Documentation  2022 SP0
DbGeoPositionMarker.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 {
39 public:
45  kLeftAlignment = 0,
47  kCenterAlignment = 1,
49  kRightAlignment = 2
50  };
51 
60 
62 
67 
75  OdResult setPosition(const OdGePoint3d &position);
76 
80  double radius() const;
81 
89  OdResult setRadius(double radius);
90 
94  OdString text() const;
95 
103  OdResult setText(const OdString& text);
104 
109 
117  OdResult setMText(const OdDbMText * pMText);
118 
123  bool mtextVisible() const;
124 
133  OdResult setMTextVisible(bool visible);
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 
182  OdString notes() const;
183 
191  OdResult setNotes(const OdString& notes);
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 
244  virtual bool subWorldDraw(OdGiWorldDraw* pWorldDraw) const;
245  virtual void subViewportDraw(OdGiViewportDraw* pViewportDraw) const;
246 
247  virtual OdResult subTransformBy(const OdGeMatrix3d& xform);
248  virtual void subClose();
249 
250  virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const;
251 
252  virtual void subSetDatabaseDefaults(OdDbDatabase* pDb, bool doSubents);
253 };
258 
259 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbGeoPositionMarker > OdDbGeoPositionMarkerPtr
alt
Definition: DimVarDefs.h:165
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
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)