How curve deviation is calculated

I m wondering how curve rebuild maximum deviation is calculated if someone can explain to me please.

Just a guess. An object with the rebuilt shape is created, and the same method used for CrvDeviation is applied to find the maximum deviation. McNeel (almost) never shares details of the algorithms used in Rhino. Determining the location of the maximum deviation involves iteration as there is not a closed form direct solution.

1 Like