NIOSHTIC-2 Publications Search

Graphic Algorithms in an Object-oriented Hydrology Model.

Salovich ME; Mathison PK; Hollar DC; Conrad JD
Ch 65 in 23rd Appl of Computers & Operations Research in the Min Ind SME :679-690
The U.S. Bureau of Mines has developed a prototype version of a computer application that combines hydrologic analysis with object- oriented graphics. This software is unique in that it presents analytic element analysis within an object-oriented cad environment. Its user interface employs mouse handling, scrolling windows, dialog boxes, palettes, and pull-down menus. It can import scanned images of maps and overlay these images within the same window. This application was developed using object-oriented programming techniques. Several programming issues concerning graphics had to be resolved during development of this system. These include (1) how to represent hydrologic elements as graphical objects, (2) how to translate screen coordinates to map coordinates, (3) how to implement "zooming" (changing the magnification level of a window), (4) how to overlay layers of images, and (5) how to import scanned images of maps. An object library was used to implement graphical user interface features such as scrolling windows and pull-down menus. Algorithms or cad features such as map coordinate translation, zooming, and the layering of images were developed by Bureau researchers. The application has a modular source code structure and can be modified for use in other research applications.
Publication Date
Document Type
Fiscal Year
Identifying No.
OP 96-92
NIOSH Division
Source Name
Ch. 65 in 23rd Appl. of Computers & Operations Research in the Min. Ind. SME, PP. 679-690
Page last reviewed: September 24, 2021
Content source: National Institute for Occupational Safety and Health Education and Information Division