Jump to content

Intersecting Roads


TOBSn08

Recommended Posts

Hi,

I am trying to get roads/planes to intersect. The problem here is that they could meet at any angle and I couldn't figure out a non-expensive way to detect the intersection. Is there a way to intersect roads and delete or replace the parts that are not needed?

right now I am projecting the rays of the curves onto my terrain and sweep them which isn't giving me quite the result I am looking for to continue.

6bf42504-e1b7-4dda-9c32-3869af42bf80.jpgbb0997cd-d1e9-4954-bc62-5f752e1e52c7.jpg

  • Like 1
Link to comment
Share on other sites

Hi,

solve this on the curves first and apply the sweeping later.

You can use two 'CurveSect' nodes on the curves. One using cut, and the other one using extract.

Use the single point resulting from the extraction as a location for deleting/keeping points so that you can connect the points that are the closest to your crossing.

I attached an example..

road_crossing.hipnc

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...