Interface IExtrude

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

Provides access to members that can be used to take a geometry and connect it to a translated version of itself to generate a higher-dimensional geometry.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("6B256AE0-1CDE-11D4-9F5C-00C04F6BDF0D")]
public interface IExtrude

Remarks

Extrusion on Polylines, Polygons, and Envelopes is the same as the extrusion performed by IConstructMultiPatch.

Methods

Extrude(double, IGeometry)

Extrude using an input geometry as one base and offsetting the Zs already set on the input geometry to get the second base.

IGeometry Extrude(double OffsetZ, IGeometry baseGeom)

Parameters

OffsetZ double
baseGeom IGeometry

Returns

IGeometry

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 Extrude Example

ExtrudeAbsolute(double, IGeometry)

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

IGeometry ExtrudeAbsolute(double toZ, IGeometry baseGeom)

Parameters

toZ double
baseGeom IGeometry

Returns

IGeometry

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

ExtrudeAlongLine(ILine, IGeometry)

Extrude a geometry along a specified line, using the Zs on the two ends of the line to set Zs on the top and bottom.

IGeometry ExtrudeAlongLine(ILine extrusionLine, IGeometry baseGeom)

Parameters

extrusionLine ILine
baseGeom IGeometry

Returns

IGeometry

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 ExtrudeAlongLine Example

ExtrudeBetween(IFunctionalSurface, IFunctionalSurface, IGeometry)

Extrude a geometry between two functional surfaces.

IGeometry ExtrudeBetween(IFunctionalSurface fromSurface, IFunctionalSurface toSurface, IGeometry baseGeom)

Parameters

fromSurface IFunctionalSurface
toSurface IFunctionalSurface
baseGeom IGeometry

Returns

IGeometry

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.  Z values from the FunctionalSurfaces are only calculated at Points in the input Geometry.

IExtrude ExtrudeBetween Example

ExtrudeFromTo(double, double, IGeometry)

Extrude a geometry between two specified Z values.

IGeometry ExtrudeFromTo(double fromZ, double toZ, IGeometry baseGeom)

Parameters

fromZ double
toZ double
baseGeom IGeometry

Returns

IGeometry

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 ExtrudeFromTo Example

ExtrudeRelative(IVector3D, IGeometry)

Extrude a geometry along a specified vector, using Zs already set on the input geometry.

IGeometry ExtrudeRelative(IVector3D extrusionVector, IGeometry baseGeom)

Parameters

extrusionVector IVector3D
baseGeom IGeometry

Returns

IGeometry

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 ExtrudeRelative Example