bool SectorZone::IsAngleInSector(const Angle b) const { // Quit early if we have a full circle if ((end_radial - start_radial).AsBearing() <= Angle::FullCircle() / 512) return true; return b.Between(start_radial, end_radial); }
bool SectorZone::angleInSector(const Angle b) const { return b.Between(StartRadial, EndRadial); }
/** * Is the specified value within the range? */ gcc_pure bool IsInside(const Angle value) const { return value.Between(start, end); }