Geometrical uncertainty in mechanics and random curves in space