com.esri.arcgis.geometry
Interface IPolyline6

All Superinterfaces:
ICurve, IGeometry, IPolycurve, IPolyline, IPolyline2, IPolyline3, IPolyline4, IPolyline5, Serializable
All Known Implementing Classes:
IPolyline6Proxy

public interface IPolyline6
extends IPolyline5, Serializable

Provides access to members that extend a polyline object.

Product Availability

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


Method Summary
 boolean isSimpleNonPlanar(int[] pReason)
          Returns false if zero length segments are detected (zero in 2 dimensions), parts at endpoints need to be merged, or need to reorient segments that are pointing against the prevailing orientation for a part.
 void simplifyNonPlanar()
          Removes zero length segments (zero in 2 dimensions), reorients segments that are pointing against the prevailing orientation for a part.
 
Methods inherited from interface com.esri.arcgis.geometry.IPolyline5
reshapeEx
 
Methods inherited from interface com.esri.arcgis.geometry.IPolyline4
simplifyEx
 
Methods inherited from interface com.esri.arcgis.geometry.IPolyline3
touchCut
 
Methods inherited from interface com.esri.arcgis.geometry.IPolyline2
getEnumShortestPath
 
Methods inherited from interface com.esri.arcgis.geometry.IPolyline
reshape, simplifyNetwork
 
Methods inherited from interface com.esri.arcgis.geometry.IPolycurve
densify, generalize, smooth, splitAtDistance, splitAtPoint, weed
 
Methods inherited from interface com.esri.arcgis.geometry.ICurve
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Method Detail

simplifyNonPlanar

void simplifyNonPlanar()
                       throws IOException,
                              AutomationException
Removes zero length segments (zero in 2 dimensions), reorients segments that are pointing against the prevailing orientation for a part.

Description

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.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSimpleNonPlanar

boolean isSimpleNonPlanar(int[] pReason)
                          throws IOException,
                                 AutomationException
Returns false if zero length segments are detected (zero in 2 dimensions), parts at endpoints need to be merged, or need to reorient segments that are pointing against the prevailing orientation for a part.

Product Availability

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

Parameters:
pReason - A com.esri.arcgis.geometry.esriNonSimpleReasonEnum constant (out: use single element array)
Returns:
The pbIsSimpleNonPlanar
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.