![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Class containing all of the routines that are specific to computing the regular Voronoi tessellation. More...
#include <rad_option.hh>
Inheritance diagram for voro::radius_mono:Classes | |
| struct | radius_info |
Protected Member Functions | |
| void | r_init (int ijk, int s, radius_info &radius_out) const |
| void | r_prime (double rv, radius_info &radius_out) const |
| bool | r_ctest (double crs, double mrs, const radius_info &rad_info) const |
| double | r_cutoff (double lrs, const radius_info &rad_info) const |
| double | r_max_add (double rs) const |
| double | r_current_sub (double rs, int ijk, int q) const |
| double | r_scale (double rs, int ijk, int q, const radius_info &rad_info) const |
| bool | r_scale_check (double &rs, double mrs, int ijk, int q, const radius_info &rad_info) const |
Class containing all of the routines that are specific to computing the regular Voronoi tessellation.
The container and container_periodic classes are derived from this class, and during the Voronoi cell computation, these routines are used to create the regular Voronoi tessellation.
|
inlineprotected |
Carries out a radius bounds check.
| [in] | crs | the radius squared to be tested. |
| [in] | mrs | the current maximum distance to a Voronoi vertex multiplied by two. |
Subtracts the radius squared of a particle from a given value.
| [in] | rs | the value to consider. |
| [in] | ijk | the block that the particle is within. |
| [in] | q | the index of the particle within the block. |
|
inlineprotected |
Scales a plane displacement during a plane bounds check.
| [in] | lrs | the plane displacement. |
|
inlineprotected |
This is called prior to computing a Voronoi cell for a given particle to initialize any required constants.
| [in] | ijk | the block that the particle is within. |
| [in] | s | the index of the particle within the block. |
Adds the maximum radius squared to a given value.
| [in] | rs | the value to consider. |
|
inlineprotected |
Sets a required constant to be used when carrying out a plane bounds check.
|
inlineprotected |
Scales a plane displacement prior to use in the plane cutting algorithm.
| [in] | rs | the initial plane displacement. |
| [in] | ijk | the block that the particle is within. |
| [in] | q | the index of the particle within the block. |
|
inlineprotected |
Scales a plane displacement prior to use in the plane cutting algorithm, and also checks if it could possibly cut the cell.
| [in,out] | rs | the plane displacement to be scaled. |
| [in] | mrs | the current maximum distance to a Voronoi vertex multiplied by two. |
| [in] | ijk | the block that the particle is within. |
| [in] | q | the index of the particle within the block. |