47 const vfloat fmax_straight_arange,
const vfloat fmax_circ_arange,
48 const point& fcurrpos,
const vec& fdir,
const bool fcurved,
point currpos
Current position.
vfloat rad_for_straight
Radius beyond which to prefer straight lines to reduce calculation time.
vfloat mrange
Maximal possible range.
trajestep()=default
Default constructor.
vfloat max_straight_arange
Angular step for curved lines when using straight-line approximation.
bool curved
Type of trajectory (curved or straight).
static absrefabsref::*[4] aref
void Gnextpoint(vfloat frange, point &fpos, vec &fdir) const
Move to the next point.
virtual ~trajestep()
Destructor.
virtual absref_transmit get_components() override
vfloat max_circ_arange
Angular step for curved lines.
vfloat max_range
Max. step length.
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)