Struct MeshSegmentTracer::Triangle

Nested Relationships

This struct is a nested type of Class MeshSegmentTracer.

Struct Documentation

struct Triangle

A boundary triangle of a piece, counterclockwise seen from outside the piece.

Public Members

std::uint32_t a
std::uint32_t b
std::uint32_t c
std::uint32_t across

The piece across the triangle, or boundary.

std::array<std::uint32_t, 3> edge

The edges (a, b), (b, c), (c, a) as indices into the edges of the piece, and whether each runs from the smaller to the larger point index, as the piece edge is stored.

std::array<bool, 3> forward