#include <CVector3d.h>
Public Member Functions | |
| double | distanceSquaredToPoint (const cVector3d &a_point, double &a_t, cVector3d *a_closestPoint=0) |
| double cSegment3D::distanceSquaredToPoint | ( | const cVector3d & | a_point, | |
| double & | a_t, | |||
| cVector3d * | a_closestPoint = 0 | |||
| ) |
Returns the squared distance from this segment to a_point and the position along the segment (from 0.0 to 1.0) of the closest point
1.5.2