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

Predict_PassDetail   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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