2d vector based line object