com.esri.arcgis.geometry
Class IPointProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IGeometryProxy
          extended by com.esri.arcgis.geometry.IPointProxy
All Implemented Interfaces:
IGeometry, IPoint, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IMapPointProxy

Deprecated. Internal use only. Proxy for COM Interface 'IPoint'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that define two dimensional points.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class IPointProxy
extends IGeometryProxy
implements IPoint, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geometry.IPoint
IID, IID1b077915_38c5_11d0_92d2_00805f7c28b0
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometry
IID1b07790d_38c5_11d0_92d2_00805f7c28b0
 
Constructor Summary
  IPointProxy()
          Deprecated. For internal use only
  IPointProxy(java.lang.Object obj)
          Deprecated.  
protected IPointProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IPointProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IPointProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 int compare(IPoint otherPoint)
          Deprecated. Compares X, Y, M, Z, ID of this point (in that order) with that of the other point.
 void constrainAngle(double constraintAngle, IPoint anchor, boolean allowOpposite)
          Deprecated. Projects this point to the point on the infinite line defined by anchor and angle (in radians).
 void constrainDistance(double constraintRadius, IPoint anchor)
          Deprecated. Projects this point to the perimeter of the circle defined by radius and anchor.
 int getID()
          Deprecated. The Point ID attribute.
 double getM()
          Deprecated. The measure attribute.
 double getX()
          Deprecated. The X coordinate.
 double getY()
          Deprecated. The Y coordinate.
 double getZ()
          Deprecated. The Z attribute.
 void putCoords(double x, double y)
          Deprecated. Sets the X and Y coordinates.
 void queryCoords(double[] x, double[] y)
          Deprecated. Returns the X and Y coordinates.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setID(int pointID)
          Deprecated. The Point ID attribute.
 void setM(double m)
          Deprecated. The measure attribute.
 void setX(double x)
          Deprecated. The X coordinate.
 void setY(double y)
          Deprecated. The Y coordinate.
 void setZ(double z)
          Deprecated. The Z attribute.
 
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.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IPointProxy

public IPointProxy(java.lang.String CLSID,
                   java.lang.String host,
                   com.esri.arcgis.interop.AuthInfo authInfo)
            throws java.net.UnknownHostException,
                   java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IPointProxy

public IPointProxy()
Deprecated. 
For internal use only


IPointProxy

public IPointProxy(java.lang.Object obj)
            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IPointProxy

protected IPointProxy(java.lang.Object obj,
                      java.lang.String iid)
               throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IPointProxy

protected IPointProxy(java.lang.String CLSID,
                      java.lang.String iid,
                      java.lang.String host,
                      com.esri.arcgis.interop.AuthInfo authInfo)
               throws java.io.IOException
Deprecated. 
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
Deprecated. 
Overrides:
addListener in class IGeometryProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class IGeometryProxy
Throws:
java.io.IOException

queryCoords

public void queryCoords(double[] x,
                        double[] y)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Returns the X and Y coordinates.

Specified by:
queryCoords in interface IPoint
Parameters:
x - The x (out: use single element array)
y - The y (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putCoords

public void putCoords(double x,
                      double y)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Sets the X and Y coordinates.

Specified by:
putCoords in interface IPoint
Parameters:
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getX

public double getX()
            throws java.io.IOException,
                   AutomationException
Deprecated. 
The X coordinate.

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

setX

public void setX(double x)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
The X coordinate.

Specified by:
setX in interface IPoint
Parameters:
x - The x (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getY

public double getY()
            throws java.io.IOException,
                   AutomationException
Deprecated. 
The Y coordinate.

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

setY

public void setY(double y)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
The Y coordinate.

Specified by:
setY in interface IPoint
Parameters:
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZ

public double getZ()
            throws java.io.IOException,
                   AutomationException
Deprecated. 
The Z attribute.

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

setZ

public void setZ(double z)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
The Z attribute.

Specified by:
setZ in interface IPoint
Parameters:
z - The z (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getM

public double getM()
            throws java.io.IOException,
                   AutomationException
Deprecated. 
The measure attribute.

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

setM

public void setM(double m)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
The measure attribute.

Specified by:
setM in interface IPoint
Parameters:
m - The m (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
Deprecated. 
The Point ID attribute.

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

setID

public void setID(int pointID)
           throws java.io.IOException,
                  AutomationException
Deprecated. 
The Point ID attribute.

Specified by:
setID in interface IPoint
Parameters:
pointID - The pointID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constrainDistance

public void constrainDistance(double constraintRadius,
                              IPoint anchor)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Projects this point to the perimeter of the circle defined by radius and anchor.

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

constrainAngle

public void constrainAngle(double constraintAngle,
                           IPoint anchor,
                           boolean allowOpposite)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Projects this point to the point on the infinite line defined by anchor and angle (in radians). If allowOpposite is true, then the point can also snap to angle + pi radians.

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

compare

public int compare(IPoint otherPoint)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Compares X, Y, M, Z, ID of this point (in that order) with that of the other point. Returns -1 if this point's value is less, 1 if greater, and 0 otherwise. Useful for sorting a group of points.

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