Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# CollisionLine Class Reference

An infinite line, similar to a CollisionRay, except that it extends in both directions. More...

Inheritance diagram for CollisionLine:

List of all members.

## Public Member Functions
| CollisionLine ()
| Creates an invalid line.
| CollisionLine (float ox, float oy, float oz, float dx, float dy, float dz)
| CollisionLine (Point3 const origin, Vec3 const direction)
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

An infinite line, similar to a CollisionRay, except that it extends in both directions.

It is, however, directional.

## Constructor & Destructor Documentation

CollisionLine | ( |  | ) |

Creates an invalid line.

This isn't terribly useful; it's expected that the user will subsequently adjust the line via set_origin()/set_direction() or set_from_lens().

CollisionLine | ( | Point3 const | origin,
|  | Vec3 const | direction
| ) |  |

CollisionLine | ( | float | ox,
|  | float | oy,
|  | float | oz,
|  | float | dx,
|  | float | dy,
|  | float | dz
| ) |  |

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from CollisionRay.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties