Closed Rowandjj closed 6 years ago
Hi,最近看了下pasition的算法,有个疑惑的地方:
_preprocessing 函数中有个splitCurves的操作,我理解目的应该是让两个path的curves的数目保持一致,但是这里为啥MIN_CURVES_COUNT=100的限制,假设curves的长度很小,那么会填充到100的长度,这个过程应该很耗时吧?
_preprocessing
确实耗时,但是没想象中耗时,计算量不大,分割得越多最短路径找得越准确。
Hi,最近看了下pasition的算法,有个疑惑的地方:
_preprocessing
函数中有个splitCurves的操作,我理解目的应该是让两个path的curves的数目保持一致,但是这里为啥MIN_CURVES_COUNT=100的限制,假设curves的长度很小,那么会填充到100的长度,这个过程应该很耗时吧?