https://fenix.tecnico.ulisboa.pt/downloadFile/1689468335597235/primitivas-1.pdf