Static Public Member Functions | List of all members
Constraint2dManager Struct Reference

#include <Constraint2dManager.h>

Static Public Member Functions

static
CONSTRAINT2DELEMENT_EXPORT
StatusInt 
AddSolverData (ElementHandleCR eh, Constraint2dSolverDataCR solverData)
 Store constraints data. More...
 
static
CONSTRAINT2DELEMENT_EXPORT
StatusInt 
GetSolverData (Constraint2dSolverDataR solverData, ElementHandleCR eh, bool includingDeleted=false)
 Get constraint data of the specified profile. More...
 
static StatusInt GetSolverDataForRemap (Constraint2dSolverDataR solverData, ElementHandleCR eh)
 
static
CONSTRAINT2DELEMENT_EXPORT
bool 
EvaluateAndUpdate (Constraint2dSolverDataCR solverData, DgnModelR dgnModel, bvector< ElementRefP > const &directChanges, bool isDynamic=false, ElementAgendaP results=NULL, bset< Constraint2dData > *inconsistentConstraints=NULL)
 

Member Function Documentation

static CONSTRAINT2DELEMENT_EXPORT StatusInt AddSolverData ( ElementHandleCR  eh,
Constraint2dSolverDataCR  solverData 
)
static

Store constraints data.

Parameters
[in]ehAn element handle to specify where to store the data. eh can be any of the member elements that are constructing the profile.
[in]solverDataA Constraint2dSolverData object holding constraint model data to store.
Returns
SUCCESS if implemented successfully; otherwise an error code indicating the failing reason.
Remarks
This method will merge the passed-in solverData with the previous constraints if any.
See also
GetSolverData, Constraint2dSolverData
Remarks
Required Library : Constraint2dElement.lib
static CONSTRAINT2DELEMENT_EXPORT bool EvaluateAndUpdate ( Constraint2dSolverDataCR  solverData,
DgnModelR  dgnModel,
bvector< ElementRefP > const &  directChanges,
bool  isDynamic = false,
ElementAgendaP  results = NULL,
bset< Constraint2dData > *  inconsistentConstraints = NULL 
)
static
Remarks
Required Library : Constraint2dElement.lib
static CONSTRAINT2DELEMENT_EXPORT StatusInt GetSolverData ( Constraint2dSolverDataR  solverData,
ElementHandleCR  eh,
bool  includingDeleted = false 
)
static

Get constraint data of the specified profile.

Parameters
[out]solverDataA Constraint2dSolverData object receiving constraint model data.
[in]ehAn element handle to specify where to get the data. eh can be any element of the members constructing the profile.
[in]includingDeletedA boolean to specify whether to include being-deleted elements. If set to True, this method will check and try to resolve members if they are deleted; otherwise if set to False(by default) deleted elements will be left unresolved.
Returns
SUCCESS if implemented successfully; otherwise an error code indicating the failing reason.
See also
AddSolverData, Constraint2dSolverData
Remarks
Required Library : Constraint2dElement.lib
static StatusInt GetSolverDataForRemap ( Constraint2dSolverDataR  solverData,
ElementHandleCR  eh 
)
static

The documentation for this struct was generated from the following file:

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