74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#AssociationItem.__calculateEndingPoints_topToBottom">__calculateEndingPoints_topToBottom</a></td> |
75 <td><a href="#AssociationItem.__calculateEndingPoints_topToBottom">__calculateEndingPoints_topToBottom</a></td> |
76 <td>Private method to calculate the ending points of the association item.</td> |
76 <td>Private method to calculate the ending points of the association item.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#AssociationItem.__findIntersection">__findIntersection</a></td> |
78 <td><a href="#AssociationItem.__findIntersection">__findIntersection</a></td> |
79 <td>Method to calculate the intersection point of two lines.</td> |
79 <td>Private method to calculate the intersection point of two lines.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#AssociationItem.__findPointRegion">__findPointRegion</a></td> |
81 <td><a href="#AssociationItem.__findPointRegion">__findPointRegion</a></td> |
82 <td>Private method to find out, which region of rectangle rect contains the point (PosX, PosY) and returns the region number.</td> |
82 <td>Private method to find out, which region of rectangle rect contains the point (PosX, PosY) and returns the region number.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#AssociationItem.__findRectIntersectionPoint">__findRectIntersectionPoint</a></td> |
84 <td><a href="#AssociationItem.__findRectIntersectionPoint">__findRectIntersectionPoint</a></td> |
201 to the bottom center of the upper item. |
201 to the bottom center of the upper item. |
202 </p><a NAME="AssociationItem.__findIntersection" ID="AssociationItem.__findIntersection"></a> |
202 </p><a NAME="AssociationItem.__findIntersection" ID="AssociationItem.__findIntersection"></a> |
203 <h4>AssociationItem.__findIntersection</h4> |
203 <h4>AssociationItem.__findIntersection</h4> |
204 <b>__findIntersection</b>(<i>p1, p2, p3, p4</i>) |
204 <b>__findIntersection</b>(<i>p1, p2, p3, p4</i>) |
205 <p> |
205 <p> |
206 Method to calculate the intersection point of two lines. |
206 Private method to calculate the intersection point of two lines. |
207 </p><p> |
207 </p><p> |
208 The first line is determined by the points p1 and p2, the second |
208 The first line is determined by the points p1 and p2, the second |
209 line by p3 and p4. If the intersection point is not contained in |
209 line by p3 and p4. If the intersection point is not contained in |
210 the segment p1p2, then it returns (-1.0, -1.0). |
210 the segment p1p2, then it returns (-1.0, -1.0). |
211 </p><p> |
211 </p><p> |