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


ITinSurface2.DecimateNodesByCount Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinSurface2 Interface > ITinSurface2.DecimateNodesByCount Method
ArcGIS Developer Help

ITinSurface2.DecimateNodesByCount Method

Outputs a new TIN with reduced number of nodes.

[Visual Basic .NET]
Public Sub DecimateNodesByCount ( _
    ByVal pAreaOfInterest As IEnvelope, _
    ByVal maxRemainingNodeCount As Integer, _
    ByVal bCopyBreakline As Boolean, _
    ByRef ppNewTin As ITin _
)
[C#]
public void DecimateNodesByCount (
    IEnvelope pAreaOfInterest,
    int maxRemainingNodeCount,
    bool bCopyBreakline,
    ref ITin ppNewTin
);
[C++]
HRESULT DecimateNodesByCount(
  IEnvelope* pAreaOfInterest,
  long maxRemainingNodeCount,
  VARIANT_BOOL bCopyBreakline,
  ITin** ppNewTin
);
[C++]
Parameters
pAreaOfInterest [in]

pAreaOfInterest is a parameter of type IEnvelope* maxRemainingNodeCount [in]
maxRemainingNodeCount is a parameter of type long bCopyBreakline [in]
bCopyBreakline is a parameter of type bool ppNewTin [out]
ppNewTin is a parameter of type ITin**

Product Availability

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

Description

Produces an output TIN that is constructed by removing nodes from an input TIN.

pAreaOfInterest is an Envelope that constrains where nodes are removed. This can be a NULL pointer ('Nothing' in VB) in which case the entire data area of the input TIN is used.

maxRemainingNodeCount is an estimate of the maximum number of nodes allowed in the output TIN. The decimation process will stop when the output TIN has exceeded this count.

bCopyBreaklines is an optional boolean parameter, which defaults to FALSE, used to indicate whether breaklines should be copied from the input TIN to the output. These are not generalized in any way. Note, this parameter is in reference to breaklines on the inside of the TIN. The data area boundary is always copied into the output TIN as a breakline, regardless of the setting of this parameter, in order to properly enforce the interpolation zone.

pNewTin is the output TIN. Pass a compatible TIN interface pointer (e.g. ITin) to receive the object.

See Also

ITinSurface2 Interface