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

version» Context lines:

pike.git/lib/modules/Geography.pmod/Position.pike:569:   // --- "Technical" methods --------------      protected string|array cast(string to)   {    if (to[..4]=="array")    return ({lat,long});       if (to[..5]=="string")    return latitude()+" "+longitude();    -  error("can't cast to %O\n",to); +  return UNDEFINED;   }      //!   protected int __hash()   {    return (int)(lat*3600000+long*3600000);   }      //!   protected int `==(object pos)