1
/////////////////////////////////////////////////////////////
3
// Copyright (c) 2007-2014 by The University of Queensland //
4
// Centre for Geoscience Computing //
5
// http://earth.uq.edu.au/centre-geoscience-computing //
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/version.hpp>
14
#include "MeshVolWithJointSetPy.h"
16
using namespace boost::python;
18
void exportMeshVolWithJointSet()
20
// Disable autogeneration of C++ signatures (Boost 1.34.0 and higher)
21
// for Epydoc which stumbles over indentation in the automatically generated strings.
22
boost::python::docstring_options no_autogen(true,false);
24
class_<MeshVolWithJointSet, bases<MeshVolume> >(
25
"MeshVolWithJointSet",
26
"A class defining a volume bounded by a triangle mesh containing joints.",
30
init<const TriPatchSet& >(
32
"Constructs a volume from a supplied set of triangles.\n"
33
"@type Mesh: L{TriPatchSet}\n"
34
"@kwarg Mesh: The set of triangles\n"
39
&MeshVolWithJointSet::addJoints,
41
"Adds a set of triangluar patches as joints.\n"
42
"@type plane: L{Plane}\n"
43
"@kwarg plane: the set of patches\n"