Template Struct QuadrilateralTpl

Struct Documentation

template<typename _IndexType>
struct QuadrilateralTpl

Quadrilateral with 4 indices for points.

Public Types

typedef _IndexType IndexType
typedef int size_type

Public Functions

COAL_DEPRECATED_MESSAGE (Use IndexType instead.) typedef _IndexType index_type
inline QuadrilateralTpl()

Default constructor.

inline QuadrilateralTpl(const QuadrilateralTpl &other)

Copy constructor.

template<typename OtherIndexType>
inline QuadrilateralTpl(const QuadrilateralTpl<OtherIndexType> &other)

Copy constructor from another vertex index type.

inline QuadrilateralTpl &operator=(const QuadrilateralTpl &other)

Copy operator.

template<typename OtherIndexType>
inline QuadrilateralTpl &operator=(const QuadrilateralTpl<OtherIndexType> &other)

Copy operator from another index type.

template<typename OtherIndexType>
inline QuadrilateralTpl<OtherIndexType> cast() const
inline QuadrilateralTpl(IndexType p0, IndexType p1, IndexType p2, IndexType p3)
inline void set(IndexType p0, IndexType p1, IndexType p2, IndexType p3)

Set the vertex indices of the quadrilateral.

inline IndexType operator[](IndexType i) const

@access the quadrilateral index

inline IndexType &operator[](IndexType i)
inline bool operator==(const QuadrilateralTpl &other) const
inline bool operator!=(const QuadrilateralTpl &other) const

Public Static Functions

static inline size_type size()

Protected Attributes

IndexType vids[4]