Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find out whether the spline is self-intersected.
#2
Hi

The easy but not optimized solution is to generate the buildings, then test intersections between the buildings' bounding boxes, then delete the intersecting ones.

The optimized solution would be to apply a self-intersection test for the type of the spline you are using. Such test is not implemented in Curvy. I am not familiar with such algorithms, but they do exist, as you can see here: https://www.sciencedirect.com/science/ar...1589900729
All the splines do offer access, through the API, to the relevant data of their related spline type. So implementing such algorithms using the API is feasible.

I hope my answer helped. Let me know if you have other questions.
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: How to find out whether the spline is self-intersected. - by _Aka_ - 10-19-2021, 12:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Spots from 2 samples. BitBlit 8 447 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 1,939 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 842 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,825 07-29-2025, 09:15 PM
Last Post: _Aka_

Forum Jump: