Interface IArea3D

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to members that return properties common to MultiPatches.

[Guid("984839B4-F7EA-42F8-AE20-48632369CC08")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IArea3D

Properties

Area3D

The 3D surface area.

double Area3D { get; }

Property Value

double

Remarks

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.

[C#]

        public static void CalculateArea3D()

        {

IGeometry

multiPatchGeometry = GetMultiPatchGeometry();

IArea3D area3D = multiPatchGeometry as IArea3D;




               double calculatedArea3D = area3D.Area3D;


               //calculatedArea3D = 480

        }

Centroid3D

A 3D point whose XY coordinates are set to the center of gravity of the shape'ss 2D footprint and Z set to the shape's ZMax.

IPoint Centroid3D { get; }

Property Value

IPoint

LabelPoint3D

A point guaranteed to be on this 3D surface area.

IPoint LabelPoint3D { get; }

Property Value

IPoint

Methods

QueryCentroid3D(IPoint)

Copies the centroid of this 3D surface area to the specified point.

void QueryCentroid3D(IPoint Center)

Parameters

Center IPoint

QueryLabelPoint3D(IPoint)

Copies to the input point a point guaranteed to be on this 3D surface area.

void QueryLabelPoint3D(IPoint LabelPoint)

Parameters

LabelPoint IPoint