12 #ifdef __CONSTRAINT3DELEMENT_BUILD__
13 #define CONSTRAINT3DELEMENT_EXPORT __declspec(dllexport)
15 #define CONSTRAINT3DELEMENT_EXPORT __declspec(dllimport)
18 BEGIN_CONSTRAINT3D_NAMESPACE
70 END_CONSTRAINT3D_NAMESPACE
static BentleyStatus ReevaluateAndUpdate(bool &anyUpdated, ElementHandleCR dependentEh, T_Constraints &constraints, bool constraintsModified, bool *rootsUpdated=NULL, T_StdElementRefSet *rootSet=NULL)
bvector< Constraint3dPtr > T_Constraints
Definition: Constraint3dCoreApi.h:131
static BentleyStatus GetConstraints(T_Constraints &constraints, ElementHandleCR hostEh)
#define CONSTRAINT3DELEMENT_EXPORT
Definition: Constraint3dElementApi.h:15
static bool IsGroupedToConstraint(ElementHandleCR eh)
Definition: ViewContext.h:358
struct DPoint3d const * DPoint3dCP
Definition: msgeomstructs_typedefs.h:79
static BentleyStatus SaveConstraints(EditElementHandleR eeh, T_Constraints &constraints)
static void OpenAngleDialog(double &dimensionValue, WStringR variableAccess, DgnModelRefR modelRef, ViewportP viewport, DPoint3dCP origin)
Definition: Constraint3dElementApi.h:62
static void CloseDimensionDialog()
Status
Definition: Constraint3dCoreApi.h:184
static void OpenDimensionDialog(double &dimensionValue, WStringR variableAccess, DgnModelRefR modelRef, ViewportP viewport, DPoint3dCP origin)
static void DrawPath(DisplayPathCR path, ViewContextR viewContext)
Definition: Constraint3dElementApi.h:50
static BentleyStatus GetConstraintDescription(WStringR string, Constraint3dType type, GeometryId::Status geometryStatus)
#define NULL
Definition: Bentley.h:157
static BentleyStatus GetDegreesOfFreedom(int &dof, int &removedDof, int &rigidDof, T_Constraints const &constraints, DgnModelRefR modelRef)
struct DgnPlatform::DisplayPath const & DisplayPathCR
Definition: DgnPlatform.h:236
BentleyStatus
Definition: Bentley.h:208
static void RegisterHandlers()
static bool IsConstraintElement(ElementHandleCR eeh)
static BentleyStatus GetHostElement(EditElementHandleR hostEeh, ElementHandleCR eh, bool searchGroup=false)
static BentleyStatus RemoveElementConstraints(ElementHandleCR eh)
static BentleyStatus GetExistingConstraints(T_StdElementRefSet &hosts, T_Constraints &constraints, T_StdElementRefSet &elementRefs, DgnModelRefP modelRef, bool doGroups)
int StatusInt
Definition: Bentley.h:222
Constraint3dType
Definition: Constraint3dCoreApi.h:70
static bool HasConstraints(ElementHandleCR eh)
static BentleyStatus Create(EditElementHandleR eeh, DgnModelRefR destinationModelRef)
static void DrawConstraints(ElementHandleCR el, ViewContextR viewContext, bool drawConstraintMarkers, bool drawDimensions)
struct DgnPlatform::ElementHandle const & ElementHandleCR
Definition: DgnPlatform.h:260
Definition: Constraint3dElementApi.h:24
A string class that has many of the same capabilities as std::string, plus additional functions such ...
Definition: WString.h:51