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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstEdgeLengthMesh arg0)
None __init__ (self, ConstMeshTopology topology, ConstUndirectedEdgeScalars edgeLengths)
EdgeLengthMesh assign (self, ConstEdgeLengthMesh other)
bool flipEdge (self, ConstEdgeId e)
UndirectedEdgeScalars edgeLengths (self)
None edgeLengths (self, ConstUndirectedEdgeScalars arg1)
MeshTopology topology (self)
None topology (self, ConstMeshTopology arg1)
Public Member Functions inherited from mrmeshpy.ConstEdgeLengthMesh
 __init__ (self, *args, **kwargs)
float cotan (self, ConstUndirectedEdgeId ue)
float edgeLengthAfterFlip (self, ConstEdgeId e)
bool isDelone (self, ConstUndirectedEdgeId ue, float threshold=0)
float leftCotan (self, ConstEdgeId e)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstEdgeLengthMesh
EdgeLengthMesh fromMesh (ConstMesh mesh)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstEdgeLengthMesh
typing _offsetof_edgeLengths = 152
typing _offsetof_topology = 0

Detailed Description

Generated from:  MR::EdgeLengthMesh

Unlike the classic mesh that stores coordinates of its vertices, this class
stores the lengths of all edges. It can be used for construction of intrinsic Intrinsic Delaunay Triangulations.

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.EdgeLengthMesh.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.EdgeLengthMesh.__init__ ( self,
ConstMeshTopology topology,
ConstUndirectedEdgeScalars edgeLengths )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

EdgeLengthMesh mrmeshpy.EdgeLengthMesh.assign ( self,
ConstEdgeLengthMesh other )

◆ edgeLengths() [1/2]

UndirectedEdgeScalars mrmeshpy.EdgeLengthMesh.edgeLengths ( self)

Reimplemented from mrmeshpy.ConstEdgeLengthMesh.

◆ edgeLengths() [2/2]

None mrmeshpy.EdgeLengthMesh.edgeLengths ( self,
ConstUndirectedEdgeScalars arg1 )

Reimplemented from mrmeshpy.ConstEdgeLengthMesh.

◆ flipEdge()

bool mrmeshpy.EdgeLengthMesh.flipEdge ( self,
ConstEdgeId e )
given the edge with left and right triangular faces, which form together a quadrangle,
rotates the edge counter-clockwise inside the quadrangle;
the length of e becomes equal to the length of geodesic line between its new ends on original mesh;
does not flip and returns false if the geodesic line does not go fully inside the quadrangle

◆ topology() [1/2]

MeshTopology mrmeshpy.EdgeLengthMesh.topology ( self)

Reimplemented from mrmeshpy.ConstEdgeLengthMesh.

◆ topology() [2/2]

None mrmeshpy.EdgeLengthMesh.topology ( self,
ConstMeshTopology arg1 )

Reimplemented from mrmeshpy.ConstEdgeLengthMesh.


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