25#ifndef __BOX2_MINMAX_H
26#define __BOX2_MINMAX_H
110 return std::hypot( d.
x, d.
y );
constexpr BOX2I BOX2ISafe(const BOX2D &aInput)
A min-max version of BOX2 for fast intersection checking.
BOX2I_MINMAX(const VECTOR2I &aA, const VECTOR2I &aB)
BOX2I_MINMAX(const SEG &aSeg)
bool Intersects(const BOX2I_MINMAX &aOther) const
BOX2I_MINMAX(int aX, int aY)
double GetDiameter() const
BOX2I_MINMAX(const SHAPE_ARC &aArc)
void Merge(const VECTOR2I &aPt)
BOX2I_MINMAX(const VECTOR2I &aPt)
BOX2I_MINMAX(const BOX2I &aBox)
VECTOR2I GetCenter() const
BOX2I_MINMAX(int aLeft, int aTop, int aRight, int aBottom)
VECTOR2< int32_t > VECTOR2I
VECTOR2< int64_t > VECTOR2L