MathUtilInterpolate Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Interpolate between two points.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static LatLon Interpolate(
LatLon from,
LatLon to,
double factor
)
Public Shared Function Interpolate (
from As LatLon,
to As LatLon,
factor As Double
) As LatLon
Parameters
- from
- Type: Telogis.GeoBaseLatLon
The point to interpolate from. - to
- Type: Telogis.GeoBaseLatLon
The point to interpolate to. - factor
- Type: SystemDouble
The interpolation factor. Use 0.1 for a point near from, 0.9 for a point near to, and 0.5 for a point exactly between from and to.
Return Value
Type:
LatLonThe interpolated point.
See Also