Function Polylidar::MeshHelper::CreateTriMeshCopy

Function Documentation

HalfEdgeTriangulation Polylidar::MeshHelper::CreateTriMeshCopy(Matrix<double> &vertices, Matrix<int> &triangles, const bool calc_normals = true)

Special purpose function to taken Open3D format of triangles stored in integers and converts to unsigned intergers using Polylidar3D.

Parameters
  • vertices

  • triangles

  • calc_normals

Returns

HalfEdgeTriangulation