Completed
Push — master ( d35909...f740b5 )
by Yannick
06:46
created

Predict_PassDetail::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
require_once 'Vector.php';
4
5
/** Pass detail entry.
6
 *
7
 * In order to ensure maximum flexibility at a minimal effort, only the
8
 * raw position and velocity is calculated. Calculations of the
9
 * "human readable" parameters are the responsibility of the consumer.
10
 * This way we can use the same prediction engine for various consumers
11
 * without having too much overhead and complexity in the low level code.
12
 */
13
class Predict_PassDetail
14
{
15
    public $time;   /*!< time in "jul_utc" */
16
    public $pos;    /*!< Raw unprocessed position at time */
17
    public $vel;    /*!< Raw unprocessed velocity at time */
18
    public $velo;
19
    public $az;
20
    public $el;
21
    public $range;
22
    public $range_rate;
23
    public $lat;
24
    public $lon;
25
    public $alt;
26
    public $ma;
27
    public $phase;
28
    public $footprint;
29
    public $vis;
30
    public $orbit;
31
32
    public function __construct()
33
    {
34
        $this->pos = new Predict_Vector();
35
        $this->vel = new Predict_Vector();
36
    }
37
}
38