Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
CropContours
Function · 0.45
FillJunctionPointCandidates
Method · 0.45
GetAllJunctionPointsInViewport
Method · 0.45
MatchCity
Function · 0.45
IsInside
Method · 0.45
IsInBoundary
Method · 0.45
operator()
Method · 0.45
UNIT_TEST
Function · 0.45
ClipTriangleByRect
Function · 0.45
ClipPathByRectBeforeSmooth
Function · 0.45
Contains
Method · 0.45
AtBorder
Method · 0.45
Calls
no outgoing calls
Tested by
7
operator()
Method · 0.36
UNIT_TEST
Function · 0.36
UNIT_TEST
Function · 0.36
UNIT_TEST
Function · 0.36
UNIT_TEST
Function · 0.36
CenterInRect
Method · 0.36
TestPoint
Method · 0.36