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
显示文件 Open project: Esri/arcobjects-sdk-community-samples

Private Properties

Property Type Description
ArcGISCategoryRegistration void
ArcGISCategoryUnregistration void
FillCache void
GetFeatureClass void
RegisterFunction void
UnregisterFunction void

Public Methods

Method 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

Method 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 method

public BufferSnap ( ) : System
return System

Load() public method

public Load ( ESRI Stream ) : void
Stream ESRI
return void

Save() public method

public Save ( ESRI Stream ) : void
Stream ESRI
return void

Shutdown() public method

public Shutdown ( ) : void
return void

Snap() public method

public Snap ( ESRI geom, ESRI point, double tolerance ) : bool
geom ESRI
point ESRI
tolerance double
return bool

Startup() public method

public Startup ( object &initializationData ) : void
initializationData object
return void