CFx SDK Documentation 2024 SP0
|
#include <DbBaseSubentId.h>
Public Member Functions | |
OdDbSubentId () | |
OdDbSubentId (OdDb::SubentType type, OdGsMarker index) | |
bool | operator== (const OdDbSubentId &subentId) const |
bool | operator!= (const OdDbSubentId &subentId) const |
OdDb::SubentType | type () const |
void | setType (OdDb::SubentType type) |
OdGsMarker | index () const |
void | setIndex (OdGsMarker index) |
This class implements Subentity Id objects for OdDbEntity objects in an OdDbDatabase instance.
Subentity type must be one of the following:
Value OdDb::kNullSubentType 0 OdDb::kFaceSubentType 1 OdDb::kEdgeSubentType 2 OdDb::kVertexSubentType 3
OdDb::kMlineSubentCache 4
Each SubentityId object is created from a Subentity type and an index.
Corresponding C++ library: TD_DbRoot
<group OdDbRoot_Classes>
Definition at line 75 of file DbBaseSubentId.h.
|
inline |
Default constructor for objects of the OdDbSubentId class. Constructs a subentity of the kNullSubentType type and index equal to 0.
Definition at line 83 of file DbBaseSubentId.h.
|
inline |
Constructor for objects of the OdDbSubentId class.
type | [in] Subentity type. |
index | [in] Subentity index. |
Definition at line 94 of file DbBaseSubentId.h.
|
inline |
Returns the index of this SubentId object.
Definition at line 174 of file DbBaseSubentId.h.
|
inline |
Comparison operator "not equal". This operator compares this object with another object of the OdDbSubentId type.
subentId | [in] Object to be compared with this object. |
Definition at line 120 of file DbBaseSubentId.h.
|
inline |
Comparison operator. This operator compares this object with another object of the OdDbSubentId type.
subentId | [in] Object to be compared with this object. |
Definition at line 107 of file DbBaseSubentId.h.
|
inline |
Sets the index of this SubentId object.
index | [in] Index. |
Definition at line 184 of file DbBaseSubentId.h.
|
inline |
Sets the type of this SubentId object.
type | [in] Subentity type. |
Value OdDb::kNullSubentType 0 OdDb::kFaceSubentType 1 OdDb::kEdgeSubentType 2 OdDb::kVertexSubentType 3
OdDb::kMlineSubentCache 4
Definition at line 164 of file DbBaseSubentId.h.
|
inline |
Returns the type of this SubentId object.
Value OdDb::kNullSubentType 0 OdDb::kFaceSubentType 1 OdDb::kEdgeSubentType 2 OdDb::kVertexSubentType 3
OdDb::kMlineSubentCache 4
Definition at line 142 of file DbBaseSubentId.h.