src/projCode/Gnom.php
public function init($def = null)
    {
        // Place parameters in static storage for common use

        $this->sin_p14 = sin( $this->lat0 );
        $this->cos_p14 = cos( $this->lat0 );

        // Approximation for projecting points to the horizon (infinity)
        $this->infinity_dist = 1000 * $this->a;
        $this->rc = 1;
    }
public function init($def = null)
    {
        // Place parameters in static storage for common use

        $this->sin_p14 = sin( $this->lat0 );
        $this->cos_p14 = cos( $this->lat0 );

        // Approximation for projecting points to the horizon (infinity)
        $this->infinity_dist = 1000 * $this->a;
        $this->rc = 1;
    }
public function init ( $ def = null ) { // Place parameters in static storage for common use
 $ this -> sin_p14 = sin ( $ this -> lat0 ) ; $ this -> cos_p14 = cos ( $ this -> lat0 ) ; // Approximation for projecting points to the horizon (infinity)
 $ this -> infinity_dist = 1000 * $ this -> a ; $ this -> rc = 1 ; }
Initialize the Gnomonic projection

@todo $def not used in context...?
@param mixed $def
Initialize the Gnomonic projection