RegionUtil.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 
11 #include "AssocRegionHandler.h"
12 
13 
15 
17 
18 /*=================================================================================**/
23 {
24 private:
25  virtual void MakeClassAbstract() = 0;
26 public:
27 public:
28 
30 DGNPLATFORM_EXPORT void SetFloodParams (RegionLoops regionLoops, double gapTolerance, bool stepOutOfHoles = false);
31 
33 DGNPLATFORM_EXPORT void SetInteriorText (bool interiorText, double textMarginFactor);
34 
36 DGNPLATFORM_EXPORT void SetFlattenBoundary (TransformCR flattenTrans);
37 
39 DGNPLATFORM_EXPORT void SetFlattenBoundary (DVec3dCR flattenDir);
40 
43 DGNPLATFORM_EXPORT BentleyStatus Flood (DgnModelRefR targetModel, ElementAgendaCR in, TransformCP inTrans, DPoint3dCP seedPoints, size_t numSeed);
44 
47 
51 DGNPLATFORM_EXPORT BentleyStatus Boolean (DgnModelRefR targetModel, ElementAgendaCR in, TransformCP inTrans, RegionType operation);
52 
55 DGNPLATFORM_EXPORT BentleyStatus Boolean (DgnModelRefR targetModel, ElementAgendaCR target, ElementAgendaCR tool, TransformCP targetTrans, TransformCP toolTrans, RegionType operation);
56 
58 DGNPLATFORM_EXPORT void InitRegionParams (RegionParams& params);
59 
62 
65 
68 
71 DGNPLATFORM_EXPORT BentleyStatus GetAssociativeRegion (EditElementHandleR eeh, RegionParams const& params, WCharCP cellName);
72 
76 
77 }; // RegionGraphicsContext
78 
80 
struct DgnPlatform::ElementAgenda const & ElementAgendaCR
Definition: DgnPlatform.h:258
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
struct DPoint3d const * DPoint3dCP
Definition: msgeomstructs_typedefs.h:79
Region created by searching for closed loops around seed points.
Definition: AssocRegionHandler.h:38
RegionType
Definition: AssocRegionHandler.h:24
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
wchar_t const * WCharCP
Definition: Bentley.h:224
RefCountedPtr< RegionGraphicsContext > RegionGraphicsContextPtr
Definition: RegionUtil.h:16
BentleyStatus
Definition: Bentley.h:208
struct Transform const * TransformCP
Definition: msgeomstructs_typedefs.h:134
A DgnModelRef provides access to a model in a Bentley::DgnPlatform::DgnFile.
Definition: DgnModelRef.h:172
A bvector of EditElementHandle entries to be used for operating on groups of elements.
Definition: ElementAgenda.h:257
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
struct Transform const & TransformCR
Definition: msgeomstructs_typedefs.h:134
Concrete class that can be used to implement the reference-counting pattern.
Definition: RefCounted.h:109
RegionLoops
Definition: AssocRegionHandler.h:17
struct DVec3d const & DVec3dCR
Definition: msgeomstructs_typedefs.h:89

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