EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Attributes | List of all members
EBGeometry::SurfacePiece< T > Struct Template Reference

One piece of an object's surface, as found: a shape's surface between two regions (see SurfaceSelector::piece()), with the parts of it seen. More...

#include <EBGeometry_SurfacePieces.hpp>

Collaboration diagram for EBGeometry::SurfacePiece< T >:
Collaboration graph
[legend]

Public Attributes

SurfaceRef< T > m_surface
 The piece where it was first crossed: its surface, part and labels, and its two sides, the later region (the one on top in the Overlay) its owner, the earlier its neighbor; with their materials.
 
Vec3T< T > m_point = Vec3T<T>::zeros()
 A point on it, where a ray crossed it first.
 
Vec3T< T > m_normal = Vec3T<T>::zeros()
 The normal there, pointing outside (into m_surface.m_neighborRegion).
 
uint32_t m_crossings = 0
 How many rays crossed it: a measure of its size.
 
std::vector< uint32_t > m_parts
 The parts of it the rays crossed (a box's faces, a mesh's faces), sorted.
 

Detailed Description

template<class T>
struct EBGeometry::SurfacePiece< T >

One piece of an object's surface, as found: a shape's surface between two regions (see SurfaceSelector::piece()), with the parts of it seen.

Template Parameters
TFloating-point precision.

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