#include <LineDistance.h>
Static Public Member Functions | |
float | squaredDistance (const Line &line, const Vector3 &point) |
点距離の二乗 | |
float | squaredDistance (const Line &line0, const Line &line1) |
距離の二乗 | |
float | squaredDistance (const Line &line, const OrientedBox &ob) |
指向性ボックス距離の二乗 | |
float | distance (const Line &line, const Plane &plane) |
平面距離 | |
float | squaredDistance (const Line &line, const Ray &ray) |
レイ距離の二乗 | |
float | squaredDistance (const Line &line, const Segment &segment) |
セグメント距離の二乗 | |
float | squaredDistance (const Line &line, const Sphere &sphere) |
球距離の二乗 | |
float | squaredDistance (const Line &line, const Triangle &triangle) |
三角距離の二乗 |
Definition at line 42 of file LineDistance.h.
|
平面距離
Definition at line 94 of file LineDistance.cpp. References Assert. Referenced by squaredDistance(). |
|
三角距離の二乗
Definition at line 208 of file LineDistance.cpp. References Assert. |
|
球距離の二乗
Definition at line 200 of file LineDistance.cpp. References Assert. |
|
セグメント距離の二乗
Definition at line 149 of file LineDistance.cpp. References Lamp::Vector3::dotProduct(), Lamp::Segment::getDirection(), Lamp::Line::getDirection(), Lamp::Segment::getOrigin(), Lamp::Line::getOrigin(), and Lamp::Vector3::getSquaredLength(). |
|
レイ距離の二乗
Definition at line 102 of file LineDistance.cpp. References Lamp::Vector3::dotProduct(), Lamp::Ray::getDirection(), Lamp::Line::getDirection(), Lamp::Ray::getOrigin(), Lamp::Line::getOrigin(), and Lamp::Vector3::getSquaredLength(). |
|
指向性ボックス距離の二乗
Definition at line 86 of file LineDistance.cpp. References Assert. |
|
距離の二乗
Definition at line 46 of file LineDistance.cpp. References Lamp::Vector3::dotProduct(), Lamp::Line::getDirection(), Lamp::Line::getOrigin(), and Lamp::Vector3::getSquaredLength(). |
|
点距離の二乗
Definition at line 34 of file LineDistance.cpp. References distance(), Lamp::Vector3::dotProduct(), Lamp::Line::getDirection(), Lamp::Line::getOrigin(), and Lamp::Vector3::getSquaredLength(). |