Antkeeper
0.0.1
|
B-rep vertex container. More...
#include <brep-vertex.hpp>
Public Member Functions | |
brep_vertex * | emplace_back () override |
Appends a new vertex to the end of the container. More... | |
void | erase (brep_vertex *vertex) override |
Erases a vertex and all dependent edges, loops, and faces. More... | |
void | clear () noexcept |
Erases all vertices and their dependent edges, loops, and faces. More... | |
![]() | |
constexpr element_type * | operator[] (std::size_t i) const |
Returns a pointer to the element at the specified index. More... | |
constexpr element_type * | front () const noexcept |
Returns the first element. More... | |
constexpr element_type * | back () const noexcept |
Returns the last element. More... | |
constexpr const_iterator | begin () const noexcept |
Returns an iterator to the first element. More... | |
constexpr const_iterator | cbegin () const noexcept |
Returns an iterator to the first element. More... | |
constexpr const_iterator | end () const noexcept |
Returns an iterator to the element following the last element. More... | |
constexpr const_iterator | cend () const noexcept |
Returns an iterator to the element following the last element. More... | |
constexpr const_reverse_iterator | rbegin () const noexcept |
Returns a reverse iterator to the first element of the reversed container. More... | |
constexpr const_reverse_iterator | crbegin () const noexcept |
Returns a reverse iterator to the first element of the reversed container. More... | |
constexpr const_reverse_iterator | rend () const noexcept |
Returns a reverse iterator to the element following the last element of the reversed container. More... | |
constexpr const_reverse_iterator | crend () const noexcept |
Returns a reverse iterator to the element following the last element of the reversed container. More... | |
constexpr bool | empty () const noexcept |
Returns true if the container is empty, false otherwise. More... | |
constexpr std::size_t | size () const noexcept |
Returns the number of elements in the container. More... | |
const brep_attribute_map & | attributes () const noexcept |
Returns the element attribute map. More... | |
brep_attribute_map & | attributes () noexcept |
Returns the element attribute map. More... | |
Friends | |
class | brep_mesh |
Additional Inherited Members | |
![]() | |
using | element_type = brep_vertex |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
![]() | |
brep_element_container (brep_mesh *mesh) noexcept | |
Constructs a B-rep element container. More... | |
![]() | |
brep_mesh * | m_mesh |
B-rep vertex container.
Definition at line 273 of file brep-vertex.hpp.
|
noexcept |
Erases all vertices and their dependent edges, loops, and faces.
Definition at line 94 of file brep-vertex.cpp.
|
overridevirtual |
Appends a new vertex to the end of the container.
Reimplemented from geom::brep_element_container< brep_vertex >.
Definition at line 74 of file brep-vertex.cpp.
|
overridevirtual |
Erases a vertex and all dependent edges, loops, and faces.
vertex | Pointer to the vertex to erase. |
Reimplemented from geom::brep_element_container< brep_vertex >.
Definition at line 82 of file brep-vertex.cpp.
|
friend |
Definition at line 298 of file brep-vertex.hpp.