MCPcopy Create free account
hub / github.com/comaps/comaps / IsIntersect

Method IsIntersect

libs/geometry/rect2d.hpp:142–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 bool IsIntersect(Rect const & r) const
143 {
144 return !((m_maxX < r.m_minX) || (m_minX > r.m_maxX) || (m_maxY < r.m_minY) || (m_minY > r.m_maxY));
145 }
146
147 bool IsPointInside(Point<T> const & pt) const
148 {

Callers 12

FindClustersFunction · 0.45
CreatePlaceMethod · 0.45
HasIntersectionFunction · 0.45
GetRectCaseFunction · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
SplitRectCellFunction · 0.45
CoverSpiralFunction · 0.45
ForEachInIntervalsMethod · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by 4

UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36