AIntersectionObjekt, který definuje průnik. Říká jaký je výsledek, v poli points drží průsečíky typu APoint Summary
AIntersection
|
AIntersection.prototype.init = function( status )
Vypočítá průsečík dvou úseček.
AIntersection.intersectLineLine = function( a1, a2, b1, b2 )
Vypočítá průsečík úsečky a polygonu.
AIntersection.intersectLinePolygon = function( a1, a2, points )
Vypočítá průsečík úsečky a obdélníku.
AIntersection.intersectLineRectangle = function( a1, a2, r1, r2 )
Vypočítá průsečík polygonu a obdélníku.
AIntersection.intersectPolygonRectangle = function( points, r1, r2 )
Vypočítá průsečík dvou přímek
AIntersection.intersectRayRay = function( a1, a2, b1, b2 )