Template Class TriangleTpl
Defined in File data_types.h
Class Documentation
-
template<typename _IndexType>
class TriangleTpl Triangle with 3 indices for points.
Public Functions
- COAL_DEPRECATED_MESSAGE (Use IndexType instead.) typedef _IndexType index_type
-
inline TriangleTpl()
Default constructor.
-
inline TriangleTpl(const TriangleTpl &other)
Copy constructor.
-
inline TriangleTpl(IndexType p1, IndexType p2, IndexType p3)
Create a triangle with given vertex indices.
-
template<typename OtherIndexType>
inline TriangleTpl(const TriangleTpl<OtherIndexType> &other) Copy constructor from another vertex index type.
-
inline TriangleTpl &operator=(const TriangleTpl &other)
Copy operator.
-
template<typename OtherIndexType>
inline TriangleTpl &operator=(const TriangleTpl<OtherIndexType> &other) Copy operator from another index type.
-
template<typename OtherIndexType>
inline TriangleTpl<OtherIndexType> cast() const
-
inline bool operator==(const TriangleTpl &other) const
-
inline bool operator!=(const TriangleTpl &other) const
-
inline bool isValid() const
Protected Attributes
Friends
- friend class TriangleTpl