distance to the gate in meters:
if represents entrance outside the object - positive
if represents entrance inside the object - negative
if represents exit outside the object - zero
if represents exit inside the object - positive