public interface IArea
extends java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID6039e192_4cc8_11d1_834e_0000f8775be9 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final int IID6039e192_4cc8_11d1_834e_0000f8775be9
static final int xxDummy
static final java.lang.String IID
double getArea() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IPoint getCentroid() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IPoint getLabelPoint() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void queryCentroid(IPoint center) throws java.io.IOException, AutomationException
center
- 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 queryLabelPoint(IPoint labelPoint) throws java.io.IOException, AutomationException
labelPoint
- 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.