Inheritance diagram for mrmeshpy.UndirectedEdgeId:Public Member Functions | |
| bool | __bool__ (self) |
| bool | __eq__ (self, UndirectedEdgeId b) |
| UndirectedEdgeId | __iadd__ (self, int a) |
| None | __init__ (self, EdgeId arg0) |
| None | __init__ (self) |
| None | __init__ (self, int i) |
| None | __init__ (self, int i) |
| None | __init__ (self, UndirectedEdgeId arg0) |
| int | __int__ (self) |
| UndirectedEdgeId | __isub__ (self, int a) |
| bool | __ne__ (self, UndirectedEdgeId b) |
| str | __repr__ (self) |
| int | get (self) |
| bool | operator (self, UndirectedEdgeId b) |
| UndirectedEdgeId | operator (self) |
| UndirectedEdgeId | operatorminusminus (self) |
| bool | valid (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| None | __init__ (*args, **kwargs) |
| UndirectedEdgeId | operator (*args, **kwargs) |
| UndirectedEdgeId | operator (*args, **kwargs) |
| UndirectedEdgeId | operator (*args, **kwargs) |
| UndirectedEdgeId | operatorminusminus (*args, **kwargs) |
Generated from: MR::UndirectedEdgeId Aliases: UndirectedEdgeIterator.value_type, TypedBitSet_UndirectedEdgeId_IndexType, AABBTreeTraits_UndirectedEdgeTag_Box2f.LeafId, AABBTreeNode_AABBTreeTraits_UndirectedEdgeTag_Box2f.LeafId, AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box3f.LeafId, AABBTreeNode_AABBTreeTraits_UndirectedEdgeTag_Box3f.LeafId, Vector_UndirectedEdgeId_UndirectedEdgeId_value_type, PolylineUndirectedEdgeIterator.value_type, Vector_UndirectedEdgeId_UndirectedEdgeId_const_reference, AABBTreeTraits_UndirectedEdgeTag_Box3f.LeafId, Vector_UndirectedEdgeId_UndirectedEdgeId_reference, AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box2f.LeafId stores index of some element, it is made as template class to avoid mixing faces, edges and vertices
|
static |
|
static |
| None mrmeshpy.UndirectedEdgeId.__init__ | ( | self, | |
| EdgeId | arg0 ) |
| None mrmeshpy.UndirectedEdgeId.__init__ | ( | self | ) |
| None mrmeshpy.UndirectedEdgeId.__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_UndirectedEdgeId, mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
| None mrmeshpy.UndirectedEdgeId.__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_UndirectedEdgeId, mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
| None mrmeshpy.UndirectedEdgeId.__init__ | ( | self, | |
| UndirectedEdgeId | arg0 ) |
Implicit copy constructor.
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId, mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
| bool mrmeshpy.UndirectedEdgeId.__bool__ | ( | self | ) |
| bool mrmeshpy.UndirectedEdgeId.__eq__ | ( | self, | |
| UndirectedEdgeId | b ) |
| UndirectedEdgeId mrmeshpy.UndirectedEdgeId.__iadd__ | ( | self, | |
| int | a ) |
| int mrmeshpy.UndirectedEdgeId.__int__ | ( | self | ) |
| UndirectedEdgeId mrmeshpy.UndirectedEdgeId.__isub__ | ( | self, | |
| int | a ) |
| bool mrmeshpy.UndirectedEdgeId.__ne__ | ( | self, | |
| UndirectedEdgeId | b ) |
| str mrmeshpy.UndirectedEdgeId.__repr__ | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId.
| int mrmeshpy.UndirectedEdgeId.get | ( | self | ) |
|
static |
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
|
static |
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
| UndirectedEdgeId mrmeshpy.UndirectedEdgeId.operator | ( | self | ) |
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
| bool mrmeshpy.UndirectedEdgeId.operator | ( | self, | |
| UndirectedEdgeId | b ) |
Reimplemented in mrmeshpy.NoDefInit_UndirectedEdgeId, and mrmeshpy.NoDefInit_UndirectedEdgeId.
|
static |
| UndirectedEdgeId mrmeshpy.UndirectedEdgeId.operatorminusminus | ( | self | ) |
| bool mrmeshpy.UndirectedEdgeId.valid | ( | self | ) |