Function approximateLinePoints

  • Parameters

    • points: Point[]
    • angleThreshold: number = 10
    • distanceThreshold: number = 20

    Returns Point[]