Struct triangle

Struct Documentation

struct triangle

Public Functions

inline triangle()
inline triangle(int id0, int id1, int id2)
inline triangle(const oriented_point3d &p0_, const oriented_point3d &p1_, const oriented_point3d &p2_, const normal3d &n_)
inline triangle(const oriented_point3d &p0_, const oriented_point3d &p1_, const oriented_point3d &p2_, const normal3d &n_, int id0_, int id1_, int id2_)
inline triangle(const point3d &p0_, const point3d &p1_, const point3d &p2_, const normal3d &n_)

Public Members

oriented_point3d p0
oriented_point3d p1
oriented_point3d p2
int id0
int id1
int id2
normal3d n

Friends

inline friend std::ostream &operator<<(std::ostream &o, const triangle &t)