(03-06-2019, 12:13 PM)_Aka_ Wrote: What you are looking for is
VolumeController.VolumeData.GetCrossLength(pathF) to get a specific cross's length
or
VolumeController.VolumeData.CrossFToDistance(pathF, crossF) to compute the distance between two different point of coordinates (pathF, crossF1) and (pathF, crossF2)
Did that help?
Many thanks.
Perfect, I will need to use both of those at different points.
Just to confirm:
If my volume was a doughnut made of 4 control points, which has a skinny cross at the start and really fat cross half way around.
A pathF value of 0 or 1 would give the smallest value, while a pathF value of 0.5 would be the highest value?
If then, I were to select the control point at 0.25 and drag it extremely far away so that the first half of the loop is a much longer distance; would a pathF value of 0.5 still return the point exactly on the middle control point or would it now be located somewhere on the path 50% of the length?
EDIT: going back to my first question, how do I get from the volumeController to the spline so I can call gettangeant on it? I thought it would be under volumedata..