https://techoverflow.net/2019/06/16/how-to-get-length-of-curve-in-opencascade/ 