remove jit

This commit is contained in:
Guille Gutierrez 2023-03-17 13:40:14 -04:00
parent d979c74b8d
commit 4b3ce016b2
2 changed files with 0 additions and 8 deletions

View File

@ -6,9 +6,6 @@ Project Coder Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
""" """
from pathlib import Path from pathlib import Path
import trimesh.exchange.obj
from hub.exports.formats.triangular import Triangular
from hub.imports.geometry_factory import GeometryFactory
class Obj: class Obj:
@ -58,6 +55,3 @@ class Obj:
faces.append(f'{face} {face.split(" ")[1]}\n') faces.append(f'{face} {face.split(" ")[1]}\n')
obj.writelines(faces) obj.writelines(faces)
faces = [] faces = []

View File

@ -6,7 +6,6 @@ Project Coder Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
Code contributors: Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca Code contributors: Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
""" """
import math import math
from numba import jit, Float
import numpy as np import numpy as np
import requests import requests
from trimesh import Trimesh from trimesh import Trimesh
@ -61,7 +60,6 @@ class GeometryHelper:
self._area_delta = area_delta self._area_delta = area_delta
@staticmethod @staticmethod
@jit(nopython=True, parallel=True)
def coordinate_to_map_point(coordinate, city): def coordinate_to_map_point(coordinate, city):
return MapPoint(((city.upper_corner[0] - coordinate[0]) * 0.5), ((city.upper_corner[1] - coordinate[1]) * 0.5)) return MapPoint(((city.upper_corner[0] - coordinate[0]) * 0.5), ((city.upper_corner[1] - coordinate[1]) * 0.5))