public interface IPoint extends IGeometry, java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID1b077915_38c5_11d0_92d2_00805f7c28b0 |
static int |
xxDummy
Deprecated.
Internal use only
|
IID1b07790d_38c5_11d0_92d2_00805f7c28b0
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
static final int IID1b077915_38c5_11d0_92d2_00805f7c28b0
static final int xxDummy
static final java.lang.String IID
void queryCoords(double[] x, double[] y) throws java.io.IOException, AutomationException
x
- The x (out: use single element array)y
- The y (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void putCoords(double x, double y) throws java.io.IOException, AutomationException
x
- The x (in)y
- The y (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getX() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setX(double x) throws java.io.IOException, AutomationException
x
- The x (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getY() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setY(double y) throws java.io.IOException, AutomationException
y
- The y (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getZ() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setZ(double z) throws java.io.IOException, AutomationException
z
- The z (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getM() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setM(double m) throws java.io.IOException, AutomationException
m
- The m (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setID(int pointID) throws java.io.IOException, AutomationException
pointID
- The pointID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void constrainDistance(double constraintRadius, IPoint anchor) throws java.io.IOException, AutomationException
constraintRadius
- The constraintRadius (in)anchor
- 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.void constrainAngle(double constraintAngle, IPoint anchor, boolean allowOpposite) throws java.io.IOException, AutomationException
constraintAngle
- The constraintAngle (in)anchor
- A reference to a com.esri.arcgis.geometry.IPoint (in)allowOpposite
- The allowOpposite (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int compare(IPoint otherPoint) throws java.io.IOException, AutomationException
otherPoint
- 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.