|
Is there any difference/advantage in passing a list of |
Replies: 2 comments
|
Yes, there is. I have just noticed that the Javadoc on The difference is:
(Really |
|
The Javadoc for |
|
Is there any difference/advantage in passing a list of |
|
Yes, there is. I have just noticed that the Javadoc on The difference is:
(Really |
|
The Javadoc for |
Yes, there is. I have just noticed that the Javadoc on
BasicSegmentStringis not correct, so thanks for asking this question (I will fix it pronto).The difference is:
BasicSegmentStringallows accessing segments, but does not support adding nodesNodedSegmentStringallows accessing segments, and also allows adding nodes to the segments, and then splitting the segstring at the nodes to produce a set of sub-strings.Noders are used for both detecting intersections and for computing noded arrangements. For detection it is fine to useBasicSegmentString. This avoids the (small) overhead of creating aSegmentNodeListfor each string. But if full noding is required thenNodedSegmentStringmu…