11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
34 _IMP_algebra = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_ALGEBRA_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
127 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
132 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
133 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
135 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
140 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
141 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
143 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
152 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
153 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
157 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
158 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
162 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
163 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
167 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
168 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
172 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
173 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
178 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
183 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
188 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
193 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
198 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
203 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
209 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
215 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
216 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
225 _IMP_algebra.IMP_DEBUG_swigconstant(_IMP_algebra)
226 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
228 _IMP_algebra.IMP_RELEASE_swigconstant(_IMP_algebra)
229 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
231 _IMP_algebra.IMP_SILENT_swigconstant(_IMP_algebra)
232 IMP_SILENT = _IMP_algebra.IMP_SILENT
234 _IMP_algebra.IMP_PROGRESS_swigconstant(_IMP_algebra)
235 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
237 _IMP_algebra.IMP_TERSE_swigconstant(_IMP_algebra)
238 IMP_TERSE = _IMP_algebra.IMP_TERSE
240 _IMP_algebra.IMP_VERBOSE_swigconstant(_IMP_algebra)
241 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
243 _IMP_algebra.IMP_MEMORY_swigconstant(_IMP_algebra)
244 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
246 _IMP_algebra.IMP_NONE_swigconstant(_IMP_algebra)
247 IMP_NONE = _IMP_algebra.IMP_NONE
249 _IMP_algebra.IMP_USAGE_swigconstant(_IMP_algebra)
250 IMP_USAGE = _IMP_algebra.IMP_USAGE
252 _IMP_algebra.IMP_INTERNAL_swigconstant(_IMP_algebra)
253 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
255 _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_algebra)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_algebra)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_algebra.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_algebra)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_algebra.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_algebra.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_algebra)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_algebra.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_algebra.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_algebra)
271 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
273 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_algebra._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_algebra._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
328 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
330 _IMP_algebra.IMP_C_OPEN_BINARY_swigconstant(_IMP_algebra)
331 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
334 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_algebra.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_algebra)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_algebra.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_algebra.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_algebra)
350 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
352 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
353 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
356 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_algebra)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
377 _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_algebra)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
381 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
383 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
388 return v.get_coordinates()
393 return v.get_sphere()
398 _object_types.append(
"VectorKDMetric")
401 def _object_cast_to_VectorKDMetric(o):
402 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
403 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
405 _object_types.append(
"EuclideanVectorKDMetric")
408 def _object_cast_to_EuclideanVectorKDMetric(o):
409 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
410 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
412 _object_types.append(
"MaxVectorKDMetric")
415 def _object_cast_to_MaxVectorKDMetric(o):
416 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
417 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
419 _object_types.append(
"DynamicNearestNeighbor3D")
422 def _object_cast_to_DynamicNearestNeighbor3D(o):
423 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
424 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
427 _plural_types.append(
"Rotation2Ds")
428 _value_types.append(
"Rotation2D")
432 _plural_types.append(
"Rotation3Ds")
433 _value_types.append(
"Rotation3D")
437 _plural_types.append(
"Reflection3Ds")
438 _value_types.append(
"Reflection3D")
441 Transformation2Ds=list
442 _plural_types.append(
"Transformation2Ds")
443 _value_types.append(
"Transformation2D")
446 Transformation3Ds=list
447 _plural_types.append(
"Transformation3Ds")
448 _value_types.append(
"Transformation3D")
451 SphericalVector3Ds=list
452 _plural_types.append(
"SphericalVector3Ds")
453 _value_types.append(
"SphericalVector3D")
457 _plural_types.append(
"Triangle3Ds")
458 _value_types.append(
"Triangle3D")
462 _plural_types.append(
"Cone3Ds")
463 _value_types.append(
"Cone3D")
467 _plural_types.append(
"Cylinder3Ds")
468 _value_types.append(
"Cylinder3D")
472 _plural_types.append(
"Ellipsoid3Ds")
473 _value_types.append(
"Ellipsoid3D")
477 _plural_types.append(
"Line3Ds")
478 _value_types.append(
"Line3D")
482 _plural_types.append(
"Plane3Ds")
483 _value_types.append(
"Plane3D")
487 _plural_types.append(
"Segment3Ds")
488 _value_types.append(
"Segment3D")
492 _plural_types.append(
"SpherePatch3Ds")
493 _value_types.append(
"SpherePatch3D")
496 ConnollySurfacePoints=list
497 _plural_types.append(
"ConnollySurfacePoints")
498 _value_types.append(
"ConnollySurfacePoint")
502 _plural_types.append(
"Sphere1Ds")
503 _value_types.append(
"Sphere1D")
507 _plural_types.append(
"Sphere2Ds")
508 _value_types.append(
"Sphere2D")
512 _plural_types.append(
"Sphere3Ds")
513 _value_types.append(
"Sphere3D")
517 _plural_types.append(
"Sphere4Ds")
518 _value_types.append(
"Sphere4D")
522 _plural_types.append(
"Sphere5Ds")
523 _value_types.append(
"Sphere5D")
527 _plural_types.append(
"Sphere6Ds")
528 _value_types.append(
"Sphere6D")
532 _plural_types.append(
"Sphere1Ds")
533 _value_types.append(
"SphereD<1>")
537 _plural_types.append(
"Sphere2Ds")
538 _value_types.append(
"SphereD<2>")
542 _plural_types.append(
"Sphere3Ds")
543 _value_types.append(
"SphereD<3>")
547 _plural_types.append(
"Sphere4Ds")
548 _value_types.append(
"SphereD<4>")
552 _plural_types.append(
"Sphere5Ds")
553 _value_types.append(
"SphereD<5>")
557 _plural_types.append(
"Sphere6Ds")
558 _value_types.append(
"SphereD<6>")
562 _plural_types.append(
"SphereKDs")
563 _value_types.append(
"SphereKD")
567 _plural_types.append(
"SphereKDs")
568 _value_types.append(
"SphereD<-1>")
572 _plural_types.append(
"UnitSimplex1Ds")
573 _value_types.append(
"UnitSimplex1D")
577 _plural_types.append(
"UnitSimplex2Ds")
578 _value_types.append(
"UnitSimplex2D")
582 _plural_types.append(
"UnitSimplex3Ds")
583 _value_types.append(
"UnitSimplex3D")
587 _plural_types.append(
"UnitSimplex4Ds")
588 _value_types.append(
"UnitSimplex4D")
592 _plural_types.append(
"UnitSimplex5Ds")
593 _value_types.append(
"UnitSimplex5D")
597 _plural_types.append(
"UnitSimplex6Ds")
598 _value_types.append(
"UnitSimplex6D")
602 _plural_types.append(
"UnitSimplex1Ds")
603 _value_types.append(
"UnitSimplexD<1>")
607 _plural_types.append(
"UnitSimplex2Ds")
608 _value_types.append(
"UnitSimplexD<2>")
612 _plural_types.append(
"UnitSimplex3Ds")
613 _value_types.append(
"UnitSimplexD<3>")
617 _plural_types.append(
"UnitSimplex4Ds")
618 _value_types.append(
"UnitSimplexD<4>")
622 _plural_types.append(
"UnitSimplex5Ds")
623 _value_types.append(
"UnitSimplexD<5>")
627 _plural_types.append(
"UnitSimplex6Ds")
628 _value_types.append(
"UnitSimplexD<6>")
632 _plural_types.append(
"UnitSimplexKDs")
633 _value_types.append(
"UnitSimplexKD")
637 _plural_types.append(
"UnitSimplexKDs")
638 _value_types.append(
"UnitSimplexD<-1>")
642 _plural_types.append(
"BoundingBox1Ds")
643 _value_types.append(
"BoundingBox1D")
647 _plural_types.append(
"BoundingBox2Ds")
648 _value_types.append(
"BoundingBox2D")
652 _plural_types.append(
"BoundingBox3Ds")
653 _value_types.append(
"BoundingBox3D")
657 _plural_types.append(
"BoundingBox4Ds")
658 _value_types.append(
"BoundingBox4D")
662 _plural_types.append(
"BoundingBox5Ds")
663 _value_types.append(
"BoundingBox5D")
667 _plural_types.append(
"BoundingBox6Ds")
668 _value_types.append(
"BoundingBox6D")
672 _plural_types.append(
"BoundingBox1Ds")
673 _value_types.append(
"BoundingBoxD<1>")
677 _plural_types.append(
"BoundingBox2Ds")
678 _value_types.append(
"BoundingBoxD<2>")
682 _plural_types.append(
"BoundingBox3Ds")
683 _value_types.append(
"BoundingBoxD<3>")
687 _plural_types.append(
"BoundingBox4Ds")
688 _value_types.append(
"BoundingBoxD<4>")
692 _plural_types.append(
"BoundingBox5Ds")
693 _value_types.append(
"BoundingBoxD<5>")
697 _plural_types.append(
"BoundingBox6Ds")
698 _value_types.append(
"BoundingBoxD<6>")
702 _plural_types.append(
"BoundingBoxKDs")
703 _value_types.append(
"BoundingBoxKD")
707 _plural_types.append(
"BoundingBoxKDs")
708 _value_types.append(
"BoundingBoxD<-1>")
711 PrincipalComponentAnalysis1Ds=list
712 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
713 _value_types.append(
"PrincipalComponentAnalysis1D")
716 PrincipalComponentAnalysis2Ds=list
717 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
718 _value_types.append(
"PrincipalComponentAnalysis2D")
721 PrincipalComponentAnalysis3Ds=list
722 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
723 _value_types.append(
"PrincipalComponentAnalysis3D")
726 PrincipalComponentAnalysis4Ds=list
727 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
728 _value_types.append(
"PrincipalComponentAnalysis4D")
731 PrincipalComponentAnalysis5Ds=list
732 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
733 _value_types.append(
"PrincipalComponentAnalysis5D")
736 PrincipalComponentAnalysis6Ds=list
737 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
738 _value_types.append(
"PrincipalComponentAnalysis6D")
741 PrincipalComponentAnalysis1Ds=list
742 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
743 _value_types.append(
"PrincipalComponentAnalysisD<1>")
746 PrincipalComponentAnalysis2Ds=list
747 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
748 _value_types.append(
"PrincipalComponentAnalysisD<2>")
751 PrincipalComponentAnalysis3Ds=list
752 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
753 _value_types.append(
"PrincipalComponentAnalysisD<3>")
756 PrincipalComponentAnalysis4Ds=list
757 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
758 _value_types.append(
"PrincipalComponentAnalysisD<4>")
761 PrincipalComponentAnalysis5Ds=list
762 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
763 _value_types.append(
"PrincipalComponentAnalysisD<5>")
766 PrincipalComponentAnalysis6Ds=list
767 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
768 _value_types.append(
"PrincipalComponentAnalysisD<6>")
771 PrincipalComponentAnalysisKDs=list
772 _plural_types.append(
"PrincipalComponentAnalysisKDs")
773 _value_types.append(
"PrincipalComponentAnalysisKD")
776 PrincipalComponentAnalysisKDs=list
777 _plural_types.append(
"PrincipalComponentAnalysisKDs")
778 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
781 _object_types.append(
"NearestNeighbor1D")
784 def _object_cast_to_NearestNeighbor1D(o):
785 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
786 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
788 _object_types.append(
"NearestNeighbor2D")
791 def _object_cast_to_NearestNeighbor2D(o):
792 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
793 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
795 _object_types.append(
"NearestNeighbor3D")
798 def _object_cast_to_NearestNeighbor3D(o):
799 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
800 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
802 _object_types.append(
"NearestNeighbor4D")
805 def _object_cast_to_NearestNeighbor4D(o):
806 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
807 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
809 _object_types.append(
"NearestNeighbor5D")
812 def _object_cast_to_NearestNeighbor5D(o):
813 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
814 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
816 _object_types.append(
"NearestNeighbor6D")
819 def _object_cast_to_NearestNeighbor6D(o):
820 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
821 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
823 _object_types.append(
"NearestNeighborKD")
826 def _object_cast_to_NearestNeighborKD(o):
827 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
828 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
830 ReferenceFrame3Ds=list
831 _plural_types.append(
"ReferenceFrame3Ds")
832 _value_types.append(
"ReferenceFrame3D")
836 _plural_types.append(
"Gaussian3Ds")
837 _value_types.append(
"Gaussian3D")
840 DefaultEmbedding1Ds=list
841 _plural_types.append(
"DefaultEmbedding1Ds")
842 _value_types.append(
"DefaultEmbedding1D")
845 DefaultEmbedding2Ds=list
846 _plural_types.append(
"DefaultEmbedding2Ds")
847 _value_types.append(
"DefaultEmbedding2D")
850 DefaultEmbedding3Ds=list
851 _plural_types.append(
"DefaultEmbedding3Ds")
852 _value_types.append(
"DefaultEmbedding3D")
855 DefaultEmbedding4Ds=list
856 _plural_types.append(
"DefaultEmbedding4Ds")
857 _value_types.append(
"DefaultEmbedding4D")
860 DefaultEmbedding5Ds=list
861 _plural_types.append(
"DefaultEmbedding5Ds")
862 _value_types.append(
"DefaultEmbedding5D")
865 DefaultEmbedding6Ds=list
866 _plural_types.append(
"DefaultEmbedding6Ds")
867 _value_types.append(
"DefaultEmbedding6D")
870 DefaultEmbedding1Ds=list
871 _plural_types.append(
"DefaultEmbedding1Ds")
872 _value_types.append(
"DefaultEmbeddingD<1>")
875 DefaultEmbedding2Ds=list
876 _plural_types.append(
"DefaultEmbedding2Ds")
877 _value_types.append(
"DefaultEmbeddingD<2>")
880 DefaultEmbedding3Ds=list
881 _plural_types.append(
"DefaultEmbedding3Ds")
882 _value_types.append(
"DefaultEmbeddingD<3>")
885 DefaultEmbedding4Ds=list
886 _plural_types.append(
"DefaultEmbedding4Ds")
887 _value_types.append(
"DefaultEmbeddingD<4>")
890 DefaultEmbedding5Ds=list
891 _plural_types.append(
"DefaultEmbedding5Ds")
892 _value_types.append(
"DefaultEmbeddingD<5>")
895 DefaultEmbedding6Ds=list
896 _plural_types.append(
"DefaultEmbedding6Ds")
897 _value_types.append(
"DefaultEmbeddingD<6>")
900 DefaultEmbeddingKDs=list
901 _plural_types.append(
"DefaultEmbeddingKDs")
902 _value_types.append(
"DefaultEmbeddingKD")
905 DefaultEmbeddingKDs=list
906 _plural_types.append(
"DefaultEmbeddingKDs")
907 _value_types.append(
"DefaultEmbeddingD<-1>")
911 _plural_types.append(
"LogEmbedding1Ds")
912 _value_types.append(
"LogEmbedding1D")
916 _plural_types.append(
"LogEmbedding2Ds")
917 _value_types.append(
"LogEmbedding2D")
921 _plural_types.append(
"LogEmbedding3Ds")
922 _value_types.append(
"LogEmbedding3D")
926 _plural_types.append(
"LogEmbedding4Ds")
927 _value_types.append(
"LogEmbedding4D")
931 _plural_types.append(
"LogEmbedding5Ds")
932 _value_types.append(
"LogEmbedding5D")
936 _plural_types.append(
"LogEmbedding6Ds")
937 _value_types.append(
"LogEmbedding6D")
941 _plural_types.append(
"LogEmbedding1Ds")
942 _value_types.append(
"LogEmbeddingD<1>")
946 _plural_types.append(
"LogEmbedding2Ds")
947 _value_types.append(
"LogEmbeddingD<2>")
951 _plural_types.append(
"LogEmbedding3Ds")
952 _value_types.append(
"LogEmbeddingD<3>")
956 _plural_types.append(
"LogEmbedding4Ds")
957 _value_types.append(
"LogEmbeddingD<4>")
961 _plural_types.append(
"LogEmbedding5Ds")
962 _value_types.append(
"LogEmbeddingD<5>")
966 _plural_types.append(
"LogEmbedding6Ds")
967 _value_types.append(
"LogEmbeddingD<6>")
971 _plural_types.append(
"LogEmbeddingKDs")
972 _value_types.append(
"LogEmbeddingKD")
976 _plural_types.append(
"LogEmbeddingKDs")
977 _value_types.append(
"LogEmbeddingD<-1>")
981 _plural_types.append(
"GridIndex1Ds")
982 _value_types.append(
"GridIndex1D")
986 _plural_types.append(
"GridIndex2Ds")
987 _value_types.append(
"GridIndex2D")
991 _plural_types.append(
"GridIndex3Ds")
992 _value_types.append(
"GridIndex3D")
996 _plural_types.append(
"GridIndex4Ds")
997 _value_types.append(
"GridIndex4D")
1001 _plural_types.append(
"GridIndex5Ds")
1002 _value_types.append(
"GridIndex5D")
1006 _plural_types.append(
"GridIndex6Ds")
1007 _value_types.append(
"GridIndex6D")
1011 _plural_types.append(
"GridIndex1Ds")
1012 _value_types.append(
"GridIndexD<1>")
1016 _plural_types.append(
"GridIndex2Ds")
1017 _value_types.append(
"GridIndexD<2>")
1021 _plural_types.append(
"GridIndex3Ds")
1022 _value_types.append(
"GridIndexD<3>")
1026 _plural_types.append(
"GridIndex4Ds")
1027 _value_types.append(
"GridIndexD<4>")
1031 _plural_types.append(
"GridIndex5Ds")
1032 _value_types.append(
"GridIndexD<5>")
1036 _plural_types.append(
"GridIndex6Ds")
1037 _value_types.append(
"GridIndexD<6>")
1041 _plural_types.append(
"GridIndexKDs")
1042 _value_types.append(
"GridIndexKD")
1046 _plural_types.append(
"GridIndexKDs")
1047 _value_types.append(
"GridIndexD<-1>")
1050 ExtendedGridIndex1Ds=list
1051 _plural_types.append(
"ExtendedGridIndex1Ds")
1052 _value_types.append(
"ExtendedGridIndex1D")
1055 ExtendedGridIndex2Ds=list
1056 _plural_types.append(
"ExtendedGridIndex2Ds")
1057 _value_types.append(
"ExtendedGridIndex2D")
1060 ExtendedGridIndex3Ds=list
1061 _plural_types.append(
"ExtendedGridIndex3Ds")
1062 _value_types.append(
"ExtendedGridIndex3D")
1065 ExtendedGridIndex4Ds=list
1066 _plural_types.append(
"ExtendedGridIndex4Ds")
1067 _value_types.append(
"ExtendedGridIndex4D")
1070 ExtendedGridIndex5Ds=list
1071 _plural_types.append(
"ExtendedGridIndex5Ds")
1072 _value_types.append(
"ExtendedGridIndex5D")
1075 ExtendedGridIndex6Ds=list
1076 _plural_types.append(
"ExtendedGridIndex6Ds")
1077 _value_types.append(
"ExtendedGridIndex6D")
1080 ExtendedGridIndex1Ds=list
1081 _plural_types.append(
"ExtendedGridIndex1Ds")
1082 _value_types.append(
"ExtendedGridIndexD<1>")
1085 ExtendedGridIndex2Ds=list
1086 _plural_types.append(
"ExtendedGridIndex2Ds")
1087 _value_types.append(
"ExtendedGridIndexD<2>")
1090 ExtendedGridIndex3Ds=list
1091 _plural_types.append(
"ExtendedGridIndex3Ds")
1092 _value_types.append(
"ExtendedGridIndexD<3>")
1095 ExtendedGridIndex4Ds=list
1096 _plural_types.append(
"ExtendedGridIndex4Ds")
1097 _value_types.append(
"ExtendedGridIndexD<4>")
1100 ExtendedGridIndex5Ds=list
1101 _plural_types.append(
"ExtendedGridIndex5Ds")
1102 _value_types.append(
"ExtendedGridIndexD<5>")
1105 ExtendedGridIndex6Ds=list
1106 _plural_types.append(
"ExtendedGridIndex6Ds")
1107 _value_types.append(
"ExtendedGridIndexD<6>")
1110 ExtendedGridIndexKDs=list
1111 _plural_types.append(
"ExtendedGridIndexKDs")
1112 _value_types.append(
"ExtendedGridIndexKD")
1115 ExtendedGridIndexKDs=list
1116 _plural_types.append(
"ExtendedGridIndexKDs")
1117 _value_types.append(
"ExtendedGridIndexD<-1>")
1120 BoundedGridRange1Ds=list
1121 _plural_types.append(
"BoundedGridRange1Ds")
1122 _value_types.append(
"BoundedGridRange1D")
1125 BoundedGridRange2Ds=list
1126 _plural_types.append(
"BoundedGridRange2Ds")
1127 _value_types.append(
"BoundedGridRange2D")
1130 BoundedGridRange3Ds=list
1131 _plural_types.append(
"BoundedGridRange3Ds")
1132 _value_types.append(
"BoundedGridRange3D")
1135 BoundedGridRange4Ds=list
1136 _plural_types.append(
"BoundedGridRange4Ds")
1137 _value_types.append(
"BoundedGridRange4D")
1140 BoundedGridRange5Ds=list
1141 _plural_types.append(
"BoundedGridRange5Ds")
1142 _value_types.append(
"BoundedGridRange5D")
1145 BoundedGridRange6Ds=list
1146 _plural_types.append(
"BoundedGridRange6Ds")
1147 _value_types.append(
"BoundedGridRange6D")
1150 BoundedGridRange1Ds=list
1151 _plural_types.append(
"BoundedGridRange1Ds")
1152 _value_types.append(
"BoundedGridRangeD<1>")
1155 BoundedGridRange2Ds=list
1156 _plural_types.append(
"BoundedGridRange2Ds")
1157 _value_types.append(
"BoundedGridRangeD<2>")
1160 BoundedGridRange3Ds=list
1161 _plural_types.append(
"BoundedGridRange3Ds")
1162 _value_types.append(
"BoundedGridRangeD<3>")
1165 BoundedGridRange4Ds=list
1166 _plural_types.append(
"BoundedGridRange4Ds")
1167 _value_types.append(
"BoundedGridRangeD<4>")
1170 BoundedGridRange5Ds=list
1171 _plural_types.append(
"BoundedGridRange5Ds")
1172 _value_types.append(
"BoundedGridRangeD<5>")
1175 BoundedGridRange6Ds=list
1176 _plural_types.append(
"BoundedGridRange6Ds")
1177 _value_types.append(
"BoundedGridRangeD<6>")
1180 BoundedGridRangeKDs=list
1181 _plural_types.append(
"BoundedGridRangeKDs")
1182 _value_types.append(
"BoundedGridRangeKD")
1185 BoundedGridRangeKDs=list
1186 _plural_types.append(
"BoundedGridRangeKDs")
1187 _value_types.append(
"BoundedGridRangeD<-1>")
1190 UnboundedGridRange1Ds=list
1191 _plural_types.append(
"UnboundedGridRange1Ds")
1192 _value_types.append(
"UnboundedGridRange1D")
1195 UnboundedGridRange2Ds=list
1196 _plural_types.append(
"UnboundedGridRange2Ds")
1197 _value_types.append(
"UnboundedGridRange2D")
1200 UnboundedGridRange3Ds=list
1201 _plural_types.append(
"UnboundedGridRange3Ds")
1202 _value_types.append(
"UnboundedGridRange3D")
1205 UnboundedGridRange4Ds=list
1206 _plural_types.append(
"UnboundedGridRange4Ds")
1207 _value_types.append(
"UnboundedGridRange4D")
1210 UnboundedGridRange5Ds=list
1211 _plural_types.append(
"UnboundedGridRange5Ds")
1212 _value_types.append(
"UnboundedGridRange5D")
1215 UnboundedGridRange6Ds=list
1216 _plural_types.append(
"UnboundedGridRange6Ds")
1217 _value_types.append(
"UnboundedGridRange6D")
1220 UnboundedGridRange1Ds=list
1221 _plural_types.append(
"UnboundedGridRange1Ds")
1222 _value_types.append(
"UnboundedGridRangeD<1>")
1225 UnboundedGridRange2Ds=list
1226 _plural_types.append(
"UnboundedGridRange2Ds")
1227 _value_types.append(
"UnboundedGridRangeD<2>")
1230 UnboundedGridRange3Ds=list
1231 _plural_types.append(
"UnboundedGridRange3Ds")
1232 _value_types.append(
"UnboundedGridRangeD<3>")
1235 UnboundedGridRange4Ds=list
1236 _plural_types.append(
"UnboundedGridRange4Ds")
1237 _value_types.append(
"UnboundedGridRangeD<4>")
1240 UnboundedGridRange5Ds=list
1241 _plural_types.append(
"UnboundedGridRange5Ds")
1242 _value_types.append(
"UnboundedGridRangeD<5>")
1245 UnboundedGridRange6Ds=list
1246 _plural_types.append(
"UnboundedGridRange6Ds")
1247 _value_types.append(
"UnboundedGridRangeD<6>")
1250 UnboundedGridRangeKDs=list
1251 _plural_types.append(
"UnboundedGridRangeKDs")
1252 _value_types.append(
"UnboundedGridRangeKD")
1255 UnboundedGridRangeKDs=list
1256 _plural_types.append(
"UnboundedGridRangeKDs")
1257 _value_types.append(
"UnboundedGridRangeD<-1>")
1261 _plural_types.append(
"LinearFit2Ds")
1262 _value_types.append(
"LinearFit2D")
1265 ParabolicFit2Ds=list
1266 _plural_types.append(
"ParabolicFit2Ds")
1267 _value_types.append(
"ParabolicFit2D")
1271 _plural_types.append(
"FixedXYZs")
1272 _value_types.append(
"FixedXYZ")
1274 class _GeometricPrimitive1D(object):
1275 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1276 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1278 def __init__(self, *args, **kwargs):
1279 raise AttributeError(
"No constructor defined")
1280 __repr__ = _swig_repr
1281 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1282 __del__ =
lambda self:
None
1283 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1284 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1286 class _GeometricPrimitive2D(object):
1287 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1288 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1290 def __init__(self, *args, **kwargs):
1291 raise AttributeError(
"No constructor defined")
1292 __repr__ = _swig_repr
1293 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1294 __del__ =
lambda self:
None
1295 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1296 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1298 class _GeometricPrimitive3D(object):
1299 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1302 def __init__(self, *args, **kwargs):
1303 raise AttributeError(
"No constructor defined")
1304 __repr__ = _swig_repr
1305 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1306 __del__ =
lambda self:
None
1307 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1308 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1310 class _GeometricPrimitive4D(object):
1311 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1314 def __init__(self, *args, **kwargs):
1315 raise AttributeError(
"No constructor defined")
1316 __repr__ = _swig_repr
1317 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1318 __del__ =
lambda self:
None
1319 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1320 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1322 class _GeometricPrimitive5D(object):
1323 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1326 def __init__(self, *args, **kwargs):
1327 raise AttributeError(
"No constructor defined")
1328 __repr__ = _swig_repr
1329 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1330 __del__ =
lambda self:
None
1331 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1332 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1334 class _GeometricPrimitive6D(object):
1335 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1338 def __init__(self, *args, **kwargs):
1339 raise AttributeError(
"No constructor defined")
1340 __repr__ = _swig_repr
1341 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1342 __del__ =
lambda self:
None
1343 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1344 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1346 class _GeometricPrimitiveKD(object):
1347 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1348 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1350 def __init__(self, *args, **kwargs):
1351 raise AttributeError(
"No constructor defined")
1352 __repr__ = _swig_repr
1353 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1354 __del__ =
lambda self:
None
1355 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1356 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1360 _plural_types.append(
"Vector1Ds")
1361 _value_types.append(
"Vector1D")
1365 _plural_types.append(
"Vector2Ds")
1366 _value_types.append(
"Vector2D")
1370 _plural_types.append(
"Vector3Ds")
1371 _value_types.append(
"Vector3D")
1375 _plural_types.append(
"Vector4Ds")
1376 _value_types.append(
"Vector4D")
1380 _plural_types.append(
"Vector5Ds")
1381 _value_types.append(
"Vector5D")
1385 _plural_types.append(
"Vector6Ds")
1386 _value_types.append(
"Vector6D")
1390 _plural_types.append(
"Vector1Ds")
1391 _value_types.append(
"VectorD<1>")
1395 _plural_types.append(
"Vector2Ds")
1396 _value_types.append(
"VectorD<2>")
1400 _plural_types.append(
"Vector3Ds")
1401 _value_types.append(
"VectorD<3>")
1405 _plural_types.append(
"Vector4Ds")
1406 _value_types.append(
"VectorD<4>")
1410 _plural_types.append(
"Vector5Ds")
1411 _value_types.append(
"VectorD<5>")
1415 _plural_types.append(
"Vector6Ds")
1416 _value_types.append(
"VectorD<6>")
1420 _plural_types.append(
"VectorKDs")
1421 _value_types.append(
"VectorKD")
1425 _plural_types.append(
"VectorKDs")
1426 _value_types.append(
"VectorD<-1>")
1428 class _VectorBaseKD(_GeometricPrimitiveKD):
1429 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1430 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1431 __repr__ = _swig_repr
1434 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1435 this = _IMP_algebra.new__VectorBaseKD()
1437 self.this.append(this)
1441 def get_scalar_product(self, o):
1442 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1443 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1446 def get_squared_magnitude(self):
1447 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1448 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1451 def get_magnitude(self):
1452 """get_magnitude(_VectorBaseKD self) -> double"""
1453 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1456 def __mul__(self, o):
1457 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1458 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1461 def __iadd__(self, o):
1462 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1463 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1466 def __isub__(self, o):
1467 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1468 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1471 def __idiv__(self, f):
1472 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1473 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1476 def __imul__(self, f):
1477 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1478 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1481 def show(self, *args):
1483 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1484 show(_VectorBaseKD self, _ostream out, std::string delim)
1485 show(_VectorBaseKD self, _ostream out)
1486 show(_VectorBaseKD self)
1488 return _IMP_algebra._VectorBaseKD_show(self, *args)
1491 def get_dimension(self):
1492 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1493 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1495 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1496 __del__ =
lambda self:
None
1497 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1498 _VectorBaseKD_swigregister(_VectorBaseKD)
1500 class _VectorBase1D(_GeometricPrimitive1D):
1501 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1503 __repr__ = _swig_repr
1506 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1507 this = _IMP_algebra.new__VectorBase1D()
1509 self.this.append(this)
1513 def get_scalar_product(self, o):
1514 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1515 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1518 def get_squared_magnitude(self):
1519 """get_squared_magnitude(_VectorBase1D self) -> double"""
1520 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1523 def get_magnitude(self):
1524 """get_magnitude(_VectorBase1D self) -> double"""
1525 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1528 def __mul__(self, o):
1529 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1530 return _IMP_algebra._VectorBase1D___mul__(self, o)
1533 def __iadd__(self, o):
1534 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1535 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1538 def __isub__(self, o):
1539 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1540 return _IMP_algebra._VectorBase1D___isub__(self, o)
1543 def __idiv__(self, f):
1544 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1545 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1548 def __imul__(self, f):
1549 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1550 return _IMP_algebra._VectorBase1D___imul__(self, f)
1553 def show(self, *args):
1555 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1556 show(_VectorBase1D self, _ostream out, std::string delim)
1557 show(_VectorBase1D self, _ostream out)
1558 show(_VectorBase1D self)
1560 return _IMP_algebra._VectorBase1D_show(self, *args)
1563 def get_dimension(self):
1564 """get_dimension(_VectorBase1D self) -> unsigned int"""
1565 return _IMP_algebra._VectorBase1D_get_dimension(self)
1567 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1568 __del__ =
lambda self:
None
1569 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1570 _VectorBase1D_swigregister(_VectorBase1D)
1572 class _VectorBase2D(_GeometricPrimitive2D):
1573 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1574 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1575 __repr__ = _swig_repr
1578 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1579 this = _IMP_algebra.new__VectorBase2D()
1581 self.this.append(this)
1585 def get_scalar_product(self, o):
1586 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1587 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1590 def get_squared_magnitude(self):
1591 """get_squared_magnitude(_VectorBase2D self) -> double"""
1592 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1595 def get_magnitude(self):
1596 """get_magnitude(_VectorBase2D self) -> double"""
1597 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1600 def __mul__(self, o):
1601 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1602 return _IMP_algebra._VectorBase2D___mul__(self, o)
1605 def __iadd__(self, o):
1606 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1607 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1610 def __isub__(self, o):
1611 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1612 return _IMP_algebra._VectorBase2D___isub__(self, o)
1615 def __idiv__(self, f):
1616 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1617 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1620 def __imul__(self, f):
1621 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1622 return _IMP_algebra._VectorBase2D___imul__(self, f)
1625 def show(self, *args):
1627 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1628 show(_VectorBase2D self, _ostream out, std::string delim)
1629 show(_VectorBase2D self, _ostream out)
1630 show(_VectorBase2D self)
1632 return _IMP_algebra._VectorBase2D_show(self, *args)
1635 def get_dimension(self):
1636 """get_dimension(_VectorBase2D self) -> unsigned int"""
1637 return _IMP_algebra._VectorBase2D_get_dimension(self)
1639 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1640 __del__ =
lambda self:
None
1641 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1642 _VectorBase2D_swigregister(_VectorBase2D)
1644 class _VectorBase3D(_GeometricPrimitive3D):
1645 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1646 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1647 __repr__ = _swig_repr
1650 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1651 this = _IMP_algebra.new__VectorBase3D()
1653 self.this.append(this)
1657 def get_scalar_product(self, o):
1658 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1659 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1662 def get_squared_magnitude(self):
1663 """get_squared_magnitude(_VectorBase3D self) -> double"""
1664 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1667 def get_magnitude(self):
1668 """get_magnitude(_VectorBase3D self) -> double"""
1669 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1672 def __mul__(self, o):
1673 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1674 return _IMP_algebra._VectorBase3D___mul__(self, o)
1677 def __iadd__(self, o):
1678 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1679 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1682 def __isub__(self, o):
1683 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1684 return _IMP_algebra._VectorBase3D___isub__(self, o)
1687 def __idiv__(self, f):
1688 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1689 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1692 def __imul__(self, f):
1693 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1694 return _IMP_algebra._VectorBase3D___imul__(self, f)
1697 def show(self, *args):
1699 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1700 show(_VectorBase3D self, _ostream out, std::string delim)
1701 show(_VectorBase3D self, _ostream out)
1702 show(_VectorBase3D self)
1704 return _IMP_algebra._VectorBase3D_show(self, *args)
1707 def get_dimension(self):
1708 """get_dimension(_VectorBase3D self) -> unsigned int"""
1709 return _IMP_algebra._VectorBase3D_get_dimension(self)
1711 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1712 __del__ =
lambda self:
None
1713 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1714 _VectorBase3D_swigregister(_VectorBase3D)
1716 class _VectorBase4D(_GeometricPrimitive4D):
1717 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1719 __repr__ = _swig_repr
1722 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1723 this = _IMP_algebra.new__VectorBase4D()
1725 self.this.append(this)
1729 def get_scalar_product(self, o):
1730 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1731 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1734 def get_squared_magnitude(self):
1735 """get_squared_magnitude(_VectorBase4D self) -> double"""
1736 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1739 def get_magnitude(self):
1740 """get_magnitude(_VectorBase4D self) -> double"""
1741 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1744 def __mul__(self, o):
1745 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1746 return _IMP_algebra._VectorBase4D___mul__(self, o)
1749 def __iadd__(self, o):
1750 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1751 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1754 def __isub__(self, o):
1755 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1756 return _IMP_algebra._VectorBase4D___isub__(self, o)
1759 def __idiv__(self, f):
1760 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1761 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1764 def __imul__(self, f):
1765 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1766 return _IMP_algebra._VectorBase4D___imul__(self, f)
1769 def show(self, *args):
1771 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1772 show(_VectorBase4D self, _ostream out, std::string delim)
1773 show(_VectorBase4D self, _ostream out)
1774 show(_VectorBase4D self)
1776 return _IMP_algebra._VectorBase4D_show(self, *args)
1779 def get_dimension(self):
1780 """get_dimension(_VectorBase4D self) -> unsigned int"""
1781 return _IMP_algebra._VectorBase4D_get_dimension(self)
1783 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1784 __del__ =
lambda self:
None
1785 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1786 _VectorBase4D_swigregister(_VectorBase4D)
1788 class _VectorBase5D(_GeometricPrimitive5D):
1789 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1791 __repr__ = _swig_repr
1794 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1795 this = _IMP_algebra.new__VectorBase5D()
1797 self.this.append(this)
1801 def get_scalar_product(self, o):
1802 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1803 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1806 def get_squared_magnitude(self):
1807 """get_squared_magnitude(_VectorBase5D self) -> double"""
1808 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1811 def get_magnitude(self):
1812 """get_magnitude(_VectorBase5D self) -> double"""
1813 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1816 def __mul__(self, o):
1817 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1818 return _IMP_algebra._VectorBase5D___mul__(self, o)
1821 def __iadd__(self, o):
1822 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1823 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1826 def __isub__(self, o):
1827 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1828 return _IMP_algebra._VectorBase5D___isub__(self, o)
1831 def __idiv__(self, f):
1832 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1833 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1836 def __imul__(self, f):
1837 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1838 return _IMP_algebra._VectorBase5D___imul__(self, f)
1841 def show(self, *args):
1843 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1844 show(_VectorBase5D self, _ostream out, std::string delim)
1845 show(_VectorBase5D self, _ostream out)
1846 show(_VectorBase5D self)
1848 return _IMP_algebra._VectorBase5D_show(self, *args)
1851 def get_dimension(self):
1852 """get_dimension(_VectorBase5D self) -> unsigned int"""
1853 return _IMP_algebra._VectorBase5D_get_dimension(self)
1855 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1856 __del__ =
lambda self:
None
1857 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1858 _VectorBase5D_swigregister(_VectorBase5D)
1860 class _VectorBase6D(_GeometricPrimitive6D):
1861 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1862 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1863 __repr__ = _swig_repr
1866 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1867 this = _IMP_algebra.new__VectorBase6D()
1869 self.this.append(this)
1873 def get_scalar_product(self, o):
1874 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1875 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1878 def get_squared_magnitude(self):
1879 """get_squared_magnitude(_VectorBase6D self) -> double"""
1880 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1883 def get_magnitude(self):
1884 """get_magnitude(_VectorBase6D self) -> double"""
1885 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1888 def __mul__(self, o):
1889 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1890 return _IMP_algebra._VectorBase6D___mul__(self, o)
1893 def __iadd__(self, o):
1894 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1895 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1898 def __isub__(self, o):
1899 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1900 return _IMP_algebra._VectorBase6D___isub__(self, o)
1903 def __idiv__(self, f):
1904 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1905 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1908 def __imul__(self, f):
1909 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1910 return _IMP_algebra._VectorBase6D___imul__(self, f)
1913 def show(self, *args):
1915 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1916 show(_VectorBase6D self, _ostream out, std::string delim)
1917 show(_VectorBase6D self, _ostream out)
1918 show(_VectorBase6D self)
1920 return _IMP_algebra._VectorBase6D_show(self, *args)
1923 def get_dimension(self):
1924 """get_dimension(_VectorBase6D self) -> unsigned int"""
1925 return _IMP_algebra._VectorBase6D_get_dimension(self)
1927 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1928 __del__ =
lambda self:
None
1929 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1930 _VectorBase6D_swigregister(_VectorBase6D)
1934 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1935 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1938 """get_zero_vector_kd(int D) -> VectorKD"""
1939 return _IMP_algebra.get_zero_vector_kd(D)
1943 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1944 get_ones_vector_kd(unsigned int D) -> VectorKD
1946 return _IMP_algebra.get_ones_vector_kd(D, v)
1949 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1950 return _IMP_algebra.get_vector_product(p1, p2)
1953 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1954 return _IMP_algebra.get_orthogonal_vector(v)
1957 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1958 return _IMP_algebra.get_centroid(ps)
1961 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1962 return _IMP_algebra.get_radius_of_gyration(ps)
1963 class Rotation3D(_GeometricPrimitive3D):
1964 """Proxy of C++ IMP::algebra::Rotation3D class"""
1965 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1967 def __init__(self, *args):
1969 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1970 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1971 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1972 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1973 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1975 this = _IMP_algebra.new_Rotation3D(*args)
1977 self.this.append(this)
1980 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1981 __del__ =
lambda self:
None
1983 def get_rotated_no_cache(self, o):
1984 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1985 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1988 def get_rotated_one_coordinate_no_cache(self, o, coord):
1989 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1990 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1993 def get_rotated(self, o):
1994 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1995 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1998 def get_rotated_adjoint(self, v, Dw):
1999 """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
2000 return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
2003 def get_rotated_one_coordinate(self, o, coord):
2004 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
2005 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
2008 def get_rotation_matrix_row(self, i):
2009 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
2010 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
2013 def show(self, *args):
2015 show(Rotation3D self, _ostream out)
2016 show(Rotation3D self)
2018 return _IMP_algebra.Rotation3D_show(self, *args)
2021 def get_inverse(self):
2022 """get_inverse(Rotation3D self) -> Rotation3D"""
2023 return _IMP_algebra.Rotation3D_get_inverse(self)
2026 def get_quaternion(self):
2027 """get_quaternion(Rotation3D self) -> Vector4D"""
2028 return _IMP_algebra.Rotation3D_get_quaternion(self)
2031 def __mul__(self, *args):
2033 __mul__(Rotation3D self, Vector3D v) -> Vector3D
2034 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
2036 return _IMP_algebra.Rotation3D___mul__(self, *args)
2039 def __div__(self, r):
2040 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
2041 return _IMP_algebra.Rotation3D___div__(self, r)
2044 def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
2046 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
2047 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2049 return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
2052 def get_derivative(self, v, i, wrt_unnorm=True):
2054 get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
2055 get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2057 return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
2060 def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
2062 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2063 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2065 return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2068 def get_gradient(self, v, wrt_unnorm=True):
2070 get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2071 get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2073 return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2076 def get_is_valid(self):
2077 """get_is_valid(Rotation3D self) -> bool"""
2078 return _IMP_algebra.Rotation3D_get_is_valid(self)
2082 """__str__(Rotation3D self) -> std::string"""
2083 return _IMP_algebra.Rotation3D___str__(self)
2087 """__repr__(Rotation3D self) -> std::string"""
2088 return _IMP_algebra.Rotation3D___repr__(self)
2091 def _get_as_binary(self):
2092 """_get_as_binary(Rotation3D self) -> PyObject *"""
2093 return _IMP_algebra.Rotation3D__get_as_binary(self)
2096 def _set_from_binary(self, p):
2097 """_set_from_binary(Rotation3D self, PyObject * p)"""
2098 return _IMP_algebra.Rotation3D__set_from_binary(self, p)
2101 def __getstate__(self):
2102 p = self._get_as_binary()
2103 if len(self.__dict__) > 1:
2104 d = self.__dict__.copy()
2109 def __setstate__(self, p):
2110 if not hasattr(self,
'this'):
2112 if isinstance(p, tuple):
2114 self.__dict__.update(d)
2115 return self._set_from_binary(p)
2118 __truediv__ = __div__
2120 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2121 Rotation3D_swigregister(Rotation3D)
2126 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2127 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2129 return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2131 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2133 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2134 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2136 return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2140 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2141 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2143 return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2145 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2147 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2148 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2150 return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2153 """get_identity_rotation_3d() -> Rotation3D"""
2154 return _IMP_algebra.get_identity_rotation_3d()
2157 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2158 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2161 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2162 return _IMP_algebra.get_rotation_about_axis(axis, angle)
2165 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2166 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2170 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2171 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2173 return _IMP_algebra.get_rotation_from_matrix(*args)
2177 get_random_rotation_3d() -> Rotation3D
2178 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2180 return _IMP_algebra.get_random_rotation_3d(*args)
2183 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2184 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2187 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2188 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2191 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2192 return _IMP_algebra.get_rotation_from_vector4d(v)
2195 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2196 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2199 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2200 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2203 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2204 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2205 class FixedXYZ(_GeometricPrimitive3D):
2206 """Proxy of C++ IMP::algebra::FixedXYZ class"""
2207 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2209 def __init__(self, *args):
2211 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2212 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2214 this = _IMP_algebra.new_FixedXYZ(*args)
2216 self.this.append(this)
2221 """get_x(FixedXYZ self) -> double"""
2222 return _IMP_algebra.FixedXYZ_get_x(self)
2226 """get_y(FixedXYZ self) -> double"""
2227 return _IMP_algebra.FixedXYZ_get_y(self)
2231 """get_z(FixedXYZ self) -> double"""
2232 return _IMP_algebra.FixedXYZ_get_z(self)
2235 def show(self, *args):
2237 show(FixedXYZ self, _ostream out)
2240 return _IMP_algebra.FixedXYZ_show(self, *args)
2244 """__str__(FixedXYZ self) -> std::string"""
2245 return _IMP_algebra.FixedXYZ___str__(self)
2249 """__repr__(FixedXYZ self) -> std::string"""
2250 return _IMP_algebra.FixedXYZ___repr__(self)
2253 def _get_as_binary(self):
2254 """_get_as_binary(FixedXYZ self) -> PyObject *"""
2255 return _IMP_algebra.FixedXYZ__get_as_binary(self)
2258 def _set_from_binary(self, p):
2259 """_set_from_binary(FixedXYZ self, PyObject * p)"""
2260 return _IMP_algebra.FixedXYZ__set_from_binary(self, p)
2263 def __getstate__(self):
2264 p = self._get_as_binary()
2265 if len(self.__dict__) > 1:
2266 d = self.__dict__.copy()
2271 def __setstate__(self, p):
2272 if not hasattr(self,
'this'):
2274 if isinstance(p, tuple):
2276 self.__dict__.update(d)
2277 return self._set_from_binary(p)
2279 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2280 __del__ =
lambda self:
None
2281 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2282 FixedXYZ_swigregister(FixedXYZ)
2286 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2287 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2290 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2291 return _IMP_algebra.get_interpolated(a, b, f)
2294 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2295 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2298 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2299 return _IMP_algebra.get_axis_and_angle(rot)
2302 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2303 return _IMP_algebra.get_unit_bounding_box_kd(d)
2306 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2307 return _IMP_algebra.get_cube_kd(d, radius)
2310 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2311 return _IMP_algebra.get_edges(arg1)
2312 class Transformation3D(_GeometricPrimitive3D):
2313 """Proxy of C++ IMP::algebra::Transformation3D class"""
2314 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2316 def __init__(self, *args):
2318 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2319 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2320 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2321 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2323 this = _IMP_algebra.new_Transformation3D(*args)
2325 self.this.append(this)
2328 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2329 __del__ =
lambda self:
None
2331 def get_transformed(self, o):
2332 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2333 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2336 def get_transformed_adjoint(self, v, Dw):
2337 """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2338 return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2341 def __mul__(self, *args):
2343 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2344 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2346 return _IMP_algebra.Transformation3D___mul__(self, *args)
2349 def __div__(self, b):
2350 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2351 return _IMP_algebra.Transformation3D___div__(self, b)
2354 def get_rotation(self):
2355 """get_rotation(Transformation3D self) -> Rotation3D"""
2356 return _IMP_algebra.Transformation3D_get_rotation(self)
2359 def get_translation(self):
2360 """get_translation(Transformation3D self) -> Vector3D"""
2361 return _IMP_algebra.Transformation3D_get_translation(self)
2364 def show(self, *args):
2366 show(Transformation3D self, _ostream out)
2367 show(Transformation3D self)
2369 return _IMP_algebra.Transformation3D_show(self, *args)
2372 def get_inverse(self):
2373 """get_inverse(Transformation3D self) -> Transformation3D"""
2374 return _IMP_algebra.Transformation3D_get_inverse(self)
2377 def get_is_valid(self):
2378 """get_is_valid(Transformation3D self) -> bool"""
2379 return _IMP_algebra.Transformation3D_get_is_valid(self)
2383 """__str__(Transformation3D self) -> std::string"""
2384 return _IMP_algebra.Transformation3D___str__(self)
2388 """__repr__(Transformation3D self) -> std::string"""
2389 return _IMP_algebra.Transformation3D___repr__(self)
2392 def _get_as_binary(self):
2393 """_get_as_binary(Transformation3D self) -> PyObject *"""
2394 return _IMP_algebra.Transformation3D__get_as_binary(self)
2397 def _set_from_binary(self, p):
2398 """_set_from_binary(Transformation3D self, PyObject * p)"""
2399 return _IMP_algebra.Transformation3D__set_from_binary(self, p)
2402 def __getstate__(self):
2403 p = self._get_as_binary()
2404 if len(self.__dict__) > 1:
2405 d = self.__dict__.copy()
2410 def __setstate__(self, p):
2411 if not hasattr(self,
'this'):
2413 if isinstance(p, tuple):
2415 self.__dict__.update(d)
2416 return self._set_from_binary(p)
2419 __truediv__ = __div__
2421 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2422 Transformation3D_swigregister(Transformation3D)
2426 """get_identity_transformation_3d() -> Transformation3D"""
2427 return _IMP_algebra.get_identity_transformation_3d()
2431 compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2432 compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2434 return _IMP_algebra.compose_adjoint(*args)
2437 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2438 return _IMP_algebra.get_transformation_3d(t2d)
2442 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2443 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2444 get_random_local_transformation(Vector3D origin) -> Transformation3D
2446 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2447 class Rotation2D(_GeometricPrimitive2D):
2448 """Proxy of C++ IMP::algebra::Rotation2D class"""
2449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2451 def __init__(self, *args):
2453 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2454 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2456 this = _IMP_algebra.new_Rotation2D(*args)
2458 self.this.append(this)
2462 def get_rotated(self, *args):
2464 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2465 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2467 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2470 def get_inverse(self):
2471 """get_inverse(Rotation2D self) -> Rotation2D"""
2472 return _IMP_algebra.Rotation2D_get_inverse(self)
2475 def set_angle(self, angle):
2476 """set_angle(Rotation2D self, double angle)"""
2477 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2481 """get_angle(Rotation2D self) -> double"""
2482 return _IMP_algebra.Rotation2D_get_angle(self)
2485 def show(self, *args):
2487 show(Rotation2D self, _ostream out)
2488 show(Rotation2D self)
2490 return _IMP_algebra.Rotation2D_show(self, *args)
2494 """__str__(Rotation2D self) -> std::string"""
2495 return _IMP_algebra.Rotation2D___str__(self)
2499 """__repr__(Rotation2D self) -> std::string"""
2500 return _IMP_algebra.Rotation2D___repr__(self)
2503 def _get_as_binary(self):
2504 """_get_as_binary(Rotation2D self) -> PyObject *"""
2505 return _IMP_algebra.Rotation2D__get_as_binary(self)
2508 def _set_from_binary(self, p):
2509 """_set_from_binary(Rotation2D self, PyObject * p)"""
2510 return _IMP_algebra.Rotation2D__set_from_binary(self, p)
2513 def __getstate__(self):
2514 p = self._get_as_binary()
2515 if len(self.__dict__) > 1:
2516 d = self.__dict__.copy()
2521 def __setstate__(self, p):
2522 if not hasattr(self,
'this'):
2524 if isinstance(p, tuple):
2526 self.__dict__.update(d)
2527 return self._set_from_binary(p)
2529 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2530 __del__ =
lambda self:
None
2531 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2532 Rotation2D_swigregister(Rotation2D)
2536 """get_identity_rotation_2d() -> Rotation2D"""
2537 return _IMP_algebra.get_identity_rotation_2d()
2540 """get_random_rotation_2d() -> Rotation2D"""
2541 return _IMP_algebra.get_random_rotation_2d()
2544 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2545 return _IMP_algebra.get_rotation_to_x_axis(v)
2546 class Transformation2D(_GeometricPrimitive2D):
2547 """Proxy of C++ IMP::algebra::Transformation2D class"""
2548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2550 def __init__(self, *args):
2552 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2553 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2554 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2555 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2557 this = _IMP_algebra.new_Transformation2D(*args)
2559 self.this.append(this)
2562 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2563 __del__ =
lambda self:
None
2565 def get_transformed(self, o):
2566 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2567 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2570 def __mul__(self, *args):
2572 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2573 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2575 return _IMP_algebra.Transformation2D___mul__(self, *args)
2578 def __div__(self, b):
2579 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2580 return _IMP_algebra.Transformation2D___div__(self, b)
2583 def get_rotation(self):
2584 """get_rotation(Transformation2D self) -> Rotation2D"""
2585 return _IMP_algebra.Transformation2D_get_rotation(self)
2588 def set_rotation(self, angle):
2589 """set_rotation(Transformation2D self, double angle)"""
2590 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2593 def get_translation(self):
2594 """get_translation(Transformation2D self) -> Vector2D"""
2595 return _IMP_algebra.Transformation2D_get_translation(self)
2598 def set_translation(self, v):
2599 """set_translation(Transformation2D self, Vector2D v)"""
2600 return _IMP_algebra.Transformation2D_set_translation(self, v)
2603 def show(self, *args):
2605 show(Transformation2D self, _ostream out)
2606 show(Transformation2D self)
2608 return _IMP_algebra.Transformation2D_show(self, *args)
2611 def get_inverse(self):
2612 """get_inverse(Transformation2D self) -> Transformation2D"""
2613 return _IMP_algebra.Transformation2D_get_inverse(self)
2617 """__str__(Transformation2D self) -> std::string"""
2618 return _IMP_algebra.Transformation2D___str__(self)
2622 """__repr__(Transformation2D self) -> std::string"""
2623 return _IMP_algebra.Transformation2D___repr__(self)
2626 def _get_as_binary(self):
2627 """_get_as_binary(Transformation2D self) -> PyObject *"""
2628 return _IMP_algebra.Transformation2D__get_as_binary(self)
2631 def _set_from_binary(self, p):
2632 """_set_from_binary(Transformation2D self, PyObject * p)"""
2633 return _IMP_algebra.Transformation2D__set_from_binary(self, p)
2636 def __getstate__(self):
2637 p = self._get_as_binary()
2638 if len(self.__dict__) > 1:
2639 d = self.__dict__.copy()
2644 def __setstate__(self, p):
2645 if not hasattr(self,
'this'):
2647 if isinstance(p, tuple):
2649 self.__dict__.update(d)
2650 return self._set_from_binary(p)
2653 __truediv__ = __div__
2655 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2656 Transformation2D_swigregister(Transformation2D)
2660 """get_identity_transformation_2d() -> Transformation2D"""
2661 return _IMP_algebra.get_identity_transformation_2d()
2665 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2666 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2668 return _IMP_algebra.get_rotation_about_point(*args)
2672 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2673 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2674 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2675 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2677 return _IMP_algebra.compose(*args)
2679 def get_unit_sphere_kd(d):
2680 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2681 return _IMP_algebra.get_unit_sphere_kd(d)
2685 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2686 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2688 return _IMP_algebra.get_enclosing_sphere(*args)
2691 """get_ball_radius_from_volume_3d(double volume) -> double"""
2692 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2695 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2696 return _IMP_algebra.get_surface_area_and_volume(ss)
2699 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2700 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2702 def get_triangle_3d(s):
2703 """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2704 return _IMP_algebra.get_triangle_3d(s)
2705 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2706 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class"""
2707 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2709 def __init__(self, *args, **kwargs):
2710 raise AttributeError(
"No constructor defined - class is abstract")
2711 __repr__ = _swig_repr
2713 def get_dimension(self):
2714 """get_dimension(_UnitSimplexBaseKD self) -> int"""
2715 return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2718 def get_barycenter(self):
2719 """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2720 return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2723 def get_contains(self, *args):
2725 get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2726 get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2728 return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2730 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2731 __del__ =
lambda self:
None
2732 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2733 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2735 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2736 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class"""
2737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2739 def __init__(self, *args, **kwargs):
2740 raise AttributeError(
"No constructor defined - class is abstract")
2741 __repr__ = _swig_repr
2743 def get_dimension(self):
2744 """get_dimension(_UnitSimplexBase1D self) -> int"""
2745 return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2748 def get_barycenter(self):
2749 """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2750 return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2753 def get_contains(self, *args):
2755 get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2756 get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2758 return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2760 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2761 __del__ =
lambda self:
None
2762 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2763 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2765 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2766 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class"""
2767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2769 def __init__(self, *args, **kwargs):
2770 raise AttributeError(
"No constructor defined - class is abstract")
2771 __repr__ = _swig_repr
2773 def get_dimension(self):
2774 """get_dimension(_UnitSimplexBase2D self) -> int"""
2775 return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2778 def get_barycenter(self):
2779 """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2780 return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2783 def get_contains(self, *args):
2785 get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2786 get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2788 return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2790 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2791 __del__ =
lambda self:
None
2792 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2793 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2795 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2796 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class"""
2797 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2799 def __init__(self, *args, **kwargs):
2800 raise AttributeError(
"No constructor defined - class is abstract")
2801 __repr__ = _swig_repr
2803 def get_dimension(self):
2804 """get_dimension(_UnitSimplexBase3D self) -> int"""
2805 return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2808 def get_barycenter(self):
2809 """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2810 return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2813 def get_contains(self, *args):
2815 get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2816 get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2818 return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2820 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2821 __del__ =
lambda self:
None
2822 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2823 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2825 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2826 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class"""
2827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2829 def __init__(self, *args, **kwargs):
2830 raise AttributeError(
"No constructor defined - class is abstract")
2831 __repr__ = _swig_repr
2833 def get_dimension(self):
2834 """get_dimension(_UnitSimplexBase4D self) -> int"""
2835 return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2838 def get_barycenter(self):
2839 """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2840 return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2843 def get_contains(self, *args):
2845 get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2846 get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2848 return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2850 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2851 __del__ =
lambda self:
None
2852 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2853 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2855 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2856 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class"""
2857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2859 def __init__(self, *args, **kwargs):
2860 raise AttributeError(
"No constructor defined - class is abstract")
2861 __repr__ = _swig_repr
2863 def get_dimension(self):
2864 """get_dimension(_UnitSimplexBase5D self) -> int"""
2865 return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2868 def get_barycenter(self):
2869 """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2870 return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2873 def get_contains(self, *args):
2875 get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2876 get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2878 return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2880 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2881 __del__ =
lambda self:
None
2882 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2883 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2885 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2886 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class"""
2887 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2889 def __init__(self, *args, **kwargs):
2890 raise AttributeError(
"No constructor defined - class is abstract")
2891 __repr__ = _swig_repr
2893 def get_dimension(self):
2894 """get_dimension(_UnitSimplexBase6D self) -> int"""
2895 return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2898 def get_barycenter(self):
2899 """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2900 return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2903 def get_contains(self, *args):
2905 get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2906 get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2908 return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2910 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2911 __del__ =
lambda self:
None
2912 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2913 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2916 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2920 """get_unit_vector(Vector1D self) -> Vector1D"""
2921 return _IMP_algebra.Vector1D_get_unit_vector(self)
2924 def __div__(self, s):
2925 """__div__(Vector1D self, double s) -> Vector1D"""
2926 return _IMP_algebra.Vector1D___div__(self, s)
2930 """__neg__(Vector1D self) -> Vector1D"""
2931 return _IMP_algebra.Vector1D___neg__(self)
2934 def __sub__(self, o):
2935 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2936 return _IMP_algebra.Vector1D___sub__(self, o)
2939 def __add__(self, ret):
2940 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2941 return _IMP_algebra.Vector1D___add__(self, ret)
2944 def __mul__(self, *args):
2946 __mul__(Vector1D self, double s) -> Vector1D
2947 __mul__(Vector1D self, Vector1D o) -> double
2949 return _IMP_algebra.Vector1D___mul__(self, *args)
2952 def __init__(self, *args):
2954 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2955 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2956 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2958 this = _IMP_algebra.new_Vector1D(*args)
2960 self.this.append(this)
2964 def __iadd__(self, *args):
2965 _IMP_algebra.Vector1D___iadd__(self, *args)
2970 def __imul__(self, *args):
2971 _IMP_algebra.Vector1D___imul__(self, *args)
2976 def __idiv__(self, *args):
2977 _IMP_algebra.Vector1D___idiv__(self, *args)
2982 def __isub__(self, *args):
2983 _IMP_algebra.Vector1D___isub__(self, *args)
2989 """__len__(Vector1D self) -> unsigned int"""
2990 return _IMP_algebra.Vector1D___len__(self)
2993 def __rmul__(self, f):
2994 """__rmul__(Vector1D self, double f) -> Vector1D"""
2995 return _IMP_algebra.Vector1D___rmul__(self, f)
2999 """__str__(Vector1D self) -> std::string"""
3000 return _IMP_algebra.Vector1D___str__(self)
3004 """__repr__(Vector1D self) -> std::string"""
3005 return _IMP_algebra.Vector1D___repr__(self)
3008 def __cmp__(self, arg2):
3009 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
3010 return _IMP_algebra.Vector1D___cmp__(self, arg2)
3013 def __eq__(self, arg2):
3014 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
3015 return _IMP_algebra.Vector1D___eq__(self, arg2)
3018 __truediv__ = __div__
3019 __itruediv__ = __idiv__
3022 def _get_as_binary(self):
3023 """_get_as_binary(Vector1D self) -> PyObject *"""
3024 return _IMP_algebra.Vector1D__get_as_binary(self)
3027 def _set_from_binary(self, p):
3028 """_set_from_binary(Vector1D self, PyObject * p)"""
3029 return _IMP_algebra.Vector1D__set_from_binary(self, p)
3032 def __getstate__(self):
3033 p = self._get_as_binary()
3034 if len(self.__dict__) > 1:
3035 d = self.__dict__.copy()
3040 def __setstate__(self, p):
3041 if not hasattr(self,
'this'):
3043 if isinstance(p, tuple):
3045 self.__dict__.update(d)
3046 return self._set_from_binary(p)
3049 def __getitem__(self, index):
3050 """__getitem__(Vector1D self, int index) -> double"""
3051 return _IMP_algebra.Vector1D___getitem__(self, index)
3054 def __setitem__(self, index, val):
3055 """__setitem__(Vector1D self, int index, double val)"""
3056 return _IMP_algebra.Vector1D___setitem__(self, index, val)
3058 __swig_destroy__ = _IMP_algebra.delete_Vector1D
3059 __del__ =
lambda self:
None
3060 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
3061 Vector1D_swigregister(Vector1D)
3064 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
3065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3068 """get_unit_vector(Vector2D self) -> Vector2D"""
3069 return _IMP_algebra.Vector2D_get_unit_vector(self)
3072 def __div__(self, s):
3073 """__div__(Vector2D self, double s) -> Vector2D"""
3074 return _IMP_algebra.Vector2D___div__(self, s)
3078 """__neg__(Vector2D self) -> Vector2D"""
3079 return _IMP_algebra.Vector2D___neg__(self)
3082 def __sub__(self, o):
3083 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
3084 return _IMP_algebra.Vector2D___sub__(self, o)
3087 def __add__(self, ret):
3088 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
3089 return _IMP_algebra.Vector2D___add__(self, ret)
3092 def __mul__(self, *args):
3094 __mul__(Vector2D self, double s) -> Vector2D
3095 __mul__(Vector2D self, Vector2D o) -> double
3097 return _IMP_algebra.Vector2D___mul__(self, *args)
3100 def __init__(self, *args):
3102 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
3103 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
3104 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
3106 this = _IMP_algebra.new_Vector2D(*args)
3108 self.this.append(this)
3112 def __iadd__(self, *args):
3113 _IMP_algebra.Vector2D___iadd__(self, *args)
3118 def __imul__(self, *args):
3119 _IMP_algebra.Vector2D___imul__(self, *args)
3124 def __idiv__(self, *args):
3125 _IMP_algebra.Vector2D___idiv__(self, *args)
3130 def __isub__(self, *args):
3131 _IMP_algebra.Vector2D___isub__(self, *args)
3137 """__len__(Vector2D self) -> unsigned int"""
3138 return _IMP_algebra.Vector2D___len__(self)
3141 def __rmul__(self, f):
3142 """__rmul__(Vector2D self, double f) -> Vector2D"""
3143 return _IMP_algebra.Vector2D___rmul__(self, f)
3147 """__str__(Vector2D self) -> std::string"""
3148 return _IMP_algebra.Vector2D___str__(self)
3152 """__repr__(Vector2D self) -> std::string"""
3153 return _IMP_algebra.Vector2D___repr__(self)
3156 def __cmp__(self, arg2):
3157 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
3158 return _IMP_algebra.Vector2D___cmp__(self, arg2)
3161 def __eq__(self, arg2):
3162 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
3163 return _IMP_algebra.Vector2D___eq__(self, arg2)
3166 __truediv__ = __div__
3167 __itruediv__ = __idiv__
3170 def _get_as_binary(self):
3171 """_get_as_binary(Vector2D self) -> PyObject *"""
3172 return _IMP_algebra.Vector2D__get_as_binary(self)
3175 def _set_from_binary(self, p):
3176 """_set_from_binary(Vector2D self, PyObject * p)"""
3177 return _IMP_algebra.Vector2D__set_from_binary(self, p)
3180 def __getstate__(self):
3181 p = self._get_as_binary()
3182 if len(self.__dict__) > 1:
3183 d = self.__dict__.copy()
3188 def __setstate__(self, p):
3189 if not hasattr(self,
'this'):
3191 if isinstance(p, tuple):
3193 self.__dict__.update(d)
3194 return self._set_from_binary(p)
3197 def __getitem__(self, index):
3198 """__getitem__(Vector2D self, int index) -> double"""
3199 return _IMP_algebra.Vector2D___getitem__(self, index)
3202 def __setitem__(self, index, val):
3203 """__setitem__(Vector2D self, int index, double val)"""
3204 return _IMP_algebra.Vector2D___setitem__(self, index, val)
3206 __swig_destroy__ = _IMP_algebra.delete_Vector2D
3207 __del__ =
lambda self:
None
3208 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
3209 Vector2D_swigregister(Vector2D)
3212 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
3213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3216 """get_unit_vector(Vector3D self) -> Vector3D"""
3217 return _IMP_algebra.Vector3D_get_unit_vector(self)
3220 def __div__(self, s):
3221 """__div__(Vector3D self, double s) -> Vector3D"""
3222 return _IMP_algebra.Vector3D___div__(self, s)
3226 """__neg__(Vector3D self) -> Vector3D"""
3227 return _IMP_algebra.Vector3D___neg__(self)
3230 def __sub__(self, o):
3231 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
3232 return _IMP_algebra.Vector3D___sub__(self, o)
3235 def __add__(self, ret):
3236 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
3237 return _IMP_algebra.Vector3D___add__(self, ret)
3240 def __mul__(self, *args):
3242 __mul__(Vector3D self, double s) -> Vector3D
3243 __mul__(Vector3D self, Vector3D o) -> double
3245 return _IMP_algebra.Vector3D___mul__(self, *args)
3248 def __init__(self, *args):
3250 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3251 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3252 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3254 this = _IMP_algebra.new_Vector3D(*args)
3256 self.this.append(this)
3260 def __iadd__(self, *args):
3261 _IMP_algebra.Vector3D___iadd__(self, *args)
3266 def __imul__(self, *args):
3267 _IMP_algebra.Vector3D___imul__(self, *args)
3272 def __idiv__(self, *args):
3273 _IMP_algebra.Vector3D___idiv__(self, *args)
3278 def __isub__(self, *args):
3279 _IMP_algebra.Vector3D___isub__(self, *args)
3285 """__len__(Vector3D self) -> unsigned int"""
3286 return _IMP_algebra.Vector3D___len__(self)
3289 def __rmul__(self, f):
3290 """__rmul__(Vector3D self, double f) -> Vector3D"""
3291 return _IMP_algebra.Vector3D___rmul__(self, f)
3295 """__str__(Vector3D self) -> std::string"""
3296 return _IMP_algebra.Vector3D___str__(self)
3300 """__repr__(Vector3D self) -> std::string"""
3301 return _IMP_algebra.Vector3D___repr__(self)
3304 def __cmp__(self, arg2):
3305 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3306 return _IMP_algebra.Vector3D___cmp__(self, arg2)
3309 def __eq__(self, arg2):
3310 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3311 return _IMP_algebra.Vector3D___eq__(self, arg2)
3314 __truediv__ = __div__
3315 __itruediv__ = __idiv__
3318 def _get_as_binary(self):
3319 """_get_as_binary(Vector3D self) -> PyObject *"""
3320 return _IMP_algebra.Vector3D__get_as_binary(self)
3323 def _set_from_binary(self, p):
3324 """_set_from_binary(Vector3D self, PyObject * p)"""
3325 return _IMP_algebra.Vector3D__set_from_binary(self, p)
3328 def __getstate__(self):
3329 p = self._get_as_binary()
3330 if len(self.__dict__) > 1:
3331 d = self.__dict__.copy()
3336 def __setstate__(self, p):
3337 if not hasattr(self,
'this'):
3339 if isinstance(p, tuple):
3341 self.__dict__.update(d)
3342 return self._set_from_binary(p)
3345 def __getitem__(self, index):
3346 """__getitem__(Vector3D self, int index) -> double"""
3347 return _IMP_algebra.Vector3D___getitem__(self, index)
3350 def __setitem__(self, index, val):
3351 """__setitem__(Vector3D self, int index, double val)"""
3352 return _IMP_algebra.Vector3D___setitem__(self, index, val)
3354 __swig_destroy__ = _IMP_algebra.delete_Vector3D
3355 __del__ =
lambda self:
None
3356 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3357 Vector3D_swigregister(Vector3D)
3360 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
3361 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3364 """get_unit_vector(Vector4D self) -> Vector4D"""
3365 return _IMP_algebra.Vector4D_get_unit_vector(self)
3368 def __div__(self, s):
3369 """__div__(Vector4D self, double s) -> Vector4D"""
3370 return _IMP_algebra.Vector4D___div__(self, s)
3374 """__neg__(Vector4D self) -> Vector4D"""
3375 return _IMP_algebra.Vector4D___neg__(self)
3378 def __sub__(self, o):
3379 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3380 return _IMP_algebra.Vector4D___sub__(self, o)
3383 def __add__(self, ret):
3384 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3385 return _IMP_algebra.Vector4D___add__(self, ret)
3388 def __mul__(self, *args):
3390 __mul__(Vector4D self, double s) -> Vector4D
3391 __mul__(Vector4D self, Vector4D o) -> double
3393 return _IMP_algebra.Vector4D___mul__(self, *args)
3396 def __init__(self, *args):
3398 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3399 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3400 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3402 this = _IMP_algebra.new_Vector4D(*args)
3404 self.this.append(this)
3408 def __iadd__(self, *args):
3409 _IMP_algebra.Vector4D___iadd__(self, *args)
3414 def __imul__(self, *args):
3415 _IMP_algebra.Vector4D___imul__(self, *args)
3420 def __idiv__(self, *args):
3421 _IMP_algebra.Vector4D___idiv__(self, *args)
3426 def __isub__(self, *args):
3427 _IMP_algebra.Vector4D___isub__(self, *args)
3433 """__len__(Vector4D self) -> unsigned int"""
3434 return _IMP_algebra.Vector4D___len__(self)
3437 def __rmul__(self, f):
3438 """__rmul__(Vector4D self, double f) -> Vector4D"""
3439 return _IMP_algebra.Vector4D___rmul__(self, f)
3443 """__str__(Vector4D self) -> std::string"""
3444 return _IMP_algebra.Vector4D___str__(self)
3448 """__repr__(Vector4D self) -> std::string"""
3449 return _IMP_algebra.Vector4D___repr__(self)
3452 def __cmp__(self, arg2):
3453 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3454 return _IMP_algebra.Vector4D___cmp__(self, arg2)
3457 def __eq__(self, arg2):
3458 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3459 return _IMP_algebra.Vector4D___eq__(self, arg2)
3462 __truediv__ = __div__
3463 __itruediv__ = __idiv__
3466 def _get_as_binary(self):
3467 """_get_as_binary(Vector4D self) -> PyObject *"""
3468 return _IMP_algebra.Vector4D__get_as_binary(self)
3471 def _set_from_binary(self, p):
3472 """_set_from_binary(Vector4D self, PyObject * p)"""
3473 return _IMP_algebra.Vector4D__set_from_binary(self, p)
3476 def __getstate__(self):
3477 p = self._get_as_binary()
3478 if len(self.__dict__) > 1:
3479 d = self.__dict__.copy()
3484 def __setstate__(self, p):
3485 if not hasattr(self,
'this'):
3487 if isinstance(p, tuple):
3489 self.__dict__.update(d)
3490 return self._set_from_binary(p)
3493 def __getitem__(self, index):
3494 """__getitem__(Vector4D self, int index) -> double"""
3495 return _IMP_algebra.Vector4D___getitem__(self, index)
3498 def __setitem__(self, index, val):
3499 """__setitem__(Vector4D self, int index, double val)"""
3500 return _IMP_algebra.Vector4D___setitem__(self, index, val)
3502 __swig_destroy__ = _IMP_algebra.delete_Vector4D
3503 __del__ =
lambda self:
None
3504 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3505 Vector4D_swigregister(Vector4D)
3508 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
3509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3512 """get_unit_vector(Vector5D self) -> Vector5D"""
3513 return _IMP_algebra.Vector5D_get_unit_vector(self)
3516 def __div__(self, s):
3517 """__div__(Vector5D self, double s) -> Vector5D"""
3518 return _IMP_algebra.Vector5D___div__(self, s)
3522 """__neg__(Vector5D self) -> Vector5D"""
3523 return _IMP_algebra.Vector5D___neg__(self)
3526 def __sub__(self, o):
3527 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3528 return _IMP_algebra.Vector5D___sub__(self, o)
3531 def __add__(self, ret):
3532 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3533 return _IMP_algebra.Vector5D___add__(self, ret)
3536 def __mul__(self, *args):
3538 __mul__(Vector5D self, double s) -> Vector5D
3539 __mul__(Vector5D self, Vector5D o) -> double
3541 return _IMP_algebra.Vector5D___mul__(self, *args)
3544 def __init__(self, *args):
3546 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3547 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3548 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3550 this = _IMP_algebra.new_Vector5D(*args)
3552 self.this.append(this)
3556 def __iadd__(self, *args):
3557 _IMP_algebra.Vector5D___iadd__(self, *args)
3562 def __imul__(self, *args):
3563 _IMP_algebra.Vector5D___imul__(self, *args)
3568 def __idiv__(self, *args):
3569 _IMP_algebra.Vector5D___idiv__(self, *args)
3574 def __isub__(self, *args):
3575 _IMP_algebra.Vector5D___isub__(self, *args)
3581 """__len__(Vector5D self) -> unsigned int"""
3582 return _IMP_algebra.Vector5D___len__(self)
3585 def __rmul__(self, f):
3586 """__rmul__(Vector5D self, double f) -> Vector5D"""
3587 return _IMP_algebra.Vector5D___rmul__(self, f)
3591 """__str__(Vector5D self) -> std::string"""
3592 return _IMP_algebra.Vector5D___str__(self)
3596 """__repr__(Vector5D self) -> std::string"""
3597 return _IMP_algebra.Vector5D___repr__(self)
3600 def __cmp__(self, arg2):
3601 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3602 return _IMP_algebra.Vector5D___cmp__(self, arg2)
3605 def __eq__(self, arg2):
3606 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3607 return _IMP_algebra.Vector5D___eq__(self, arg2)
3610 __truediv__ = __div__
3611 __itruediv__ = __idiv__
3614 def _get_as_binary(self):
3615 """_get_as_binary(Vector5D self) -> PyObject *"""
3616 return _IMP_algebra.Vector5D__get_as_binary(self)
3619 def _set_from_binary(self, p):
3620 """_set_from_binary(Vector5D self, PyObject * p)"""
3621 return _IMP_algebra.Vector5D__set_from_binary(self, p)
3624 def __getstate__(self):
3625 p = self._get_as_binary()
3626 if len(self.__dict__) > 1:
3627 d = self.__dict__.copy()
3632 def __setstate__(self, p):
3633 if not hasattr(self,
'this'):
3635 if isinstance(p, tuple):
3637 self.__dict__.update(d)
3638 return self._set_from_binary(p)
3641 def __getitem__(self, index):
3642 """__getitem__(Vector5D self, int index) -> double"""
3643 return _IMP_algebra.Vector5D___getitem__(self, index)
3646 def __setitem__(self, index, val):
3647 """__setitem__(Vector5D self, int index, double val)"""
3648 return _IMP_algebra.Vector5D___setitem__(self, index, val)
3650 __swig_destroy__ = _IMP_algebra.delete_Vector5D
3651 __del__ =
lambda self:
None
3652 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3653 Vector5D_swigregister(Vector5D)
3656 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
3657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3660 """get_unit_vector(Vector6D self) -> Vector6D"""
3661 return _IMP_algebra.Vector6D_get_unit_vector(self)
3664 def __div__(self, s):
3665 """__div__(Vector6D self, double s) -> Vector6D"""
3666 return _IMP_algebra.Vector6D___div__(self, s)
3670 """__neg__(Vector6D self) -> Vector6D"""
3671 return _IMP_algebra.Vector6D___neg__(self)
3674 def __sub__(self, o):
3675 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3676 return _IMP_algebra.Vector6D___sub__(self, o)
3679 def __add__(self, ret):
3680 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3681 return _IMP_algebra.Vector6D___add__(self, ret)
3684 def __mul__(self, *args):
3686 __mul__(Vector6D self, double s) -> Vector6D
3687 __mul__(Vector6D self, Vector6D o) -> double
3689 return _IMP_algebra.Vector6D___mul__(self, *args)
3692 def __init__(self, *args):
3694 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3695 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3696 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3698 this = _IMP_algebra.new_Vector6D(*args)
3700 self.this.append(this)
3704 def __iadd__(self, *args):
3705 _IMP_algebra.Vector6D___iadd__(self, *args)
3710 def __imul__(self, *args):
3711 _IMP_algebra.Vector6D___imul__(self, *args)
3716 def __idiv__(self, *args):
3717 _IMP_algebra.Vector6D___idiv__(self, *args)
3722 def __isub__(self, *args):
3723 _IMP_algebra.Vector6D___isub__(self, *args)
3729 """__len__(Vector6D self) -> unsigned int"""
3730 return _IMP_algebra.Vector6D___len__(self)
3733 def __rmul__(self, f):
3734 """__rmul__(Vector6D self, double f) -> Vector6D"""
3735 return _IMP_algebra.Vector6D___rmul__(self, f)
3739 """__str__(Vector6D self) -> std::string"""
3740 return _IMP_algebra.Vector6D___str__(self)
3744 """__repr__(Vector6D self) -> std::string"""
3745 return _IMP_algebra.Vector6D___repr__(self)
3748 def __cmp__(self, arg2):
3749 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3750 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3753 def __eq__(self, arg2):
3754 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3755 return _IMP_algebra.Vector6D___eq__(self, arg2)
3758 __truediv__ = __div__
3759 __itruediv__ = __idiv__
3762 def _get_as_binary(self):
3763 """_get_as_binary(Vector6D self) -> PyObject *"""
3764 return _IMP_algebra.Vector6D__get_as_binary(self)
3767 def _set_from_binary(self, p):
3768 """_set_from_binary(Vector6D self, PyObject * p)"""
3769 return _IMP_algebra.Vector6D__set_from_binary(self, p)
3772 def __getstate__(self):
3773 p = self._get_as_binary()
3774 if len(self.__dict__) > 1:
3775 d = self.__dict__.copy()
3780 def __setstate__(self, p):
3781 if not hasattr(self,
'this'):
3783 if isinstance(p, tuple):
3785 self.__dict__.update(d)
3786 return self._set_from_binary(p)
3789 def __getitem__(self, index):
3790 """__getitem__(Vector6D self, int index) -> double"""
3791 return _IMP_algebra.Vector6D___getitem__(self, index)
3794 def __setitem__(self, index, val):
3795 """__setitem__(Vector6D self, int index, double val)"""
3796 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3798 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3799 __del__ =
lambda self:
None
3800 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3801 Vector6D_swigregister(Vector6D)
3804 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
3805 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3808 """get_unit_vector(VectorKD self) -> VectorKD"""
3809 return _IMP_algebra.VectorKD_get_unit_vector(self)
3812 def __div__(self, s):
3813 """__div__(VectorKD self, double s) -> VectorKD"""
3814 return _IMP_algebra.VectorKD___div__(self, s)
3818 """__neg__(VectorKD self) -> VectorKD"""
3819 return _IMP_algebra.VectorKD___neg__(self)
3822 def __sub__(self, o):
3823 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3824 return _IMP_algebra.VectorKD___sub__(self, o)
3827 def __add__(self, ret):
3828 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3829 return _IMP_algebra.VectorKD___add__(self, ret)
3832 def __mul__(self, *args):
3834 __mul__(VectorKD self, double s) -> VectorKD
3835 __mul__(VectorKD self, VectorKD o) -> double
3837 return _IMP_algebra.VectorKD___mul__(self, *args)
3840 def __init__(self, *args):
3842 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3843 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3844 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3845 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3846 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3847 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3848 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3849 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3851 this = _IMP_algebra.new_VectorKD(*args)
3853 self.this.append(this)
3857 def __iadd__(self, *args):
3858 _IMP_algebra.VectorKD___iadd__(self, *args)
3863 def __imul__(self, *args):
3864 _IMP_algebra.VectorKD___imul__(self, *args)
3869 def __idiv__(self, *args):
3870 _IMP_algebra.VectorKD___idiv__(self, *args)
3875 def __isub__(self, *args):
3876 _IMP_algebra.VectorKD___isub__(self, *args)
3882 """__len__(VectorKD self) -> unsigned int"""
3883 return _IMP_algebra.VectorKD___len__(self)
3886 def __rmul__(self, f):
3887 """__rmul__(VectorKD self, double f) -> VectorKD"""
3888 return _IMP_algebra.VectorKD___rmul__(self, f)
3892 """__str__(VectorKD self) -> std::string"""
3893 return _IMP_algebra.VectorKD___str__(self)
3897 """__repr__(VectorKD self) -> std::string"""
3898 return _IMP_algebra.VectorKD___repr__(self)
3901 def __cmp__(self, arg2):
3902 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3903 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3906 def __eq__(self, arg2):
3907 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3908 return _IMP_algebra.VectorKD___eq__(self, arg2)
3911 __truediv__ = __div__
3912 __itruediv__ = __idiv__
3915 def _get_as_binary(self):
3916 """_get_as_binary(VectorKD self) -> PyObject *"""
3917 return _IMP_algebra.VectorKD__get_as_binary(self)
3920 def _set_from_binary(self, p):
3921 """_set_from_binary(VectorKD self, PyObject * p)"""
3922 return _IMP_algebra.VectorKD__set_from_binary(self, p)
3925 def __getstate__(self):
3926 p = self._get_as_binary()
3927 if len(self.__dict__) > 1:
3928 d = self.__dict__.copy()
3933 def __setstate__(self, p):
3934 if not hasattr(self,
'this'):
3936 if isinstance(p, tuple):
3938 self.__dict__.update(d)
3939 return self._set_from_binary(p)
3942 def __getitem__(self, index):
3943 """__getitem__(VectorKD self, int index) -> double"""
3944 return _IMP_algebra.VectorKD___getitem__(self, index)
3947 def __setitem__(self, index, val):
3948 """__setitem__(VectorKD self, int index, double val)"""
3949 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3951 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3952 __del__ =
lambda self:
None
3953 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3954 VectorKD_swigregister(VectorKD)
3957 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3960 def get_dimension(self):
3961 """get_dimension(BoundingBox1D self) -> unsigned int"""
3962 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3965 def get_corner(self, i):
3966 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3967 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3970 def get_contains(self, *args):
3972 get_contains(BoundingBox1D self, Vector1D o) -> bool
3973 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3975 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3978 def show(self, *args):
3980 show(BoundingBox1D self, _ostream out)
3981 show(BoundingBox1D self)
3983 return _IMP_algebra.BoundingBox1D_show(self, *args)
3987 """__str__(BoundingBox1D self) -> std::string"""
3988 return _IMP_algebra.BoundingBox1D___str__(self)
3992 """__repr__(BoundingBox1D self) -> std::string"""
3993 return _IMP_algebra.BoundingBox1D___repr__(self)
3996 def __cmp__(self, arg2):
3997 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3998 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
4001 def __eq__(self, arg2):
4002 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
4003 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
4006 def __init__(self, *args):
4008 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
4009 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
4010 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
4011 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
4012 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
4014 this = _IMP_algebra.new_BoundingBox1D(*args)
4016 self.this.append(this)
4020 def __getitem__(self, index):
4021 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
4022 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
4025 def __iadd__(self, *args):
4026 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
4032 """__len__(BoundingBox1D self) -> unsigned int"""
4033 return _IMP_algebra.BoundingBox1D___len__(self)
4036 def __add__(self, *args):
4038 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
4039 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
4040 __add__(BoundingBox1D self, double o) -> BoundingBox1D
4042 return _IMP_algebra.BoundingBox1D___add__(self, *args)
4045 def _get_as_binary(self):
4046 """_get_as_binary(BoundingBox1D self) -> PyObject *"""
4047 return _IMP_algebra.BoundingBox1D__get_as_binary(self)
4050 def _set_from_binary(self, p):
4051 """_set_from_binary(BoundingBox1D self, PyObject * p)"""
4052 return _IMP_algebra.BoundingBox1D__set_from_binary(self, p)
4055 def __getstate__(self):
4056 p = self._get_as_binary()
4057 if len(self.__dict__) > 1:
4058 d = self.__dict__.copy()
4063 def __setstate__(self, p):
4064 if not hasattr(self,
'this'):
4066 if isinstance(p, tuple):
4068 self.__dict__.update(d)
4069 return self._set_from_binary(p)
4071 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
4072 __del__ =
lambda self:
None
4073 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
4074 BoundingBox1D_swigregister(BoundingBox1D)
4077 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
4078 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4080 def get_dimension(self):
4081 """get_dimension(BoundingBox2D self) -> unsigned int"""
4082 return _IMP_algebra.BoundingBox2D_get_dimension(self)
4085 def get_corner(self, i):
4086 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
4087 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
4090 def get_contains(self, *args):
4092 get_contains(BoundingBox2D self, Vector2D o) -> bool
4093 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
4095 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
4098 def show(self, *args):
4100 show(BoundingBox2D self, _ostream out)
4101 show(BoundingBox2D self)
4103 return _IMP_algebra.BoundingBox2D_show(self, *args)
4107 """__str__(BoundingBox2D self) -> std::string"""
4108 return _IMP_algebra.BoundingBox2D___str__(self)
4112 """__repr__(BoundingBox2D self) -> std::string"""
4113 return _IMP_algebra.BoundingBox2D___repr__(self)
4116 def __cmp__(self, arg2):
4117 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
4118 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
4121 def __eq__(self, arg2):
4122 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
4123 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
4126 def __init__(self, *args):
4128 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
4129 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
4130 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
4131 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
4132 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
4134 this = _IMP_algebra.new_BoundingBox2D(*args)
4136 self.this.append(this)
4140 def __getitem__(self, index):
4141 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
4142 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
4145 def __iadd__(self, *args):
4146 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
4152 """__len__(BoundingBox2D self) -> unsigned int"""
4153 return _IMP_algebra.BoundingBox2D___len__(self)
4156 def __add__(self, *args):
4158 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
4159 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
4160 __add__(BoundingBox2D self, double o) -> BoundingBox2D
4162 return _IMP_algebra.BoundingBox2D___add__(self, *args)
4165 def _get_as_binary(self):
4166 """_get_as_binary(BoundingBox2D self) -> PyObject *"""
4167 return _IMP_algebra.BoundingBox2D__get_as_binary(self)
4170 def _set_from_binary(self, p):
4171 """_set_from_binary(BoundingBox2D self, PyObject * p)"""
4172 return _IMP_algebra.BoundingBox2D__set_from_binary(self, p)
4175 def __getstate__(self):
4176 p = self._get_as_binary()
4177 if len(self.__dict__) > 1:
4178 d = self.__dict__.copy()
4183 def __setstate__(self, p):
4184 if not hasattr(self,
'this'):
4186 if isinstance(p, tuple):
4188 self.__dict__.update(d)
4189 return self._set_from_binary(p)
4191 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
4192 __del__ =
lambda self:
None
4193 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
4194 BoundingBox2D_swigregister(BoundingBox2D)
4197 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
4198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4200 def get_dimension(self):
4201 """get_dimension(BoundingBox3D self) -> unsigned int"""
4202 return _IMP_algebra.BoundingBox3D_get_dimension(self)
4205 def get_corner(self, i):
4206 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
4207 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
4210 def get_contains(self, *args):
4212 get_contains(BoundingBox3D self, Vector3D o) -> bool
4213 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
4215 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
4218 def show(self, *args):
4220 show(BoundingBox3D self, _ostream out)
4221 show(BoundingBox3D self)
4223 return _IMP_algebra.BoundingBox3D_show(self, *args)
4227 """__str__(BoundingBox3D self) -> std::string"""
4228 return _IMP_algebra.BoundingBox3D___str__(self)
4232 """__repr__(BoundingBox3D self) -> std::string"""
4233 return _IMP_algebra.BoundingBox3D___repr__(self)
4236 def __cmp__(self, arg2):
4237 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
4238 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
4241 def __eq__(self, arg2):
4242 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
4243 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
4246 def __init__(self, *args):
4248 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
4249 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
4250 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
4251 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
4252 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
4254 this = _IMP_algebra.new_BoundingBox3D(*args)
4256 self.this.append(this)
4260 def __getitem__(self, index):
4261 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
4262 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
4265 def __iadd__(self, *args):
4266 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
4272 """__len__(BoundingBox3D self) -> unsigned int"""
4273 return _IMP_algebra.BoundingBox3D___len__(self)
4276 def __add__(self, *args):
4278 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
4279 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
4280 __add__(BoundingBox3D self, double o) -> BoundingBox3D
4282 return _IMP_algebra.BoundingBox3D___add__(self, *args)
4285 def _get_as_binary(self):
4286 """_get_as_binary(BoundingBox3D self) -> PyObject *"""
4287 return _IMP_algebra.BoundingBox3D__get_as_binary(self)
4290 def _set_from_binary(self, p):
4291 """_set_from_binary(BoundingBox3D self, PyObject * p)"""
4292 return _IMP_algebra.BoundingBox3D__set_from_binary(self, p)
4295 def __getstate__(self):
4296 p = self._get_as_binary()
4297 if len(self.__dict__) > 1:
4298 d = self.__dict__.copy()
4303 def __setstate__(self, p):
4304 if not hasattr(self,
'this'):
4306 if isinstance(p, tuple):
4308 self.__dict__.update(d)
4309 return self._set_from_binary(p)
4311 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
4312 __del__ =
lambda self:
None
4313 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
4314 BoundingBox3D_swigregister(BoundingBox3D)
4317 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
4318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4320 def get_dimension(self):
4321 """get_dimension(BoundingBox4D self) -> unsigned int"""
4322 return _IMP_algebra.BoundingBox4D_get_dimension(self)
4325 def get_corner(self, i):
4326 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
4327 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
4330 def get_contains(self, *args):
4332 get_contains(BoundingBox4D self, Vector4D o) -> bool
4333 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
4335 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
4338 def show(self, *args):
4340 show(BoundingBox4D self, _ostream out)
4341 show(BoundingBox4D self)
4343 return _IMP_algebra.BoundingBox4D_show(self, *args)
4347 """__str__(BoundingBox4D self) -> std::string"""
4348 return _IMP_algebra.BoundingBox4D___str__(self)
4352 """__repr__(BoundingBox4D self) -> std::string"""
4353 return _IMP_algebra.BoundingBox4D___repr__(self)
4356 def __cmp__(self, arg2):
4357 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
4358 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
4361 def __eq__(self, arg2):
4362 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
4363 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
4366 def __init__(self, *args):
4368 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
4369 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
4370 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
4371 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
4372 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
4374 this = _IMP_algebra.new_BoundingBox4D(*args)
4376 self.this.append(this)
4380 def __getitem__(self, index):
4381 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
4382 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
4385 def __iadd__(self, *args):
4386 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
4392 """__len__(BoundingBox4D self) -> unsigned int"""
4393 return _IMP_algebra.BoundingBox4D___len__(self)
4396 def __add__(self, *args):
4398 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
4399 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
4400 __add__(BoundingBox4D self, double o) -> BoundingBox4D
4402 return _IMP_algebra.BoundingBox4D___add__(self, *args)
4405 def _get_as_binary(self):
4406 """_get_as_binary(BoundingBox4D self) -> PyObject *"""
4407 return _IMP_algebra.BoundingBox4D__get_as_binary(self)
4410 def _set_from_binary(self, p):
4411 """_set_from_binary(BoundingBox4D self, PyObject * p)"""
4412 return _IMP_algebra.BoundingBox4D__set_from_binary(self, p)
4415 def __getstate__(self):
4416 p = self._get_as_binary()
4417 if len(self.__dict__) > 1:
4418 d = self.__dict__.copy()
4423 def __setstate__(self, p):
4424 if not hasattr(self,
'this'):
4426 if isinstance(p, tuple):
4428 self.__dict__.update(d)
4429 return self._set_from_binary(p)
4431 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
4432 __del__ =
lambda self:
None
4433 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
4434 BoundingBox4D_swigregister(BoundingBox4D)
4437 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
4438 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4440 def get_dimension(self):
4441 """get_dimension(BoundingBox5D self) -> unsigned int"""
4442 return _IMP_algebra.BoundingBox5D_get_dimension(self)
4445 def get_corner(self, i):
4446 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
4447 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
4450 def get_contains(self, *args):
4452 get_contains(BoundingBox5D self, Vector5D o) -> bool
4453 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
4455 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
4458 def show(self, *args):
4460 show(BoundingBox5D self, _ostream out)
4461 show(BoundingBox5D self)
4463 return _IMP_algebra.BoundingBox5D_show(self, *args)
4467 """__str__(BoundingBox5D self) -> std::string"""
4468 return _IMP_algebra.BoundingBox5D___str__(self)
4472 """__repr__(BoundingBox5D self) -> std::string"""
4473 return _IMP_algebra.BoundingBox5D___repr__(self)
4476 def __cmp__(self, arg2):
4477 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4478 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4481 def __eq__(self, arg2):
4482 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4483 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4486 def __init__(self, *args):
4488 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4489 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4490 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4491 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4492 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4494 this = _IMP_algebra.new_BoundingBox5D(*args)
4496 self.this.append(this)
4500 def __getitem__(self, index):
4501 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4502 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4505 def __iadd__(self, *args):
4506 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4512 """__len__(BoundingBox5D self) -> unsigned int"""
4513 return _IMP_algebra.BoundingBox5D___len__(self)
4516 def __add__(self, *args):
4518 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4519 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4520 __add__(BoundingBox5D self, double o) -> BoundingBox5D
4522 return _IMP_algebra.BoundingBox5D___add__(self, *args)
4525 def _get_as_binary(self):
4526 """_get_as_binary(BoundingBox5D self) -> PyObject *"""
4527 return _IMP_algebra.BoundingBox5D__get_as_binary(self)
4530 def _set_from_binary(self, p):
4531 """_set_from_binary(BoundingBox5D self, PyObject * p)"""
4532 return _IMP_algebra.BoundingBox5D__set_from_binary(self, p)
4535 def __getstate__(self):
4536 p = self._get_as_binary()
4537 if len(self.__dict__) > 1:
4538 d = self.__dict__.copy()
4543 def __setstate__(self, p):
4544 if not hasattr(self,
'this'):
4546 if isinstance(p, tuple):
4548 self.__dict__.update(d)
4549 return self._set_from_binary(p)
4551 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4552 __del__ =
lambda self:
None
4553 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4554 BoundingBox5D_swigregister(BoundingBox5D)
4557 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
4558 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4560 def get_dimension(self):
4561 """get_dimension(BoundingBox6D self) -> unsigned int"""
4562 return _IMP_algebra.BoundingBox6D_get_dimension(self)
4565 def get_corner(self, i):
4566 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4567 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4570 def get_contains(self, *args):
4572 get_contains(BoundingBox6D self, Vector6D o) -> bool
4573 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4575 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4578 def show(self, *args):
4580 show(BoundingBox6D self, _ostream out)
4581 show(BoundingBox6D self)
4583 return _IMP_algebra.BoundingBox6D_show(self, *args)
4587 """__str__(BoundingBox6D self) -> std::string"""
4588 return _IMP_algebra.BoundingBox6D___str__(self)
4592 """__repr__(BoundingBox6D self) -> std::string"""
4593 return _IMP_algebra.BoundingBox6D___repr__(self)
4596 def __cmp__(self, arg2):
4597 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4598 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4601 def __eq__(self, arg2):
4602 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4603 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4606 def __init__(self, *args):
4608 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4609 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4610 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4611 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4612 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4614 this = _IMP_algebra.new_BoundingBox6D(*args)
4616 self.this.append(this)
4620 def __getitem__(self, index):
4621 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4622 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4625 def __iadd__(self, *args):
4626 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4632 """__len__(BoundingBox6D self) -> unsigned int"""
4633 return _IMP_algebra.BoundingBox6D___len__(self)
4636 def __add__(self, *args):
4638 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4639 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4640 __add__(BoundingBox6D self, double o) -> BoundingBox6D
4642 return _IMP_algebra.BoundingBox6D___add__(self, *args)
4645 def _get_as_binary(self):
4646 """_get_as_binary(BoundingBox6D self) -> PyObject *"""
4647 return _IMP_algebra.BoundingBox6D__get_as_binary(self)
4650 def _set_from_binary(self, p):
4651 """_set_from_binary(BoundingBox6D self, PyObject * p)"""
4652 return _IMP_algebra.BoundingBox6D__set_from_binary(self, p)
4655 def __getstate__(self):
4656 p = self._get_as_binary()
4657 if len(self.__dict__) > 1:
4658 d = self.__dict__.copy()
4663 def __setstate__(self, p):
4664 if not hasattr(self,
'this'):
4666 if isinstance(p, tuple):
4668 self.__dict__.update(d)
4669 return self._set_from_binary(p)
4671 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4672 __del__ =
lambda self:
None
4673 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4674 BoundingBox6D_swigregister(BoundingBox6D)
4677 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
4678 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4680 def get_dimension(self):
4681 """get_dimension(BoundingBoxKD self) -> unsigned int"""
4682 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4685 def get_corner(self, i):
4686 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4687 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4690 def get_contains(self, *args):
4692 get_contains(BoundingBoxKD self, VectorKD o) -> bool
4693 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4695 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4698 def show(self, *args):
4700 show(BoundingBoxKD self, _ostream out)
4701 show(BoundingBoxKD self)
4703 return _IMP_algebra.BoundingBoxKD_show(self, *args)
4707 """__str__(BoundingBoxKD self) -> std::string"""
4708 return _IMP_algebra.BoundingBoxKD___str__(self)
4712 """__repr__(BoundingBoxKD self) -> std::string"""
4713 return _IMP_algebra.BoundingBoxKD___repr__(self)
4716 def __cmp__(self, arg2):
4717 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4718 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4721 def __eq__(self, arg2):
4722 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4723 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4726 def __init__(self, *args):
4728 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4729 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4730 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4731 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4732 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4734 this = _IMP_algebra.new_BoundingBoxKD(*args)
4736 self.this.append(this)
4740 def __getitem__(self, index):
4741 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4742 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4745 def __iadd__(self, *args):
4746 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4752 """__len__(BoundingBoxKD self) -> unsigned int"""
4753 return _IMP_algebra.BoundingBoxKD___len__(self)
4756 def __add__(self, *args):
4758 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4759 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4760 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4762 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4765 def _get_as_binary(self):
4766 """_get_as_binary(BoundingBoxKD self) -> PyObject *"""
4767 return _IMP_algebra.BoundingBoxKD__get_as_binary(self)
4770 def _set_from_binary(self, p):
4771 """_set_from_binary(BoundingBoxKD self, PyObject * p)"""
4772 return _IMP_algebra.BoundingBoxKD__set_from_binary(self, p)
4775 def __getstate__(self):
4776 p = self._get_as_binary()
4777 if len(self.__dict__) > 1:
4778 d = self.__dict__.copy()
4783 def __setstate__(self, p):
4784 if not hasattr(self,
'this'):
4786 if isinstance(p, tuple):
4788 self.__dict__.update(d)
4789 return self._set_from_binary(p)
4791 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4792 __del__ =
lambda self:
None
4793 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4794 BoundingBoxKD_swigregister(BoundingBoxKD)
4796 class Sphere1D(_GeometricPrimitive1D):
4797 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
4798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4800 def __init__(self, *args):
4802 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4803 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4805 this = _IMP_algebra.new_Sphere1D(*args)
4807 self.this.append(this)
4811 def get_radius(self):
4812 """get_radius(Sphere1D self) -> double"""
4813 return _IMP_algebra.Sphere1D_get_radius(self)
4816 def get_center(self):
4817 """get_center(Sphere1D self) -> Vector1D"""
4818 return _IMP_algebra.Sphere1D_get_center(self)
4821 def get_contains(self, *args):
4823 get_contains(Sphere1D self, Sphere1D o) -> bool
4824 get_contains(Sphere1D self, Vector1D p) -> bool
4826 return _IMP_algebra.Sphere1D_get_contains(self, *args)
4829 def show(self, *args):
4831 show(Sphere1D self, _ostream out)
4834 return _IMP_algebra.Sphere1D_show(self, *args)
4837 def get_dimension(self):
4838 """get_dimension(Sphere1D self) -> unsigned int"""
4839 return _IMP_algebra.Sphere1D_get_dimension(self)
4843 """__str__(Sphere1D self) -> std::string"""
4844 return _IMP_algebra.Sphere1D___str__(self)
4848 """__repr__(Sphere1D self) -> std::string"""
4849 return _IMP_algebra.Sphere1D___repr__(self)
4852 def __cmp__(self, arg2):
4853 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4854 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4857 def __eq__(self, arg2):
4858 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4859 return _IMP_algebra.Sphere1D___eq__(self, arg2)
4862 def _get_as_binary(self):
4863 """_get_as_binary(Sphere1D self) -> PyObject *"""
4864 return _IMP_algebra.Sphere1D__get_as_binary(self)
4867 def _set_from_binary(self, p):
4868 """_set_from_binary(Sphere1D self, PyObject * p)"""
4869 return _IMP_algebra.Sphere1D__set_from_binary(self, p)
4872 def __getstate__(self):
4873 p = self._get_as_binary()
4874 if len(self.__dict__) > 1:
4875 d = self.__dict__.copy()
4880 def __setstate__(self, p):
4881 if not hasattr(self,
'this'):
4883 if isinstance(p, tuple):
4885 self.__dict__.update(d)
4886 return self._set_from_binary(p)
4888 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4889 __del__ =
lambda self:
None
4890 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4891 Sphere1D_swigregister(Sphere1D)
4893 class Sphere2D(_GeometricPrimitive2D):
4894 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
4895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4897 def __init__(self, *args):
4899 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4900 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4902 this = _IMP_algebra.new_Sphere2D(*args)
4904 self.this.append(this)
4908 def get_radius(self):
4909 """get_radius(Sphere2D self) -> double"""
4910 return _IMP_algebra.Sphere2D_get_radius(self)
4913 def get_center(self):
4914 """get_center(Sphere2D self) -> Vector2D"""
4915 return _IMP_algebra.Sphere2D_get_center(self)
4918 def get_contains(self, *args):
4920 get_contains(Sphere2D self, Sphere2D o) -> bool
4921 get_contains(Sphere2D self, Vector2D p) -> bool
4923 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4926 def show(self, *args):
4928 show(Sphere2D self, _ostream out)
4931 return _IMP_algebra.Sphere2D_show(self, *args)
4934 def get_dimension(self):
4935 """get_dimension(Sphere2D self) -> unsigned int"""
4936 return _IMP_algebra.Sphere2D_get_dimension(self)
4940 """__str__(Sphere2D self) -> std::string"""
4941 return _IMP_algebra.Sphere2D___str__(self)
4945 """__repr__(Sphere2D self) -> std::string"""
4946 return _IMP_algebra.Sphere2D___repr__(self)
4949 def __cmp__(self, arg2):
4950 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4951 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4954 def __eq__(self, arg2):
4955 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4956 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4959 def _get_as_binary(self):
4960 """_get_as_binary(Sphere2D self) -> PyObject *"""
4961 return _IMP_algebra.Sphere2D__get_as_binary(self)
4964 def _set_from_binary(self, p):
4965 """_set_from_binary(Sphere2D self, PyObject * p)"""
4966 return _IMP_algebra.Sphere2D__set_from_binary(self, p)
4969 def __getstate__(self):
4970 p = self._get_as_binary()
4971 if len(self.__dict__) > 1:
4972 d = self.__dict__.copy()
4977 def __setstate__(self, p):
4978 if not hasattr(self,
'this'):
4980 if isinstance(p, tuple):
4982 self.__dict__.update(d)
4983 return self._set_from_binary(p)
4985 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4986 __del__ =
lambda self:
None
4987 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4988 Sphere2D_swigregister(Sphere2D)
4990 class Sphere3D(_GeometricPrimitive3D):
4991 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
4992 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4994 def __init__(self, *args):
4996 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4997 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4999 this = _IMP_algebra.new_Sphere3D(*args)
5001 self.this.append(this)
5005 def get_radius(self):
5006 """get_radius(Sphere3D self) -> double"""
5007 return _IMP_algebra.Sphere3D_get_radius(self)
5010 def get_center(self):
5011 """get_center(Sphere3D self) -> Vector3D"""
5012 return _IMP_algebra.Sphere3D_get_center(self)
5015 def get_contains(self, *args):
5017 get_contains(Sphere3D self, Sphere3D o) -> bool
5018 get_contains(Sphere3D self, Vector3D p) -> bool
5020 return _IMP_algebra.Sphere3D_get_contains(self, *args)
5023 def show(self, *args):
5025 show(Sphere3D self, _ostream out)
5028 return _IMP_algebra.Sphere3D_show(self, *args)
5031 def get_dimension(self):
5032 """get_dimension(Sphere3D self) -> unsigned int"""
5033 return _IMP_algebra.Sphere3D_get_dimension(self)
5037 """__str__(Sphere3D self) -> std::string"""
5038 return _IMP_algebra.Sphere3D___str__(self)
5042 """__repr__(Sphere3D self) -> std::string"""
5043 return _IMP_algebra.Sphere3D___repr__(self)
5046 def __cmp__(self, arg2):
5047 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
5048 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
5051 def __eq__(self, arg2):
5052 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
5053 return _IMP_algebra.Sphere3D___eq__(self, arg2)
5056 def _get_as_binary(self):
5057 """_get_as_binary(Sphere3D self) -> PyObject *"""
5058 return _IMP_algebra.Sphere3D__get_as_binary(self)
5061 def _set_from_binary(self, p):
5062 """_set_from_binary(Sphere3D self, PyObject * p)"""
5063 return _IMP_algebra.Sphere3D__set_from_binary(self, p)
5066 def __getstate__(self):
5067 p = self._get_as_binary()
5068 if len(self.__dict__) > 1:
5069 d = self.__dict__.copy()
5074 def __setstate__(self, p):
5075 if not hasattr(self,
'this'):
5077 if isinstance(p, tuple):
5079 self.__dict__.update(d)
5080 return self._set_from_binary(p)
5082 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
5083 __del__ =
lambda self:
None
5084 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
5085 Sphere3D_swigregister(Sphere3D)
5087 class Sphere4D(_GeometricPrimitive4D):
5088 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
5089 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5091 def __init__(self, *args):
5093 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
5094 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
5096 this = _IMP_algebra.new_Sphere4D(*args)
5098 self.this.append(this)
5102 def get_radius(self):
5103 """get_radius(Sphere4D self) -> double"""
5104 return _IMP_algebra.Sphere4D_get_radius(self)
5107 def get_center(self):
5108 """get_center(Sphere4D self) -> Vector4D"""
5109 return _IMP_algebra.Sphere4D_get_center(self)
5112 def get_contains(self, *args):
5114 get_contains(Sphere4D self, Sphere4D o) -> bool
5115 get_contains(Sphere4D self, Vector4D p) -> bool
5117 return _IMP_algebra.Sphere4D_get_contains(self, *args)
5120 def show(self, *args):
5122 show(Sphere4D self, _ostream out)
5125 return _IMP_algebra.Sphere4D_show(self, *args)
5128 def get_dimension(self):
5129 """get_dimension(Sphere4D self) -> unsigned int"""
5130 return _IMP_algebra.Sphere4D_get_dimension(self)
5134 """__str__(Sphere4D self) -> std::string"""
5135 return _IMP_algebra.Sphere4D___str__(self)
5139 """__repr__(Sphere4D self) -> std::string"""
5140 return _IMP_algebra.Sphere4D___repr__(self)
5143 def __cmp__(self, arg2):
5144 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
5145 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
5148 def __eq__(self, arg2):
5149 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
5150 return _IMP_algebra.Sphere4D___eq__(self, arg2)
5153 def _get_as_binary(self):
5154 """_get_as_binary(Sphere4D self) -> PyObject *"""
5155 return _IMP_algebra.Sphere4D__get_as_binary(self)
5158 def _set_from_binary(self, p):
5159 """_set_from_binary(Sphere4D self, PyObject * p)"""
5160 return _IMP_algebra.Sphere4D__set_from_binary(self, p)
5163 def __getstate__(self):
5164 p = self._get_as_binary()
5165 if len(self.__dict__) > 1:
5166 d = self.__dict__.copy()
5171 def __setstate__(self, p):
5172 if not hasattr(self,
'this'):
5174 if isinstance(p, tuple):
5176 self.__dict__.update(d)
5177 return self._set_from_binary(p)
5179 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
5180 __del__ =
lambda self:
None
5181 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
5182 Sphere4D_swigregister(Sphere4D)
5184 class Sphere5D(_GeometricPrimitive5D):
5185 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
5186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5188 def __init__(self, *args):
5190 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
5191 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
5193 this = _IMP_algebra.new_Sphere5D(*args)
5195 self.this.append(this)
5199 def get_radius(self):
5200 """get_radius(Sphere5D self) -> double"""
5201 return _IMP_algebra.Sphere5D_get_radius(self)
5204 def get_center(self):
5205 """get_center(Sphere5D self) -> Vector5D"""
5206 return _IMP_algebra.Sphere5D_get_center(self)
5209 def get_contains(self, *args):
5211 get_contains(Sphere5D self, Sphere5D o) -> bool
5212 get_contains(Sphere5D self, Vector5D p) -> bool
5214 return _IMP_algebra.Sphere5D_get_contains(self, *args)
5217 def show(self, *args):
5219 show(Sphere5D self, _ostream out)
5222 return _IMP_algebra.Sphere5D_show(self, *args)
5225 def get_dimension(self):
5226 """get_dimension(Sphere5D self) -> unsigned int"""
5227 return _IMP_algebra.Sphere5D_get_dimension(self)
5231 """__str__(Sphere5D self) -> std::string"""
5232 return _IMP_algebra.Sphere5D___str__(self)
5236 """__repr__(Sphere5D self) -> std::string"""
5237 return _IMP_algebra.Sphere5D___repr__(self)
5240 def __cmp__(self, arg2):
5241 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
5242 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
5245 def __eq__(self, arg2):
5246 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
5247 return _IMP_algebra.Sphere5D___eq__(self, arg2)
5250 def _get_as_binary(self):
5251 """_get_as_binary(Sphere5D self) -> PyObject *"""
5252 return _IMP_algebra.Sphere5D__get_as_binary(self)
5255 def _set_from_binary(self, p):
5256 """_set_from_binary(Sphere5D self, PyObject * p)"""
5257 return _IMP_algebra.Sphere5D__set_from_binary(self, p)
5260 def __getstate__(self):
5261 p = self._get_as_binary()
5262 if len(self.__dict__) > 1:
5263 d = self.__dict__.copy()
5268 def __setstate__(self, p):
5269 if not hasattr(self,
'this'):
5271 if isinstance(p, tuple):
5273 self.__dict__.update(d)
5274 return self._set_from_binary(p)
5276 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
5277 __del__ =
lambda self:
None
5278 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
5279 Sphere5D_swigregister(Sphere5D)
5281 class Sphere6D(_GeometricPrimitive6D):
5282 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
5283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5285 def __init__(self, *args):
5287 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
5288 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
5290 this = _IMP_algebra.new_Sphere6D(*args)
5292 self.this.append(this)
5296 def get_radius(self):
5297 """get_radius(Sphere6D self) -> double"""
5298 return _IMP_algebra.Sphere6D_get_radius(self)
5301 def get_center(self):
5302 """get_center(Sphere6D self) -> Vector6D"""
5303 return _IMP_algebra.Sphere6D_get_center(self)
5306 def get_contains(self, *args):
5308 get_contains(Sphere6D self, Sphere6D o) -> bool
5309 get_contains(Sphere6D self, Vector6D p) -> bool
5311 return _IMP_algebra.Sphere6D_get_contains(self, *args)
5314 def show(self, *args):
5316 show(Sphere6D self, _ostream out)
5319 return _IMP_algebra.Sphere6D_show(self, *args)
5322 def get_dimension(self):
5323 """get_dimension(Sphere6D self) -> unsigned int"""
5324 return _IMP_algebra.Sphere6D_get_dimension(self)
5328 """__str__(Sphere6D self) -> std::string"""
5329 return _IMP_algebra.Sphere6D___str__(self)
5333 """__repr__(Sphere6D self) -> std::string"""
5334 return _IMP_algebra.Sphere6D___repr__(self)
5337 def __cmp__(self, arg2):
5338 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
5339 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
5342 def __eq__(self, arg2):
5343 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
5344 return _IMP_algebra.Sphere6D___eq__(self, arg2)
5347 def _get_as_binary(self):
5348 """_get_as_binary(Sphere6D self) -> PyObject *"""
5349 return _IMP_algebra.Sphere6D__get_as_binary(self)
5352 def _set_from_binary(self, p):
5353 """_set_from_binary(Sphere6D self, PyObject * p)"""
5354 return _IMP_algebra.Sphere6D__set_from_binary(self, p)
5357 def __getstate__(self):
5358 p = self._get_as_binary()
5359 if len(self.__dict__) > 1:
5360 d = self.__dict__.copy()
5365 def __setstate__(self, p):
5366 if not hasattr(self,
'this'):
5368 if isinstance(p, tuple):
5370 self.__dict__.update(d)
5371 return self._set_from_binary(p)
5373 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
5374 __del__ =
lambda self:
None
5375 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
5376 Sphere6D_swigregister(Sphere6D)
5378 class SphereKD(_GeometricPrimitiveKD):
5379 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
5380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5382 def __init__(self, *args):
5384 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
5385 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
5387 this = _IMP_algebra.new_SphereKD(*args)
5389 self.this.append(this)
5393 def get_radius(self):
5394 """get_radius(SphereKD self) -> double"""
5395 return _IMP_algebra.SphereKD_get_radius(self)
5398 def get_center(self):
5399 """get_center(SphereKD self) -> VectorKD"""
5400 return _IMP_algebra.SphereKD_get_center(self)
5403 def get_contains(self, *args):
5405 get_contains(SphereKD self, SphereKD o) -> bool
5406 get_contains(SphereKD self, VectorKD p) -> bool
5408 return _IMP_algebra.SphereKD_get_contains(self, *args)
5411 def show(self, *args):
5413 show(SphereKD self, _ostream out)
5416 return _IMP_algebra.SphereKD_show(self, *args)
5419 def get_dimension(self):
5420 """get_dimension(SphereKD self) -> unsigned int"""
5421 return _IMP_algebra.SphereKD_get_dimension(self)
5425 """__str__(SphereKD self) -> std::string"""
5426 return _IMP_algebra.SphereKD___str__(self)
5430 """__repr__(SphereKD self) -> std::string"""
5431 return _IMP_algebra.SphereKD___repr__(self)
5434 def __cmp__(self, arg2):
5435 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
5436 return _IMP_algebra.SphereKD___cmp__(self, arg2)
5439 def __eq__(self, arg2):
5440 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
5441 return _IMP_algebra.SphereKD___eq__(self, arg2)
5444 def _get_as_binary(self):
5445 """_get_as_binary(SphereKD self) -> PyObject *"""
5446 return _IMP_algebra.SphereKD__get_as_binary(self)
5449 def _set_from_binary(self, p):
5450 """_set_from_binary(SphereKD self, PyObject * p)"""
5451 return _IMP_algebra.SphereKD__set_from_binary(self, p)
5454 def __getstate__(self):
5455 p = self._get_as_binary()
5456 if len(self.__dict__) > 1:
5457 d = self.__dict__.copy()
5462 def __setstate__(self, p):
5463 if not hasattr(self,
'this'):
5465 if isinstance(p, tuple):
5467 self.__dict__.update(d)
5468 return self._set_from_binary(p)
5470 __swig_destroy__ = _IMP_algebra.delete_SphereKD
5471 __del__ =
lambda self:
None
5472 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
5473 SphereKD_swigregister(SphereKD)
5475 class UnitSimplex1D(_UnitSimplexBase1D):
5476 """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class"""
5477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5480 """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
5481 this = _IMP_algebra.new_UnitSimplex1D()
5483 self.this.append(this)
5487 def show(self, *args):
5489 show(UnitSimplex1D self, _ostream out)
5490 show(UnitSimplex1D self)
5492 return _IMP_algebra.UnitSimplex1D_show(self, *args)
5496 """__str__(UnitSimplex1D self) -> std::string"""
5497 return _IMP_algebra.UnitSimplex1D___str__(self)
5501 """__repr__(UnitSimplex1D self) -> std::string"""
5502 return _IMP_algebra.UnitSimplex1D___repr__(self)
5505 def __cmp__(self, arg2):
5506 """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
5507 return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
5510 def __eq__(self, arg2):
5511 """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
5512 return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
5515 def _get_as_binary(self):
5516 """_get_as_binary(UnitSimplex1D self) -> PyObject *"""
5517 return _IMP_algebra.UnitSimplex1D__get_as_binary(self)
5520 def _set_from_binary(self, p):
5521 """_set_from_binary(UnitSimplex1D self, PyObject * p)"""
5522 return _IMP_algebra.UnitSimplex1D__set_from_binary(self, p)
5525 def __getstate__(self):
5526 p = self._get_as_binary()
5527 if len(self.__dict__) > 1:
5528 d = self.__dict__.copy()
5533 def __setstate__(self, p):
5534 if not hasattr(self,
'this'):
5536 if isinstance(p, tuple):
5538 self.__dict__.update(d)
5539 return self._set_from_binary(p)
5541 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
5542 __del__ =
lambda self:
None
5543 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
5544 UnitSimplex1D_swigregister(UnitSimplex1D)
5546 class UnitSimplex2D(_UnitSimplexBase2D):
5547 """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class"""
5548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5551 """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
5552 this = _IMP_algebra.new_UnitSimplex2D()
5554 self.this.append(this)
5558 def show(self, *args):
5560 show(UnitSimplex2D self, _ostream out)
5561 show(UnitSimplex2D self)
5563 return _IMP_algebra.UnitSimplex2D_show(self, *args)
5567 """__str__(UnitSimplex2D self) -> std::string"""
5568 return _IMP_algebra.UnitSimplex2D___str__(self)
5572 """__repr__(UnitSimplex2D self) -> std::string"""
5573 return _IMP_algebra.UnitSimplex2D___repr__(self)
5576 def __cmp__(self, arg2):
5577 """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
5578 return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
5581 def __eq__(self, arg2):
5582 """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
5583 return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
5586 def _get_as_binary(self):
5587 """_get_as_binary(UnitSimplex2D self) -> PyObject *"""
5588 return _IMP_algebra.UnitSimplex2D__get_as_binary(self)
5591 def _set_from_binary(self, p):
5592 """_set_from_binary(UnitSimplex2D self, PyObject * p)"""
5593 return _IMP_algebra.UnitSimplex2D__set_from_binary(self, p)
5596 def __getstate__(self):
5597 p = self._get_as_binary()
5598 if len(self.__dict__) > 1:
5599 d = self.__dict__.copy()
5604 def __setstate__(self, p):
5605 if not hasattr(self,
'this'):
5607 if isinstance(p, tuple):
5609 self.__dict__.update(d)
5610 return self._set_from_binary(p)
5612 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
5613 __del__ =
lambda self:
None
5614 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
5615 UnitSimplex2D_swigregister(UnitSimplex2D)
5617 class UnitSimplex3D(_UnitSimplexBase3D):
5618 """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class"""
5619 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5622 """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
5623 this = _IMP_algebra.new_UnitSimplex3D()
5625 self.this.append(this)
5629 def show(self, *args):
5631 show(UnitSimplex3D self, _ostream out)
5632 show(UnitSimplex3D self)
5634 return _IMP_algebra.UnitSimplex3D_show(self, *args)
5638 """__str__(UnitSimplex3D self) -> std::string"""
5639 return _IMP_algebra.UnitSimplex3D___str__(self)
5643 """__repr__(UnitSimplex3D self) -> std::string"""
5644 return _IMP_algebra.UnitSimplex3D___repr__(self)
5647 def __cmp__(self, arg2):
5648 """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
5649 return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
5652 def __eq__(self, arg2):
5653 """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
5654 return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
5657 def _get_as_binary(self):
5658 """_get_as_binary(UnitSimplex3D self) -> PyObject *"""
5659 return _IMP_algebra.UnitSimplex3D__get_as_binary(self)
5662 def _set_from_binary(self, p):
5663 """_set_from_binary(UnitSimplex3D self, PyObject * p)"""
5664 return _IMP_algebra.UnitSimplex3D__set_from_binary(self, p)
5667 def __getstate__(self):
5668 p = self._get_as_binary()
5669 if len(self.__dict__) > 1:
5670 d = self.__dict__.copy()
5675 def __setstate__(self, p):
5676 if not hasattr(self,
'this'):
5678 if isinstance(p, tuple):
5680 self.__dict__.update(d)
5681 return self._set_from_binary(p)
5683 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
5684 __del__ =
lambda self:
None
5685 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
5686 UnitSimplex3D_swigregister(UnitSimplex3D)
5688 class UnitSimplex4D(_UnitSimplexBase4D):
5689 """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class"""
5690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5693 """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
5694 this = _IMP_algebra.new_UnitSimplex4D()
5696 self.this.append(this)
5700 def show(self, *args):
5702 show(UnitSimplex4D self, _ostream out)
5703 show(UnitSimplex4D self)
5705 return _IMP_algebra.UnitSimplex4D_show(self, *args)
5709 """__str__(UnitSimplex4D self) -> std::string"""
5710 return _IMP_algebra.UnitSimplex4D___str__(self)
5714 """__repr__(UnitSimplex4D self) -> std::string"""
5715 return _IMP_algebra.UnitSimplex4D___repr__(self)
5718 def __cmp__(self, arg2):
5719 """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
5720 return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
5723 def __eq__(self, arg2):
5724 """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
5725 return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
5728 def _get_as_binary(self):
5729 """_get_as_binary(UnitSimplex4D self) -> PyObject *"""
5730 return _IMP_algebra.UnitSimplex4D__get_as_binary(self)
5733 def _set_from_binary(self, p):
5734 """_set_from_binary(UnitSimplex4D self, PyObject * p)"""
5735 return _IMP_algebra.UnitSimplex4D__set_from_binary(self, p)
5738 def __getstate__(self):
5739 p = self._get_as_binary()
5740 if len(self.__dict__) > 1:
5741 d = self.__dict__.copy()
5746 def __setstate__(self, p):
5747 if not hasattr(self,
'this'):
5749 if isinstance(p, tuple):
5751 self.__dict__.update(d)
5752 return self._set_from_binary(p)
5754 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
5755 __del__ =
lambda self:
None
5756 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
5757 UnitSimplex4D_swigregister(UnitSimplex4D)
5759 class UnitSimplex5D(_UnitSimplexBase5D):
5760 """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class"""
5761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5764 """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
5765 this = _IMP_algebra.new_UnitSimplex5D()
5767 self.this.append(this)
5771 def show(self, *args):
5773 show(UnitSimplex5D self, _ostream out)
5774 show(UnitSimplex5D self)
5776 return _IMP_algebra.UnitSimplex5D_show(self, *args)
5780 """__str__(UnitSimplex5D self) -> std::string"""
5781 return _IMP_algebra.UnitSimplex5D___str__(self)
5785 """__repr__(UnitSimplex5D self) -> std::string"""
5786 return _IMP_algebra.UnitSimplex5D___repr__(self)
5789 def __cmp__(self, arg2):
5790 """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
5791 return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
5794 def __eq__(self, arg2):
5795 """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
5796 return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
5799 def _get_as_binary(self):
5800 """_get_as_binary(UnitSimplex5D self) -> PyObject *"""
5801 return _IMP_algebra.UnitSimplex5D__get_as_binary(self)
5804 def _set_from_binary(self, p):
5805 """_set_from_binary(UnitSimplex5D self, PyObject * p)"""
5806 return _IMP_algebra.UnitSimplex5D__set_from_binary(self, p)
5809 def __getstate__(self):
5810 p = self._get_as_binary()
5811 if len(self.__dict__) > 1:
5812 d = self.__dict__.copy()
5817 def __setstate__(self, p):
5818 if not hasattr(self,
'this'):
5820 if isinstance(p, tuple):
5822 self.__dict__.update(d)
5823 return self._set_from_binary(p)
5825 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
5826 __del__ =
lambda self:
None
5827 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
5828 UnitSimplex5D_swigregister(UnitSimplex5D)
5830 class UnitSimplex6D(_UnitSimplexBase6D):
5831 """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class"""
5832 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5835 """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
5836 this = _IMP_algebra.new_UnitSimplex6D()
5838 self.this.append(this)
5842 def show(self, *args):
5844 show(UnitSimplex6D self, _ostream out)
5845 show(UnitSimplex6D self)
5847 return _IMP_algebra.UnitSimplex6D_show(self, *args)
5851 """__str__(UnitSimplex6D self) -> std::string"""
5852 return _IMP_algebra.UnitSimplex6D___str__(self)
5856 """__repr__(UnitSimplex6D self) -> std::string"""
5857 return _IMP_algebra.UnitSimplex6D___repr__(self)
5860 def __cmp__(self, arg2):
5861 """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5862 return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5865 def __eq__(self, arg2):
5866 """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5867 return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5870 def _get_as_binary(self):
5871 """_get_as_binary(UnitSimplex6D self) -> PyObject *"""
5872 return _IMP_algebra.UnitSimplex6D__get_as_binary(self)
5875 def _set_from_binary(self, p):
5876 """_set_from_binary(UnitSimplex6D self, PyObject * p)"""
5877 return _IMP_algebra.UnitSimplex6D__set_from_binary(self, p)
5880 def __getstate__(self):
5881 p = self._get_as_binary()
5882 if len(self.__dict__) > 1:
5883 d = self.__dict__.copy()
5888 def __setstate__(self, p):
5889 if not hasattr(self,
'this'):
5891 if isinstance(p, tuple):
5893 self.__dict__.update(d)
5894 return self._set_from_binary(p)
5896 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5897 __del__ =
lambda self:
None
5898 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5899 UnitSimplex6D_swigregister(UnitSimplex6D)
5901 class UnitSimplexKD(_UnitSimplexBaseKD):
5902 """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class"""
5903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5904 __repr__ = _swig_repr
5906 def __init__(self, d=1):
5908 __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5909 __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5911 this = _IMP_algebra.new_UnitSimplexKD(d)
5913 self.this.append(this)
5917 def show(self, *args):
5919 show(UnitSimplexKD self, _ostream out)
5920 show(UnitSimplexKD self)
5922 return _IMP_algebra.UnitSimplexKD_show(self, *args)
5925 def _get_as_binary(self):
5926 """_get_as_binary(UnitSimplexKD self) -> PyObject *"""
5927 return _IMP_algebra.UnitSimplexKD__get_as_binary(self)
5930 def _set_from_binary(self, p):
5931 """_set_from_binary(UnitSimplexKD self, PyObject * p)"""
5932 return _IMP_algebra.UnitSimplexKD__set_from_binary(self, p)
5935 def __getstate__(self):
5936 p = self._get_as_binary()
5937 if len(self.__dict__) > 1:
5938 d = self.__dict__.copy()
5943 def __setstate__(self, p):
5944 if not hasattr(self,
'this'):
5946 if isinstance(p, tuple):
5948 self.__dict__.update(d)
5949 return self._set_from_binary(p)
5951 __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5952 __del__ =
lambda self:
None
5953 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5954 UnitSimplexKD_swigregister(UnitSimplexKD)
5956 class ReferenceFrame3D(object):
5957 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
5958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5960 def __init__(self, *args):
5962 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5963 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5965 this = _IMP_algebra.new_ReferenceFrame3D(*args)
5967 self.this.append(this)
5970 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5971 __del__ =
lambda self:
None
5973 def get_transformation_to(self):
5974 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5975 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5978 def get_transformation_from(self):
5979 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5980 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5983 def get_global_coordinates(self, v):
5984 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5985 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5988 def get_local_coordinates(self, v):
5989 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5990 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5993 def get_global_reference_frame(self, v):
5994 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5995 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5998 def get_local_reference_frame(self, v):
5999 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
6000 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
6003 def show(self, *args):
6005 show(ReferenceFrame3D self, _ostream out)
6006 show(ReferenceFrame3D self)
6008 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
6012 """__str__(ReferenceFrame3D self) -> std::string"""
6013 return _IMP_algebra.ReferenceFrame3D___str__(self)
6017 """__repr__(ReferenceFrame3D self) -> std::string"""
6018 return _IMP_algebra.ReferenceFrame3D___repr__(self)
6021 def _get_as_binary(self):
6022 """_get_as_binary(ReferenceFrame3D self) -> PyObject *"""
6023 return _IMP_algebra.ReferenceFrame3D__get_as_binary(self)
6026 def _set_from_binary(self, p):
6027 """_set_from_binary(ReferenceFrame3D self, PyObject * p)"""
6028 return _IMP_algebra.ReferenceFrame3D__set_from_binary(self, p)
6031 def __getstate__(self):
6032 p = self._get_as_binary()
6033 if len(self.__dict__) > 1:
6034 d = self.__dict__.copy()
6039 def __setstate__(self, p):
6040 if not hasattr(self,
'this'):
6042 if isinstance(p, tuple):
6044 self.__dict__.update(d)
6045 return self._set_from_binary(p)
6047 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
6048 ReferenceFrame3D_swigregister(ReferenceFrame3D)
6051 def get_transformed(*args):
6053 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
6054 get_transformed(Line3D l, Transformation3D tr) -> Line3D
6055 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
6057 return _IMP_algebra.get_transformed(*args)
6059 def get_transformation_from_first_to_second(a, b):
6060 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
6061 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
6062 class SphericalVector3D(_GeometricPrimitive3D):
6063 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
6064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6066 def __init__(self, *args):
6068 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
6069 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
6070 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
6071 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
6073 this = _IMP_algebra.new_SphericalVector3D(*args)
6075 self.this.append(this)
6079 def get_cartesian_coordinates(self):
6080 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
6081 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
6084 def show(self, *args):
6086 show(SphericalVector3D self, _ostream out)
6087 show(SphericalVector3D self)
6089 return _IMP_algebra.SphericalVector3D_show(self, *args)
6093 """__str__(SphericalVector3D self) -> std::string"""
6094 return _IMP_algebra.SphericalVector3D___str__(self)
6098 """__repr__(SphericalVector3D self) -> std::string"""
6099 return _IMP_algebra.SphericalVector3D___repr__(self)
6102 def _get_as_binary(self):
6103 """_get_as_binary(SphericalVector3D self) -> PyObject *"""
6104 return _IMP_algebra.SphericalVector3D__get_as_binary(self)
6107 def _set_from_binary(self, p):
6108 """_set_from_binary(SphericalVector3D self, PyObject * p)"""
6109 return _IMP_algebra.SphericalVector3D__set_from_binary(self, p)
6112 def __getstate__(self):
6113 p = self._get_as_binary()
6114 if len(self.__dict__) > 1:
6115 d = self.__dict__.copy()
6120 def __setstate__(self, p):
6121 if not hasattr(self,
'this'):
6123 if isinstance(p, tuple):
6125 self.__dict__.update(d)
6126 return self._set_from_binary(p)
6129 def __getitem__(self, index):
6130 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
6131 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
6134 def __setitem__(self, index, val):
6135 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
6136 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
6138 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
6139 __del__ =
lambda self:
None
6140 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
6141 SphericalVector3D_swigregister(SphericalVector3D)
6145 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
6146 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
6147 class Line3D(_GeometricPrimitive3D):
6148 """Proxy of C++ IMP::algebra::Line3D class"""
6149 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6151 def __init__(self, *args):
6153 __init__(IMP::algebra::Line3D self) -> Line3D
6154 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
6155 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
6157 this = _IMP_algebra.new_Line3D(*args)
6159 self.this.append(this)
6163 def get_direction(self):
6164 """get_direction(Line3D self) -> Vector3D"""
6165 return _IMP_algebra.Line3D_get_direction(self)
6168 def get_point_on_line(self):
6169 """get_point_on_line(Line3D self) -> Vector3D"""
6170 return _IMP_algebra.Line3D_get_point_on_line(self)
6173 def get_moment(self, *args):
6175 get_moment(Line3D self) -> Vector3D
6176 get_moment(Line3D self, Vector3D v) -> Vector3D
6178 return _IMP_algebra.Line3D_get_moment(self, *args)
6181 def get_reciprocal_product(self, l):
6182 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
6183 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
6186 def get_opposite(self):
6187 """get_opposite(Line3D self) -> Line3D"""
6188 return _IMP_algebra.Line3D_get_opposite(self)
6191 def get_segment_starting_at(self, v, d):
6192 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
6193 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
6196 def show(self, *args):
6198 show(Line3D self, _ostream out)
6201 return _IMP_algebra.Line3D_show(self, *args)
6205 """__str__(Line3D self) -> std::string"""
6206 return _IMP_algebra.Line3D___str__(self)
6210 """__repr__(Line3D self) -> std::string"""
6211 return _IMP_algebra.Line3D___repr__(self)
6214 def _get_as_binary(self):
6215 """_get_as_binary(Line3D self) -> PyObject *"""
6216 return _IMP_algebra.Line3D__get_as_binary(self)
6219 def _set_from_binary(self, p):
6220 """_set_from_binary(Line3D self, PyObject * p)"""
6221 return _IMP_algebra.Line3D__set_from_binary(self, p)
6224 def __getstate__(self):
6225 p = self._get_as_binary()
6226 if len(self.__dict__) > 1:
6227 d = self.__dict__.copy()
6232 def __setstate__(self, p):
6233 if not hasattr(self,
'this'):
6235 if isinstance(p, tuple):
6237 self.__dict__.update(d)
6238 return self._set_from_binary(p)
6240 __swig_destroy__ = _IMP_algebra.delete_Line3D
6241 __del__ =
lambda self:
None
6242 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
6243 Line3D_swigregister(Line3D)
6246 def get_line_3d_geometry(g):
6247 """get_line_3d_geometry(Line3D g) -> Line3D"""
6248 return _IMP_algebra.get_line_3d_geometry(g)
6251 """get_angle(Line3D a, Line3D b) -> double"""
6252 return _IMP_algebra.get_angle(a, b)
6255 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
6256 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
6257 class Segment3D(_GeometricPrimitive3D):
6258 """Proxy of C++ IMP::algebra::Segment3D class"""
6259 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6261 def __init__(self, *args):
6263 __init__(IMP::algebra::Segment3D self) -> Segment3D
6264 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
6266 this = _IMP_algebra.new_Segment3D(*args)
6268 self.this.append(this)
6272 def get_point(self, i):
6275 return _IMP_algebra.Segment3D_get_point(self, i)
6279 def get_middle_point(self):
6280 """get_middle_point(Segment3D self) -> Vector3D"""
6281 return _IMP_algebra.Segment3D_get_middle_point(self)
6284 def get_direction(self):
6285 """get_direction(Segment3D self) -> Vector3D"""
6286 return _IMP_algebra.Segment3D_get_direction(self)
6289 def get_length(self):
6290 """get_length(Segment3D self) -> double"""
6291 return _IMP_algebra.Segment3D_get_length(self)
6294 def show(self, *args):
6296 show(Segment3D self, _ostream out)
6297 show(Segment3D self)
6299 return _IMP_algebra.Segment3D_show(self, *args)
6303 """__str__(Segment3D self) -> std::string"""
6304 return _IMP_algebra.Segment3D___str__(self)
6308 """__repr__(Segment3D self) -> std::string"""
6309 return _IMP_algebra.Segment3D___repr__(self)
6312 def _get_as_binary(self):
6313 """_get_as_binary(Segment3D self) -> PyObject *"""
6314 return _IMP_algebra.Segment3D__get_as_binary(self)
6317 def _set_from_binary(self, p):
6318 """_set_from_binary(Segment3D self, PyObject * p)"""
6319 return _IMP_algebra.Segment3D__set_from_binary(self, p)
6322 def __getstate__(self):
6323 p = self._get_as_binary()
6324 if len(self.__dict__) > 1:
6325 d = self.__dict__.copy()
6330 def __setstate__(self, p):
6331 if not hasattr(self,
'this'):
6333 if isinstance(p, tuple):
6335 self.__dict__.update(d)
6336 return self._set_from_binary(p)
6338 __swig_destroy__ = _IMP_algebra.delete_Segment3D
6339 __del__ =
lambda self:
None
6340 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
6341 Segment3D_swigregister(Segment3D)
6344 def get_segment_3d_geometry(g):
6345 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
6346 return _IMP_algebra.get_segment_3d_geometry(g)
6349 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
6350 return _IMP_algebra.get_relative_projection_on_segment(s, p)
6351 class Triangle3D(_GeometricPrimitive3D):
6352 """Proxy of C++ IMP::algebra::Triangle3D class"""
6353 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6355 def __init__(self, *args):
6357 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
6358 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
6360 this = _IMP_algebra.new_Triangle3D(*args)
6362 self.this.append(this)
6366 def get_point(self, i):
6367 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
6368 return _IMP_algebra.Triangle3D_get_point(self, i)
6371 def show(self, *args):
6373 show(Triangle3D self, _ostream out)
6374 show(Triangle3D self)
6376 return _IMP_algebra.Triangle3D_show(self, *args)
6379 def get_edge_lengths(self):
6380 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
6381 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
6385 """__str__(Triangle3D self) -> std::string"""
6386 return _IMP_algebra.Triangle3D___str__(self)
6390 """__repr__(Triangle3D self) -> std::string"""
6391 return _IMP_algebra.Triangle3D___repr__(self)
6394 def _get_as_binary(self):
6395 """_get_as_binary(Triangle3D self) -> PyObject *"""
6396 return _IMP_algebra.Triangle3D__get_as_binary(self)
6399 def _set_from_binary(self, p):
6400 """_set_from_binary(Triangle3D self, PyObject * p)"""
6401 return _IMP_algebra.Triangle3D__set_from_binary(self, p)
6404 def __getstate__(self):
6405 p = self._get_as_binary()
6406 if len(self.__dict__) > 1:
6407 d = self.__dict__.copy()
6412 def __setstate__(self, p):
6413 if not hasattr(self,
'this'):
6415 if isinstance(p, tuple):
6417 self.__dict__.update(d)
6418 return self._set_from_binary(p)
6420 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
6421 __del__ =
lambda self:
None
6422 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
6423 Triangle3D_swigregister(Triangle3D)
6427 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
6428 return _IMP_algebra.get_largest_triangle(points)
6431 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
6432 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
6435 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
6436 return _IMP_algebra.get_are_colinear(p1, p2, p3)
6437 class LinearFit2D(_GeometricPrimitive2D):
6438 """Proxy of C++ IMP::algebra::LinearFit2D class"""
6439 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6441 def __init__(self, *args):
6443 __init__(IMP::algebra::LinearFit2D self) -> LinearFit2D
6444 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
6445 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
6447 this = _IMP_algebra.new_LinearFit2D(*args)
6449 self.this.append(this)
6453 def get_fit_error(self):
6454 """get_fit_error(LinearFit2D self) -> double"""
6455 return _IMP_algebra.LinearFit2D_get_fit_error(self)
6459 """get_a(LinearFit2D self) -> double"""
6460 return _IMP_algebra.LinearFit2D_get_a(self)
6464 """get_b(LinearFit2D self) -> double"""
6465 return _IMP_algebra.LinearFit2D_get_b(self)
6468 def show(self, *args):
6470 show(LinearFit2D self, _ostream out)
6471 show(LinearFit2D self)
6473 return _IMP_algebra.LinearFit2D_show(self, *args)
6477 """__str__(LinearFit2D self) -> std::string"""
6478 return _IMP_algebra.LinearFit2D___str__(self)
6482 """__repr__(LinearFit2D self) -> std::string"""
6483 return _IMP_algebra.LinearFit2D___repr__(self)
6486 def _get_as_binary(self):
6487 """_get_as_binary(LinearFit2D self) -> PyObject *"""
6488 return _IMP_algebra.LinearFit2D__get_as_binary(self)
6491 def _set_from_binary(self, p):
6492 """_set_from_binary(LinearFit2D self, PyObject * p)"""
6493 return _IMP_algebra.LinearFit2D__set_from_binary(self, p)
6496 def __getstate__(self):
6497 p = self._get_as_binary()
6498 if len(self.__dict__) > 1:
6499 d = self.__dict__.copy()
6504 def __setstate__(self, p):
6505 if not hasattr(self,
'this'):
6507 if isinstance(p, tuple):
6509 self.__dict__.update(d)
6510 return self._set_from_binary(p)
6512 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
6513 __del__ =
lambda self:
None
6514 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
6515 LinearFit2D_swigregister(LinearFit2D)
6517 class ParabolicFit2D(_GeometricPrimitive2D):
6518 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
6519 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6521 def __init__(self, *args):
6523 __init__(IMP::algebra::ParabolicFit2D self) -> ParabolicFit2D
6524 __init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D
6526 this = _IMP_algebra.new_ParabolicFit2D(*args)
6528 self.this.append(this)
6532 def get_fit_error(self):
6533 """get_fit_error(ParabolicFit2D self) -> double"""
6534 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
6538 """get_a(ParabolicFit2D self) -> double"""
6539 return _IMP_algebra.ParabolicFit2D_get_a(self)
6543 """get_b(ParabolicFit2D self) -> double"""
6544 return _IMP_algebra.ParabolicFit2D_get_b(self)
6548 """get_c(ParabolicFit2D self) -> double"""
6549 return _IMP_algebra.ParabolicFit2D_get_c(self)
6552 def show(self, *args):
6554 show(ParabolicFit2D self, _ostream out)
6555 show(ParabolicFit2D self)
6557 return _IMP_algebra.ParabolicFit2D_show(self, *args)
6561 """__str__(ParabolicFit2D self) -> std::string"""
6562 return _IMP_algebra.ParabolicFit2D___str__(self)
6566 """__repr__(ParabolicFit2D self) -> std::string"""
6567 return _IMP_algebra.ParabolicFit2D___repr__(self)
6570 def _get_as_binary(self):
6571 """_get_as_binary(ParabolicFit2D self) -> PyObject *"""
6572 return _IMP_algebra.ParabolicFit2D__get_as_binary(self)
6575 def _set_from_binary(self, p):
6576 """_set_from_binary(ParabolicFit2D self, PyObject * p)"""
6577 return _IMP_algebra.ParabolicFit2D__set_from_binary(self, p)
6580 def __getstate__(self):
6581 p = self._get_as_binary()
6582 if len(self.__dict__) > 1:
6583 d = self.__dict__.copy()
6588 def __setstate__(self, p):
6589 if not hasattr(self,
'this'):
6591 if isinstance(p, tuple):
6593 self.__dict__.update(d)
6594 return self._set_from_binary(p)
6596 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
6597 __del__ =
lambda self:
None
6598 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
6599 ParabolicFit2D_swigregister(ParabolicFit2D)
6601 class Plane3D(_GeometricPrimitive3D):
6602 """Proxy of C++ IMP::algebra::Plane3D class"""
6603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6605 def __init__(self, *args):
6607 __init__(IMP::algebra::Plane3D self) -> Plane3D
6608 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
6609 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
6611 this = _IMP_algebra.new_Plane3D(*args)
6613 self.this.append(this)
6617 def get_point_on_plane(self):
6618 """get_point_on_plane(Plane3D self) -> Vector3D"""
6619 return _IMP_algebra.Plane3D_get_point_on_plane(self)
6622 def get_normal(self):
6623 """get_normal(Plane3D self) -> Vector3D"""
6624 return _IMP_algebra.Plane3D_get_normal(self)
6628 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
6629 return _IMP_algebra.Plane3D_get_projected(self, p)
6632 def get_is_above(self, p):
6633 """get_is_above(Plane3D self, Vector3D p) -> bool"""
6634 return _IMP_algebra.Plane3D_get_is_above(self, p)
6637 def get_is_below(self, p):
6638 """get_is_below(Plane3D self, Vector3D p) -> bool"""
6639 return _IMP_algebra.Plane3D_get_is_below(self, p)
6643 """get_height(Plane3D self, Vector3D p) -> double"""
6644 return _IMP_algebra.Plane3D_get_height(self, p)
6647 def show(self, *args):
6649 show(Plane3D self, _ostream out)
6652 return _IMP_algebra.Plane3D_show(self, *args)
6655 def get_opposite(self):
6656 """get_opposite(Plane3D self) -> Plane3D"""
6657 return _IMP_algebra.Plane3D_get_opposite(self)
6660 def get_distance_from_origin(self):
6661 """get_distance_from_origin(Plane3D self) -> double"""
6662 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
6666 """__str__(Plane3D self) -> std::string"""
6667 return _IMP_algebra.Plane3D___str__(self)
6671 """__repr__(Plane3D self) -> std::string"""
6672 return _IMP_algebra.Plane3D___repr__(self)
6675 def _get_as_binary(self):
6676 """_get_as_binary(Plane3D self) -> PyObject *"""
6677 return _IMP_algebra.Plane3D__get_as_binary(self)
6680 def _set_from_binary(self, p):
6681 """_set_from_binary(Plane3D self, PyObject * p)"""
6682 return _IMP_algebra.Plane3D__set_from_binary(self, p)
6685 def __getstate__(self):
6686 p = self._get_as_binary()
6687 if len(self.__dict__) > 1:
6688 d = self.__dict__.copy()
6693 def __setstate__(self, p):
6694 if not hasattr(self,
'this'):
6696 if isinstance(p, tuple):
6698 self.__dict__.update(d)
6699 return self._set_from_binary(p)
6701 __swig_destroy__ = _IMP_algebra.delete_Plane3D
6702 __del__ =
lambda self:
None
6703 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
6704 Plane3D_swigregister(Plane3D)
6708 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
6709 return _IMP_algebra.get_reflected(pln, p)
6711 def get_plane_3d_geometry(g):
6712 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
6713 return _IMP_algebra.get_plane_3d_geometry(g)
6714 class Reflection3D(_GeometricPrimitive3D):
6715 """Proxy of C++ IMP::algebra::Reflection3D class"""
6716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6718 def __init__(self, *args):
6720 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
6721 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
6723 this = _IMP_algebra.new_Reflection3D(*args)
6725 self.this.append(this)
6730 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
6731 return _IMP_algebra.Reflection3D_get_reflected(self, v)
6734 def show(self, *args):
6736 show(Reflection3D self, _ostream out)
6737 show(Reflection3D self)
6739 return _IMP_algebra.Reflection3D_show(self, *args)
6743 """__str__(Reflection3D self) -> std::string"""
6744 return _IMP_algebra.Reflection3D___str__(self)
6748 """__repr__(Reflection3D self) -> std::string"""
6749 return _IMP_algebra.Reflection3D___repr__(self)
6752 def _get_as_binary(self):
6753 """_get_as_binary(Reflection3D self) -> PyObject *"""
6754 return _IMP_algebra.Reflection3D__get_as_binary(self)
6757 def _set_from_binary(self, p):
6758 """_set_from_binary(Reflection3D self, PyObject * p)"""
6759 return _IMP_algebra.Reflection3D__set_from_binary(self, p)
6762 def __getstate__(self):
6763 p = self._get_as_binary()
6764 if len(self.__dict__) > 1:
6765 d = self.__dict__.copy()
6770 def __setstate__(self, p):
6771 if not hasattr(self,
'this'):
6773 if isinstance(p, tuple):
6775 self.__dict__.update(d)
6776 return self._set_from_binary(p)
6778 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
6779 __del__ =
lambda self:
None
6780 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
6781 Reflection3D_swigregister(Reflection3D)
6783 class Cylinder3D(_GeometricPrimitive3D):
6784 """Proxy of C++ IMP::algebra::Cylinder3D class"""
6785 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6787 def __init__(self, *args):
6789 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
6790 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
6792 this = _IMP_algebra.new_Cylinder3D(*args)
6794 self.this.append(this)
6798 def get_radius(self):
6799 """get_radius(Cylinder3D self) -> double"""
6800 return _IMP_algebra.Cylinder3D_get_radius(self)
6804 """get_segment(Cylinder3D self) -> Segment3D"""
6805 return _IMP_algebra.Cylinder3D_get_segment(self)
6808 def get_surface_point_at(self, relative_height, angle):
6809 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
6810 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
6813 def get_inner_point_at(self, relative_height, relative_radius, angle):
6814 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
6815 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
6818 def show(self, *args):
6820 show(Cylinder3D self, _ostream out)
6821 show(Cylinder3D self)
6823 return _IMP_algebra.Cylinder3D_show(self, *args)
6827 """__str__(Cylinder3D self) -> std::string"""
6828 return _IMP_algebra.Cylinder3D___str__(self)
6832 """__repr__(Cylinder3D self) -> std::string"""
6833 return _IMP_algebra.Cylinder3D___repr__(self)
6836 def _get_as_binary(self):
6837 """_get_as_binary(Cylinder3D self) -> PyObject *"""
6838 return _IMP_algebra.Cylinder3D__get_as_binary(self)
6841 def _set_from_binary(self, p):
6842 """_set_from_binary(Cylinder3D self, PyObject * p)"""
6843 return _IMP_algebra.Cylinder3D__set_from_binary(self, p)
6846 def __getstate__(self):
6847 p = self._get_as_binary()
6848 if len(self.__dict__) > 1:
6849 d = self.__dict__.copy()
6854 def __setstate__(self, p):
6855 if not hasattr(self,
'this'):
6857 if isinstance(p, tuple):
6859 self.__dict__.update(d)
6860 return self._set_from_binary(p)
6862 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
6863 __del__ =
lambda self:
None
6864 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
6865 Cylinder3D_swigregister(Cylinder3D)
6868 def get_cylinder_3d_geometry(g):
6869 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
6870 return _IMP_algebra.get_cylinder_3d_geometry(g)
6871 class Ellipsoid3D(_GeometricPrimitive3D):
6872 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
6873 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6875 def __init__(self, *args):
6877 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
6878 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
6879 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
6881 this = _IMP_algebra.new_Ellipsoid3D(*args)
6883 self.this.append(this)
6887 def get_radii(self):
6888 """get_radii(Ellipsoid3D self) -> Vector3D"""
6889 return _IMP_algebra.Ellipsoid3D_get_radii(self)
6892 def get_reference_frame(self):
6893 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
6894 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
6897 def show(self, *args):
6899 show(Ellipsoid3D self, _ostream out)
6900 show(Ellipsoid3D self)
6902 return _IMP_algebra.Ellipsoid3D_show(self, *args)
6906 """__str__(Ellipsoid3D self) -> std::string"""
6907 return _IMP_algebra.Ellipsoid3D___str__(self)
6911 """__repr__(Ellipsoid3D self) -> std::string"""
6912 return _IMP_algebra.Ellipsoid3D___repr__(self)
6915 def _get_as_binary(self):
6916 """_get_as_binary(Ellipsoid3D self) -> PyObject *"""
6917 return _IMP_algebra.Ellipsoid3D__get_as_binary(self)
6920 def _set_from_binary(self, p):
6921 """_set_from_binary(Ellipsoid3D self, PyObject * p)"""
6922 return _IMP_algebra.Ellipsoid3D__set_from_binary(self, p)
6925 def __getstate__(self):
6926 p = self._get_as_binary()
6927 if len(self.__dict__) > 1:
6928 d = self.__dict__.copy()
6933 def __setstate__(self, p):
6934 if not hasattr(self,
'this'):
6936 if isinstance(p, tuple):
6938 self.__dict__.update(d)
6939 return self._set_from_binary(p)
6941 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
6942 __del__ =
lambda self:
None
6943 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
6944 Ellipsoid3D_swigregister(Ellipsoid3D)
6947 def get_ellipsoid_3d_geometry(g):
6948 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
6949 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
6950 class ConnollySurfacePoint(object):
6951 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
6952 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6954 def __init__(self, *args):
6956 __init__(IMP::algebra::ConnollySurfacePoint self) -> ConnollySurfacePoint
6957 __init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint
6959 this = _IMP_algebra.new_ConnollySurfacePoint(*args)
6961 self.this.append(this)
6966 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
6967 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
6970 def get_surface_point(self):
6971 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
6972 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
6976 """get_area(ConnollySurfacePoint self) -> double"""
6977 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
6980 def get_normal(self):
6981 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
6982 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
6985 def show(self, *args):
6987 show(ConnollySurfacePoint self, _ostream out)
6988 show(ConnollySurfacePoint self)
6990 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
6994 """__str__(ConnollySurfacePoint self) -> std::string"""
6995 return _IMP_algebra.ConnollySurfacePoint___str__(self)
6999 """__repr__(ConnollySurfacePoint self) -> std::string"""
7000 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
7003 def _get_as_binary(self):
7004 """_get_as_binary(ConnollySurfacePoint self) -> PyObject *"""
7005 return _IMP_algebra.ConnollySurfacePoint__get_as_binary(self)
7008 def _set_from_binary(self, p):
7009 """_set_from_binary(ConnollySurfacePoint self, PyObject * p)"""
7010 return _IMP_algebra.ConnollySurfacePoint__set_from_binary(self, p)
7013 def __getstate__(self):
7014 p = self._get_as_binary()
7015 if len(self.__dict__) > 1:
7016 d = self.__dict__.copy()
7021 def __setstate__(self, p):
7022 if not hasattr(self,
'this'):
7024 if isinstance(p, tuple):
7026 self.__dict__.update(d)
7027 return self._set_from_binary(p)
7029 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
7030 __del__ =
lambda self:
None
7031 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
7032 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
7036 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
7037 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
7038 class LogEmbedding3D(object):
7039 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
7040 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7042 def __init__(self, *args):
7044 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
7045 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
7046 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
7047 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
7048 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
7050 this = _IMP_algebra.new_LogEmbedding3D(*args)
7052 self.this.append(this)
7056 def set_origin(self, o):
7057 """set_origin(LogEmbedding3D self, Vector3D o)"""
7058 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
7061 def get_origin(self):
7062 """get_origin(LogEmbedding3D self) -> Vector3D"""
7063 return _IMP_algebra.LogEmbedding3D_get_origin(self)
7066 def get_dimension(self):
7067 """get_dimension(LogEmbedding3D self) -> unsigned int"""
7068 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
7071 def set_unit_cell(self, *args):
7073 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
7074 set_unit_cell(LogEmbedding3D self, Vector3D o)
7076 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
7079 def get_unit_cell(self):
7080 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
7081 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
7084 def get_extended_index(self, o):
7085 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7086 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
7090 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
7091 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
7094 def get_center(self, *args):
7096 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7097 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
7099 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
7102 def get_bounding_box(self, *args):
7104 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7105 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7107 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
7110 def show(self, *args):
7112 show(LogEmbedding3D self, _ostream out)
7113 show(LogEmbedding3D self)
7115 return _IMP_algebra.LogEmbedding3D_show(self, *args)
7119 """__str__(LogEmbedding3D self) -> std::string"""
7120 return _IMP_algebra.LogEmbedding3D___str__(self)
7124 """__repr__(LogEmbedding3D self) -> std::string"""
7125 return _IMP_algebra.LogEmbedding3D___repr__(self)
7128 def __cmp__(self, arg2):
7129 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
7130 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
7133 def __eq__(self, arg2):
7134 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
7135 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
7138 def _get_as_binary(self):
7139 """_get_as_binary(LogEmbedding3D self) -> PyObject *"""
7140 return _IMP_algebra.LogEmbedding3D__get_as_binary(self)
7143 def _set_from_binary(self, p):
7144 """_set_from_binary(LogEmbedding3D self, PyObject * p)"""
7145 return _IMP_algebra.LogEmbedding3D__set_from_binary(self, p)
7148 def __getstate__(self):
7149 p = self._get_as_binary()
7150 if len(self.__dict__) > 1:
7151 d = self.__dict__.copy()
7156 def __setstate__(self, p):
7157 if not hasattr(self,
'this'):
7159 if isinstance(p, tuple):
7161 self.__dict__.update(d)
7162 return self._set_from_binary(p)
7164 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
7165 __del__ =
lambda self:
None
7166 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
7167 LogEmbedding3D_swigregister(LogEmbedding3D)
7169 class LogEmbeddingKD(object):
7170 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
7171 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7173 def __init__(self, *args):
7175 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
7176 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
7177 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
7178 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
7179 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
7181 this = _IMP_algebra.new_LogEmbeddingKD(*args)
7183 self.this.append(this)
7187 def set_origin(self, o):
7188 """set_origin(LogEmbeddingKD self, VectorKD o)"""
7189 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
7192 def get_origin(self):
7193 """get_origin(LogEmbeddingKD self) -> VectorKD"""
7194 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
7197 def get_dimension(self):
7198 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
7199 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
7202 def set_unit_cell(self, *args):
7204 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
7205 set_unit_cell(LogEmbeddingKD self, VectorKD o)
7207 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
7210 def get_unit_cell(self):
7211 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
7212 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
7215 def get_extended_index(self, o):
7216 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7217 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
7221 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7222 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
7225 def get_center(self, *args):
7227 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7228 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
7230 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
7233 def get_bounding_box(self, *args):
7235 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7236 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7238 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
7241 def show(self, *args):
7243 show(LogEmbeddingKD self, _ostream out)
7244 show(LogEmbeddingKD self)
7246 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
7250 """__str__(LogEmbeddingKD self) -> std::string"""
7251 return _IMP_algebra.LogEmbeddingKD___str__(self)
7255 """__repr__(LogEmbeddingKD self) -> std::string"""
7256 return _IMP_algebra.LogEmbeddingKD___repr__(self)
7259 def __cmp__(self, arg2):
7260 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
7261 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
7264 def __eq__(self, arg2):
7265 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
7266 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
7269 def _get_as_binary(self):
7270 """_get_as_binary(LogEmbeddingKD self) -> PyObject *"""
7271 return _IMP_algebra.LogEmbeddingKD__get_as_binary(self)
7274 def _set_from_binary(self, p):
7275 """_set_from_binary(LogEmbeddingKD self, PyObject * p)"""
7276 return _IMP_algebra.LogEmbeddingKD__set_from_binary(self, p)
7279 def __getstate__(self):
7280 p = self._get_as_binary()
7281 if len(self.__dict__) > 1:
7282 d = self.__dict__.copy()
7287 def __setstate__(self, p):
7288 if not hasattr(self,
'this'):
7290 if isinstance(p, tuple):
7292 self.__dict__.update(d)
7293 return self._set_from_binary(p)
7295 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
7296 __del__ =
lambda self:
None
7297 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
7298 LogEmbeddingKD_swigregister(LogEmbeddingKD)
7300 class DenseFloatLogGridKD(object):
7301 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
7302 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7304 def __init__(self, sz, le):
7305 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
7306 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
7308 self.this.append(this)
7312 def add_voxel(self, i, q):
7313 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
7314 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
7317 def __getitem__(self, *args):
7319 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
7320 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
7322 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
7325 def __setitem__(self, *args):
7327 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
7328 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
7330 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
7333 def get_bounding_box(self, *args):
7335 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
7336 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
7338 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
7343 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
7344 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
7346 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
7349 def get_all_indexes(self):
7350 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
7351 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
7354 def get_extended_indexes(self, *args):
7356 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
7357 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
7359 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
7362 def get_center(self, *args):
7364 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
7365 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
7367 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
7370 def get_extended_index(self, v):
7371 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
7372 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
7376 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
7377 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
7380 def get_origin(self):
7381 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
7382 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
7385 def get_dimension(self):
7386 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
7387 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
7390 def get_unit_cell(self):
7391 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
7392 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
7395 def get_has_index(self, v):
7396 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
7397 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
7401 """__str__(DenseFloatLogGridKD self) -> std::string"""
7402 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
7406 """__repr__(DenseFloatLogGridKD self) -> std::string"""
7407 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
7410 def show(self, *args):
7412 show(DenseFloatLogGridKD self, _ostream out)
7413 show(DenseFloatLogGridKD self)
7415 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
7417 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
7418 __del__ =
lambda self:
None
7419 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
7420 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
7422 class DenseIntLogGrid3D(object):
7423 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
7424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7426 def __init__(self, sz, le):
7427 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
7428 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
7430 self.this.append(this)
7434 def add_voxel(self, i, q):
7435 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
7436 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
7439 def __getitem__(self, *args):
7441 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
7442 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
7444 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
7447 def __setitem__(self, *args):
7449 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
7450 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
7452 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
7455 def get_bounding_box(self, *args):
7457 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
7458 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
7460 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
7465 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7466 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7468 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
7471 def get_all_indexes(self):
7472 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7473 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
7476 def get_extended_indexes(self, *args):
7478 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7479 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7481 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
7484 def get_center(self, *args):
7486 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
7487 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
7489 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
7492 def get_extended_index(self, v):
7493 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
7494 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
7498 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7499 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
7502 def get_origin(self):
7503 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
7504 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
7507 def get_dimension(self):
7508 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
7509 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
7512 def get_unit_cell(self):
7513 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
7514 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
7517 def get_has_index(self, v):
7518 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
7519 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
7523 """__str__(DenseIntLogGrid3D self) -> std::string"""
7524 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
7528 """__repr__(DenseIntLogGrid3D self) -> std::string"""
7529 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
7532 def show(self, *args):
7534 show(DenseIntLogGrid3D self, _ostream out)
7535 show(DenseIntLogGrid3D self)
7537 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
7539 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
7540 __del__ =
lambda self:
None
7541 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
7542 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
7545 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
7546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7548 def __init__(self, *args):
7550 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
7551 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
7552 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
7554 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
7556 self.this.append(this)
7560 def add_voxel(self, i, q):
7561 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
7562 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
7565 def __getitem__(self, *args):
7567 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
7568 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
7570 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
7573 def __setitem__(self, *args):
7575 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
7576 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
7578 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
7581 def get_bounding_box(self, *args):
7583 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
7584 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
7586 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
7591 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7592 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7594 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
7597 def get_all_indexes(self):
7598 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7599 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
7602 def get_extended_indexes(self, *args):
7604 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7605 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7607 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
7610 def get_center(self, *args):
7612 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
7613 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
7615 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
7618 def get_extended_index(self, v):
7619 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
7620 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
7624 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7625 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
7628 def get_origin(self):
7629 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
7630 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
7633 def get_dimension(self):
7634 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
7635 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
7638 def get_unit_cell(self):
7639 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
7640 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
7643 def get_has_index(self, v):
7644 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
7645 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
7649 """__str__(DenseDoubleGrid3D self) -> std::string"""
7650 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
7654 """__repr__(DenseDoubleGrid3D self) -> std::string"""
7655 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
7658 def show(self, *args):
7660 show(DenseDoubleGrid3D self, _ostream out)
7661 show(DenseDoubleGrid3D self)
7663 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
7665 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
7666 __del__ =
lambda self:
None
7667 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
7668 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
7671 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
7672 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7674 def __init__(self, *args):
7676 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
7677 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
7678 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
7680 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
7682 self.this.append(this)
7686 def add_voxel(self, i, q):
7687 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
7688 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
7691 def __getitem__(self, *args):
7693 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
7694 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
7696 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
7699 def __setitem__(self, *args):
7701 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
7702 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
7704 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
7707 def get_bounding_box(self, *args):
7709 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
7710 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
7712 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
7717 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7718 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7720 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
7723 def get_all_indexes(self):
7724 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7725 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
7728 def get_extended_indexes(self, *args):
7730 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7731 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7733 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
7736 def get_center(self, *args):
7738 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
7739 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
7741 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
7744 def get_extended_index(self, v):
7745 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
7746 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
7750 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7751 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
7754 def get_origin(self):
7755 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
7756 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
7759 def get_dimension(self):
7760 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
7761 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
7764 def get_unit_cell(self):
7765 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
7766 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
7769 def get_has_index(self, v):
7770 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
7771 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
7775 """__str__(DenseFloatGrid3D self) -> std::string"""
7776 return _IMP_algebra.DenseFloatGrid3D___str__(self)
7780 """__repr__(DenseFloatGrid3D self) -> std::string"""
7781 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
7784 def show(self, *args):
7786 show(DenseFloatGrid3D self, _ostream out)
7787 show(DenseFloatGrid3D self)
7789 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
7791 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
7792 __del__ =
lambda self:
None
7793 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
7794 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
7797 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
7798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7800 def __init__(self, *args):
7802 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
7803 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
7804 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
7805 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
7806 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
7808 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
7810 self.this.append(this)
7814 def add_voxel(self, i, q):
7815 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
7816 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
7819 def __getitem__(self, *args):
7821 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
7822 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
7824 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
7827 def __setitem__(self, *args):
7829 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
7830 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
7832 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
7835 def get_bounding_box(self, *args):
7837 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
7838 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
7840 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
7845 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7846 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
7848 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
7851 def get_all_indexes(self):
7852 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7853 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
7856 def get_extended_indexes(self, *args):
7858 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7859 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
7861 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
7864 def get_center(self, *args):
7866 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
7867 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
7869 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
7872 def get_extended_index(self, v):
7873 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
7874 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
7878 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7879 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
7882 def get_origin(self):
7883 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
7884 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
7887 def get_dimension(self):
7888 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
7889 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
7892 def get_unit_cell(self):
7893 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
7894 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
7897 def get_has_index(self, v):
7898 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
7899 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
7903 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
7904 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
7908 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
7909 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
7912 def show(self, *args):
7914 show(SparseUnboundedIntGrid3D self, _ostream out)
7915 show(SparseUnboundedIntGrid3D self)
7917 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
7919 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
7920 __del__ =
lambda self:
None
7921 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
7922 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
7924 class SparseUnboundedIntGridKD(object):
7925 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
7926 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7928 def __init__(self, *args):
7930 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
7931 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
7932 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
7934 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
7936 self.this.append(this)
7940 def add_voxel(self, i, q):
7941 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
7942 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
7945 def __getitem__(self, *args):
7947 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
7948 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
7950 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
7953 def __setitem__(self, *args):
7955 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
7956 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
7958 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
7961 def get_bounding_box(self, *args):
7963 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
7964 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
7966 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
7971 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
7972 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
7974 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
7977 def get_all_indexes(self):
7978 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
7979 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
7982 def get_extended_indexes(self, *args):
7984 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
7985 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
7987 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
7990 def get_center(self, *args):
7992 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
7993 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
7995 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
7998 def get_extended_index(self, v):
7999 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
8000 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
8004 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8005 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
8008 def get_origin(self):
8009 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
8010 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
8013 def get_dimension(self):
8014 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
8015 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
8018 def get_unit_cell(self):
8019 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
8020 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
8023 def get_has_index(self, v):
8024 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
8025 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
8029 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
8030 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
8034 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
8035 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
8038 def show(self, *args):
8040 show(SparseUnboundedIntGridKD self, _ostream out)
8041 show(SparseUnboundedIntGridKD self)
8043 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
8045 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
8046 __del__ =
lambda self:
None
8047 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
8048 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
8050 class GridIndex1D(IMP._Value):
8051 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
8052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8054 def __init__(self, *args):
8056 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
8057 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
8058 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
8059 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
8060 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
8061 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
8062 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
8064 this = _IMP_algebra.new_GridIndex1D(*args)
8066 self.this.append(this)
8070 def get_dimension(self):
8071 """get_dimension(GridIndex1D self) -> unsigned int"""
8072 return _IMP_algebra.GridIndex1D_get_dimension(self)
8075 def __getitem__(self, i):
8076 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
8077 return _IMP_algebra.GridIndex1D___getitem__(self, i)
8080 def show(self, *args):
8082 show(GridIndex1D self, _ostream out)
8083 show(GridIndex1D self)
8085 return _IMP_algebra.GridIndex1D_show(self, *args)
8089 """__len__(GridIndex1D self) -> unsigned int"""
8090 return _IMP_algebra.GridIndex1D___len__(self)
8093 def __cmp__(self, o):
8094 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
8095 return _IMP_algebra.GridIndex1D___cmp__(self, o)
8098 def __eq__(self, o):
8099 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
8100 return _IMP_algebra.GridIndex1D___eq__(self, o)
8103 def __ne__(self, o):
8104 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
8105 return _IMP_algebra.GridIndex1D___ne__(self, o)
8108 def __lt__(self, o):
8109 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
8110 return _IMP_algebra.GridIndex1D___lt__(self, o)
8113 def __gt__(self, o):
8114 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
8115 return _IMP_algebra.GridIndex1D___gt__(self, o)
8118 def __ge__(self, o):
8119 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
8120 return _IMP_algebra.GridIndex1D___ge__(self, o)
8123 def __le__(self, o):
8124 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
8125 return _IMP_algebra.GridIndex1D___le__(self, o)
8129 """__hash__(GridIndex1D self) -> std::size_t"""
8130 return _IMP_algebra.GridIndex1D___hash__(self)
8134 """__str__(GridIndex1D self) -> std::string"""
8135 return _IMP_algebra.GridIndex1D___str__(self)
8139 """__repr__(GridIndex1D self) -> std::string"""
8140 return _IMP_algebra.GridIndex1D___repr__(self)
8143 def _get_as_binary(self):
8144 """_get_as_binary(GridIndex1D self) -> PyObject *"""
8145 return _IMP_algebra.GridIndex1D__get_as_binary(self)
8148 def _set_from_binary(self, p):
8149 """_set_from_binary(GridIndex1D self, PyObject * p)"""
8150 return _IMP_algebra.GridIndex1D__set_from_binary(self, p)
8153 def __getstate__(self):
8154 p = self._get_as_binary()
8155 if len(self.__dict__) > 1:
8156 d = self.__dict__.copy()
8161 def __setstate__(self, p):
8162 if not hasattr(self,
'this'):
8164 if isinstance(p, tuple):
8166 self.__dict__.update(d)
8167 return self._set_from_binary(p)
8169 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
8170 __del__ =
lambda self:
None
8171 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
8172 GridIndex1D_swigregister(GridIndex1D)
8174 class GridIndex2D(IMP._Value):
8175 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
8176 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8178 def __init__(self, *args):
8180 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
8181 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
8182 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
8183 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
8184 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
8185 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
8186 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
8188 this = _IMP_algebra.new_GridIndex2D(*args)
8190 self.this.append(this)
8194 def get_dimension(self):
8195 """get_dimension(GridIndex2D self) -> unsigned int"""
8196 return _IMP_algebra.GridIndex2D_get_dimension(self)
8199 def __getitem__(self, i):
8200 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
8201 return _IMP_algebra.GridIndex2D___getitem__(self, i)
8204 def show(self, *args):
8206 show(GridIndex2D self, _ostream out)
8207 show(GridIndex2D self)
8209 return _IMP_algebra.GridIndex2D_show(self, *args)
8213 """__len__(GridIndex2D self) -> unsigned int"""
8214 return _IMP_algebra.GridIndex2D___len__(self)
8217 def __cmp__(self, o):
8218 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
8219 return _IMP_algebra.GridIndex2D___cmp__(self, o)
8222 def __eq__(self, o):
8223 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
8224 return _IMP_algebra.GridIndex2D___eq__(self, o)
8227 def __ne__(self, o):
8228 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
8229 return _IMP_algebra.GridIndex2D___ne__(self, o)
8232 def __lt__(self, o):
8233 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
8234 return _IMP_algebra.GridIndex2D___lt__(self, o)
8237 def __gt__(self, o):
8238 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
8239 return _IMP_algebra.GridIndex2D___gt__(self, o)
8242 def __ge__(self, o):
8243 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
8244 return _IMP_algebra.GridIndex2D___ge__(self, o)
8247 def __le__(self, o):
8248 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
8249 return _IMP_algebra.GridIndex2D___le__(self, o)
8253 """__hash__(GridIndex2D self) -> std::size_t"""
8254 return _IMP_algebra.GridIndex2D___hash__(self)
8258 """__str__(GridIndex2D self) -> std::string"""
8259 return _IMP_algebra.GridIndex2D___str__(self)
8263 """__repr__(GridIndex2D self) -> std::string"""
8264 return _IMP_algebra.GridIndex2D___repr__(self)
8267 def _get_as_binary(self):
8268 """_get_as_binary(GridIndex2D self) -> PyObject *"""
8269 return _IMP_algebra.GridIndex2D__get_as_binary(self)
8272 def _set_from_binary(self, p):
8273 """_set_from_binary(GridIndex2D self, PyObject * p)"""
8274 return _IMP_algebra.GridIndex2D__set_from_binary(self, p)
8277 def __getstate__(self):
8278 p = self._get_as_binary()
8279 if len(self.__dict__) > 1:
8280 d = self.__dict__.copy()
8285 def __setstate__(self, p):
8286 if not hasattr(self,
'this'):
8288 if isinstance(p, tuple):
8290 self.__dict__.update(d)
8291 return self._set_from_binary(p)
8293 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
8294 __del__ =
lambda self:
None
8295 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
8296 GridIndex2D_swigregister(GridIndex2D)
8298 class GridIndex3D(IMP._Value):
8299 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
8300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8302 def __init__(self, *args):
8304 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
8305 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
8306 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
8307 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
8308 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
8309 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
8310 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
8312 this = _IMP_algebra.new_GridIndex3D(*args)
8314 self.this.append(this)
8318 def get_dimension(self):
8319 """get_dimension(GridIndex3D self) -> unsigned int"""
8320 return _IMP_algebra.GridIndex3D_get_dimension(self)
8323 def __getitem__(self, i):
8324 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
8325 return _IMP_algebra.GridIndex3D___getitem__(self, i)
8328 def show(self, *args):
8330 show(GridIndex3D self, _ostream out)
8331 show(GridIndex3D self)
8333 return _IMP_algebra.GridIndex3D_show(self, *args)
8337 """__len__(GridIndex3D self) -> unsigned int"""
8338 return _IMP_algebra.GridIndex3D___len__(self)
8341 def __cmp__(self, o):
8342 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
8343 return _IMP_algebra.GridIndex3D___cmp__(self, o)
8346 def __eq__(self, o):
8347 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
8348 return _IMP_algebra.GridIndex3D___eq__(self, o)
8351 def __ne__(self, o):
8352 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
8353 return _IMP_algebra.GridIndex3D___ne__(self, o)
8356 def __lt__(self, o):
8357 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
8358 return _IMP_algebra.GridIndex3D___lt__(self, o)
8361 def __gt__(self, o):
8362 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
8363 return _IMP_algebra.GridIndex3D___gt__(self, o)
8366 def __ge__(self, o):
8367 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
8368 return _IMP_algebra.GridIndex3D___ge__(self, o)
8371 def __le__(self, o):
8372 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
8373 return _IMP_algebra.GridIndex3D___le__(self, o)
8377 """__hash__(GridIndex3D self) -> std::size_t"""
8378 return _IMP_algebra.GridIndex3D___hash__(self)
8382 """__str__(GridIndex3D self) -> std::string"""
8383 return _IMP_algebra.GridIndex3D___str__(self)
8387 """__repr__(GridIndex3D self) -> std::string"""
8388 return _IMP_algebra.GridIndex3D___repr__(self)
8391 def _get_as_binary(self):
8392 """_get_as_binary(GridIndex3D self) -> PyObject *"""
8393 return _IMP_algebra.GridIndex3D__get_as_binary(self)
8396 def _set_from_binary(self, p):
8397 """_set_from_binary(GridIndex3D self, PyObject * p)"""
8398 return _IMP_algebra.GridIndex3D__set_from_binary(self, p)
8401 def __getstate__(self):
8402 p = self._get_as_binary()
8403 if len(self.__dict__) > 1:
8404 d = self.__dict__.copy()
8409 def __setstate__(self, p):
8410 if not hasattr(self,
'this'):
8412 if isinstance(p, tuple):
8414 self.__dict__.update(d)
8415 return self._set_from_binary(p)
8417 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
8418 __del__ =
lambda self:
None
8419 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
8420 GridIndex3D_swigregister(GridIndex3D)
8422 class GridIndex4D(IMP._Value):
8423 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
8424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8426 def __init__(self, *args):
8428 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
8429 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
8430 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
8431 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
8432 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
8433 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
8434 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
8436 this = _IMP_algebra.new_GridIndex4D(*args)
8438 self.this.append(this)
8442 def get_dimension(self):
8443 """get_dimension(GridIndex4D self) -> unsigned int"""
8444 return _IMP_algebra.GridIndex4D_get_dimension(self)
8447 def __getitem__(self, i):
8448 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
8449 return _IMP_algebra.GridIndex4D___getitem__(self, i)
8452 def show(self, *args):
8454 show(GridIndex4D self, _ostream out)
8455 show(GridIndex4D self)
8457 return _IMP_algebra.GridIndex4D_show(self, *args)
8461 """__len__(GridIndex4D self) -> unsigned int"""
8462 return _IMP_algebra.GridIndex4D___len__(self)
8465 def __cmp__(self, o):
8466 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
8467 return _IMP_algebra.GridIndex4D___cmp__(self, o)
8470 def __eq__(self, o):
8471 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
8472 return _IMP_algebra.GridIndex4D___eq__(self, o)
8475 def __ne__(self, o):
8476 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
8477 return _IMP_algebra.GridIndex4D___ne__(self, o)
8480 def __lt__(self, o):
8481 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
8482 return _IMP_algebra.GridIndex4D___lt__(self, o)
8485 def __gt__(self, o):
8486 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
8487 return _IMP_algebra.GridIndex4D___gt__(self, o)
8490 def __ge__(self, o):
8491 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
8492 return _IMP_algebra.GridIndex4D___ge__(self, o)
8495 def __le__(self, o):
8496 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
8497 return _IMP_algebra.GridIndex4D___le__(self, o)
8501 """__hash__(GridIndex4D self) -> std::size_t"""
8502 return _IMP_algebra.GridIndex4D___hash__(self)
8506 """__str__(GridIndex4D self) -> std::string"""
8507 return _IMP_algebra.GridIndex4D___str__(self)
8511 """__repr__(GridIndex4D self) -> std::string"""
8512 return _IMP_algebra.GridIndex4D___repr__(self)
8515 def _get_as_binary(self):
8516 """_get_as_binary(GridIndex4D self) -> PyObject *"""
8517 return _IMP_algebra.GridIndex4D__get_as_binary(self)
8520 def _set_from_binary(self, p):
8521 """_set_from_binary(GridIndex4D self, PyObject * p)"""
8522 return _IMP_algebra.GridIndex4D__set_from_binary(self, p)
8525 def __getstate__(self):
8526 p = self._get_as_binary()
8527 if len(self.__dict__) > 1:
8528 d = self.__dict__.copy()
8533 def __setstate__(self, p):
8534 if not hasattr(self,
'this'):
8536 if isinstance(p, tuple):
8538 self.__dict__.update(d)
8539 return self._set_from_binary(p)
8541 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
8542 __del__ =
lambda self:
None
8543 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
8544 GridIndex4D_swigregister(GridIndex4D)
8546 class GridIndex5D(IMP._Value):
8547 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
8548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8550 def __init__(self, *args):
8552 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
8553 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
8554 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
8555 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
8556 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
8557 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
8558 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
8560 this = _IMP_algebra.new_GridIndex5D(*args)
8562 self.this.append(this)
8566 def get_dimension(self):
8567 """get_dimension(GridIndex5D self) -> unsigned int"""
8568 return _IMP_algebra.GridIndex5D_get_dimension(self)
8571 def __getitem__(self, i):
8572 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
8573 return _IMP_algebra.GridIndex5D___getitem__(self, i)
8576 def show(self, *args):
8578 show(GridIndex5D self, _ostream out)
8579 show(GridIndex5D self)
8581 return _IMP_algebra.GridIndex5D_show(self, *args)
8585 """__len__(GridIndex5D self) -> unsigned int"""
8586 return _IMP_algebra.GridIndex5D___len__(self)
8589 def __cmp__(self, o):
8590 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
8591 return _IMP_algebra.GridIndex5D___cmp__(self, o)
8594 def __eq__(self, o):
8595 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
8596 return _IMP_algebra.GridIndex5D___eq__(self, o)
8599 def __ne__(self, o):
8600 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
8601 return _IMP_algebra.GridIndex5D___ne__(self, o)
8604 def __lt__(self, o):
8605 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
8606 return _IMP_algebra.GridIndex5D___lt__(self, o)
8609 def __gt__(self, o):
8610 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
8611 return _IMP_algebra.GridIndex5D___gt__(self, o)
8614 def __ge__(self, o):
8615 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
8616 return _IMP_algebra.GridIndex5D___ge__(self, o)
8619 def __le__(self, o):
8620 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
8621 return _IMP_algebra.GridIndex5D___le__(self, o)
8625 """__hash__(GridIndex5D self) -> std::size_t"""
8626 return _IMP_algebra.GridIndex5D___hash__(self)
8630 """__str__(GridIndex5D self) -> std::string"""
8631 return _IMP_algebra.GridIndex5D___str__(self)
8635 """__repr__(GridIndex5D self) -> std::string"""
8636 return _IMP_algebra.GridIndex5D___repr__(self)
8639 def _get_as_binary(self):
8640 """_get_as_binary(GridIndex5D self) -> PyObject *"""
8641 return _IMP_algebra.GridIndex5D__get_as_binary(self)
8644 def _set_from_binary(self, p):
8645 """_set_from_binary(GridIndex5D self, PyObject * p)"""
8646 return _IMP_algebra.GridIndex5D__set_from_binary(self, p)
8649 def __getstate__(self):
8650 p = self._get_as_binary()
8651 if len(self.__dict__) > 1:
8652 d = self.__dict__.copy()
8657 def __setstate__(self, p):
8658 if not hasattr(self,
'this'):
8660 if isinstance(p, tuple):
8662 self.__dict__.update(d)
8663 return self._set_from_binary(p)
8665 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
8666 __del__ =
lambda self:
None
8667 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
8668 GridIndex5D_swigregister(GridIndex5D)
8670 class GridIndex6D(IMP._Value):
8671 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
8672 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8674 def __init__(self, *args):
8676 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
8677 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
8678 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
8679 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
8680 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
8681 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
8682 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
8684 this = _IMP_algebra.new_GridIndex6D(*args)
8686 self.this.append(this)
8690 def get_dimension(self):
8691 """get_dimension(GridIndex6D self) -> unsigned int"""
8692 return _IMP_algebra.GridIndex6D_get_dimension(self)
8695 def __getitem__(self, i):
8696 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
8697 return _IMP_algebra.GridIndex6D___getitem__(self, i)
8700 def show(self, *args):
8702 show(GridIndex6D self, _ostream out)
8703 show(GridIndex6D self)
8705 return _IMP_algebra.GridIndex6D_show(self, *args)
8709 """__len__(GridIndex6D self) -> unsigned int"""
8710 return _IMP_algebra.GridIndex6D___len__(self)
8713 def __cmp__(self, o):
8714 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
8715 return _IMP_algebra.GridIndex6D___cmp__(self, o)
8718 def __eq__(self, o):
8719 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
8720 return _IMP_algebra.GridIndex6D___eq__(self, o)
8723 def __ne__(self, o):
8724 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
8725 return _IMP_algebra.GridIndex6D___ne__(self, o)
8728 def __lt__(self, o):
8729 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
8730 return _IMP_algebra.GridIndex6D___lt__(self, o)
8733 def __gt__(self, o):
8734 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
8735 return _IMP_algebra.GridIndex6D___gt__(self, o)
8738 def __ge__(self, o):
8739 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
8740 return _IMP_algebra.GridIndex6D___ge__(self, o)
8743 def __le__(self, o):
8744 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
8745 return _IMP_algebra.GridIndex6D___le__(self, o)
8749 """__hash__(GridIndex6D self) -> std::size_t"""
8750 return _IMP_algebra.GridIndex6D___hash__(self)
8754 """__str__(GridIndex6D self) -> std::string"""
8755 return _IMP_algebra.GridIndex6D___str__(self)
8759 """__repr__(GridIndex6D self) -> std::string"""
8760 return _IMP_algebra.GridIndex6D___repr__(self)
8763 def _get_as_binary(self):
8764 """_get_as_binary(GridIndex6D self) -> PyObject *"""
8765 return _IMP_algebra.GridIndex6D__get_as_binary(self)
8768 def _set_from_binary(self, p):
8769 """_set_from_binary(GridIndex6D self, PyObject * p)"""
8770 return _IMP_algebra.GridIndex6D__set_from_binary(self, p)
8773 def __getstate__(self):
8774 p = self._get_as_binary()
8775 if len(self.__dict__) > 1:
8776 d = self.__dict__.copy()
8781 def __setstate__(self, p):
8782 if not hasattr(self,
'this'):
8784 if isinstance(p, tuple):
8786 self.__dict__.update(d)
8787 return self._set_from_binary(p)
8789 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
8790 __del__ =
lambda self:
None
8791 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
8792 GridIndex6D_swigregister(GridIndex6D)
8794 class GridIndexKD(IMP._Value):
8795 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
8796 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8798 def __init__(self, *args):
8800 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
8801 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
8802 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
8803 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
8804 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
8805 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
8806 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
8808 this = _IMP_algebra.new_GridIndexKD(*args)
8810 self.this.append(this)
8814 def get_dimension(self):
8815 """get_dimension(GridIndexKD self) -> unsigned int"""
8816 return _IMP_algebra.GridIndexKD_get_dimension(self)
8819 def __getitem__(self, i):
8820 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
8821 return _IMP_algebra.GridIndexKD___getitem__(self, i)
8824 def show(self, *args):
8826 show(GridIndexKD self, _ostream out)
8827 show(GridIndexKD self)
8829 return _IMP_algebra.GridIndexKD_show(self, *args)
8833 """__len__(GridIndexKD self) -> unsigned int"""
8834 return _IMP_algebra.GridIndexKD___len__(self)
8837 def __cmp__(self, o):
8838 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
8839 return _IMP_algebra.GridIndexKD___cmp__(self, o)
8842 def __eq__(self, o):
8843 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
8844 return _IMP_algebra.GridIndexKD___eq__(self, o)
8847 def __ne__(self, o):
8848 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
8849 return _IMP_algebra.GridIndexKD___ne__(self, o)
8852 def __lt__(self, o):
8853 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
8854 return _IMP_algebra.GridIndexKD___lt__(self, o)
8857 def __gt__(self, o):
8858 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
8859 return _IMP_algebra.GridIndexKD___gt__(self, o)
8862 def __ge__(self, o):
8863 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
8864 return _IMP_algebra.GridIndexKD___ge__(self, o)
8867 def __le__(self, o):
8868 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
8869 return _IMP_algebra.GridIndexKD___le__(self, o)
8873 """__hash__(GridIndexKD self) -> std::size_t"""
8874 return _IMP_algebra.GridIndexKD___hash__(self)
8878 """__str__(GridIndexKD self) -> std::string"""
8879 return _IMP_algebra.GridIndexKD___str__(self)
8883 """__repr__(GridIndexKD self) -> std::string"""
8884 return _IMP_algebra.GridIndexKD___repr__(self)
8887 def _get_as_binary(self):
8888 """_get_as_binary(GridIndexKD self) -> PyObject *"""
8889 return _IMP_algebra.GridIndexKD__get_as_binary(self)
8892 def _set_from_binary(self, p):
8893 """_set_from_binary(GridIndexKD self, PyObject * p)"""
8894 return _IMP_algebra.GridIndexKD__set_from_binary(self, p)
8897 def __getstate__(self):
8898 p = self._get_as_binary()
8899 if len(self.__dict__) > 1:
8900 d = self.__dict__.copy()
8905 def __setstate__(self, p):
8906 if not hasattr(self,
'this'):
8908 if isinstance(p, tuple):
8910 self.__dict__.update(d)
8911 return self._set_from_binary(p)
8913 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
8914 __del__ =
lambda self:
None
8915 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
8916 GridIndexKD_swigregister(GridIndexKD)
8918 class ExtendedGridIndex1D(IMP._Value):
8919 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
8920 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8922 def __init__(self, *args):
8924 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
8925 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
8926 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
8927 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
8928 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
8929 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
8930 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
8931 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
8933 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
8935 self.this.append(this)
8939 def get_dimension(self):
8940 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
8941 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
8944 def __cmp__(self, o):
8945 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
8946 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
8949 def __eq__(self, o):
8950 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
8951 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
8954 def __ne__(self, o):
8955 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
8956 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
8959 def __lt__(self, o):
8960 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
8961 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
8964 def __gt__(self, o):
8965 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
8966 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
8969 def __ge__(self, o):
8970 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
8971 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
8974 def __le__(self, o):
8975 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
8976 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
8979 def __setitem__(self, i, v):
8980 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
8981 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
8984 def __getitem__(self, i):
8985 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
8986 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
8989 def show(self, *args):
8991 show(ExtendedGridIndex1D self, _ostream out)
8992 show(ExtendedGridIndex1D self)
8994 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
8998 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
8999 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
9003 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
9004 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
9007 def get_uniform_offset(self, ii):
9008 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
9009 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
9012 def get_offset(self, i, j, k):
9013 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
9014 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
9018 """__str__(ExtendedGridIndex1D self) -> std::string"""
9019 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
9023 """__repr__(ExtendedGridIndex1D self) -> std::string"""
9024 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
9027 def _get_as_binary(self):
9028 """_get_as_binary(ExtendedGridIndex1D self) -> PyObject *"""
9029 return _IMP_algebra.ExtendedGridIndex1D__get_as_binary(self)
9032 def _set_from_binary(self, p):
9033 """_set_from_binary(ExtendedGridIndex1D self, PyObject * p)"""
9034 return _IMP_algebra.ExtendedGridIndex1D__set_from_binary(self, p)
9037 def __getstate__(self):
9038 p = self._get_as_binary()
9039 if len(self.__dict__) > 1:
9040 d = self.__dict__.copy()
9045 def __setstate__(self, p):
9046 if not hasattr(self,
'this'):
9048 if isinstance(p, tuple):
9050 self.__dict__.update(d)
9051 return self._set_from_binary(p)
9053 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
9054 __del__ =
lambda self:
None
9055 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
9056 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
9058 class ExtendedGridIndex2D(IMP._Value):
9059 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
9060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9062 def __init__(self, *args):
9064 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
9065 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
9066 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
9067 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
9068 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
9069 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
9070 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
9071 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
9073 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
9075 self.this.append(this)
9079 def get_dimension(self):
9080 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
9081 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
9084 def __cmp__(self, o):
9085 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
9086 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
9089 def __eq__(self, o):
9090 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
9091 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
9094 def __ne__(self, o):
9095 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
9096 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
9099 def __lt__(self, o):
9100 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
9101 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
9104 def __gt__(self, o):
9105 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
9106 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
9109 def __ge__(self, o):
9110 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
9111 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
9114 def __le__(self, o):
9115 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
9116 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
9119 def __setitem__(self, i, v):
9120 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
9121 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
9124 def __getitem__(self, i):
9125 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
9126 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
9129 def show(self, *args):
9131 show(ExtendedGridIndex2D self, _ostream out)
9132 show(ExtendedGridIndex2D self)
9134 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
9138 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
9139 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
9143 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
9144 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
9147 def get_uniform_offset(self, ii):
9148 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
9149 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
9152 def get_offset(self, i, j, k):
9153 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
9154 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
9158 """__str__(ExtendedGridIndex2D self) -> std::string"""
9159 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
9163 """__repr__(ExtendedGridIndex2D self) -> std::string"""
9164 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
9167 def _get_as_binary(self):
9168 """_get_as_binary(ExtendedGridIndex2D self) -> PyObject *"""
9169 return _IMP_algebra.ExtendedGridIndex2D__get_as_binary(self)
9172 def _set_from_binary(self, p):
9173 """_set_from_binary(ExtendedGridIndex2D self, PyObject * p)"""
9174 return _IMP_algebra.ExtendedGridIndex2D__set_from_binary(self, p)
9177 def __getstate__(self):
9178 p = self._get_as_binary()
9179 if len(self.__dict__) > 1:
9180 d = self.__dict__.copy()
9185 def __setstate__(self, p):
9186 if not hasattr(self,
'this'):
9188 if isinstance(p, tuple):
9190 self.__dict__.update(d)
9191 return self._set_from_binary(p)
9193 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
9194 __del__ =
lambda self:
None
9195 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
9196 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
9198 class ExtendedGridIndex3D(IMP._Value):
9199 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
9200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9202 def __init__(self, *args):
9204 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
9205 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
9206 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
9207 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
9208 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
9209 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
9210 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
9211 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
9213 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
9215 self.this.append(this)
9219 def get_dimension(self):
9220 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
9221 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
9224 def __cmp__(self, o):
9225 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
9226 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
9229 def __eq__(self, o):
9230 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
9231 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
9234 def __ne__(self, o):
9235 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
9236 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
9239 def __lt__(self, o):
9240 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
9241 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
9244 def __gt__(self, o):
9245 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
9246 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
9249 def __ge__(self, o):
9250 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
9251 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
9254 def __le__(self, o):
9255 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
9256 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
9259 def __setitem__(self, i, v):
9260 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
9261 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
9264 def __getitem__(self, i):
9265 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
9266 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
9269 def show(self, *args):
9271 show(ExtendedGridIndex3D self, _ostream out)
9272 show(ExtendedGridIndex3D self)
9274 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
9278 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
9279 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
9283 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
9284 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
9287 def get_uniform_offset(self, ii):
9288 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
9289 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
9292 def get_offset(self, i, j, k):
9293 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
9294 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
9298 """__str__(ExtendedGridIndex3D self) -> std::string"""
9299 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
9303 """__repr__(ExtendedGridIndex3D self) -> std::string"""
9304 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
9307 def _get_as_binary(self):
9308 """_get_as_binary(ExtendedGridIndex3D self) -> PyObject *"""
9309 return _IMP_algebra.ExtendedGridIndex3D__get_as_binary(self)
9312 def _set_from_binary(self, p):
9313 """_set_from_binary(ExtendedGridIndex3D self, PyObject * p)"""
9314 return _IMP_algebra.ExtendedGridIndex3D__set_from_binary(self, p)
9317 def __getstate__(self):
9318 p = self._get_as_binary()
9319 if len(self.__dict__) > 1:
9320 d = self.__dict__.copy()
9325 def __setstate__(self, p):
9326 if not hasattr(self,
'this'):
9328 if isinstance(p, tuple):
9330 self.__dict__.update(d)
9331 return self._set_from_binary(p)
9333 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
9334 __del__ =
lambda self:
None
9335 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
9336 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
9338 class ExtendedGridIndex4D(IMP._Value):
9339 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
9340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9342 def __init__(self, *args):
9344 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
9345 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
9346 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
9347 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
9348 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
9349 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
9350 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
9351 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
9353 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
9355 self.this.append(this)
9359 def get_dimension(self):
9360 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
9361 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
9364 def __cmp__(self, o):
9365 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
9366 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
9369 def __eq__(self, o):
9370 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
9371 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
9374 def __ne__(self, o):
9375 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
9376 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
9379 def __lt__(self, o):
9380 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
9381 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
9384 def __gt__(self, o):
9385 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
9386 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
9389 def __ge__(self, o):
9390 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
9391 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
9394 def __le__(self, o):
9395 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
9396 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
9399 def __setitem__(self, i, v):
9400 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
9401 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
9404 def __getitem__(self, i):
9405 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
9406 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
9409 def show(self, *args):
9411 show(ExtendedGridIndex4D self, _ostream out)
9412 show(ExtendedGridIndex4D self)
9414 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
9418 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
9419 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
9423 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
9424 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
9427 def get_uniform_offset(self, ii):
9428 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
9429 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
9432 def get_offset(self, i, j, k):
9433 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
9434 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
9438 """__str__(ExtendedGridIndex4D self) -> std::string"""
9439 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
9443 """__repr__(ExtendedGridIndex4D self) -> std::string"""
9444 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
9447 def _get_as_binary(self):
9448 """_get_as_binary(ExtendedGridIndex4D self) -> PyObject *"""
9449 return _IMP_algebra.ExtendedGridIndex4D__get_as_binary(self)
9452 def _set_from_binary(self, p):
9453 """_set_from_binary(ExtendedGridIndex4D self, PyObject * p)"""
9454 return _IMP_algebra.ExtendedGridIndex4D__set_from_binary(self, p)
9457 def __getstate__(self):
9458 p = self._get_as_binary()
9459 if len(self.__dict__) > 1:
9460 d = self.__dict__.copy()
9465 def __setstate__(self, p):
9466 if not hasattr(self,
'this'):
9468 if isinstance(p, tuple):
9470 self.__dict__.update(d)
9471 return self._set_from_binary(p)
9473 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
9474 __del__ =
lambda self:
None
9475 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
9476 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
9478 class ExtendedGridIndex5D(IMP._Value):
9479 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
9480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9482 def __init__(self, *args):
9484 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
9485 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
9486 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
9487 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
9488 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
9489 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
9490 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
9491 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
9493 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
9495 self.this.append(this)
9499 def get_dimension(self):
9500 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
9501 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
9504 def __cmp__(self, o):
9505 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
9506 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
9509 def __eq__(self, o):
9510 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
9511 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
9514 def __ne__(self, o):
9515 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
9516 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
9519 def __lt__(self, o):
9520 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
9521 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
9524 def __gt__(self, o):
9525 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
9526 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
9529 def __ge__(self, o):
9530 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
9531 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
9534 def __le__(self, o):
9535 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
9536 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
9539 def __setitem__(self, i, v):
9540 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
9541 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
9544 def __getitem__(self, i):
9545 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
9546 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
9549 def show(self, *args):
9551 show(ExtendedGridIndex5D self, _ostream out)
9552 show(ExtendedGridIndex5D self)
9554 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
9558 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
9559 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
9563 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
9564 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
9567 def get_uniform_offset(self, ii):
9568 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
9569 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
9572 def get_offset(self, i, j, k):
9573 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
9574 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
9578 """__str__(ExtendedGridIndex5D self) -> std::string"""
9579 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
9583 """__repr__(ExtendedGridIndex5D self) -> std::string"""
9584 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
9587 def _get_as_binary(self):
9588 """_get_as_binary(ExtendedGridIndex5D self) -> PyObject *"""
9589 return _IMP_algebra.ExtendedGridIndex5D__get_as_binary(self)
9592 def _set_from_binary(self, p):
9593 """_set_from_binary(ExtendedGridIndex5D self, PyObject * p)"""
9594 return _IMP_algebra.ExtendedGridIndex5D__set_from_binary(self, p)
9597 def __getstate__(self):
9598 p = self._get_as_binary()
9599 if len(self.__dict__) > 1:
9600 d = self.__dict__.copy()
9605 def __setstate__(self, p):
9606 if not hasattr(self,
'this'):
9608 if isinstance(p, tuple):
9610 self.__dict__.update(d)
9611 return self._set_from_binary(p)
9613 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
9614 __del__ =
lambda self:
None
9615 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
9616 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
9618 class ExtendedGridIndex6D(IMP._Value):
9619 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
9620 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9622 def __init__(self, *args):
9624 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
9625 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
9626 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
9627 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
9628 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
9629 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
9630 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
9631 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
9633 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
9635 self.this.append(this)
9639 def get_dimension(self):
9640 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
9641 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
9644 def __cmp__(self, o):
9645 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
9646 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
9649 def __eq__(self, o):
9650 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
9651 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
9654 def __ne__(self, o):
9655 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
9656 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
9659 def __lt__(self, o):
9660 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
9661 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
9664 def __gt__(self, o):
9665 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
9666 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
9669 def __ge__(self, o):
9670 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
9671 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
9674 def __le__(self, o):
9675 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
9676 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
9679 def __setitem__(self, i, v):
9680 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
9681 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
9684 def __getitem__(self, i):
9685 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
9686 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
9689 def show(self, *args):
9691 show(ExtendedGridIndex6D self, _ostream out)
9692 show(ExtendedGridIndex6D self)
9694 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
9698 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
9699 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
9703 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
9704 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
9707 def get_uniform_offset(self, ii):
9708 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
9709 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
9712 def get_offset(self, i, j, k):
9713 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
9714 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
9718 """__str__(ExtendedGridIndex6D self) -> std::string"""
9719 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
9723 """__repr__(ExtendedGridIndex6D self) -> std::string"""
9724 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
9727 def _get_as_binary(self):
9728 """_get_as_binary(ExtendedGridIndex6D self) -> PyObject *"""
9729 return _IMP_algebra.ExtendedGridIndex6D__get_as_binary(self)
9732 def _set_from_binary(self, p):
9733 """_set_from_binary(ExtendedGridIndex6D self, PyObject * p)"""
9734 return _IMP_algebra.ExtendedGridIndex6D__set_from_binary(self, p)
9737 def __getstate__(self):
9738 p = self._get_as_binary()
9739 if len(self.__dict__) > 1:
9740 d = self.__dict__.copy()
9745 def __setstate__(self, p):
9746 if not hasattr(self,
'this'):
9748 if isinstance(p, tuple):
9750 self.__dict__.update(d)
9751 return self._set_from_binary(p)
9753 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
9754 __del__ =
lambda self:
None
9755 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
9756 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
9758 class ExtendedGridIndexKD(IMP._Value):
9759 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
9760 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9762 def __init__(self, *args):
9764 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
9765 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
9766 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
9767 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
9768 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
9769 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
9770 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
9771 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
9773 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
9775 self.this.append(this)
9779 def get_dimension(self):
9780 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
9781 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
9784 def __cmp__(self, o):
9785 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
9786 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
9789 def __eq__(self, o):
9790 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
9791 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
9794 def __ne__(self, o):
9795 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
9796 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
9799 def __lt__(self, o):
9800 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
9801 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
9804 def __gt__(self, o):
9805 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
9806 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
9809 def __ge__(self, o):
9810 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
9811 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
9814 def __le__(self, o):
9815 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
9816 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
9819 def __setitem__(self, i, v):
9820 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
9821 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
9824 def __getitem__(self, i):
9825 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
9826 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
9829 def show(self, *args):
9831 show(ExtendedGridIndexKD self, _ostream out)
9832 show(ExtendedGridIndexKD self)
9834 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
9838 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
9839 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
9843 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
9844 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
9847 def get_uniform_offset(self, ii):
9848 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
9849 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
9852 def get_offset(self, i, j, k):
9853 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
9854 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
9858 """__str__(ExtendedGridIndexKD self) -> std::string"""
9859 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
9863 """__repr__(ExtendedGridIndexKD self) -> std::string"""
9864 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
9867 def _get_as_binary(self):
9868 """_get_as_binary(ExtendedGridIndexKD self) -> PyObject *"""
9869 return _IMP_algebra.ExtendedGridIndexKD__get_as_binary(self)
9872 def _set_from_binary(self, p):
9873 """_set_from_binary(ExtendedGridIndexKD self, PyObject * p)"""
9874 return _IMP_algebra.ExtendedGridIndexKD__set_from_binary(self, p)
9877 def __getstate__(self):
9878 p = self._get_as_binary()
9879 if len(self.__dict__) > 1:
9880 d = self.__dict__.copy()
9885 def __setstate__(self, p):
9886 if not hasattr(self,
'this'):
9888 if isinstance(p, tuple):
9890 self.__dict__.update(d)
9891 return self._set_from_binary(p)
9893 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
9894 __del__ =
lambda self:
None
9895 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
9896 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
9898 class BoundedGridRange1D(object):
9899 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
9900 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9902 def get_is_bounded():
9903 """get_is_bounded() -> bool"""
9904 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
9906 get_is_bounded = staticmethod(get_is_bounded)
9908 def __init__(self, *args):
9910 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
9911 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
9913 this = _IMP_algebra.new_BoundedGridRange1D(*args)
9915 self.this.append(this)
9919 def get_number_of_voxels(self, *args):
9921 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
9922 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
9924 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
9927 def get_end_index(self):
9928 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
9929 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
9932 def show(self, *args):
9934 show(BoundedGridRange1D self, _ostream out)
9935 show(BoundedGridRange1D self)
9937 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
9940 def get_all_indexes(self):
9941 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
9942 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
9946 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
9947 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
9950 def get_extended_indexes(self, lb, ub):
9951 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9952 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
9956 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
9957 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
9960 def get_has_index(self, v):
9961 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
9962 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
9965 def get_minimum_extended_index(self):
9966 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
9967 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
9970 def get_maximum_extended_index(self):
9971 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
9972 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
9976 """__str__(BoundedGridRange1D self) -> std::string"""
9977 return _IMP_algebra.BoundedGridRange1D___str__(self)
9981 """__repr__(BoundedGridRange1D self) -> std::string"""
9982 return _IMP_algebra.BoundedGridRange1D___repr__(self)
9985 def __cmp__(self, arg2):
9986 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
9987 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
9990 def __eq__(self, arg2):
9991 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
9992 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
9995 def _get_as_binary(self):
9996 """_get_as_binary(BoundedGridRange1D self) -> PyObject *"""
9997 return _IMP_algebra.BoundedGridRange1D__get_as_binary(self)
10000 def _set_from_binary(self, p):
10001 """_set_from_binary(BoundedGridRange1D self, PyObject * p)"""
10002 return _IMP_algebra.BoundedGridRange1D__set_from_binary(self, p)
10005 def __getstate__(self):
10006 p = self._get_as_binary()
10007 if len(self.__dict__) > 1:
10008 d = self.__dict__.copy()
10013 def __setstate__(self, p):
10014 if not hasattr(self,
'this'):
10016 if isinstance(p, tuple):
10018 self.__dict__.update(d)
10019 return self._set_from_binary(p)
10021 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
10022 __del__ =
lambda self:
None
10023 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
10024 BoundedGridRange1D_swigregister(BoundedGridRange1D)
10026 def BoundedGridRange1D_get_is_bounded():
10027 """BoundedGridRange1D_get_is_bounded() -> bool"""
10028 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
10030 class BoundedGridRange2D(object):
10031 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
10032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10034 def get_is_bounded():
10035 """get_is_bounded() -> bool"""
10036 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
10038 get_is_bounded = staticmethod(get_is_bounded)
10040 def __init__(self, *args):
10042 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
10043 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
10045 this = _IMP_algebra.new_BoundedGridRange2D(*args)
10047 self.this.append(this)
10051 def get_number_of_voxels(self, *args):
10053 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
10054 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
10056 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
10059 def get_end_index(self):
10060 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
10061 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
10064 def show(self, *args):
10066 show(BoundedGridRange2D self, _ostream out)
10067 show(BoundedGridRange2D self)
10069 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
10072 def get_all_indexes(self):
10073 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
10074 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
10078 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
10079 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
10082 def get_extended_indexes(self, lb, ub):
10083 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
10084 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
10088 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
10089 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
10092 def get_has_index(self, v):
10093 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
10094 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
10097 def get_minimum_extended_index(self):
10098 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
10099 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
10102 def get_maximum_extended_index(self):
10103 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
10104 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
10108 """__str__(BoundedGridRange2D self) -> std::string"""
10109 return _IMP_algebra.BoundedGridRange2D___str__(self)
10112 def __repr__(self):
10113 """__repr__(BoundedGridRange2D self) -> std::string"""
10114 return _IMP_algebra.BoundedGridRange2D___repr__(self)
10117 def __cmp__(self, arg2):
10118 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
10119 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
10122 def __eq__(self, arg2):
10123 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
10124 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
10127 def _get_as_binary(self):
10128 """_get_as_binary(BoundedGridRange2D self) -> PyObject *"""
10129 return _IMP_algebra.BoundedGridRange2D__get_as_binary(self)
10132 def _set_from_binary(self, p):
10133 """_set_from_binary(BoundedGridRange2D self, PyObject * p)"""
10134 return _IMP_algebra.BoundedGridRange2D__set_from_binary(self, p)
10137 def __getstate__(self):
10138 p = self._get_as_binary()
10139 if len(self.__dict__) > 1:
10140 d = self.__dict__.copy()
10145 def __setstate__(self, p):
10146 if not hasattr(self,
'this'):
10148 if isinstance(p, tuple):
10150 self.__dict__.update(d)
10151 return self._set_from_binary(p)
10153 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
10154 __del__ =
lambda self:
None
10155 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
10156 BoundedGridRange2D_swigregister(BoundedGridRange2D)
10158 def BoundedGridRange2D_get_is_bounded():
10159 """BoundedGridRange2D_get_is_bounded() -> bool"""
10160 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
10162 class BoundedGridRange3D(object):
10163 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
10164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10166 def get_is_bounded():
10167 """get_is_bounded() -> bool"""
10168 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
10170 get_is_bounded = staticmethod(get_is_bounded)
10172 def __init__(self, *args):
10174 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
10175 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
10177 this = _IMP_algebra.new_BoundedGridRange3D(*args)
10179 self.this.append(this)
10183 def get_number_of_voxels(self, *args):
10185 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
10186 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
10188 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
10191 def get_end_index(self):
10192 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
10193 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
10196 def show(self, *args):
10198 show(BoundedGridRange3D self, _ostream out)
10199 show(BoundedGridRange3D self)
10201 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
10204 def get_all_indexes(self):
10205 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
10206 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
10210 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
10211 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
10214 def get_extended_indexes(self, lb, ub):
10215 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
10216 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
10220 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
10221 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
10224 def get_has_index(self, v):
10225 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
10226 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
10229 def get_minimum_extended_index(self):
10230 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
10231 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
10234 def get_maximum_extended_index(self):
10235 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
10236 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
10240 """__str__(BoundedGridRange3D self) -> std::string"""
10241 return _IMP_algebra.BoundedGridRange3D___str__(self)
10244 def __repr__(self):
10245 """__repr__(BoundedGridRange3D self) -> std::string"""
10246 return _IMP_algebra.BoundedGridRange3D___repr__(self)
10249 def __cmp__(self, arg2):
10250 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
10251 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
10254 def __eq__(self, arg2):
10255 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
10256 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
10259 def _get_as_binary(self):
10260 """_get_as_binary(BoundedGridRange3D self) -> PyObject *"""
10261 return _IMP_algebra.BoundedGridRange3D__get_as_binary(self)
10264 def _set_from_binary(self, p):
10265 """_set_from_binary(BoundedGridRange3D self, PyObject * p)"""
10266 return _IMP_algebra.BoundedGridRange3D__set_from_binary(self, p)
10269 def __getstate__(self):
10270 p = self._get_as_binary()
10271 if len(self.__dict__) > 1:
10272 d = self.__dict__.copy()
10277 def __setstate__(self, p):
10278 if not hasattr(self,
'this'):
10280 if isinstance(p, tuple):
10282 self.__dict__.update(d)
10283 return self._set_from_binary(p)
10285 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
10286 __del__ =
lambda self:
None
10287 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
10288 BoundedGridRange3D_swigregister(BoundedGridRange3D)
10290 def BoundedGridRange3D_get_is_bounded():
10291 """BoundedGridRange3D_get_is_bounded() -> bool"""
10292 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
10294 class BoundedGridRange4D(object):
10295 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
10296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10298 def get_is_bounded():
10299 """get_is_bounded() -> bool"""
10300 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
10302 get_is_bounded = staticmethod(get_is_bounded)
10304 def __init__(self, *args):
10306 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
10307 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
10309 this = _IMP_algebra.new_BoundedGridRange4D(*args)
10311 self.this.append(this)
10315 def get_number_of_voxels(self, *args):
10317 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
10318 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
10320 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
10323 def get_end_index(self):
10324 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
10325 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
10328 def show(self, *args):
10330 show(BoundedGridRange4D self, _ostream out)
10331 show(BoundedGridRange4D self)
10333 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
10336 def get_all_indexes(self):
10337 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
10338 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
10342 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
10343 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
10346 def get_extended_indexes(self, lb, ub):
10347 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
10348 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
10352 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
10353 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
10356 def get_has_index(self, v):
10357 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
10358 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
10361 def get_minimum_extended_index(self):
10362 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
10363 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
10366 def get_maximum_extended_index(self):
10367 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
10368 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
10372 """__str__(BoundedGridRange4D self) -> std::string"""
10373 return _IMP_algebra.BoundedGridRange4D___str__(self)
10376 def __repr__(self):
10377 """__repr__(BoundedGridRange4D self) -> std::string"""
10378 return _IMP_algebra.BoundedGridRange4D___repr__(self)
10381 def __cmp__(self, arg2):
10382 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
10383 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
10386 def __eq__(self, arg2):
10387 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
10388 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
10391 def _get_as_binary(self):
10392 """_get_as_binary(BoundedGridRange4D self) -> PyObject *"""
10393 return _IMP_algebra.BoundedGridRange4D__get_as_binary(self)
10396 def _set_from_binary(self, p):
10397 """_set_from_binary(BoundedGridRange4D self, PyObject * p)"""
10398 return _IMP_algebra.BoundedGridRange4D__set_from_binary(self, p)
10401 def __getstate__(self):
10402 p = self._get_as_binary()
10403 if len(self.__dict__) > 1:
10404 d = self.__dict__.copy()
10409 def __setstate__(self, p):
10410 if not hasattr(self,
'this'):
10412 if isinstance(p, tuple):
10414 self.__dict__.update(d)
10415 return self._set_from_binary(p)
10417 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
10418 __del__ =
lambda self:
None
10419 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
10420 BoundedGridRange4D_swigregister(BoundedGridRange4D)
10422 def BoundedGridRange4D_get_is_bounded():
10423 """BoundedGridRange4D_get_is_bounded() -> bool"""
10424 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
10426 class BoundedGridRange5D(object):
10427 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
10428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10430 def get_is_bounded():
10431 """get_is_bounded() -> bool"""
10432 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
10434 get_is_bounded = staticmethod(get_is_bounded)
10436 def __init__(self, *args):
10438 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
10439 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
10441 this = _IMP_algebra.new_BoundedGridRange5D(*args)
10443 self.this.append(this)
10447 def get_number_of_voxels(self, *args):
10449 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
10450 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
10452 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
10455 def get_end_index(self):
10456 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
10457 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
10460 def show(self, *args):
10462 show(BoundedGridRange5D self, _ostream out)
10463 show(BoundedGridRange5D self)
10465 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
10468 def get_all_indexes(self):
10469 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
10470 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
10474 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
10475 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
10478 def get_extended_indexes(self, lb, ub):
10479 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
10480 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
10484 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
10485 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
10488 def get_has_index(self, v):
10489 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
10490 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
10493 def get_minimum_extended_index(self):
10494 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
10495 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
10498 def get_maximum_extended_index(self):
10499 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
10500 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
10504 """__str__(BoundedGridRange5D self) -> std::string"""
10505 return _IMP_algebra.BoundedGridRange5D___str__(self)
10508 def __repr__(self):
10509 """__repr__(BoundedGridRange5D self) -> std::string"""
10510 return _IMP_algebra.BoundedGridRange5D___repr__(self)
10513 def __cmp__(self, arg2):
10514 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
10515 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
10518 def __eq__(self, arg2):
10519 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
10520 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
10523 def _get_as_binary(self):
10524 """_get_as_binary(BoundedGridRange5D self) -> PyObject *"""
10525 return _IMP_algebra.BoundedGridRange5D__get_as_binary(self)
10528 def _set_from_binary(self, p):
10529 """_set_from_binary(BoundedGridRange5D self, PyObject * p)"""
10530 return _IMP_algebra.BoundedGridRange5D__set_from_binary(self, p)
10533 def __getstate__(self):
10534 p = self._get_as_binary()
10535 if len(self.__dict__) > 1:
10536 d = self.__dict__.copy()
10541 def __setstate__(self, p):
10542 if not hasattr(self,
'this'):
10544 if isinstance(p, tuple):
10546 self.__dict__.update(d)
10547 return self._set_from_binary(p)
10549 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
10550 __del__ =
lambda self:
None
10551 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
10552 BoundedGridRange5D_swigregister(BoundedGridRange5D)
10554 def BoundedGridRange5D_get_is_bounded():
10555 """BoundedGridRange5D_get_is_bounded() -> bool"""
10556 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
10558 class BoundedGridRange6D(object):
10559 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
10560 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10562 def get_is_bounded():
10563 """get_is_bounded() -> bool"""
10564 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
10566 get_is_bounded = staticmethod(get_is_bounded)
10568 def __init__(self, *args):
10570 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
10571 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
10573 this = _IMP_algebra.new_BoundedGridRange6D(*args)
10575 self.this.append(this)
10579 def get_number_of_voxels(self, *args):
10581 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
10582 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
10584 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
10587 def get_end_index(self):
10588 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
10589 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
10592 def show(self, *args):
10594 show(BoundedGridRange6D self, _ostream out)
10595 show(BoundedGridRange6D self)
10597 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
10600 def get_all_indexes(self):
10601 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
10602 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
10606 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
10607 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
10610 def get_extended_indexes(self, lb, ub):
10611 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
10612 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
10616 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
10617 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
10620 def get_has_index(self, v):
10621 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
10622 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
10625 def get_minimum_extended_index(self):
10626 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
10627 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
10630 def get_maximum_extended_index(self):
10631 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
10632 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
10636 """__str__(BoundedGridRange6D self) -> std::string"""
10637 return _IMP_algebra.BoundedGridRange6D___str__(self)
10640 def __repr__(self):
10641 """__repr__(BoundedGridRange6D self) -> std::string"""
10642 return _IMP_algebra.BoundedGridRange6D___repr__(self)
10645 def __cmp__(self, arg2):
10646 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
10647 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
10650 def __eq__(self, arg2):
10651 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
10652 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
10655 def _get_as_binary(self):
10656 """_get_as_binary(BoundedGridRange6D self) -> PyObject *"""
10657 return _IMP_algebra.BoundedGridRange6D__get_as_binary(self)
10660 def _set_from_binary(self, p):
10661 """_set_from_binary(BoundedGridRange6D self, PyObject * p)"""
10662 return _IMP_algebra.BoundedGridRange6D__set_from_binary(self, p)
10665 def __getstate__(self):
10666 p = self._get_as_binary()
10667 if len(self.__dict__) > 1:
10668 d = self.__dict__.copy()
10673 def __setstate__(self, p):
10674 if not hasattr(self,
'this'):
10676 if isinstance(p, tuple):
10678 self.__dict__.update(d)
10679 return self._set_from_binary(p)
10681 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
10682 __del__ =
lambda self:
None
10683 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
10684 BoundedGridRange6D_swigregister(BoundedGridRange6D)
10686 def BoundedGridRange6D_get_is_bounded():
10687 """BoundedGridRange6D_get_is_bounded() -> bool"""
10688 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
10690 class BoundedGridRangeKD(object):
10691 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
10692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10694 def get_is_bounded():
10695 """get_is_bounded() -> bool"""
10696 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
10698 get_is_bounded = staticmethod(get_is_bounded)
10700 def __init__(self, *args):
10702 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
10703 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
10705 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
10707 self.this.append(this)
10711 def get_number_of_voxels(self, *args):
10713 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
10714 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
10716 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
10719 def get_end_index(self):
10720 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
10721 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
10724 def show(self, *args):
10726 show(BoundedGridRangeKD self, _ostream out)
10727 show(BoundedGridRangeKD self)
10729 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
10732 def get_all_indexes(self):
10733 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
10734 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
10738 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
10739 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
10742 def get_extended_indexes(self, lb, ub):
10743 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
10744 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
10748 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
10749 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
10752 def get_has_index(self, v):
10753 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
10754 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
10757 def get_minimum_extended_index(self):
10758 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
10759 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
10762 def get_maximum_extended_index(self):
10763 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
10764 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
10768 """__str__(BoundedGridRangeKD self) -> std::string"""
10769 return _IMP_algebra.BoundedGridRangeKD___str__(self)
10772 def __repr__(self):
10773 """__repr__(BoundedGridRangeKD self) -> std::string"""
10774 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
10777 def __cmp__(self, arg2):
10778 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
10779 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
10782 def __eq__(self, arg2):
10783 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
10784 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
10787 def _get_as_binary(self):
10788 """_get_as_binary(BoundedGridRangeKD self) -> PyObject *"""
10789 return _IMP_algebra.BoundedGridRangeKD__get_as_binary(self)
10792 def _set_from_binary(self, p):
10793 """_set_from_binary(BoundedGridRangeKD self, PyObject * p)"""
10794 return _IMP_algebra.BoundedGridRangeKD__set_from_binary(self, p)
10797 def __getstate__(self):
10798 p = self._get_as_binary()
10799 if len(self.__dict__) > 1:
10800 d = self.__dict__.copy()
10805 def __setstate__(self, p):
10806 if not hasattr(self,
'this'):
10808 if isinstance(p, tuple):
10810 self.__dict__.update(d)
10811 return self._set_from_binary(p)
10813 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
10814 __del__ =
lambda self:
None
10815 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
10816 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
10818 def BoundedGridRangeKD_get_is_bounded():
10819 """BoundedGridRangeKD_get_is_bounded() -> bool"""
10820 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
10822 class UnboundedGridRange1D(object):
10823 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
10824 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10826 def __init__(self, *args):
10828 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
10829 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
10831 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
10833 self.this.append(this)
10837 def set_number_of_voxels(self, arg2):
10838 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
10839 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
10842 def get_number_of_voxels(self, arg2):
10843 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
10844 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
10847 def get_is_bounded():
10848 """get_is_bounded() -> bool"""
10849 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
10851 get_is_bounded = staticmethod(get_is_bounded)
10853 def get_has_index(self, arg2):
10854 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
10855 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
10858 def show(self, *args):
10860 show(UnboundedGridRange1D self, _ostream out)
10861 show(UnboundedGridRange1D self)
10863 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
10866 def get_extended_indexes(self, lb, ub):
10867 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
10868 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
10872 """__str__(UnboundedGridRange1D self) -> std::string"""
10873 return _IMP_algebra.UnboundedGridRange1D___str__(self)
10876 def __repr__(self):
10877 """__repr__(UnboundedGridRange1D self) -> std::string"""
10878 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
10881 def __cmp__(self, arg2):
10882 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
10883 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
10886 def __eq__(self, arg2):
10887 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
10888 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
10891 def _get_as_binary(self):
10892 """_get_as_binary(UnboundedGridRange1D self) -> PyObject *"""
10893 return _IMP_algebra.UnboundedGridRange1D__get_as_binary(self)
10896 def _set_from_binary(self, p):
10897 """_set_from_binary(UnboundedGridRange1D self, PyObject * p)"""
10898 return _IMP_algebra.UnboundedGridRange1D__set_from_binary(self, p)
10901 def __getstate__(self):
10902 p = self._get_as_binary()
10903 if len(self.__dict__) > 1:
10904 d = self.__dict__.copy()
10909 def __setstate__(self, p):
10910 if not hasattr(self,
'this'):
10912 if isinstance(p, tuple):
10914 self.__dict__.update(d)
10915 return self._set_from_binary(p)
10917 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
10918 __del__ =
lambda self:
None
10919 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
10920 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
10922 def UnboundedGridRange1D_get_is_bounded():
10923 """UnboundedGridRange1D_get_is_bounded() -> bool"""
10924 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
10926 class UnboundedGridRange2D(object):
10927 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
10928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10930 def __init__(self, *args):
10932 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
10933 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
10935 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
10937 self.this.append(this)
10941 def set_number_of_voxels(self, arg2):
10942 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
10943 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
10946 def get_number_of_voxels(self, arg2):
10947 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
10948 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
10951 def get_is_bounded():
10952 """get_is_bounded() -> bool"""
10953 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
10955 get_is_bounded = staticmethod(get_is_bounded)
10957 def get_has_index(self, arg2):
10958 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
10959 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
10962 def show(self, *args):
10964 show(UnboundedGridRange2D self, _ostream out)
10965 show(UnboundedGridRange2D self)
10967 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
10970 def get_extended_indexes(self, lb, ub):
10971 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
10972 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
10976 """__str__(UnboundedGridRange2D self) -> std::string"""
10977 return _IMP_algebra.UnboundedGridRange2D___str__(self)
10980 def __repr__(self):
10981 """__repr__(UnboundedGridRange2D self) -> std::string"""
10982 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
10985 def __cmp__(self, arg2):
10986 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
10987 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
10990 def __eq__(self, arg2):
10991 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
10992 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
10995 def _get_as_binary(self):
10996 """_get_as_binary(UnboundedGridRange2D self) -> PyObject *"""
10997 return _IMP_algebra.UnboundedGridRange2D__get_as_binary(self)
11000 def _set_from_binary(self, p):
11001 """_set_from_binary(UnboundedGridRange2D self, PyObject * p)"""
11002 return _IMP_algebra.UnboundedGridRange2D__set_from_binary(self, p)
11005 def __getstate__(self):
11006 p = self._get_as_binary()
11007 if len(self.__dict__) > 1:
11008 d = self.__dict__.copy()
11013 def __setstate__(self, p):
11014 if not hasattr(self,
'this'):
11016 if isinstance(p, tuple):
11018 self.__dict__.update(d)
11019 return self._set_from_binary(p)
11021 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
11022 __del__ =
lambda self:
None
11023 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
11024 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
11026 def UnboundedGridRange2D_get_is_bounded():
11027 """UnboundedGridRange2D_get_is_bounded() -> bool"""
11028 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
11030 class UnboundedGridRange3D(object):
11031 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
11032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11034 def __init__(self, *args):
11036 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
11037 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
11039 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
11041 self.this.append(this)
11045 def set_number_of_voxels(self, arg2):
11046 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
11047 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
11050 def get_number_of_voxels(self, arg2):
11051 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
11052 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
11055 def get_is_bounded():
11056 """get_is_bounded() -> bool"""
11057 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
11059 get_is_bounded = staticmethod(get_is_bounded)
11061 def get_has_index(self, arg2):
11062 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
11063 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
11066 def show(self, *args):
11068 show(UnboundedGridRange3D self, _ostream out)
11069 show(UnboundedGridRange3D self)
11071 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
11074 def get_extended_indexes(self, lb, ub):
11075 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
11076 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
11080 """__str__(UnboundedGridRange3D self) -> std::string"""
11081 return _IMP_algebra.UnboundedGridRange3D___str__(self)
11084 def __repr__(self):
11085 """__repr__(UnboundedGridRange3D self) -> std::string"""
11086 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
11089 def __cmp__(self, arg2):
11090 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
11091 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
11094 def __eq__(self, arg2):
11095 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
11096 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
11099 def _get_as_binary(self):
11100 """_get_as_binary(UnboundedGridRange3D self) -> PyObject *"""
11101 return _IMP_algebra.UnboundedGridRange3D__get_as_binary(self)
11104 def _set_from_binary(self, p):
11105 """_set_from_binary(UnboundedGridRange3D self, PyObject * p)"""
11106 return _IMP_algebra.UnboundedGridRange3D__set_from_binary(self, p)
11109 def __getstate__(self):
11110 p = self._get_as_binary()
11111 if len(self.__dict__) > 1:
11112 d = self.__dict__.copy()
11117 def __setstate__(self, p):
11118 if not hasattr(self,
'this'):
11120 if isinstance(p, tuple):
11122 self.__dict__.update(d)
11123 return self._set_from_binary(p)
11125 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
11126 __del__ =
lambda self:
None
11127 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
11128 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
11130 def UnboundedGridRange3D_get_is_bounded():
11131 """UnboundedGridRange3D_get_is_bounded() -> bool"""
11132 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
11134 class UnboundedGridRange4D(object):
11135 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
11136 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11138 def __init__(self, *args):
11140 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
11141 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
11143 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
11145 self.this.append(this)
11149 def set_number_of_voxels(self, arg2):
11150 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
11151 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
11154 def get_number_of_voxels(self, arg2):
11155 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
11156 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
11159 def get_is_bounded():
11160 """get_is_bounded() -> bool"""
11161 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
11163 get_is_bounded = staticmethod(get_is_bounded)
11165 def get_has_index(self, arg2):
11166 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
11167 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
11170 def show(self, *args):
11172 show(UnboundedGridRange4D self, _ostream out)
11173 show(UnboundedGridRange4D self)
11175 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
11178 def get_extended_indexes(self, lb, ub):
11179 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
11180 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
11184 """__str__(UnboundedGridRange4D self) -> std::string"""
11185 return _IMP_algebra.UnboundedGridRange4D___str__(self)
11188 def __repr__(self):
11189 """__repr__(UnboundedGridRange4D self) -> std::string"""
11190 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
11193 def __cmp__(self, arg2):
11194 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
11195 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
11198 def __eq__(self, arg2):
11199 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
11200 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
11203 def _get_as_binary(self):
11204 """_get_as_binary(UnboundedGridRange4D self) -> PyObject *"""
11205 return _IMP_algebra.UnboundedGridRange4D__get_as_binary(self)
11208 def _set_from_binary(self, p):
11209 """_set_from_binary(UnboundedGridRange4D self, PyObject * p)"""
11210 return _IMP_algebra.UnboundedGridRange4D__set_from_binary(self, p)
11213 def __getstate__(self):
11214 p = self._get_as_binary()
11215 if len(self.__dict__) > 1:
11216 d = self.__dict__.copy()
11221 def __setstate__(self, p):
11222 if not hasattr(self,
'this'):
11224 if isinstance(p, tuple):
11226 self.__dict__.update(d)
11227 return self._set_from_binary(p)
11229 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
11230 __del__ =
lambda self:
None
11231 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
11232 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
11234 def UnboundedGridRange4D_get_is_bounded():
11235 """UnboundedGridRange4D_get_is_bounded() -> bool"""
11236 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
11238 class UnboundedGridRange5D(object):
11239 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
11240 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11242 def __init__(self, *args):
11244 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
11245 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
11247 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
11249 self.this.append(this)
11253 def set_number_of_voxels(self, arg2):
11254 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
11255 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
11258 def get_number_of_voxels(self, arg2):
11259 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
11260 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
11263 def get_is_bounded():
11264 """get_is_bounded() -> bool"""
11265 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
11267 get_is_bounded = staticmethod(get_is_bounded)
11269 def get_has_index(self, arg2):
11270 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
11271 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
11274 def show(self, *args):
11276 show(UnboundedGridRange5D self, _ostream out)
11277 show(UnboundedGridRange5D self)
11279 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
11282 def get_extended_indexes(self, lb, ub):
11283 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
11284 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
11288 """__str__(UnboundedGridRange5D self) -> std::string"""
11289 return _IMP_algebra.UnboundedGridRange5D___str__(self)
11292 def __repr__(self):
11293 """__repr__(UnboundedGridRange5D self) -> std::string"""
11294 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
11297 def __cmp__(self, arg2):
11298 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
11299 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
11302 def __eq__(self, arg2):
11303 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
11304 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
11307 def _get_as_binary(self):
11308 """_get_as_binary(UnboundedGridRange5D self) -> PyObject *"""
11309 return _IMP_algebra.UnboundedGridRange5D__get_as_binary(self)
11312 def _set_from_binary(self, p):
11313 """_set_from_binary(UnboundedGridRange5D self, PyObject * p)"""
11314 return _IMP_algebra.UnboundedGridRange5D__set_from_binary(self, p)
11317 def __getstate__(self):
11318 p = self._get_as_binary()
11319 if len(self.__dict__) > 1:
11320 d = self.__dict__.copy()
11325 def __setstate__(self, p):
11326 if not hasattr(self,
'this'):
11328 if isinstance(p, tuple):
11330 self.__dict__.update(d)
11331 return self._set_from_binary(p)
11333 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
11334 __del__ =
lambda self:
None
11335 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
11336 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
11338 def UnboundedGridRange5D_get_is_bounded():
11339 """UnboundedGridRange5D_get_is_bounded() -> bool"""
11340 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
11342 class UnboundedGridRange6D(object):
11343 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
11344 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11346 def __init__(self, *args):
11348 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
11349 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
11351 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
11353 self.this.append(this)
11357 def set_number_of_voxels(self, arg2):
11358 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
11359 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
11362 def get_number_of_voxels(self, arg2):
11363 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
11364 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
11367 def get_is_bounded():
11368 """get_is_bounded() -> bool"""
11369 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
11371 get_is_bounded = staticmethod(get_is_bounded)
11373 def get_has_index(self, arg2):
11374 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
11375 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
11378 def show(self, *args):
11380 show(UnboundedGridRange6D self, _ostream out)
11381 show(UnboundedGridRange6D self)
11383 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
11386 def get_extended_indexes(self, lb, ub):
11387 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
11388 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
11392 """__str__(UnboundedGridRange6D self) -> std::string"""
11393 return _IMP_algebra.UnboundedGridRange6D___str__(self)
11396 def __repr__(self):
11397 """__repr__(UnboundedGridRange6D self) -> std::string"""
11398 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
11401 def __cmp__(self, arg2):
11402 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
11403 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
11406 def __eq__(self, arg2):
11407 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
11408 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
11411 def _get_as_binary(self):
11412 """_get_as_binary(UnboundedGridRange6D self) -> PyObject *"""
11413 return _IMP_algebra.UnboundedGridRange6D__get_as_binary(self)
11416 def _set_from_binary(self, p):
11417 """_set_from_binary(UnboundedGridRange6D self, PyObject * p)"""
11418 return _IMP_algebra.UnboundedGridRange6D__set_from_binary(self, p)
11421 def __getstate__(self):
11422 p = self._get_as_binary()
11423 if len(self.__dict__) > 1:
11424 d = self.__dict__.copy()
11429 def __setstate__(self, p):
11430 if not hasattr(self,
'this'):
11432 if isinstance(p, tuple):
11434 self.__dict__.update(d)
11435 return self._set_from_binary(p)
11437 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
11438 __del__ =
lambda self:
None
11439 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
11440 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
11442 def UnboundedGridRange6D_get_is_bounded():
11443 """UnboundedGridRange6D_get_is_bounded() -> bool"""
11444 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
11446 class UnboundedGridRangeKD(object):
11447 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
11448 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11450 def __init__(self, *args):
11452 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
11453 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
11455 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
11457 self.this.append(this)
11461 def set_number_of_voxels(self, arg2):
11462 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
11463 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
11466 def get_number_of_voxels(self, arg2):
11467 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
11468 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
11471 def get_is_bounded():
11472 """get_is_bounded() -> bool"""
11473 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
11475 get_is_bounded = staticmethod(get_is_bounded)
11477 def get_has_index(self, arg2):
11478 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
11479 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
11482 def show(self, *args):
11484 show(UnboundedGridRangeKD self, _ostream out)
11485 show(UnboundedGridRangeKD self)
11487 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
11490 def get_extended_indexes(self, lb, ub):
11491 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
11492 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
11496 """__str__(UnboundedGridRangeKD self) -> std::string"""
11497 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
11500 def __repr__(self):
11501 """__repr__(UnboundedGridRangeKD self) -> std::string"""
11502 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
11505 def __cmp__(self, arg2):
11506 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
11507 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
11510 def __eq__(self, arg2):
11511 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
11512 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
11515 def _get_as_binary(self):
11516 """_get_as_binary(UnboundedGridRangeKD self) -> PyObject *"""
11517 return _IMP_algebra.UnboundedGridRangeKD__get_as_binary(self)
11520 def _set_from_binary(self, p):
11521 """_set_from_binary(UnboundedGridRangeKD self, PyObject * p)"""
11522 return _IMP_algebra.UnboundedGridRangeKD__set_from_binary(self, p)
11525 def __getstate__(self):
11526 p = self._get_as_binary()
11527 if len(self.__dict__) > 1:
11528 d = self.__dict__.copy()
11533 def __setstate__(self, p):
11534 if not hasattr(self,
'this'):
11536 if isinstance(p, tuple):
11538 self.__dict__.update(d)
11539 return self._set_from_binary(p)
11541 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
11542 __del__ =
lambda self:
None
11543 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
11544 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
11546 def UnboundedGridRangeKD_get_is_bounded():
11547 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
11548 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
11550 class DefaultEmbedding1D(object):
11551 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
11552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11554 def __init__(self, *args):
11556 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
11557 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
11559 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
11561 self.this.append(this)
11565 def set_origin(self, o):
11566 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
11567 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
11570 def get_origin(self):
11571 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
11572 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
11575 def get_dimension(self):
11576 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
11577 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
11580 def set_unit_cell(self, o):
11581 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
11582 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
11585 def get_inverse_unit_cell(self):
11586 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
11587 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
11590 def get_unit_cell(self):
11591 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
11592 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
11595 def get_extended_index(self, o):
11596 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
11597 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
11601 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
11602 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
11605 def get_center(self, *args):
11607 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
11608 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
11610 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
11613 def get_bounding_box(self, *args):
11615 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
11616 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
11618 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
11621 def show(self, *args):
11623 show(DefaultEmbedding1D self, _ostream out)
11624 show(DefaultEmbedding1D self)
11626 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
11630 """__str__(DefaultEmbedding1D self) -> std::string"""
11631 return _IMP_algebra.DefaultEmbedding1D___str__(self)
11634 def __repr__(self):
11635 """__repr__(DefaultEmbedding1D self) -> std::string"""
11636 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
11639 def __cmp__(self, arg2):
11640 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
11641 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
11644 def __eq__(self, arg2):
11645 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
11646 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
11649 def _get_as_binary(self):
11650 """_get_as_binary(DefaultEmbedding1D self) -> PyObject *"""
11651 return _IMP_algebra.DefaultEmbedding1D__get_as_binary(self)
11654 def _set_from_binary(self, p):
11655 """_set_from_binary(DefaultEmbedding1D self, PyObject * p)"""
11656 return _IMP_algebra.DefaultEmbedding1D__set_from_binary(self, p)
11659 def __getstate__(self):
11660 p = self._get_as_binary()
11661 if len(self.__dict__) > 1:
11662 d = self.__dict__.copy()
11667 def __setstate__(self, p):
11668 if not hasattr(self,
'this'):
11670 if isinstance(p, tuple):
11672 self.__dict__.update(d)
11673 return self._set_from_binary(p)
11675 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
11676 __del__ =
lambda self:
None
11677 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
11678 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
11680 class DefaultEmbedding2D(object):
11681 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
11682 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11684 def __init__(self, *args):
11686 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
11687 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
11689 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
11691 self.this.append(this)
11695 def set_origin(self, o):
11696 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
11697 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
11700 def get_origin(self):
11701 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
11702 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
11705 def get_dimension(self):
11706 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
11707 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
11710 def set_unit_cell(self, o):
11711 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
11712 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
11715 def get_inverse_unit_cell(self):
11716 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
11717 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
11720 def get_unit_cell(self):
11721 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
11722 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
11725 def get_extended_index(self, o):
11726 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
11727 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
11731 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
11732 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
11735 def get_center(self, *args):
11737 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
11738 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
11740 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
11743 def get_bounding_box(self, *args):
11745 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
11746 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
11748 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
11751 def show(self, *args):
11753 show(DefaultEmbedding2D self, _ostream out)
11754 show(DefaultEmbedding2D self)
11756 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
11760 """__str__(DefaultEmbedding2D self) -> std::string"""
11761 return _IMP_algebra.DefaultEmbedding2D___str__(self)
11764 def __repr__(self):
11765 """__repr__(DefaultEmbedding2D self) -> std::string"""
11766 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
11769 def __cmp__(self, arg2):
11770 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
11771 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
11774 def __eq__(self, arg2):
11775 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
11776 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
11779 def _get_as_binary(self):
11780 """_get_as_binary(DefaultEmbedding2D self) -> PyObject *"""
11781 return _IMP_algebra.DefaultEmbedding2D__get_as_binary(self)
11784 def _set_from_binary(self, p):
11785 """_set_from_binary(DefaultEmbedding2D self, PyObject * p)"""
11786 return _IMP_algebra.DefaultEmbedding2D__set_from_binary(self, p)
11789 def __getstate__(self):
11790 p = self._get_as_binary()
11791 if len(self.__dict__) > 1:
11792 d = self.__dict__.copy()
11797 def __setstate__(self, p):
11798 if not hasattr(self,
'this'):
11800 if isinstance(p, tuple):
11802 self.__dict__.update(d)
11803 return self._set_from_binary(p)
11805 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
11806 __del__ =
lambda self:
None
11807 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
11808 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
11810 class DefaultEmbedding3D(object):
11811 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
11812 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11814 def __init__(self, *args):
11816 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
11817 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
11819 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
11821 self.this.append(this)
11825 def set_origin(self, o):
11826 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
11827 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
11830 def get_origin(self):
11831 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
11832 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
11835 def get_dimension(self):
11836 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
11837 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
11840 def set_unit_cell(self, o):
11841 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
11842 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
11845 def get_inverse_unit_cell(self):
11846 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
11847 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
11850 def get_unit_cell(self):
11851 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
11852 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
11855 def get_extended_index(self, o):
11856 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
11857 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
11861 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
11862 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
11865 def get_center(self, *args):
11867 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
11868 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
11870 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
11873 def get_bounding_box(self, *args):
11875 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
11876 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
11878 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
11881 def show(self, *args):
11883 show(DefaultEmbedding3D self, _ostream out)
11884 show(DefaultEmbedding3D self)
11886 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
11890 """__str__(DefaultEmbedding3D self) -> std::string"""
11891 return _IMP_algebra.DefaultEmbedding3D___str__(self)
11894 def __repr__(self):
11895 """__repr__(DefaultEmbedding3D self) -> std::string"""
11896 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
11899 def __cmp__(self, arg2):
11900 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
11901 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
11904 def __eq__(self, arg2):
11905 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
11906 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
11909 def _get_as_binary(self):
11910 """_get_as_binary(DefaultEmbedding3D self) -> PyObject *"""
11911 return _IMP_algebra.DefaultEmbedding3D__get_as_binary(self)
11914 def _set_from_binary(self, p):
11915 """_set_from_binary(DefaultEmbedding3D self, PyObject * p)"""
11916 return _IMP_algebra.DefaultEmbedding3D__set_from_binary(self, p)
11919 def __getstate__(self):
11920 p = self._get_as_binary()
11921 if len(self.__dict__) > 1:
11922 d = self.__dict__.copy()
11927 def __setstate__(self, p):
11928 if not hasattr(self,
'this'):
11930 if isinstance(p, tuple):
11932 self.__dict__.update(d)
11933 return self._set_from_binary(p)
11935 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
11936 __del__ =
lambda self:
None
11937 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
11938 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
11940 class DefaultEmbedding4D(object):
11941 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
11942 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11944 def __init__(self, *args):
11946 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
11947 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
11949 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
11951 self.this.append(this)
11955 def set_origin(self, o):
11956 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
11957 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
11960 def get_origin(self):
11961 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
11962 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
11965 def get_dimension(self):
11966 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
11967 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
11970 def set_unit_cell(self, o):
11971 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
11972 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
11975 def get_inverse_unit_cell(self):
11976 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
11977 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
11980 def get_unit_cell(self):
11981 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
11982 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
11985 def get_extended_index(self, o):
11986 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
11987 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
11991 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
11992 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
11995 def get_center(self, *args):
11997 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
11998 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
12000 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
12003 def get_bounding_box(self, *args):
12005 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
12006 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
12008 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
12011 def show(self, *args):
12013 show(DefaultEmbedding4D self, _ostream out)
12014 show(DefaultEmbedding4D self)
12016 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
12020 """__str__(DefaultEmbedding4D self) -> std::string"""
12021 return _IMP_algebra.DefaultEmbedding4D___str__(self)
12024 def __repr__(self):
12025 """__repr__(DefaultEmbedding4D self) -> std::string"""
12026 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
12029 def __cmp__(self, arg2):
12030 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
12031 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
12034 def __eq__(self, arg2):
12035 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
12036 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
12039 def _get_as_binary(self):
12040 """_get_as_binary(DefaultEmbedding4D self) -> PyObject *"""
12041 return _IMP_algebra.DefaultEmbedding4D__get_as_binary(self)
12044 def _set_from_binary(self, p):
12045 """_set_from_binary(DefaultEmbedding4D self, PyObject * p)"""
12046 return _IMP_algebra.DefaultEmbedding4D__set_from_binary(self, p)
12049 def __getstate__(self):
12050 p = self._get_as_binary()
12051 if len(self.__dict__) > 1:
12052 d = self.__dict__.copy()
12057 def __setstate__(self, p):
12058 if not hasattr(self,
'this'):
12060 if isinstance(p, tuple):
12062 self.__dict__.update(d)
12063 return self._set_from_binary(p)
12065 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
12066 __del__ =
lambda self:
None
12067 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
12068 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
12070 class DefaultEmbedding5D(object):
12071 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
12072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12074 def __init__(self, *args):
12076 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
12077 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
12079 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
12081 self.this.append(this)
12085 def set_origin(self, o):
12086 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
12087 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
12090 def get_origin(self):
12091 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
12092 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
12095 def get_dimension(self):
12096 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
12097 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
12100 def set_unit_cell(self, o):
12101 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
12102 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
12105 def get_inverse_unit_cell(self):
12106 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
12107 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
12110 def get_unit_cell(self):
12111 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
12112 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
12115 def get_extended_index(self, o):
12116 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
12117 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
12121 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
12122 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
12125 def get_center(self, *args):
12127 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
12128 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
12130 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
12133 def get_bounding_box(self, *args):
12135 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
12136 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
12138 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
12141 def show(self, *args):
12143 show(DefaultEmbedding5D self, _ostream out)
12144 show(DefaultEmbedding5D self)
12146 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
12150 """__str__(DefaultEmbedding5D self) -> std::string"""
12151 return _IMP_algebra.DefaultEmbedding5D___str__(self)
12154 def __repr__(self):
12155 """__repr__(DefaultEmbedding5D self) -> std::string"""
12156 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
12159 def __cmp__(self, arg2):
12160 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
12161 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
12164 def __eq__(self, arg2):
12165 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
12166 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
12169 def _get_as_binary(self):
12170 """_get_as_binary(DefaultEmbedding5D self) -> PyObject *"""
12171 return _IMP_algebra.DefaultEmbedding5D__get_as_binary(self)
12174 def _set_from_binary(self, p):
12175 """_set_from_binary(DefaultEmbedding5D self, PyObject * p)"""
12176 return _IMP_algebra.DefaultEmbedding5D__set_from_binary(self, p)
12179 def __getstate__(self):
12180 p = self._get_as_binary()
12181 if len(self.__dict__) > 1:
12182 d = self.__dict__.copy()
12187 def __setstate__(self, p):
12188 if not hasattr(self,
'this'):
12190 if isinstance(p, tuple):
12192 self.__dict__.update(d)
12193 return self._set_from_binary(p)
12195 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
12196 __del__ =
lambda self:
None
12197 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
12198 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
12200 class DefaultEmbedding6D(object):
12201 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
12202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12204 def __init__(self, *args):
12206 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
12207 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
12209 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
12211 self.this.append(this)
12215 def set_origin(self, o):
12216 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
12217 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
12220 def get_origin(self):
12221 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
12222 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
12225 def get_dimension(self):
12226 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
12227 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
12230 def set_unit_cell(self, o):
12231 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
12232 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
12235 def get_inverse_unit_cell(self):
12236 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
12237 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
12240 def get_unit_cell(self):
12241 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
12242 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
12245 def get_extended_index(self, o):
12246 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
12247 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
12251 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
12252 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
12255 def get_center(self, *args):
12257 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
12258 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
12260 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
12263 def get_bounding_box(self, *args):
12265 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
12266 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
12268 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
12271 def show(self, *args):
12273 show(DefaultEmbedding6D self, _ostream out)
12274 show(DefaultEmbedding6D self)
12276 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
12280 """__str__(DefaultEmbedding6D self) -> std::string"""
12281 return _IMP_algebra.DefaultEmbedding6D___str__(self)
12284 def __repr__(self):
12285 """__repr__(DefaultEmbedding6D self) -> std::string"""
12286 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
12289 def __cmp__(self, arg2):
12290 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
12291 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
12294 def __eq__(self, arg2):
12295 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
12296 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
12299 def _get_as_binary(self):
12300 """_get_as_binary(DefaultEmbedding6D self) -> PyObject *"""
12301 return _IMP_algebra.DefaultEmbedding6D__get_as_binary(self)
12304 def _set_from_binary(self, p):
12305 """_set_from_binary(DefaultEmbedding6D self, PyObject * p)"""
12306 return _IMP_algebra.DefaultEmbedding6D__set_from_binary(self, p)
12309 def __getstate__(self):
12310 p = self._get_as_binary()
12311 if len(self.__dict__) > 1:
12312 d = self.__dict__.copy()
12317 def __setstate__(self, p):
12318 if not hasattr(self,
'this'):
12320 if isinstance(p, tuple):
12322 self.__dict__.update(d)
12323 return self._set_from_binary(p)
12325 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
12326 __del__ =
lambda self:
None
12327 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
12328 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
12330 class DefaultEmbeddingKD(object):
12331 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
12332 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12334 def __init__(self, *args):
12336 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
12337 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
12339 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
12341 self.this.append(this)
12345 def set_origin(self, o):
12346 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
12347 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
12350 def get_origin(self):
12351 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
12352 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
12355 def get_dimension(self):
12356 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
12357 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
12360 def set_unit_cell(self, o):
12361 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
12362 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
12365 def get_inverse_unit_cell(self):
12366 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
12367 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
12370 def get_unit_cell(self):
12371 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
12372 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
12375 def get_extended_index(self, o):
12376 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
12377 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
12381 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
12382 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
12385 def get_center(self, *args):
12387 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
12388 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
12390 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
12393 def get_bounding_box(self, *args):
12395 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
12396 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
12398 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
12401 def show(self, *args):
12403 show(DefaultEmbeddingKD self, _ostream out)
12404 show(DefaultEmbeddingKD self)
12406 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
12410 """__str__(DefaultEmbeddingKD self) -> std::string"""
12411 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
12414 def __repr__(self):
12415 """__repr__(DefaultEmbeddingKD self) -> std::string"""
12416 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
12419 def __cmp__(self, arg2):
12420 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
12421 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
12424 def __eq__(self, arg2):
12425 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
12426 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
12429 def _get_as_binary(self):
12430 """_get_as_binary(DefaultEmbeddingKD self) -> PyObject *"""
12431 return _IMP_algebra.DefaultEmbeddingKD__get_as_binary(self)
12434 def _set_from_binary(self, p):
12435 """_set_from_binary(DefaultEmbeddingKD self, PyObject * p)"""
12436 return _IMP_algebra.DefaultEmbeddingKD__set_from_binary(self, p)
12439 def __getstate__(self):
12440 p = self._get_as_binary()
12441 if len(self.__dict__) > 1:
12442 d = self.__dict__.copy()
12447 def __setstate__(self, p):
12448 if not hasattr(self,
'this'):
12450 if isinstance(p, tuple):
12452 self.__dict__.update(d)
12453 return self._set_from_binary(p)
12455 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
12456 __del__ =
lambda self:
None
12457 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
12458 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
12460 class LogEmbedding1D(object):
12461 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
12462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12464 def __init__(self, *args):
12466 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
12467 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
12468 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
12469 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
12470 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
12472 this = _IMP_algebra.new_LogEmbedding1D(*args)
12474 self.this.append(this)
12478 def set_origin(self, o):
12479 """set_origin(LogEmbedding1D self, Vector1D o)"""
12480 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
12483 def get_origin(self):
12484 """get_origin(LogEmbedding1D self) -> Vector1D"""
12485 return _IMP_algebra.LogEmbedding1D_get_origin(self)
12488 def get_dimension(self):
12489 """get_dimension(LogEmbedding1D self) -> unsigned int"""
12490 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
12493 def set_unit_cell(self, *args):
12495 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
12496 set_unit_cell(LogEmbedding1D self, Vector1D o)
12498 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
12501 def get_unit_cell(self):
12502 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
12503 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
12506 def get_extended_index(self, o):
12507 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
12508 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
12512 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
12513 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
12516 def get_center(self, *args):
12518 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
12519 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
12521 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
12524 def get_bounding_box(self, *args):
12526 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
12527 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
12529 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
12532 def show(self, *args):
12534 show(LogEmbedding1D self, _ostream out)
12535 show(LogEmbedding1D self)
12537 return _IMP_algebra.LogEmbedding1D_show(self, *args)
12541 """__str__(LogEmbedding1D self) -> std::string"""
12542 return _IMP_algebra.LogEmbedding1D___str__(self)
12545 def __repr__(self):
12546 """__repr__(LogEmbedding1D self) -> std::string"""
12547 return _IMP_algebra.LogEmbedding1D___repr__(self)
12550 def __cmp__(self, arg2):
12551 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
12552 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
12555 def __eq__(self, arg2):
12556 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
12557 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
12560 def _get_as_binary(self):
12561 """_get_as_binary(LogEmbedding1D self) -> PyObject *"""
12562 return _IMP_algebra.LogEmbedding1D__get_as_binary(self)
12565 def _set_from_binary(self, p):
12566 """_set_from_binary(LogEmbedding1D self, PyObject * p)"""
12567 return _IMP_algebra.LogEmbedding1D__set_from_binary(self, p)
12570 def __getstate__(self):
12571 p = self._get_as_binary()
12572 if len(self.__dict__) > 1:
12573 d = self.__dict__.copy()
12578 def __setstate__(self, p):
12579 if not hasattr(self,
'this'):
12581 if isinstance(p, tuple):
12583 self.__dict__.update(d)
12584 return self._set_from_binary(p)
12586 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
12587 __del__ =
lambda self:
None
12588 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
12589 LogEmbedding1D_swigregister(LogEmbedding1D)
12591 class LogEmbedding2D(object):
12592 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
12593 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12595 def __init__(self, *args):
12597 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
12598 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
12599 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
12600 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
12601 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
12603 this = _IMP_algebra.new_LogEmbedding2D(*args)
12605 self.this.append(this)
12609 def set_origin(self, o):
12610 """set_origin(LogEmbedding2D self, Vector2D o)"""
12611 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
12614 def get_origin(self):
12615 """get_origin(LogEmbedding2D self) -> Vector2D"""
12616 return _IMP_algebra.LogEmbedding2D_get_origin(self)
12619 def get_dimension(self):
12620 """get_dimension(LogEmbedding2D self) -> unsigned int"""
12621 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
12624 def set_unit_cell(self, *args):
12626 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
12627 set_unit_cell(LogEmbedding2D self, Vector2D o)
12629 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
12632 def get_unit_cell(self):
12633 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
12634 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
12637 def get_extended_index(self, o):
12638 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
12639 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
12643 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
12644 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
12647 def get_center(self, *args):
12649 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
12650 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
12652 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
12655 def get_bounding_box(self, *args):
12657 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
12658 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
12660 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
12663 def show(self, *args):
12665 show(LogEmbedding2D self, _ostream out)
12666 show(LogEmbedding2D self)
12668 return _IMP_algebra.LogEmbedding2D_show(self, *args)
12672 """__str__(LogEmbedding2D self) -> std::string"""
12673 return _IMP_algebra.LogEmbedding2D___str__(self)
12676 def __repr__(self):
12677 """__repr__(LogEmbedding2D self) -> std::string"""
12678 return _IMP_algebra.LogEmbedding2D___repr__(self)
12681 def __cmp__(self, arg2):
12682 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
12683 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
12686 def __eq__(self, arg2):
12687 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
12688 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
12691 def _get_as_binary(self):
12692 """_get_as_binary(LogEmbedding2D self) -> PyObject *"""
12693 return _IMP_algebra.LogEmbedding2D__get_as_binary(self)
12696 def _set_from_binary(self, p):
12697 """_set_from_binary(LogEmbedding2D self, PyObject * p)"""
12698 return _IMP_algebra.LogEmbedding2D__set_from_binary(self, p)
12701 def __getstate__(self):
12702 p = self._get_as_binary()
12703 if len(self.__dict__) > 1:
12704 d = self.__dict__.copy()
12709 def __setstate__(self, p):
12710 if not hasattr(self,
'this'):
12712 if isinstance(p, tuple):
12714 self.__dict__.update(d)
12715 return self._set_from_binary(p)
12717 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
12718 __del__ =
lambda self:
None
12719 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
12720 LogEmbedding2D_swigregister(LogEmbedding2D)
12722 class LogEmbedding4D(object):
12723 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
12724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12726 def __init__(self, *args):
12728 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
12729 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
12730 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
12731 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
12732 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
12734 this = _IMP_algebra.new_LogEmbedding4D(*args)
12736 self.this.append(this)
12740 def set_origin(self, o):
12741 """set_origin(LogEmbedding4D self, Vector4D o)"""
12742 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
12745 def get_origin(self):
12746 """get_origin(LogEmbedding4D self) -> Vector4D"""
12747 return _IMP_algebra.LogEmbedding4D_get_origin(self)
12750 def get_dimension(self):
12751 """get_dimension(LogEmbedding4D self) -> unsigned int"""
12752 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
12755 def set_unit_cell(self, *args):
12757 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
12758 set_unit_cell(LogEmbedding4D self, Vector4D o)
12760 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
12763 def get_unit_cell(self):
12764 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
12765 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
12768 def get_extended_index(self, o):
12769 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
12770 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
12774 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
12775 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
12778 def get_center(self, *args):
12780 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
12781 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
12783 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
12786 def get_bounding_box(self, *args):
12788 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
12789 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
12791 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
12794 def show(self, *args):
12796 show(LogEmbedding4D self, _ostream out)
12797 show(LogEmbedding4D self)
12799 return _IMP_algebra.LogEmbedding4D_show(self, *args)
12803 """__str__(LogEmbedding4D self) -> std::string"""
12804 return _IMP_algebra.LogEmbedding4D___str__(self)
12807 def __repr__(self):
12808 """__repr__(LogEmbedding4D self) -> std::string"""
12809 return _IMP_algebra.LogEmbedding4D___repr__(self)
12812 def __cmp__(self, arg2):
12813 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
12814 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
12817 def __eq__(self, arg2):
12818 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
12819 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
12822 def _get_as_binary(self):
12823 """_get_as_binary(LogEmbedding4D self) -> PyObject *"""
12824 return _IMP_algebra.LogEmbedding4D__get_as_binary(self)
12827 def _set_from_binary(self, p):
12828 """_set_from_binary(LogEmbedding4D self, PyObject * p)"""
12829 return _IMP_algebra.LogEmbedding4D__set_from_binary(self, p)
12832 def __getstate__(self):
12833 p = self._get_as_binary()
12834 if len(self.__dict__) > 1:
12835 d = self.__dict__.copy()
12840 def __setstate__(self, p):
12841 if not hasattr(self,
'this'):
12843 if isinstance(p, tuple):
12845 self.__dict__.update(d)
12846 return self._set_from_binary(p)
12848 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
12849 __del__ =
lambda self:
None
12850 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
12851 LogEmbedding4D_swigregister(LogEmbedding4D)
12853 class LogEmbedding5D(object):
12854 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
12855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12857 def __init__(self, *args):
12859 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
12860 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
12861 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
12862 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
12863 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
12865 this = _IMP_algebra.new_LogEmbedding5D(*args)
12867 self.this.append(this)
12871 def set_origin(self, o):
12872 """set_origin(LogEmbedding5D self, Vector5D o)"""
12873 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
12876 def get_origin(self):
12877 """get_origin(LogEmbedding5D self) -> Vector5D"""
12878 return _IMP_algebra.LogEmbedding5D_get_origin(self)
12881 def get_dimension(self):
12882 """get_dimension(LogEmbedding5D self) -> unsigned int"""
12883 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
12886 def set_unit_cell(self, *args):
12888 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
12889 set_unit_cell(LogEmbedding5D self, Vector5D o)
12891 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
12894 def get_unit_cell(self):
12895 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
12896 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
12899 def get_extended_index(self, o):
12900 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
12901 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
12905 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
12906 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
12909 def get_center(self, *args):
12911 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
12912 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
12914 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
12917 def get_bounding_box(self, *args):
12919 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
12920 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
12922 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
12925 def show(self, *args):
12927 show(LogEmbedding5D self, _ostream out)
12928 show(LogEmbedding5D self)
12930 return _IMP_algebra.LogEmbedding5D_show(self, *args)
12934 """__str__(LogEmbedding5D self) -> std::string"""
12935 return _IMP_algebra.LogEmbedding5D___str__(self)
12938 def __repr__(self):
12939 """__repr__(LogEmbedding5D self) -> std::string"""
12940 return _IMP_algebra.LogEmbedding5D___repr__(self)
12943 def __cmp__(self, arg2):
12944 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
12945 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
12948 def __eq__(self, arg2):
12949 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
12950 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
12953 def _get_as_binary(self):
12954 """_get_as_binary(LogEmbedding5D self) -> PyObject *"""
12955 return _IMP_algebra.LogEmbedding5D__get_as_binary(self)
12958 def _set_from_binary(self, p):
12959 """_set_from_binary(LogEmbedding5D self, PyObject * p)"""
12960 return _IMP_algebra.LogEmbedding5D__set_from_binary(self, p)
12963 def __getstate__(self):
12964 p = self._get_as_binary()
12965 if len(self.__dict__) > 1:
12966 d = self.__dict__.copy()
12971 def __setstate__(self, p):
12972 if not hasattr(self,
'this'):
12974 if isinstance(p, tuple):
12976 self.__dict__.update(d)
12977 return self._set_from_binary(p)
12979 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
12980 __del__ =
lambda self:
None
12981 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
12982 LogEmbedding5D_swigregister(LogEmbedding5D)
12984 class LogEmbedding6D(object):
12985 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
12986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12988 def __init__(self, *args):
12990 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
12991 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
12992 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
12993 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
12994 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
12996 this = _IMP_algebra.new_LogEmbedding6D(*args)
12998 self.this.append(this)
13002 def set_origin(self, o):
13003 """set_origin(LogEmbedding6D self, Vector6D o)"""
13004 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
13007 def get_origin(self):
13008 """get_origin(LogEmbedding6D self) -> Vector6D"""
13009 return _IMP_algebra.LogEmbedding6D_get_origin(self)
13012 def get_dimension(self):
13013 """get_dimension(LogEmbedding6D self) -> unsigned int"""
13014 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
13017 def set_unit_cell(self, *args):
13019 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
13020 set_unit_cell(LogEmbedding6D self, Vector6D o)
13022 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
13025 def get_unit_cell(self):
13026 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
13027 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
13030 def get_extended_index(self, o):
13031 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
13032 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
13036 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
13037 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
13040 def get_center(self, *args):
13042 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
13043 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
13045 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
13048 def get_bounding_box(self, *args):
13050 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
13051 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
13053 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
13056 def show(self, *args):
13058 show(LogEmbedding6D self, _ostream out)
13059 show(LogEmbedding6D self)
13061 return _IMP_algebra.LogEmbedding6D_show(self, *args)
13065 """__str__(LogEmbedding6D self) -> std::string"""
13066 return _IMP_algebra.LogEmbedding6D___str__(self)
13069 def __repr__(self):
13070 """__repr__(LogEmbedding6D self) -> std::string"""
13071 return _IMP_algebra.LogEmbedding6D___repr__(self)
13074 def __cmp__(self, arg2):
13075 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
13076 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
13079 def __eq__(self, arg2):
13080 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
13081 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
13084 def _get_as_binary(self):
13085 """_get_as_binary(LogEmbedding6D self) -> PyObject *"""
13086 return _IMP_algebra.LogEmbedding6D__get_as_binary(self)
13089 def _set_from_binary(self, p):
13090 """_set_from_binary(LogEmbedding6D self, PyObject * p)"""
13091 return _IMP_algebra.LogEmbedding6D__set_from_binary(self, p)
13094 def __getstate__(self):
13095 p = self._get_as_binary()
13096 if len(self.__dict__) > 1:
13097 d = self.__dict__.copy()
13102 def __setstate__(self, p):
13103 if not hasattr(self,
'this'):
13105 if isinstance(p, tuple):
13107 self.__dict__.update(d)
13108 return self._set_from_binary(p)
13110 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
13111 __del__ =
lambda self:
None
13112 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
13113 LogEmbedding6D_swigregister(LogEmbedding6D)
13115 class SpherePatch3D(_GeometricPrimitive3D):
13116 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
13117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13119 def __init__(self, *args):
13121 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
13122 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
13124 this = _IMP_algebra.new_SpherePatch3D(*args)
13126 self.this.append(this)
13130 def get_contains(self, p):
13131 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
13132 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
13135 def get_plane(self):
13136 """get_plane(SpherePatch3D self) -> Plane3D"""
13137 return _IMP_algebra.SpherePatch3D_get_plane(self)
13140 def get_sphere(self):
13141 """get_sphere(SpherePatch3D self) -> Sphere3D"""
13142 return _IMP_algebra.SpherePatch3D_get_sphere(self)
13145 def show(self, *args):
13147 show(SpherePatch3D self, _ostream out)
13148 show(SpherePatch3D self)
13150 return _IMP_algebra.SpherePatch3D_show(self, *args)
13153 def get_boundary_point(self):
13154 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
13155 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
13159 """__str__(SpherePatch3D self) -> std::string"""
13160 return _IMP_algebra.SpherePatch3D___str__(self)
13163 def __repr__(self):
13164 """__repr__(SpherePatch3D self) -> std::string"""
13165 return _IMP_algebra.SpherePatch3D___repr__(self)
13168 def _get_as_binary(self):
13169 """_get_as_binary(SpherePatch3D self) -> PyObject *"""
13170 return _IMP_algebra.SpherePatch3D__get_as_binary(self)
13173 def _set_from_binary(self, p):
13174 """_set_from_binary(SpherePatch3D self, PyObject * p)"""
13175 return _IMP_algebra.SpherePatch3D__set_from_binary(self, p)
13178 def __getstate__(self):
13179 p = self._get_as_binary()
13180 if len(self.__dict__) > 1:
13181 d = self.__dict__.copy()
13186 def __setstate__(self, p):
13187 if not hasattr(self,
'this'):
13189 if isinstance(p, tuple):
13191 self.__dict__.update(d)
13192 return self._set_from_binary(p)
13194 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
13195 __del__ =
lambda self:
None
13196 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
13197 SpherePatch3D_swigregister(SpherePatch3D)
13202 get_area(Plane3D g) -> double
13203 get_area(SpherePatch3D g) -> double
13205 return _IMP_algebra.get_area(*args)
13207 def get_sphere_patch_3d_geometry(g):
13208 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
13209 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
13210 class Cone3D(_GeometricPrimitive3D):
13211 """Proxy of C++ IMP::algebra::Cone3D class"""
13212 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13214 def __init__(self, *args):
13216 __init__(IMP::algebra::Cone3D self) -> Cone3D
13217 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
13219 this = _IMP_algebra.new_Cone3D(*args)
13221 self.this.append(this)
13226 """get_tip(Cone3D self) -> Vector3D"""
13227 return _IMP_algebra.Cone3D_get_tip(self)
13230 def get_direction(self):
13231 """get_direction(Cone3D self) -> Vector3D"""
13232 return _IMP_algebra.Cone3D_get_direction(self)
13236 """get_height(Cone3D self) -> double"""
13237 return _IMP_algebra.Cone3D_get_height(self)
13241 """get_angle(Cone3D self) -> double"""
13242 return _IMP_algebra.Cone3D_get_angle(self)
13245 def get_radius(self):
13246 """get_radius(Cone3D self) -> double"""
13247 return _IMP_algebra.Cone3D_get_radius(self)
13250 def get_contains(self, v):
13251 """get_contains(Cone3D self, Vector3D v) -> bool"""
13252 return _IMP_algebra.Cone3D_get_contains(self, v)
13255 def get_base_plane(self):
13256 """get_base_plane(Cone3D self) -> Plane3D"""
13257 return _IMP_algebra.Cone3D_get_base_plane(self)
13260 def show(self, *args):
13262 show(Cone3D self, _ostream out)
13265 return _IMP_algebra.Cone3D_show(self, *args)
13269 """__str__(Cone3D self) -> std::string"""
13270 return _IMP_algebra.Cone3D___str__(self)
13273 def __repr__(self):
13274 """__repr__(Cone3D self) -> std::string"""
13275 return _IMP_algebra.Cone3D___repr__(self)
13278 def _get_as_binary(self):
13279 """_get_as_binary(Cone3D self) -> PyObject *"""
13280 return _IMP_algebra.Cone3D__get_as_binary(self)
13283 def _set_from_binary(self, p):
13284 """_set_from_binary(Cone3D self, PyObject * p)"""
13285 return _IMP_algebra.Cone3D__set_from_binary(self, p)
13288 def __getstate__(self):
13289 p = self._get_as_binary()
13290 if len(self.__dict__) > 1:
13291 d = self.__dict__.copy()
13296 def __setstate__(self, p):
13297 if not hasattr(self,
'this'):
13299 if isinstance(p, tuple):
13301 self.__dict__.update(d)
13302 return self._set_from_binary(p)
13304 __swig_destroy__ = _IMP_algebra.delete_Cone3D
13305 __del__ =
lambda self:
None
13306 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
13307 Cone3D_swigregister(Cone3D)
13312 get_surface_area(BoundingBox3D g) -> double
13313 get_surface_area(Sphere3D g) -> double
13314 get_surface_area(Cylinder3D g) -> double
13315 get_surface_area(Ellipsoid3D g) -> double
13316 get_surface_area(Cone3D g) -> double
13318 return _IMP_algebra.get_surface_area(*args)
13322 get_volume(BoundingBox3D g) -> double
13323 get_volume(Sphere3D g) -> double
13324 get_volume(Cylinder3D g) -> double
13325 get_volume(Ellipsoid3D g) -> double
13326 get_volume(Cone3D g) -> double
13328 return _IMP_algebra.get_volume(*args)
13330 def get_cone_3d_geometry(g):
13331 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
13332 return _IMP_algebra.get_cone_3d_geometry(g)
13335 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
13336 return _IMP_algebra.write_pts(vs, out)
13339 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
13340 return _IMP_algebra.read_pts(input)
13343 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
13344 return _IMP_algebra.write_spheres(vs, out)
13347 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
13348 return _IMP_algebra.read_spheres(input)
13351 """get_random_vector_on_unit_sphere() -> Vector3D"""
13352 return _IMP_algebra.get_random_vector_on_unit_sphere()
13355 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
13356 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
13360 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
13361 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
13362 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
13364 return _IMP_algebra.get_random_chain(*args)
13367 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
13368 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
13372 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
13373 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
13375 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
13378 """get_is_big_endian() -> bool"""
13379 return _IMP_algebra.get_is_big_endian()
13382 """get_is_little_endian() -> bool"""
13383 return _IMP_algebra.get_is_little_endian()
13387 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
13388 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
13390 return _IMP_algebra.get_shortest_segment(*args)
13392 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
13393 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13395 def __init__(self, vs, query_estimate=1):
13397 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
13398 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
13400 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
13402 self.this.append(this)
13406 def get_in_ball(self, id, distance):
13407 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
13408 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
13411 def set_coordinates(self, id, nc):
13412 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
13413 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
13416 def get_version_info(self):
13417 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
13418 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
13422 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
13423 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
13426 def __repr__(self):
13427 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
13428 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
13433 return _object_cast_to_DynamicNearestNeighbor3D(o)
13435 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
13436 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
13439 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
13440 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13442 def __init__(self, name):
13443 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
13444 if self.__class__ == VectorKDMetric:
13448 this = _IMP_algebra.new_VectorKDMetric(_self, name)
13450 self.this.append(this)
13454 if self.__class__ != VectorKDMetric:
13455 _director_objects.register(self)
13461 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
13462 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
13466 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
13467 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
13471 """__str__(VectorKDMetric self) -> std::string"""
13472 return _IMP_algebra.VectorKDMetric___str__(self)
13475 def __repr__(self):
13476 """__repr__(VectorKDMetric self) -> std::string"""
13477 return _IMP_algebra.VectorKDMetric___repr__(self)
13482 return _object_cast_to_VectorKDMetric(o)
13485 def get_type_name(self):
13486 return self.__class__.__name__
13487 def do_show(self, out):
13489 def get_version_info(self):
13490 if"IMP::algebra" ==
"IMP":
13491 return VersionInfo(self.__module__,
13498 return _object_cast_to_VectorKDMetric(o)
13500 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
13501 __del__ =
lambda self:
None
13502 def __disown__(self):
13504 _IMP_algebra.disown_VectorKDMetric(self)
13505 return weakref_proxy(self)
13507 def do_destroy(self):
13508 """do_destroy(VectorKDMetric self)"""
13509 return _IMP_algebra.VectorKDMetric_do_destroy(self)
13511 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
13512 VectorKDMetric_swigregister(VectorKDMetric)
13514 class EuclideanVectorKDMetric(VectorKDMetric):
13515 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
13516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13518 def __init__(self, *args):
13520 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
13521 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
13523 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
13525 self.this.append(this)
13529 def get_version_info(self):
13530 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
13531 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
13535 """__str__(EuclideanVectorKDMetric self) -> std::string"""
13536 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
13539 def __repr__(self):
13540 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
13541 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
13546 return _object_cast_to_EuclideanVectorKDMetric(o)
13548 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
13549 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
13551 class MaxVectorKDMetric(VectorKDMetric):
13552 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
13553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13555 def __init__(self, *args):
13557 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
13558 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
13560 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
13562 self.this.append(this)
13566 def get_version_info(self):
13567 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
13568 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
13572 """__str__(MaxVectorKDMetric self) -> std::string"""
13573 return _IMP_algebra.MaxVectorKDMetric___str__(self)
13576 def __repr__(self):
13577 """__repr__(MaxVectorKDMetric self) -> std::string"""
13578 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
13583 return _object_cast_to_MaxVectorKDMetric(o)
13585 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
13586 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
13588 class Gaussian3D(_GeometricPrimitive3D):
13589 """Proxy of C++ IMP::algebra::Gaussian3D class"""
13590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13592 def __init__(self, *args):
13594 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
13595 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
13597 this = _IMP_algebra.new_Gaussian3D(*args)
13599 self.this.append(this)
13603 def get_reference_frame(self):
13604 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
13605 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
13608 def get_variances(self):
13609 """get_variances(Gaussian3D self) -> Vector3D"""
13610 return _IMP_algebra.Gaussian3D_get_variances(self)
13613 def get_center(self):
13614 """get_center(Gaussian3D self) -> Vector3D"""
13615 return _IMP_algebra.Gaussian3D_get_center(self)
13618 def show(self, *args):
13620 show(Gaussian3D self, _ostream out)
13621 show(Gaussian3D self)
13623 return _IMP_algebra.Gaussian3D_show(self, *args)
13627 """__str__(Gaussian3D self) -> std::string"""
13628 return _IMP_algebra.Gaussian3D___str__(self)
13631 def __repr__(self):
13632 """__repr__(Gaussian3D self) -> std::string"""
13633 return _IMP_algebra.Gaussian3D___repr__(self)
13636 def _get_as_binary(self):
13637 """_get_as_binary(Gaussian3D self) -> PyObject *"""
13638 return _IMP_algebra.Gaussian3D__get_as_binary(self)
13641 def _set_from_binary(self, p):
13642 """_set_from_binary(Gaussian3D self, PyObject * p)"""
13643 return _IMP_algebra.Gaussian3D__set_from_binary(self, p)
13646 def __getstate__(self):
13647 p = self._get_as_binary()
13648 if len(self.__dict__) > 1:
13649 d = self.__dict__.copy()
13654 def __setstate__(self, p):
13655 if not hasattr(self,
'this'):
13657 if isinstance(p, tuple):
13659 self.__dict__.update(d)
13660 return self._set_from_binary(p)
13662 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
13663 __del__ =
lambda self:
None
13664 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
13665 Gaussian3D_swigregister(Gaussian3D)
13669 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
13670 return _IMP_algebra.get_covariance(g)
13673 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
13674 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
13677 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
13678 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
13682 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
13683 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
13685 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
13687 def _pass_matrix_xf(m):
13688 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
13689 return _IMP_algebra._pass_matrix_xf(m)
13691 def _pass_matrix_xd(m):
13692 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
13693 return _IMP_algebra._pass_matrix_xd(m)
13695 def _pass_matrix_3d(m):
13696 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
13697 return _IMP_algebra._pass_matrix_3d(m)
13699 def _pass_array_xd(m):
13700 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
13701 return _IMP_algebra._pass_array_xd(m)
13703 def _pass_vector_xd(m):
13704 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
13705 return _IMP_algebra._pass_vector_xd(m)
13707 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
13708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13710 def __init__(self, *args):
13712 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
13713 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
13715 this = _IMP_algebra.new_NearestNeighbor1D(*args)
13717 self.this.append(this)
13721 def set_query_log(self, fname):
13722 """set_query_log(NearestNeighbor1D self, std::string fname)"""
13723 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
13726 def get_nearest_neighbor(self, *args):
13728 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
13729 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
13731 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
13734 def get_nearest_neighbors(self, *args):
13736 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
13737 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
13739 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
13742 def get_in_ball(self, *args):
13744 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
13745 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
13747 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
13750 def get_version_info(self):
13751 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
13752 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
13756 """__str__(NearestNeighbor1D self) -> std::string"""
13757 return _IMP_algebra.NearestNeighbor1D___str__(self)
13760 def __repr__(self):
13761 """__repr__(NearestNeighbor1D self) -> std::string"""
13762 return _IMP_algebra.NearestNeighbor1D___repr__(self)
13767 return _object_cast_to_NearestNeighborD(o)
13769 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
13770 NearestNeighbor1D_swigregister(NearestNeighbor1D)
13773 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
13774 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13776 def __init__(self, *args):
13778 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
13779 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
13781 this = _IMP_algebra.new_NearestNeighbor2D(*args)
13783 self.this.append(this)
13787 def set_query_log(self, fname):
13788 """set_query_log(NearestNeighbor2D self, std::string fname)"""
13789 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
13792 def get_nearest_neighbor(self, *args):
13794 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
13795 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
13797 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
13800 def get_nearest_neighbors(self, *args):
13802 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
13803 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
13805 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
13808 def get_in_ball(self, *args):
13810 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
13811 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
13813 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
13816 def get_version_info(self):
13817 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
13818 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
13822 """__str__(NearestNeighbor2D self) -> std::string"""
13823 return _IMP_algebra.NearestNeighbor2D___str__(self)
13826 def __repr__(self):
13827 """__repr__(NearestNeighbor2D self) -> std::string"""
13828 return _IMP_algebra.NearestNeighbor2D___repr__(self)
13833 return _object_cast_to_NearestNeighborD(o)
13835 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
13836 NearestNeighbor2D_swigregister(NearestNeighbor2D)
13839 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
13840 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13842 def __init__(self, *args):
13844 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
13845 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
13847 this = _IMP_algebra.new_NearestNeighbor3D(*args)
13849 self.this.append(this)
13853 def set_query_log(self, fname):
13854 """set_query_log(NearestNeighbor3D self, std::string fname)"""
13855 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
13858 def get_nearest_neighbor(self, *args):
13860 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
13861 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
13863 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
13866 def get_nearest_neighbors(self, *args):
13868 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
13869 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
13871 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
13874 def get_in_ball(self, *args):
13876 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
13877 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
13879 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
13882 def get_version_info(self):
13883 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
13884 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
13888 """__str__(NearestNeighbor3D self) -> std::string"""
13889 return _IMP_algebra.NearestNeighbor3D___str__(self)
13892 def __repr__(self):
13893 """__repr__(NearestNeighbor3D self) -> std::string"""
13894 return _IMP_algebra.NearestNeighbor3D___repr__(self)
13899 return _object_cast_to_NearestNeighborD(o)
13901 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
13902 NearestNeighbor3D_swigregister(NearestNeighbor3D)
13905 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
13906 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13908 def __init__(self, *args):
13910 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
13911 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
13913 this = _IMP_algebra.new_NearestNeighbor4D(*args)
13915 self.this.append(this)
13919 def set_query_log(self, fname):
13920 """set_query_log(NearestNeighbor4D self, std::string fname)"""
13921 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
13924 def get_nearest_neighbor(self, *args):
13926 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
13927 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
13929 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
13932 def get_nearest_neighbors(self, *args):
13934 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
13935 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
13937 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
13940 def get_in_ball(self, *args):
13942 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
13943 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
13945 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
13948 def get_version_info(self):
13949 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
13950 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
13954 """__str__(NearestNeighbor4D self) -> std::string"""
13955 return _IMP_algebra.NearestNeighbor4D___str__(self)
13958 def __repr__(self):
13959 """__repr__(NearestNeighbor4D self) -> std::string"""
13960 return _IMP_algebra.NearestNeighbor4D___repr__(self)
13965 return _object_cast_to_NearestNeighborD(o)
13967 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
13968 NearestNeighbor4D_swigregister(NearestNeighbor4D)
13971 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
13972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13974 def __init__(self, *args):
13976 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
13977 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
13979 this = _IMP_algebra.new_NearestNeighbor5D(*args)
13981 self.this.append(this)
13985 def set_query_log(self, fname):
13986 """set_query_log(NearestNeighbor5D self, std::string fname)"""
13987 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
13990 def get_nearest_neighbor(self, *args):
13992 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
13993 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
13995 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
13998 def get_nearest_neighbors(self, *args):
14000 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
14001 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
14003 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
14006 def get_in_ball(self, *args):
14008 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
14009 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
14011 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
14014 def get_version_info(self):
14015 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
14016 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
14020 """__str__(NearestNeighbor5D self) -> std::string"""
14021 return _IMP_algebra.NearestNeighbor5D___str__(self)
14024 def __repr__(self):
14025 """__repr__(NearestNeighbor5D self) -> std::string"""
14026 return _IMP_algebra.NearestNeighbor5D___repr__(self)
14031 return _object_cast_to_NearestNeighborD(o)
14033 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
14034 NearestNeighbor5D_swigregister(NearestNeighbor5D)
14037 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
14038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14040 def __init__(self, *args):
14042 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
14043 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
14045 this = _IMP_algebra.new_NearestNeighbor6D(*args)
14047 self.this.append(this)
14051 def set_query_log(self, fname):
14052 """set_query_log(NearestNeighbor6D self, std::string fname)"""
14053 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
14056 def get_nearest_neighbor(self, *args):
14058 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
14059 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
14061 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
14064 def get_nearest_neighbors(self, *args):
14066 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
14067 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
14069 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
14072 def get_in_ball(self, *args):
14074 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
14075 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
14077 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
14080 def get_version_info(self):
14081 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
14082 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
14086 """__str__(NearestNeighbor6D self) -> std::string"""
14087 return _IMP_algebra.NearestNeighbor6D___str__(self)
14090 def __repr__(self):
14091 """__repr__(NearestNeighbor6D self) -> std::string"""
14092 return _IMP_algebra.NearestNeighbor6D___repr__(self)
14097 return _object_cast_to_NearestNeighborD(o)
14099 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
14100 NearestNeighbor6D_swigregister(NearestNeighbor6D)
14103 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
14104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14106 def __init__(self, *args):
14108 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
14109 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
14111 this = _IMP_algebra.new_NearestNeighborKD(*args)
14113 self.this.append(this)
14117 def set_query_log(self, fname):
14118 """set_query_log(NearestNeighborKD self, std::string fname)"""
14119 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
14122 def get_nearest_neighbor(self, *args):
14124 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
14125 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
14127 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
14130 def get_nearest_neighbors(self, *args):
14132 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
14133 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
14135 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
14138 def get_in_ball(self, *args):
14140 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
14141 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
14143 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
14146 def get_version_info(self):
14147 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
14148 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
14152 """__str__(NearestNeighborKD self) -> std::string"""
14153 return _IMP_algebra.NearestNeighborKD___str__(self)
14156 def __repr__(self):
14157 """__repr__(NearestNeighborKD self) -> std::string"""
14158 return _IMP_algebra.NearestNeighborKD___repr__(self)
14163 return _object_cast_to_NearestNeighborD(o)
14165 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
14166 NearestNeighborKD_swigregister(NearestNeighborKD)
14170 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
14171 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
14172 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
14173 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
14174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14176 def __init__(self, *args):
14178 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
14179 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
14181 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
14183 self.this.append(this)
14188 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
14189 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
14192 def get_principal_component(self, i):
14193 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
14194 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
14197 def get_principal_values(self):
14198 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
14199 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
14202 def get_principal_value(self, i):
14203 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
14204 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
14208 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
14209 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
14212 def set_centroid(self, cntr):
14213 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
14214 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
14217 def show(self, *args):
14219 show(PrincipalComponentAnalysis1D self, _ostream out)
14220 show(PrincipalComponentAnalysis1D self)
14222 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
14225 def __cmp__(self, o):
14226 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
14227 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
14230 def __eq__(self, o):
14231 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
14232 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
14235 def __ne__(self, o):
14236 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
14237 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
14240 def __lt__(self, o):
14241 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
14242 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
14245 def __gt__(self, o):
14246 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
14247 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
14250 def __ge__(self, o):
14251 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
14252 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
14255 def __le__(self, o):
14256 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
14257 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
14261 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
14262 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
14265 def __repr__(self):
14266 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
14267 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
14270 def _get_as_binary(self):
14271 """_get_as_binary(PrincipalComponentAnalysis1D self) -> PyObject *"""
14272 return _IMP_algebra.PrincipalComponentAnalysis1D__get_as_binary(self)
14275 def _set_from_binary(self, p):
14276 """_set_from_binary(PrincipalComponentAnalysis1D self, PyObject * p)"""
14277 return _IMP_algebra.PrincipalComponentAnalysis1D__set_from_binary(self, p)
14280 def __getstate__(self):
14281 p = self._get_as_binary()
14282 if len(self.__dict__) > 1:
14283 d = self.__dict__.copy()
14288 def __setstate__(self, p):
14289 if not hasattr(self,
'this'):
14291 if isinstance(p, tuple):
14293 self.__dict__.update(d)
14294 return self._set_from_binary(p)
14296 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
14297 __del__ =
lambda self:
None
14298 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
14299 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
14301 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
14302 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
14303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14305 def __init__(self, *args):
14307 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
14308 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
14310 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
14312 self.this.append(this)
14317 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
14318 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
14321 def get_principal_component(self, i):
14322 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
14323 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
14326 def get_principal_values(self):
14327 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
14328 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
14331 def get_principal_value(self, i):
14332 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
14333 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
14337 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
14338 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
14341 def set_centroid(self, cntr):
14342 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
14343 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
14346 def show(self, *args):
14348 show(PrincipalComponentAnalysis2D self, _ostream out)
14349 show(PrincipalComponentAnalysis2D self)
14351 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
14354 def __cmp__(self, o):
14355 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
14356 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
14359 def __eq__(self, o):
14360 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
14361 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
14364 def __ne__(self, o):
14365 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
14366 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
14369 def __lt__(self, o):
14370 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
14371 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
14374 def __gt__(self, o):
14375 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
14376 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
14379 def __ge__(self, o):
14380 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
14381 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
14384 def __le__(self, o):
14385 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
14386 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
14390 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
14391 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
14394 def __repr__(self):
14395 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
14396 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
14399 def _get_as_binary(self):
14400 """_get_as_binary(PrincipalComponentAnalysis2D self) -> PyObject *"""
14401 return _IMP_algebra.PrincipalComponentAnalysis2D__get_as_binary(self)
14404 def _set_from_binary(self, p):
14405 """_set_from_binary(PrincipalComponentAnalysis2D self, PyObject * p)"""
14406 return _IMP_algebra.PrincipalComponentAnalysis2D__set_from_binary(self, p)
14409 def __getstate__(self):
14410 p = self._get_as_binary()
14411 if len(self.__dict__) > 1:
14412 d = self.__dict__.copy()
14417 def __setstate__(self, p):
14418 if not hasattr(self,
'this'):
14420 if isinstance(p, tuple):
14422 self.__dict__.update(d)
14423 return self._set_from_binary(p)
14425 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
14426 __del__ =
lambda self:
None
14427 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
14428 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
14430 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
14431 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
14432 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14434 def __init__(self, *args):
14436 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
14437 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
14439 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
14441 self.this.append(this)
14446 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
14447 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
14450 def get_principal_component(self, i):
14451 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
14452 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
14455 def get_principal_values(self):
14456 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
14457 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
14460 def get_principal_value(self, i):
14461 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
14462 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
14466 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
14467 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
14470 def set_centroid(self, cntr):
14471 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
14472 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
14475 def show(self, *args):
14477 show(PrincipalComponentAnalysis3D self, _ostream out)
14478 show(PrincipalComponentAnalysis3D self)
14480 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
14483 def __cmp__(self, o):
14484 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
14485 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
14488 def __eq__(self, o):
14489 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
14490 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
14493 def __ne__(self, o):
14494 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
14495 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
14498 def __lt__(self, o):
14499 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
14500 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
14503 def __gt__(self, o):
14504 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
14505 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
14508 def __ge__(self, o):
14509 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
14510 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
14513 def __le__(self, o):
14514 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
14515 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
14519 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
14520 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
14523 def __repr__(self):
14524 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
14525 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
14528 def _get_as_binary(self):
14529 """_get_as_binary(PrincipalComponentAnalysis3D self) -> PyObject *"""
14530 return _IMP_algebra.PrincipalComponentAnalysis3D__get_as_binary(self)
14533 def _set_from_binary(self, p):
14534 """_set_from_binary(PrincipalComponentAnalysis3D self, PyObject * p)"""
14535 return _IMP_algebra.PrincipalComponentAnalysis3D__set_from_binary(self, p)
14538 def __getstate__(self):
14539 p = self._get_as_binary()
14540 if len(self.__dict__) > 1:
14541 d = self.__dict__.copy()
14546 def __setstate__(self, p):
14547 if not hasattr(self,
'this'):
14549 if isinstance(p, tuple):
14551 self.__dict__.update(d)
14552 return self._set_from_binary(p)
14554 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
14555 __del__ =
lambda self:
None
14556 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
14557 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
14559 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
14560 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
14561 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14563 def __init__(self, *args):
14565 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
14566 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
14568 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
14570 self.this.append(this)
14575 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
14576 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
14579 def get_principal_component(self, i):
14580 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
14581 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
14584 def get_principal_values(self):
14585 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
14586 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
14589 def get_principal_value(self, i):
14590 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
14591 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
14595 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
14596 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
14599 def set_centroid(self, cntr):
14600 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
14601 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
14604 def show(self, *args):
14606 show(PrincipalComponentAnalysis4D self, _ostream out)
14607 show(PrincipalComponentAnalysis4D self)
14609 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
14612 def __cmp__(self, o):
14613 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
14614 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
14617 def __eq__(self, o):
14618 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
14619 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
14622 def __ne__(self, o):
14623 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
14624 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
14627 def __lt__(self, o):
14628 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
14629 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
14632 def __gt__(self, o):
14633 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
14634 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
14637 def __ge__(self, o):
14638 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
14639 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
14642 def __le__(self, o):
14643 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
14644 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
14648 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
14649 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
14652 def __repr__(self):
14653 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
14654 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
14657 def _get_as_binary(self):
14658 """_get_as_binary(PrincipalComponentAnalysis4D self) -> PyObject *"""
14659 return _IMP_algebra.PrincipalComponentAnalysis4D__get_as_binary(self)
14662 def _set_from_binary(self, p):
14663 """_set_from_binary(PrincipalComponentAnalysis4D self, PyObject * p)"""
14664 return _IMP_algebra.PrincipalComponentAnalysis4D__set_from_binary(self, p)
14667 def __getstate__(self):
14668 p = self._get_as_binary()
14669 if len(self.__dict__) > 1:
14670 d = self.__dict__.copy()
14675 def __setstate__(self, p):
14676 if not hasattr(self,
'this'):
14678 if isinstance(p, tuple):
14680 self.__dict__.update(d)
14681 return self._set_from_binary(p)
14683 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
14684 __del__ =
lambda self:
None
14685 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
14686 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
14688 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
14689 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
14690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14692 def __init__(self, *args):
14694 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
14695 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
14697 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
14699 self.this.append(this)
14704 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
14705 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
14708 def get_principal_component(self, i):
14709 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
14710 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
14713 def get_principal_values(self):
14714 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
14715 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
14718 def get_principal_value(self, i):
14719 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
14720 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
14724 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
14725 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
14728 def set_centroid(self, cntr):
14729 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
14730 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
14733 def show(self, *args):
14735 show(PrincipalComponentAnalysis5D self, _ostream out)
14736 show(PrincipalComponentAnalysis5D self)
14738 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
14741 def __cmp__(self, o):
14742 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
14743 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
14746 def __eq__(self, o):
14747 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
14748 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
14751 def __ne__(self, o):
14752 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
14753 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
14756 def __lt__(self, o):
14757 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
14758 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
14761 def __gt__(self, o):
14762 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
14763 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
14766 def __ge__(self, o):
14767 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
14768 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
14771 def __le__(self, o):
14772 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
14773 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
14777 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
14778 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
14781 def __repr__(self):
14782 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
14783 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
14786 def _get_as_binary(self):
14787 """_get_as_binary(PrincipalComponentAnalysis5D self) -> PyObject *"""
14788 return _IMP_algebra.PrincipalComponentAnalysis5D__get_as_binary(self)
14791 def _set_from_binary(self, p):
14792 """_set_from_binary(PrincipalComponentAnalysis5D self, PyObject * p)"""
14793 return _IMP_algebra.PrincipalComponentAnalysis5D__set_from_binary(self, p)
14796 def __getstate__(self):
14797 p = self._get_as_binary()
14798 if len(self.__dict__) > 1:
14799 d = self.__dict__.copy()
14804 def __setstate__(self, p):
14805 if not hasattr(self,
'this'):
14807 if isinstance(p, tuple):
14809 self.__dict__.update(d)
14810 return self._set_from_binary(p)
14812 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
14813 __del__ =
lambda self:
None
14814 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
14815 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
14817 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
14818 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
14819 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14821 def __init__(self, *args):
14823 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
14824 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
14826 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
14828 self.this.append(this)
14833 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
14834 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
14837 def get_principal_component(self, i):
14838 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
14839 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
14842 def get_principal_values(self):
14843 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
14844 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
14847 def get_principal_value(self, i):
14848 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
14849 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
14853 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
14854 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
14857 def set_centroid(self, cntr):
14858 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
14859 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
14862 def show(self, *args):
14864 show(PrincipalComponentAnalysis6D self, _ostream out)
14865 show(PrincipalComponentAnalysis6D self)
14867 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
14870 def __cmp__(self, o):
14871 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
14872 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
14875 def __eq__(self, o):
14876 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
14877 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
14880 def __ne__(self, o):
14881 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
14882 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
14885 def __lt__(self, o):
14886 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
14887 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
14890 def __gt__(self, o):
14891 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
14892 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
14895 def __ge__(self, o):
14896 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
14897 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
14900 def __le__(self, o):
14901 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
14902 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
14906 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
14907 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
14910 def __repr__(self):
14911 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
14912 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
14915 def _get_as_binary(self):
14916 """_get_as_binary(PrincipalComponentAnalysis6D self) -> PyObject *"""
14917 return _IMP_algebra.PrincipalComponentAnalysis6D__get_as_binary(self)
14920 def _set_from_binary(self, p):
14921 """_set_from_binary(PrincipalComponentAnalysis6D self, PyObject * p)"""
14922 return _IMP_algebra.PrincipalComponentAnalysis6D__set_from_binary(self, p)
14925 def __getstate__(self):
14926 p = self._get_as_binary()
14927 if len(self.__dict__) > 1:
14928 d = self.__dict__.copy()
14933 def __setstate__(self, p):
14934 if not hasattr(self,
'this'):
14936 if isinstance(p, tuple):
14938 self.__dict__.update(d)
14939 return self._set_from_binary(p)
14941 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
14942 __del__ =
lambda self:
None
14943 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
14944 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
14946 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
14947 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
14948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14950 def __init__(self, *args):
14952 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
14953 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
14955 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
14957 self.this.append(this)
14962 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
14963 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
14966 def get_principal_component(self, i):
14967 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
14968 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
14971 def get_principal_values(self):
14972 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
14973 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
14976 def get_principal_value(self, i):
14977 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
14978 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
14982 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
14983 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
14986 def set_centroid(self, cntr):
14987 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
14988 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
14991 def show(self, *args):
14993 show(PrincipalComponentAnalysisKD self, _ostream out)
14994 show(PrincipalComponentAnalysisKD self)
14996 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
14999 def __cmp__(self, o):
15000 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
15001 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
15004 def __eq__(self, o):
15005 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
15006 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
15009 def __ne__(self, o):
15010 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
15011 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
15014 def __lt__(self, o):
15015 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
15016 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
15019 def __gt__(self, o):
15020 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
15021 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
15024 def __ge__(self, o):
15025 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
15026 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
15029 def __le__(self, o):
15030 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
15031 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
15035 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
15036 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
15039 def __repr__(self):
15040 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
15041 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
15044 def _get_as_binary(self):
15045 """_get_as_binary(PrincipalComponentAnalysisKD self) -> PyObject *"""
15046 return _IMP_algebra.PrincipalComponentAnalysisKD__get_as_binary(self)
15049 def _set_from_binary(self, p):
15050 """_set_from_binary(PrincipalComponentAnalysisKD self, PyObject * p)"""
15051 return _IMP_algebra.PrincipalComponentAnalysisKD__set_from_binary(self, p)
15054 def __getstate__(self):
15055 p = self._get_as_binary()
15056 if len(self.__dict__) > 1:
15057 d = self.__dict__.copy()
15062 def __setstate__(self, p):
15063 if not hasattr(self,
'this'):
15065 if isinstance(p, tuple):
15067 self.__dict__.update(d)
15068 return self._set_from_binary(p)
15070 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
15071 __del__ =
lambda self:
None
15072 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
15073 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
15078 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
15079 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
15080 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
15081 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
15082 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
15083 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
15084 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
15086 return _IMP_algebra.get_principal_components(*args)
15090 get_distance(Rotation3D r0, Rotation3D r1) -> double
15091 get_distance(Line3D s, Vector3D p) -> double
15092 get_distance(Line3D a, Line3D b) -> double
15093 get_distance(Segment3D s, Vector3D p) -> double
15094 get_distance(Segment3D a, Segment3D b) -> double
15095 get_distance(Plane3D pln, Vector3D p) -> double
15096 get_distance(Vector1D a, Vector1D b) -> double
15097 get_distance(Vector2D a, Vector2D b) -> double
15098 get_distance(Vector3D a, Vector3D b) -> double
15099 get_distance(Vector4D a, Vector4D b) -> double
15100 get_distance(Vector5D a, Vector5D b) -> double
15101 get_distance(Vector6D a, Vector6D b) -> double
15102 get_distance(VectorKD a, VectorKD b) -> double
15103 get_distance(Sphere1D a, Sphere1D b) -> double
15104 get_distance(Sphere2D a, Sphere2D b) -> double
15105 get_distance(Sphere3D a, Sphere3D b) -> double
15106 get_distance(Sphere4D a, Sphere4D b) -> double
15107 get_distance(Sphere5D a, Sphere5D b) -> double
15108 get_distance(Sphere6D a, Sphere6D b) -> double
15109 get_distance(SphereKD a, SphereKD b) -> double
15111 return _IMP_algebra.get_distance(*args)
15115 get_squared_distance(Vector1D a, Vector1D b) -> double
15116 get_squared_distance(Vector2D a, Vector2D b) -> double
15117 get_squared_distance(Vector3D a, Vector3D b) -> double
15118 get_squared_distance(Vector4D a, Vector4D b) -> double
15119 get_squared_distance(Vector5D a, Vector5D b) -> double
15120 get_squared_distance(Vector6D a, Vector6D b) -> double
15121 get_squared_distance(VectorKD a, VectorKD b) -> double
15123 return _IMP_algebra.get_squared_distance(*args)
15125 def get_basis_vector_1d(coordinate):
15126 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
15127 return _IMP_algebra.get_basis_vector_1d(coordinate)
15129 def get_basis_vector_2d(coordinate):
15130 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
15131 return _IMP_algebra.get_basis_vector_2d(coordinate)
15133 def get_basis_vector_3d(coordinate):
15134 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
15135 return _IMP_algebra.get_basis_vector_3d(coordinate)
15137 def get_basis_vector_4d(coordinate):
15138 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
15139 return _IMP_algebra.get_basis_vector_4d(coordinate)
15141 def get_basis_vector_5d(coordinate):
15142 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
15143 return _IMP_algebra.get_basis_vector_5d(coordinate)
15145 def get_basis_vector_6d(coordinate):
15146 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
15147 return _IMP_algebra.get_basis_vector_6d(coordinate)
15149 def get_zero_vector_1d():
15150 """get_zero_vector_1d() -> Vector1D"""
15151 return _IMP_algebra.get_zero_vector_1d()
15153 def get_zero_vector_2d():
15154 """get_zero_vector_2d() -> Vector2D"""
15155 return _IMP_algebra.get_zero_vector_2d()
15157 def get_zero_vector_3d():
15158 """get_zero_vector_3d() -> Vector3D"""
15159 return _IMP_algebra.get_zero_vector_3d()
15161 def get_zero_vector_4d():
15162 """get_zero_vector_4d() -> Vector4D"""
15163 return _IMP_algebra.get_zero_vector_4d()
15165 def get_zero_vector_5d():
15166 """get_zero_vector_5d() -> Vector5D"""
15167 return _IMP_algebra.get_zero_vector_5d()
15169 def get_zero_vector_6d():
15170 """get_zero_vector_6d() -> Vector6D"""
15171 return _IMP_algebra.get_zero_vector_6d()
15173 def get_ones_vector_1d(v=1):
15175 get_ones_vector_1d(double v=1) -> Vector1D
15176 get_ones_vector_1d() -> Vector1D
15178 return _IMP_algebra.get_ones_vector_1d(v)
15180 def get_ones_vector_2d(v=1):
15182 get_ones_vector_2d(double v=1) -> Vector2D
15183 get_ones_vector_2d() -> Vector2D
15185 return _IMP_algebra.get_ones_vector_2d(v)
15187 def get_ones_vector_3d(v=1):
15189 get_ones_vector_3d(double v=1) -> Vector3D
15190 get_ones_vector_3d() -> Vector3D
15192 return _IMP_algebra.get_ones_vector_3d(v)
15194 def get_ones_vector_4d(v=1):
15196 get_ones_vector_4d(double v=1) -> Vector4D
15197 get_ones_vector_4d() -> Vector4D
15199 return _IMP_algebra.get_ones_vector_4d(v)
15201 def get_ones_vector_5d(v=1):
15203 get_ones_vector_5d(double v=1) -> Vector5D
15204 get_ones_vector_5d() -> Vector5D
15206 return _IMP_algebra.get_ones_vector_5d(v)
15208 def get_ones_vector_6d(v=1):
15210 get_ones_vector_6d(double v=1) -> Vector6D
15211 get_ones_vector_6d() -> Vector6D
15213 return _IMP_algebra.get_ones_vector_6d(v)
15215 def get_unit_bounding_box_1d():
15216 """get_unit_bounding_box_1d() -> BoundingBox1D"""
15217 return _IMP_algebra.get_unit_bounding_box_1d()
15219 def get_unit_bounding_box_2d():
15220 """get_unit_bounding_box_2d() -> BoundingBox2D"""
15221 return _IMP_algebra.get_unit_bounding_box_2d()
15223 def get_unit_bounding_box_3d():
15224 """get_unit_bounding_box_3d() -> BoundingBox3D"""
15225 return _IMP_algebra.get_unit_bounding_box_3d()
15227 def get_unit_bounding_box_4d():
15228 """get_unit_bounding_box_4d() -> BoundingBox4D"""
15229 return _IMP_algebra.get_unit_bounding_box_4d()
15231 def get_unit_bounding_box_5d():
15232 """get_unit_bounding_box_5d() -> BoundingBox5D"""
15233 return _IMP_algebra.get_unit_bounding_box_5d()
15235 def get_unit_bounding_box_6d():
15236 """get_unit_bounding_box_6d() -> BoundingBox6D"""
15237 return _IMP_algebra.get_unit_bounding_box_6d()
15239 def get_cube_1d(radius):
15240 """get_cube_1d(double radius) -> BoundingBox1D"""
15241 return _IMP_algebra.get_cube_1d(radius)
15243 def get_cube_2d(radius):
15244 """get_cube_2d(double radius) -> BoundingBox2D"""
15245 return _IMP_algebra.get_cube_2d(radius)
15247 def get_cube_3d(radius):
15248 """get_cube_3d(double radius) -> BoundingBox3D"""
15249 return _IMP_algebra.get_cube_3d(radius)
15251 def get_cube_4d(radius):
15252 """get_cube_4d(double radius) -> BoundingBox4D"""
15253 return _IMP_algebra.get_cube_4d(radius)
15255 def get_cube_5d(radius):
15256 """get_cube_5d(double radius) -> BoundingBox5D"""
15257 return _IMP_algebra.get_cube_5d(radius)
15259 def get_cube_6d(radius):
15260 """get_cube_6d(double radius) -> BoundingBox6D"""
15261 return _IMP_algebra.get_cube_6d(radius)
15263 def get_unit_sphere_1d():
15264 """get_unit_sphere_1d() -> Sphere1D"""
15265 return _IMP_algebra.get_unit_sphere_1d()
15267 def get_unit_sphere_2d():
15268 """get_unit_sphere_2d() -> Sphere2D"""
15269 return _IMP_algebra.get_unit_sphere_2d()
15271 def get_unit_sphere_3d():
15272 """get_unit_sphere_3d() -> Sphere3D"""
15273 return _IMP_algebra.get_unit_sphere_3d()
15275 def get_unit_sphere_4d():
15276 """get_unit_sphere_4d() -> Sphere4D"""
15277 return _IMP_algebra.get_unit_sphere_4d()
15279 def get_unit_sphere_5d():
15280 """get_unit_sphere_5d() -> Sphere5D"""
15281 return _IMP_algebra.get_unit_sphere_5d()
15283 def get_unit_sphere_6d():
15284 """get_unit_sphere_6d() -> Sphere6D"""
15285 return _IMP_algebra.get_unit_sphere_6d()
15289 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
15290 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
15291 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
15292 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
15293 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
15294 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
15295 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
15296 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
15297 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
15298 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
15299 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
15300 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
15301 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
15302 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
15304 return _IMP_algebra.get_interiors_intersect(*args)
15308 get_random_vector_on(Sphere1D a) -> Vector1D
15309 get_random_vector_on(Sphere2D a) -> Vector2D
15310 get_random_vector_on(Sphere3D a) -> Vector3D
15311 get_random_vector_on(Sphere4D a) -> Vector4D
15312 get_random_vector_on(Sphere5D a) -> Vector5D
15313 get_random_vector_on(Sphere6D a) -> Vector6D
15314 get_random_vector_on(SphereKD a) -> VectorKD
15315 get_random_vector_on(UnitSimplex1D a) -> Vector1D
15316 get_random_vector_on(UnitSimplex2D a) -> Vector2D
15317 get_random_vector_on(UnitSimplex3D a) -> Vector3D
15318 get_random_vector_on(UnitSimplex4D a) -> Vector4D
15319 get_random_vector_on(UnitSimplex5D a) -> Vector5D
15320 get_random_vector_on(UnitSimplex6D a) -> Vector6D
15321 get_random_vector_on(UnitSimplexKD a) -> VectorKD
15322 get_random_vector_on(BoundingBox1D a) -> Vector1D
15323 get_random_vector_on(BoundingBox2D a) -> Vector2D
15324 get_random_vector_on(BoundingBox3D a) -> Vector3D
15325 get_random_vector_on(BoundingBox4D a) -> Vector4D
15326 get_random_vector_on(BoundingBox5D a) -> Vector5D
15327 get_random_vector_on(BoundingBox6D a) -> Vector6D
15328 get_random_vector_on(BoundingBoxKD a) -> VectorKD
15330 return _IMP_algebra.get_random_vector_on(*args)
15334 get_random_vector_in(Cylinder3D c) -> Vector3D
15335 get_random_vector_in(Sphere1D a) -> Vector1D
15336 get_random_vector_in(Sphere2D a) -> Vector2D
15337 get_random_vector_in(Sphere3D a) -> Vector3D
15338 get_random_vector_in(Sphere4D a) -> Vector4D
15339 get_random_vector_in(Sphere5D a) -> Vector5D
15340 get_random_vector_in(Sphere6D a) -> Vector6D
15341 get_random_vector_in(SphereKD a) -> VectorKD
15342 get_random_vector_in(BoundingBox1D a) -> Vector1D
15343 get_random_vector_in(BoundingBox2D a) -> Vector2D
15344 get_random_vector_in(BoundingBox3D a) -> Vector3D
15345 get_random_vector_in(BoundingBox4D a) -> Vector4D
15346 get_random_vector_in(BoundingBox5D a) -> Vector5D
15347 get_random_vector_in(BoundingBox6D a) -> Vector6D
15348 get_random_vector_in(BoundingBoxKD a) -> VectorKD
15350 return _IMP_algebra.get_random_vector_in(*args)
15354 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
15355 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
15356 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
15357 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
15358 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
15359 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
15360 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
15362 return _IMP_algebra.get_intersection(*args)
15366 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
15367 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
15368 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
15369 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
15370 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
15371 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
15372 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
15374 return _IMP_algebra.get_union(*args)
15376 def get_bounding_box(*args):
15378 get_bounding_box(Line3D g) -> BoundingBox3D
15379 get_bounding_box(Segment3D g) -> BoundingBox3D
15380 get_bounding_box(Plane3D g) -> BoundingBox3D
15381 get_bounding_box(Cylinder3D g) -> BoundingBox3D
15382 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
15383 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
15384 get_bounding_box(Cone3D g) -> BoundingBox3D
15385 get_bounding_box(Sphere1D a) -> BoundingBox1D
15386 get_bounding_box(Sphere2D a) -> BoundingBox2D
15387 get_bounding_box(Sphere3D a) -> BoundingBox3D
15388 get_bounding_box(Sphere4D a) -> BoundingBox4D
15389 get_bounding_box(Sphere5D a) -> BoundingBox5D
15390 get_bounding_box(Sphere6D a) -> BoundingBox6D
15391 get_bounding_box(SphereKD a) -> BoundingBoxKD
15393 return _IMP_algebra.get_bounding_box(*args)
15397 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
15398 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
15399 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
15400 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
15401 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
15402 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
15403 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
15404 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
15405 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
15406 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
15407 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
15409 return _IMP_algebra.get_uniform_surface_cover(*args)
15413 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
15414 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
15415 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
15416 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
15417 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
15418 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
15419 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
15421 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
15425 get_projected(Line3D l, Vector3D p) -> Vector3D
15426 get_projected(Line3D l, Segment3D s) -> Segment3D
15427 get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
15428 get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
15429 get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
15430 get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
15431 get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
15432 get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
15433 get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
15435 return _IMP_algebra.get_projected(*args)
15439 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
15440 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
15441 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
15442 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
15443 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
15444 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
15445 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
15446 get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
15447 get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
15448 get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
15449 get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
15450 get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
15451 get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
15452 get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
15454 return _IMP_algebra.get_vertices(*args)
15458 get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
15459 get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
15460 get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
15461 get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
15462 get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
15463 get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
15464 get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
15466 return _IMP_algebra.get_increasing_from_embedded(*args)
15470 get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
15471 get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
15472 get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
15473 get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
15474 get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
15475 get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
15476 get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
15478 return _IMP_algebra.get_embedded_from_increasing(*args)
15479 class _AxisAnglePair(object):
15480 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
15481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15482 __repr__ = _swig_repr
15484 def __init__(self, *args):
15486 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
15487 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
15488 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
15490 this = _IMP_algebra.new__AxisAnglePair(*args)
15492 self.this.append(this)
15495 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
15496 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
15499 def __repr__(self):
15500 return str((self.first, self.second))
15501 def __getitem__(self, index):
15502 if not (index % 2):
15506 def __setitem__(self, index, val):
15507 if not (index % 2):
15511 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
15512 __del__ =
lambda self:
None
15513 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
15514 _AxisAnglePair_swigregister(_AxisAnglePair)
15518 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
15519 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
15520 class _RotatedVector3DAdjoint(object):
15521 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class"""
15522 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15523 __repr__ = _swig_repr
15525 def __init__(self, *args):
15527 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
15528 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
15529 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
15531 this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
15533 self.this.append(this)
15536 first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
15537 second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
15540 def __repr__(self):
15541 return str((self.first, self.second))
15542 def __getitem__(self, index):
15543 if not (index % 2):
15547 def __setitem__(self, index, val):
15548 if not (index % 2):
15552 __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
15553 __del__ =
lambda self:
None
15554 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
15555 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
15557 class _ComposeRotation3DAdjoint(object):
15558 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class"""
15559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15560 __repr__ = _swig_repr
15562 def __init__(self, *args):
15564 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
15565 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
15566 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
15568 this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
15570 self.this.append(this)
15573 first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
15574 second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
15577 def __repr__(self):
15578 return str((self.first, self.second))
15579 def __getitem__(self, index):
15580 if not (index % 2):
15584 def __setitem__(self, index, val):
15585 if not (index % 2):
15589 __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
15590 __del__ =
lambda self:
None
15591 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
15592 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
15594 class _Transformation3DAdjoint(object):
15595 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class"""
15596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15597 __repr__ = _swig_repr
15599 def __init__(self, *args):
15601 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
15602 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
15603 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
15605 this = _IMP_algebra.new__Transformation3DAdjoint(*args)
15607 self.this.append(this)
15610 first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
15611 second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
15614 def __repr__(self):
15615 return str((self.first, self.second))
15616 def __getitem__(self, index):
15617 if not (index % 2):
15621 def __setitem__(self, index, val):
15622 if not (index % 2):
15626 __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
15627 __del__ =
lambda self:
None
15628 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
15629 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
15631 class _TransformedVector3DAdjoint(object):
15632 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
15633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15634 __repr__ = _swig_repr
15636 def __init__(self, *args):
15638 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
15639 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
15640 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
15642 this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
15644 self.this.append(this)
15647 first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
15648 second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
15651 def __repr__(self):
15652 return str((self.first, self.second))
15653 def __getitem__(self, index):
15654 if not (index % 2):
15658 def __setitem__(self, index, val):
15659 if not (index % 2):
15663 __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
15664 __del__ =
lambda self:
None
15665 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
15666 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
15668 class _ComposeTransformation3DAdjoint(object):
15669 """Proxy of C++ std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
15670 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15671 __repr__ = _swig_repr
15673 def __init__(self, *args):
15675 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _ComposeTransformation3DAdjoint
15676 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _Transformation3DAdjoint first, _Transformation3DAdjoint second) -> _ComposeTransformation3DAdjoint
15677 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _ComposeTransformation3DAdjoint p) -> _ComposeTransformation3DAdjoint
15679 this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
15681 self.this.append(this)
15684 first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
15685 second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
15688 def __repr__(self):
15689 return str((self.first, self.second))
15690 def __getitem__(self, index):
15691 if not (index % 2):
15695 def __setitem__(self, index, val):
15696 if not (index % 2):
15700 __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
15701 __del__ =
lambda self:
None
15702 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
15703 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
15707 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
15708 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
15711 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
15712 return _IMP_algebra.get_rmsd(v0, v1)
15714 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
15715 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
15716 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
15719 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
15720 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
15722 LinearFit=LinearFit2D
15723 ParabolicFit=ParabolicFit2D
15727 """get_module_version() -> std::string const"""
15728 return _IMP_algebra.get_module_version()
15731 """get_example_path(std::string fname) -> std::string"""
15732 return _IMP_algebra.get_example_path(fname)
15735 """get_data_path(std::string fname) -> std::string"""
15736 return _IMP_algebra.get_data_path(fname)
15738 from .
import _version_check
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
SphereD< 3 > Sphere3D
Typedef for Python.
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
void compose_adjoint(const Rotation3D &A, const Rotation3D &B, Vector4D DC, Rotation3DAdjoint *DA, Rotation3DAdjoint *DB)
Get adjoint of inputs to compose from adjoint of output.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
SphereD< 2 > Sphere2D
Typedef for Python.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Eigen::MatrixXd get_jacobian_of_composed_wrt_first(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get gradient of quaternion product with respect to first quaternion.
VectorD< D > get_basis_vector_kd(int Di, unsigned int coordinate)
Return the basis vector for the given coordinate.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
VectorD< D > get_increasing_from_embedded(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from embedded to increasing coordinates.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
VectorD< D > get_embedded_from_increasing(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from increasing to embedded coordinates.
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Version and module information for Objects.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
Eigen::MatrixXd get_jacobian_of_composed_wrt_second(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get Jacobian of quaternion product with respect to second quaternion.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3D spheres to a file.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
Get a set of balls that approximates the surface of the passed set.
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
SphereD<-1 > SphereKD
Typedef for Python.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
std::string get_module_version()
Return the version of this module, as a string.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.