ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Shapes::Ellipsoid Class Reference

#include <Ellipsoid.hpp>

+ Inheritance diagram for Shapes::Ellipsoid:
+ Collaboration diagram for Shapes::Ellipsoid:

Public Member Functions

 Ellipsoid ()
 
void calculate_dist (const Utils::Vector3d &pos, double &dist, Utils::Vector3d &vec) const override
 
void set_semiaxis_a (const double &value)
 
void set_semiaxis_b (const double &value)
 
void set_semiaxis_c (const double &value)
 
Utils::Vector3dcenter ()
 
double & semiaxis_a ()
 
double & semiaxis_b ()
 
double & semiaxis_c ()
 
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
 

Detailed Description

Definition at line 30 of file shapes/include/shapes/Ellipsoid.hpp.

Constructor & Destructor Documentation

◆ Ellipsoid()

Shapes::Ellipsoid::Ellipsoid ( )
inline

Definition at line 32 of file shapes/include/shapes/Ellipsoid.hpp.

Member Function Documentation

◆ calculate_dist()

void Shapes::Ellipsoid::calculate_dist ( const Utils::Vector3d pos,
double &  dist,
Utils::Vector3d vec 
) const
overridevirtual

◆ center()

Utils::Vector3d & Shapes::Ellipsoid::center ( )
inline

Definition at line 48 of file shapes/include/shapes/Ellipsoid.hpp.

◆ direction()

double & Shapes::Ellipsoid::direction ( )
inline

Definition at line 52 of file shapes/include/shapes/Ellipsoid.hpp.

◆ semiaxis_a()

double & Shapes::Ellipsoid::semiaxis_a ( )
inline

Definition at line 49 of file shapes/include/shapes/Ellipsoid.hpp.

◆ semiaxis_b()

double & Shapes::Ellipsoid::semiaxis_b ( )
inline

Definition at line 50 of file shapes/include/shapes/Ellipsoid.hpp.

◆ semiaxis_c()

double & Shapes::Ellipsoid::semiaxis_c ( )
inline

Definition at line 51 of file shapes/include/shapes/Ellipsoid.hpp.

◆ set_semiaxis_a()

void Shapes::Ellipsoid::set_semiaxis_a ( const double &  value)
inline

Definition at line 39 of file shapes/include/shapes/Ellipsoid.hpp.

◆ set_semiaxis_b()

void Shapes::Ellipsoid::set_semiaxis_b ( const double &  value)
inline

Definition at line 40 of file shapes/include/shapes/Ellipsoid.hpp.

◆ set_semiaxis_c()

void Shapes::Ellipsoid::set_semiaxis_c ( const double &  value)
inline

Definition at line 46 of file shapes/include/shapes/Ellipsoid.hpp.


The documentation for this class was generated from the following files: