Contents  All Classes  Index A-Z  All Units


CrossingLines function

function CrossingLines(Const X1, Y1, X2, Y2, X3, Y3, X4, Y4: Double; Out x, y: Double): Boolean;

Unit
TeeProcs

Description
Returns True if two lines cross.

First line is defined by coordinates X1Y1 to X2Y2
Second line is defined by X3Y3 to X4Y4

If lines do cross, the XY reference parameters are returned with crossing location.



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.