80    constexpr BOX2I box1_2__100_4 =
 
 
   88    const double tol = 0.000001;
 
 
constexpr const Vec & GetPosition() const
 
constexpr BOX2< Vec > & Inflate(coord_type dx, coord_type dy)
Inflates the rectangle horizontally by dx and vertically by dy.
 
static constexpr BOX2< VECTOR2I > ByCorners(const VECTOR2I &aCorner1, const VECTOR2I &aCorner2)
 
constexpr ecoord_type SquaredDiagonal() const
Return the square of the length of the diagonal of the rectangle.
 
static constexpr BOX2< VECTOR2I > ByCenter(const VECTOR2I &aCenter, const SizeVec &aSize)
 
constexpr BOX2< Vec > & Merge(const BOX2< Vec > &aRect)
Modify the position and size of the rectangle in order to contain aRect.
 
constexpr BOX2< Vec > GetWithOffset(const Vec &aMoveVector) const
 
constexpr BOX2< Vec > GetInflated(coord_type aDx, coord_type aDy) const
Get a new rectangle that is this one, inflated by aDx and aDy.
 
constexpr const SizeVec & GetSize() const
 
bool IsVecWithinTol(const VEC &aVec, const VEC &aExp, typename VEC::coord_type aTol)
Check that both x and y of a vector are within expected error.
 
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
 
BOOST_TEST(box.NearestPoint(VECTOR2D(0, 0))==VECTOR2D(1, 2))
 
BOOST_AUTO_TEST_CASE(DefaultConstructor)
Test suite for KiCad math code.
 
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
 
BOOST_AUTO_TEST_SUITE_END()
 
BOOST_CHECK_PREDICATE(ArePolylineEndPointsNearCircle,(chain)(c.m_geom.m_center_point)(radius)(accuracy+epsilon))
 
VECTOR2< int32_t > VECTOR2I
 
VECTOR2< double > VECTOR2D
 
VECTOR2< int64_t > VECTOR2L