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

Public Member Functions

VertId __getitem__ (self, int i)
ConstVertId __getitem__ (ConstUnorientedTriangle self, int i)
None __init__ (self, ConstThreeVertIds inVs, bool_output outFlipped=None)
None __init__ (self, ConstUnorientedTriangle arg0)
None __setitem__ (self, int arg0, ConstVertId arg1)
UnorientedTriangle assign (self, ConstUnorientedTriangle other)
ThreeVertIds convert_to_ThreeVertIds (self)
ThreeVertIds verts (self)
None verts (self, ConstThreeVertIds arg1)
Public Member Functions inherited from mrmeshpy.ConstUnorientedTriangle
bool __eq__ (self, ConstUnorientedTriangle b)
ConstVertId __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstUnorientedTriangle b)
ConstThreeVertIds convert_to_const_ThreeVertIds (self)
ThreeVertIds getFlipped (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstUnorientedTriangle
typing _offsetof_verts = 0

Detailed Description

Generated from:  MR::UnorientedTriangle

describes a triangle as three vertex IDs sorted in a way to quickly find same triangles
irrespective of vertex order (clockwise or counterclockwise)

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.UnorientedTriangle.__init__ ( self,
ConstThreeVertIds inVs,
bool_output outFlipped = None )

◆ __init__() [3/3]

None mrmeshpy.UnorientedTriangle.__init__ ( self,
ConstUnorientedTriangle arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstVertId mrmeshpy.UnorientedTriangle.__getitem__ ( ConstUnorientedTriangle self,
int i )

◆ __getitem__() [2/2]

VertId mrmeshpy.UnorientedTriangle.__getitem__ ( self,
int i )

◆ __setitem__()

None mrmeshpy.UnorientedTriangle.__setitem__ ( self,
int arg0,
ConstVertId arg1 )

◆ assign()

UnorientedTriangle mrmeshpy.UnorientedTriangle.assign ( self,
ConstUnorientedTriangle other )

◆ convert_to_ThreeVertIds()

ThreeVertIds mrmeshpy.UnorientedTriangle.convert_to_ThreeVertIds ( self)

◆ verts() [1/2]

ThreeVertIds mrmeshpy.UnorientedTriangle.verts ( self)

Reimplemented from mrmeshpy.ConstUnorientedTriangle.

◆ verts() [2/2]

None mrmeshpy.UnorientedTriangle.verts ( self,
ConstThreeVertIds arg1 )

Reimplemented from mrmeshpy.ConstUnorientedTriangle.


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