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

Dummy shape that is infinitely far away from everything. More...

#include <NoWhere.hpp>

Inheritance diagram for Shapes::NoWhere:
Collaboration diagram for Shapes::NoWhere:

Public Member Functions

void calculate_dist (const Utils::Vector3d &, double &dist, Utils::Vector3d &vec) const override
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

Dummy shape that is infinitely far away from everything.

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

Member Function Documentation

◆ calculate_dist()

void Shapes::NoWhere::calculate_dist ( const Utils::Vector3d & ,
double & dist,
Utils::Vector3d & vec ) const
inlineoverridevirtual

Implements Shapes::Shape.

Definition at line 38 of file shapes/include/shapes/NoWhere.hpp.


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