/** * Returns the grid subdivision points as an array */ public function GetGridSubdivisions($min_space, $min_unit, $start, $fixed) { $divs = parent::GetGridSubdivisions($min_space, $min_unit, $start, $fixed); $new_divs = array(); $z = $this->Zero(); foreach ($divs as $d) { $new_divs[] = new GridPoint($d->position + $z, '', 0); $new_divs[] = new GridPoint(2 * $start + $z - $d->position, '', 0); } return $new_divs; }