0024751: Performance improvements in the Edge/Edge intersection algorithm

Added new static method PointBoxDistance() to compute distance between point and bounding box.
Removed method IntTools_EdgeEdge::FindRoughRanges().
Test cases for issue CR24751
This commit is contained in:
emv
2014-03-27 17:10:12 +04:00
committed by bugmaster
parent 9ba2c30f1a
commit 6b1fe48c8a
7 changed files with 374 additions and 225 deletions

View File

@@ -125,17 +125,7 @@ is
---Purpose:
-- Computes Line/Line intersection.
FindRoughRanges(me:out;
theR1, theR2 : Range from IntTools;
theSegments1 : out SequenceOfRanges from IntTools)
returns Integer from Standard
is protected;
---Purpose:
-- Looking for the rough intersection ranges
FindSolutions(me:out;
theRanges1 : out SequenceOfRanges from IntTools;
theRanges2 : out SequenceOfRanges from IntTools)
FindSolutions(me:out)
is protected;
---Purpose:
-- Looking for solutions