cSegment3D Struct Reference

cSegment3D represents a line segment with a start and an end More...

#include <CVector3d.h>

List of all members.

Public Member Functions

double distanceSquaredToPoint (const cVector3d &a_point, double &a_t, cVector3d *a_closestPoint=0)


Detailed Description

cSegment3D represents a line segment with a start and an end


Member Function Documentation

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


The documentation for this struct was generated from the following files:
Generated on Mon Jun 11 09:41:48 2007 for CHAI 3D by  doxygen 1.5.2