panda3d.core.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

__init__(a: LPoint3, b: LPoint3) → None
operatorNew(size: size_t) → None
getPointA() → LPoint3

Returns the first point that defines the line.

Return type

LPoint3

getPointB() → LPoint3

Returns the second point that defines the line.

Return type

LPoint3

static getClassType() → TypeHandle
Return type

TypeHandle