ArcHandlers.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
12 #include "IAreaFillProperties.h"
13 
15 
18 
19 
20 /*=================================================================================**/
28 {
31 private:
32  virtual void MakeClassAbstract() = 0;
33 public:
34 
35 }; // EllipticArcBaseHandler
36 
37 /*=================================================================================**/
45 {
48 private:
49  virtual void MakeClassAbstract() = 0;
50 public:
51 public:
52 
53 /*---------------------------------------------------------------------------------**/
66 DGNPLATFORM_EXPORT static BentleyStatus CreateEllipseElement (EditElementHandleR eeh, ElementHandleCP templateEh, DPoint3dCR center, double axis1, double axis2, RotMatrixCR rotation, bool is3d, DgnModelRefR modelRef);
67 
68 /*---------------------------------------------------------------------------------**/
81 DGNPLATFORM_EXPORT static BentleyStatus CreateEllipseElement (EditElementHandleR eeh, ElementHandleCP templateEh, DPoint3dCR center, double axis1, double axis2, double rotation, bool is3d, DgnModelRefR modelRef);
82 
83 /*---------------------------------------------------------------------------------**/
93 DGNPLATFORM_EXPORT static BentleyStatus CreateEllipseElement (EditElementHandleR eeh, ElementHandleCP templateEh, DEllipse3dCR ellipse, bool is3d, DgnModelRefR modelRef);
94 
95 }; // EllipseHandler
96 
97 
98 /*=================================================================================**/
105 {
108 private:
109  virtual void MakeClassAbstract() = 0;
110 public:
111 public:
112 
113 /*---------------------------------------------------------------------------------**/
128 DGNPLATFORM_EXPORT static BentleyStatus CreateArcElement (EditElementHandleR eeh, ElementHandleCP templateEh, DPoint3dCR center, double axis1, double axis2, RotMatrixCR rotation, double start, double sweep, bool is3d, DgnModelRefR modelRef);
129 
130 /*---------------------------------------------------------------------------------**/
145 DGNPLATFORM_EXPORT static BentleyStatus CreateArcElement (EditElementHandleR eeh, ElementHandleCP templateEh, DPoint3dCR center, double axis1, double axis2, double rotation, double start, double sweep, bool is3d, DgnModelRefR modelRef);
146 
147 /*---------------------------------------------------------------------------------**/
157 DGNPLATFORM_EXPORT static BentleyStatus CreateArcElement (EditElementHandleR eeh, ElementHandleCP templateEh, DEllipse3dCR ellipse, bool is3d, DgnModelRefR modelRef);
158 
159 }; // ArcHandler
160 
161 
163 
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
#define ELEMENTHANDLER_DECLARE_MEMBERS(__classname__, __exporter__)
Definition: Handler.h:86
Provides methods for changing the area properties of an element.
Definition: IAreaFillProperties.h:81
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
struct RotMatrix const & RotMatrixCR
Definition: msgeomstructs_typedefs.h:135
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
Modify an element that represents an open or closed path.
Definition: ElementGeometry.h:48
Base class for handlers that control the display of graphic (visible) elements.
Definition: DisplayHandler.h:30
BentleyStatus
Definition: Bentley.h:208
A DgnModelRef provides access to a model in a Bentley::DgnPlatform::DgnFile.
Definition: DgnModelRef.h:172
struct DgnPlatform::ElementHandle const * ElementHandleCP
Definition: DgnPlatform.h:260
Base class with behavior common to ellipse and arc elements.
Definition: ArcHandlers.h:26
#define DEFINE_T_SUPER(B)
Definition: Bentley.h:167
The default type handler for the ARC_ELM type that corresponds to the Arc_3d and Arc_2d structures...
Definition: ArcHandlers.h:104
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
The default type handler for the ELLIPSE_ELM type that corresponds to the Ellipse_3d and Ellipse_2d s...
Definition: ArcHandlers.h:43
struct DEllipse3d const & DEllipse3dCR
Definition: msgeomstructs_typedefs.h:114
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.