Loading...
Searching...
No Matches
seams::Voronoi Class Reference

Owned periodic Voronoi geometry. More...

#include <include/seams.hpp>

Inheritance diagram for seams::Voronoi:

Public Member Functions

seams_voronoi_view view () const
 Borrow the cell and face arrays for the lifetime of this result.
Public Member Functions inherited from seams::detail::Handle< seams_voronoi, seams_voronoi_destroy >
 Handle ()=default
Handle & operator= (const Handle &)=delete
 ~Handle ()
 operator bool () const noexcept

Additional Inherited Members

Protected Member Functions inherited from seams::detail::Handle< seams_voronoi, seams_voronoi_destroy >
seams_voronoi * get () const noexcept
void reset () noexcept
Protected Attributes inherited from seams::detail::Handle< seams_voronoi, seams_voronoi_destroy >
seams_voronoi * ptr_

Detailed Description

Owned periodic Voronoi geometry.

Definition at line 985 of file seams.hpp.

Member Function Documentation

◆ view()

seams_voronoi_view seams::Voronoi::view ( ) const
inlinenodiscard

Borrow the cell and face arrays for the lifetime of this result.

Definition at line 990 of file seams.hpp.

990 {
991 seams_voronoi_view data{};
993 return data;
994 }
struct seams_voronoi_view seams_voronoi_view
Borrowed arrays from an immutable Voronoi result.
SEAMS_API seams_status seams_voronoi_get_view(const seams_voronoi *cells, seams_voronoi_view *out)
Borrow the arrays of a tessellation.
void check(int status, const void *handle)
Definition seams.hpp:802

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