Star Technologies Inc. agreed yesterday to buy a three-dimensional graphics processor business from General Electric Co. in a transaction that Star executives said would enhance the computer equipment maker's position in the lucrative world of graphic battlefield and molecular simulations.

The price Star plans to pay for GE's Graphicon subsidiary was not disclosed. Graphicon, which is based in the Research Triangle area of North Carolina, generated about $6 million in revenue in 1987. Star had $44 million in sales last year.

"The acquisition represents a strategic opportunity for Star Technologies to immediately enter an established, rapidly growing market with a technology closely allied to our own," said Robert C. Mathis, Star's president. "Both {businesses} offer top-of-the-line products and market to similar applications areas in aerospace and defense, seismic and molecular modeling."

Star, which is based in Sterling, Va., supplies high-speed scientific computing equipment, known as array processors, to the oil industry, the defense and aerospace markets, and to laboratories to help scientists and engineers with a variety of applications, from providing a view of the earth through digital signals to molecular modeling on a computer screen.

These high-speed data crunchers plug directly into a customer's existing mainframe or minicomputer and process data, images and signals. The GE graphics machine displays data three-dimensionally and can be used in the "entire simulation market," said Star's chief financial officer, Robert Compton. "You could use it in flight simulation, film animation, and lot of other markets."

The transaction is the outgrowth of a long-term business relationship between GE and Star.

GE, which is Star's largest customer, owns 2 percent of the company's stock and has invested about $6 million in the firm, according to Compton. Star provides the computer equipment used for imaging in GE's computerized axial tomography (CAT) scanners, which provide doctors with detailed X-rays of internal organs and skeletal structures.