SectorRange

Sector range

Members

Functions

empty
bool empty()

Check if current sector has reached the end

front
ushort front()

Gets the current sector

inRange
bool inRange(ushort sector)

Checks if the sector is within the sector-range

inRange
bool inRange(Rims rims)

Checks if the sector of a rim is within the sector-range

isFullRange
bool isFullRange()

Checks if the range is a full angle dart (0x0000 to 0xFFFF)

popFront
void popFront()

Progress one sector

toString
string toString()

Gives an representation of the angle span

Properties

from_sector
ushort from_sector [@property getter]

The start start sector

to_sector
ushort to_sector [@property getter]

The end sector

Static functions

sectorInRange
bool sectorInRange(ushort sector, ushort from_sector, ushort to_sector)

Checks if sector is within range