diff trafficintelligence/moving.py @ 1212:af329f3330ba

work in progress on 3D safety analysis
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 02 May 2023 17:11:24 -0400
parents 1bad5f9b60de
children 3f2214125164
line wrap: on
line diff
--- a/trafficintelligence/moving.py	Tue May 02 07:12:26 2023 -0400
+++ b/trafficintelligence/moving.py	Tue May 02 17:11:24 2023 -0400
@@ -1828,7 +1828,7 @@
                         relativePositions[(i,j)] = Point(median(xj-xi), median(yj-yi))
                         relativePositions[(j,i)] = -relativePositions[(i,j)]
 
-    def computeBoundingPolygon(self, t, shape = 'raw'):
+    def getBoundingPolygon(self, t, shape = 'raw'):
         '''Returns a bounding box for the feature positions at instant
         bounding box format is a list of points
         shape is the type of output shape: