public static ArrayList<PositionProportion> isOnVectorLine(Position startPosition, 
			Vector applyVector, List<Position> pos, double APROX)
	{
		ArrayList<PositionProportion> result = new ArrayList<PositionProportion>();
		
		for (int i = 0; i < pos.size(); i++)
		{
			Position posTemp = pos.get(i);
			double a = applyVector.getY();
			double b = - applyVector.getX();
			double c = applyVector.getX() * startPosition.getY() - applyVector.getY() * startPosition.getX();
			
			double dist = Math.abs(a * posTemp.getX() + b * posTemp.getY() + c) / Math.sqrt( Math.pow(a,2) + Math.pow(b,2) );
			if (dist <= APROX && !startPosition.equals(posTemp))
			{
				double k = Math.sqrt(
						(posTemp.getX() - startPosition.getX())*(posTemp.getX() - startPosition.getX()) +
						(posTemp.getY() - startPosition.getY())*(posTemp.getY() - startPosition.getY()) + dist)
						/ applyVector.norm();
				
				Vector tempForScalaire = new Vector(startPosition, posTemp);
				double scalaire = applyVector.getX()*tempForScalaire.getX() + applyVector.getY()*tempForScalaire.getY();
				if (scalaire < 0)
					k = -k;
				result.add(new PositionProportion(posTemp, k));
			}
		}
		return result;
	}