MIRA
Public Member Functions | Protected Member Functions | List of all members
GeneralBresenhamLineIteratorBase< Drive, false > Class Template Reference

Specialization for DrivenByLongestAxis=false (driving axis given explicitly: No need to determine the drive axis, but stepping is a little more complex. More...

#include <geometry/Bresenham.h>

Inheritance diagram for GeneralBresenhamLineIteratorBase< Drive, false >:
Inheritance graph
[legend]

Public Member Functions

int drivingAxis () const
 Returns dimension index of the driving axis. More...
 

Protected Member Functions

void checkForDrivingAxis (int index, const int64_t &dist, int64_t &maxd)
 
void step (AxisBase &axis, const AxisBase &drive)
 

Detailed Description

template<int Drive>
class mira::GeneralBresenhamLineIteratorBase< Drive, false >

Specialization for DrivenByLongestAxis=false (driving axis given explicitly: No need to determine the drive axis, but stepping is a little more complex.

Member Function Documentation

◆ checkForDrivingAxis()

void checkForDrivingAxis ( int  index,
const int64_t &  dist,
int64_t &  maxd 
)
inlineprotected

◆ step()

void step ( AxisBase axis,
const AxisBase drive 
)
inlineprotected

◆ drivingAxis()

int drivingAxis ( ) const
inline

Returns dimension index of the driving axis.


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