This document is archived and information here might be outdated. Recommended version. |
The profile weeding tolerance.
[Visual Basic .NET]
Public Property ProfileWeedTolerance As Double
[C#]
public double ProfileWeedTolerance {get; set;}
[C++]
HRESULT get_ProfileWeedTolerance(
double pTolerance
);
[C++]
HRESULT put_ProfileWeedTolerance(
System.Double* pTolerance
);
[C++] Parameters pTolerance [in]
pTolerance is a parameter of type double pTolerance [out, retval]
pTolerance is a parameter of type double*
The ProfileWeedTolerance is used as a 2D distance filter on the vertices of output polylines and polygons from methods that perform interpolation and profiling (e.g., InterpolateShape, GetProfile, GetLineOfSight). As a result, no two consecutive vertices along the paths of the resulting geometry will be closer than this distance.
Weeding is most applicable when using linear interpolation. This because the 'natural densification' used by linear interpolation, the insertion of vertices at triangle edge intersections, can result in very closely spaced vertices at certain locations.
If the intention of setting ProfileWeedTolerance is for temporary use, then be sure to save its current value before changing it and reset it back when finished.
To turn off weeding set ProfileWeedTolerance to 0.