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

Connected boundary of a single face. More...

#include <brep-loop.hpp>

Public Member Functions

constexpr std::size_t index () const noexcept
 Returns the index of this loop in the mesh loop array. More...
 
constexpr brep_vertexvertex () const noexcept
 Returns a pointer to the loop vertex. More...
 
constexpr brep_edgeedge () const noexcept
 Returns a pointer to the loop edge. More...
 
constexpr brep_faceface () const noexcept
 Returns a pointer to the loop face. More...
 
constexpr brep_loopnext () const noexcept
 Returns a pointer to the next loop. More...
 
constexpr brep_loopprevious () const noexcept
 Returns a pointer to the previous loop. More...
 

Friends

class brep_mesh
 
class brep_edge_loop_list
 
class brep_face_loop_list
 
class brep_element_container< brep_loop >
 
class brep_loop_container
 
class brep_face_container
 

Detailed Description

Connected boundary of a single face.

Definition at line 37 of file brep-loop.hpp.

Member Function Documentation

◆ edge()

constexpr brep_edge* geom::brep_loop::edge ( ) const
inlineconstexprnoexcept

Returns a pointer to the loop edge.

Definition at line 64 of file brep-loop.hpp.

◆ face()

constexpr brep_face* geom::brep_loop::face ( ) const
inlineconstexprnoexcept

Returns a pointer to the loop face.

Definition at line 70 of file brep-loop.hpp.

◆ index()

constexpr std::size_t geom::brep_loop::index ( ) const
inlineconstexprnoexcept

Returns the index of this loop in the mesh loop array.

Warning
This index may change if any loops are removed from the mesh.

Definition at line 52 of file brep-loop.hpp.

◆ next()

constexpr brep_loop* geom::brep_loop::next ( ) const
inlineconstexprnoexcept

Returns a pointer to the next loop.

Definition at line 76 of file brep-loop.hpp.

◆ previous()

constexpr brep_loop* geom::brep_loop::previous ( ) const
inlineconstexprnoexcept

Returns a pointer to the previous loop.

Definition at line 82 of file brep-loop.hpp.

◆ vertex()

constexpr brep_vertex* geom::brep_loop::vertex ( ) const
inlineconstexprnoexcept

Returns a pointer to the loop vertex.

Definition at line 58 of file brep-loop.hpp.

Friends And Related Function Documentation

◆ brep_edge_loop_list

friend class brep_edge_loop_list
friend

Definition at line 41 of file brep-loop.hpp.

◆ brep_element_container< brep_loop >

friend class brep_element_container< brep_loop >
friend

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

◆ brep_face_container

friend class brep_face_container
friend

Definition at line 45 of file brep-loop.hpp.

◆ brep_face_loop_list

friend class brep_face_loop_list
friend

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

◆ brep_loop_container

friend class brep_loop_container
friend

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

◆ brep_mesh

friend class brep_mesh
friend

Definition at line 40 of file brep-loop.hpp.


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