|
||||||||||
| 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.IPointProxy
Provides access to members that define two dimensional points.
| 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 | |
|
IPointProxy()
For internal use only |
|
IPointProxy(java.lang.Object obj)
|
protected |
IPointProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IPointProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IPointProxy(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 |
compare(IPoint otherPoint)
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)
Projects this point to the point on the infinite line defined by anchor and angle (in radians). |
void |
constrainDistance(double constraintRadius,
IPoint anchor)
Projects this point to the perimeter of the circle defined by radius and anchor. |
int |
getID()
The Point ID attribute. |
double |
getM()
The measure attribute. |
double |
getX()
The X coordinate. |
double |
getY()
The Y coordinate. |
double |
getZ()
The Z attribute. |
void |
putCoords(double x,
double y)
Sets the X and Y coordinates. |
void |
queryCoords(double[] x,
double[] y)
Returns the X and Y coordinates. |
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 |
setID(int pointID)
The Point ID attribute. |
void |
setM(double m)
The measure attribute. |
void |
setX(double x)
The X coordinate. |
void |
setY(double y)
The Y coordinate. |
void |
setZ(double z)
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 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 |
public static final java.lang.Class targetClass
| Constructor Detail |
public IPointProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IPointProxy()
public IPointProxy(java.lang.Object obj)
throws java.io.IOException
protected IPointProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IPointProxy(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 IGeometryProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IGeometryProxyjava.io.IOException
public void queryCoords(double[] x,
double[] y)
throws java.io.IOException,
AutomationException
IPoint
queryCoords in interface IPointx - The x (out: use single element array)y - The y (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putCoords(double x,
double y)
throws java.io.IOException,
AutomationException
IPoint
putCoords in interface IPointx - The x (in)y - The y (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getX()
throws java.io.IOException,
AutomationException
IPointReturns and Sets the X coordinate of the Point. The X coordinate is the horizontal position of the point.
getX in interface IPointAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setX(double x)
throws java.io.IOException,
AutomationException
IPoint
setX in interface IPointx - The x (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getY()
throws java.io.IOException,
AutomationException
IPointReturns and Sets the Y coordinate of the Point. The Y coordinate is the vertical position of the point.

getY in interface IPointjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setY(double y)
throws java.io.IOException,
AutomationException
IPoint
setY in interface IPointy - The y (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getZ()
throws java.io.IOException,
AutomationException
IPointReturns or Sets the Z attribute on the Point. Although the Z attribute refers to the 3-Dimensional depth of the point, the point still spatially exists in only 2-Dimensions with a Z attribute. Further, the point must be ZAware to make use of the Z attribute.
getZ in interface IPointAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IZ
public void setZ(double z)
throws java.io.IOException,
AutomationException
IPoint
setZ in interface IPointz - The z (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getM()
throws java.io.IOException,
AutomationException
IPointReturns or Sets the M attribute on the Point. The M attribute refers to the Point's measure (similar to an address). The point must be MAware to make use of the M attribute.
getM in interface IPointAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setM(double m)
throws java.io.IOException,
AutomationException
IPoint
setM in interface IPointm - The m (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getID()
throws java.io.IOException,
AutomationException
IPointReturns or Sets the ID attribute of the Point. The ID attribute is a numeric label, but does not serve any computational purposes. The Point must be PointIDAware to make use of the ID attribute.
getID in interface IPointjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setID(int pointID)
throws java.io.IOException,
AutomationException
IPoint
setID in interface IPointpointID - The pointID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void constrainDistance(double constraintRadius,
IPoint anchor)
throws java.io.IOException,
AutomationException
IPointSets the base Point to a location a specified distance from the input anchor Point along the line between the two points. ConstrainDistance is used by the editor to fix the distance between an anchor point and an input Point. Thus, the input to be created must lie on the circumference defined by the anchor point and the fixed distance radius with the angle determined by the user.
ConstrainDistance

constrainDistance in interface IPointconstraintRadius - The constraintRadius (in)anchor - 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.
public void constrainAngle(double constraintAngle,
IPoint anchor,
boolean allowOpposite)
throws java.io.IOException,
AutomationException
IPointProjects the base Point to to the nearest point on the line defined by an input anchor point and input angle. ConstrainAngle is used by the editor to force a newly created Point to be on the line between a fixed point and a specified angle.
ContrainAngle

constrainAngle in interface IPointconstraintAngle - The constraintAngle (in)anchor - A reference to a com.esri.arcgis.geometry.IPoint (in)allowOpposite - The allowOpposite (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int compare(IPoint otherPoint)
throws java.io.IOException,
AutomationException
IPointCompares the location and attributes of the base point with those of the input point to determine a relative ordering of the two points. Compares point properties in the following order: X, Y, M, Z, and ID. Returns 1 if the base point possesses the first greater property, and returns -1 if the input point possesses the first greater property. This method takes the resolution of the spatial reference into account.
The method should not be used in order to determine equality of two points. Use IRelationalOperator::Equals or IClone::IsEqual. At 9.2, this method uses the resolution property of the point's spatial reference in order to determine (x,y) coordinate ordering. At 9.1, an untoleranced (exact) comparison was performed.
compare in interface IPointotherPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||