QGIS API Documentation  master-6164ace
QgsSnapper::SnapLayer Struct Reference

#include <qgssnapper.h>

+ Collaboration diagram for QgsSnapper::SnapLayer:

List of all members.

Public Attributes

QgsVectorLayermLayer
 The layer to which snapping is applied.
QgsSnapper::SnappingType mSnapTo
 What snapping type to use (snap to segment or to vertex)
double mTolerance
 The snapping tolerances for the layers, always in source coordinate systems of the layer.
QgsTolerance::UnitType mUnitType
 What unit is used for tolerance.

Detailed Description

Definition at line 84 of file qgssnapper.h.


Member Data Documentation

The layer to which snapping is applied.

Definition at line 87 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().

What snapping type to use (snap to segment or to vertex)

Definition at line 91 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().

The snapping tolerances for the layers, always in source coordinate systems of the layer.

Definition at line 89 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines