MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.UnorientedTriangle Class Reference

Public Member Functions

bool __eq__ (self, UnorientedTriangle b)
 
None __init__ (self, std_array_Id_VertTag_3 inVs, bool_output outFlipped=None)
 
None __init__ (self, UnorientedTriangle arg0)
 
std_array_Id_VertTag_3 getFlipped (self)
 

Protected Member Functions

VertId _Subscript (self, int i)
 
VertId _Subscript (self, int i)
 
std_array_Id_VertTag_3 _convert_to_ThreeVertIds (self)
 
std_array_Id_VertTag_3 _convert_to_const_ThreeVertIds (self)
 

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/2]

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

◆ __init__() [2/2]

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

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.UnorientedTriangle.__eq__ ( self,
UnorientedTriangle b )

◆ _convert_to_const_ThreeVertIds()

std_array_Id_VertTag_3 meshlib.mrmeshpy.UnorientedTriangle._convert_to_const_ThreeVertIds ( self)
protected

◆ _convert_to_ThreeVertIds()

std_array_Id_VertTag_3 meshlib.mrmeshpy.UnorientedTriangle._convert_to_ThreeVertIds ( self)
protected

◆ _Subscript() [1/2]

VertId meshlib.mrmeshpy.UnorientedTriangle._Subscript ( self,
int i )
protected

◆ _Subscript() [2/2]

VertId meshlib.mrmeshpy.UnorientedTriangle._Subscript ( self,
int i )
protected

◆ getFlipped()

std_array_Id_VertTag_3 meshlib.mrmeshpy.UnorientedTriangle.getFlipped ( self)
returns this triangle with the opposite orientation

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