com.esri.arcgis.geometry
Interface IArea

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Envelope, IAreaProxy, MultiPatch, Polygon, Ring

public interface IArea
extends java.io.Serializable

COM Interface 'IArea'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that return properties common to rings and polygons.' 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 IID6039e192_4cc8_11d1_834e_0000f8775be9
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 double getArea()
          The area.
 IPoint getCentroid()
          The center of gravity (centroid).
 IPoint getLabelPoint()
          A point guaranteed to be inside this area.
 void queryCentroid(IPoint center)
          Copies the centroid of this area to the specified point.
 void queryLabelPoint(IPoint labelPoint)
          Copies to the input point a point guaranteed to be inside this area.
 

Field Detail

IID6039e192_4cc8_11d1_834e_0000f8775be9

static final int IID6039e192_4cc8_11d1_834e_0000f8775be9
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

getArea

double getArea()
               throws java.io.IOException,
                      AutomationException
The area.

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

getCentroid

IPoint getCentroid()
                   throws java.io.IOException,
                          AutomationException
The center of gravity (centroid).

Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabelPoint

IPoint getLabelPoint()
                     throws java.io.IOException,
                            AutomationException
A point guaranteed to be inside this area.

Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCentroid

void queryCentroid(IPoint center)
                   throws java.io.IOException,
                          AutomationException
Copies the centroid of this area to the specified point.

Parameters:
center - 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.

queryLabelPoint

void queryLabelPoint(IPoint labelPoint)
                     throws java.io.IOException,
                            AutomationException
Copies to the input point a point guaranteed to be inside this area.

Parameters:
labelPoint - 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.