Antkeeper  0.0.1
Public Member Functions | List of all members
geom::brep_mesh Class Reference

Boundary representation (B-rep) of a mesh. More...

#include <brep-mesh.hpp>

Public Member Functions

 brep_mesh () noexcept
 Constructs an empty mesh. More...
 
 brep_mesh (const brep_mesh &other)
 Constructs a copy of another mesh. More...
 
brep_meshoperator= (const brep_mesh &other)
 Copies another mesh into this mesh. More...
 
Modifiers
void clear () noexcept
 Erases all vertices, edges, loops, and faces. More...
 
Element access
const brep_vertex_containervertices () const noexcept
 Returns the mesh vertices. More...
 
brep_vertex_containervertices () noexcept
 Returns the mesh vertices. More...
 
const brep_edge_containeredges () const noexcept
 Returns the mesh edges. More...
 
brep_edge_containeredges () noexcept
 Returns the mesh edges. More...
 
const brep_loop_containerloops () const noexcept
 Returns the mesh loops. More...
 
brep_loop_containerloops () noexcept
 Returns the mesh loops. More...
 
const brep_face_containerfaces () const noexcept
 Returns the mesh faces. More...
 
brep_face_containerfaces () noexcept
 Returns the mesh faces. More...
 

Detailed Description

Boundary representation (B-rep) of a mesh.

Definition at line 33 of file brep-mesh.hpp.

Constructor & Destructor Documentation

◆ brep_mesh() [1/2]

geom::brep_mesh::brep_mesh ( )
noexcept

Constructs an empty mesh.

Definition at line 29 of file brep-mesh.cpp.

◆ brep_mesh() [2/2]

geom::brep_mesh::brep_mesh ( const brep_mesh other)

Constructs a copy of another mesh.

Parameters
otherMesh to copy.

Definition at line 36 of file brep-mesh.cpp.

Member Function Documentation

◆ clear()

void geom::brep_mesh::clear ( )
noexcept

Erases all vertices, edges, loops, and faces.

Definition at line 114 of file brep-mesh.cpp.

◆ edges() [1/2]

const brep_edge_container& geom::brep_mesh::edges ( ) const
inlinenoexcept

Returns the mesh edges.

Definition at line 81 of file brep-mesh.hpp.

◆ edges() [2/2]

brep_edge_container& geom::brep_mesh::edges ( )
inlinenoexcept

Returns the mesh edges.

Definition at line 85 of file brep-mesh.hpp.

◆ faces() [1/2]

const brep_face_container& geom::brep_mesh::faces ( ) const
inlinenoexcept

Returns the mesh faces.

Definition at line 105 of file brep-mesh.hpp.

◆ faces() [2/2]

brep_face_container& geom::brep_mesh::faces ( )
inlinenoexcept

Returns the mesh faces.

Definition at line 109 of file brep-mesh.hpp.

◆ loops() [1/2]

const brep_loop_container& geom::brep_mesh::loops ( ) const
inlinenoexcept

Returns the mesh loops.

Definition at line 93 of file brep-mesh.hpp.

◆ loops() [2/2]

brep_loop_container& geom::brep_mesh::loops ( )
inlinenoexcept

Returns the mesh loops.

Definition at line 97 of file brep-mesh.hpp.

◆ operator=()

brep_mesh & geom::brep_mesh::operator= ( const brep_mesh other)

Copies another mesh into this mesh.

Parameters
otherMesh to copy.
Returns
Reference to this mesh.

Definition at line 42 of file brep-mesh.cpp.

◆ vertices() [1/2]

const brep_vertex_container& geom::brep_mesh::vertices ( ) const
inlinenoexcept

Returns the mesh vertices.

Definition at line 69 of file brep-mesh.hpp.

◆ vertices() [2/2]

brep_vertex_container& geom::brep_mesh::vertices ( )
inlinenoexcept

Returns the mesh vertices.

Definition at line 73 of file brep-mesh.hpp.


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