# collada.lineset.Line

class `collada.lineset.``Line`(indices, vertices, normals, texcoords, material)

  Bases: `object`

  Single line representation. Represents the line between two points `(x0,y0,z0)` and `(x1,y1,z1)`. A Line is read-only.

  `__init__`(indices, vertices, normals, texcoords, material)

    A Line should not be created manually.

  Methods

  `__init__`(indices, vertices, normals, …) | A Line should not be created manually.

  `vertices` = None

    A (2, 3) numpy float array containing the endpoints of the line

  `normals` = None

    A (2, 3) numpy float array with the normals for the endpoints of the line. Can be None.

  `texcoords` = None

    A tuple where entries are numpy float arrays of size (2, 2) containing the texture coordinates for the endpoints of the line for each texture coordinate set. Can be length 0 if there are no texture coordinates.

  `material` = None

    If coming from an unbound `collada.lineset.LineSet`, contains a string with the material symbol. If coming from a bound `collada.lineset.BoundLineSet`, contains the actual `collada.material.Effect` the line is bound to.