coal 3.0.2
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
coal::Quadrilateral Struct Reference

Quadrilateral with 4 indices for points. More...

#include <coal/data_types.h>

Public Types

typedef std::size_t index_type
typedef int size_type

Public Member Functions

 Quadrilateral ()
 Quadrilateral (index_type p0, index_type p1, index_type p2, index_type p3)
void set (index_type p0, index_type p1, index_type p2, index_type p3)
 Set the vertex indices of the quadrilateral.
index_type operator[] (index_type i) const
 @access the quadrilateral index
index_typeoperator[] (index_type i)
bool operator== (const Quadrilateral &other) const
bool operator!= (const Quadrilateral &other) const

Static Public Member Functions

static size_type size ()

Detailed Description

Quadrilateral with 4 indices for points.

Member Typedef Documentation

◆ index_type

◆ size_type

Constructor & Destructor Documentation

◆ Quadrilateral() [1/2]

coal::Quadrilateral::Quadrilateral()
inline

◆ Quadrilateral() [2/2]

coal::Quadrilateral::Quadrilateral(index_typep0,
index_typep1,
index_typep2,
index_typep3 )
inline

Member Function Documentation

◆ operator!=()

bool coal::Quadrilateral::operator!=(const Quadrilateral &other)const
inline

◆ operator==()

bool coal::Quadrilateral::operator==(const Quadrilateral &other)const
inline

◆ operator[]() [1/2]

index_type & coal::Quadrilateral::operator[](index_typei)
inline

◆ operator[]() [2/2]

index_type coal::Quadrilateral::operator[](index_typei)const
inline

@access the quadrilateral index

◆ set()

void coal::Quadrilateral::set(index_typep0,
index_typep1,
index_typep2,
index_typep3 )
inline

Set the vertex indices of the quadrilateral.

◆ size()

size_type coal::Quadrilateral::size()
inlinestatic

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