TIN to Raster Command


Converts a TIN to a raster.

This command mimicks the out-of-box Raster to TIN conversion dialog found on the 3D Toolbar.

How to use:
  1. Open the command dialog and select a Raster layer or browse for a Raster from disk.
  2. Specify the vertical accuracy for TIN.
  3. Optionally, check the box to limit the number of point added to the TIN in pursuit of accuracy.
  4. Optionally, type the maximum number of points to add to the TIN in pursuit of accuracy.
  5. Optionally, choose the approach for defining the outer boundary of the TIN. By default, a more efficient clip polygon approach is used. This approach uses a flood fill technique to delineate the data area. The out-of-the-box approach, which adds a raster interpolation zone to the TIN using the 'ITinEDdit:AddShape" method, can be used by checking off this option.
  6. Type a name for the output TIN.
  7. Press OK.

    Steps for compiling the DLL:

  1. The VB code for this sample makes calls to one or more utility modules that are shared by a number of 3D samples. The shared modules are located in the 'Utilities' folder which is found directly below the main '3D Analyst' ArcObjects sample folder. In order to compile the DLL make sure you have the latest version of the shared modules installed.

ArcMap, ArcScene

Requires: 3D Analyst

Minimum ArcGIS Version Required: 8.2

Difficulty: Intermediate

Visual Basic
File Description
RasterToTinCommand.cls Implementation for TinToRaster class.
frmRasterToTIN.frm The form for the command.

Key CoClasses: Tin
Key Interfaces: ISurface, ITinEdit
Key Members: ISurface::QueryPixelBlock, ITinEdit::AddFromPixelBlock, ITinEdit::AddShape