QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Attributes | List of all members
QgsSnapper::SnapLayer Struct Reference

#include <qgssnapper.h>

Public Attributes

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

Detailed Description

Definition at line 86 of file qgssnapper.h.

Member Data Documentation

◆ mLayer

QgsVectorLayer* QgsSnapper::SnapLayer::mLayer

The layer to which snapping is applied.

Definition at line 89 of file qgssnapper.h.

◆ mSnapTo

QgsSnapper::SnappingType QgsSnapper::SnapLayer::mSnapTo

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

Definition at line 93 of file qgssnapper.h.

◆ mTolerance

double QgsSnapper::SnapLayer::mTolerance

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

Definition at line 91 of file qgssnapper.h.

◆ mUnitType

QgsTolerance::UnitType QgsSnapper::SnapLayer::mUnitType

What unit is used for tolerance.

Definition at line 95 of file qgssnapper.h.


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