SpatialExtensionsDirectionUnitVectorSmooth Method |
This returns a smoothly varying unit vector: On the center of the line between two digipoints, the direction of the line is returned. On a digipoint the average of the line before and after the digipoint is returned. In between the center of the line and the digipoint the direction varies linearly.
Namespace: DHI.Mike1D.Generic.Spatial
public static Vector DirectionUnitVectorSmooth( this ICoordinateSequence coordinates, double chainage )