MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / ContainsPoint

Method ContainsPoint

src/Savegame/SavedGame.cpp:1529–1529  ·  view source on GitHub ↗

Remember the coordinates.

Source from the content-addressed store, hash-verified

1527public:
1528 /// Remember the coordinates.
1529 ContainsPoint(double lon, double lat) : _lon(lon), _lat(lat) { /* Empty by design. */ }
1530 /// Check is the region contains the stored point.
1531 bool operator()(const Region *region) const { return region->getRules()->insideRegion(_lon, _lat); }
1532private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected