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

Public Member Functions

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)
ConstThreeVertIds verts (self)

Static Protected Attributes

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__()

mrmeshpy.ConstUnorientedTriangle.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstUnorientedTriangle, inVs: meshlib.mrmeshpy.ConstThreeVertIds, outFlipped: bool_output = None) -> None

2. __init__(self: meshlib.mrmeshpy.ConstUnorientedTriangle, arg0: meshlib.mrmeshpy.ConstUnorientedTriangle) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstUnorientedTriangle, : meshlib.mrmeshpy.ConstUnorientedTriangle) -> None

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

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

◆ __ne__()

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

◆ convert_to_const_ThreeVertIds()

ConstThreeVertIds mrmeshpy.ConstUnorientedTriangle.convert_to_const_ThreeVertIds ( self)

◆ getFlipped()

ThreeVertIds mrmeshpy.ConstUnorientedTriangle.getFlipped ( self)
returns this triangle with the opposite orientation

◆ verts()

ConstThreeVertIds mrmeshpy.ConstUnorientedTriangle.verts ( self)

Member Data Documentation

◆ _offsetof_verts

typing mrmeshpy.ConstUnorientedTriangle._offsetof_verts = 0
staticprotected

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