Namespace: LineString

LineString

Methods


calcCSpline_()


splitAt(pt, tol)

Split a lineString by a point or a list of points NB: points must be on the line, use getClosestPoint() to get one

Parameters:
Name Type Description
pt ol.Coordinate | Array.<ol.Coordinate>

points to split the line

tol Number

distance tolerance for 2 points to be equal