Function Polylidar::MeshHelper::CreateTriMeshFromVectors

Function Documentation

HalfEdgeTriangulation Polylidar::MeshHelper::CreateTriMeshFromVectors(std::vector<double> &&vertices, std::vector<size_t> &&triangles, std::vector<size_t> &&halfedges)

Create a 3D Triangular Mesh (no copy) from the given datastructures.

Parameters
  • vertices

  • triangles

  • halfedges

Returns

HalfEdgeTriangulation