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 getClassType() TypeHandle
getPointA() LPoint3

Returns the first point that defines the line.

getPointB() LPoint3

Returns the second point that defines the line.

operatorNew(size: int)