#include <iso_geom_plane_tools.h>
Public Member Functions | |
void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResultPoint, const Plane &pPlane) |
calculcate closest point to plane | |
void | intersect (const Plane &pPlane1, const Plane &pPlane2, Ray &pResultRay) |
calculate line intersection between two planes | |
void | intersect (Ray &pRay, const Plane &pPlane1, math::Vector< real > &pResultPoint) |
calculate intersection between ray and plane | |
PlaneTools () | |
~PlaneTools () |
PlaneTools::PlaneTools | ( | ) |
PlaneTools::~PlaneTools | ( | ) |
void PlaneTools::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
math::Vector< real > & | pResultPoint, | |||
const Plane & | pPlane | |||
) |
calculcate closest point to plane
pRefPoint | search point | |
pResultPoint | resulting closest point | |
pPlane | plane |
calculate line intersection between two planes
pPlane1 | first plane | |
pPlane2 | second plane | |
pResultLine | resulting line intersection |
void PlaneTools::intersect | ( | Ray & | pRay, | |
const Plane & | pPlane1, | |||
math::Vector< real > & | pResultPoint | |||
) |
calculate intersection between ray and plane
pRay | ray | |
pPlane | plane | |
pResultPoint | resulting point intersection |