B:BD[
4.4737] → [
7.421016:421114]
B:BD[
7.421114] → [
6.384356:384835]
∅:D[
6.384835] → [
7.421351:421453]
B:BD[
7.421351] → [
7.421351:421453]
B:BD[
7.421453] → [
6.384836:385079]
∅:D[
6.385079] → [
7.421694:421728]
B:BD[
7.421694] → [
7.421694:421728]
'crime' => array(
'id' => $loc_id * 100 + 1,
'strid' => $loc['strid'] . '_crime',
'coords' => array(
calcY($this->constants['BOARD_H'] * ($top / 100), $angle, $this->constants['BOARD_H'] * 0.073),
calcX($this->constants['BOARD_W'] * ($left / 100), $angle, $this->constants['BOARD_W'] * 0.073),
$angle)),
'location' => array(
'id' => $loc_id * 100 + 2,
'strid' => $loc['strid'] . '_location',
'coords' => array($this->constants['BOARD_H'] * ($top / 100), $this->constants['BOARD_W'] * ($left / 100), $angle)),
'suspect' => array(
'id' => $loc_id * 100 + 3,
'strid' => $loc['strid'] . '_suspect',
'coords' => array(calcY($this->constants['BOARD_H'] * ($top / 100), $angle, $this->constants['BOARD_H'] * -0.073),
calcX($this->constants['BOARD_W'] * ($left / 100), $angle, $this->constants['BOARD_W'] * -0.073),
$angle)),
'crime' => array('id' => $loc_id * 100 + 1, 'strid' => $loc['strid'] . '_crime'),
'location' => array('id' => $loc_id * 100 + 2, 'strid' => $loc['strid'] . '_location'),
'suspect' => array('id' => $loc_id * 100 + 3, 'strid' => $loc['strid'] . '_suspect'),