ArcObjects Library Reference (GeoDatabase)  

ITinSurface2.ConvertToMultiPatches Method

Convert TIN into Multipatches.

[Visual Basic .NET]
Public Sub ConvertToMultiPatches ( _
    ByVal pFeatureClass As IFeatureClass, _
    ByVal maxPatchSize As Integer, _
    ByVal maxStripSize As Integer _
)
[C#]
public void ConvertToMultiPatches (
    IFeatureClass pFeatureClass,
    int maxPatchSize,
    int maxStripSize
);
[C++]
HRESULT ConvertToMultiPatches(
  IFeatureClass* pFeatureClass,
  long maxPatchSize,
  long maxStripSize
);
[C++]

Parameters

pFeatureClass [in]

  pFeatureClass is a parameter of type IFeatureClass

maxPatchSize [in]   maxPatchSize is a parameter of type long maxStripSize [in]   maxStripSize is a parameter of type long

Product Availability

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

Description

Converts the TIN to a feature class comprised of one or more multipatches. To perform this the TIN is turned into triangle strips that are used as parts in output multipatches.

pFeatureClass is the target. It needs to be an existing, empty, multipatch based FeatureClass.

maxPatchSize is the maximum number of triangle strips to use as parts for each output multipatch.

maxStripSize is the maximum number of vertices to use in each triangle strip.

See Also

ITinSurface2 Interface