#include <Constraint3dCoreApi.h>
Public Types | |
enum | Status { DCM3_D_UNKNOWN, DCM3_D_OVER_DEFINED, DCM3_D_NOT_CONSISTENT, DCM3_D_NOT_CONSISTENT_DIMENSIONS, DCM3_D_NOT_CONSISTENT_OTHER, DCM3_D_NOT_CONSISTENT_UNKNOWN, DCM3_D_NOT_CHANGED, DCM3_D_BETWEEN_SET_MEMBERS, DCM3_D_BETWEEN_FIXED, DCM3_D_NOT_SOLVED, DCM3_D_SOLVED, Redundant = 0xffff } |
enum | FlagMasks { FlagMask_SurfaceOrientation = 0x0003 << 0, FlagMask_GroupLock = 0x0001 << 2, FlagMask_HalfSpace1 = 0x0003 << 4, FlagMask_HalfSpace2 = 0x0003 << 6 } |
Public Member Functions | |
virtual BentleyStatus | _Extract (DataInternalizer &source, DgnModelRefR modelRef, Constraint3dBodyCacheP bodyCache) |
virtual BentleyStatus | _Save (DataExternalizer &sink) |
virtual bool | _DoEditValue () const |
virtual bool | _IsDirected () const |
virtual bool | _IsDimension () const |
virtual void | _Draw (ViewContextR viewContext, DgnModelRefR) const |
virtual double | _GetValue () const |
virtual void | _SetValue (double value) |
virtual WString | _GetVariableAccess () const |
virtual void | _SetVariableAccess (WStringCR variableAccess) |
virtual bool | _DisplayMarkers (ViewContextR viewContext) const |
Constraint3dType | GetType () const |
Status | GetStatus () const |
void | SetStatus (Status status) |
UInt32 | GetFlags () const |
void | SetFlags (UInt32 flags) |
T_GeometryIds const & | GetGeometryIds () const |
void | SetGeometryIds (T_GeometryIds const &geometryIds) |
SurfaceOrientation | GetSurfaceOrientation () const |
void | SetSurfaceOrientation (SurfaceOrientation orientation) |
Constraint3dHalfSpace | GetHalfSpace1 () const |
Constraint3dHalfSpace | GetHalfSpace2 () const |
void | SetHalfSpace1 (Constraint3dHalfSpace halfSpace) |
void | SetHalfSpace2 (Constraint3dHalfSpace halfSpace) |
bool | GetGroupLock () const |
CONSTRAINT3DCORE_EXPORT void | SetGroupLock (bool groupLock) |
bool | HasBoundVariable () const |
CONSTRAINT3DCORE_EXPORT bool | IsRedundant (Constraint3dBaseCR other) const |
CONSTRAINT3DCORE_EXPORT bool | HasElementRef (ElementRefP elementRef) const |
CONSTRAINT3DCORE_EXPORT void | GetElementRefs (T_StdElementRefSet &elementRefs) const |
CONSTRAINT3DCORE_EXPORT BentleyStatus | GetRootRange (DRange3dR range) const |
![]() | |
void * | operator new (size_t size) |
void | operator delete (void *rawMemory, size_t size) |
UInt32 | AddRef () const |
UInt32 | Release () const |
RefCounted () | |
RefCounted (RefCounted const &rhs) | |
RefCounted & | operator= (RefCounted const &rhs) |
UInt32 | GetRefCount () const |
Static Public Member Functions | |
static CONSTRAINT3DCORE_EXPORT Constraint3dPtr | Create (Constraint3dType type) |
static CONSTRAINT3DCORE_EXPORT Constraint3dPtr | Create (Constraint3dType type, T_GeometryIds const &geometryIds, UInt32 flags) |
Protected Member Functions | |
Constraint3dBase (Constraint3dType type) | |
![]() | |
virtual | ~RefCounted () |
![]() | |
virtual | ~IRefCounted () |
void * | operator new (size_t size) |
void | operator delete (void *rawMemory, size_t size) |
Protected Attributes | |
Constraint3dType | m_type |
Status | m_status |
T_GeometryIds | m_geometryIds |
UInt32 | m_flags |
enum FlagMasks |
|
strong |
|
protected |
|
virtual |
Reimplemented in Dimension3dBase.
|
virtual |
Reimplemented in Dimension3dBase.
|
virtual |
Reimplemented in Angle3dConstraint, and DistanceDimension3d.
|
virtual |
Reimplemented in Angle3dConstraint, and Dimension3dBase.
|
virtual |
Reimplemented in Dimension3dBase.
|
virtual |
Reimplemented in Dimension3dBase.
Referenced by HasBoundVariable().
|
virtual |
Reimplemented in Dimension3dBase.
|
virtual |
Reimplemented in Angle3dConstraint, CoincidentConstraint3d, and TangentConstraint3d.
|
virtual |
Reimplemented in Angle3dConstraint, and Dimension3dBase.
|
virtual |
Reimplemented in Dimension3dBase.
References BeAssert.
|
virtual |
Reimplemented in Dimension3dBase.
References BeAssert.
|
static |
|
static |
CONSTRAINT3DCORE_EXPORT void GetElementRefs | ( | T_StdElementRefSet & | elementRefs | ) | const |
T_GeometryIds const& GetGeometryIds | ( | ) | const |
References m_geometryIds.
bool GetGroupLock | ( | ) | const |
References FlagMask_GroupLock, and m_flags.
Constraint3dHalfSpace GetHalfSpace1 | ( | ) | const |
References FlagMask_HalfSpace1, and m_flags.
Constraint3dHalfSpace GetHalfSpace2 | ( | ) | const |
References FlagMask_HalfSpace2, and m_flags.
CONSTRAINT3DCORE_EXPORT BentleyStatus GetRootRange | ( | DRange3dR | range | ) | const |
SurfaceOrientation GetSurfaceOrientation | ( | ) | const |
References FlagMask_SurfaceOrientation, and m_flags.
Constraint3dType GetType | ( | ) | const |
References m_type.
bool HasBoundVariable | ( | ) | const |
References _GetVariableAccess().
CONSTRAINT3DCORE_EXPORT bool HasElementRef | ( | ElementRefP | elementRef | ) | const |
CONSTRAINT3DCORE_EXPORT bool IsRedundant | ( | Constraint3dBaseCR | other | ) | const |
void SetGeometryIds | ( | T_GeometryIds const & | geometryIds | ) |
References m_geometryIds.
CONSTRAINT3DCORE_EXPORT void SetGroupLock | ( | bool | groupLock | ) |
void SetHalfSpace1 | ( | Constraint3dHalfSpace | halfSpace | ) |
References FlagMask_HalfSpace1, and m_flags.
void SetHalfSpace2 | ( | Constraint3dHalfSpace | halfSpace | ) |
References FlagMask_HalfSpace2, and m_flags.
void SetSurfaceOrientation | ( | SurfaceOrientation | orientation | ) |
References FlagMask_SurfaceOrientation, and m_flags.
|
protected |
Referenced by GetFlags(), GetGroupLock(), GetHalfSpace1(), GetHalfSpace2(), GetSurfaceOrientation(), SetFlags(), SetHalfSpace1(), SetHalfSpace2(), and SetSurfaceOrientation().
|
protected |
Referenced by GetGeometryIds(), and SetGeometryIds().
|
protected |
Referenced by GetStatus(), and SetStatus().
|
protected |
Referenced by GetType().