#include <iso_geom_cuboid_tools.h>
Collaboration diagram for iso::geom::CuboidTools:

Public Member Functions | |
| void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResultPoint, const Cuboid &pCuboid) |
| calculcate closest point to cuboid surface | |
| void | intersect (const geom::Ray &pRay, const Cuboid &pCuboid, geom::Line &pResultLine) |
| calculcate intersections between ray and cuboid | |
Static Public Member Functions | |
| static CuboidTools & | get () |
| static void | destroy () |
Protected Member Functions | |
| CuboidTools () | |
| ~CuboidTools () | |
Static Protected Attributes | |
| static CuboidTools * | sCuboidTools |
| CuboidTools::CuboidTools | ( | ) | [protected] |
| CuboidTools::~CuboidTools | ( | ) | [protected] |
| CuboidTools & CuboidTools::get | ( | ) | [static] |
| void CuboidTools::destroy | ( | ) | [static] |
| void CuboidTools::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
| math::Vector< real > & | pResultPoint, | |||
| const Cuboid & | pCuboid | |||
| ) |
calculcate closest point to cuboid surface
| pRefPoint | search point | |
| pResultPoint | resulting closest point | |
| pCuboid | cuboid |
| void CuboidTools::intersect | ( | const geom::Ray & | pRay, | |
| const Cuboid & | pCuboid, | |||
| geom::Line & | pResultLine | |||
| ) |
calculcate intersections between ray and cuboid
| pRay | reay | |
| pCuboid | cuboid | |
| pResultLine | result line |
CuboidTools * CuboidTools::sCuboidTools [static, protected] |
1.5.1