C# Class BufferSnapCS.BufferSnap

Uses the Create Feature event to turn on the extension, which implements a snapping agent. The Buffer Snap agent is based on a buffer around the points of the first editable point feature class. A buffer of 1000 map units is created and if the next point feature created is within the tolerance it is snapped to the buffer ring.
Inheritance: IEngineSnapAgent, IEngineSnapAgentCategory, IPersistVariant, IExtension
Afficher le fichier Open project: Esri/arcobjects-sdk-community-samples

Private Properties

Свойство Type Description
ArcGISCategoryRegistration void
ArcGISCategoryUnregistration void
FillCache void
GetFeatureClass void
RegisterFunction void
UnregisterFunction void

Méthodes publiques

Méthode Description
BufferSnap ( ) : System
Load ( ESRI Stream ) : void
Save ( ESRI Stream ) : void
Shutdown ( ) : void
Snap ( ESRI geom, ESRI point, double tolerance ) : bool
Startup ( object &initializationData ) : void

Private Methods

Méthode Description
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

FillCache ( ESRI FClass, ESRI pPoint, double Distance ) : void
GetFeatureClass ( ) : void
RegisterFunction ( Type registerType ) : void
UnregisterFunction ( Type registerType ) : void

Method Details

BufferSnap() public méthode

public BufferSnap ( ) : System
Résultat System

Load() public méthode

public Load ( ESRI Stream ) : void
Stream ESRI
Résultat void

Save() public méthode

public Save ( ESRI Stream ) : void
Stream ESRI
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

Snap() public méthode

public Snap ( ESRI geom, ESRI point, double tolerance ) : bool
geom ESRI
point ESRI
tolerance double
Résultat bool

Startup() public méthode

public Startup ( object &initializationData ) : void
initializationData object
Résultat void