Intersect Polylines Task

Created:1/22/2001
Description:

The 'Intersect Polylines' task is a custom edit task that creates new polylines much the like 'Create New Features' task but if the new polyline crosses any features belonging to the same feature class, the new feature and the existing features, are interesected. For example, in the most simple case, digitizing a new polyline that crosses another polyline results in 4 features.



How to use:
  1. Register the dll on your machine.
  2. Use Categories to add the dll to the 'ESRI Edit Tasks' component category.
  3. Start an edit session: the new task should appear in the edit task drop down.
  4. Select the 'Create and Intersect' task.
  5. Set the target layer to be a polyline feature layer.
  6. Digizite new polylines with the task. If the edit sketch crosses an existing feature in the same feature class, both new and original features will be intersected.

Application:
ArcMap

Requires: An edit session.

Difficulty: Advanced


Visual Basic
File Description
IntersectTask.cls VB class file containing the IEditTask implementation.
Intersect.vbp The project file for custom task.
Intersect.dll The compiled project.


Key CoClasses: Editor
Key Interfaces: IEditTask, IEditEvents, IPolyCurve, ITopologicalOperator
Key Members: IPolyCurve::SplitAtPoints, ITopologicalOperator::Intersect