// If POI “dimension” =2 or 3, use function Getobject() to return an object // associated with the current POI. if ($poi[“dimension”] == ‘2’ || $poi[“dimension”] == ‘3’) $poi[“object”] = Getobject ( $poi, $db); // If POI “dimension” =2 or 3, use function Gettransform() to return a // transform dictionary associated with the current POI. if ($poi[“dimension”] == ‘2’ || $poi[“dimension”] == ‘3’) $poi[“transform”] = Gettransform ( $poi, $db);