Reduce number of points in line

前端 未结 8 2126
Happy的楠姐
Happy的楠姐 2020-12-05 11:38

I\'m searching for algorithms to reduce the LOD of polylines, lines (looped or not) of nodes. In simple words, I want to take hi-resolution coastline data and be able to re

8条回答
  •  情话喂你
    2020-12-05 11:46

    I developed a very simple algorithm, using the distance of a given point to the following points to decide whether it makes sense to include them in the rendering. Depending on current scale you could associate a minimum distance between points required for a transformed model.

提交回复
热议问题