10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_npc', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_npc', fp, pathname, description)
32 _IMP_npc = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_NPC_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_NPC_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
125 return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
130 incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
131 incr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
133 return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
138 decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
139 decr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
141 return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
150 """equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
151 return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
155 """copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
156 return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
160 """next(IMP_NPC_SwigPyIterator self) -> PyObject *"""
161 return _IMP_npc.IMP_NPC_SwigPyIterator_next(self)
165 """__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
166 return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
170 """previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
171 return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
176 return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
181 return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
186 return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
191 return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
196 return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
201 return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
207 __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
213 IMP_NPC_SwigPyIterator_swigregister = _IMP_npc.IMP_NPC_SwigPyIterator_swigregister
214 IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
223 _IMP_npc.IMP_DEBUG_swigconstant(_IMP_npc)
224 IMP_DEBUG = _IMP_npc.IMP_DEBUG
226 _IMP_npc.IMP_RELEASE_swigconstant(_IMP_npc)
227 IMP_RELEASE = _IMP_npc.IMP_RELEASE
229 _IMP_npc.IMP_SILENT_swigconstant(_IMP_npc)
230 IMP_SILENT = _IMP_npc.IMP_SILENT
232 _IMP_npc.IMP_PROGRESS_swigconstant(_IMP_npc)
233 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
235 _IMP_npc.IMP_TERSE_swigconstant(_IMP_npc)
236 IMP_TERSE = _IMP_npc.IMP_TERSE
238 _IMP_npc.IMP_VERBOSE_swigconstant(_IMP_npc)
239 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
241 _IMP_npc.IMP_MEMORY_swigconstant(_IMP_npc)
242 IMP_MEMORY = _IMP_npc.IMP_MEMORY
244 _IMP_npc.IMP_NONE_swigconstant(_IMP_npc)
245 IMP_NONE = _IMP_npc.IMP_NONE
247 _IMP_npc.IMP_USAGE_swigconstant(_IMP_npc)
248 IMP_USAGE = _IMP_npc.IMP_USAGE
250 _IMP_npc.IMP_INTERNAL_swigconstant(_IMP_npc)
251 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
253 _IMP_npc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_npc)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_npc.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_npc)
257 IMP_COMPILER_HAS_AUTO = _IMP_npc.IMP_COMPILER_HAS_AUTO
259 _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_npc)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_npc.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_npc)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_npc.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_npc.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_npc)
269 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
271 _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_npc)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_npc)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_npc)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_npc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_npc)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_npc._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_npc._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_npc.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_npc)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_npc.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_npc.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_npc)
329 IMP_COMPILER_HAS_FINAL = _IMP_npc.IMP_COMPILER_HAS_FINAL
331 _IMP_npc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_npc)
332 IMP_HAS_NOEXCEPT = _IMP_npc.IMP_HAS_NOEXCEPT
334 _IMP_npc.IMP_C_OPEN_BINARY_swigconstant(_IMP_npc)
335 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
338 _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_npc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_npc)
351 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
353 _IMP_npc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_npc)
354 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
357 _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_npc)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_npc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_npc)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
375 _IMP_npc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_npc)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_npc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_npc)
379 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
381 _IMP_npc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_npc)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_npc)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_npc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_npc)
401 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
403 _IMP_npc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_npc)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
406 _IMP_npc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_npc)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_npc)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
413 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
416 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
422 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
425 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_npc)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
428 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_npc)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
431 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_npc)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
434 _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_npc)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
438 _IMP_npc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_npc)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
441 _IMP_npc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
444 _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
447 _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
450 _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
453 _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
456 _IMP_npc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_npc)
457 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
459 _IMP_npc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_npc)
460 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
462 _IMP_npc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_npc)
463 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
465 _IMP_npc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_npc)
466 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
469 _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA_swigconstant(_IMP_npc)
470 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
472 _IMP_npc.IMP_NPC_HAS_IMP_CGAL_swigconstant(_IMP_npc)
473 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
475 _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY_swigconstant(_IMP_npc)
476 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
478 _IMP_npc.IMP_NPC_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
479 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
481 _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_npc)
482 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
484 _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
485 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
487 _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
488 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
490 _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
491 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
493 _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
494 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
496 _IMP_npc.IMP_NPC_HAS_CGAL_swigconstant(_IMP_npc)
497 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
499 _IMP_npc.IMP_NPC_HAS_HDF5_swigconstant(_IMP_npc)
500 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
502 _IMP_npc.IMP_NPC_HAS_NUMPY_swigconstant(_IMP_npc)
503 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
505 _IMP_npc.IMP_NPC_HAS_PYTHON_IHM_swigconstant(_IMP_npc)
506 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
508 _IMP_npc.IMPNPC_SHOW_WARNINGS_swigconstant(_IMP_npc)
509 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
511 _object_types.append(
"ZAxialPositionLowerRestraint")
514 def _object_cast_to_ZAxialPositionLowerRestraint(o):
515 """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
516 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
518 _object_types.append(
"ZAxialPositionUpperRestraint")
521 def _object_cast_to_ZAxialPositionUpperRestraint(o):
522 """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
523 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
525 _object_types.append(
"XYRadialPositionLowerRestraint")
528 def _object_cast_to_XYRadialPositionLowerRestraint(o):
529 """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
530 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
532 _object_types.append(
"XYRadialPositionUpperRestraint")
535 def _object_cast_to_XYRadialPositionUpperRestraint(o):
536 """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
537 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
539 _object_types.append(
"ProteinContactRestraint")
542 def _object_cast_to_ProteinContactRestraint(o):
543 """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
544 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
546 _object_types.append(
"ProteinChainRestraint")
549 def _object_cast_to_ProteinChainRestraint(o):
550 """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
551 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
553 _object_types.append(
"MembraneSurfaceLocationRestraint")
556 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
557 """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
558 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
560 _object_types.append(
"PoreSideVolumeLocationRestraint")
563 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
564 """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
565 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
567 _object_types.append(
"PerinuclearVolumeLocationRestraint")
570 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
571 """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
572 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
574 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
577 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
578 """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
579 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
581 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
584 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
585 """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
586 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
588 _object_types.append(
"ProteinProximityRestraint")
591 def _object_cast_to_ProteinProximityRestraint(o):
592 """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
593 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
595 _object_types.append(
"CompositeRestraint")
598 def _object_cast_to_CompositeRestraint(o):
599 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
600 return _IMP_npc._object_cast_to_CompositeRestraint(o)
602 _object_types.append(
"MinimumSphereDistancePairScore")
605 def _object_cast_to_MinimumSphereDistancePairScore(o):
606 """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
607 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
609 _object_types.append(
"MembraneExclusionRestraint")
612 def _object_cast_to_MembraneExclusionRestraint(o):
613 """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
614 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
616 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
619 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
620 """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
621 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
623 _object_types.append(
"XYRadialPositionRestraint")
626 def _object_cast_to_XYRadialPositionRestraint(o):
627 """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
628 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
630 _object_types.append(
"YAxialPositionLowerRestraint")
633 def _object_cast_to_YAxialPositionLowerRestraint(o):
634 """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
635 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
637 _object_types.append(
"YAxialPositionRestraint")
640 def _object_cast_to_YAxialPositionRestraint(o):
641 """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
642 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
644 _object_types.append(
"YAxialPositionUpperRestraint")
647 def _object_cast_to_YAxialPositionUpperRestraint(o):
648 """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
649 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
651 _object_types.append(
"ZAxialPositionRestraint")
654 def _object_cast_to_ZAxialPositionRestraint(o):
655 """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
656 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
658 """Proxy of C++ IMP::npc::ZAxialPositionRestraint class"""
659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
663 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
664 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
665 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
666 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
668 this = _IMP_npc.new_ZAxialPositionRestraint(*args)
670 self.this.append(this)
675 """add_particle(ZAxialPositionRestraint self, Particle p)"""
676 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
680 """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
681 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
684 def set_particles(self, ps):
685 """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
686 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
689 def do_get_inputs(self):
690 """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
691 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
694 def get_version_info(self):
695 """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
696 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
700 """__str__(ZAxialPositionRestraint self) -> std::string"""
701 return _IMP_npc.ZAxialPositionRestraint___str__(self)
705 """__repr__(ZAxialPositionRestraint self) -> std::string"""
706 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
711 return _object_cast_to_ZAxialPositionRestraint(o)
713 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
714 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
717 """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class"""
718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
722 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
723 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
724 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
725 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
727 this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
729 self.this.append(this)
734 """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
735 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
739 """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
740 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
743 def set_particles(self, ps):
744 """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
745 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
748 def do_get_inputs(self):
749 """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
750 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
753 def get_version_info(self):
754 """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
755 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
759 """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
760 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
764 """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
765 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
770 return _object_cast_to_ZAxialPositionLowerRestraint(o)
772 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
773 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
776 """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class"""
777 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
781 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
782 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
783 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
784 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
786 this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
788 self.this.append(this)
793 """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
794 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
798 """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
799 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
802 def set_particles(self, ps):
803 """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
804 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
807 def do_get_inputs(self):
808 """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
809 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
812 def get_version_info(self):
813 """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
814 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
818 """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
819 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
823 """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
824 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
829 return _object_cast_to_ZAxialPositionUpperRestraint(o)
831 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
832 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
835 """Proxy of C++ IMP::npc::YAxialPositionRestraint class"""
836 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
840 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
841 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
842 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
843 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
845 this = _IMP_npc.new_YAxialPositionRestraint(*args)
847 self.this.append(this)
852 """add_particle(YAxialPositionRestraint self, Particle p)"""
853 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
857 """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
858 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
861 def set_particles(self, ps):
862 """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
863 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
866 def do_get_inputs(self):
867 """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
868 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
871 def get_version_info(self):
872 """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
873 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
877 """__str__(YAxialPositionRestraint self) -> std::string"""
878 return _IMP_npc.YAxialPositionRestraint___str__(self)
882 """__repr__(YAxialPositionRestraint self) -> std::string"""
883 return _IMP_npc.YAxialPositionRestraint___repr__(self)
888 return _object_cast_to_YAxialPositionRestraint(o)
890 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
891 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
894 """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class"""
895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
899 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
900 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
901 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
902 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
904 this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
906 self.this.append(this)
911 """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
912 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
916 """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
917 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
920 def set_particles(self, ps):
921 """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
922 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
925 def do_get_inputs(self):
926 """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
927 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
930 def get_version_info(self):
931 """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
932 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
936 """__str__(YAxialPositionLowerRestraint self) -> std::string"""
937 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
941 """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
942 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
947 return _object_cast_to_YAxialPositionLowerRestraint(o)
949 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
950 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
953 """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class"""
954 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
958 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
959 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
960 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
961 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
963 this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
965 self.this.append(this)
970 """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
971 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
975 """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
976 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
979 def set_particles(self, ps):
980 """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
981 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
984 def do_get_inputs(self):
985 """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
986 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
989 def get_version_info(self):
990 """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
991 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
995 """__str__(YAxialPositionUpperRestraint self) -> std::string"""
996 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
1000 """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
1001 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
1006 return _object_cast_to_YAxialPositionUpperRestraint(o)
1008 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
1009 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1012 """Proxy of C++ IMP::npc::XYRadialPositionRestraint class"""
1013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1017 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1018 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1019 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1020 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1022 this = _IMP_npc.new_XYRadialPositionRestraint(*args)
1024 self.this.append(this)
1029 """add_particle(XYRadialPositionRestraint self, Particle p)"""
1030 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1034 """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1035 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1038 def set_particles(self, ps):
1039 """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1040 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1043 def do_get_inputs(self):
1044 """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1045 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1048 def get_version_info(self):
1049 """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1050 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1054 """__str__(XYRadialPositionRestraint self) -> std::string"""
1055 return _IMP_npc.XYRadialPositionRestraint___str__(self)
1059 """__repr__(XYRadialPositionRestraint self) -> std::string"""
1060 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1065 return _object_cast_to_XYRadialPositionRestraint(o)
1067 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
1068 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1071 """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class"""
1072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1076 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1077 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1078 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1079 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1081 this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
1083 self.this.append(this)
1088 """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1089 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1093 """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1094 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1097 def set_particles(self, ps):
1098 """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1099 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1102 def do_get_inputs(self):
1103 """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1104 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1107 def get_version_info(self):
1108 """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1109 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1113 """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1114 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1118 """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1119 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1124 return _object_cast_to_XYRadialPositionLowerRestraint(o)
1126 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
1127 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1130 """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class"""
1131 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1135 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1136 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1137 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1138 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1140 this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
1142 self.this.append(this)
1147 """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1148 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1152 """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1153 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1156 def set_particles(self, ps):
1157 """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1158 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1161 def do_get_inputs(self):
1162 """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1163 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1166 def get_version_info(self):
1167 """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1168 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1172 """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1173 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1177 """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1178 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1183 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1185 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1186 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1189 """Proxy of C++ IMP::npc::ProteinContactRestraint class"""
1190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1194 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1195 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1196 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1197 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1199 this = _IMP_npc.new_ProteinContactRestraint(*args)
1201 self.this.append(this)
1206 """add_particle(ProteinContactRestraint self, Particle p)"""
1207 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1211 """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1212 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1215 def set_particles(self, ps):
1216 """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1217 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1220 def do_get_inputs(self):
1221 """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1222 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1225 def get_version_info(self):
1226 """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1227 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1231 """__str__(ProteinContactRestraint self) -> std::string"""
1232 return _IMP_npc.ProteinContactRestraint___str__(self)
1236 """__repr__(ProteinContactRestraint self) -> std::string"""
1237 return _IMP_npc.ProteinContactRestraint___repr__(self)
1242 return _object_cast_to_ProteinContactRestraint(o)
1244 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1245 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1248 """Proxy of C++ IMP::npc::ProteinChainRestraint class"""
1249 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1253 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1254 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1255 __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1256 __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1258 this = _IMP_npc.new_ProteinChainRestraint(*args)
1260 self.this.append(this)
1265 """add_particle(ProteinChainRestraint self, Particle p)"""
1266 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1270 """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1271 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1274 def set_particles(self, ps):
1275 """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1276 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1279 def do_get_inputs(self):
1280 """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1281 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1284 def get_version_info(self):
1285 """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1286 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1290 """__str__(ProteinChainRestraint self) -> std::string"""
1291 return _IMP_npc.ProteinChainRestraint___str__(self)
1295 """__repr__(ProteinChainRestraint self) -> std::string"""
1296 return _IMP_npc.ProteinChainRestraint___repr__(self)
1301 return _object_cast_to_ProteinChainRestraint(o)
1303 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1304 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1307 """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class"""
1308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1312 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1313 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1314 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1315 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1317 this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1319 self.this.append(this)
1324 """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1325 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1329 """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1330 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1333 def set_particles(self, ps):
1334 """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1335 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1338 def do_get_inputs(self):
1339 """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1340 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1343 def get_version_info(self):
1344 """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1345 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1349 """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1350 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1354 """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1355 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1360 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1362 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1363 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1365 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1366 """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class"""
1367 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1371 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1372 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1373 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1374 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1376 this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1378 self.this.append(this)
1382 def add_particle1(self, p):
1383 """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1384 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1387 def add_particle2(self, p):
1388 """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1389 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1392 def add_particles1(self, ps):
1393 """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1394 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1397 def add_particles2(self, ps):
1398 """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1399 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1402 def set_particles1(self, ps):
1403 """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1404 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1407 def set_particles2(self, ps):
1408 """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1409 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1412 def do_get_inputs(self):
1413 """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1414 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1417 def get_version_info(self):
1418 """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1419 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1423 """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1424 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1428 """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1429 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1434 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1436 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1437 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1440 """Proxy of C++ IMP::npc::MembraneExclusionRestraint class"""
1441 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1445 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1446 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1447 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1448 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1450 this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1452 self.this.append(this)
1457 """add_particle(MembraneExclusionRestraint self, Particle p)"""
1458 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1462 """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1463 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1466 def set_particles(self, ps):
1467 """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1468 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1471 def do_get_inputs(self):
1472 """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1473 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1476 def get_version_info(self):
1477 """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1478 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1482 """__str__(MembraneExclusionRestraint self) -> std::string"""
1483 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1487 """__repr__(MembraneExclusionRestraint self) -> std::string"""
1488 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1493 return _object_cast_to_MembraneExclusionRestraint(o)
1495 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1496 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1499 """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class"""
1500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1504 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1505 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1506 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1507 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1509 this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1511 self.this.append(this)
1516 """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1517 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1521 """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1522 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1525 def set_particles(self, ps):
1526 """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1527 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1530 def do_get_inputs(self):
1531 """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1532 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1535 def get_version_info(self):
1536 """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1537 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1541 """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1542 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1546 """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1547 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1552 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1554 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1555 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1558 """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class"""
1559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1563 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1564 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1565 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1566 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1568 this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1570 self.this.append(this)
1575 """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1576 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1580 """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1581 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1584 def set_particles(self, ps):
1585 """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1586 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1589 def do_get_inputs(self):
1590 """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1591 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1594 def get_version_info(self):
1595 """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1596 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1600 """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1601 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1605 """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1606 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1611 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1613 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1614 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1617 """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class"""
1618 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1622 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1623 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1624 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1625 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1627 this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1629 self.this.append(this)
1634 """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1635 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1639 """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1640 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1643 def set_particles(self, ps):
1644 """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1645 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1648 def do_get_inputs(self):
1649 """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1650 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1653 def get_version_info(self):
1654 """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1655 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1659 """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1660 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1664 """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1665 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1670 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1672 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1673 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1676 """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class"""
1677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1681 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1682 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1683 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1684 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1686 this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1688 self.this.append(this)
1693 """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1694 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1698 """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1699 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1702 def set_particles(self, ps):
1703 """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1704 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1707 def do_get_inputs(self):
1708 """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1709 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1712 def get_version_info(self):
1713 """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1714 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1718 """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1719 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1723 """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1724 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1729 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1731 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1732 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1735 """Proxy of C++ IMP::npc::ProteinProximityRestraint class"""
1736 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1740 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1741 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1742 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1743 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1745 this = _IMP_npc.new_ProteinProximityRestraint(*args)
1747 self.this.append(this)
1752 """add_particle(ProteinProximityRestraint self, Particle p)"""
1753 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1757 """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1758 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1761 def set_particles(self, ps):
1762 """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1763 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1766 def do_get_inputs(self):
1767 """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1768 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1771 def get_version_info(self):
1772 """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1773 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1777 """__str__(ProteinProximityRestraint self) -> std::string"""
1778 return _IMP_npc.ProteinProximityRestraint___str__(self)
1782 """__repr__(ProteinProximityRestraint self) -> std::string"""
1783 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1788 return _object_cast_to_ProteinProximityRestraint(o)
1790 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1791 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1794 """Proxy of C++ IMP::npc::CompositeRestraint class"""
1795 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1798 """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1799 this = _IMP_npc.new_CompositeRestraint(m, ps)
1801 self.this.append(this)
1805 def add_type(self, ps):
1806 """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1807 return _IMP_npc.CompositeRestraint_add_type(self, ps)
1810 def get_connected_pairs(self):
1811 """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1812 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1815 def do_get_inputs(self):
1816 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1817 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1820 def get_version_info(self):
1821 """get_version_info(CompositeRestraint self) -> VersionInfo"""
1822 return _IMP_npc.CompositeRestraint_get_version_info(self)
1826 """__str__(CompositeRestraint self) -> std::string"""
1827 return _IMP_npc.CompositeRestraint___str__(self)
1831 """__repr__(CompositeRestraint self) -> std::string"""
1832 return _IMP_npc.CompositeRestraint___repr__(self)
1837 return _object_cast_to_CompositeRestraint(o)
1839 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1840 CompositeRestraint_swigregister(CompositeRestraint)
1843 """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class"""
1844 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1847 """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1848 this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1850 self.this.append(this)
1854 def do_get_inputs(self, m, pis):
1855 """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1856 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1859 def get_version_info(self):
1860 """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1861 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1865 """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1866 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1870 """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1871 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1876 return _object_cast_to_MinimumSphereDistancePairScore(o)
1878 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1879 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1883 """get_module_version() -> std::string const"""
1884 return _IMP_npc.get_module_version()
1887 """get_example_path(std::string fname) -> std::string"""
1888 return _IMP_npc.get_example_path(fname)
1891 """get_data_path(std::string fname) -> std::string"""
1892 return _IMP_npc.get_data_path(fname)
1894 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Make CGAL functionality available to IMP.
std::string get_module_version()
Return the version of this module, as a string.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_particle(RMF::FileHandle fh, Particle *hs)
Composable functors to implement scores via compile-time composition.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Output IMP model data in various file formats.
A restraint is a term in an IMP ScoringFunction.