Click or drag to resize

SpatialExtensionsInterpolate Method

Interpolate two coordinate sequences.

The end-points of the sequences are interpolated similar to Interpolate(Double, ICoordinate, ICoordinate). Internal points are included by inserting a similar internal point in the other sequence at matching relative m-value, and performing point interpolation on those points.

Namespace:  DHI.Mike1D.Generic.Spatial
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static ICoordinateSequence Interpolate(
	double fraction,
	ICoordinateSequence coords1,
	ICoordinateSequence coords2
)

Parameters

fraction
Type: SystemDouble
Fraction of 0 matches coords1, fraction 1 matches coords2
coords1
Type: DHI.Mike1D.Generic.Spatial.GeometryICoordinateSequence
First sequence
coords2
Type: DHI.Mike1D.Generic.Spatial.GeometryICoordinateSequence
Second sequence

Return Value

Type: ICoordinateSequence
See Also