MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FaceId Class Reference
+ Inheritance diagram for mrmeshpy.FaceId:

Public Member Functions

bool __bool__ (self)
 
bool __eq__ (self, FaceId b)
 
FaceId __iadd__ (self, int a)
 
None __init__ (self)
 
None __init__ (self, int i)
 
None __init__ (self, int i)
 
None __init__ (self, int i)
 
int __int__ (self)
 
FaceId __isub__ (self, int a)
 
bool __ne__ (self, FaceId b)
 
str __repr__ (self)
 
int get (self)
 
bool operator (self, FaceId b)
 
FaceId operator (self)
 
FaceId operatorminusminus (self)
 
bool valid (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
None __init__ (*args, **kwargs)
 
FaceId operator (*args, **kwargs)
 
FaceId operator (*args, **kwargs)
 
FaceId operator (*args, **kwargs)
 
FaceId operatorminusminus (*args, **kwargs)
 

Detailed Description

Generated from:  MR::FaceId
Aliases:  AABBTreeNode_AABBTreeTraits_FaceTag_Box3f.LeafId, Vector_FaceId_FaceId_const_reference, AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.LeafId, Vector_FaceId_FaceId_reference, TypedBitSet_FaceId_IndexType, AABBTreeTraits_FaceTag_Box3f.LeafId, Vector_FaceId_FaceId_value_type

stores index of some element, it is made as template class to avoid mixing faces, edges and vertices

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.FaceId.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.FaceId.__init__ ( * args,
** kwargs )
static

◆ __init__() [3/6]

None mrmeshpy.FaceId.__init__ ( self)

◆ __init__() [4/6]

None mrmeshpy.FaceId.__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_FaceId, and mrmeshpy.NoDefInit_FaceId.

◆ __init__() [5/6]

None mrmeshpy.FaceId.__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_FaceId, and mrmeshpy.NoDefInit_FaceId.

◆ __init__() [6/6]

None mrmeshpy.FaceId.__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_FaceId, and mrmeshpy.NoDefInit_FaceId.

Member Function Documentation

◆ __bool__()

bool mrmeshpy.FaceId.__bool__ ( self)

◆ __eq__()

bool mrmeshpy.FaceId.__eq__ ( self,
FaceId b )

◆ __iadd__()

FaceId mrmeshpy.FaceId.__iadd__ ( self,
int a )

◆ __int__()

int mrmeshpy.FaceId.__int__ ( self)

◆ __isub__()

FaceId mrmeshpy.FaceId.__isub__ ( self,
int a )

◆ __ne__()

bool mrmeshpy.FaceId.__ne__ ( self,
FaceId b )

◆ __repr__()

str mrmeshpy.FaceId.__repr__ ( self)

Reimplemented in mrmeshpy.NoDefInit_FaceId.

◆ get()

int mrmeshpy.FaceId.get ( self)

◆ operator() [1/5]

FaceId mrmeshpy.FaceId.operator ( * args,
** kwargs )
static

◆ operator() [2/5]

FaceId mrmeshpy.FaceId.operator ( * args,
** kwargs )
static

◆ operator() [3/5]

FaceId mrmeshpy.FaceId.operator ( * args,
** kwargs )
static

◆ operator() [4/5]

FaceId mrmeshpy.FaceId.operator ( self)

◆ operator() [5/5]

bool mrmeshpy.FaceId.operator ( self,
FaceId b )

◆ operatorminusminus() [1/2]

FaceId mrmeshpy.FaceId.operatorminusminus ( * args,
** kwargs )
static

◆ operatorminusminus() [2/2]

FaceId mrmeshpy.FaceId.operatorminusminus ( self)

◆ valid()

bool mrmeshpy.FaceId.valid ( self)

The documentation for this class was generated from the following file: