|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArea3D
Provides access to members that return properties common to MultiPatches.
Implemented for Multipatches and Polygons. Returns the 3D surface area of the geometry. Outputs the 3D centroid and label point, both useful for labeling purposes. In contrast to the centroid and label point returned via IArea, the 3D centroid and label point take into account the ZMax of the geometry queried.
Method Summary | |
---|---|
double |
getArea3D()
The 3D surface area. |
IPoint |
getCentroid3D()
A 3D point whose XY coordinates are set to the center of gravity of the shape’s 2D footprint and Z set to the shape’s ZMax. |
IPoint |
getLabelPoint3D()
A point guaranteed to be on this 3D surface area. |
void |
queryCentroid3D(IPoint center)
Copies the centroid of this 3D surface area to the specified point. |
void |
queryLabelPoint3D(IPoint labelPoint)
Copies to the input point a point guaranteed to be on this 3D surface area. |
Method Detail |
---|
double getArea3D() throws IOException, AutomationException
If Patches comprising a MultiPatch geometry have improperly ordered vertices such that positive faces are not pointing outwards, a negative 3D surface area will be returned. To ensure proper orientation, add vertices in a clockwise manner relative to an observer situated outside of the MultiPatch geometry.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getCentroid3D() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getLabelPoint3D() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryCentroid3D(IPoint center) throws IOException, AutomationException
center
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryLabelPoint3D(IPoint labelPoint) throws IOException, AutomationException
labelPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
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 |