22#ifndef SHAPES_SHAPE_HPP
23#define SHAPES_SHAPE_HPP
Vector implementation and trait types for boost qvm interoperability.
std::vector< int > rasterize(Utils::Vector3i const &grid_size, double grid_spacing, double grid_offset) const
Rasterize a shape on a regular grid.
virtual bool is_inside(Utils::Vector3d const &pos) const
Check whether the given point is inside the shape or not.
virtual void calculate_dist(const Utils::Vector3d &pos, double &dist, Utils::Vector3d &vec) const =0
Calculate the minimum distance and the corresponding distance vector between a given position and the...
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.