Point. Function.shift Towards
sprotty-protocol / Point / shiftTowards
shiftTowards(
point
,refPoint
,distance
):Point
Defined in: utils/geometry.ts:78
Computes a point that is the original point
shifted towards refPoint
by the given distance
.
Point to shift
Point to shift towards
number
Distance to shift