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.