Board index » delphi » Another geometry question.
alangll...@aol.com (AlanGLLoyd)
![]() Delphi Developer |
Tue, 05 Mar 2002 03:00:00 GMT
Another geometry question.
In article <37E1E260.AEBDB...@primus.com.au>, Arash <tprod...@primus.com.au>
writes: Quote>Does anyone know how to use vector math to calculate to "Geometry Help Needed" is an elegant solution using checks of clockwise-ity. Basically one takes one line (Pt1 to Pt2) and taking each end of the other line This check is done for the line Pt1 to Pt2 via the points Pt3 and Pt4, and also If the two checks both result in opposite signs of rotations then the lines The rotation sign is obtained by comparing slopes from Pt1 to Pt3 with that This algorithm is implemented in C++ in Win32 help. Enter "Alternative" in help Alan Lloyd |