coal 3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
coal::QuadrilateralTpl< _IndexType > Struct Template Reference

Quadrilateral with 4 indices for points. More...

#include <coal/data_types.h>

Public Types

typedef _IndexType index_type
 
typedef _IndexType IndexType
 
typedef int size_type
 

Public Member Functions

 QuadrilateralTpl ()
 Default constructor.
 
 QuadrilateralTpl (const QuadrilateralTpl &other)
 Copy constructor.
 
template<typename OtherIndexType >
 QuadrilateralTpl (const QuadrilateralTpl< OtherIndexType > &other)
 Copy constructor from another vertex index type.
 
QuadrilateralTploperator= (const QuadrilateralTpl &other)
 Copy operator.
 
template<typename OtherIndexType >
QuadrilateralTploperator= (const QuadrilateralTpl< OtherIndexType > &other)
 Copy operator from another index type.
 
template<typename OtherIndexType >
QuadrilateralTpl< OtherIndexTypecast () const
 
 QuadrilateralTpl (IndexType p0, IndexType p1, IndexType p2, IndexType p3)
 
void set (IndexType p0, IndexType p1, IndexType p2, IndexType p3)
 Set the vertex indices of the quadrilateral.
 
IndexType operator[] (IndexType i) const
 @access the quadrilateral index
 
IndexTypeoperator[] (IndexType i)
 
bool operator== (const QuadrilateralTpl &other) const
 
bool operator!= (const QuadrilateralTpl &other) const
 

Static Public Member Functions

static size_type size ()
 

Protected Attributes

IndexType vids [4]
 

Detailed Description

template<typename _IndexType>
struct coal::QuadrilateralTpl< _IndexType >

Quadrilateral with 4 indices for points.

Member Typedef Documentation

◆ index_type

◆ IndexType

◆ size_type

Constructor & Destructor Documentation

◆ QuadrilateralTpl() [1/4]

template<typename _IndexType >
coal::QuadrilateralTpl< _IndexType >::QuadrilateralTpl ( )
inline

Default constructor.

◆ QuadrilateralTpl() [2/4]

template<typename _IndexType >
coal::QuadrilateralTpl< _IndexType >::QuadrilateralTpl ( const QuadrilateralTpl< _IndexType > &  other)
inline

Copy constructor.

◆ QuadrilateralTpl() [3/4]

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

Copy constructor from another vertex index type.

◆ QuadrilateralTpl() [4/4]

template<typename _IndexType >
coal::QuadrilateralTpl< _IndexType >::QuadrilateralTpl ( IndexType  p0,
IndexType  p1,
IndexType  p2,
IndexType  p3 
)
inline

Member Function Documentation

◆ cast()

◆ operator!=()

◆ operator=() [1/2]

◆ operator=() [2/2]

Copy operator from another index type.

◆ operator==()

◆ operator[]() [1/2]

◆ operator[]() [2/2]

@access the quadrilateral index

◆ set()

template<typename _IndexType >
void coal::QuadrilateralTpl< _IndexType >::set ( IndexType  p0,
IndexType  p1,
IndexType  p2,
IndexType  p3 
)
inline

Set the vertex indices of the quadrilateral.

◆ size()

template<typename _IndexType >
static size_type coal::QuadrilateralTpl< _IndexType >::size ( )
inlinestatic

Member Data Documentation

◆ vids


The documentation for this struct was generated from the following file: