mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
24 lines
611 B
C++
24 lines
611 B
C++
// $Id$
|
|
//
|
|
// Copyright (C) 2005-2006 Rational Discovery LLC
|
|
//
|
|
// @@ All Rights Reserved @@
|
|
//
|
|
#include <RDBoost/Wrap.h>
|
|
#include <boost/python.hpp>
|
|
|
|
namespace python = boost::python;
|
|
void wrap_point3D();
|
|
void wrap_uniformGrid();
|
|
|
|
BOOST_PYTHON_MODULE(rdGeometry)
|
|
{
|
|
python::scope().attr("__doc__") =
|
|
"Module containing geomtery objects like points, grids etc\n";
|
|
python::register_exception_translator<IndexErrorException>(&translate_index_error);
|
|
python::register_exception_translator<ValueErrorException>(&translate_value_error);
|
|
|
|
wrap_point3D();
|
|
wrap_uniformGrid();
|
|
}
|