Skip to content

getPointAtDistance

getPointAtDistance(point1, point2, distance): number[]

Returns a point that is a specified distance away from a starting point in the direction towards an end point.

Parameters

point1: number[]

point2: number[]

distance: number

Returns

number[]

Source

graphics/geometry.ts:779