ArcObjects Library Reference (GeoDatabase)  

ITinSurface3.ProfileWeedTolerance Property

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(
  double pTolerance
);
[C++]

Parameters

pTolerance [out, retval]   pTolerance is a parameter of type double pTolerance [in]   pTolerance is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ITinSurface3 Interface