保持参考图位置不变的图形边线捕捉调整方法

Method of Snapping and Adjusting Input Linesto Unmovable Reference Lines

  • 摘要: 目的 针对调整图边线与容差内的参考图边线不一致的问题,提出了一种保持参考图位置不变的图形边线捕捉调整方法。该方法依据参考边的结点位置,在调整边上插入附加结点,并将调整边上的原有结点和附加结点捕捉到容差内的参考边,最后通过结点次序调整消除结点捕捉引起的线自相交错误。实验表明,该方法消除了调整图边线与参考图边线之间容差内的不一致,并且改正后的调整图边线无自相交问题。

     

    Abstract: Objective Aiming to solve the inconsistency between an input line and its reference lines,this paperproposes a method of snapping and adjusting input lines to unmovable reference lines.According tothe locations of the nodes on reference lines,auxiliary nodes are added to an input line.Both the origi-nal and added nodes on the input line within the tolerance distance to reference lines are then snappedto reference lines.Finally,the sequence of the snapped nodes on the input line is checked and adjustedso as to avoid self-intersection of the input line.Case studies showed that the inconsistency betweenthe input line and reference line was resolved for all the nodes in tolerance distance,and no self-inter-sections were found on the snapped lines.The proposed method is efficient for line level snapping,ap-plicable to integrate graphic data from different sources.

     

/

返回文章
返回