polylidar.extract_tri_mesh_from_organized_point_cloud

polylidar.extract_tri_mesh_from_organized_point_cloud(points: polylidar_pybind.MatrixDouble, rows: int, cols: int, stride: int = 2, calc_normals: bool = True) Tuple[polylidar_pybind.HalfEdgeTriangulation, polylidar_pybind.VectorULongInt]

Extracts a Half-Edge Triangulated mesh (Uniform Mesh/Right Cut Mesh) from an organized point cloud. Returns mesh and T_map. T_map is the valid triangle set that maps between the complete fully connected mesh. and all triangles returned. You will mostly likely not need T_map and can safely discard.