com.esri.arcgis.geometry
Class IBezierCurveGENProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geometry.IBezierCurveGENProxy
All Implemented Interfaces:
java.io.Externalizable, IBezierCurveGEN, java.io.Serializable

public class IBezierCurveGENProxy
extends Dispatch
implements IBezierCurveGEN, java.io.Serializable

OLE automation compatibility interface for IBezierCurve.

Product Availability

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

See Also:
Serialized Form

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
  IBezierCurveGENProxy()
          For internal use only
  IBezierCurveGENProxy(java.lang.Object obj)
           
protected IBezierCurveGENProxy(java.lang.Object obj, java.lang.String iid)
           
  IBezierCurveGENProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IBezierCurveGENProxy(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.
 int getDegree()
          The degree of the Bezier curve.
 void putCoord(int index, IPoint controlPoint)
          Sets the specified (0 <= index < 4) control point of this Bezier curve.
 void putCoords(IPoint[] controlPoints)
          Sets this Bezier curve's control points from an array of between 1 to 4 input points.
 void queryChordLengthTangentAtFrom(IPoint tangent, boolean[] setByUser)
          Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
 void queryChordLengthTangentAtTo(IPoint tangent, boolean[] setByUser)
          Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
 void queryCoord(int index, IPoint controlPoint)
          Copies the specified control point of this Bezier curve into the input point.
 void queryCoords(IPoint[] controlPoints)
          Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.
 void queryInflectionPoint(IPoint inflectionPoint)
          Finds inflection point; sets it empty if none exists.
 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 setChordLengthTangentAtFrom(IPoint tangent, boolean setByUser)
          Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
 void setChordLengthTangentAtTo(IPoint tangent, boolean setByUser)
          Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IBezierCurveGENProxy

public IBezierCurveGENProxy(java.lang.String CLSID,
                            java.lang.String host,
                            AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException

IBezierCurveGENProxy

public IBezierCurveGENProxy()
For internal use only


IBezierCurveGENProxy

public IBezierCurveGENProxy(java.lang.Object obj)
                     throws java.io.IOException

IBezierCurveGENProxy

protected IBezierCurveGENProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException

IBezierCurveGENProxy

protected IBezierCurveGENProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               AuthInfo authInfo)
                        throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

queryCoords

public void queryCoords(IPoint[] controlPoints)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IBezierCurveGEN
Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.

Specified by:
queryCoords in interface IBezierCurveGEN
Parameters:
controlPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putCoords

public void putCoords(IPoint[] controlPoints)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IBezierCurveGEN
Sets this Bezier curve's control points from an array of between 1 to 4 input points.

Description

Defines the control points of the bezier curve using an array of four Points.  If the array is defined as an array from 0 to 3, then the index of each point corresponds to the control point they represent.

Remarks

Use PutCoord to set a single control point.

 

BezierCurve PutCoords Example

Specified by:
putCoords in interface IBezierCurveGEN
Parameters:
controlPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

queryCoord

public void queryCoord(int index,
                       IPoint controlPoint)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IBezierCurveGEN
Copies the specified control point of this Bezier curve into the input point.

Specified by:
queryCoord in interface IBezierCurveGEN
Parameters:
index - The index (in)
controlPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putCoord

public void putCoord(int index,
                     IPoint controlPoint)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IBezierCurveGEN
Sets the specified (0 <= index < 4) control point of this Bezier curve.

Specified by:
putCoord in interface IBezierCurveGEN
Parameters:
index - The index (in)
controlPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDegree

public int getDegree()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IBezierCurveGEN
The degree of the Bezier curve. For third degree Beziers, this is always 3.

Specified by:
getDegree in interface IBezierCurveGEN
Returns:
The degree
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

queryChordLengthTangentAtFrom

public void queryChordLengthTangentAtFrom(IPoint tangent,
                                          boolean[] setByUser)
                                   throws java.io.IOException,
                                          AutomationException
Description copied from interface: IBezierCurveGEN
Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.

Specified by:
queryChordLengthTangentAtFrom in interface IBezierCurveGEN
Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryChordLengthTangentAtTo

public void queryChordLengthTangentAtTo(IPoint tangent,
                                        boolean[] setByUser)
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IBezierCurveGEN
Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.

Specified by:
queryChordLengthTangentAtTo in interface IBezierCurveGEN
Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setChordLengthTangentAtFrom

public void setChordLengthTangentAtFrom(IPoint tangent,
                                        boolean setByUser)
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IBezierCurveGEN
Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

Specified by:
setChordLengthTangentAtFrom in interface IBezierCurveGEN
Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setChordLengthTangentAtTo

public void setChordLengthTangentAtTo(IPoint tangent,
                                      boolean setByUser)
                               throws java.io.IOException,
                                      AutomationException
Description copied from interface: IBezierCurveGEN
Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

Specified by:
setChordLengthTangentAtTo in interface IBezierCurveGEN
Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

queryInflectionPoint

public void queryInflectionPoint(IPoint inflectionPoint)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IBezierCurveGEN
Finds inflection point; sets it empty if none exists.

Specified by:
queryInflectionPoint in interface IBezierCurveGEN
Parameters:
inflectionPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.