摘要 |
PURPOSE: To accurately and efficiently connect segments by specifying an area including a segment and a connection part to be connected and newly drawing a segment which has the coordinate values of the intersection of the segment of this area as coordinate values of a connection-side end point. CONSTITUTION: An input interface 3 inputs an editing instruction inputted from a keyboard 1 and the coordinate values of two points indicated with a mouse 2 to a CPU 4. The CPU 4 starts a program for segment connection stored in a program part 52 of a memory 5 with the inputted editing command. Then the area in a specific range including the connection-side end point of a segment connecting with another segment and the intersection of this segment and the other segment connecting this segment is specified. The segment having its end point included in the area among segments included in the specified area is selected as a segment to be connected to the other segment, the coordinate values of the intersection of the segments are calculated, and the coordinate values of the connection-side end point of the selected segment are replaced with the coordinate values of the intersection to newly draw a segment by extending or shortening the segment, thereby connecting the segment. |