11#ifndef EBGEOMETRY_FACEPARTS_HPP
12#define EBGEOMETRY_FACEPARTS_HPP
37[[nodiscard]]
inline uint64_t
76 const std::string& a_meshFile);
95#include "EBGeometry_FacePartsImplem.hpp"
FaceGroups: named groups of a mesh's faces, as a file names them.
Declaration of the exception the file readers throw.
Declaration of the polygon soup the file readers return.
Polygons as a file stores them: vertex coordinates, faces as lists of vertex indices,...
Definition EBGeometry_PolygonSoup.hpp:48
FaceGroups readFaceParts(const std::string &a_file, const PolygonSoup< T > &a_soup)
Read a parts file: named parts of a mesh, each a set of the mesh's faces.
void writeFaceParts(const std::string &a_file, const FaceGroups &a_parts, const PolygonSoup< T > &a_soup, const std::string &a_meshFile)
Write a parts file that readFaceParts() reads back into a_parts.
uint64_t meshFingerprint(const PolygonSoup< T > &a_soup) noexcept
A fingerprint of a mesh's face numbering: its vertex count and each face's vertex indices,...
FaceGroups overlayFaceGroups(const FaceGroups &a_fileGroups, const FaceGroups &a_picked)
The groups a mesh file names, with picked parts on top.
Namespace containing all of EBGeometry's functionality.
Definition EBGeometry_Affine.hpp:26
Named groups of a mesh's faces: an OBJ file's g and o groups, or the named solids of an ASCII STL fil...
Definition EBGeometry_FaceGroups.hpp:29