Function Mesh.getTriangle

Returns the triangle at the specified face index.

dlib.geometry.triangle.Triangle getTriangle(
  ulong faceIndex
);

Parameters

NameDescription
faceIndex The index of the triangle to retrieve.

Returns

The triangle at the given index.