com.esri.arcgis.schematic
Class NgPoint

java.lang.Object
  extended by com.esri.arcgis.schematic.NgPoint
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INgPoint, ISupportErrorInfo, Serializable

public class NgPoint
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INgPoint, ISupportErrorInfo

Graphic point object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
NgPoint()
          Constructs a NgPoint using ArcGIS Engine.
NgPoint(Object obj)
          Construct a NgPoint using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 double getX()
          X cartesian coordinate of the point.
 double getY()
          Y cartesian coordinate of the point.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setX(double pVal)
          X cartesian coordinate of the point.
 void setY(double pVal)
          Y cartesian coordinate of the point.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

NgPoint

public NgPoint()
        throws IOException,
               UnknownHostException
Constructs a NgPoint using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

NgPoint

public NgPoint(Object obj)
        throws IOException
Construct a NgPoint using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NgPoint.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems NgPoint theNgPoint = (NgPoint) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getX

public double getX()
            throws IOException,
                   AutomationException
X cartesian coordinate of the point.

Product Availability

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

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

setX

public void setX(double pVal)
          throws IOException,
                 AutomationException
X cartesian coordinate of the point.

Product Availability

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

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

getY

public double getY()
            throws IOException,
                   AutomationException
Y cartesian coordinate of the point.

Product Availability

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

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

setY

public void setY(double pVal)
          throws IOException,
                 AutomationException
Y cartesian coordinate of the point.

Product Availability

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

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.