|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geometry.IGeometryProxy
com.esri.arcgis.geometry.ICurveProxy
com.esri.arcgis.geometry.IPathProxy
Provides access to members that identify a path and define its behavior.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IPathProxy()
For internal use only |
|
IPathProxy(java.lang.Object obj)
|
protected |
IPathProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IPathProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IPathProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
generalize(double maxAllowableOffset)
Generalizes this path using the Douglas-Poiker algorithm. |
void |
queryChordLengthTangents(int pointIndex,
IPoint prevTangent,
boolean[] prevSetByUser,
IPoint nextTangent,
boolean[] nextSetByUser)
Returns tangent vectors (relative to corresponding endpoint) at both sides of a Bezier end point; and whether they have been set by user or by smoothing process. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setChordLengthTangents(int pointIndex,
IPoint prevTangent,
IPoint nextTangent)
Sets tangent vectors (relative to corresponding endpoint) at both sides of a Bezier end point; if either is Nothing, they will be set by smoothing process. |
void |
smooth(double maxAllowableOffset)
Converts this path into a smooth approximation of itself that contains only Bezier curve segments. |
void |
smoothLocal(int vertexIndex)
Replaces up to four segments (two on each of the specified vertex index) with bezier curves. |
| 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
public static final java.lang.Class targetClass
| Constructor Detail |
public IPathProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IPathProxy()
public IPathProxy(java.lang.Object obj)
throws java.io.IOException
protected IPathProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IPathProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class ICurveProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class ICurveProxyjava.io.IOException
public void generalize(double maxAllowableOffset)
throws java.io.IOException,
AutomationException
IPathGeneralizes the Path into a generalized collection of Line segments. Generalize performs a Douglas-Poiker Generalization algorithm with a specified maximum offset tolerance given as input. For Line segments, the Generalized output is a subset of the original input vertices. For non-Linear segments, the Generalized output contains points along all parts of the curve, not necessarily only the vertices.
For a path with non-linear segments, the output curve may contain more vertices than the input curve, but all output segments will be linear.

generalize in interface IPathmaxAllowableOffset - The maxAllowableOffset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void smooth(double maxAllowableOffset)
throws java.io.IOException,
AutomationException
IPathConverts the Path into a Path containing only BezierCurve segments. The created BezierCurve path is a Generalization of the original path that has a maximum deviation of maxDeviation from the original path. If maxDeviation = 0, all of the original vertices are maintained. At each vertex, the adjoining BezierCurves have complementary tangents which creates a continuous (smooth) transition between segments.

smooth in interface IPathmaxAllowableOffset - The maxAllowableOffset (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IBezierCurve
public void smoothLocal(int vertexIndex)
throws java.io.IOException,
AutomationException
IPathConverts segments containing the indexed vertex into BezierCurves and performs a smoothing operation only at the two segments on either side of the input vertex. The created BezierCurves have complementary tangents at the indexed vertex.

smoothLocal in interface IPathvertexIndex - The vertexIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IBezierCurve
public void queryChordLengthTangents(int pointIndex,
IPoint prevTangent,
boolean[] prevSetByUser,
IPoint nextTangent,
boolean[] nextSetByUser)
throws java.io.IOException,
AutomationException
IPath
queryChordLengthTangents in interface IPathpointIndex - The pointIndex (in)prevTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)prevSetByUser - The prevSetByUser (in/out: use single element array)nextTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)nextSetByUser - The nextSetByUser (in/out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setChordLengthTangents(int pointIndex,
IPoint prevTangent,
IPoint nextTangent)
throws java.io.IOException,
AutomationException
IPath
setChordLengthTangents in interface IPathpointIndex - The pointIndex (in)prevTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)nextTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||