PointBinding - Точка привязки
==============================

.. currentmodule:: axioma.core.dp

.. class:: PointBinding

	Точка привязки растра. Иногда называют GCP - Ground Control Point.
	
	.. method:: PointBinding(layer, world, desc="")
	
		Конструктор
		
		:param layer: Точка на растре
		:type layer: :class:`PyQt5.QtCore.QPointF`
		:param world: Точка на карте
		:type world: :class:`PyQt5.QtCore.QPointF`
		:param desc: Описание
		:type desc: :class:`str`
	
	.. attribute:: layerPoint
		
		Точка на растре
		
		:type: :class:`PyQt5.QtCore.QPointF`
		
	.. attribute:: worldPoint
		
		Точка на карте
		
		:type: :class:`PyQt5.QtCore.QPointF`
		
	.. attribute:: description
		
		Описание
		
		:type: :class:`str`

BindingDefinition - Описание объекта данных с точками привязки
=================================================================

.. currentmodule:: axioma.core.dp

.. class:: BindingDefinition

	Описание объекта данных с точками привязки. Используется для \
	перепроецирования Растров :class:`~axioma.core.dp.Raster`. \
	Оборачивает :class:`~axioma.core.dp.DataObjectDefinition`

	Унаследован от: :class:`axioma.core.dp.DataObjectDefinition`

		.. method:: BindingDefinition(definition)

			Конструктор

			:param definition: Описание объекта данных (Растра)
			:type definition: :class:`~axioma.core.dp.DataObjectDefinition`

		.. method:: setAllPoints(points)
		
			Задать точки привязки
			
			:param points: Точки привязки
			:type points: :class:`list` [:class:`~axioma.core.dp.PointBinding`]
		
		.. method:: allPoints()
		
			Точки привязки
			
			:rtype: :class:`list` [:class:`~axioma.core.dp.PointBinding`]
		
		.. method:: size()
		
			Количество точек привязки
			
			:rtype: :class:`int`

		.. method:: setCoordSystem(coord_system)
		
			Задать координатную систему, соответствующую точкам на карте
		
			:param coord_system: Координатная система
			:type coord_system: :class:`~axioma.cs.CoordSystem`

		
		.. method:: coordSystem()
		
			Координатная система точек на карте
		
			:return: Координатная система
			:rtype: :class:`~axioma.cs.CoordSystem`
