17 INLINE_MATHUTIL BoundingLine::
24 INLINE_MATHUTIL BoundingLine::
25 BoundingLine(
const LPoint3 &a,
const LPoint3 &b) :
26 _origin(a), _vector(b - a)
30 nassertd(!_origin.is_nan() && !_vector.is_nan()) {
52 return _origin + _vector;
bool is_empty() const
Any kind of volume might be empty.
bool is_infinite() const
The other side of the empty coin is an infinite volume.
const LPoint3 & get_point_a() const
Returns the first point that defines the line.
LPoint3 get_point_b() const
Returns the second point that defines the line.