core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::geom::Box Struct Reference

Axis-aligned solid box of half-extents half: standard exact box SDF, negative inside. More...

#include <sdf.hpp>

Public Member Functions

double eval (const Vec< 3 > &p) const
 

Public Attributes

Vec< 3 > center {}
 
Vec< 3 > half {0.5, 0.5, 0.5}
 

Detailed Description

Axis-aligned solid box of half-extents half: standard exact box SDF, negative inside.

Definition at line 38 of file sdf.hpp.

Member Function Documentation

◆ eval()

double peclet::core::geom::Box::eval ( const Vec< 3 > &  p) const
inline

Member Data Documentation

◆ center

Vec<3> peclet::core::geom::Box::center {}

Definition at line 39 of file sdf.hpp.

Referenced by eval().

◆ half

Vec<3> peclet::core::geom::Box::half {0.5, 0.5, 0.5}

Definition at line 40 of file sdf.hpp.

Referenced by eval().


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