#include <wall.hh>
Public Member Functions | |
wall_cone (fpoint ixc, fpoint iyc, fpoint izc, fpoint ixa, fpoint iya, fpoint iza, fpoint ang, int iw_id=-99) | |
bool | point_inside (fpoint x, fpoint y, fpoint z) |
template<class n_option > | |
bool | cut_cell_base (voronoicell_base< n_option > &c, fpoint x, fpoint y, fpoint z) |
bool | cut_cell (voronoicell_base< neighbor_none > &c, fpoint x, fpoint y, fpoint z) |
bool | cut_cell (voronoicell_base< neighbor_track > &c, fpoint x, fpoint y, fpoint z) |
This class respresents a cone wall object.
Definition at line 85 of file wall.hh.
wall_cone::wall_cone | ( | fpoint | ixc, | |
fpoint | iyc, | |||
fpoint | izc, | |||
fpoint | ixa, | |||
fpoint | iya, | |||
fpoint | iza, | |||
fpoint | ang, | |||
int | iw_id = -99 | |||
) | [inline] |
bool wall_cone::cut_cell | ( | voronoicell_base< neighbor_track > & | c, | |
fpoint | x, | |||
fpoint | y, | |||
fpoint | z | |||
) | [inline, virtual] |
bool wall_cone::cut_cell | ( | voronoicell_base< neighbor_none > & | c, | |
fpoint | x, | |||
fpoint | y, | |||
fpoint | z | |||
) | [inline, virtual] |
bool wall_cone::cut_cell_base | ( | voronoicell_base< n_option > & | c, | |
fpoint | x, | |||
fpoint | y, | |||
fpoint | z | |||
) | [inline] |
Cuts a cell by the cone wall object. The conical wall is approximated by a single plane applied at the point on the cone which is closest to the center of the cell. This works well for particle arrangements that are packed against the wall, but loses accuracy for sparse particle distributions.
[in] | &c | the Voronoi cell to be cut. |
[in] | (x,y,z) | the location of the Voronoi cell. |
bool wall_cone::point_inside | ( | fpoint | x, | |
fpoint | y, | |||
fpoint | z | |||
) | [virtual] |