* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * SECTION:gis-object
+ * @short_description: Base class for drawing operations
+ *
+ * Objects in libgis are things which can be added to the viewer and will be
+ * displayed to the user. Each object has information such as it's location and
+ * level of detail which are used by the viewer to determine which objects
+ * should be drawn.
+ *
+ * Each #GisObject is also a #GObject, but not every GObject in libgis is a
+ * GisObject. The "Object" part of the name is just coincidence.
+ */
+
#include <config.h>
#include "gis-object.h"
-/* GisPoint */
-GisPoint *gis_point_new()
-{
- return g_new0(GisPoint, 1);
-}
-
-void gis_point_set_lle(GisPoint *point, gdouble lat, gdouble lon, gdouble elev)
-{
- point->lat = lat;
- point->lon = lon;
- point->elev = elev;
-}
-
-void gis_point_free(GisPoint *point)
-{
- g_free(point);
-}
-
-
-/* GisObject */
+/*************
+ * GisObject *
+ *************/
+/* GObject stuff */
G_DEFINE_ABSTRACT_TYPE(GisObject, gis_object, G_TYPE_OBJECT);
static void gis_object_init(GisObject *object)
{