22 #ifndef PHOENIXVR_REGIONS_H 23 #define PHOENIXVR_REGIONS_H 25 #include "common/array.h" 26 #include "phoenixvr/rectf.h" 30 class SeekableReadStream;
41 bool contains3D(
float angleX,
float angleY)
const;
42 bool contains3D(PointF p)
const {
return contains3D(p.x, p.y); }
43 bool contains2D(
float x,
float y)
const {
44 return toRect().contains(x, y);
53 uint size()
const {
return _regions.
size(); }
55 const Region &getRegion(uint idx)
const {
Definition: region_set.h:34
Definition: algorithm.h:29
size_type size() const
Definition: array.h:316
Definition: region_set.h:48