mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 15:02:59 +03:00
Regenerate everything after all the geom changes. Also likely picking up minor diffs from using new georust
This commit is contained in:
parent
1783ea6b2c
commit
ad06d145d4
2624
data/MANIFEST.json
2624
data/MANIFEST.json
File diff suppressed because it is too large
Load Diff
@ -118,9 +118,7 @@ impl Polygon {
|
|||||||
(&self.points, &self.indices)
|
(&self.points, &self.indices)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Does this polygon contain the point either in the interior or right on the border? Haven't
|
/// Does this polygon contain the point in its interior?
|
||||||
/// tested carefully for polygons with holes.
|
|
||||||
// TODO Not sure about the "right on the border"
|
|
||||||
pub fn contains_pt(&self, pt: Pt2D) -> bool {
|
pub fn contains_pt(&self, pt: Pt2D) -> bool {
|
||||||
self.to_geo().contains(&geo::Point::from(pt))
|
self.to_geo().contains(&geo::Point::from(pt))
|
||||||
}
|
}
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
{
|
{
|
||||||
"map": "montlake (in seattle (us))",
|
"map": "montlake (in seattle (us))",
|
||||||
"scenario": "weekday",
|
"scenario": "weekday",
|
||||||
"finished_trips": 36421,
|
"finished_trips": 36429,
|
||||||
"cancelled_trips": 375,
|
"cancelled_trips": 367,
|
||||||
"total_trip_duration_seconds": 17952169.302099973
|
"total_trip_duration_seconds": 17893299.014299836
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"map": "sao_miguel_paulista (in sao_paulo (br))",
|
"map": "sao_miguel_paulista (in sao_paulo (br))",
|
||||||
"scenario": "Full",
|
"scenario": "Full",
|
||||||
"finished_trips": 121120,
|
"finished_trips": 121120,
|
||||||
"cancelled_trips": 224,
|
"cancelled_trips": 224,
|
||||||
"total_trip_duration_seconds": 84788781.93149996
|
"total_trip_duration_seconds": 84788784.85729995
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user