vector spaces, segments and trails