class CollisionLine

Bases: CollisionRay

An infinite line, similar to a CollisionRay, except that it extends in both directions. It is, however, directional.

Inheritance diagram

Inheritance diagram of CollisionLine

__init__() → None

Creates an invalid line. This isn’t terribly useful; it’s expected that the user will subsequently adjust the line via set_origin()/set_direction() or set_from_lens().

__init__(origin: LPoint3, direction: LVector3) → None
__init__(ox: float, oy: float, oz: float, dx: float, dy: float, dz: float) → None
static getClassType() → TypeHandle
Return type