Surface
=================

.. currentmodule:: axioma.core.geometry

.. class:: Surface

	Абстрактный интерфейсный класс площадного объекта

	Унаследован от:

	* :class:`~axioma.core.geometry.GeometryInterface`
	
	От него наследуются:

	* :class:`~axioma.core.geometry.PolygonInterface`
	* :class:`~axioma.mapinfo.EllipseInterface`
	* :class:`~axioma.mapinfo.RectangleInterface`

	.. method:: area(area_calc)

		Расчет площади объекта

		:param area_calc: параметр расчета площади
		:type area_calc: :class:`~axioma.core.geometry.PolygonAreaCalculator`
		:rtype: :class:`float`

	.. method:: perimeter(distance_calc)

		Расчета периметра объекта

		:param distance_calc: параметр расчета периметра
		:type distance_calc: :class:`~axioma.core.geometry.DistanceCalculator`
		:rtype: :class:`float`
