matrix-dom
    Preparing search index...

    Function getLinePoints

    • Find the points that a line would cross from 'start' to 'end' and return the array of points

      Parameters

      • start: Point

        The starting location of the line.

      • end: Point

        The final line destination.

      • type: LineType = 'relative'

        select the method used for finding the points: 'relative'|'intersect'|'transition'

      • line: Line = []

        The points found so far, the resulting points are added to it.

      Returns Line

      The points connecting start and end