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

Method IsPointInside

libs/geometry/rect2d.hpp:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 bool IsPointInside(Point<T> const & pt) const
148 {
149 return !(m_minX > pt.x || pt.x > m_maxX || m_minY > pt.y || pt.y > m_maxY);
150 }
151
152 bool IsRectInside(Rect<T> const & rect) const
153 {

Callers 15

CropContoursFunction · 0.45
MatchCityFunction · 0.45
IsInsideMethod · 0.45
IsInBoundaryMethod · 0.45
operator()Method · 0.45
UNIT_TESTFunction · 0.45
ClipTriangleByRectFunction · 0.45
ContainsMethod · 0.45
AtBorderMethod · 0.45

Calls

no outgoing calls

Tested by 7

operator()Method · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
CenterInRectMethod · 0.36
TestPointMethod · 0.36