Posts: 9
Threads: 3
Joined: Dec 2019
01-18-2020, 10:21 PM
(This post was last modified: 01-18-2020, 10:21 PM by curvyuser007.)
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
Posts: 2,114
Threads: 92
Joined: Jun 2017
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_fluffy_underware_1_1_curvy_1_1_curvy_spline.html#a5a2733111f8c35a6be80b42887988f39
Did this help?
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 9
Threads: 3
Joined: Dec 2019
(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_fluffy_underware_1_1_curvy_1_1_curvy_spline.html#a5a2733111f8c35a6be80b42887988f39
Did this help?
Yes example 5 is perfect! thank you!
Posts: 9
Threads: 3
Joined: Dec 2019
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."
Posts: 2,114
Threads: 92
Joined: Jun 2017
Thanks for letting me know. Do you get the same message when going directly to forum.curvyeditor.com? Also what browser are you using?
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 9
Threads: 3
Joined: Dec 2019
sometime it opens sometime it doesn't. I'm on Safari.