![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Conical frustum shape with rounded corners and finite thickness. More...
#include <HollowConicalFrustum.hpp>
Inheritance diagram for Shapes::HollowConicalFrustum:
Collaboration diagram for Shapes::HollowConicalFrustum:Conical frustum shape with rounded corners and finite thickness.
-------->r1 ^ a \ | x \ | i \ | s \ *pos * center \ | \ | \ | \ | \ ----------------->r2
Definition at line 51 of file shapes/include/shapes/HollowConicalFrustum.hpp.
|
inline |
Definition at line 53 of file shapes/include/shapes/HollowConicalFrustum.hpp.
|
overridevirtual |
Calculate the distance vector and its norm between a given position and the cone.
| [in] | pos | Position for which distance to the cone is calculated. |
| [out] | dist | Distance between cone and pos. |
| [out] | vec | Distance vector (dist = || vec ||). |
Implements Shapes::Shape.
Definition at line 28 of file HollowConicalFrustum.cpp.
References Utils::basis_change(), stream, Utils::transform_coordinate_cartesian_to_cylinder(), Utils::transform_coordinate_cylinder_to_cartesian(), and Utils::vector_product().
|
inline |
Get central angle.
Definition at line 82 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Referenced by set_central_angle().
|
inline |
Get direction.
Definition at line 80 of file shapes/include/shapes/HollowConicalFrustum.hpp.
|
inline |
Get length of the frustum (without thickness).
Definition at line 76 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Referenced by set_length().
|
inline |
Get radius 1 perpendicular to axis.
Definition at line 72 of file shapes/include/shapes/HollowConicalFrustum.hpp.
|
inline |
Get radius 2 perpendicular to axis.
Definition at line 74 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Definition at line 67 of file shapes/include/shapes/HollowConicalFrustum.hpp.
References central_angle().
Definition at line 66 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Definition at line 64 of file shapes/include/shapes/HollowConicalFrustum.hpp.
References length().
Definition at line 62 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Definition at line 63 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Definition at line 65 of file shapes/include/shapes/HollowConicalFrustum.hpp.
References thickness().
|
inline |
Get thickness of the frustum.
Definition at line 78 of file shapes/include/shapes/HollowConicalFrustum.hpp.
Referenced by set_thickness().