22#ifndef SHAPES_SHAPE_HPP
23#define SHAPES_SHAPE_HPP
63 double grid_spacing,
double grid_offset)
const;
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...