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

#include <Wall.hpp>

Inheritance diagram for Shapes::Wall:
Collaboration diagram for Shapes::Wall:

Public Member Functions

 Wall ()
void calculate_dist (const Utils::Vector3d &pos, double &dist, Utils::Vector3d &vec) const override
void set_normal (const Utils::Vector3d &normal)
Utils::Vector3d const & n () const
double const & d () const
double & d ()
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 29 of file shapes/include/shapes/Wall.hpp.

Constructor & Destructor Documentation

◆ Wall()

Shapes::Wall::Wall ( )
inline

Definition at line 31 of file shapes/include/shapes/Wall.hpp.

Member Function Documentation

◆ calculate_dist()

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

Implements Shapes::Shape.

Definition at line 28 of file Wall.cpp.

◆ d() [1/2]

double & Shapes::Wall::d ( )
inline

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

◆ d() [2/2]

double const & Shapes::Wall::d ( ) const
inline

Definition at line 44 of file shapes/include/shapes/Wall.hpp.

◆ n()

Utils::Vector3d const & Shapes::Wall::n ( ) const
inline

Definition at line 42 of file shapes/include/shapes/Wall.hpp.

◆ set_normal()

void Shapes::Wall::set_normal ( const Utils::Vector3d & normal)
inline

Definition at line 36 of file shapes/include/shapes/Wall.hpp.

References Utils::Vector< T, N >::normalize().


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