MeshLib C# Docs
Loading...
Searching...
No Matches
MR.EdgeLengthMesh Class Reference

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. Generated from class MR.EdgeLengthMesh. This is the non-const half of the class. More...

+ Inheritance diagram for MR.EdgeLengthMesh:

Public Member Functions

unsafe EdgeLengthMesh ()
 Constructs an empty (default-constructed) instance.
 
unsafe EdgeLengthMesh (MR._ByValue_MeshTopology topology, MR._ByValue_UndirectedEdgeScalars edgeLengths)
 Constructs MR.EdgeLengthMesh elementwise.
 
unsafe EdgeLengthMesh (MR._ByValue_EdgeLengthMesh _other)
 Generated from constructor MR.EdgeLengthMesh.EdgeLengthMesh.
 
 EdgeLengthMesh (Const_EdgeLengthMesh _other)
 Generated from constructor MR.EdgeLengthMesh.EdgeLengthMesh.
 
 EdgeLengthMesh (EdgeLengthMesh _other)
 Generated from constructor MR.EdgeLengthMesh.EdgeLengthMesh.
 
unsafe MR.EdgeLengthMesh assign (MR._ByValue_EdgeLengthMesh _other)
 Generated from method MR.EdgeLengthMesh.operator=.
 
unsafe bool flipEdge (MR.EdgeId 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 Generated from method MR.EdgeLengthMesh.flipEdge.
 

Properties

new unsafe MR.MeshTopology topology [get, protected set]
 
new unsafe MR.UndirectedEdgeScalars edgeLengths [get, protected set]
 

Detailed Description

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. Generated from class MR.EdgeLengthMesh. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ EdgeLengthMesh() [1/5]

unsafe MR.EdgeLengthMesh.EdgeLengthMesh ( )
inline

Constructs an empty (default-constructed) instance.

◆ EdgeLengthMesh() [2/5]

unsafe MR.EdgeLengthMesh.EdgeLengthMesh ( MR._ByValue_MeshTopology topology,
MR._ByValue_UndirectedEdgeScalars edgeLengths )
inline

Constructs MR.EdgeLengthMesh elementwise.

◆ EdgeLengthMesh() [3/5]

unsafe MR.EdgeLengthMesh.EdgeLengthMesh ( MR._ByValue_EdgeLengthMesh _other)
inline

Generated from constructor MR.EdgeLengthMesh.EdgeLengthMesh.

◆ EdgeLengthMesh() [4/5]

MR.EdgeLengthMesh.EdgeLengthMesh ( Const_EdgeLengthMesh _other)
inline

Generated from constructor MR.EdgeLengthMesh.EdgeLengthMesh.

◆ EdgeLengthMesh() [5/5]

MR.EdgeLengthMesh.EdgeLengthMesh ( EdgeLengthMesh _other)
inline

Generated from constructor MR.EdgeLengthMesh.EdgeLengthMesh.

Member Function Documentation

◆ assign()

unsafe MR.EdgeLengthMesh MR.EdgeLengthMesh.assign ( MR._ByValue_EdgeLengthMesh _other)
inline

Generated from method MR.EdgeLengthMesh.operator=.

◆ flipEdge()

unsafe bool MR.EdgeLengthMesh.flipEdge ( MR.EdgeId e)
inline

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 Generated from method MR.EdgeLengthMesh.flipEdge.

Property Documentation

◆ edgeLengths

new unsafe MR.UndirectedEdgeScalars MR.EdgeLengthMesh.edgeLengths
getprotected set

◆ topology

new unsafe MR.MeshTopology MR.EdgeLengthMesh.topology
getprotected set

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