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 __setitem__ (self, int arg0, VertId arg1)
 
std_array_Id_VertTag_3 convert_to_ThreeVertIds (self)
 
std_array_Id_VertTag_3 convert_to_const_ThreeVertIds (self)
 
std_array_Id_VertTag_3 getFlipped (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
UnorientedTriangle operator (*args, **kwargs)
 
UnorientedTriangle operator (*args, **kwargs)
 

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__() [1/2]

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

◆ __init__() [2/2]

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

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)

◆ convert_to_ThreeVertIds()

std_array_Id_VertTag_3 mrmeshpy.UnorientedTriangle.convert_to_ThreeVertIds ( self)

◆ getFlipped()

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

Member Data Documentation

◆ _offsetof_verts

typing mrmeshpy.UnorientedTriangle._offsetof_verts = 0
staticprotected

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