~ubuntu-branches/debian/jessie/yade/jessie

« back to all changes in this revision

Viewing changes to py/pack/_packObb.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2014-08-04 19:34:58 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140804193458-cw8qhnujxe9wzi15
Tags: 1.11.0-1
* [a0600ae] Imported Upstream version 1.11.0
* [a3055e0] Do not use parallel build on kfreebsd-amd64 and s390x.
* [f86b405] Remove applied patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
// the code written after http://www.amillionpixels.us/bestfitobb.cpp
3
3
// which is MIT-licensed
4
4
 
5
 
#include<boost/python.hpp>
6
 
#include<boost/foreach.hpp>
7
 
#include<boost/python/object.hpp>
8
 
#include<boost/version.hpp>
9
5
#include<yade/lib/base/Logging.hpp>
10
6
#include<yade/lib/base/Math.hpp>
11
7
#include<yade/lib/pyutil/doc_opts.hpp>
12
8
 
13
 
#include<vector>
14
 
#include<stdexcept>
15
 
 
16
 
#ifndef FOREACH
17
 
        #define FOREACH BOOST_FOREACH
18
 
#endif
19
 
 
20
9
// compute minimum bounding for a cloud of points
21
10
 
22
11
// returns volume