com.esri.arcgis.geometry
Class IPolyline6Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IGeometryProxy
          extended by com.esri.arcgis.geometry.ICurveProxy
              extended by com.esri.arcgis.geometry.IPolycurveProxy
                  extended by com.esri.arcgis.geometry.IPolylineProxy
                      extended by com.esri.arcgis.geometry.IPolyline2Proxy
                          extended by com.esri.arcgis.geometry.IPolyline3Proxy
                              extended by com.esri.arcgis.geometry.IPolyline4Proxy
                                  extended by com.esri.arcgis.geometry.IPolyline5Proxy
                                      extended by com.esri.arcgis.geometry.IPolyline6Proxy
All Implemented Interfaces:
ICurve, IGeometry, IPolycurve, IPolyline, IPolyline2, IPolyline3, IPolyline4, IPolyline5, IPolyline6, Externalizable, Serializable

public class IPolyline6Proxy
extends IPolyline5Proxy
implements IPolyline6, Serializable

Provides access to members that extend a polyline object.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IPolyline6Proxy()
           
  IPolyline6Proxy(Object obj)
           
protected IPolyline6Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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 removeListener(String iidStr, Object theListener)
           
 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 class com.esri.arcgis.geometry.IPolyline5Proxy
reshapeEx
 
Methods inherited from class com.esri.arcgis.geometry.IPolyline4Proxy
simplifyEx
 
Methods inherited from class com.esri.arcgis.geometry.IPolyline3Proxy
touchCut
 
Methods inherited from class com.esri.arcgis.geometry.IPolyline2Proxy
getEnumShortestPath
 
Methods inherited from class com.esri.arcgis.geometry.IPolylineProxy
reshape, simplifyNetwork
 
Methods inherited from class com.esri.arcgis.geometry.IPolycurveProxy
densify, generalize, smooth, splitAtDistance, splitAtPoint, weed
 
Methods inherited from class com.esri.arcgis.geometry.ICurveProxy
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint
 
Methods inherited from class com.esri.arcgis.geometry.IGeometryProxy
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IPolyline6Proxy

public IPolyline6Proxy()

IPolyline6Proxy

public IPolyline6Proxy(Object obj)
                throws IOException
Throws:
IOException

IPolyline6Proxy

protected IPolyline6Proxy(Object obj,
                          String iid)
                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IPolyline5Proxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IPolyline5Proxy
Throws:
IOException

simplifyNonPlanar

public 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.

Specified by:
simplifyNonPlanar in interface IPolyline6
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSimpleNonPlanar

public 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.

Specified by:
isSimpleNonPlanar in interface IPolyline6
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.