Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Types | Public Member Functions | Static Public Member Functions | List of all members
vtb::geometry::Face< N > Class Template Reference

Public Types

using value_type = unsigned int
 
using size_type = int
 
using iterator = value_type *
 
using const_iterator = const value_type *
 

Public Member Functions

 Face (const Face &)=default
 
Faceoperator= (const Face &)=default
 
 Face (std::initializer_list< value_type > list)
 
template<class ... Args>
 Face (Args ... indices)
 
value_type operator() (size_type i) const
 
value_type & operator() (size_type i)
 
value_type operator[] (size_type i) const
 
value_type & operator[] (size_type i)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
value_type front () const
 
value_type back () const
 
size_type index_of (value_type value) const
 
bool contains (value_type value) const
 
void flip_winding ()
 
bool reorder (const Face< N > &rhs, value_type shared_vertex)
 
void sort ()
 
Faceoperator+= (value_type rhs)
 

Static Public Member Functions

static constexpr size_type size ()
 

Detailed Description

template<int N>
class vtb::geometry::Face< N >

Definition at line 16 of file face.hh.