#include <LineIntersection.h>
Static Public Member Functions | |
bool | intersect (const Line &line, const Vector3 &point, float range=Math::epsilon) |
点交差 | |
bool | intersect (const Line &line0, const Line &line1, float range=Math::epsilon) |
交差 | |
bool | intersect (const Line &line, const OrientedBox &ob) |
指向性ボックス交差 | |
bool | intersect (const Line &line, const Plane &plane) |
平面交差 | |
bool | intersect (const Line &line, const Ray &ray, float range=Math::epsilon) |
レイ交差 | |
bool | intersect (const Line &line, const Segment &segment, float range=Math::epsilon) |
セグメント交差 | |
bool | intersect (const Line &line, const Sphere &sphere) |
球交差 | |
bool | intersect (const Line &line, const Triangle &triangle) |
三角交差 |
Definition at line 42 of file LineIntersection.h.
|
三角交差
Definition at line 99 of file LineIntersection.cpp. References Assert. |
|
球交差
Definition at line 89 of file LineIntersection.cpp. References Lamp::Sphere::getCenter(), Lamp::Sphere::getRadius(), and Lamp::Line::getSquaredDistance(). |
|
セグメント交差
Definition at line 81 of file LineIntersection.cpp. References Lamp::Line::getSquaredDistance(). |
|
レイ交差
Definition at line 73 of file LineIntersection.cpp. References Lamp::Line::getSquaredDistance(). |
|
平面交差
Definition at line 59 of file LineIntersection.cpp. References Lamp::Vector3::dotProduct(), Lamp::Line::getDirection(), Lamp::Plane::getDistance(), Lamp::Plane::getNormal(), and Lamp::Line::getOrigin(). |
|
指向性ボックス交差
Definition at line 51 of file LineIntersection.cpp. References Assert. |
|
交差
Definition at line 43 of file LineIntersection.cpp. References Lamp::Line::getSquaredDistance(). |
|
点交差
Definition at line 34 of file LineIntersection.cpp. References Assert. |