Struct Quadrilateral

Struct Documentation

struct Quadrilateral

Quadrilateral with 4 indices for points.

Public Types

typedef std::size_t index_type
typedef int size_type

Public Functions

inline Quadrilateral()
inline Quadrilateral(index_type p0, index_type p1, index_type p2, index_type p3)
inline void set(index_type p0, index_type p1, index_type p2, index_type p3)

Set the vertex indices of the quadrilateral.

inline index_type operator[](index_type i) const

@access the quadrilateral index

inline index_type &operator[](index_type i)
inline bool operator==(const Quadrilateral &other) const
inline bool operator!=(const Quadrilateral &other) const

Public Static Functions

static inline size_type size()