This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcScan > ESRI.ArcGIS.ArcScan > Interfaces > IV > IVectorization2 Interface > IVectorization2.Trace2 Method (ArcObjects .NET 10.4 SDK) |
Generates a geometry from the given fromPt to the next intersection.
[Visual Basic .NET] Public Function Trace2 ( _ ByVal fromPt As IPoint, _ ByVal direction As IPoint, _ ByVal tolerance As Double, _ ByVal cancel As ITrackCancel _ ) As IPolyline
[C#] public IPolyline Trace2 ( IPoint fromPt, IPoint direction, double tolerance, ITrackCancel cancel );
This method is called by the Vectorization Trace tool on the ArcScan toolbar.
The fromPt is the initial start point, the direction of trace is given by a direction point (end of the feedback arrow in the tool). A raster line within the tolerance is traced to the next intersection and the vector is returned as IPolyline. In the tool, this is used to create sketch geometry.