Public Member Functions | |
bool | __bool__ (self) |
bool | __eq__ (self, PixelId b) |
PixelId | __iadd__ (self, int a) |
None | __init__ (self) |
None | __init__ (self, int i) |
int | __int__ (self) |
PixelId | __isub__ (self, int a) |
bool | __ne__ (self, PixelId b) |
str | __repr__ (self) |
int | get (self) |
bool | operator (self, PixelId b) |
PixelId | operator (self) |
PixelId | operatorminusminus (self) |
bool | valid (self) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
None | __init__ (*args, **kwargs) |
PixelId | operator (*args, **kwargs) |
PixelId | operator (*args, **kwargs) |
PixelId | operator (*args, **kwargs) |
PixelId | operatorminusminus (*args, **kwargs) |
Generated from: MR::PixelId Aliases: Vector_PixelId_PixelId.reference, TypedBitSet_PixelId_IndexType, Vector_PixelId_PixelId.value_type, Vector_PixelId_PixelId.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_PixelId, and mrmeshpy.NoDefInit_PixelId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
None mrmeshpy.PixelId.__init__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
None mrmeshpy.PixelId.__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_PixelId, and mrmeshpy.NoDefInit_PixelId.
bool mrmeshpy.PixelId.__bool__ | ( | self | ) |
bool mrmeshpy.PixelId.__eq__ | ( | self, | |
PixelId | b ) |
PixelId mrmeshpy.PixelId.__iadd__ | ( | self, | |
int | a ) |
int mrmeshpy.PixelId.__int__ | ( | self | ) |
PixelId mrmeshpy.PixelId.__isub__ | ( | self, | |
int | a ) |
bool mrmeshpy.PixelId.__ne__ | ( | self, | |
PixelId | b ) |
str mrmeshpy.PixelId.__repr__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_PixelId.
int mrmeshpy.PixelId.get | ( | self | ) |
|
static |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
PixelId mrmeshpy.PixelId.operator | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
bool mrmeshpy.PixelId.operator | ( | self, | |
PixelId | b ) |
Reimplemented in mrmeshpy.NoDefInit_PixelId, and mrmeshpy.NoDefInit_PixelId.
|
static |
PixelId mrmeshpy.PixelId.operatorminusminus | ( | self | ) |
bool mrmeshpy.PixelId.valid | ( | self | ) |