Open Sim Global Calculations BRIGADOON-0011
Provide a php class that provides a series of calculations using global coordinates
Loading...
Searching...
No Matches
os_global_calcs_dev.php File Reference

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' => 0, 'local_y' => 0, 'local_z' => 256]
 $course = []
 $global = []
 $course ['bearing'] = M_PI
 $result = $global_calcs->RegionBoundsGlobal("Brigadoon13")
 $FromLocal = ['region_name'=>'BRIGADOON01', 'local_x' => 128, 'local_y' => 256, 'local_z' => 128]
 $ToLocal = ['region_name'=>'BRIGADOON05', 'local_x' => 0, 'local_y' => 0, 'local_z' => 128]

Variable Documentation

◆ $course [1/2]

$course = []

Definition at line 448 of file os_global_calcs_dev.php.

◆ $course [2/2]

$course[ 'bearing'] = M_PI

Definition at line 464 of file os_global_calcs_dev.php.

◆ $from_array

$course* ['elevation'] $from_array = ['region_name'=>'BRIGADOON13', 'local_x' => 128, 'local_y' => 256, 'local_z' => 128]

Definition at line 446 of file os_global_calcs_dev.php.

◆ $FromLocal

$FromLocal = ['region_name'=>'BRIGADOON01', 'local_x' => 128, 'local_y' => 256, 'local_z' => 128]

Definition at line 474 of file os_global_calcs_dev.php.

Referenced by OS_GLOBAL_CALCS\RegionToDeltaLocal().

◆ $global

$global = []

Definition at line 449 of file os_global_calcs_dev.php.

◆ $global_calcs

$global_calcs = new OS_GLOBAL_CALCS($db, $host, $db_username, $db_password)

Definition at line 442 of file os_global_calcs_dev.php.

◆ $result

◆ $to_array

$to_array = ['region_name'=>'BRIGADOON13', 'local_x' => 0, 'local_y' => 0, 'local_z' => 256]

Definition at line 447 of file os_global_calcs_dev.php.

◆ $ToLocal

$ToLocal = ['region_name'=>'BRIGADOON05', 'local_x' => 0, 'local_y' => 0, 'local_z' => 128]

Definition at line 475 of file os_global_calcs_dev.php.

Referenced by OS_GLOBAL_CALCS\RegionToDeltaLocal().