com.esri.arcgis.geometry
Interface IPoint

All Superinterfaces:
IGeometry, java.io.Serializable
All Known Subinterfaces:
IMapPoint
All Known Implementing Classes:
IMapPointProxy, IPointProxy, MapPoint, Point

public interface IPoint
extends IGeometry, java.io.Serializable

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID1b077915_38c5_11d0_92d2_00805f7c28b0
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometry
IID1b07790d_38c5_11d0_92d2_00805f7c28b0
 
Method Summary
 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.
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Field Detail

IID1b077915_38c5_11d0_92d2_00805f7c28b0

static final int IID1b077915_38c5_11d0_92d2_00805f7c28b0
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

queryCoords

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

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

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

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

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

Returns:
The x
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setX

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

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

getY

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

Returns:
The y
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setY

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

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

getZ

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

Returns:
The z
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZ

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

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

getM

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

Returns:
The m
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setM

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

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

getID

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

Returns:
The pointID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setID

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

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

constrainDistance

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

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

void constrainAngle(double constraintAngle,
                    IPoint anchor,
                    boolean allowOpposite)
                    throws java.io.IOException,
                           AutomationException
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.

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

int compare(IPoint otherPoint)
            throws java.io.IOException,
                   AutomationException
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.

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.