ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <Sphere.hpp>
Public Member Functions | |
Sphere () | |
void | calculate_dist (const Utils::Vector3d &pos, double &dist, Utils::Vector3d &vec) const override |
Utils::Vector3d & | pos () |
double & | rad () |
double & | direction () |
Public Member Functions inherited from Shapes::Shape | |
virtual bool | is_inside (Utils::Vector3d const &pos) const |
Check whether the given point is inside the shape or not. | |
std::vector< int > | rasterize (Utils::Vector3i const &grid_size, double grid_spacing, double grid_offset) const |
Rasterize a shape on a regular grid. | |
virtual | ~Shape ()=default |
Definition at line 29 of file shapes/include/shapes/Sphere.hpp.
|
inline |
Definition at line 31 of file shapes/include/shapes/Sphere.hpp.
|
overridevirtual |
Implements Shapes::Shape.
Definition at line 27 of file Sphere.cpp.
References Utils::Vector< T, N >::norm(), and pos().
|
inline |
Definition at line 38 of file shapes/include/shapes/Sphere.hpp.
|
inline |
Definition at line 36 of file shapes/include/shapes/Sphere.hpp.
Referenced by calculate_dist().
|
inline |
Definition at line 37 of file shapes/include/shapes/Sphere.hpp.