|
Open Sim Global Calculations BRIGADOON-0011
Provide a php class that provides a series of calculations using global coordinates
|
Calculate positions using global measurements to allow measurements across Regional boundries. More...
Go to the source code of this file.
Classes | |
| class | OS_GLOBAL_CALCS |
| A Class to do global to local conversion and some global calculations. More... | |
Variables | |
| $global_calcs = new OS_GLOBAL_CALCS($db, $host, $db_username, $db_password) | |
| $from_array = ['region_name'=>'BRIGADOON13', 'local_x' => 128, 'local_y' => 256, 'local_z' => 128] | |
| $to_array = ['region_name'=>'BRIGADOON13', 'local_x' => 256, 'local_y' => 128, 'local_z' => 256] | |
| $course = [] | |
| $global = [] | |
| $course ['bearing'] = M_PI | |
Calculate positions using global measurements to allow measurements across Regional boundries.
The file creates a php class that can be used to do calculations using global coordinates for any two points in a simulation. The input and or output can be a global position vector, or it can be a region name with local coordinates.
The file creates a php class that can be used to do calculations using global coordinates for any two points in a simulation. The input and or output can be a global position vector, or it can be a region name with local coordinates.
Definition in file os_global_calcs.php.
| $course = [] |
Definition at line 296 of file os_global_calcs.php.
| $course[ 'bearing'] = M_PI |
Definition at line 312 of file os_global_calcs.php.
| $course* ['elevation'] $from_array = ['region_name'=>'BRIGADOON13', 'local_x' => 128, 'local_y' => 256, 'local_z' => 128] |
Definition at line 294 of file os_global_calcs.php.
| $global = [] |
Definition at line 297 of file os_global_calcs.php.
| $global_calcs = new OS_GLOBAL_CALCS($db, $host, $db_username, $db_password) |
Definition at line 290 of file os_global_calcs.php.
| $to_array = ['region_name'=>'BRIGADOON13', 'local_x' => 256, 'local_y' => 128, 'local_z' => 256] |
Definition at line 295 of file os_global_calcs.php.