[Flashcoders] Crossing of two lines

2006-04-06 Thread Lieven Cardoen
Does anybody have a piece of code to check whether two Lines cross with each other. At the moment I have this, but it doesn't seem to work : public static function cross(point1a:Point, point1b:Point, point2a:Point, point2b:Point):Boolean{ var deltaXi:Number;

RE: [Flashcoders] Crossing of two lines

2006-04-06 Thread Lieven Cardoen
Sent: donderdag 6 april 2006 10:38 To: Flashcoders mailing list Subject: [Flashcoders] Crossing of two lines Does anybody have a piece of code to check whether two Lines cross with each other. At the moment I have this, but it doesn't seem to work : public static function cross