Inheritance diagram for mrmeshpy.GraphVertId:Public Member Functions | |
| bool | __bool__ (self) |
| bool | __eq__ (self, GraphVertId b) |
| GraphVertId | __iadd__ (self, int a) |
| None | __init__ (self) |
| None | __init__ (self, int i) |
| None | __init__ (self, GraphVertId arg0) |
| int | __int__ (self) |
| GraphVertId | __isub__ (self, int a) |
| bool | __ne__ (self, GraphVertId b) |
| str | __repr__ (self) |
| int | get (self) |
| bool | operator (self, GraphVertId b) |
| GraphVertId | operator (self) |
| GraphVertId | operatorminusminus (self) |
| bool | valid (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| None | __init__ (*args, **kwargs) |
| GraphVertId | operator (*args, **kwargs) |
| GraphVertId | operator (*args, **kwargs) |
| GraphVertId | operator (*args, **kwargs) |
| GraphVertId | operatorminusminus (*args, **kwargs) |
Generated from: MR::GraphVertId Aliases: Vector_GraphVertId_GraphVertId.const_reference, Vector_GraphVertId_GraphVertId.value_type, Vector_GraphVertId_GraphVertId.reference, TypedBitSet_GraphVertId_IndexType, Graph.VertId stores index of some element, it is made as template class to avoid mixing faces, edges and vertices
|
static |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
| None mrmeshpy.GraphVertId.__init__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
| None mrmeshpy.GraphVertId.__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.
The `= int` is there only to make the bindings emit this constructor, I don't think it affects anything else.
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
| None mrmeshpy.GraphVertId.__init__ | ( | self, | |
| GraphVertId | arg0 ) |
Implicit copy constructor.
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
| bool mrmeshpy.GraphVertId.__bool__ | ( | self | ) |
| bool mrmeshpy.GraphVertId.__eq__ | ( | self, | |
| GraphVertId | b ) |
| GraphVertId mrmeshpy.GraphVertId.__iadd__ | ( | self, | |
| int | a ) |
| int mrmeshpy.GraphVertId.__int__ | ( | self | ) |
| GraphVertId mrmeshpy.GraphVertId.__isub__ | ( | self, | |
| int | a ) |
| bool mrmeshpy.GraphVertId.__ne__ | ( | self, | |
| GraphVertId | b ) |
| str mrmeshpy.GraphVertId.__repr__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId.
| int mrmeshpy.GraphVertId.get | ( | self | ) |
|
static |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
| GraphVertId mrmeshpy.GraphVertId.operator | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
| bool mrmeshpy.GraphVertId.operator | ( | self, | |
| GraphVertId | b ) |
Reimplemented in mrmeshpy.NoDefInit_GraphVertId, and mrmeshpy.NoDefInit_GraphVertId.
|
static |
| GraphVertId mrmeshpy.GraphVertId.operatorminusminus | ( | self | ) |
| bool mrmeshpy.GraphVertId.valid | ( | self | ) |