Function Polylidar::MeshHelper::ExtractHalfEdgesMatrix

Function Documentation

inline void Polylidar::MeshHelper::ExtractHalfEdgesMatrix(const Matrix<size_t> &triangles, Matrix<size_t> &halfedges)

Extracts the halfedges from a triangular mesh.

Parameters
  • triangles – Input triangles

  • halfedges – Output halfedges into this paramter (mutated!)