BSplineCurveHandler.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 
10 
13 #include "IAreaFillProperties.h"
14 #include "ComplexHeaderHandler.h"
15 
16 
18 
19 
22 
23 /*=================================================================================**/
32 {
35 private:
36  virtual void MakeClassAbstract() = 0;
37 public:
38 public:
39 
40 /*---------------------------------------------------------------------------------**/
46 DGNPLATFORM_EXPORT static BSplineStatus IsValidCurve (MSBsplineCurveCR curve);
47 
48 /*---------------------------------------------------------------------------------**/
58 DGNPLATFORM_EXPORT static BSplineStatus CreateBSplineCurveElement (EditElementHandleR eeh, ElementHandleCP templateEh, MSBsplineCurveCR curve, bool is3d, DgnModelRefR modelRef);
59 
60 /*---------------------------------------------------------------------------------**/
66 DGNPLATFORM_EXPORT static BSplineStatus IsValidInterpolationCurve (MSInterpolationCurveCR curve);
67 
68 /*---------------------------------------------------------------------------------**/
78 DGNPLATFORM_EXPORT static BSplineStatus CreateBSplineCurveElement (EditElementHandleR eeh, ElementHandleCP templateEh, MSInterpolationCurveCR curve, bool is3d, DgnModelRefR modelRef);
79 
80 }; // BSplineCurveHandler
81 
82 
84 
86 
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
The default type handler for the BSPLINE_CURVE_ELM type that corresponds to the Bspline_curve structu...
Definition: BSplineCurveHandler.h:29
struct MSInterpolationCurve const & MSInterpolationCurveCR
Definition: msgeomstructs_typedefs.h:203
#define ELEMENTHANDLER_DECLARE_MEMBERS(__classname__, __exporter__)
Definition: Handler.h:86
BSplineStatus
Definition: DgnPlatformErrors.r.h:284
Provides methods for changing the area properties of an element.
Definition: IAreaFillProperties.h:81
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
Modify an element that represents an open or closed path.
Definition: ElementGeometry.h:48
struct MSBsplineCurve const & MSBsplineCurveCR
Definition: msgeomstructs_typedefs.h:139
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 for displayable complex element types.
Definition: ComplexHeaderHandler.h:29
#define DEFINE_T_SUPER(B)
Definition: Bentley.h:167
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68

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