On 24/07/2010 4:20 AM, alfC wrote:
just to complete the idea. in particle simulations more often that not we use periodic boundary conditions. the trick is that the particles are free to move in 3D (this helps to simulate difussion in liquids), but the interactions (distances) are computed as if all the particles are still in the original box.
so, the keys are euclidean distances and torus topology.
No it doesn't. Boost.Geometry's design is based around, providing your own data types, the composites of those such as points etc (if they're not already defined), and any practical operations you may need in your computations such as distance measures, areas etc (If they're not already defined). PCB'ed geometries are very difficult to get right in a generic sense.