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

List of B-rep loops that share a common edge. More...

#include <brep-edge.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 remove (brep_loop *loop)
 Removes an loop from the list. More...
 

Friends

class brep_mesh
 
class brep_face_container
 

Detailed Description

List of B-rep loops that share a common edge.

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

Member Typedef Documentation

◆ const_reverse_iterator

Definition at line 115 of file brep-edge.hpp.

Member Function Documentation

◆ back()

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

Returns the last loop.

Definition at line 127 of file brep-edge.hpp.

◆ begin()

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

Returns an iterator to the first loop.

Definition at line 138 of file brep-edge.hpp.

◆ cbegin()

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

Returns an iterator to the first loop.

Definition at line 146 of file brep-edge.hpp.

◆ cend()

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

Returns an iterator to the loop following the last loop.

Definition at line 162 of file brep-edge.hpp.

◆ crbegin()

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

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

Definition at line 174 of file brep-edge.hpp.

◆ crend()

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

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

Definition at line 186 of file brep-edge.hpp.

◆ empty()

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

Returns true if the list is empty, false otherwise.

Definition at line 197 of file brep-edge.hpp.

◆ end()

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

Returns an iterator to the loop following the last loop.

Definition at line 154 of file brep-edge.hpp.

◆ front()

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

Returns the first loop.

Definition at line 121 of file brep-edge.hpp.

◆ push_back()

void geom::brep_edge_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 26 of file brep-edge.cpp.

◆ rbegin()

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

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

Definition at line 170 of file brep-edge.hpp.

◆ remove()

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

Removes an loop from the list.

Parameters
loopPointer to the loop to remove.

Definition at line 47 of file brep-edge.cpp.

◆ rend()

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

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

Definition at line 182 of file brep-edge.hpp.

◆ size()

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

Returns the number of loops in the list.

Definition at line 203 of file brep-edge.hpp.

Friends And Related Function Documentation

◆ brep_face_container

friend class brep_face_container
friend

Definition at line 43 of file brep-edge.hpp.

◆ brep_mesh

friend class brep_mesh
friend

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


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