Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007872 [Squeak 5.2] any minor always 09-25-18 12:41 09-25-18 13:27
Reporter Patrickr View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0007872: PolygonMorph>>intersects: uses a non-existant method
Description Justus Eilers pointed out to me that PolygonMorph>>intersects: calls #intersectsLineFrom:to: which does not exist anywhere in the image. We looked it up in older images (up to 3.8) and could not find it in these either. The method seems to have never existed. Justus wrote the two attached test cases triggering that issue.
Additional Information
Attached Files  IntersectsTests.1.cs [^] (647 bytes) 09-25-18 12:41
 IntersectsImplementation.1.cs [^] (1,406 bytes) 09-25-18 13:26

- Relationships

- Notes
(0014625 - 273 - 273 - 273 - 273 - 273 - 273)
Patrickr
09-25-18 13:27

I have also attached a possible solution. The perfect solution would use Line objects but we do not have a class for that currently. Thus I resorted to arrays of points and a copied algorithm from the LineIntersections class. For the next release this should be cleaned up.
 

- Issue History
Date Modified Username Field Change
09-25-18 12:41 Patrickr New Issue
09-25-18 12:41 Patrickr File Added: IntersectsTests.1.cs
09-25-18 13:26 Patrickr File Added: IntersectsImplementation.1.cs
09-25-18 13:27 Patrickr Note Added: 0014625


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
35 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker