Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotOrbitSerieNodeClass.php 901 Bytes
26a23052   Benjamin Renard   Add Interval Tick...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php

define ("REQUESTOUTPUTPLOTORBITSERIE_NAME", "orbitserie");

define ("REQUESTOUTPUTPLOTORBITSERIE_PROJECTION", "projection");

abstract class RequestOutputPlotOrbitSerieProjectionEnum
{
	const XY = "XY";
	const XZ = "XZ";
	const YZ = "YZ";
	const XR = "XR";
	const YR = "YR";
	const ZR = "ZR";
}

/**
 * @class RequestOutputPlotOrbitSerieNodeClass
 * @brief Definition of an orbit serie for a plot of a plot request
 * @details
*/
class RequestOutputPlotOrbitSerieNodeClass extends RequestOutputPlotBaseSerieNodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTORBITSERIE_NAME);
	}

	public function setProjection($projection)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTORBITSERIE_PROJECTION, $projection);
	}

	public function getProjection()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTORBITSERIE_PROJECTION);
	}
}

?>