polyline package
The polyline
package is experimental and subject to change at any time.
The polyline
package provides methods for polyline simplication, an efficient way of downsampling curves while retaining moments of variation throughout the path. Import the experimental/polyline
package
import "experimental/polyline"
这类算法能够高效地渲染图形和可视化,而无需将所有数据加载到内存中。 这是通过减少对形状的凸性和凹性贡献不大的顶点数量来实现的。
函数
此页面是否对您有帮助?
感谢您的反馈!