Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
QgsSnapper::SnapLayer Struct Reference

#include <qgssnapper.h>

Collaboration diagram for QgsSnapper::SnapLayer:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

Definition at line 82 of file qgssnapper.h.

Member Data Documentation

QgsVectorLayer* QgsSnapper::SnapLayer::mLayer

The layer to which snapping is applied.

Definition at line 85 of file qgssnapper.h.

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

QgsSnapper::SnappingType QgsSnapper::SnapLayer::mSnapTo

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

Definition at line 89 of file qgssnapper.h.

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

double QgsSnapper::SnapLayer::mTolerance

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

Definition at line 87 of file qgssnapper.h.

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

QgsTolerance::UnitType QgsSnapper::SnapLayer::mUnitType

What unit is used for tolerance.

Definition at line 91 of file qgssnapper.h.

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


The documentation for this struct was generated from the following file: