This document is archived and information here might be outdated.  Recommended version.


IExtrude.ExtrudeAbsolute Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IExtrude.ExtrudeAbsolute Method

Extrude a geometry using its initial Zs for one base, and a uniform input Z for the other.

[Visual Basic .NET]
Public Function ExtrudeAbsolute ( _
    ByVal toZ As Double, _
    ByVal baseGeom As IGeometry _
) As IGeometry
[C#]
public IGeometry ExtrudeAbsolute (
    double toZ,
    IGeometry baseGeom
);
[C++]
HRESULT ExtrudeAbsolute(
  double toZ,
  IGeometry* baseGeom,
  IGeometry** extrudedGeom
);
[C++]

Parameters toZ toZ is a parameter of type double baseGeom
baseGeom is a parameter of type IGeometry extrudedGeom [out, retval]
extrudedGeom is a parameter of type IGeometry

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Creates a MultiPatch or Polyline from a base geometry by extruding the base geometry along the Z-axis from the base geometry to a given absolute Z plane.  The base Z value of the geometry is preserved and top Z value is uniformly equal to the input absolute Z.  The resulting extrusion is always parallel to the XY-plane on the top and only parallel at the base if the base geometry is parallel to the XY-plane.  The input geometry should be ZAware and ZSimple.

Remarks

All non-linear segments are treated as linear segments when extrusion is performed.  Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries.  Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines.

IExtrude ExtrudeAbsolute Example

See Also

IExtrude Interface | IExtrude.ExtrudeBetween Method | IConstructMultiPatch.ConstructExtrudeAbsolute Method | IConstructMultiPatch.ConstructExtrudeBetween Method | IExtrude.ExtrudeAbsolute Method | IConstructMultiPatch.ConstructExtrudeRelative Method | IConstructMultiPatch.ConstructExtrudeFromTo Method | IConstructMultiPatch Interface | IConstructMultiPatch.ConstructExtrudeAlongLine Method | IConstructMultiPatch.ConstructExtrude Method | IExtrude.Extrude Method | IExtrude.ExtrudeFromTo Method | IExtrude.ExtrudeRelative Method | IExtrude.ExtrudeAlongLine Method | IExtrude Interface | IGlobeHeightProperties.ExtrusionExpressionString Property