Bug 204565 - ObliqueRouter throws IndexOutOfBoundsException when routes connection between 2 intersecting shapes
Summary: ObliqueRouter throws IndexOutOfBoundsException when routes connection between...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 major
Target Milestone: 2.0.1   Edit
Assignee: Alex Boyko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 11:45 EDT by Alex Boyko CLA
Modified: 2010-07-19 12:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Boyko CLA 2007-09-25 11:45:33 EDT
The problem: ObliqueRouter routes connections between 2 intersecting shapes correctly only if union of 2 intersecting shapes has empty spots. If union rectangle of 2 intersecting shapes doesn't have it, i.e. shapes intersect along an equal dimension:

|---------------|
|               |
|      A        |
|               |
|               |
|||||||||||||||||
||||||||||||||||| <-- intersection
|||||||||||||||||
|               |
|      B        |
|               |
|               |
|---------------|

In this case if shapes A and B are connected ObliqueRouter will throw IndexOutOfBoundsException
Comment 1 Alex Boyko CLA 2007-09-25 16:28:32 EDT
Committed for 2.0.1 and 2.1
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:26:55 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug