<a href="wall_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Voro++, a 3D cell-based Voronoi library</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">/** Tests to see whether a point is inside the sphere wall object.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * \param[in,out] (x,y,z) the vector to test.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * \return True if the point is inside, false if the point is outside. */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">/** Cuts a cell by the sphere wall object. The spherical wall is approximated by</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * a single plane applied at the point on the sphere which is closest to the center</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * of the cell. This works well for particle arrangements that are packed against</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * the wall, but loses accuracy for sparse particle distributions.</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * \param[in,out] c the Voronoi cell to be cut.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * \param[in] (x,y,z) the location of the Voronoi cell.</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * \return True if the cell still exists, false if the cell is deleted. */</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">/** Tests to see whether a point is inside the plane wall object.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> * \param[in] (x,y,z) the vector to test.</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * \return True if the point is inside, false if the point is outside. */</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">/** Cuts a cell by the plane wall object.</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> * \param[in,out] c the Voronoi cell to be cut.</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * \param[in] (x,y,z) the location of the Voronoi cell.</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> * \return True if the cell still exists, false if the cell is deleted. */</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">/** Tests to see whether a point is inside the cylindrical wall object.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> * \param[in] (x,y,z) the vector to test.</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> * \return True if the point is inside, false if the point is outside. */</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">/** Cuts a cell by the cylindrical wall object. The cylindrical wall is</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> * approximated by a single plane applied at the point on the cylinder which is</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> * closest to the center of the cell. This works well for particle arrangements</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"> * that are packed against the wall, but loses accuracy for sparse particle</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> * \param[in,out] c the Voronoi cell to be cut.</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> * \param[in] (x,y,z) the location of the Voronoi cell.</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> * \return True if the cell still exists, false if the cell is deleted. */</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">/** Tests to see whether a point is inside the cone wall object.</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> * \param[in] (x,y,z) the vector to test.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"> * \return True if the point is inside, false if the point is outside. */</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">/** Cuts a cell by the cone wall object. The conical wall is</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> * approximated by a single plane applied at the point on the cone which is</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"> * closest to the center of the cell. This works well for particle arrangements</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"> * that are packed against the wall, but loses accuracy for sparse particle</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> * \param[in,out] c the Voronoi cell to be cut.</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"> * \param[in] (x,y,z) the location of the Voronoi cell.</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * \return True if the cell still exists, false if the cell is deleted. */</span></div>