#include <PlaneIntersection.h>
Static Public Member Functions | |
bool | intersect (const Plane &plane, const Vector3 &point, float range=Math::epsilon) |
点交差 | |
bool | intersect (const Plane &plane0, const Plane &plane1) |
平面交差 | |
bool | intersect (const Plane &plane, const Ray &ray) |
レイ交差 | |
bool | intersect (const Plane &plane, const Segment &segment) |
セグメント交差 | |
bool | intersect (const Plane &plane, const Sphere &sphere) |
球交差 | |
bool | intersect (const Plane &plane, const Triangle &triangle) |
三角交差 |
Definition at line 40 of file PlaneIntersection.h.
|
三角交差
Definition at line 93 of file PlaneIntersection.cpp. References Assert. |
|
球交差
Definition at line 84 of file PlaneIntersection.cpp. References Lamp::Sphere::getCenter(), Lamp::Plane::getDistance(), and Lamp::Sphere::getRadius(). |
|
セグメント交差
Definition at line 68 of file PlaneIntersection.cpp. References Lamp::Vector3::dotProduct(), Lamp::Segment::getDirection(), Lamp::Plane::getDistance(), Lamp::Plane::getNormal(), and Lamp::Segment::getOrigin(). |
|
レイ交差
Definition at line 52 of file PlaneIntersection.cpp. References Lamp::Vector3::dotProduct(), Lamp::Ray::getDirection(), Lamp::Plane::getDistance(), Lamp::Plane::getNormal(), and Lamp::Ray::getOrigin(). |
|
平面交差
Definition at line 43 of file PlaneIntersection.cpp. References Lamp::Vector3::crossProduct(), Lamp::Plane::getNormal(), and Lamp::Vector3::getSquaredLength(). |
|
点交差
Definition at line 34 of file PlaneIntersection.cpp. References Assert. |