Public Member Functions | |
bool | __bool__ (self) |
bool | __eq__ (self, VertId b) |
VertId | __iadd__ (self, int a) |
None | __init__ (self) |
None | __init__ (self, int i) |
None | __init__ (self, int i) |
int | __int__ (self) |
VertId | __isub__ (self, int a) |
bool | __ne__ (self, VertId b) |
str | __repr__ (self) |
int | get (self) |
bool | operator (self, VertId b) |
VertId | operator (self) |
VertId | operatorminusminus (self) |
bool | valid (self) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
None | __init__ (*args, **kwargs) |
VertId | operator (*args, **kwargs) |
VertId | operator (*args, **kwargs) |
VertId | operator (*args, **kwargs) |
VertId | operatorminusminus (*args, **kwargs) |
Generated from: MR::VertId Aliases: Vector_VertId_VertId_value_type, Vector_VertId_VertId_const_reference, Vector_VertId_Id_EdgeTag.reference, Vector_VertId_Id_EdgeTag.const_reference, TypedBitSet_VertId_IndexType, Vector_VertId_Id_EdgeTag.value_type, Vector_VertId_VertId_reference stores index of some element, it is made as template class to avoid mixing faces, edges and vertices
|
static |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
None mrmeshpy.VertId.__init__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
None mrmeshpy.VertId.__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_VertId, and mrmeshpy.NoDefInit_VertId.
None mrmeshpy.VertId.__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_VertId, and mrmeshpy.NoDefInit_VertId.
bool mrmeshpy.VertId.__bool__ | ( | self | ) |
bool mrmeshpy.VertId.__eq__ | ( | self, | |
VertId | b ) |
VertId mrmeshpy.VertId.__iadd__ | ( | self, | |
int | a ) |
int mrmeshpy.VertId.__int__ | ( | self | ) |
VertId mrmeshpy.VertId.__isub__ | ( | self, | |
int | a ) |
bool mrmeshpy.VertId.__ne__ | ( | self, | |
VertId | b ) |
str mrmeshpy.VertId.__repr__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_VertId.
int mrmeshpy.VertId.get | ( | self | ) |
|
static |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
VertId mrmeshpy.VertId.operator | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
bool mrmeshpy.VertId.operator | ( | self, | |
VertId | b ) |
Reimplemented in mrmeshpy.NoDefInit_VertId, and mrmeshpy.NoDefInit_VertId.
|
static |
VertId mrmeshpy.VertId.operatorminusminus | ( | self | ) |
bool mrmeshpy.VertId.valid | ( | self | ) |