pike.git / lib / modules / Geography.pmod / Position.pike

version» Context lines:

pike.git/lib/modules/Geography.pmod/Position.pike:53:   }      protected variant void create(string lat, string long)   {    create(dwim(lat,"NS"), dwim(long,"EW"));   }      protected variant void create(int|float lat, int|float long,    void|int|float alt)   { -  this_program::lat=(float)lat; -  this_program::long=(float)long; -  this_program::alt=(float)alt; +  this::lat=(float)lat; +  this::long=(float)long; +  this::alt=(float)alt;    set_ellipsoid("WGS 84");   }      private float dwim(string what,string direction)   {    float d,m,s;    string dir=0;    int neg=0;   #define DIV "%*[ \t\r\n'`\260\":.]"