CollisionLine

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

CollisionLine(void)
explicit CollisionLine(LPoint3 const &origin, LVector3 const &direction)
explicit CollisionLine(PN_stdfloat ox, PN_stdfloat oy, PN_stdfloat oz, PN_stdfloat dx, PN_stdfloat dy, PN_stdfloat dz)

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().

static TypeHandle get_class_type(void)