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

Public Member Functions

bool __eq__ (self, UnorientedTriangle b)
 
VertId __getitem__ (self, int i)
 
VertId __getitem__ (self, int i)
 
None __init__ (self, std_array_Id_VertTag_3 inVs, bool_output outFlipped=None)
 
None __init__ (self, UnorientedTriangle arg0)
 
None __setitem__ (self, int arg0, VertId arg1)
 
std_array_Id_VertTag_3 getFlipped (self)
 

Protected Member Functions

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 mrmeshpy.UnorientedTriangle.__init__ ( self,
std_array_Id_VertTag_3 inVs,
bool_output outFlipped = None )

◆ __init__() [2/2]

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

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

◆ __setitem__()

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

◆ _convert_to_const_ThreeVertIds()

std_array_Id_VertTag_3 mrmeshpy.UnorientedTriangle._convert_to_const_ThreeVertIds ( self)
protected

◆ _convert_to_ThreeVertIds()

std_array_Id_VertTag_3 mrmeshpy.UnorientedTriangle._convert_to_ThreeVertIds ( self)
protected

◆ getFlipped()

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

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