Position.php
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2020 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of the MIT License.
7  *
8  * See the LICENSE file distributed with this work for
9  * additional information.
10  */
11 namespace wcmf\lib\model\output;
12 
13 /**
14  * The Position class stores a coordinate tuple for use
15  * with the LayoutVisitor.
16  *
17  * @author ingo herwig <ingo@wemove.com>
18  */
19 class Position {
20  public $x;
21  public $y;
22  public $z;
23 
24  /**
25  * Constructor.
26  * @param $x
27  * @param $y
28  * @param $z
29  */
30  public function __construct($x, $y, $z) {
31  $this->x = $x;
32  $this->y = $y;
33  $this->z = $z;
34  }
35 }
36 ?>
The Position class stores a coordinate tuple for use with the LayoutVisitor.
Definition: Position.php:19
__construct($x, $y, $z)
Constructor.
Definition: Position.php:30