BoundingLine

class BoundingLine

Bases: GeometricBoundingVolume

This funny bounding volume is an infinite line with no thickness and extending to infinity in both directions.

Note that it always extends in both directions, despite the fact that you specify two points to the constructor. These are not endpoints, they are two arbitrary points on the line.

Inheritance diagram

Inheritance diagram of BoundingLine

explicit BoundingLine(LPoint3 const &a, LPoint3 const &b)
static TypeHandle get_class_type(void)
LPoint3 const &get_point_a(void) const

Returns the first point that defines the line.

LPoint3 get_point_b(void) const

Returns the second point that defines the line.

bool validate_ptr(void const *ptr)