Class storing information about a mesh tirangular face. More...
#include <eagine/shapes/topology.hpp>
Public Member Functions | |
auto | index () const noexcept -> span_size_t |
Returns the index of this triangle within the mesh. | |
auto | vertex_index (span_size_t v) const noexcept |
Returns the v-th vertex index. More... | |
auto | adjacent_triangle (span_size_t v) const noexcept -> const mesh_triangle * |
Returns the triangle adjacent through the v-th edge. More... | |
auto | opposite_vertex (span_size_t v) const noexcept -> unsigned |
Returns opposite vertex index (0,1 or 2) in the v-th adjacent triangle. More... | |
auto | opposite_index (span_size_t v) const noexcept -> unsigned |
Returns the in-mesh index of the v-th adjacent vertex. More... | |
|
inlinenoexcept |
Returns the triangle adjacent through the v-th edge.
Referenced by opposite_index().
|
inlinenoexcept |
Returns the in-mesh index of the v-th adjacent vertex.
|
inlinenoexcept |
Returns opposite vertex index (0,1 or 2) in the v-th adjacent triangle.
Referenced by opposite_index().
|
inlinenoexcept |
Returns the v-th vertex index.