Function geo = hgeo_combine(geo1,geo2)

combines the geometric and other data in struct geo1 and geo2
and returns the result in struct geo.

The organisation of structs geo1, geo2 and geo is explaned in
the help text of m-file hgeo_to_html.m.

The data in geo is primarily based on the data of geo1.
If geo1.(field) does not exist and geo2.(field) does exist,
geo.(field) will contain the data of geo2.(field).

If geo1.(field) exists and geo2.(field) exists too, 
geo.(field) will contain either (a) the data of geo1.(field)
(thus the data of geo2.(field) is ignored), or (b) the result 
of appending the data of geo2 to the data of geo1.

The case a applies to the following fields:
"shorttitle", "longtitle", "cameratour", "camerastations", 
"camerastationnames", "cameraorbitmodes", "stepnames" and 
"textcode".

Case b applies to the other fields (all relating to colours
and geometry).


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-hgeo" under GNU GPLv3+