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

List of B-rep edges bounded by a common vertex. More...

#include <brep-vertex.hpp>

Classes

struct  const_iterator
 

Public Types

using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Public Member Functions

Element access
brep_edgefront () const noexcept
 Returns the first edge. More...
 
brep_edgeback () const noexcept
 Returns the last edge. More...
 
Iterators
constexpr const_iterator begin () const noexcept
 Returns an iterator to the first edge. More...
 
constexpr const_iterator cbegin () const noexcept
 Returns an iterator to the first edge. More...
 
constexpr const_iterator end () const noexcept
 Returns an iterator to the edge following the last edge. More...
 
constexpr const_iterator cend () const noexcept
 Returns an iterator to the edge following the last edge. More...
 
constexpr const_reverse_iterator rbegin () const noexcept
 Returns a reverse iterator to the first edge of the reversed list. More...
 
constexpr const_reverse_iterator crbegin () const noexcept
 Returns a reverse iterator to the first edge of the reversed list. More...
 
constexpr const_reverse_iterator rend () const noexcept
 Returns a reverse iterator to the edge following the last edge of the reversed list. More...
 
constexpr const_reverse_iterator crend () const noexcept
 Returns a reverse iterator to the edge following the last edge 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 edges in the list. More...
 
Modifiers
void push_back (brep_edge *edge)
 Appends an edge to the end of the list. More...
 
void remove (brep_edge *edge)
 Removes an edge from the list. More...
 

Friends

class brep_mesh
 
class brep_vertex_container
 
class brep_edge_container
 

Detailed Description

List of B-rep edges bounded by a common vertex.

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

Member Typedef Documentation

◆ const_reverse_iterator

Definition at line 117 of file brep-vertex.hpp.

Member Function Documentation

◆ back()

brep_edge* geom::brep_vertex_edge_list::back ( ) const
inlinenoexcept

Returns the last edge.

Definition at line 129 of file brep-vertex.hpp.

◆ begin()

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

Returns an iterator to the first edge.

Definition at line 140 of file brep-vertex.hpp.

◆ cbegin()

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

Returns an iterator to the first edge.

Definition at line 149 of file brep-vertex.hpp.

◆ cend()

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

Returns an iterator to the edge following the last edge.

Definition at line 166 of file brep-vertex.hpp.

◆ crbegin()

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

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

Definition at line 178 of file brep-vertex.hpp.

◆ crend()

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

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

Definition at line 190 of file brep-vertex.hpp.

◆ empty()

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

Returns true if the list is empty, false otherwise.

Definition at line 201 of file brep-vertex.hpp.

◆ end()

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

Returns an iterator to the edge following the last edge.

Definition at line 157 of file brep-vertex.hpp.

◆ front()

brep_edge* geom::brep_vertex_edge_list::front ( ) const
inlinenoexcept

Returns the first edge.

Definition at line 123 of file brep-vertex.hpp.

◆ push_back()

void geom::brep_vertex_edge_list::push_back ( brep_edge edge)

Appends an edge to the end of the list.

Parameters
edgePointer to the edge to append.

Definition at line 25 of file brep-vertex.cpp.

◆ rbegin()

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

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

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

◆ remove()

void geom::brep_vertex_edge_list::remove ( brep_edge edge)

Removes an edge from the list.

Parameters
edgePointer to the edge to remove.

Definition at line 52 of file brep-vertex.cpp.

◆ rend()

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

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

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

◆ size()

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

Returns the number of edges in the list.

Definition at line 207 of file brep-vertex.hpp.

Friends And Related Function Documentation

◆ brep_edge_container

friend class brep_edge_container
friend

Definition at line 44 of file brep-vertex.hpp.

◆ brep_mesh

friend class brep_mesh
friend

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

◆ brep_vertex_container

friend class brep_vertex_container
friend

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


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