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

Curve segment bounded by two vertices. More...

#include <brep-edge.hpp>

Public Member Functions

constexpr std::size_t index () const noexcept
 Returns the index of this edge in the mesh edge array. More...
 
constexpr const std::array< brep_vertex *, 2 > & vertices () const noexcept
 Returns the pair of vertices that bound this edge. More...
 
constexpr const brep_edge_loop_listloops () const noexcept
 Returns the list of loops that share this edge. More...
 

Friends

class brep_mesh
 
class brep_vertex_edge_list
 
class brep_element_container< brep_edge >
 
class brep_edge_container
 
class brep_face_container
 

Detailed Description

Curve segment bounded by two vertices.

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

Member Function Documentation

◆ index()

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

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

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

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

◆ loops()

constexpr const brep_edge_loop_list& geom::brep_edge::loops ( ) const
inlineconstexprnoexcept

Returns the list of loops that share this edge.

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

◆ vertices()

constexpr const std::array<brep_vertex*, 2>& geom::brep_edge::vertices ( ) const
inlineconstexprnoexcept

Returns the pair of vertices that bound this edge.

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

Friends And Related Function Documentation

◆ brep_edge_container

friend class brep_edge_container
friend

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

◆ brep_element_container< brep_edge >

friend class brep_element_container< brep_edge >
friend

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

◆ brep_face_container

friend class brep_face_container
friend

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

◆ brep_mesh

friend class brep_mesh
friend

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

◆ brep_vertex_edge_list

friend class brep_vertex_edge_list
friend

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


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