The direction vector iDir must have unit length. Since it's a public member, you have to take care of this yourself. The class asserts that iDir has unit length in the member functions that rely on it if IPELIB_DEBUG was defined when compiling Ipelib.
|
Create default line (x-axis).
|
|
Construct a line from starting point and direction.
|
|
Result is > 0, = 0, < 0 if point lies to the left, on, to the right.
|
|
Return a normal vector pointing to the left of the directed line.
|
|
Returns distance between line and v.
|
|
Does this line intersect line? If so, computes intersection point.
|
|
Orthogonally project point v onto the line.
|
|
{ Members are public |