src/projCode/Sinu.php
public function init()
    {
        // Place parameters in static storage for common use
        #$this->R = 6370997.0; //Radius of earth

        if (isset($this->sphere)) {
            //fixes SR-ORG:6965
            $this->en = Common::pj_enfn( $this->es );
        } else {
            $this->n = 1.;
            $this->m = 0.;
            $this->es = 0;
            $this->C_y = sqrt( ($this->m + 1.) / $this->n );
            $this->C_x = $this->C_y / ($this->m + 1.);
        }
    }
public function init()
    {
        // Place parameters in static storage for common use
        #$this->R = 6370997.0; //Radius of earth

        if (isset($this->sphere)) {
            //fixes SR-ORG:6965
            $this->en = Common::pj_enfn( $this->es );
        } else {
            $this->n = 1.;
            $this->m = 0.;
            $this->es = 0;
            $this->C_y = sqrt( ($this->m + 1.) / $this->n );
            $this->C_x = $this->C_y / ($this->m + 1.);
        }
    }
public function init ( ) { // Place parameters in static storage for common use
 #$this->R = 6370997.0; //Radius of earth
 if ( isset ( $ this -> sphere ) ) { //fixes SR-ORG:6965
 $ this -> en = Common :: pj_enfn ( $ this -> es ) ; } else { $ this -> n = 1. ; $ this -> m = 0. ; $ this -> es = 0 ; $ this -> C_y = sqrt ( ( $ this -> m + 1. ) / $ this -> n ) ; $ this -> C_x = $ this -> C_y / ( $ this -> m + 1. ) ; } }
Initialize the Sinusoidal projection
Initialize the Sinusoidal projection