BoundingLine

from panda3d.core import BoundingLine
class BoundingLine

Bases:

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

__init__(a: LPoint3, b: LPoint3)
static get_class_type() TypeHandle
get_point_a() LPoint3

Returns the first point that defines the line.

get_point_b() LPoint3

Returns the second point that defines the line.