LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
Loading...
Searching...
No Matches
region_2d.h
Go to the documentation of this file.
1// -*-c++-*-
2
7
8/*
9 *Copyright:
10
11 Copyright (C) Hidehisa Akiyama
12
13 This code is free software; you can redistribute it and/or
14 modify it under the terms of the GNU Lesser General Public
15 License as published by the Free Software Foundation; either
16 version 3 of the License, or (at your option) any later version.
17
18 This library is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public
24 License along with this library; if not, write to the Free Software
25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
27 *EndCopyright:
28 */
29
31
32#ifndef RCSC_GEOM_REGION2D_H
33#define RCSC_GEOM_REGION2D_H
34
35namespace rcsc {
36
37class Vector2D;
38
43class Region2D {
44protected:
45
50 { }
51
52public:
53
57 virtual
59 { }
60
65 virtual
66 double area() const = 0;
67
73 virtual
74 bool contains( const Vector2D & point ) const = 0;
75
76};
77
78}
79
80#endif
virtual double area() const =0
get the area of this region
Region2D()
accessible only from derived classes
Definition region_2d.h:49
virtual bool contains(const Vector2D &point) const =0
check if this region contains 'point'.
virtual ~Region2D()
virtual destructor.
Definition region_2d.h:58
2D point vector class
Definition vector_2d.h:47