From: Hazen B. <hba...@ma...> - 2015-05-13 15:46:12
|
Hello Alan, Arjen, As I mentioned before, the FPE's in x25c, x30c and x33c are all coming from the notcrossed() function in plfill.c. Hopefully you can provide some insight as the authors. Basically the problem arises in a situation where the two lines do not cross, but are not parallel. In this situation this function still calculates the x,y intersection. However, depending on the position and orientation of the two lines this intersection can be way outside the range of values that can be represented using (4 byte) integers. Do you recall if functions that call this function expect to receive a valid intersection point in this case? Or is it ok to just return zero? -Hazen |