Public Member Functions | |
NodeId | __add__ (self, int a) |
NodeId | __add__ (self, int a) |
NodeId | __add__ (self, int a) |
bool | __bool__ (self) |
bool | __eq__ (self, NodeId b) |
NodeId | __iadd__ (self, int a) |
None | __init__ (self) |
None | __init__ (self, int i) |
int | __int__ (self) |
NodeId | __isub__ (self, int a) |
bool | __ne__ (self, NodeId b) |
str | __repr__ (self) |
int | get (self) |
bool | operator (self, NodeId b) |
NodeId | operator (self) |
NodeId | operatorminusminus (self) |
bool | valid (self) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
None | __init__ (*args, **kwargs) |
NodeId | operator (*args, **kwargs) |
NodeId | operator (*args, **kwargs) |
NodeId | operator (*args, **kwargs) |
NodeId | operatorminusminus (*args, **kwargs) |
Generated from: MR::NodeId Aliases: TypedBitSet_NodeId_IndexType, Vector_NodeId_NodeId.reference, Vector_NodeId_NodeId.value_type, Vector_NodeId_NodeId.const_reference stores index of some element, it is made as template class to avoid mixing faces, edges and vertices
|
static |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
None mrmeshpy.NodeId.__init__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
None mrmeshpy.NodeId.__init__ | ( | self, | |
int | i ) |
Allow constructing from `int` and other integral types. This constructor is written like this instead of a plain `Id(int)`, because we also wish to disable construction from other unrelated `Id<U>` specializations, which themselves have implicit conversions to `int`. We could also achieve that using `template <typename U> Id(Id<U>) = delete;`, but it turns out that that causes issues for the `EdgeId::operator UndirectedEdgeId` below. There, while `UndirectedEdgeId x = EdgeId{};` compiles with this approach, but `UndirectedEdgeId x(EdgeId{});` doesn't. So to allow both forms, this constructor must be written this way, as a template.
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
NodeId mrmeshpy.NodeId.__add__ | ( | self, | |
int | a ) |
NodeId mrmeshpy.NodeId.__add__ | ( | self, | |
int | a ) |
NodeId mrmeshpy.NodeId.__add__ | ( | self, | |
int | a ) |
bool mrmeshpy.NodeId.__bool__ | ( | self | ) |
bool mrmeshpy.NodeId.__eq__ | ( | self, | |
NodeId | b ) |
NodeId mrmeshpy.NodeId.__iadd__ | ( | self, | |
int | a ) |
int mrmeshpy.NodeId.__int__ | ( | self | ) |
NodeId mrmeshpy.NodeId.__isub__ | ( | self, | |
int | a ) |
bool mrmeshpy.NodeId.__ne__ | ( | self, | |
NodeId | b ) |
str mrmeshpy.NodeId.__repr__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_NodeId, and mrmeshpy.NoInitNodeId.
int mrmeshpy.NodeId.get | ( | self | ) |
|
static |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
NodeId mrmeshpy.NodeId.operator | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
bool mrmeshpy.NodeId.operator | ( | self, | |
NodeId | b ) |
Reimplemented in mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoDefInit_NodeId, mrmeshpy.NoInitNodeId, and mrmeshpy.NoInitNodeId.
|
static |
NodeId mrmeshpy.NodeId.operatorminusminus | ( | self | ) |
bool mrmeshpy.NodeId.valid | ( | self | ) |