Revision 84f71899d2b476bcf4d38179bf8062c0d679ce32 authored by Dmitri Naumov on 16 July 2023, 14:14:48 UTC, committed by Dmitri Naumov on 17 July 2023, 08:07:09 UTC
1 parent 0a24ec8
Raw File
GeoObject.h
/**
 * \file
 * \author Thomas Fischer
 * \date   2010-08-27
 * \brief  Base class for classes Point, Polyline, Surface.
 * \ingroup GeoLib
 *
 * \copyright
 * Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 */

#pragma once

#include "GeoType.h"

namespace GeoLib
{
struct GeoObject
{
    virtual ~GeoObject() = default;
    /// return a geometry type
    virtual GEOTYPE getGeoType() const = 0;
};
} // end namespace GeoLib
back to top