MengeCrowdSim / Menge

The source code for the Menge crowd simulation framework
Apache License 2.0
138 stars 64 forks source link

We need general geometric primitives and queries #21

Closed MengeCrowdSim closed 7 years ago

MengeCrowdSim commented 7 years ago

For now the Goals class define a number of good primitives (e.g. point, circle, AABB, and OBB) and operations on those primitives (e.g., squared distance, direction towards closest point, get centroid, etc.). It is impossible to re-use this functionality in a more generic manner. Furthermore, the ability to parse such a shape from the XML would be of use in multiple locations.

It would be good if this functionality and logic were refactored into a more generic context such that other entities could make use of them.

MengeCrowdSim commented 7 years ago

Solved by #22