|
occ
|
Functions | |
| template<typename E > | |
| void | march_cube (const std::array< float, 8 > &values, E &edge_func) |
| constexpr float | get_offset (float a, float b) |
| template<typename T > | |
| T | interpolate (T a, T b, float t) |
| template<typename S > | |
| float | eval_point (const S &source, const FVec3 &p) |
| template<typename S , typename E > | |
| void | refine_and_emit (const S &source, const std::vector< EdgeCrossing > &crossings, float isovalue, int steps, E &extract_fn) |
Variables | |
| const size_t | CUBE_REMAP [8] = {2, 3, 1, 0, 6, 7, 5, 4} |
| constexpr float | sqrt_3 = 1.73205080757 |
|
inline |
|
inlineconstexpr |
| T occ::geometry::mc::impl::interpolate | ( | T | a, |
| T | b, | ||
| float | t | ||
| ) |
| void occ::geometry::mc::impl::march_cube | ( | const std::array< float, 8 > & | values, |
| E & | edge_func | ||
| ) |
| void occ::geometry::mc::impl::refine_and_emit | ( | const S & | source, |
| const std::vector< EdgeCrossing > & | crossings, | ||
| float | isovalue, | ||
| int | steps, | ||
| E & | extract_fn | ||
| ) |
| const size_t occ::geometry::mc::impl::CUBE_REMAP[8] = {2, 3, 1, 0, 6, 7, 5, 4} |
|
constexpr |