Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a point in Spline that is parallel with another Spline?
#1
Big Grin 
Hi, I have two parallel Splines with different length. Lets call them Main and Secondary splines. 

I have a point in Main spline and I want to get a point (relative position) in Secondary spline that is parallel to a point in Main spline. How can I get that Relative position on Secondary spline? 

Thanks
Reply
#2
Hi,
I guess that by parallel you mean the closest point on B to your point A. If this is the case, then take a look at the example scene 5, NearestPoint, and you will find the code you will need.
If by parallel you mean a point at the same distance, then take a look at the Interpolate and InterpolateByDistance methods:
https://api.curvyeditor.com/610/class_fl...2887988f39
Did this help?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(01-19-2020, 01:43 PM)_Aka_ Wrote: Hi,
I guess that by parallel you mean the closest point on B to your point A. If this is the case, then take a look at the example scene 5, NearestPoint, and you will find the code you will need.
If by parallel you mean a point at the same distance, then take a look at the Interpolate and InterpolateByDistance methods:
https://api.curvyeditor.com/610/class_fl...2887988f39
Did this help?

Yes example 5 is perfect! thank you!
Reply
#4
FYI.. I keep getting this below message when I click on Forum from curvyeditor.com. Page opens only after refreshing multiple times.

"Misdirected Request

The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection."
Reply
#5
Thanks for letting me know. Do you get the same message when going directly to forum.curvyeditor.com? Also what browser are you using?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#6
sometime it opens sometime it doesn't. I'm on Safari.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  12_Train junction point richardzzzarnold 5 441 04-16-2025, 02:19 PM
Last Post: _Aka_
  Filling a closed spline dynamically rickgplus 1 231 04-16-2025, 08:56 AM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 688 02-04-2025, 09:31 PM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 285 02-03-2025, 09:34 AM
Last Post: _Aka_

Forum Jump: