CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbSolid.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
25
26
27#ifndef _OD_DB_SOLID_
28#define _OD_DB_SOLID_
29
30#include "TD_PackPush.h"
31
32#include "DbEntity.h"
33#include "DwgDeclareMembers.h"
34
51{
52public:
54
63
64 /* OdDbSolid(const OdGePoint3d& pt0,
65 const OdGePoint3d& pt1,
66 const OdGePoint3d& pt2,
67 const OdGePoint3d& pt3);
68 OdDbSolid(const OdGePoint3d& pt0,
69 const OdGePoint3d& pt1,
70 const OdGePoint3d& pt2);
71 */
72
89 void getPointAt( int pointIndex, OdGePoint3d& pointValue ) const;
90
91
107 void setPointAt( int pointIndex, const OdGePoint3d& pointValue );
108
109
125 double thickness() const;
126
127
144 void setThickness( double vThickness );
145
146
160
161
179 void setNormal( const OdGeVector3d& geVector );
180
181
196 virtual OdResult getPlane( OdGePlane& gePlane, OdDb::Planarity& gePlanarity ) const;
197
198
200 OdDbDwgFiler* pFiler);
201
202 virtual void dwgOutFields(
203 OdDbDwgFiler* pFiler) const;
204
206 OdDbDxfFiler* pFiler);
207
208 virtual void dxfOutFields(
209 OdDbDxfFiler* pFiler) const;
210
212 OdDbDxfFiler* pFiler);
213
214 virtual void dxfOutFields_R12(
215 OdDbDxfFiler* pFiler) const;
216
218 void* pClsid) const;
219
220 virtual bool subWorldDraw(
221 OdGiWorldDraw* pWd) const;
222
223 virtual void subViewportDraw(
224 OdGiViewportDraw* pVd) const;
225
227
229 OdGsMarker gsMark,
230 const OdGePoint3d& ,
231 const OdGeMatrix3d& ,
232 OdDbFullSubentPathArray& subentPaths,
233 const OdDbObjectIdArray* pEntAndInsertStack ) const;
234
236 OdGsMarkerArray& gsMarkers) const;
237
239};
240
249
250#include "TD_PackPop.h"
251
252#endif
#define DBENT_EXPORT
Definition: DbExport.h:67
OdSmartPtr< OdDbSolid > OdDbSolidPtr
Definition: DbSolid.h:248
ptrdiff_t OdGsMarker
OdResult
Definition: OdResult.h:29
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdGeMatrix3d getEcs() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void getPointAt(int pointIndex, OdGePoint3d &pointValue) const
double thickness() const
void setNormal(const OdGeVector3d &geVector)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
DWGMAP_DECLARE_MEMBERS(OdDbSolid)
OdGeVector3d normal() const
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
virtual OdResult subGetClassID(void *pClsid) const
void setThickness(double vThickness)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
void setPointAt(int pointIndex, const OdGePoint3d &pointValue)
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
Planarity
Definition: DbEntity.h:74