This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolyline6 Interface > IPolyline6.SimplifyNonPlanar Method (ArcObjects .NET 10.5 SDK) |
Removes zero length segments (zero in 2 dimensions), reorients segments that are pointing against the prevailing orientation for a part.
[Visual Basic .NET]
Public Sub SimplifyNonPlanar ( _
)
[C#] public void SimplifyNonPlanar ( );
[C++]
HRESULT SimplifyNonPlanar(
void
);
SimplifyNonPlanar performs the following alterations to the base Polyline:
1) Deletes empty and zero length segments.
2) Removes empty parts.
3) Makes segment orientation mutually consistent. Ensures that the following FromPoints and preceding ToPoints of connected segments are equal.
4) Creates new parts for discontiguous segments or segments with different attributes.
5) For a pair of segments in a part that share an endpoint such that one segment has NaN attributes and the other has non-NaN attributes, assign the non-NaN attributes of one to the corresponding NaN slots of the other.
This method is the similar to SimplifyNetwork, except parts are not merged where an end point is shared.