Hi,
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Your approach sounds fine to me.
Duplicate corrdinates are to be expected, of course.
You can eliminate them in many ways.
The easiest, I find, is to implement a fuzzy point equality comparer and then add the points as keys to a dictionary.
I think I do that in my concrete setout point add-in:
I also demonstrate this approach in many other samples on The Building Coder.
Search for XyzEqualityComparer, for instance.
Cheers,
Jeremy
Thank you Jeremy.
I will look into the code for the removal of the duplicate points.
@Anonymous wrote:Your approach sounds fine to me.
Duplicate corrdinates are to be expected, of course.
You can eliminate them in many ways.
The easiest, I find, is to implement a fuzzy point equality comparer and then add the points as keys to a dictionary.
I think I do that in my concrete setout point add-in:
I also demonstrate this approach in many other samples on The Building Coder.
Search for XyzEqualityComparer, for instance.
Cheers,
Jeremy