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


IZ.InterpolateZsBetween Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IZ.InterpolateZsBetween Method

Generate Z values by linear interpolation for all vertices in the range [start+1, end-1].

[Visual Basic .NET]
Public Sub InterpolateZsBetween ( _
    ByVal startPart As Integer, _
    ByVal startPoint As Integer, _
    ByVal endPart As Integer, _
    ByVal endPoint As Integer _
)
[C#]
public void InterpolateZsBetween (
    int startPart,
    int startPoint,
    int endPart,
    int endPoint
);
[C++]
HRESULT InterpolateZsBetween(
  long startPart,
  long startPoint,
  long endPart,
  long endPoint
);
[C++]

Parameters startPart startPart is a parameter of type long startPoint startPoint is a parameter of type long endPart endPart is a parameter of type long endPoint endPoint is a parameter of type long

Product Availability

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

Description

Sets the Z attributes from the vertices between the StartPoint of the startPart and the EndPoint of the endPart.  The values of the StartPoint and EndPoint remain unchanged, but all vertices inbetween are assigned Z values proportional to the distance along the curve between the StartPoint and EndPoint and the difference between the Z values of the StartPoint and EndPoint.

See Also

IZ Interface