Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
BoundingLine Class Reference

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

Inheritance diagram for BoundingLine:
GeometricBoundingVolume BoundingVolume TypedReferenceCount TypedObject ReferenceCount

List of all members.

Public Member Functions

 BoundingLine (Point3 const a, Point3 const b)
Point3 const getPointA ()
 Returns the first point that defines the line.
Point3 getPointB ()
 Returns the second point that defines the line.
 operator new (unsigned int size)

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

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.


Constructor & Destructor Documentation

BoundingLine ( Point3 const  a,
Point3 const  b 
)

Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from GeometricBoundingVolume.

Point3 const getPointA ( )

Returns the first point that defines the line.

Returns the second point that defines the line.

operator new ( unsigned int  size)
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties