Function Polylidar::MeshHelper::ComputeTriangleNormals¶
Defined in File MeshHelper.hpp
Function Documentation¶
-
void Polylidar::MeshHelper::ComputeTriangleNormals(const Matrix<double> &vertices, const std::vector<size_t> &triangles, std::vector<double> &triangle_normals, const bool flip_normals = false)¶
Compute Triangle Normals with Contiguous Buffer Datastructures.
- Parameters
vertices –
triangles –
triangle_normals – Results will be stored in here
flip_normals – If true will flip the normals