Public Member Functions | List of all members
triPoints Class Reference

Triangle storage. Null constructable (unfortunately triangle<point, point> is not) More...

Inheritance diagram for triPoints:
Inheritance graph
[legend]
Collaboration diagram for triPoints:
Collaboration graph
[legend]

Public Member Functions

 triPoints ()
 
 triPoints (const point &a, const point &b, const point &c)
 
 triPoints (const UList< point > &points, const FixedList< label, 3 > &indices)
 
treeBoundBox bounds () const
 
- Public Member Functions inherited from FixedList< point, 3 >
void writeEntry (const word &keyword, Ostream &os) const
 
 FixedList ()=default
 
 FixedList (const T &val)
 
 FixedList (const Foam::zero)
 
 FixedList (const T list[N])
 
 FixedList (const FixedList< T, N > &list)
 
 FixedList (FixedList< T, N > &&list)
 
 FixedList (std::initializer_list< T > list)
 
 FixedList (const UList< T > &list)
 
 FixedList (const FixedList< T, AnyNum > &list, const FixedList< label, N > &indices)
 
 FixedList (const UList< T > &list, const FixedList< label, N > &indices)
 
 FixedList (const SLList< T > &list)
 
 FixedList (Istream &is)
 
autoPtr< FixedList< T, N > > clone () const
 
const Tcdata () const noexcept
 
Tdata () noexcept
 
const char * cdata_bytes () const noexcept
 
char * data_bytes () noexcept
 
Tfirst () noexcept
 
const Tfirst () const noexcept
 
Tlast () noexcept
 
const Tlast () const noexcept
 
label fcIndex (const label i) const
 
const TfcValue (const label i) const
 
TfcValue (const label i)
 
label rcIndex (const label i) const
 
const TrcValue (const label i) const
 
TrcValue (const label i)
 
void checkStart (const label start) const
 
void checkSize (const label size) const
 
void checkIndex (const label i) const
 
bool uniform () const
 
label find (const T &val, label pos=0) const
 
label rfind (const T &val, label pos=-1) const
 
bool found (const T &val, label pos=0) const
 
void resize (const label n)
 
void resize_nocopy (const label n)
 
void setSize (const label n)
 
void fill (const T &val)
 
void fill (const Foam::zero)
 
void moveFirst (const label i)
 
void moveLast (const label i)
 
void swapFirst (const label i)
 
void swapLast (const label i)
 
void transfer (FixedList< T, N > &list)
 
Toperator[] (const label i)
 
const Toperator[] (const label i) const
 
void operator= (const T list[N])
 
void operator= (const UList< T > &list)
 
void operator= (const SLList< T > &list)
 
void operator= (std::initializer_list< T > list)
 
void operator= (const T &val)
 
void operator= (const Foam::zero)
 
void operator= (const FixedList< T, N > &list)
 
void operator= (FixedList< T, N > &&list)
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
void swap (FixedList< T, N > &other)
 
bool operator== (const FixedList< T, N > &list) const
 
bool operator!= (const FixedList< T, N > &list) const
 
bool operator< (const FixedList< T, N > &list) const
 
bool operator> (const FixedList< T, N > &list) const
 
bool operator<= (const FixedList< T, N > &list) const
 
bool operator>= (const FixedList< T, N > &list) const
 
IstreamreadList (Istream &is)
 
OstreamwriteList (Ostream &os, const label shortLen=0) const
 

Additional Inherited Members

- Public Types inherited from FixedList< point, 3 >
typedef T value_type
 
typedef Tpointer
 
typedef Treference
 
typedef Titerator
 
typedef label size_type
 
typedef label difference_type
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
- Static Public Member Functions inherited from FixedList< point, 3 >
static const FixedList< T, N > & null ()
 
static std::streamsize size_bytes () noexcept
 
static std::streamsize byteSize ()
 
static constexpr bool empty () noexcept
 
static constexpr label size () noexcept
 
static constexpr unsigned max_size () noexcept
 
- Public Attributes inherited from FixedList< point, 3 >
const typedef Tconst_pointer
 
const typedef Tconst_reference
 
const typedef Tconst_iterator
 
- Protected Member Functions inherited from FixedList< point, 3 >
void writeEntry (Ostream &os) const
 

Detailed Description

Triangle storage. Null constructable (unfortunately triangle<point, point> is not)

Source files

Definition at line 48 of file triPoints.H.

Constructor & Destructor Documentation

◆ triPoints() [1/3]

triPoints ( )
inline

Definition at line 57 of file triPoints.H.

◆ triPoints() [2/3]

triPoints ( const point a,
const point b,
const point c 
)
inline

Definition at line 62 of file triPoints.H.

References Foam::constant::physicoChemical::b, Foam::constant::universal::c, and FixedList< point, 3 >::operator[]().

Here is the call graph for this function:

◆ triPoints() [3/3]

triPoints ( const UList< point > &  points,
const FixedList< label, 3 > &  indices 
)
inline

Definition at line 75 of file triPoints.H.

Member Function Documentation

◆ bounds()

treeBoundBox bounds ( ) const
inline

Definition at line 87 of file triPoints.H.

References boundBox::add(), and FixedList< point, 3 >::size().

Here is the call graph for this function:

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