Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find out whether the spline is self-intersected.
#1
Hi,
I have a question.
I want to check whether my curvy spline is intersected by itself.
I want to build something following my curvy spline. Before start building them, I want check whether my building collide into other building on the same spline.
Please let me know how to do it
Reply
#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. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Absolute distance along spline for Shape Extrusion Module amutp 3 205 10-31-2021, 10:26 AM
Last Post: _Aka_
Question Generating a path from selected point to the beginning of spline on a closed spline? Zendariel 5 315 10-29-2021, 01:57 PM
Last Post: _Aka_
  Controller/Spline flipping object topquarkone 4 284 10-28-2021, 05:02 PM
Last Post: _Aka_
Question Spline.length incorrect dazz777 3 313 10-07-2021, 10:23 AM
Last Post: _Aka_

Forum Jump: