1
/////////////////////////////////////////////////////////////
3
// Copyright (c) 2007-2011 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
11
/////////////////////////////////////////////////////////////
13
#include <boost/python.hpp>
14
#include "Vector3Py.h"
16
#include "LineSegment2DPy.h"
17
#include "AVolume2DPy.h"
18
#include "AVolume3DPy.h"
19
#include "BoxWithLines2DPy.h"
20
#include "TriWithLines2DPy.h"
21
#include "PolygonWithLines2DPy.h"
22
#include "BoxWithLines2DSubVolPy.h"
23
#include "BoxWithPlanes3DPy.h"
24
#include "BoxWithJointSetPy.h"
25
#include "MNTable2DPy.h"
26
#include "MNTable3DPy.h"
27
#include "CircMNTable2DPy.h"
28
#include "CircMNTableXY2DPy.h"
29
#include "CircMNTable3DPy.h"
30
#include "FullCircMNTable3DPy.h"
31
#include "InsertGenerator2DPy.h"
32
#include "InsertGenerator3DPy.h"
33
#include "HexAggregateInsertGenerator2DPy.h"
34
#include "HexAggregateInsertGenerator3DPy.h"
35
#include "HGrainGenerator2DPy.h"
38
//#include "SphereObjPy.h"
39
#include "CylinderVolPy.h"
40
#include "CylinderWithJointSetPy.h"
41
#include "SphereVolPy.h"
42
#include "EllipsoidVolPy.h"
43
#include "ClippedSphereVolPy.h"
44
#include "SphereSectionVolPy.h"
45
#include "DogBonePy.h"
47
#include "CircleVolPy.h"
48
#include "TriPatchSetPy.h"
50
#include "ShapeListPy.h"
51
#include "ConvexPolyhedronPy.h"
52
#include "UnionVolPy.h"
53
#include "IntersectionVolPy.h"
54
#include "DifferenceVolPy.h"
56
using namespace boost::python;
58
BOOST_PYTHON_MODULE(gengeo)
62
exportLineSegment2D();
66
exportBoxWithLines2D();
67
exportPolygonWithLines2D();
68
exportTriWithLines2D();
69
exportBoxWithLines2DSubVol();
72
exportCircMNTable2D();
73
exportCircMNTableXY2D();
74
exportCircMNTable3D();
75
exportFullCircMNTable3D();
77
exportInsertGenerator2D();
79
exportInsertGenerator3D();
80
exportHexAggregateInsertGenerator2D();
81
exportHexAggregateInsertGenerator3D();
82
exportHGrainGenerator2D();
84
exportBoxWithPlanes3D();
85
exportBoxWithJointSet();
87
exportCylinderWithJointSet();
91
exportClippedSphereVol();
92
exportSphereSectionVol();
100
exportConvexPolyhedron();
102
exportIntersectionVol();
103
exportDifferenceVol();