Method of displaying a map
First Claim
1. A method for displaying a map on an electronic display unit, comprising the steps of:
- evaluating a start dot and an end dot of each of a plurality of segments defining boundaries of a predetermined area on the map;
storing sequentially each of the evaluated start and end dots so that each of said segments has a predetermined directional relationship with respect to said predetermined area;
determining a direction from at least one of said segments toward said predetermined area according to said evaluated start and end dots of said at least one segmentcalculating a start point for coloring positioned inside said predetermined area and offset from said at least one segment according to said determined direction from said at least one segment and at least one pair of said evaluated start and end dots; and
coloring said predetermined area on said electronic display unit with a predetermined color starting from said start point.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for displaying a map, including steps of evaluating a start dot and an end dot of each segment defining a boundary of a predetermined area on the map, storing sequentially each of the evaluated data so that each of the segments has a lateral deflection with respect to the predetermined area, determining the lateral deflection of the predetermined area according to the evaluated data for the start and end dots of the segment when the predetermined area is painted on a display unit, calculating a start point for painting positioned inward of the segment and each of the evaluated data, and painting the predetermined area with a predetermined color from the start point.
-
Citations
5 Claims
-
1. A method for displaying a map on an electronic display unit, comprising the steps of:
-
evaluating a start dot and an end dot of each of a plurality of segments defining boundaries of a predetermined area on the map; storing sequentially each of the evaluated start and end dots so that each of said segments has a predetermined directional relationship with respect to said predetermined area; determining a direction from at least one of said segments toward said predetermined area according to said evaluated start and end dots of said at least one segment calculating a start point for coloring positioned inside said predetermined area and offset from said at least one segment according to said determined direction from said at least one segment and at least one pair of said evaluated start and end dots; and coloring said predetermined area on said electronic display unit with a predetermined color starting from said start point. - View Dependent Claims (2, 3)
-
-
4. A method for displaying a map on an electronic display unit, comprising the steps of:
-
(a) storing a start dot (x1, y1) and an end dot (x2, y2) of each line segment defining a portion of each area to be colored on said map; (b) determining differences px and py by the equations px=x2-x1 and py=y2-y1; (c) determining whether |px|≧
|py|;(1) if |px|≧
|py|, determining whether px >
0;(i) if px>
0, setting variables pdx and pdy according to the equations pdx=0 and pdy=-1;(ii) if px ≦
0, setting pdx=0, setting pdx=0 and pdy=1;(2) if |px|<
|py|, determining whether py>
0;(i) if py>
0, setting pdx=1 and pdy=0;(ii) if py≦
0, setting pds=-1 and pdy=0;(d) determining a start point (sx, sy) for coloring as;
space="preserve" listing-type="equation">sx=(x1+y2+2·
pdx)/2, and
space="preserve" listing-type="equation">sy=(y1+y2+2·
pdy)/2;(e) determining whether the area to be colored in which said start point falls has already been colored; and (f) if the area has not already been colored, coloring said area starting from said start point with a predetermined color on said electronic display unit. - View Dependent Claims (5)
-
Specification