Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Static Public Member Functions

# CollisionTube Class Reference

This implements a solid roughly in cylindrical shape. More...

Inheritance diagram for CollisionTube:

List of all members.

## Public Member Functions
| CollisionTube (Point3 const a, Point3 const db, float radius)
| CollisionTube (float ax, float ay, float az, float bx, float by, float bz, float radius)
Point3 const | getPointA ()
Point3 const | getPointB ()
float | getRadius ()
| setPointA (float x, float y, float z)
| setPointA (Point3 const a)
| setPointB (float x, float y, float z)
| setPointB (Point3 const b)
| setRadius (float radius)
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

This implements a solid roughly in cylindrical shape.

It's not called a CollisionCylinder because it's not a true cylinder; specifically, it has rounded ends instead of flat ends. It looks more like a Contac pill.

## Constructor & Destructor Documentation

CollisionTube | ( | Point3 const | a,
|  | Point3 const | db,
|  | float | radius
| ) |  |

CollisionTube | ( | float | ax,
|  | float | ay,
|  | float | az,
|  | float | bx,
|  | float | by,
|  | float | bz,
|  | float | radius
| ) |  |

## Member Function Documentation

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

Reimplemented from CollisionSolid.

Point3 const getPointA | ( |  | ) |

Point3 const getPointB | ( |  | ) |

float getRadius | ( |  | ) |

setPointA | ( | float | x,
|  | float | y,
|  | float | z
| ) |  |

setPointA | ( | Point3 const | a | ) |

setPointB | ( | Point3 const | b | ) |

setPointB | ( | float | x,
|  | float | y,
|  | float | z
| ) |  |

setRadius | ( | float | radius | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties