Class Triangle
Defined in File data_types.h
Class Documentation
-
class Triangle
Triangle with 3 indices for points.
Public Functions
-
inline Triangle()
Default constructor.
-
inline Triangle(index_type p1, index_type p2, index_type p3)
Create a triangle with given vertex indices.
-
inline void set(index_type p1, index_type p2, index_type p3)
Set the vertex indices of the triangle.
-
inline index_type operator[](index_type i) const
Access the triangle index.
-
inline index_type &operator[](index_type i)
-
inline Triangle()