2 * Copyright 2009 (c) Florian Frankenberger (darkblue.de)
4 * This file is part of LEA.
6 * LEA is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU Lesser General Public License as published by the Free
8 * Software Foundation, either version 3 of the License, or (at your option) any
11 * LEA is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13 * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with LEA. If not, see <http://www.gnu.org/licenses/>.
21 * No description given.
23 * @author Florian Frankenberger
27 public class FaceAndEyePosition {
30 private Rectangle2D facePosition;
32 private EyePosition eyePosition;
34 public FaceAndEyePosition(double x, double y, double w, double h, EyePosition eyePosition) {
35 this.facePosition = new Rectangle2D(x, y, w, h);
36 this.eyePosition = eyePosition;
39 public Rectangle2D getFacePosition() {
40 return this.facePosition;
43 public EyePosition getEyePosition() {
44 return this.eyePosition;