Antkeeper  0.0.1
Classes | Public Types | Friends | List of all members
geom::brep_face_loop_list Class Reference

List of B-rep loops that bound a common face. More...

#include <brep-face.hpp>

Classes

struct  const_iterator
 

Public Types

using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Public Member Functions

Element access
brep_loopfront () const noexcept
 Returns the first loop. More...
 
brep_loopback () const noexcept
 Returns the last loop. More...
 
Iterators
constexpr const_iterator begin () const noexcept
 Returns an iterator to the first loop. More...
 
constexpr const_iterator cbegin () const noexcept
 Returns an iterator to the first loop. More...
 
constexpr const_iterator end () const noexcept
 Returns an iterator to the loop following the last loop. More...
 
constexpr const_iterator cend () const noexcept
 Returns an iterator to the loop following the last loop. More...
 
constexpr const_reverse_iterator rbegin () const noexcept
 Returns a reverse iterator to the first loop of the reversed list. More...
 
constexpr const_reverse_iterator crbegin () const noexcept
 Returns a reverse iterator to the first loop of the reversed list. More...
 
constexpr const_reverse_iterator rend () const noexcept
 Returns a reverse iterator to the loop following the last loop of the reversed list. More...
 
constexpr const_reverse_iterator crend () const noexcept
 Returns a reverse iterator to the loop following the last loop of the reversed list. More...
 
Capacity
constexpr bool empty () const noexcept
 Returns true if the list is empty, false otherwise. More...
 
constexpr std::size_t size () const noexcept
 Returns the number of loops in the list. More...
 
Modifiers
void push_back (brep_loop *loop)
 Appends a loop to the end of the list. More...
 
void insert (brep_loop *next, brep_loop *loop)
 Inserts a loop before a given loop. More...
 
void remove (brep_loop *loop)
 Removes an loop from the list. More...
 

Friends

class brep_mesh
 

Detailed Description

List of B-rep loops that bound a common face.

Definition at line 39 of file brep-face.hpp.

Member Typedef Documentation

◆ const_reverse_iterator

Definition at line 114 of file brep-face.hpp.

Member Function Documentation

◆ back()

brep_loop* geom::brep_face_loop_list::back ( ) const
inlinenoexcept

Returns the last loop.

Definition at line 126 of file brep-face.hpp.

◆ begin()

constexpr const_iterator geom::brep_face_loop_list::begin ( ) const
inlineconstexprnoexcept

Returns an iterator to the first loop.

Definition at line 137 of file brep-face.hpp.

◆ cbegin()

constexpr const_iterator geom::brep_face_loop_list::cbegin ( ) const
inlineconstexprnoexcept

Returns an iterator to the first loop.

Definition at line 145 of file brep-face.hpp.

◆ cend()

constexpr const_iterator geom::brep_face_loop_list::cend ( ) const
inlineconstexprnoexcept

Returns an iterator to the loop following the last loop.

Definition at line 161 of file brep-face.hpp.

◆ crbegin()

constexpr const_reverse_iterator geom::brep_face_loop_list::crbegin ( ) const
inlineconstexprnoexcept

Returns a reverse iterator to the first loop of the reversed list.

Definition at line 173 of file brep-face.hpp.

◆ crend()

constexpr const_reverse_iterator geom::brep_face_loop_list::crend ( ) const
inlineconstexprnoexcept

Returns a reverse iterator to the loop following the last loop of the reversed list.

Definition at line 185 of file brep-face.hpp.

◆ empty()

constexpr bool geom::brep_face_loop_list::empty ( ) const
inlineconstexprnoexcept

Returns true if the list is empty, false otherwise.

Definition at line 196 of file brep-face.hpp.

◆ end()

constexpr const_iterator geom::brep_face_loop_list::end ( ) const
inlineconstexprnoexcept

Returns an iterator to the loop following the last loop.

Definition at line 153 of file brep-face.hpp.

◆ front()

brep_loop* geom::brep_face_loop_list::front ( ) const
inlinenoexcept

Returns the first loop.

Definition at line 120 of file brep-face.hpp.

◆ insert()

void geom::brep_face_loop_list::insert ( brep_loop next,
brep_loop loop 
)

Inserts a loop before a given loop.

Parameters
nextLoop before which this loop should be inserted.
loopPointer to the loop to insert.

Definition at line 48 of file brep-face.cpp.

◆ push_back()

void geom::brep_face_loop_list::push_back ( brep_loop loop)

Appends a loop to the end of the list.

Parameters
loopPointer to the loop to append.

Definition at line 27 of file brep-face.cpp.

◆ rbegin()

constexpr const_reverse_iterator geom::brep_face_loop_list::rbegin ( ) const
inlineconstexprnoexcept

Returns a reverse iterator to the first loop of the reversed list.

Definition at line 169 of file brep-face.hpp.

◆ remove()

void geom::brep_face_loop_list::remove ( brep_loop loop)

Removes an loop from the list.

Parameters
loopPointer to the loop to remove.

Definition at line 58 of file brep-face.cpp.

◆ rend()

constexpr const_reverse_iterator geom::brep_face_loop_list::rend ( ) const
inlineconstexprnoexcept

Returns a reverse iterator to the loop following the last loop of the reversed list.

Definition at line 181 of file brep-face.hpp.

◆ size()

constexpr std::size_t geom::brep_face_loop_list::size ( ) const
inlineconstexprnoexcept

Returns the number of loops in the list.

Definition at line 202 of file brep-face.hpp.

Friends And Related Function Documentation

◆ brep_mesh

friend class brep_mesh
friend

Definition at line 42 of file brep-face.hpp.


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