CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbNamedPath.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 _OD_DBNAMEDPATH_H_INCLUDED_
25#define _OD_DBNAMEDPATH_H_INCLUDED_
26
27#include "DbObject.h"
28
29#include "TD_PackPush.h"
30
31class OdGeCurve3d;
32
39{
40 public:
42
43 virtual ~OdDbNamedPath();
44
45 virtual OdResult getGeometry(OdGeCurve3d *& pCurve) const = 0;
46 private:
47 OdDbNamedPath(); // noimpl
48};
49
51
57{
58 public:
60
62 virtual ~OdDbCurvePath();
63
64 virtual OdResult getGeometry(OdGeCurve3d *& pCurve) const;
65
66 void setGeometry(const OdDbObjectId &curveId);
68
70 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
72 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
73};
74
76
82{
83 public:
85
87 virtual ~OdDbPointPath();
88
89 virtual OdResult getGeometry(OdGeCurve3d *& pCurve) const;
90
91 void setGeometry(const OdGePoint3d &point);
93
95 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
97 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
98};
99
101
104
105#include "TD_PackPop.h"
106
107#endif // _OD_DBNAMEDPATH_H_INCLUDED_
#define SCENEOE_EXPORT
Definition: DbExport.h:56
OdSmartPtr< OdDbCurvePath > OdDbCurvePathPtr
Definition: DbNamedPath.h:75
OdSmartPtr< OdDbPointPath > OdDbPointPathPtr
Definition: DbNamedPath.h:100
SCENEOE_EXPORT OdDbObjectId oddbGetNamedPathDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdSmartPtr< OdDbNamedPath > OdDbNamedPathPtr
Definition: DbNamedPath.h:50
SCENEOE_EXPORT OdDbDictionaryPtr oddbGetNamedPathDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdResult
Definition: OdResult.h:29
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setGeometry(const OdDbObjectId &curveId)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbObjectId entityId() const
ODDB_DECLARE_MEMBERS(OdDbCurvePath)
virtual ~OdDbCurvePath()
virtual OdResult getGeometry(OdGeCurve3d *&pCurve) const
virtual ~OdDbNamedPath()
ODDB_DECLARE_MEMBERS(OdDbNamedPath)
virtual OdResult getGeometry(OdGeCurve3d *&pCurve) const =0
virtual ~OdDbPointPath()
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbPointPath)
void setGeometry(const OdGePoint3d &point)
virtual OdResult getGeometry(OdGeCurve3d *&pCurve) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdGePoint3d point() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OpenMode
Definition: DbObjectId.h:54