...ermitteln, ob zwei 2D segmente parallel zueinander stehen?
Autor: Arash Partow
function SegmentsParallel(x1, y1, x2, y2, x3, y3, x4, y4: Double): Boolean;
begin
Result := (((y1 - y2) * (x1 - x2)) = ((y3 - y4) * (x3 - x4)));
end;
(* End Of SegmentsParallel *)
// vérifie si 2 droites bidimensionnelles sont parallèles
printed from
www.swissdelphicenter.ch
developers knowledge base