-
Put the type() and region() methods in the GModelSpatial base class to avoid code duplication. The region is now set by the derived classes using the pure virtual set_region() method.
-
…n writing the model into an XML file.
-
…GModelSpatialComposite. The use of objects instead of pointers to object is saver and generally avoids having memory leaks.
-
The GModelSpatial::region() method returns a pointer to a sky region that fully encloses the spatial model component.
-
Changed method name component_scale() to scale(). Changed member names from m_component_names to m_names and m_component_scales to m_scales.