10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_algebra')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_algebra')
25 _IMP_algebra = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
43 _IMP_algebra = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_ALGEBRA_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
126 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
131 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
132 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
134 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
139 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
140 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
142 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
151 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
152 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
156 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
157 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
161 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
162 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
166 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
167 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
171 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
172 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
177 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
182 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
187 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
192 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
197 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
202 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
208 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
214 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
215 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
223 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
224 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
225 IMP_SILENT = _IMP_algebra.IMP_SILENT
226 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
227 IMP_TERSE = _IMP_algebra.IMP_TERSE
228 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
229 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
230 IMP_NONE = _IMP_algebra.IMP_NONE
231 IMP_USAGE = _IMP_algebra.IMP_USAGE
232 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_algebra._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_algebra._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
310 return v.get_coordinates()
315 return v.get_sphere()
320 _object_types.append(
"VectorKDMetric")
323 def _object_cast_to_VectorKDMetric(o):
324 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
325 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
327 _object_types.append(
"EuclideanVectorKDMetric")
330 def _object_cast_to_EuclideanVectorKDMetric(o):
331 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
332 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
334 _object_types.append(
"MaxVectorKDMetric")
337 def _object_cast_to_MaxVectorKDMetric(o):
338 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
339 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
341 _object_types.append(
"DynamicNearestNeighbor3D")
344 def _object_cast_to_DynamicNearestNeighbor3D(o):
345 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
346 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
349 _plural_types.append(
"Rotation2Ds")
350 _value_types.append(
"Rotation2D")
354 _plural_types.append(
"Rotation3Ds")
355 _value_types.append(
"Rotation3D")
359 _plural_types.append(
"Reflection3Ds")
360 _value_types.append(
"Reflection3D")
363 Transformation2Ds=list
364 _plural_types.append(
"Transformation2Ds")
365 _value_types.append(
"Transformation2D")
368 Transformation3Ds=list
369 _plural_types.append(
"Transformation3Ds")
370 _value_types.append(
"Transformation3D")
373 SphericalVector3Ds=list
374 _plural_types.append(
"SphericalVector3Ds")
375 _value_types.append(
"SphericalVector3D")
379 _plural_types.append(
"Triangle3Ds")
380 _value_types.append(
"Triangle3D")
384 _plural_types.append(
"Cone3Ds")
385 _value_types.append(
"Cone3D")
389 _plural_types.append(
"Cylinder3Ds")
390 _value_types.append(
"Cylinder3D")
394 _plural_types.append(
"Ellipsoid3Ds")
395 _value_types.append(
"Ellipsoid3D")
399 _plural_types.append(
"Line3Ds")
400 _value_types.append(
"Line3D")
404 _plural_types.append(
"Plane3Ds")
405 _value_types.append(
"Plane3D")
409 _plural_types.append(
"Segment3Ds")
410 _value_types.append(
"Segment3D")
414 _plural_types.append(
"SpherePatch3Ds")
415 _value_types.append(
"SpherePatch3D")
418 ConnollySurfacePoints=list
419 _plural_types.append(
"ConnollySurfacePoints")
420 _value_types.append(
"ConnollySurfacePoint")
424 _plural_types.append(
"Sphere1Ds")
425 _value_types.append(
"Sphere1D")
429 _plural_types.append(
"Sphere2Ds")
430 _value_types.append(
"Sphere2D")
434 _plural_types.append(
"Sphere3Ds")
435 _value_types.append(
"Sphere3D")
439 _plural_types.append(
"Sphere4Ds")
440 _value_types.append(
"Sphere4D")
444 _plural_types.append(
"Sphere5Ds")
445 _value_types.append(
"Sphere5D")
449 _plural_types.append(
"Sphere6Ds")
450 _value_types.append(
"Sphere6D")
454 _plural_types.append(
"Sphere1Ds")
455 _value_types.append(
"SphereD<1>")
459 _plural_types.append(
"Sphere2Ds")
460 _value_types.append(
"SphereD<2>")
464 _plural_types.append(
"Sphere3Ds")
465 _value_types.append(
"SphereD<3>")
469 _plural_types.append(
"Sphere4Ds")
470 _value_types.append(
"SphereD<4>")
474 _plural_types.append(
"Sphere5Ds")
475 _value_types.append(
"SphereD<5>")
479 _plural_types.append(
"Sphere6Ds")
480 _value_types.append(
"SphereD<6>")
484 _plural_types.append(
"SphereKDs")
485 _value_types.append(
"SphereKD")
489 _plural_types.append(
"SphereKDs")
490 _value_types.append(
"SphereD<-1>")
494 _plural_types.append(
"BoundingBox1Ds")
495 _value_types.append(
"BoundingBox1D")
499 _plural_types.append(
"BoundingBox2Ds")
500 _value_types.append(
"BoundingBox2D")
504 _plural_types.append(
"BoundingBox3Ds")
505 _value_types.append(
"BoundingBox3D")
509 _plural_types.append(
"BoundingBox4Ds")
510 _value_types.append(
"BoundingBox4D")
514 _plural_types.append(
"BoundingBox5Ds")
515 _value_types.append(
"BoundingBox5D")
519 _plural_types.append(
"BoundingBox6Ds")
520 _value_types.append(
"BoundingBox6D")
524 _plural_types.append(
"BoundingBox1Ds")
525 _value_types.append(
"BoundingBoxD<1>")
529 _plural_types.append(
"BoundingBox2Ds")
530 _value_types.append(
"BoundingBoxD<2>")
534 _plural_types.append(
"BoundingBox3Ds")
535 _value_types.append(
"BoundingBoxD<3>")
539 _plural_types.append(
"BoundingBox4Ds")
540 _value_types.append(
"BoundingBoxD<4>")
544 _plural_types.append(
"BoundingBox5Ds")
545 _value_types.append(
"BoundingBoxD<5>")
549 _plural_types.append(
"BoundingBox6Ds")
550 _value_types.append(
"BoundingBoxD<6>")
554 _plural_types.append(
"BoundingBoxKDs")
555 _value_types.append(
"BoundingBoxKD")
559 _plural_types.append(
"BoundingBoxKDs")
560 _value_types.append(
"BoundingBoxD<-1>")
563 PrincipalComponentAnalysis1Ds=list
564 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
565 _value_types.append(
"PrincipalComponentAnalysis1D")
568 PrincipalComponentAnalysis2Ds=list
569 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
570 _value_types.append(
"PrincipalComponentAnalysis2D")
573 PrincipalComponentAnalysis3Ds=list
574 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
575 _value_types.append(
"PrincipalComponentAnalysis3D")
578 PrincipalComponentAnalysis4Ds=list
579 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
580 _value_types.append(
"PrincipalComponentAnalysis4D")
583 PrincipalComponentAnalysis5Ds=list
584 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
585 _value_types.append(
"PrincipalComponentAnalysis5D")
588 PrincipalComponentAnalysis6Ds=list
589 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
590 _value_types.append(
"PrincipalComponentAnalysis6D")
593 PrincipalComponentAnalysis1Ds=list
594 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
595 _value_types.append(
"PrincipalComponentAnalysisD<1>")
598 PrincipalComponentAnalysis2Ds=list
599 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
600 _value_types.append(
"PrincipalComponentAnalysisD<2>")
603 PrincipalComponentAnalysis3Ds=list
604 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
605 _value_types.append(
"PrincipalComponentAnalysisD<3>")
608 PrincipalComponentAnalysis4Ds=list
609 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
610 _value_types.append(
"PrincipalComponentAnalysisD<4>")
613 PrincipalComponentAnalysis5Ds=list
614 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
615 _value_types.append(
"PrincipalComponentAnalysisD<5>")
618 PrincipalComponentAnalysis6Ds=list
619 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
620 _value_types.append(
"PrincipalComponentAnalysisD<6>")
623 PrincipalComponentAnalysisKDs=list
624 _plural_types.append(
"PrincipalComponentAnalysisKDs")
625 _value_types.append(
"PrincipalComponentAnalysisKD")
628 PrincipalComponentAnalysisKDs=list
629 _plural_types.append(
"PrincipalComponentAnalysisKDs")
630 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
633 _object_types.append(
"NearestNeighbor1D")
636 def _object_cast_to_NearestNeighbor1D(o):
637 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
638 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
640 _object_types.append(
"NearestNeighbor2D")
643 def _object_cast_to_NearestNeighbor2D(o):
644 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
645 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
647 _object_types.append(
"NearestNeighbor3D")
650 def _object_cast_to_NearestNeighbor3D(o):
651 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
652 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
654 _object_types.append(
"NearestNeighbor4D")
657 def _object_cast_to_NearestNeighbor4D(o):
658 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
659 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
661 _object_types.append(
"NearestNeighbor5D")
664 def _object_cast_to_NearestNeighbor5D(o):
665 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
666 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
668 _object_types.append(
"NearestNeighbor6D")
671 def _object_cast_to_NearestNeighbor6D(o):
672 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
673 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
675 _object_types.append(
"NearestNeighborKD")
678 def _object_cast_to_NearestNeighborKD(o):
679 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
680 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
682 ReferenceFrame3Ds=list
683 _plural_types.append(
"ReferenceFrame3Ds")
684 _value_types.append(
"ReferenceFrame3D")
688 _plural_types.append(
"Gaussian3Ds")
689 _value_types.append(
"Gaussian3D")
692 DefaultEmbedding1Ds=list
693 _plural_types.append(
"DefaultEmbedding1Ds")
694 _value_types.append(
"DefaultEmbedding1D")
697 DefaultEmbedding2Ds=list
698 _plural_types.append(
"DefaultEmbedding2Ds")
699 _value_types.append(
"DefaultEmbedding2D")
702 DefaultEmbedding3Ds=list
703 _plural_types.append(
"DefaultEmbedding3Ds")
704 _value_types.append(
"DefaultEmbedding3D")
707 DefaultEmbedding4Ds=list
708 _plural_types.append(
"DefaultEmbedding4Ds")
709 _value_types.append(
"DefaultEmbedding4D")
712 DefaultEmbedding5Ds=list
713 _plural_types.append(
"DefaultEmbedding5Ds")
714 _value_types.append(
"DefaultEmbedding5D")
717 DefaultEmbedding6Ds=list
718 _plural_types.append(
"DefaultEmbedding6Ds")
719 _value_types.append(
"DefaultEmbedding6D")
722 DefaultEmbedding1Ds=list
723 _plural_types.append(
"DefaultEmbedding1Ds")
724 _value_types.append(
"DefaultEmbeddingD<1>")
727 DefaultEmbedding2Ds=list
728 _plural_types.append(
"DefaultEmbedding2Ds")
729 _value_types.append(
"DefaultEmbeddingD<2>")
732 DefaultEmbedding3Ds=list
733 _plural_types.append(
"DefaultEmbedding3Ds")
734 _value_types.append(
"DefaultEmbeddingD<3>")
737 DefaultEmbedding4Ds=list
738 _plural_types.append(
"DefaultEmbedding4Ds")
739 _value_types.append(
"DefaultEmbeddingD<4>")
742 DefaultEmbedding5Ds=list
743 _plural_types.append(
"DefaultEmbedding5Ds")
744 _value_types.append(
"DefaultEmbeddingD<5>")
747 DefaultEmbedding6Ds=list
748 _plural_types.append(
"DefaultEmbedding6Ds")
749 _value_types.append(
"DefaultEmbeddingD<6>")
752 DefaultEmbeddingKDs=list
753 _plural_types.append(
"DefaultEmbeddingKDs")
754 _value_types.append(
"DefaultEmbeddingKD")
757 DefaultEmbeddingKDs=list
758 _plural_types.append(
"DefaultEmbeddingKDs")
759 _value_types.append(
"DefaultEmbeddingD<-1>")
763 _plural_types.append(
"LogEmbedding1Ds")
764 _value_types.append(
"LogEmbedding1D")
768 _plural_types.append(
"LogEmbedding2Ds")
769 _value_types.append(
"LogEmbedding2D")
773 _plural_types.append(
"LogEmbedding3Ds")
774 _value_types.append(
"LogEmbedding3D")
778 _plural_types.append(
"LogEmbedding4Ds")
779 _value_types.append(
"LogEmbedding4D")
783 _plural_types.append(
"LogEmbedding5Ds")
784 _value_types.append(
"LogEmbedding5D")
788 _plural_types.append(
"LogEmbedding6Ds")
789 _value_types.append(
"LogEmbedding6D")
793 _plural_types.append(
"LogEmbedding1Ds")
794 _value_types.append(
"LogEmbeddingD<1>")
798 _plural_types.append(
"LogEmbedding2Ds")
799 _value_types.append(
"LogEmbeddingD<2>")
803 _plural_types.append(
"LogEmbedding3Ds")
804 _value_types.append(
"LogEmbeddingD<3>")
808 _plural_types.append(
"LogEmbedding4Ds")
809 _value_types.append(
"LogEmbeddingD<4>")
813 _plural_types.append(
"LogEmbedding5Ds")
814 _value_types.append(
"LogEmbeddingD<5>")
818 _plural_types.append(
"LogEmbedding6Ds")
819 _value_types.append(
"LogEmbeddingD<6>")
823 _plural_types.append(
"LogEmbeddingKDs")
824 _value_types.append(
"LogEmbeddingKD")
828 _plural_types.append(
"LogEmbeddingKDs")
829 _value_types.append(
"LogEmbeddingD<-1>")
833 _plural_types.append(
"GridIndex1Ds")
834 _value_types.append(
"GridIndex1D")
838 _plural_types.append(
"GridIndex2Ds")
839 _value_types.append(
"GridIndex2D")
843 _plural_types.append(
"GridIndex3Ds")
844 _value_types.append(
"GridIndex3D")
848 _plural_types.append(
"GridIndex4Ds")
849 _value_types.append(
"GridIndex4D")
853 _plural_types.append(
"GridIndex5Ds")
854 _value_types.append(
"GridIndex5D")
858 _plural_types.append(
"GridIndex6Ds")
859 _value_types.append(
"GridIndex6D")
863 _plural_types.append(
"GridIndex1Ds")
864 _value_types.append(
"GridIndexD<1>")
868 _plural_types.append(
"GridIndex2Ds")
869 _value_types.append(
"GridIndexD<2>")
873 _plural_types.append(
"GridIndex3Ds")
874 _value_types.append(
"GridIndexD<3>")
878 _plural_types.append(
"GridIndex4Ds")
879 _value_types.append(
"GridIndexD<4>")
883 _plural_types.append(
"GridIndex5Ds")
884 _value_types.append(
"GridIndexD<5>")
888 _plural_types.append(
"GridIndex6Ds")
889 _value_types.append(
"GridIndexD<6>")
893 _plural_types.append(
"GridIndexKDs")
894 _value_types.append(
"GridIndexKD")
898 _plural_types.append(
"GridIndexKDs")
899 _value_types.append(
"GridIndexD<-1>")
902 ExtendedGridIndex1Ds=list
903 _plural_types.append(
"ExtendedGridIndex1Ds")
904 _value_types.append(
"ExtendedGridIndex1D")
907 ExtendedGridIndex2Ds=list
908 _plural_types.append(
"ExtendedGridIndex2Ds")
909 _value_types.append(
"ExtendedGridIndex2D")
912 ExtendedGridIndex3Ds=list
913 _plural_types.append(
"ExtendedGridIndex3Ds")
914 _value_types.append(
"ExtendedGridIndex3D")
917 ExtendedGridIndex4Ds=list
918 _plural_types.append(
"ExtendedGridIndex4Ds")
919 _value_types.append(
"ExtendedGridIndex4D")
922 ExtendedGridIndex5Ds=list
923 _plural_types.append(
"ExtendedGridIndex5Ds")
924 _value_types.append(
"ExtendedGridIndex5D")
927 ExtendedGridIndex6Ds=list
928 _plural_types.append(
"ExtendedGridIndex6Ds")
929 _value_types.append(
"ExtendedGridIndex6D")
932 ExtendedGridIndex1Ds=list
933 _plural_types.append(
"ExtendedGridIndex1Ds")
934 _value_types.append(
"ExtendedGridIndexD<1>")
937 ExtendedGridIndex2Ds=list
938 _plural_types.append(
"ExtendedGridIndex2Ds")
939 _value_types.append(
"ExtendedGridIndexD<2>")
942 ExtendedGridIndex3Ds=list
943 _plural_types.append(
"ExtendedGridIndex3Ds")
944 _value_types.append(
"ExtendedGridIndexD<3>")
947 ExtendedGridIndex4Ds=list
948 _plural_types.append(
"ExtendedGridIndex4Ds")
949 _value_types.append(
"ExtendedGridIndexD<4>")
952 ExtendedGridIndex5Ds=list
953 _plural_types.append(
"ExtendedGridIndex5Ds")
954 _value_types.append(
"ExtendedGridIndexD<5>")
957 ExtendedGridIndex6Ds=list
958 _plural_types.append(
"ExtendedGridIndex6Ds")
959 _value_types.append(
"ExtendedGridIndexD<6>")
962 ExtendedGridIndexKDs=list
963 _plural_types.append(
"ExtendedGridIndexKDs")
964 _value_types.append(
"ExtendedGridIndexKD")
967 ExtendedGridIndexKDs=list
968 _plural_types.append(
"ExtendedGridIndexKDs")
969 _value_types.append(
"ExtendedGridIndexD<-1>")
972 BoundedGridRange1Ds=list
973 _plural_types.append(
"BoundedGridRange1Ds")
974 _value_types.append(
"BoundedGridRange1D")
977 BoundedGridRange2Ds=list
978 _plural_types.append(
"BoundedGridRange2Ds")
979 _value_types.append(
"BoundedGridRange2D")
982 BoundedGridRange3Ds=list
983 _plural_types.append(
"BoundedGridRange3Ds")
984 _value_types.append(
"BoundedGridRange3D")
987 BoundedGridRange4Ds=list
988 _plural_types.append(
"BoundedGridRange4Ds")
989 _value_types.append(
"BoundedGridRange4D")
992 BoundedGridRange5Ds=list
993 _plural_types.append(
"BoundedGridRange5Ds")
994 _value_types.append(
"BoundedGridRange5D")
997 BoundedGridRange6Ds=list
998 _plural_types.append(
"BoundedGridRange6Ds")
999 _value_types.append(
"BoundedGridRange6D")
1002 BoundedGridRange1Ds=list
1003 _plural_types.append(
"BoundedGridRange1Ds")
1004 _value_types.append(
"BoundedGridRangeD<1>")
1007 BoundedGridRange2Ds=list
1008 _plural_types.append(
"BoundedGridRange2Ds")
1009 _value_types.append(
"BoundedGridRangeD<2>")
1012 BoundedGridRange3Ds=list
1013 _plural_types.append(
"BoundedGridRange3Ds")
1014 _value_types.append(
"BoundedGridRangeD<3>")
1017 BoundedGridRange4Ds=list
1018 _plural_types.append(
"BoundedGridRange4Ds")
1019 _value_types.append(
"BoundedGridRangeD<4>")
1022 BoundedGridRange5Ds=list
1023 _plural_types.append(
"BoundedGridRange5Ds")
1024 _value_types.append(
"BoundedGridRangeD<5>")
1027 BoundedGridRange6Ds=list
1028 _plural_types.append(
"BoundedGridRange6Ds")
1029 _value_types.append(
"BoundedGridRangeD<6>")
1032 BoundedGridRangeKDs=list
1033 _plural_types.append(
"BoundedGridRangeKDs")
1034 _value_types.append(
"BoundedGridRangeKD")
1037 BoundedGridRangeKDs=list
1038 _plural_types.append(
"BoundedGridRangeKDs")
1039 _value_types.append(
"BoundedGridRangeD<-1>")
1042 UnboundedGridRange1Ds=list
1043 _plural_types.append(
"UnboundedGridRange1Ds")
1044 _value_types.append(
"UnboundedGridRange1D")
1047 UnboundedGridRange2Ds=list
1048 _plural_types.append(
"UnboundedGridRange2Ds")
1049 _value_types.append(
"UnboundedGridRange2D")
1052 UnboundedGridRange3Ds=list
1053 _plural_types.append(
"UnboundedGridRange3Ds")
1054 _value_types.append(
"UnboundedGridRange3D")
1057 UnboundedGridRange4Ds=list
1058 _plural_types.append(
"UnboundedGridRange4Ds")
1059 _value_types.append(
"UnboundedGridRange4D")
1062 UnboundedGridRange5Ds=list
1063 _plural_types.append(
"UnboundedGridRange5Ds")
1064 _value_types.append(
"UnboundedGridRange5D")
1067 UnboundedGridRange6Ds=list
1068 _plural_types.append(
"UnboundedGridRange6Ds")
1069 _value_types.append(
"UnboundedGridRange6D")
1072 UnboundedGridRange1Ds=list
1073 _plural_types.append(
"UnboundedGridRange1Ds")
1074 _value_types.append(
"UnboundedGridRangeD<1>")
1077 UnboundedGridRange2Ds=list
1078 _plural_types.append(
"UnboundedGridRange2Ds")
1079 _value_types.append(
"UnboundedGridRangeD<2>")
1082 UnboundedGridRange3Ds=list
1083 _plural_types.append(
"UnboundedGridRange3Ds")
1084 _value_types.append(
"UnboundedGridRangeD<3>")
1087 UnboundedGridRange4Ds=list
1088 _plural_types.append(
"UnboundedGridRange4Ds")
1089 _value_types.append(
"UnboundedGridRangeD<4>")
1092 UnboundedGridRange5Ds=list
1093 _plural_types.append(
"UnboundedGridRange5Ds")
1094 _value_types.append(
"UnboundedGridRangeD<5>")
1097 UnboundedGridRange6Ds=list
1098 _plural_types.append(
"UnboundedGridRange6Ds")
1099 _value_types.append(
"UnboundedGridRangeD<6>")
1102 UnboundedGridRangeKDs=list
1103 _plural_types.append(
"UnboundedGridRangeKDs")
1104 _value_types.append(
"UnboundedGridRangeKD")
1107 UnboundedGridRangeKDs=list
1108 _plural_types.append(
"UnboundedGridRangeKDs")
1109 _value_types.append(
"UnboundedGridRangeD<-1>")
1113 _plural_types.append(
"LinearFit2Ds")
1114 _value_types.append(
"LinearFit2D")
1117 ParabolicFit2Ds=list
1118 _plural_types.append(
"ParabolicFit2Ds")
1119 _value_types.append(
"ParabolicFit2D")
1123 _plural_types.append(
"FixedXYZs")
1124 _value_types.append(
"FixedXYZ")
1126 class _GeometricPrimitive1D(object):
1127 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1131 def __init__(self, *args, **kwargs):
1132 raise AttributeError(
"No constructor defined")
1133 __repr__ = _swig_repr
1134 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1135 __del__ =
lambda self:
None
1136 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1137 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1139 class _GeometricPrimitive2D(object):
1140 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1142 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1144 def __init__(self, *args, **kwargs):
1145 raise AttributeError(
"No constructor defined")
1146 __repr__ = _swig_repr
1147 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1148 __del__ =
lambda self:
None
1149 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1150 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1152 class _GeometricPrimitive3D(object):
1153 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1157 def __init__(self, *args, **kwargs):
1158 raise AttributeError(
"No constructor defined")
1159 __repr__ = _swig_repr
1160 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1161 __del__ =
lambda self:
None
1162 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1163 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1165 class _GeometricPrimitive4D(object):
1166 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1168 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1170 def __init__(self, *args, **kwargs):
1171 raise AttributeError(
"No constructor defined")
1172 __repr__ = _swig_repr
1173 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1174 __del__ =
lambda self:
None
1175 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1176 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1178 class _GeometricPrimitive5D(object):
1179 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1181 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1183 def __init__(self, *args, **kwargs):
1184 raise AttributeError(
"No constructor defined")
1185 __repr__ = _swig_repr
1186 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1187 __del__ =
lambda self:
None
1188 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1189 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1191 class _GeometricPrimitive6D(object):
1192 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1196 def __init__(self, *args, **kwargs):
1197 raise AttributeError(
"No constructor defined")
1198 __repr__ = _swig_repr
1199 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1200 __del__ =
lambda self:
None
1201 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1202 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1204 class _GeometricPrimitiveKD(object):
1205 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1207 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1209 def __init__(self, *args, **kwargs):
1210 raise AttributeError(
"No constructor defined")
1211 __repr__ = _swig_repr
1212 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1213 __del__ =
lambda self:
None
1214 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1215 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1219 _plural_types.append(
"Vector1Ds")
1220 _value_types.append(
"Vector1D")
1224 _plural_types.append(
"Vector2Ds")
1225 _value_types.append(
"Vector2D")
1229 _plural_types.append(
"Vector3Ds")
1230 _value_types.append(
"Vector3D")
1234 _plural_types.append(
"Vector4Ds")
1235 _value_types.append(
"Vector4D")
1239 _plural_types.append(
"Vector5Ds")
1240 _value_types.append(
"Vector5D")
1244 _plural_types.append(
"Vector6Ds")
1245 _value_types.append(
"Vector6D")
1249 _plural_types.append(
"Vector1Ds")
1250 _value_types.append(
"VectorD<1>")
1254 _plural_types.append(
"Vector2Ds")
1255 _value_types.append(
"VectorD<2>")
1259 _plural_types.append(
"Vector3Ds")
1260 _value_types.append(
"VectorD<3>")
1264 _plural_types.append(
"Vector4Ds")
1265 _value_types.append(
"VectorD<4>")
1269 _plural_types.append(
"Vector5Ds")
1270 _value_types.append(
"VectorD<5>")
1274 _plural_types.append(
"Vector6Ds")
1275 _value_types.append(
"VectorD<6>")
1279 _plural_types.append(
"VectorKDs")
1280 _value_types.append(
"VectorKD")
1284 _plural_types.append(
"VectorKDs")
1285 _value_types.append(
"VectorD<-1>")
1287 class _VectorBaseKD(_GeometricPrimitiveKD):
1288 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1291 __repr__ = _swig_repr
1294 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1295 this = _IMP_algebra.new__VectorBaseKD()
1297 self.this.append(this)
1298 except __builtin__.Exception:
1301 def get_scalar_product(self, o):
1302 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1303 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1306 def get_squared_magnitude(self):
1307 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1308 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1311 def get_magnitude(self):
1312 """get_magnitude(_VectorBaseKD self) -> double"""
1313 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1316 def __mul__(self, o):
1317 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1318 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1321 def __iadd__(self, o):
1322 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1323 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1326 def __isub__(self, o):
1327 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1328 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1331 def __idiv__(self, f):
1332 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1333 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1336 def __imul__(self, f):
1337 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1338 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1341 def show(self, *args):
1343 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1344 show(_VectorBaseKD self, _ostream out, std::string delim)
1345 show(_VectorBaseKD self, _ostream out)
1346 show(_VectorBaseKD self)
1348 return _IMP_algebra._VectorBaseKD_show(self, *args)
1351 def get_dimension(self):
1352 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1353 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1355 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1356 __del__ =
lambda self:
None
1357 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1358 _VectorBaseKD_swigregister(_VectorBaseKD)
1360 class _VectorBase1D(_GeometricPrimitive1D):
1361 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1363 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1364 __repr__ = _swig_repr
1367 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1368 this = _IMP_algebra.new__VectorBase1D()
1370 self.this.append(this)
1371 except __builtin__.Exception:
1374 def get_scalar_product(self, o):
1375 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1376 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1379 def get_squared_magnitude(self):
1380 """get_squared_magnitude(_VectorBase1D self) -> double"""
1381 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1384 def get_magnitude(self):
1385 """get_magnitude(_VectorBase1D self) -> double"""
1386 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1389 def __mul__(self, o):
1390 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1391 return _IMP_algebra._VectorBase1D___mul__(self, o)
1394 def __iadd__(self, o):
1395 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1396 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1399 def __isub__(self, o):
1400 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1401 return _IMP_algebra._VectorBase1D___isub__(self, o)
1404 def __idiv__(self, f):
1405 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1406 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1409 def __imul__(self, f):
1410 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1411 return _IMP_algebra._VectorBase1D___imul__(self, f)
1414 def show(self, *args):
1416 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1417 show(_VectorBase1D self, _ostream out, std::string delim)
1418 show(_VectorBase1D self, _ostream out)
1419 show(_VectorBase1D self)
1421 return _IMP_algebra._VectorBase1D_show(self, *args)
1424 def get_dimension(self):
1425 """get_dimension(_VectorBase1D self) -> unsigned int"""
1426 return _IMP_algebra._VectorBase1D_get_dimension(self)
1428 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1429 __del__ =
lambda self:
None
1430 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1431 _VectorBase1D_swigregister(_VectorBase1D)
1433 class _VectorBase2D(_GeometricPrimitive2D):
1434 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1436 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1437 __repr__ = _swig_repr
1440 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1441 this = _IMP_algebra.new__VectorBase2D()
1443 self.this.append(this)
1444 except __builtin__.Exception:
1447 def get_scalar_product(self, o):
1448 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1449 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1452 def get_squared_magnitude(self):
1453 """get_squared_magnitude(_VectorBase2D self) -> double"""
1454 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1457 def get_magnitude(self):
1458 """get_magnitude(_VectorBase2D self) -> double"""
1459 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1462 def __mul__(self, o):
1463 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1464 return _IMP_algebra._VectorBase2D___mul__(self, o)
1467 def __iadd__(self, o):
1468 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1469 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1472 def __isub__(self, o):
1473 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1474 return _IMP_algebra._VectorBase2D___isub__(self, o)
1477 def __idiv__(self, f):
1478 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1479 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1482 def __imul__(self, f):
1483 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1484 return _IMP_algebra._VectorBase2D___imul__(self, f)
1487 def show(self, *args):
1489 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1490 show(_VectorBase2D self, _ostream out, std::string delim)
1491 show(_VectorBase2D self, _ostream out)
1492 show(_VectorBase2D self)
1494 return _IMP_algebra._VectorBase2D_show(self, *args)
1497 def get_dimension(self):
1498 """get_dimension(_VectorBase2D self) -> unsigned int"""
1499 return _IMP_algebra._VectorBase2D_get_dimension(self)
1501 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1502 __del__ =
lambda self:
None
1503 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1504 _VectorBase2D_swigregister(_VectorBase2D)
1506 class _VectorBase3D(_GeometricPrimitive3D):
1507 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1510 __repr__ = _swig_repr
1513 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1514 this = _IMP_algebra.new__VectorBase3D()
1516 self.this.append(this)
1517 except __builtin__.Exception:
1520 def get_scalar_product(self, o):
1521 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1522 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1525 def get_squared_magnitude(self):
1526 """get_squared_magnitude(_VectorBase3D self) -> double"""
1527 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1530 def get_magnitude(self):
1531 """get_magnitude(_VectorBase3D self) -> double"""
1532 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1535 def __mul__(self, o):
1536 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1537 return _IMP_algebra._VectorBase3D___mul__(self, o)
1540 def __iadd__(self, o):
1541 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1542 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1545 def __isub__(self, o):
1546 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1547 return _IMP_algebra._VectorBase3D___isub__(self, o)
1550 def __idiv__(self, f):
1551 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1552 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1555 def __imul__(self, f):
1556 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1557 return _IMP_algebra._VectorBase3D___imul__(self, f)
1560 def show(self, *args):
1562 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1563 show(_VectorBase3D self, _ostream out, std::string delim)
1564 show(_VectorBase3D self, _ostream out)
1565 show(_VectorBase3D self)
1567 return _IMP_algebra._VectorBase3D_show(self, *args)
1570 def get_dimension(self):
1571 """get_dimension(_VectorBase3D self) -> unsigned int"""
1572 return _IMP_algebra._VectorBase3D_get_dimension(self)
1574 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1575 __del__ =
lambda self:
None
1576 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1577 _VectorBase3D_swigregister(_VectorBase3D)
1579 class _VectorBase4D(_GeometricPrimitive4D):
1580 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1582 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1583 __repr__ = _swig_repr
1586 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1587 this = _IMP_algebra.new__VectorBase4D()
1589 self.this.append(this)
1590 except __builtin__.Exception:
1593 def get_scalar_product(self, o):
1594 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1595 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1598 def get_squared_magnitude(self):
1599 """get_squared_magnitude(_VectorBase4D self) -> double"""
1600 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1603 def get_magnitude(self):
1604 """get_magnitude(_VectorBase4D self) -> double"""
1605 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1608 def __mul__(self, o):
1609 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1610 return _IMP_algebra._VectorBase4D___mul__(self, o)
1613 def __iadd__(self, o):
1614 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1615 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1618 def __isub__(self, o):
1619 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1620 return _IMP_algebra._VectorBase4D___isub__(self, o)
1623 def __idiv__(self, f):
1624 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1625 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1628 def __imul__(self, f):
1629 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1630 return _IMP_algebra._VectorBase4D___imul__(self, f)
1633 def show(self, *args):
1635 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1636 show(_VectorBase4D self, _ostream out, std::string delim)
1637 show(_VectorBase4D self, _ostream out)
1638 show(_VectorBase4D self)
1640 return _IMP_algebra._VectorBase4D_show(self, *args)
1643 def get_dimension(self):
1644 """get_dimension(_VectorBase4D self) -> unsigned int"""
1645 return _IMP_algebra._VectorBase4D_get_dimension(self)
1647 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1648 __del__ =
lambda self:
None
1649 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1650 _VectorBase4D_swigregister(_VectorBase4D)
1652 class _VectorBase5D(_GeometricPrimitive5D):
1653 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1656 __repr__ = _swig_repr
1659 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1660 this = _IMP_algebra.new__VectorBase5D()
1662 self.this.append(this)
1663 except __builtin__.Exception:
1666 def get_scalar_product(self, o):
1667 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1668 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1671 def get_squared_magnitude(self):
1672 """get_squared_magnitude(_VectorBase5D self) -> double"""
1673 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1676 def get_magnitude(self):
1677 """get_magnitude(_VectorBase5D self) -> double"""
1678 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1681 def __mul__(self, o):
1682 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1683 return _IMP_algebra._VectorBase5D___mul__(self, o)
1686 def __iadd__(self, o):
1687 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1688 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1691 def __isub__(self, o):
1692 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1693 return _IMP_algebra._VectorBase5D___isub__(self, o)
1696 def __idiv__(self, f):
1697 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1698 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1701 def __imul__(self, f):
1702 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1703 return _IMP_algebra._VectorBase5D___imul__(self, f)
1706 def show(self, *args):
1708 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1709 show(_VectorBase5D self, _ostream out, std::string delim)
1710 show(_VectorBase5D self, _ostream out)
1711 show(_VectorBase5D self)
1713 return _IMP_algebra._VectorBase5D_show(self, *args)
1716 def get_dimension(self):
1717 """get_dimension(_VectorBase5D self) -> unsigned int"""
1718 return _IMP_algebra._VectorBase5D_get_dimension(self)
1720 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1721 __del__ =
lambda self:
None
1722 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1723 _VectorBase5D_swigregister(_VectorBase5D)
1725 class _VectorBase6D(_GeometricPrimitive6D):
1726 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1728 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1729 __repr__ = _swig_repr
1732 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1733 this = _IMP_algebra.new__VectorBase6D()
1735 self.this.append(this)
1736 except __builtin__.Exception:
1739 def get_scalar_product(self, o):
1740 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1741 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1744 def get_squared_magnitude(self):
1745 """get_squared_magnitude(_VectorBase6D self) -> double"""
1746 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1749 def get_magnitude(self):
1750 """get_magnitude(_VectorBase6D self) -> double"""
1751 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1754 def __mul__(self, o):
1755 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1756 return _IMP_algebra._VectorBase6D___mul__(self, o)
1759 def __iadd__(self, o):
1760 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1761 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1764 def __isub__(self, o):
1765 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1766 return _IMP_algebra._VectorBase6D___isub__(self, o)
1769 def __idiv__(self, f):
1770 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1771 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1774 def __imul__(self, f):
1775 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1776 return _IMP_algebra._VectorBase6D___imul__(self, f)
1779 def show(self, *args):
1781 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1782 show(_VectorBase6D self, _ostream out, std::string delim)
1783 show(_VectorBase6D self, _ostream out)
1784 show(_VectorBase6D self)
1786 return _IMP_algebra._VectorBase6D_show(self, *args)
1789 def get_dimension(self):
1790 """get_dimension(_VectorBase6D self) -> unsigned int"""
1791 return _IMP_algebra._VectorBase6D_get_dimension(self)
1793 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1794 __del__ =
lambda self:
None
1795 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1796 _VectorBase6D_swigregister(_VectorBase6D)
1800 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1801 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1804 """get_zero_vector_kd(int D) -> VectorKD"""
1805 return _IMP_algebra.get_zero_vector_kd(D)
1809 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1810 get_ones_vector_kd(unsigned int D) -> VectorKD
1812 return _IMP_algebra.get_ones_vector_kd(D, v)
1815 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1816 return _IMP_algebra.get_vector_product(p1, p2)
1819 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1820 return _IMP_algebra.get_orthogonal_vector(v)
1823 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1824 return _IMP_algebra.get_centroid(ps)
1827 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1828 return _IMP_algebra.get_radius_of_gyration(ps)
1829 class Rotation3D(_GeometricPrimitive3D):
1830 """Proxy of C++ IMP::algebra::Rotation3D class."""
1832 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1834 def __init__(self, *args):
1836 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1837 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1838 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1839 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1840 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1842 this = _IMP_algebra.new_Rotation3D(*args)
1844 self.this.append(this)
1845 except __builtin__.Exception:
1847 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1848 __del__ =
lambda self:
None
1850 def get_rotated_no_cache(self, o):
1851 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1852 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1855 def get_rotated_one_coordinate_no_cache(self, o, coord):
1856 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1857 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1860 def get_rotated(self, o):
1861 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1862 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1865 def get_rotated_one_coordinate(self, o, coord):
1866 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1867 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1870 def get_rotation_matrix_row(self, i):
1871 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1872 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1875 def show(self, *args):
1877 show(Rotation3D self, _ostream out)
1878 show(Rotation3D self)
1880 return _IMP_algebra.Rotation3D_show(self, *args)
1883 def get_inverse(self):
1884 """get_inverse(Rotation3D self) -> Rotation3D"""
1885 return _IMP_algebra.Rotation3D_get_inverse(self)
1888 def get_quaternion(self):
1889 """get_quaternion(Rotation3D self) -> Vector4D"""
1890 return _IMP_algebra.Rotation3D_get_quaternion(self)
1893 def __mul__(self, *args):
1895 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1896 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1898 return _IMP_algebra.Rotation3D___mul__(self, *args)
1901 def __div__(self, r):
1902 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1903 return _IMP_algebra.Rotation3D___div__(self, r)
1906 def get_derivative(self, v, i, projected=True):
1908 get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool projected=True) -> Vector3D
1909 get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1911 return _IMP_algebra.Rotation3D_get_derivative(self, v, i, projected)
1914 def get_gradient(self, v, projected=True):
1916 get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool projected=True) -> Eigen::MatrixXd
1917 get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
1919 return _IMP_algebra.Rotation3D_get_gradient(self, v, projected)
1922 def get_is_valid(self):
1923 """get_is_valid(Rotation3D self) -> bool"""
1924 return _IMP_algebra.Rotation3D_get_is_valid(self)
1928 """__str__(Rotation3D self) -> std::string"""
1929 return _IMP_algebra.Rotation3D___str__(self)
1933 """__repr__(Rotation3D self) -> std::string"""
1934 return _IMP_algebra.Rotation3D___repr__(self)
1937 __truediv__ = __div__
1939 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1940 Rotation3D_swigregister(Rotation3D)
1945 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1946 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1948 return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, projected)
1952 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1953 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1955 return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, projected)
1958 """get_identity_rotation_3d() -> Rotation3D"""
1959 return _IMP_algebra.get_identity_rotation_3d()
1962 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1963 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1966 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1967 return _IMP_algebra.get_rotation_about_axis(axis, angle)
1970 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1971 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1975 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1976 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
1978 return _IMP_algebra.get_rotation_from_matrix(*args)
1982 get_random_rotation_3d() -> Rotation3D
1983 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1985 return _IMP_algebra.get_random_rotation_3d(*args)
1988 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1989 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1992 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1993 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1996 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1997 return _IMP_algebra.get_rotation_from_vector4d(v)
2000 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2001 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2004 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2005 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2008 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2009 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2010 class FixedXYZ(_GeometricPrimitive3D):
2011 """Proxy of C++ IMP::algebra::FixedXYZ class."""
2013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2015 def __init__(self, *args):
2017 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2018 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2020 this = _IMP_algebra.new_FixedXYZ(*args)
2022 self.this.append(this)
2023 except __builtin__.Exception:
2027 """get_x(FixedXYZ self) -> double"""
2028 return _IMP_algebra.FixedXYZ_get_x(self)
2032 """get_y(FixedXYZ self) -> double"""
2033 return _IMP_algebra.FixedXYZ_get_y(self)
2037 """get_z(FixedXYZ self) -> double"""
2038 return _IMP_algebra.FixedXYZ_get_z(self)
2041 def show(self, *args):
2043 show(FixedXYZ self, _ostream out)
2046 return _IMP_algebra.FixedXYZ_show(self, *args)
2050 """__str__(FixedXYZ self) -> std::string"""
2051 return _IMP_algebra.FixedXYZ___str__(self)
2055 """__repr__(FixedXYZ self) -> std::string"""
2056 return _IMP_algebra.FixedXYZ___repr__(self)
2058 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2059 __del__ =
lambda self:
None
2060 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2061 FixedXYZ_swigregister(FixedXYZ)
2065 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2066 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2069 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2070 return _IMP_algebra.get_interpolated(a, b, f)
2073 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2074 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2077 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2078 return _IMP_algebra.get_axis_and_angle(rot)
2081 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2082 return _IMP_algebra.get_unit_bounding_box_kd(d)
2085 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2086 return _IMP_algebra.get_cube_kd(d, radius)
2089 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2090 return _IMP_algebra.get_edges(arg1)
2091 class Transformation3D(_GeometricPrimitive3D):
2092 """Proxy of C++ IMP::algebra::Transformation3D class."""
2094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2096 def __init__(self, *args):
2098 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2099 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2100 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2101 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2103 this = _IMP_algebra.new_Transformation3D(*args)
2105 self.this.append(this)
2106 except __builtin__.Exception:
2108 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2109 __del__ =
lambda self:
None
2111 def get_transformed(self, o):
2112 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2113 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2116 def __mul__(self, *args):
2118 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2119 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2121 return _IMP_algebra.Transformation3D___mul__(self, *args)
2124 def __div__(self, b):
2125 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2126 return _IMP_algebra.Transformation3D___div__(self, b)
2129 def get_rotation(self):
2130 """get_rotation(Transformation3D self) -> Rotation3D"""
2131 return _IMP_algebra.Transformation3D_get_rotation(self)
2134 def get_translation(self):
2135 """get_translation(Transformation3D self) -> Vector3D"""
2136 return _IMP_algebra.Transformation3D_get_translation(self)
2139 def show(self, *args):
2141 show(Transformation3D self, _ostream out)
2142 show(Transformation3D self)
2144 return _IMP_algebra.Transformation3D_show(self, *args)
2147 def get_inverse(self):
2148 """get_inverse(Transformation3D self) -> Transformation3D"""
2149 return _IMP_algebra.Transformation3D_get_inverse(self)
2152 def get_is_valid(self):
2153 """get_is_valid(Transformation3D self) -> bool"""
2154 return _IMP_algebra.Transformation3D_get_is_valid(self)
2158 """__str__(Transformation3D self) -> std::string"""
2159 return _IMP_algebra.Transformation3D___str__(self)
2163 """__repr__(Transformation3D self) -> std::string"""
2164 return _IMP_algebra.Transformation3D___repr__(self)
2167 __truediv__ = __div__
2169 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2170 Transformation3D_swigregister(Transformation3D)
2174 """get_identity_transformation_3d() -> Transformation3D"""
2175 return _IMP_algebra.get_identity_transformation_3d()
2178 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2179 return _IMP_algebra.get_transformation_3d(t2d)
2183 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2184 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2185 get_random_local_transformation(Vector3D origin) -> Transformation3D
2187 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2188 class Rotation2D(_GeometricPrimitive2D):
2189 """Proxy of C++ IMP::algebra::Rotation2D class."""
2191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2193 def __init__(self, *args):
2195 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2196 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2198 this = _IMP_algebra.new_Rotation2D(*args)
2200 self.this.append(this)
2201 except __builtin__.Exception:
2204 def get_rotated(self, *args):
2206 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2207 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2209 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2212 def get_inverse(self):
2213 """get_inverse(Rotation2D self) -> Rotation2D"""
2214 return _IMP_algebra.Rotation2D_get_inverse(self)
2217 def set_angle(self, angle):
2218 """set_angle(Rotation2D self, double angle)"""
2219 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2223 """get_angle(Rotation2D self) -> double"""
2224 return _IMP_algebra.Rotation2D_get_angle(self)
2227 def show(self, *args):
2229 show(Rotation2D self, _ostream out)
2230 show(Rotation2D self)
2232 return _IMP_algebra.Rotation2D_show(self, *args)
2236 """__str__(Rotation2D self) -> std::string"""
2237 return _IMP_algebra.Rotation2D___str__(self)
2241 """__repr__(Rotation2D self) -> std::string"""
2242 return _IMP_algebra.Rotation2D___repr__(self)
2244 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2245 __del__ =
lambda self:
None
2246 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2247 Rotation2D_swigregister(Rotation2D)
2251 """get_identity_rotation_2d() -> Rotation2D"""
2252 return _IMP_algebra.get_identity_rotation_2d()
2255 """get_random_rotation_2d() -> Rotation2D"""
2256 return _IMP_algebra.get_random_rotation_2d()
2259 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2260 return _IMP_algebra.get_rotation_to_x_axis(v)
2261 class Transformation2D(_GeometricPrimitive2D):
2262 """Proxy of C++ IMP::algebra::Transformation2D class."""
2264 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2266 def __init__(self, *args):
2268 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2269 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2270 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2271 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2273 this = _IMP_algebra.new_Transformation2D(*args)
2275 self.this.append(this)
2276 except __builtin__.Exception:
2278 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2279 __del__ =
lambda self:
None
2281 def get_transformed(self, o):
2282 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2283 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2286 def __mul__(self, *args):
2288 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2289 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2291 return _IMP_algebra.Transformation2D___mul__(self, *args)
2294 def __div__(self, b):
2295 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2296 return _IMP_algebra.Transformation2D___div__(self, b)
2299 def get_rotation(self):
2300 """get_rotation(Transformation2D self) -> Rotation2D"""
2301 return _IMP_algebra.Transformation2D_get_rotation(self)
2304 def set_rotation(self, angle):
2305 """set_rotation(Transformation2D self, double angle)"""
2306 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2309 def get_translation(self):
2310 """get_translation(Transformation2D self) -> Vector2D"""
2311 return _IMP_algebra.Transformation2D_get_translation(self)
2314 def set_translation(self, v):
2315 """set_translation(Transformation2D self, Vector2D v)"""
2316 return _IMP_algebra.Transformation2D_set_translation(self, v)
2319 def show(self, *args):
2321 show(Transformation2D self, _ostream out)
2322 show(Transformation2D self)
2324 return _IMP_algebra.Transformation2D_show(self, *args)
2327 def get_inverse(self):
2328 """get_inverse(Transformation2D self) -> Transformation2D"""
2329 return _IMP_algebra.Transformation2D_get_inverse(self)
2333 """__str__(Transformation2D self) -> std::string"""
2334 return _IMP_algebra.Transformation2D___str__(self)
2338 """__repr__(Transformation2D self) -> std::string"""
2339 return _IMP_algebra.Transformation2D___repr__(self)
2342 __truediv__ = __div__
2344 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2345 Transformation2D_swigregister(Transformation2D)
2349 """get_identity_transformation_2d() -> Transformation2D"""
2350 return _IMP_algebra.get_identity_transformation_2d()
2354 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2355 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2357 return _IMP_algebra.get_rotation_about_point(*args)
2361 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2362 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2363 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2364 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2366 return _IMP_algebra.compose(*args)
2368 def get_unit_sphere_kd(d):
2369 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2370 return _IMP_algebra.get_unit_sphere_kd(d)
2374 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2375 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2377 return _IMP_algebra.get_enclosing_sphere(*args)
2380 """get_ball_radius_from_volume_3d(double volume) -> double"""
2381 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2384 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2385 return _IMP_algebra.get_surface_area_and_volume(ss)
2388 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2389 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2391 """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2393 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2396 """get_unit_vector(Vector1D self) -> Vector1D"""
2397 return _IMP_algebra.Vector1D_get_unit_vector(self)
2400 def __div__(self, s):
2401 """__div__(Vector1D self, double s) -> Vector1D"""
2402 return _IMP_algebra.Vector1D___div__(self, s)
2406 """__neg__(Vector1D self) -> Vector1D"""
2407 return _IMP_algebra.Vector1D___neg__(self)
2410 def __sub__(self, o):
2411 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2412 return _IMP_algebra.Vector1D___sub__(self, o)
2415 def __add__(self, ret):
2416 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2417 return _IMP_algebra.Vector1D___add__(self, ret)
2420 def __mul__(self, *args):
2422 __mul__(Vector1D self, double s) -> Vector1D
2423 __mul__(Vector1D self, Vector1D o) -> double
2425 return _IMP_algebra.Vector1D___mul__(self, *args)
2428 def __init__(self, *args):
2430 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2431 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2432 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2434 this = _IMP_algebra.new_Vector1D(*args)
2436 self.this.append(this)
2437 except __builtin__.Exception:
2440 def __getitem__(self, index):
2441 """__getitem__(Vector1D self, unsigned int index) -> double"""
2442 return _IMP_algebra.Vector1D___getitem__(self, index)
2445 def __setitem__(self, index, val):
2446 """__setitem__(Vector1D self, unsigned int index, double val)"""
2447 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2450 def __iadd__(self, *args):
2451 _IMP_algebra.Vector1D___iadd__(self, *args)
2456 def __imul__(self, *args):
2457 _IMP_algebra.Vector1D___imul__(self, *args)
2462 def __idiv__(self, *args):
2463 _IMP_algebra.Vector1D___idiv__(self, *args)
2468 def __isub__(self, *args):
2469 _IMP_algebra.Vector1D___isub__(self, *args)
2475 """__len__(Vector1D self) -> unsigned int"""
2476 return _IMP_algebra.Vector1D___len__(self)
2479 def __rmul__(self, f):
2480 """__rmul__(Vector1D self, double f) -> Vector1D"""
2481 return _IMP_algebra.Vector1D___rmul__(self, f)
2485 """__str__(Vector1D self) -> std::string"""
2486 return _IMP_algebra.Vector1D___str__(self)
2490 """__repr__(Vector1D self) -> std::string"""
2491 return _IMP_algebra.Vector1D___repr__(self)
2494 def __cmp__(self, arg2):
2495 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2496 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2499 def __eq__(self, arg2):
2500 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2501 return _IMP_algebra.Vector1D___eq__(self, arg2)
2504 __truediv__ = __div__
2505 __itruediv__ = __idiv__
2507 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2508 __del__ =
lambda self:
None
2509 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2510 Vector1D_swigregister(Vector1D)
2513 """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2515 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2518 """get_unit_vector(Vector2D self) -> Vector2D"""
2519 return _IMP_algebra.Vector2D_get_unit_vector(self)
2522 def __div__(self, s):
2523 """__div__(Vector2D self, double s) -> Vector2D"""
2524 return _IMP_algebra.Vector2D___div__(self, s)
2528 """__neg__(Vector2D self) -> Vector2D"""
2529 return _IMP_algebra.Vector2D___neg__(self)
2532 def __sub__(self, o):
2533 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2534 return _IMP_algebra.Vector2D___sub__(self, o)
2537 def __add__(self, ret):
2538 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2539 return _IMP_algebra.Vector2D___add__(self, ret)
2542 def __mul__(self, *args):
2544 __mul__(Vector2D self, double s) -> Vector2D
2545 __mul__(Vector2D self, Vector2D o) -> double
2547 return _IMP_algebra.Vector2D___mul__(self, *args)
2550 def __init__(self, *args):
2552 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2553 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2554 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2556 this = _IMP_algebra.new_Vector2D(*args)
2558 self.this.append(this)
2559 except __builtin__.Exception:
2562 def __getitem__(self, index):
2563 """__getitem__(Vector2D self, unsigned int index) -> double"""
2564 return _IMP_algebra.Vector2D___getitem__(self, index)
2567 def __setitem__(self, index, val):
2568 """__setitem__(Vector2D self, unsigned int index, double val)"""
2569 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2572 def __iadd__(self, *args):
2573 _IMP_algebra.Vector2D___iadd__(self, *args)
2578 def __imul__(self, *args):
2579 _IMP_algebra.Vector2D___imul__(self, *args)
2584 def __idiv__(self, *args):
2585 _IMP_algebra.Vector2D___idiv__(self, *args)
2590 def __isub__(self, *args):
2591 _IMP_algebra.Vector2D___isub__(self, *args)
2597 """__len__(Vector2D self) -> unsigned int"""
2598 return _IMP_algebra.Vector2D___len__(self)
2601 def __rmul__(self, f):
2602 """__rmul__(Vector2D self, double f) -> Vector2D"""
2603 return _IMP_algebra.Vector2D___rmul__(self, f)
2607 """__str__(Vector2D self) -> std::string"""
2608 return _IMP_algebra.Vector2D___str__(self)
2612 """__repr__(Vector2D self) -> std::string"""
2613 return _IMP_algebra.Vector2D___repr__(self)
2616 def __cmp__(self, arg2):
2617 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2618 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2621 def __eq__(self, arg2):
2622 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2623 return _IMP_algebra.Vector2D___eq__(self, arg2)
2626 __truediv__ = __div__
2627 __itruediv__ = __idiv__
2629 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2630 __del__ =
lambda self:
None
2631 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2632 Vector2D_swigregister(Vector2D)
2635 """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2637 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2640 """get_unit_vector(Vector3D self) -> Vector3D"""
2641 return _IMP_algebra.Vector3D_get_unit_vector(self)
2644 def __div__(self, s):
2645 """__div__(Vector3D self, double s) -> Vector3D"""
2646 return _IMP_algebra.Vector3D___div__(self, s)
2650 """__neg__(Vector3D self) -> Vector3D"""
2651 return _IMP_algebra.Vector3D___neg__(self)
2654 def __sub__(self, o):
2655 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2656 return _IMP_algebra.Vector3D___sub__(self, o)
2659 def __add__(self, ret):
2660 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2661 return _IMP_algebra.Vector3D___add__(self, ret)
2664 def __mul__(self, *args):
2666 __mul__(Vector3D self, double s) -> Vector3D
2667 __mul__(Vector3D self, Vector3D o) -> double
2669 return _IMP_algebra.Vector3D___mul__(self, *args)
2672 def __init__(self, *args):
2674 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2675 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2676 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2678 this = _IMP_algebra.new_Vector3D(*args)
2680 self.this.append(this)
2681 except __builtin__.Exception:
2684 def __getitem__(self, index):
2685 """__getitem__(Vector3D self, unsigned int index) -> double"""
2686 return _IMP_algebra.Vector3D___getitem__(self, index)
2689 def __setitem__(self, index, val):
2690 """__setitem__(Vector3D self, unsigned int index, double val)"""
2691 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2694 def __iadd__(self, *args):
2695 _IMP_algebra.Vector3D___iadd__(self, *args)
2700 def __imul__(self, *args):
2701 _IMP_algebra.Vector3D___imul__(self, *args)
2706 def __idiv__(self, *args):
2707 _IMP_algebra.Vector3D___idiv__(self, *args)
2712 def __isub__(self, *args):
2713 _IMP_algebra.Vector3D___isub__(self, *args)
2719 """__len__(Vector3D self) -> unsigned int"""
2720 return _IMP_algebra.Vector3D___len__(self)
2723 def __rmul__(self, f):
2724 """__rmul__(Vector3D self, double f) -> Vector3D"""
2725 return _IMP_algebra.Vector3D___rmul__(self, f)
2729 """__str__(Vector3D self) -> std::string"""
2730 return _IMP_algebra.Vector3D___str__(self)
2734 """__repr__(Vector3D self) -> std::string"""
2735 return _IMP_algebra.Vector3D___repr__(self)
2738 def __cmp__(self, arg2):
2739 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2740 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2743 def __eq__(self, arg2):
2744 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2745 return _IMP_algebra.Vector3D___eq__(self, arg2)
2748 __truediv__ = __div__
2749 __itruediv__ = __idiv__
2751 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2752 __del__ =
lambda self:
None
2753 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2754 Vector3D_swigregister(Vector3D)
2757 """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2759 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2762 """get_unit_vector(Vector4D self) -> Vector4D"""
2763 return _IMP_algebra.Vector4D_get_unit_vector(self)
2766 def __div__(self, s):
2767 """__div__(Vector4D self, double s) -> Vector4D"""
2768 return _IMP_algebra.Vector4D___div__(self, s)
2772 """__neg__(Vector4D self) -> Vector4D"""
2773 return _IMP_algebra.Vector4D___neg__(self)
2776 def __sub__(self, o):
2777 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2778 return _IMP_algebra.Vector4D___sub__(self, o)
2781 def __add__(self, ret):
2782 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2783 return _IMP_algebra.Vector4D___add__(self, ret)
2786 def __mul__(self, *args):
2788 __mul__(Vector4D self, double s) -> Vector4D
2789 __mul__(Vector4D self, Vector4D o) -> double
2791 return _IMP_algebra.Vector4D___mul__(self, *args)
2794 def __init__(self, *args):
2796 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2797 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2798 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2800 this = _IMP_algebra.new_Vector4D(*args)
2802 self.this.append(this)
2803 except __builtin__.Exception:
2806 def __getitem__(self, index):
2807 """__getitem__(Vector4D self, unsigned int index) -> double"""
2808 return _IMP_algebra.Vector4D___getitem__(self, index)
2811 def __setitem__(self, index, val):
2812 """__setitem__(Vector4D self, unsigned int index, double val)"""
2813 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2816 def __iadd__(self, *args):
2817 _IMP_algebra.Vector4D___iadd__(self, *args)
2822 def __imul__(self, *args):
2823 _IMP_algebra.Vector4D___imul__(self, *args)
2828 def __idiv__(self, *args):
2829 _IMP_algebra.Vector4D___idiv__(self, *args)
2834 def __isub__(self, *args):
2835 _IMP_algebra.Vector4D___isub__(self, *args)
2841 """__len__(Vector4D self) -> unsigned int"""
2842 return _IMP_algebra.Vector4D___len__(self)
2845 def __rmul__(self, f):
2846 """__rmul__(Vector4D self, double f) -> Vector4D"""
2847 return _IMP_algebra.Vector4D___rmul__(self, f)
2851 """__str__(Vector4D self) -> std::string"""
2852 return _IMP_algebra.Vector4D___str__(self)
2856 """__repr__(Vector4D self) -> std::string"""
2857 return _IMP_algebra.Vector4D___repr__(self)
2860 def __cmp__(self, arg2):
2861 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2862 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2865 def __eq__(self, arg2):
2866 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2867 return _IMP_algebra.Vector4D___eq__(self, arg2)
2870 __truediv__ = __div__
2871 __itruediv__ = __idiv__
2873 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2874 __del__ =
lambda self:
None
2875 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2876 Vector4D_swigregister(Vector4D)
2879 """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2884 """get_unit_vector(Vector5D self) -> Vector5D"""
2885 return _IMP_algebra.Vector5D_get_unit_vector(self)
2888 def __div__(self, s):
2889 """__div__(Vector5D self, double s) -> Vector5D"""
2890 return _IMP_algebra.Vector5D___div__(self, s)
2894 """__neg__(Vector5D self) -> Vector5D"""
2895 return _IMP_algebra.Vector5D___neg__(self)
2898 def __sub__(self, o):
2899 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2900 return _IMP_algebra.Vector5D___sub__(self, o)
2903 def __add__(self, ret):
2904 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2905 return _IMP_algebra.Vector5D___add__(self, ret)
2908 def __mul__(self, *args):
2910 __mul__(Vector5D self, double s) -> Vector5D
2911 __mul__(Vector5D self, Vector5D o) -> double
2913 return _IMP_algebra.Vector5D___mul__(self, *args)
2916 def __init__(self, *args):
2918 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2919 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2920 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2922 this = _IMP_algebra.new_Vector5D(*args)
2924 self.this.append(this)
2925 except __builtin__.Exception:
2928 def __getitem__(self, index):
2929 """__getitem__(Vector5D self, unsigned int index) -> double"""
2930 return _IMP_algebra.Vector5D___getitem__(self, index)
2933 def __setitem__(self, index, val):
2934 """__setitem__(Vector5D self, unsigned int index, double val)"""
2935 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2938 def __iadd__(self, *args):
2939 _IMP_algebra.Vector5D___iadd__(self, *args)
2944 def __imul__(self, *args):
2945 _IMP_algebra.Vector5D___imul__(self, *args)
2950 def __idiv__(self, *args):
2951 _IMP_algebra.Vector5D___idiv__(self, *args)
2956 def __isub__(self, *args):
2957 _IMP_algebra.Vector5D___isub__(self, *args)
2963 """__len__(Vector5D self) -> unsigned int"""
2964 return _IMP_algebra.Vector5D___len__(self)
2967 def __rmul__(self, f):
2968 """__rmul__(Vector5D self, double f) -> Vector5D"""
2969 return _IMP_algebra.Vector5D___rmul__(self, f)
2973 """__str__(Vector5D self) -> std::string"""
2974 return _IMP_algebra.Vector5D___str__(self)
2978 """__repr__(Vector5D self) -> std::string"""
2979 return _IMP_algebra.Vector5D___repr__(self)
2982 def __cmp__(self, arg2):
2983 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2984 return _IMP_algebra.Vector5D___cmp__(self, arg2)
2987 def __eq__(self, arg2):
2988 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2989 return _IMP_algebra.Vector5D___eq__(self, arg2)
2992 __truediv__ = __div__
2993 __itruediv__ = __idiv__
2995 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2996 __del__ =
lambda self:
None
2997 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2998 Vector5D_swigregister(Vector5D)
3001 """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
3003 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3006 """get_unit_vector(Vector6D self) -> Vector6D"""
3007 return _IMP_algebra.Vector6D_get_unit_vector(self)
3010 def __div__(self, s):
3011 """__div__(Vector6D self, double s) -> Vector6D"""
3012 return _IMP_algebra.Vector6D___div__(self, s)
3016 """__neg__(Vector6D self) -> Vector6D"""
3017 return _IMP_algebra.Vector6D___neg__(self)
3020 def __sub__(self, o):
3021 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3022 return _IMP_algebra.Vector6D___sub__(self, o)
3025 def __add__(self, ret):
3026 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3027 return _IMP_algebra.Vector6D___add__(self, ret)
3030 def __mul__(self, *args):
3032 __mul__(Vector6D self, double s) -> Vector6D
3033 __mul__(Vector6D self, Vector6D o) -> double
3035 return _IMP_algebra.Vector6D___mul__(self, *args)
3038 def __init__(self, *args):
3040 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3041 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3042 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3044 this = _IMP_algebra.new_Vector6D(*args)
3046 self.this.append(this)
3047 except __builtin__.Exception:
3050 def __getitem__(self, index):
3051 """__getitem__(Vector6D self, unsigned int index) -> double"""
3052 return _IMP_algebra.Vector6D___getitem__(self, index)
3055 def __setitem__(self, index, val):
3056 """__setitem__(Vector6D self, unsigned int index, double val)"""
3057 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3060 def __iadd__(self, *args):
3061 _IMP_algebra.Vector6D___iadd__(self, *args)
3066 def __imul__(self, *args):
3067 _IMP_algebra.Vector6D___imul__(self, *args)
3072 def __idiv__(self, *args):
3073 _IMP_algebra.Vector6D___idiv__(self, *args)
3078 def __isub__(self, *args):
3079 _IMP_algebra.Vector6D___isub__(self, *args)
3085 """__len__(Vector6D self) -> unsigned int"""
3086 return _IMP_algebra.Vector6D___len__(self)
3089 def __rmul__(self, f):
3090 """__rmul__(Vector6D self, double f) -> Vector6D"""
3091 return _IMP_algebra.Vector6D___rmul__(self, f)
3095 """__str__(Vector6D self) -> std::string"""
3096 return _IMP_algebra.Vector6D___str__(self)
3100 """__repr__(Vector6D self) -> std::string"""
3101 return _IMP_algebra.Vector6D___repr__(self)
3104 def __cmp__(self, arg2):
3105 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3106 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3109 def __eq__(self, arg2):
3110 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3111 return _IMP_algebra.Vector6D___eq__(self, arg2)
3114 __truediv__ = __div__
3115 __itruediv__ = __idiv__
3117 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3118 __del__ =
lambda self:
None
3119 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3120 Vector6D_swigregister(Vector6D)
3123 """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3128 """get_unit_vector(VectorKD self) -> VectorKD"""
3129 return _IMP_algebra.VectorKD_get_unit_vector(self)
3132 def __div__(self, s):
3133 """__div__(VectorKD self, double s) -> VectorKD"""
3134 return _IMP_algebra.VectorKD___div__(self, s)
3138 """__neg__(VectorKD self) -> VectorKD"""
3139 return _IMP_algebra.VectorKD___neg__(self)
3142 def __sub__(self, o):
3143 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3144 return _IMP_algebra.VectorKD___sub__(self, o)
3147 def __add__(self, ret):
3148 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3149 return _IMP_algebra.VectorKD___add__(self, ret)
3152 def __mul__(self, *args):
3154 __mul__(VectorKD self, double s) -> VectorKD
3155 __mul__(VectorKD self, VectorKD o) -> double
3157 return _IMP_algebra.VectorKD___mul__(self, *args)
3160 def __init__(self, *args):
3162 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3163 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3164 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3165 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3166 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3167 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3168 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3169 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3171 this = _IMP_algebra.new_VectorKD(*args)
3173 self.this.append(this)
3174 except __builtin__.Exception:
3177 def __getitem__(self, index):
3178 """__getitem__(VectorKD self, unsigned int index) -> double"""
3179 return _IMP_algebra.VectorKD___getitem__(self, index)
3182 def __setitem__(self, index, val):
3183 """__setitem__(VectorKD self, unsigned int index, double val)"""
3184 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3187 def __iadd__(self, *args):
3188 _IMP_algebra.VectorKD___iadd__(self, *args)
3193 def __imul__(self, *args):
3194 _IMP_algebra.VectorKD___imul__(self, *args)
3199 def __idiv__(self, *args):
3200 _IMP_algebra.VectorKD___idiv__(self, *args)
3205 def __isub__(self, *args):
3206 _IMP_algebra.VectorKD___isub__(self, *args)
3212 """__len__(VectorKD self) -> unsigned int"""
3213 return _IMP_algebra.VectorKD___len__(self)
3216 def __rmul__(self, f):
3217 """__rmul__(VectorKD self, double f) -> VectorKD"""
3218 return _IMP_algebra.VectorKD___rmul__(self, f)
3222 """__str__(VectorKD self) -> std::string"""
3223 return _IMP_algebra.VectorKD___str__(self)
3227 """__repr__(VectorKD self) -> std::string"""
3228 return _IMP_algebra.VectorKD___repr__(self)
3231 def __cmp__(self, arg2):
3232 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3233 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3236 def __eq__(self, arg2):
3237 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3238 return _IMP_algebra.VectorKD___eq__(self, arg2)
3241 __truediv__ = __div__
3242 __itruediv__ = __idiv__
3244 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3245 __del__ =
lambda self:
None
3246 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3247 VectorKD_swigregister(VectorKD)
3250 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3254 def get_dimension(self):
3255 """get_dimension(BoundingBox1D self) -> unsigned int"""
3256 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3259 def get_corner(self, i):
3260 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3261 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3264 def get_contains(self, *args):
3266 get_contains(BoundingBox1D self, Vector1D o) -> bool
3267 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3269 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3272 def show(self, *args):
3274 show(BoundingBox1D self, _ostream out)
3275 show(BoundingBox1D self)
3277 return _IMP_algebra.BoundingBox1D_show(self, *args)
3281 """__str__(BoundingBox1D self) -> std::string"""
3282 return _IMP_algebra.BoundingBox1D___str__(self)
3286 """__repr__(BoundingBox1D self) -> std::string"""
3287 return _IMP_algebra.BoundingBox1D___repr__(self)
3290 def __cmp__(self, arg2):
3291 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3292 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3295 def __eq__(self, arg2):
3296 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3297 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3300 def __init__(self, *args):
3302 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3303 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3304 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3305 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3306 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3308 this = _IMP_algebra.new_BoundingBox1D(*args)
3310 self.this.append(this)
3311 except __builtin__.Exception:
3314 def __getitem__(self, index):
3315 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3316 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3319 def __iadd__(self, *args):
3320 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3326 """__len__(BoundingBox1D self) -> unsigned int"""
3327 return _IMP_algebra.BoundingBox1D___len__(self)
3330 def __add__(self, *args):
3332 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3333 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3334 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3336 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3338 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3339 __del__ =
lambda self:
None
3340 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3341 BoundingBox1D_swigregister(BoundingBox1D)
3344 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3346 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3348 def get_dimension(self):
3349 """get_dimension(BoundingBox2D self) -> unsigned int"""
3350 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3353 def get_corner(self, i):
3354 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3355 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3358 def get_contains(self, *args):
3360 get_contains(BoundingBox2D self, Vector2D o) -> bool
3361 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3363 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3366 def show(self, *args):
3368 show(BoundingBox2D self, _ostream out)
3369 show(BoundingBox2D self)
3371 return _IMP_algebra.BoundingBox2D_show(self, *args)
3375 """__str__(BoundingBox2D self) -> std::string"""
3376 return _IMP_algebra.BoundingBox2D___str__(self)
3380 """__repr__(BoundingBox2D self) -> std::string"""
3381 return _IMP_algebra.BoundingBox2D___repr__(self)
3384 def __cmp__(self, arg2):
3385 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3386 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3389 def __eq__(self, arg2):
3390 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3391 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3394 def __init__(self, *args):
3396 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3397 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3398 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3399 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3400 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3402 this = _IMP_algebra.new_BoundingBox2D(*args)
3404 self.this.append(this)
3405 except __builtin__.Exception:
3408 def __getitem__(self, index):
3409 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3410 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3413 def __iadd__(self, *args):
3414 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3420 """__len__(BoundingBox2D self) -> unsigned int"""
3421 return _IMP_algebra.BoundingBox2D___len__(self)
3424 def __add__(self, *args):
3426 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3427 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3428 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3430 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3432 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3433 __del__ =
lambda self:
None
3434 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3435 BoundingBox2D_swigregister(BoundingBox2D)
3438 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3440 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3442 def get_dimension(self):
3443 """get_dimension(BoundingBox3D self) -> unsigned int"""
3444 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3447 def get_corner(self, i):
3448 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3449 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3452 def get_contains(self, *args):
3454 get_contains(BoundingBox3D self, Vector3D o) -> bool
3455 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3457 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3460 def show(self, *args):
3462 show(BoundingBox3D self, _ostream out)
3463 show(BoundingBox3D self)
3465 return _IMP_algebra.BoundingBox3D_show(self, *args)
3469 """__str__(BoundingBox3D self) -> std::string"""
3470 return _IMP_algebra.BoundingBox3D___str__(self)
3474 """__repr__(BoundingBox3D self) -> std::string"""
3475 return _IMP_algebra.BoundingBox3D___repr__(self)
3478 def __cmp__(self, arg2):
3479 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3480 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3483 def __eq__(self, arg2):
3484 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3485 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3488 def __init__(self, *args):
3490 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3491 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3492 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3493 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3494 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3496 this = _IMP_algebra.new_BoundingBox3D(*args)
3498 self.this.append(this)
3499 except __builtin__.Exception:
3502 def __getitem__(self, index):
3503 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3504 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3507 def __iadd__(self, *args):
3508 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3514 """__len__(BoundingBox3D self) -> unsigned int"""
3515 return _IMP_algebra.BoundingBox3D___len__(self)
3518 def __add__(self, *args):
3520 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3521 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3522 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3524 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3526 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3527 __del__ =
lambda self:
None
3528 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3529 BoundingBox3D_swigregister(BoundingBox3D)
3532 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3534 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3536 def get_dimension(self):
3537 """get_dimension(BoundingBox4D self) -> unsigned int"""
3538 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3541 def get_corner(self, i):
3542 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3543 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3546 def get_contains(self, *args):
3548 get_contains(BoundingBox4D self, Vector4D o) -> bool
3549 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3551 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3554 def show(self, *args):
3556 show(BoundingBox4D self, _ostream out)
3557 show(BoundingBox4D self)
3559 return _IMP_algebra.BoundingBox4D_show(self, *args)
3563 """__str__(BoundingBox4D self) -> std::string"""
3564 return _IMP_algebra.BoundingBox4D___str__(self)
3568 """__repr__(BoundingBox4D self) -> std::string"""
3569 return _IMP_algebra.BoundingBox4D___repr__(self)
3572 def __cmp__(self, arg2):
3573 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3574 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3577 def __eq__(self, arg2):
3578 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3579 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3582 def __init__(self, *args):
3584 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3585 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3586 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3587 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3588 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3590 this = _IMP_algebra.new_BoundingBox4D(*args)
3592 self.this.append(this)
3593 except __builtin__.Exception:
3596 def __getitem__(self, index):
3597 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3598 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3601 def __iadd__(self, *args):
3602 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3608 """__len__(BoundingBox4D self) -> unsigned int"""
3609 return _IMP_algebra.BoundingBox4D___len__(self)
3612 def __add__(self, *args):
3614 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3615 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3616 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3618 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3620 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3621 __del__ =
lambda self:
None
3622 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3623 BoundingBox4D_swigregister(BoundingBox4D)
3626 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3628 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3630 def get_dimension(self):
3631 """get_dimension(BoundingBox5D self) -> unsigned int"""
3632 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3635 def get_corner(self, i):
3636 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3637 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3640 def get_contains(self, *args):
3642 get_contains(BoundingBox5D self, Vector5D o) -> bool
3643 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3645 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3648 def show(self, *args):
3650 show(BoundingBox5D self, _ostream out)
3651 show(BoundingBox5D self)
3653 return _IMP_algebra.BoundingBox5D_show(self, *args)
3657 """__str__(BoundingBox5D self) -> std::string"""
3658 return _IMP_algebra.BoundingBox5D___str__(self)
3662 """__repr__(BoundingBox5D self) -> std::string"""
3663 return _IMP_algebra.BoundingBox5D___repr__(self)
3666 def __cmp__(self, arg2):
3667 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3668 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3671 def __eq__(self, arg2):
3672 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3673 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3676 def __init__(self, *args):
3678 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3679 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3680 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3681 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3682 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3684 this = _IMP_algebra.new_BoundingBox5D(*args)
3686 self.this.append(this)
3687 except __builtin__.Exception:
3690 def __getitem__(self, index):
3691 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3692 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3695 def __iadd__(self, *args):
3696 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3702 """__len__(BoundingBox5D self) -> unsigned int"""
3703 return _IMP_algebra.BoundingBox5D___len__(self)
3706 def __add__(self, *args):
3708 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3709 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3710 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3712 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3714 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3715 __del__ =
lambda self:
None
3716 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3717 BoundingBox5D_swigregister(BoundingBox5D)
3720 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3722 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3724 def get_dimension(self):
3725 """get_dimension(BoundingBox6D self) -> unsigned int"""
3726 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3729 def get_corner(self, i):
3730 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3731 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3734 def get_contains(self, *args):
3736 get_contains(BoundingBox6D self, Vector6D o) -> bool
3737 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3739 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3742 def show(self, *args):
3744 show(BoundingBox6D self, _ostream out)
3745 show(BoundingBox6D self)
3747 return _IMP_algebra.BoundingBox6D_show(self, *args)
3751 """__str__(BoundingBox6D self) -> std::string"""
3752 return _IMP_algebra.BoundingBox6D___str__(self)
3756 """__repr__(BoundingBox6D self) -> std::string"""
3757 return _IMP_algebra.BoundingBox6D___repr__(self)
3760 def __cmp__(self, arg2):
3761 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3762 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3765 def __eq__(self, arg2):
3766 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3767 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3770 def __init__(self, *args):
3772 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3773 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3774 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3775 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3776 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3778 this = _IMP_algebra.new_BoundingBox6D(*args)
3780 self.this.append(this)
3781 except __builtin__.Exception:
3784 def __getitem__(self, index):
3785 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3786 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3789 def __iadd__(self, *args):
3790 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3796 """__len__(BoundingBox6D self) -> unsigned int"""
3797 return _IMP_algebra.BoundingBox6D___len__(self)
3800 def __add__(self, *args):
3802 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3803 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3804 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3806 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3808 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3809 __del__ =
lambda self:
None
3810 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3811 BoundingBox6D_swigregister(BoundingBox6D)
3814 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3818 def get_dimension(self):
3819 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3820 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3823 def get_corner(self, i):
3824 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3825 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3828 def get_contains(self, *args):
3830 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3831 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3833 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3836 def show(self, *args):
3838 show(BoundingBoxKD self, _ostream out)
3839 show(BoundingBoxKD self)
3841 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3845 """__str__(BoundingBoxKD self) -> std::string"""
3846 return _IMP_algebra.BoundingBoxKD___str__(self)
3850 """__repr__(BoundingBoxKD self) -> std::string"""
3851 return _IMP_algebra.BoundingBoxKD___repr__(self)
3854 def __cmp__(self, arg2):
3855 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3856 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3859 def __eq__(self, arg2):
3860 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3861 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3864 def __init__(self, *args):
3866 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3867 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3868 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3869 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3870 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3872 this = _IMP_algebra.new_BoundingBoxKD(*args)
3874 self.this.append(this)
3875 except __builtin__.Exception:
3878 def __getitem__(self, index):
3879 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3880 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3883 def __iadd__(self, *args):
3884 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3890 """__len__(BoundingBoxKD self) -> unsigned int"""
3891 return _IMP_algebra.BoundingBoxKD___len__(self)
3894 def __add__(self, *args):
3896 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3897 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3898 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3900 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3902 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3903 __del__ =
lambda self:
None
3904 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3905 BoundingBoxKD_swigregister(BoundingBoxKD)
3907 class Sphere1D(_GeometricPrimitive1D):
3908 """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3910 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3912 def __init__(self, *args):
3914 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3915 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3917 this = _IMP_algebra.new_Sphere1D(*args)
3919 self.this.append(this)
3920 except __builtin__.Exception:
3923 def get_radius(self):
3924 """get_radius(Sphere1D self) -> double"""
3925 return _IMP_algebra.Sphere1D_get_radius(self)
3928 def get_center(self):
3929 """get_center(Sphere1D self) -> Vector1D"""
3930 return _IMP_algebra.Sphere1D_get_center(self)
3933 def get_contains(self, *args):
3935 get_contains(Sphere1D self, Sphere1D o) -> bool
3936 get_contains(Sphere1D self, Vector1D p) -> bool
3938 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3941 def show(self, *args):
3943 show(Sphere1D self, _ostream out)
3946 return _IMP_algebra.Sphere1D_show(self, *args)
3949 def get_dimension(self):
3950 """get_dimension(Sphere1D self) -> unsigned int"""
3951 return _IMP_algebra.Sphere1D_get_dimension(self)
3955 """__str__(Sphere1D self) -> std::string"""
3956 return _IMP_algebra.Sphere1D___str__(self)
3960 """__repr__(Sphere1D self) -> std::string"""
3961 return _IMP_algebra.Sphere1D___repr__(self)
3964 def __cmp__(self, arg2):
3965 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3966 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3969 def __eq__(self, arg2):
3970 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3971 return _IMP_algebra.Sphere1D___eq__(self, arg2)
3973 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3974 __del__ =
lambda self:
None
3975 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3976 Sphere1D_swigregister(Sphere1D)
3978 class Sphere2D(_GeometricPrimitive2D):
3979 """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3981 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3983 def __init__(self, *args):
3985 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3986 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3988 this = _IMP_algebra.new_Sphere2D(*args)
3990 self.this.append(this)
3991 except __builtin__.Exception:
3994 def get_radius(self):
3995 """get_radius(Sphere2D self) -> double"""
3996 return _IMP_algebra.Sphere2D_get_radius(self)
3999 def get_center(self):
4000 """get_center(Sphere2D self) -> Vector2D"""
4001 return _IMP_algebra.Sphere2D_get_center(self)
4004 def get_contains(self, *args):
4006 get_contains(Sphere2D self, Sphere2D o) -> bool
4007 get_contains(Sphere2D self, Vector2D p) -> bool
4009 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4012 def show(self, *args):
4014 show(Sphere2D self, _ostream out)
4017 return _IMP_algebra.Sphere2D_show(self, *args)
4020 def get_dimension(self):
4021 """get_dimension(Sphere2D self) -> unsigned int"""
4022 return _IMP_algebra.Sphere2D_get_dimension(self)
4026 """__str__(Sphere2D self) -> std::string"""
4027 return _IMP_algebra.Sphere2D___str__(self)
4031 """__repr__(Sphere2D self) -> std::string"""
4032 return _IMP_algebra.Sphere2D___repr__(self)
4035 def __cmp__(self, arg2):
4036 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4037 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4040 def __eq__(self, arg2):
4041 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4042 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4044 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4045 __del__ =
lambda self:
None
4046 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4047 Sphere2D_swigregister(Sphere2D)
4049 class Sphere3D(_GeometricPrimitive3D):
4050 """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4054 def __init__(self, *args):
4056 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4057 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4059 this = _IMP_algebra.new_Sphere3D(*args)
4061 self.this.append(this)
4062 except __builtin__.Exception:
4065 def get_radius(self):
4066 """get_radius(Sphere3D self) -> double"""
4067 return _IMP_algebra.Sphere3D_get_radius(self)
4070 def get_center(self):
4071 """get_center(Sphere3D self) -> Vector3D"""
4072 return _IMP_algebra.Sphere3D_get_center(self)
4075 def get_contains(self, *args):
4077 get_contains(Sphere3D self, Sphere3D o) -> bool
4078 get_contains(Sphere3D self, Vector3D p) -> bool
4080 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4083 def show(self, *args):
4085 show(Sphere3D self, _ostream out)
4088 return _IMP_algebra.Sphere3D_show(self, *args)
4091 def get_dimension(self):
4092 """get_dimension(Sphere3D self) -> unsigned int"""
4093 return _IMP_algebra.Sphere3D_get_dimension(self)
4097 """__str__(Sphere3D self) -> std::string"""
4098 return _IMP_algebra.Sphere3D___str__(self)
4102 """__repr__(Sphere3D self) -> std::string"""
4103 return _IMP_algebra.Sphere3D___repr__(self)
4106 def __cmp__(self, arg2):
4107 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4108 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4111 def __eq__(self, arg2):
4112 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4113 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4115 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4116 __del__ =
lambda self:
None
4117 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4118 Sphere3D_swigregister(Sphere3D)
4120 class Sphere4D(_GeometricPrimitive4D):
4121 """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4125 def __init__(self, *args):
4127 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4128 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4130 this = _IMP_algebra.new_Sphere4D(*args)
4132 self.this.append(this)
4133 except __builtin__.Exception:
4136 def get_radius(self):
4137 """get_radius(Sphere4D self) -> double"""
4138 return _IMP_algebra.Sphere4D_get_radius(self)
4141 def get_center(self):
4142 """get_center(Sphere4D self) -> Vector4D"""
4143 return _IMP_algebra.Sphere4D_get_center(self)
4146 def get_contains(self, *args):
4148 get_contains(Sphere4D self, Sphere4D o) -> bool
4149 get_contains(Sphere4D self, Vector4D p) -> bool
4151 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4154 def show(self, *args):
4156 show(Sphere4D self, _ostream out)
4159 return _IMP_algebra.Sphere4D_show(self, *args)
4162 def get_dimension(self):
4163 """get_dimension(Sphere4D self) -> unsigned int"""
4164 return _IMP_algebra.Sphere4D_get_dimension(self)
4168 """__str__(Sphere4D self) -> std::string"""
4169 return _IMP_algebra.Sphere4D___str__(self)
4173 """__repr__(Sphere4D self) -> std::string"""
4174 return _IMP_algebra.Sphere4D___repr__(self)
4177 def __cmp__(self, arg2):
4178 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4179 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4182 def __eq__(self, arg2):
4183 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4184 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4186 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4187 __del__ =
lambda self:
None
4188 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4189 Sphere4D_swigregister(Sphere4D)
4191 class Sphere5D(_GeometricPrimitive5D):
4192 """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4196 def __init__(self, *args):
4198 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4199 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4201 this = _IMP_algebra.new_Sphere5D(*args)
4203 self.this.append(this)
4204 except __builtin__.Exception:
4207 def get_radius(self):
4208 """get_radius(Sphere5D self) -> double"""
4209 return _IMP_algebra.Sphere5D_get_radius(self)
4212 def get_center(self):
4213 """get_center(Sphere5D self) -> Vector5D"""
4214 return _IMP_algebra.Sphere5D_get_center(self)
4217 def get_contains(self, *args):
4219 get_contains(Sphere5D self, Sphere5D o) -> bool
4220 get_contains(Sphere5D self, Vector5D p) -> bool
4222 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4225 def show(self, *args):
4227 show(Sphere5D self, _ostream out)
4230 return _IMP_algebra.Sphere5D_show(self, *args)
4233 def get_dimension(self):
4234 """get_dimension(Sphere5D self) -> unsigned int"""
4235 return _IMP_algebra.Sphere5D_get_dimension(self)
4239 """__str__(Sphere5D self) -> std::string"""
4240 return _IMP_algebra.Sphere5D___str__(self)
4244 """__repr__(Sphere5D self) -> std::string"""
4245 return _IMP_algebra.Sphere5D___repr__(self)
4248 def __cmp__(self, arg2):
4249 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4250 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4253 def __eq__(self, arg2):
4254 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4255 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4257 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4258 __del__ =
lambda self:
None
4259 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4260 Sphere5D_swigregister(Sphere5D)
4262 class Sphere6D(_GeometricPrimitive6D):
4263 """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4265 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4267 def __init__(self, *args):
4269 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4270 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4272 this = _IMP_algebra.new_Sphere6D(*args)
4274 self.this.append(this)
4275 except __builtin__.Exception:
4278 def get_radius(self):
4279 """get_radius(Sphere6D self) -> double"""
4280 return _IMP_algebra.Sphere6D_get_radius(self)
4283 def get_center(self):
4284 """get_center(Sphere6D self) -> Vector6D"""
4285 return _IMP_algebra.Sphere6D_get_center(self)
4288 def get_contains(self, *args):
4290 get_contains(Sphere6D self, Sphere6D o) -> bool
4291 get_contains(Sphere6D self, Vector6D p) -> bool
4293 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4296 def show(self, *args):
4298 show(Sphere6D self, _ostream out)
4301 return _IMP_algebra.Sphere6D_show(self, *args)
4304 def get_dimension(self):
4305 """get_dimension(Sphere6D self) -> unsigned int"""
4306 return _IMP_algebra.Sphere6D_get_dimension(self)
4310 """__str__(Sphere6D self) -> std::string"""
4311 return _IMP_algebra.Sphere6D___str__(self)
4315 """__repr__(Sphere6D self) -> std::string"""
4316 return _IMP_algebra.Sphere6D___repr__(self)
4319 def __cmp__(self, arg2):
4320 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4321 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4324 def __eq__(self, arg2):
4325 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4326 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4328 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4329 __del__ =
lambda self:
None
4330 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4331 Sphere6D_swigregister(Sphere6D)
4333 class SphereKD(_GeometricPrimitiveKD):
4334 """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4338 def __init__(self, *args):
4340 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4341 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4343 this = _IMP_algebra.new_SphereKD(*args)
4345 self.this.append(this)
4346 except __builtin__.Exception:
4349 def get_radius(self):
4350 """get_radius(SphereKD self) -> double"""
4351 return _IMP_algebra.SphereKD_get_radius(self)
4354 def get_center(self):
4355 """get_center(SphereKD self) -> VectorKD"""
4356 return _IMP_algebra.SphereKD_get_center(self)
4359 def get_contains(self, *args):
4361 get_contains(SphereKD self, SphereKD o) -> bool
4362 get_contains(SphereKD self, VectorKD p) -> bool
4364 return _IMP_algebra.SphereKD_get_contains(self, *args)
4367 def show(self, *args):
4369 show(SphereKD self, _ostream out)
4372 return _IMP_algebra.SphereKD_show(self, *args)
4375 def get_dimension(self):
4376 """get_dimension(SphereKD self) -> unsigned int"""
4377 return _IMP_algebra.SphereKD_get_dimension(self)
4381 """__str__(SphereKD self) -> std::string"""
4382 return _IMP_algebra.SphereKD___str__(self)
4386 """__repr__(SphereKD self) -> std::string"""
4387 return _IMP_algebra.SphereKD___repr__(self)
4390 def __cmp__(self, arg2):
4391 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4392 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4395 def __eq__(self, arg2):
4396 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4397 return _IMP_algebra.SphereKD___eq__(self, arg2)
4399 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4400 __del__ =
lambda self:
None
4401 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4402 SphereKD_swigregister(SphereKD)
4404 class ReferenceFrame3D(object):
4405 """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4409 def __init__(self, *args):
4411 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4412 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4414 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4416 self.this.append(this)
4417 except __builtin__.Exception:
4419 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4420 __del__ =
lambda self:
None
4422 def get_transformation_to(self):
4423 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4424 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4427 def get_transformation_from(self):
4428 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4429 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4432 def get_global_coordinates(self, v):
4433 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4434 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4437 def get_local_coordinates(self, v):
4438 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4439 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4442 def get_global_reference_frame(self, v):
4443 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4444 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4447 def get_local_reference_frame(self, v):
4448 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4449 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4452 def show(self, *args):
4454 show(ReferenceFrame3D self, _ostream out)
4455 show(ReferenceFrame3D self)
4457 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4461 """__str__(ReferenceFrame3D self) -> std::string"""
4462 return _IMP_algebra.ReferenceFrame3D___str__(self)
4466 """__repr__(ReferenceFrame3D self) -> std::string"""
4467 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4469 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4470 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4473 def get_transformed(*args):
4475 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4476 get_transformed(Line3D l, Transformation3D tr) -> Line3D
4477 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4479 return _IMP_algebra.get_transformed(*args)
4481 def get_transformation_from_first_to_second(a, b):
4482 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4483 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4484 class SphericalVector3D(_GeometricPrimitive3D):
4485 """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4489 def __init__(self, *args):
4491 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4492 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4493 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4494 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4496 this = _IMP_algebra.new_SphericalVector3D(*args)
4498 self.this.append(this)
4499 except __builtin__.Exception:
4502 def get_cartesian_coordinates(self):
4503 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4504 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4507 def show(self, *args):
4509 show(SphericalVector3D self, _ostream out)
4510 show(SphericalVector3D self)
4512 return _IMP_algebra.SphericalVector3D_show(self, *args)
4516 """__str__(SphericalVector3D self) -> std::string"""
4517 return _IMP_algebra.SphericalVector3D___str__(self)
4521 """__repr__(SphericalVector3D self) -> std::string"""
4522 return _IMP_algebra.SphericalVector3D___repr__(self)
4525 def __getitem__(self, index):
4526 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4527 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4530 def __setitem__(self, index, val):
4531 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4532 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4534 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4535 __del__ =
lambda self:
None
4536 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4537 SphericalVector3D_swigregister(SphericalVector3D)
4541 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4542 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4543 class Line3D(_GeometricPrimitive3D):
4544 """Proxy of C++ IMP::algebra::Line3D class."""
4546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4548 def __init__(self, *args):
4550 __init__(IMP::algebra::Line3D self) -> Line3D
4551 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4552 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4554 this = _IMP_algebra.new_Line3D(*args)
4556 self.this.append(this)
4557 except __builtin__.Exception:
4560 def get_direction(self):
4561 """get_direction(Line3D self) -> Vector3D"""
4562 return _IMP_algebra.Line3D_get_direction(self)
4565 def get_point_on_line(self):
4566 """get_point_on_line(Line3D self) -> Vector3D"""
4567 return _IMP_algebra.Line3D_get_point_on_line(self)
4570 def get_moment(self, *args):
4572 get_moment(Line3D self) -> Vector3D
4573 get_moment(Line3D self, Vector3D v) -> Vector3D
4575 return _IMP_algebra.Line3D_get_moment(self, *args)
4578 def get_reciprocal_product(self, l):
4579 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4580 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4583 def get_opposite(self):
4584 """get_opposite(Line3D self) -> Line3D"""
4585 return _IMP_algebra.Line3D_get_opposite(self)
4588 def get_segment_starting_at(self, v, d):
4589 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4590 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4593 def show(self, *args):
4595 show(Line3D self, _ostream out)
4598 return _IMP_algebra.Line3D_show(self, *args)
4602 """__str__(Line3D self) -> std::string"""
4603 return _IMP_algebra.Line3D___str__(self)
4607 """__repr__(Line3D self) -> std::string"""
4608 return _IMP_algebra.Line3D___repr__(self)
4610 __swig_destroy__ = _IMP_algebra.delete_Line3D
4611 __del__ =
lambda self:
None
4612 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4613 Line3D_swigregister(Line3D)
4616 def get_line_3d_geometry(g):
4617 """get_line_3d_geometry(Line3D g) -> Line3D"""
4618 return _IMP_algebra.get_line_3d_geometry(g)
4622 get_projected(Line3D l, Vector3D p) -> Vector3D
4623 get_projected(Line3D l, Segment3D s) -> Segment3D
4625 return _IMP_algebra.get_projected(*args)
4628 """get_angle(Line3D a, Line3D b) -> double"""
4629 return _IMP_algebra.get_angle(a, b)
4632 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4633 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4634 class Segment3D(_GeometricPrimitive3D):
4635 """Proxy of C++ IMP::algebra::Segment3D class."""
4637 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4639 def __init__(self, *args):
4641 __init__(IMP::algebra::Segment3D self) -> Segment3D
4642 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4644 this = _IMP_algebra.new_Segment3D(*args)
4646 self.this.append(this)
4647 except __builtin__.Exception:
4650 def get_point(self, i):
4653 return _IMP_algebra.Segment3D_get_point(self, i)
4657 def get_middle_point(self):
4658 """get_middle_point(Segment3D self) -> Vector3D"""
4659 return _IMP_algebra.Segment3D_get_middle_point(self)
4662 def get_direction(self):
4663 """get_direction(Segment3D self) -> Vector3D"""
4664 return _IMP_algebra.Segment3D_get_direction(self)
4667 def get_length(self):
4668 """get_length(Segment3D self) -> double"""
4669 return _IMP_algebra.Segment3D_get_length(self)
4672 def show(self, *args):
4674 show(Segment3D self, _ostream out)
4675 show(Segment3D self)
4677 return _IMP_algebra.Segment3D_show(self, *args)
4681 """__str__(Segment3D self) -> std::string"""
4682 return _IMP_algebra.Segment3D___str__(self)
4686 """__repr__(Segment3D self) -> std::string"""
4687 return _IMP_algebra.Segment3D___repr__(self)
4689 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4690 __del__ =
lambda self:
None
4691 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4692 Segment3D_swigregister(Segment3D)
4695 def get_segment_3d_geometry(g):
4696 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4697 return _IMP_algebra.get_segment_3d_geometry(g)
4700 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4701 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4702 class Triangle3D(_GeometricPrimitive3D):
4703 """Proxy of C++ IMP::algebra::Triangle3D class."""
4705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4707 def __init__(self, *args):
4709 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4710 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4712 this = _IMP_algebra.new_Triangle3D(*args)
4714 self.this.append(this)
4715 except __builtin__.Exception:
4718 def get_point(self, i):
4719 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4720 return _IMP_algebra.Triangle3D_get_point(self, i)
4723 def show(self, *args):
4725 show(Triangle3D self, _ostream out)
4726 show(Triangle3D self)
4728 return _IMP_algebra.Triangle3D_show(self, *args)
4731 def get_edge_lengths(self):
4732 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4733 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4737 """__str__(Triangle3D self) -> std::string"""
4738 return _IMP_algebra.Triangle3D___str__(self)
4742 """__repr__(Triangle3D self) -> std::string"""
4743 return _IMP_algebra.Triangle3D___repr__(self)
4745 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4746 __del__ =
lambda self:
None
4747 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4748 Triangle3D_swigregister(Triangle3D)
4752 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4753 return _IMP_algebra.get_largest_triangle(points)
4756 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4757 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4760 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4761 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4762 class LinearFit2D(_GeometricPrimitive2D):
4763 """Proxy of C++ IMP::algebra::LinearFit2D class."""
4765 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4767 def __init__(self, *args):
4769 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4770 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4772 this = _IMP_algebra.new_LinearFit2D(*args)
4774 self.this.append(this)
4775 except __builtin__.Exception:
4778 def get_fit_error(self):
4779 """get_fit_error(LinearFit2D self) -> double"""
4780 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4784 """get_a(LinearFit2D self) -> double"""
4785 return _IMP_algebra.LinearFit2D_get_a(self)
4789 """get_b(LinearFit2D self) -> double"""
4790 return _IMP_algebra.LinearFit2D_get_b(self)
4793 def show(self, *args):
4795 show(LinearFit2D self, _ostream out)
4796 show(LinearFit2D self)
4798 return _IMP_algebra.LinearFit2D_show(self, *args)
4802 """__str__(LinearFit2D self) -> std::string"""
4803 return _IMP_algebra.LinearFit2D___str__(self)
4807 """__repr__(LinearFit2D self) -> std::string"""
4808 return _IMP_algebra.LinearFit2D___repr__(self)
4810 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4811 __del__ =
lambda self:
None
4812 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4813 LinearFit2D_swigregister(LinearFit2D)
4815 class ParabolicFit2D(_GeometricPrimitive2D):
4816 """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4818 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4820 def __init__(self, data):
4821 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4822 this = _IMP_algebra.new_ParabolicFit2D(data)
4824 self.this.append(this)
4825 except __builtin__.Exception:
4828 def get_fit_error(self):
4829 """get_fit_error(ParabolicFit2D self) -> double"""
4830 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4834 """get_a(ParabolicFit2D self) -> double"""
4835 return _IMP_algebra.ParabolicFit2D_get_a(self)
4839 """get_b(ParabolicFit2D self) -> double"""
4840 return _IMP_algebra.ParabolicFit2D_get_b(self)
4844 """get_c(ParabolicFit2D self) -> double"""
4845 return _IMP_algebra.ParabolicFit2D_get_c(self)
4848 def show(self, *args):
4850 show(ParabolicFit2D self, _ostream out)
4851 show(ParabolicFit2D self)
4853 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4857 """__str__(ParabolicFit2D self) -> std::string"""
4858 return _IMP_algebra.ParabolicFit2D___str__(self)
4862 """__repr__(ParabolicFit2D self) -> std::string"""
4863 return _IMP_algebra.ParabolicFit2D___repr__(self)
4865 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4866 __del__ =
lambda self:
None
4867 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4868 ParabolicFit2D_swigregister(ParabolicFit2D)
4870 class Plane3D(_GeometricPrimitive3D):
4871 """Proxy of C++ IMP::algebra::Plane3D class."""
4873 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4875 def __init__(self, *args):
4877 __init__(IMP::algebra::Plane3D self) -> Plane3D
4878 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4879 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4881 this = _IMP_algebra.new_Plane3D(*args)
4883 self.this.append(this)
4884 except __builtin__.Exception:
4887 def get_point_on_plane(self):
4888 """get_point_on_plane(Plane3D self) -> Vector3D"""
4889 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4892 def get_normal(self):
4893 """get_normal(Plane3D self) -> Vector3D"""
4894 return _IMP_algebra.Plane3D_get_normal(self)
4898 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4899 return _IMP_algebra.Plane3D_get_projected(self, p)
4902 def get_is_above(self, p):
4903 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4904 return _IMP_algebra.Plane3D_get_is_above(self, p)
4907 def get_is_below(self, p):
4908 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4909 return _IMP_algebra.Plane3D_get_is_below(self, p)
4913 """get_height(Plane3D self, Vector3D p) -> double"""
4914 return _IMP_algebra.Plane3D_get_height(self, p)
4917 def show(self, *args):
4919 show(Plane3D self, _ostream out)
4922 return _IMP_algebra.Plane3D_show(self, *args)
4925 def get_opposite(self):
4926 """get_opposite(Plane3D self) -> Plane3D"""
4927 return _IMP_algebra.Plane3D_get_opposite(self)
4930 def get_distance_from_origin(self):
4931 """get_distance_from_origin(Plane3D self) -> double"""
4932 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4936 """__str__(Plane3D self) -> std::string"""
4937 return _IMP_algebra.Plane3D___str__(self)
4941 """__repr__(Plane3D self) -> std::string"""
4942 return _IMP_algebra.Plane3D___repr__(self)
4944 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4945 __del__ =
lambda self:
None
4946 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4947 Plane3D_swigregister(Plane3D)
4951 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4952 return _IMP_algebra.get_reflected(pln, p)
4954 def get_plane_3d_geometry(g):
4955 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4956 return _IMP_algebra.get_plane_3d_geometry(g)
4957 class Reflection3D(_GeometricPrimitive3D):
4958 """Proxy of C++ IMP::algebra::Reflection3D class."""
4960 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4962 def __init__(self, *args):
4964 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4965 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4967 this = _IMP_algebra.new_Reflection3D(*args)
4969 self.this.append(this)
4970 except __builtin__.Exception:
4974 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4975 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4978 def show(self, *args):
4980 show(Reflection3D self, _ostream out)
4981 show(Reflection3D self)
4983 return _IMP_algebra.Reflection3D_show(self, *args)
4987 """__str__(Reflection3D self) -> std::string"""
4988 return _IMP_algebra.Reflection3D___str__(self)
4992 """__repr__(Reflection3D self) -> std::string"""
4993 return _IMP_algebra.Reflection3D___repr__(self)
4995 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4996 __del__ =
lambda self:
None
4997 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4998 Reflection3D_swigregister(Reflection3D)
5000 class Cylinder3D(_GeometricPrimitive3D):
5001 """Proxy of C++ IMP::algebra::Cylinder3D class."""
5003 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5005 def __init__(self, *args):
5007 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5008 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5010 this = _IMP_algebra.new_Cylinder3D(*args)
5012 self.this.append(this)
5013 except __builtin__.Exception:
5016 def get_radius(self):
5017 """get_radius(Cylinder3D self) -> double"""
5018 return _IMP_algebra.Cylinder3D_get_radius(self)
5022 """get_segment(Cylinder3D self) -> Segment3D"""
5023 return _IMP_algebra.Cylinder3D_get_segment(self)
5026 def get_surface_point_at(self, relative_height, angle):
5027 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5028 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5031 def get_inner_point_at(self, relative_height, relative_radius, angle):
5032 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5033 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5036 def show(self, *args):
5038 show(Cylinder3D self, _ostream out)
5039 show(Cylinder3D self)
5041 return _IMP_algebra.Cylinder3D_show(self, *args)
5045 """__str__(Cylinder3D self) -> std::string"""
5046 return _IMP_algebra.Cylinder3D___str__(self)
5050 """__repr__(Cylinder3D self) -> std::string"""
5051 return _IMP_algebra.Cylinder3D___repr__(self)
5053 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5054 __del__ =
lambda self:
None
5055 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5056 Cylinder3D_swigregister(Cylinder3D)
5059 def get_cylinder_3d_geometry(g):
5060 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5061 return _IMP_algebra.get_cylinder_3d_geometry(g)
5062 class Ellipsoid3D(_GeometricPrimitive3D):
5063 """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5067 def __init__(self, *args):
5069 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5070 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5071 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5073 this = _IMP_algebra.new_Ellipsoid3D(*args)
5075 self.this.append(this)
5076 except __builtin__.Exception:
5079 def get_radii(self):
5080 """get_radii(Ellipsoid3D self) -> Vector3D"""
5081 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5084 def get_reference_frame(self):
5085 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5086 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5089 def show(self, *args):
5091 show(Ellipsoid3D self, _ostream out)
5092 show(Ellipsoid3D self)
5094 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5098 """__str__(Ellipsoid3D self) -> std::string"""
5099 return _IMP_algebra.Ellipsoid3D___str__(self)
5103 """__repr__(Ellipsoid3D self) -> std::string"""
5104 return _IMP_algebra.Ellipsoid3D___repr__(self)
5106 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5107 __del__ =
lambda self:
None
5108 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5109 Ellipsoid3D_swigregister(Ellipsoid3D)
5112 def get_ellipsoid_3d_geometry(g):
5113 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5114 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5115 class ConnollySurfacePoint(object):
5116 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5118 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5120 def __init__(self, a0, a1, a2, sp, a, n):
5121 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5122 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5124 self.this.append(this)
5125 except __builtin__.Exception:
5129 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5130 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5133 def get_surface_point(self):
5134 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5135 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5139 """get_area(ConnollySurfacePoint self) -> double"""
5140 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5143 def get_normal(self):
5144 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5145 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5148 def show(self, *args):
5150 show(ConnollySurfacePoint self, _ostream out)
5151 show(ConnollySurfacePoint self)
5153 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5157 """__str__(ConnollySurfacePoint self) -> std::string"""
5158 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5162 """__repr__(ConnollySurfacePoint self) -> std::string"""
5163 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5165 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5166 __del__ =
lambda self:
None
5167 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5168 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5172 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5173 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5174 class LogEmbedding3D(object):
5175 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5179 def __init__(self, *args):
5181 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5182 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5183 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5184 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5185 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5187 this = _IMP_algebra.new_LogEmbedding3D(*args)
5189 self.this.append(this)
5190 except __builtin__.Exception:
5193 def set_origin(self, o):
5194 """set_origin(LogEmbedding3D self, Vector3D o)"""
5195 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5198 def get_origin(self):
5199 """get_origin(LogEmbedding3D self) -> Vector3D"""
5200 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5203 def get_dimension(self):
5204 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5205 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5208 def set_unit_cell(self, *args):
5210 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5211 set_unit_cell(LogEmbedding3D self, Vector3D o)
5213 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5216 def get_unit_cell(self):
5217 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5218 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5221 def get_extended_index(self, o):
5222 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5223 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5227 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5228 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5231 def get_center(self, *args):
5233 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5234 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5236 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5239 def get_bounding_box(self, *args):
5241 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5242 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5244 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5247 def show(self, *args):
5249 show(LogEmbedding3D self, _ostream out)
5250 show(LogEmbedding3D self)
5252 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5256 """__str__(LogEmbedding3D self) -> std::string"""
5257 return _IMP_algebra.LogEmbedding3D___str__(self)
5261 """__repr__(LogEmbedding3D self) -> std::string"""
5262 return _IMP_algebra.LogEmbedding3D___repr__(self)
5265 def __cmp__(self, arg2):
5266 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5267 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5270 def __eq__(self, arg2):
5271 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5272 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5274 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5275 __del__ =
lambda self:
None
5276 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5277 LogEmbedding3D_swigregister(LogEmbedding3D)
5279 class LogEmbeddingKD(object):
5280 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5284 def __init__(self, *args):
5286 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5287 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5288 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5289 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5290 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5292 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5294 self.this.append(this)
5295 except __builtin__.Exception:
5298 def set_origin(self, o):
5299 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5300 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5303 def get_origin(self):
5304 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5305 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5308 def get_dimension(self):
5309 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5310 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5313 def set_unit_cell(self, *args):
5315 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5316 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5318 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5321 def get_unit_cell(self):
5322 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5323 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5326 def get_extended_index(self, o):
5327 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5328 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5332 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5333 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5336 def get_center(self, *args):
5338 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5339 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5341 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5344 def get_bounding_box(self, *args):
5346 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5347 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5349 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5352 def show(self, *args):
5354 show(LogEmbeddingKD self, _ostream out)
5355 show(LogEmbeddingKD self)
5357 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5361 """__str__(LogEmbeddingKD self) -> std::string"""
5362 return _IMP_algebra.LogEmbeddingKD___str__(self)
5366 """__repr__(LogEmbeddingKD self) -> std::string"""
5367 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5370 def __cmp__(self, arg2):
5371 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5372 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5375 def __eq__(self, arg2):
5376 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5377 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5379 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5380 __del__ =
lambda self:
None
5381 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5382 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5384 class DenseFloatLogGridKD(object):
5385 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5387 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5389 def __init__(self, sz, le):
5390 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5391 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5393 self.this.append(this)
5394 except __builtin__.Exception:
5397 def add_voxel(self, i, q):
5398 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5399 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5402 def __getitem__(self, *args):
5404 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5405 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5407 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5410 def __setitem__(self, *args):
5412 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5413 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5415 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5418 def get_bounding_box(self, *args):
5420 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5421 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5423 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5428 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5429 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5431 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5434 def get_all_indexes(self):
5435 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5436 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5439 def get_extended_indexes(self, *args):
5441 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5442 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5444 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5447 def get_center(self, *args):
5449 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5450 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5452 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5455 def get_extended_index(self, v):
5456 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5457 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5461 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5462 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5465 def get_origin(self):
5466 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5467 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5470 def get_dimension(self):
5471 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5472 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5475 def get_unit_cell(self):
5476 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5477 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5480 def get_has_index(self, v):
5481 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5482 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5486 """__str__(DenseFloatLogGridKD self) -> std::string"""
5487 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5491 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5492 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5495 def show(self, *args):
5497 show(DenseFloatLogGridKD self, _ostream out)
5498 show(DenseFloatLogGridKD self)
5500 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5502 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5503 __del__ =
lambda self:
None
5504 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5505 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5507 class DenseIntLogGrid3D(object):
5508 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5512 def __init__(self, sz, le):
5513 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5514 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5516 self.this.append(this)
5517 except __builtin__.Exception:
5520 def add_voxel(self, i, q):
5521 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5522 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5525 def __getitem__(self, *args):
5527 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5528 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5530 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5533 def __setitem__(self, *args):
5535 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5536 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5538 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5541 def get_bounding_box(self, *args):
5543 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5544 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5546 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5551 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5552 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5554 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5557 def get_all_indexes(self):
5558 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5559 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5562 def get_extended_indexes(self, *args):
5564 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5565 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5567 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5570 def get_center(self, *args):
5572 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5573 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5575 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5578 def get_extended_index(self, v):
5579 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5580 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5584 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5585 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5588 def get_origin(self):
5589 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5590 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5593 def get_dimension(self):
5594 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5595 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5598 def get_unit_cell(self):
5599 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5600 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5603 def get_has_index(self, v):
5604 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5605 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5609 """__str__(DenseIntLogGrid3D self) -> std::string"""
5610 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5614 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5615 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5618 def show(self, *args):
5620 show(DenseIntLogGrid3D self, _ostream out)
5621 show(DenseIntLogGrid3D self)
5623 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5625 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5626 __del__ =
lambda self:
None
5627 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5628 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5631 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5635 def __init__(self, *args):
5637 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5638 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5639 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5641 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5643 self.this.append(this)
5644 except __builtin__.Exception:
5647 def add_voxel(self, i, q):
5648 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5649 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5652 def __getitem__(self, *args):
5654 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5655 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5657 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5660 def __setitem__(self, *args):
5662 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5663 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5665 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5668 def get_bounding_box(self, *args):
5670 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5671 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5673 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5678 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5679 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5681 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5684 def get_all_indexes(self):
5685 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5686 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5689 def get_extended_indexes(self, *args):
5691 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5692 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5694 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5697 def get_center(self, *args):
5699 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5700 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5702 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5705 def get_extended_index(self, v):
5706 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5707 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5711 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5712 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5715 def get_origin(self):
5716 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5717 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5720 def get_dimension(self):
5721 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5722 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5725 def get_unit_cell(self):
5726 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5727 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5730 def get_has_index(self, v):
5731 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5732 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5736 """__str__(DenseDoubleGrid3D self) -> std::string"""
5737 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5741 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5742 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5745 def show(self, *args):
5747 show(DenseDoubleGrid3D self, _ostream out)
5748 show(DenseDoubleGrid3D self)
5750 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5752 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5753 __del__ =
lambda self:
None
5754 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5755 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5758 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5760 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5762 def __init__(self, *args):
5764 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5765 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5766 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5768 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5770 self.this.append(this)
5771 except __builtin__.Exception:
5774 def add_voxel(self, i, q):
5775 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5776 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5779 def __getitem__(self, *args):
5781 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5782 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5784 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5787 def __setitem__(self, *args):
5789 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5790 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5792 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5795 def get_bounding_box(self, *args):
5797 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5798 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5800 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5805 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5806 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5808 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5811 def get_all_indexes(self):
5812 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5813 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5816 def get_extended_indexes(self, *args):
5818 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5819 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5821 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5824 def get_center(self, *args):
5826 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5827 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5829 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5832 def get_extended_index(self, v):
5833 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5834 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5838 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5839 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5842 def get_origin(self):
5843 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5844 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5847 def get_dimension(self):
5848 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5849 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5852 def get_unit_cell(self):
5853 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5854 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5857 def get_has_index(self, v):
5858 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5859 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5863 """__str__(DenseFloatGrid3D self) -> std::string"""
5864 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5868 """__repr__(DenseFloatGrid3D self) -> std::string"""
5869 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5872 def show(self, *args):
5874 show(DenseFloatGrid3D self, _ostream out)
5875 show(DenseFloatGrid3D self)
5877 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5879 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5880 __del__ =
lambda self:
None
5881 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5882 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5885 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5887 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5889 def __init__(self, *args):
5891 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5892 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5893 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5894 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5895 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5897 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5899 self.this.append(this)
5900 except __builtin__.Exception:
5903 def add_voxel(self, i, q):
5904 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5905 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5908 def __getitem__(self, *args):
5910 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5911 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5913 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5916 def __setitem__(self, *args):
5918 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5919 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5921 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5924 def get_bounding_box(self, *args):
5926 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5927 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5929 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5934 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5935 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5937 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5940 def get_all_indexes(self):
5941 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5942 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5945 def get_extended_indexes(self, *args):
5947 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5948 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5950 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5953 def get_center(self, *args):
5955 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5956 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5958 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5961 def get_extended_index(self, v):
5962 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5963 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5967 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5968 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5971 def get_origin(self):
5972 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5973 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5976 def get_dimension(self):
5977 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5978 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5981 def get_unit_cell(self):
5982 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5983 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5986 def get_has_index(self, v):
5987 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5988 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5992 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5993 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5997 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5998 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6001 def show(self, *args):
6003 show(SparseUnboundedIntGrid3D self, _ostream out)
6004 show(SparseUnboundedIntGrid3D self)
6006 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6008 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6009 __del__ =
lambda self:
None
6010 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6011 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6013 class SparseUnboundedIntGridKD(object):
6014 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
6016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6018 def __init__(self, *args):
6020 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6021 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6022 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6024 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6026 self.this.append(this)
6027 except __builtin__.Exception:
6030 def add_voxel(self, i, q):
6031 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6032 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6035 def __getitem__(self, *args):
6037 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6038 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6040 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6043 def __setitem__(self, *args):
6045 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6046 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6048 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6051 def get_bounding_box(self, *args):
6053 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6054 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6056 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6061 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6062 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6064 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6067 def get_all_indexes(self):
6068 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6069 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6072 def get_extended_indexes(self, *args):
6074 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6075 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6077 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6080 def get_center(self, *args):
6082 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6083 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6085 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6088 def get_extended_index(self, v):
6089 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6090 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6094 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6095 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6098 def get_origin(self):
6099 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6100 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6103 def get_dimension(self):
6104 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6105 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6108 def get_unit_cell(self):
6109 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6110 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6113 def get_has_index(self, v):
6114 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6115 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6119 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6120 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6124 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6125 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6128 def show(self, *args):
6130 show(SparseUnboundedIntGridKD self, _ostream out)
6131 show(SparseUnboundedIntGridKD self)
6133 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6135 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6136 __del__ =
lambda self:
None
6137 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6138 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6140 class GridIndex1D(IMP._Value):
6141 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6145 def __init__(self, *args):
6147 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6148 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6149 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6150 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6151 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6152 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6153 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6155 this = _IMP_algebra.new_GridIndex1D(*args)
6157 self.this.append(this)
6158 except __builtin__.Exception:
6161 def get_dimension(self):
6162 """get_dimension(GridIndex1D self) -> unsigned int"""
6163 return _IMP_algebra.GridIndex1D_get_dimension(self)
6166 def __getitem__(self, i):
6167 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6168 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6171 def show(self, *args):
6173 show(GridIndex1D self, _ostream out)
6174 show(GridIndex1D self)
6176 return _IMP_algebra.GridIndex1D_show(self, *args)
6180 """__len__(GridIndex1D self) -> unsigned int"""
6181 return _IMP_algebra.GridIndex1D___len__(self)
6184 def __cmp__(self, o):
6185 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6186 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6189 def __eq__(self, o):
6190 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6191 return _IMP_algebra.GridIndex1D___eq__(self, o)
6194 def __ne__(self, o):
6195 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6196 return _IMP_algebra.GridIndex1D___ne__(self, o)
6199 def __lt__(self, o):
6200 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6201 return _IMP_algebra.GridIndex1D___lt__(self, o)
6204 def __gt__(self, o):
6205 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6206 return _IMP_algebra.GridIndex1D___gt__(self, o)
6209 def __ge__(self, o):
6210 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6211 return _IMP_algebra.GridIndex1D___ge__(self, o)
6214 def __le__(self, o):
6215 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6216 return _IMP_algebra.GridIndex1D___le__(self, o)
6220 """__hash__(GridIndex1D self) -> std::size_t"""
6221 return _IMP_algebra.GridIndex1D___hash__(self)
6225 """__str__(GridIndex1D self) -> std::string"""
6226 return _IMP_algebra.GridIndex1D___str__(self)
6230 """__repr__(GridIndex1D self) -> std::string"""
6231 return _IMP_algebra.GridIndex1D___repr__(self)
6233 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6234 __del__ =
lambda self:
None
6235 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6236 GridIndex1D_swigregister(GridIndex1D)
6238 class GridIndex2D(IMP._Value):
6239 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6243 def __init__(self, *args):
6245 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6246 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6247 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6248 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6249 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6250 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6251 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6253 this = _IMP_algebra.new_GridIndex2D(*args)
6255 self.this.append(this)
6256 except __builtin__.Exception:
6259 def get_dimension(self):
6260 """get_dimension(GridIndex2D self) -> unsigned int"""
6261 return _IMP_algebra.GridIndex2D_get_dimension(self)
6264 def __getitem__(self, i):
6265 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6266 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6269 def show(self, *args):
6271 show(GridIndex2D self, _ostream out)
6272 show(GridIndex2D self)
6274 return _IMP_algebra.GridIndex2D_show(self, *args)
6278 """__len__(GridIndex2D self) -> unsigned int"""
6279 return _IMP_algebra.GridIndex2D___len__(self)
6282 def __cmp__(self, o):
6283 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6284 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6287 def __eq__(self, o):
6288 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6289 return _IMP_algebra.GridIndex2D___eq__(self, o)
6292 def __ne__(self, o):
6293 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6294 return _IMP_algebra.GridIndex2D___ne__(self, o)
6297 def __lt__(self, o):
6298 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6299 return _IMP_algebra.GridIndex2D___lt__(self, o)
6302 def __gt__(self, o):
6303 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6304 return _IMP_algebra.GridIndex2D___gt__(self, o)
6307 def __ge__(self, o):
6308 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6309 return _IMP_algebra.GridIndex2D___ge__(self, o)
6312 def __le__(self, o):
6313 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6314 return _IMP_algebra.GridIndex2D___le__(self, o)
6318 """__hash__(GridIndex2D self) -> std::size_t"""
6319 return _IMP_algebra.GridIndex2D___hash__(self)
6323 """__str__(GridIndex2D self) -> std::string"""
6324 return _IMP_algebra.GridIndex2D___str__(self)
6328 """__repr__(GridIndex2D self) -> std::string"""
6329 return _IMP_algebra.GridIndex2D___repr__(self)
6331 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6332 __del__ =
lambda self:
None
6333 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6334 GridIndex2D_swigregister(GridIndex2D)
6336 class GridIndex3D(IMP._Value):
6337 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6339 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6341 def __init__(self, *args):
6343 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6344 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6345 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6346 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6347 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6348 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6349 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6351 this = _IMP_algebra.new_GridIndex3D(*args)
6353 self.this.append(this)
6354 except __builtin__.Exception:
6357 def get_dimension(self):
6358 """get_dimension(GridIndex3D self) -> unsigned int"""
6359 return _IMP_algebra.GridIndex3D_get_dimension(self)
6362 def __getitem__(self, i):
6363 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6364 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6367 def show(self, *args):
6369 show(GridIndex3D self, _ostream out)
6370 show(GridIndex3D self)
6372 return _IMP_algebra.GridIndex3D_show(self, *args)
6376 """__len__(GridIndex3D self) -> unsigned int"""
6377 return _IMP_algebra.GridIndex3D___len__(self)
6380 def __cmp__(self, o):
6381 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6382 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6385 def __eq__(self, o):
6386 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6387 return _IMP_algebra.GridIndex3D___eq__(self, o)
6390 def __ne__(self, o):
6391 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6392 return _IMP_algebra.GridIndex3D___ne__(self, o)
6395 def __lt__(self, o):
6396 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6397 return _IMP_algebra.GridIndex3D___lt__(self, o)
6400 def __gt__(self, o):
6401 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6402 return _IMP_algebra.GridIndex3D___gt__(self, o)
6405 def __ge__(self, o):
6406 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6407 return _IMP_algebra.GridIndex3D___ge__(self, o)
6410 def __le__(self, o):
6411 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6412 return _IMP_algebra.GridIndex3D___le__(self, o)
6416 """__hash__(GridIndex3D self) -> std::size_t"""
6417 return _IMP_algebra.GridIndex3D___hash__(self)
6421 """__str__(GridIndex3D self) -> std::string"""
6422 return _IMP_algebra.GridIndex3D___str__(self)
6426 """__repr__(GridIndex3D self) -> std::string"""
6427 return _IMP_algebra.GridIndex3D___repr__(self)
6429 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6430 __del__ =
lambda self:
None
6431 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6432 GridIndex3D_swigregister(GridIndex3D)
6434 class GridIndex4D(IMP._Value):
6435 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6439 def __init__(self, *args):
6441 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6442 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6443 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6444 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6445 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6446 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6447 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6449 this = _IMP_algebra.new_GridIndex4D(*args)
6451 self.this.append(this)
6452 except __builtin__.Exception:
6455 def get_dimension(self):
6456 """get_dimension(GridIndex4D self) -> unsigned int"""
6457 return _IMP_algebra.GridIndex4D_get_dimension(self)
6460 def __getitem__(self, i):
6461 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6462 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6465 def show(self, *args):
6467 show(GridIndex4D self, _ostream out)
6468 show(GridIndex4D self)
6470 return _IMP_algebra.GridIndex4D_show(self, *args)
6474 """__len__(GridIndex4D self) -> unsigned int"""
6475 return _IMP_algebra.GridIndex4D___len__(self)
6478 def __cmp__(self, o):
6479 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6480 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6483 def __eq__(self, o):
6484 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6485 return _IMP_algebra.GridIndex4D___eq__(self, o)
6488 def __ne__(self, o):
6489 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6490 return _IMP_algebra.GridIndex4D___ne__(self, o)
6493 def __lt__(self, o):
6494 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6495 return _IMP_algebra.GridIndex4D___lt__(self, o)
6498 def __gt__(self, o):
6499 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6500 return _IMP_algebra.GridIndex4D___gt__(self, o)
6503 def __ge__(self, o):
6504 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6505 return _IMP_algebra.GridIndex4D___ge__(self, o)
6508 def __le__(self, o):
6509 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6510 return _IMP_algebra.GridIndex4D___le__(self, o)
6514 """__hash__(GridIndex4D self) -> std::size_t"""
6515 return _IMP_algebra.GridIndex4D___hash__(self)
6519 """__str__(GridIndex4D self) -> std::string"""
6520 return _IMP_algebra.GridIndex4D___str__(self)
6524 """__repr__(GridIndex4D self) -> std::string"""
6525 return _IMP_algebra.GridIndex4D___repr__(self)
6527 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6528 __del__ =
lambda self:
None
6529 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6530 GridIndex4D_swigregister(GridIndex4D)
6532 class GridIndex5D(IMP._Value):
6533 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6537 def __init__(self, *args):
6539 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6540 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6541 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6542 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6543 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6544 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6545 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6547 this = _IMP_algebra.new_GridIndex5D(*args)
6549 self.this.append(this)
6550 except __builtin__.Exception:
6553 def get_dimension(self):
6554 """get_dimension(GridIndex5D self) -> unsigned int"""
6555 return _IMP_algebra.GridIndex5D_get_dimension(self)
6558 def __getitem__(self, i):
6559 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6560 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6563 def show(self, *args):
6565 show(GridIndex5D self, _ostream out)
6566 show(GridIndex5D self)
6568 return _IMP_algebra.GridIndex5D_show(self, *args)
6572 """__len__(GridIndex5D self) -> unsigned int"""
6573 return _IMP_algebra.GridIndex5D___len__(self)
6576 def __cmp__(self, o):
6577 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6578 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6581 def __eq__(self, o):
6582 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6583 return _IMP_algebra.GridIndex5D___eq__(self, o)
6586 def __ne__(self, o):
6587 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6588 return _IMP_algebra.GridIndex5D___ne__(self, o)
6591 def __lt__(self, o):
6592 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6593 return _IMP_algebra.GridIndex5D___lt__(self, o)
6596 def __gt__(self, o):
6597 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6598 return _IMP_algebra.GridIndex5D___gt__(self, o)
6601 def __ge__(self, o):
6602 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6603 return _IMP_algebra.GridIndex5D___ge__(self, o)
6606 def __le__(self, o):
6607 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6608 return _IMP_algebra.GridIndex5D___le__(self, o)
6612 """__hash__(GridIndex5D self) -> std::size_t"""
6613 return _IMP_algebra.GridIndex5D___hash__(self)
6617 """__str__(GridIndex5D self) -> std::string"""
6618 return _IMP_algebra.GridIndex5D___str__(self)
6622 """__repr__(GridIndex5D self) -> std::string"""
6623 return _IMP_algebra.GridIndex5D___repr__(self)
6625 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6626 __del__ =
lambda self:
None
6627 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6628 GridIndex5D_swigregister(GridIndex5D)
6630 class GridIndex6D(IMP._Value):
6631 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6635 def __init__(self, *args):
6637 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6638 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6639 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6640 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6641 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6642 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6643 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6645 this = _IMP_algebra.new_GridIndex6D(*args)
6647 self.this.append(this)
6648 except __builtin__.Exception:
6651 def get_dimension(self):
6652 """get_dimension(GridIndex6D self) -> unsigned int"""
6653 return _IMP_algebra.GridIndex6D_get_dimension(self)
6656 def __getitem__(self, i):
6657 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6658 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6661 def show(self, *args):
6663 show(GridIndex6D self, _ostream out)
6664 show(GridIndex6D self)
6666 return _IMP_algebra.GridIndex6D_show(self, *args)
6670 """__len__(GridIndex6D self) -> unsigned int"""
6671 return _IMP_algebra.GridIndex6D___len__(self)
6674 def __cmp__(self, o):
6675 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6676 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6679 def __eq__(self, o):
6680 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6681 return _IMP_algebra.GridIndex6D___eq__(self, o)
6684 def __ne__(self, o):
6685 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6686 return _IMP_algebra.GridIndex6D___ne__(self, o)
6689 def __lt__(self, o):
6690 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6691 return _IMP_algebra.GridIndex6D___lt__(self, o)
6694 def __gt__(self, o):
6695 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6696 return _IMP_algebra.GridIndex6D___gt__(self, o)
6699 def __ge__(self, o):
6700 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6701 return _IMP_algebra.GridIndex6D___ge__(self, o)
6704 def __le__(self, o):
6705 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6706 return _IMP_algebra.GridIndex6D___le__(self, o)
6710 """__hash__(GridIndex6D self) -> std::size_t"""
6711 return _IMP_algebra.GridIndex6D___hash__(self)
6715 """__str__(GridIndex6D self) -> std::string"""
6716 return _IMP_algebra.GridIndex6D___str__(self)
6720 """__repr__(GridIndex6D self) -> std::string"""
6721 return _IMP_algebra.GridIndex6D___repr__(self)
6723 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6724 __del__ =
lambda self:
None
6725 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6726 GridIndex6D_swigregister(GridIndex6D)
6728 class GridIndexKD(IMP._Value):
6729 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6733 def __init__(self, *args):
6735 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6736 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6737 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6738 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6739 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6740 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6741 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6743 this = _IMP_algebra.new_GridIndexKD(*args)
6745 self.this.append(this)
6746 except __builtin__.Exception:
6749 def get_dimension(self):
6750 """get_dimension(GridIndexKD self) -> unsigned int"""
6751 return _IMP_algebra.GridIndexKD_get_dimension(self)
6754 def __getitem__(self, i):
6755 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6756 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6759 def show(self, *args):
6761 show(GridIndexKD self, _ostream out)
6762 show(GridIndexKD self)
6764 return _IMP_algebra.GridIndexKD_show(self, *args)
6768 """__len__(GridIndexKD self) -> unsigned int"""
6769 return _IMP_algebra.GridIndexKD___len__(self)
6772 def __cmp__(self, o):
6773 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6774 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6777 def __eq__(self, o):
6778 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6779 return _IMP_algebra.GridIndexKD___eq__(self, o)
6782 def __ne__(self, o):
6783 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6784 return _IMP_algebra.GridIndexKD___ne__(self, o)
6787 def __lt__(self, o):
6788 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6789 return _IMP_algebra.GridIndexKD___lt__(self, o)
6792 def __gt__(self, o):
6793 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6794 return _IMP_algebra.GridIndexKD___gt__(self, o)
6797 def __ge__(self, o):
6798 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6799 return _IMP_algebra.GridIndexKD___ge__(self, o)
6802 def __le__(self, o):
6803 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6804 return _IMP_algebra.GridIndexKD___le__(self, o)
6808 """__hash__(GridIndexKD self) -> std::size_t"""
6809 return _IMP_algebra.GridIndexKD___hash__(self)
6813 """__str__(GridIndexKD self) -> std::string"""
6814 return _IMP_algebra.GridIndexKD___str__(self)
6818 """__repr__(GridIndexKD self) -> std::string"""
6819 return _IMP_algebra.GridIndexKD___repr__(self)
6821 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6822 __del__ =
lambda self:
None
6823 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6824 GridIndexKD_swigregister(GridIndexKD)
6826 class ExtendedGridIndex1D(IMP._Value):
6827 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6829 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6831 def __init__(self, *args):
6833 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6834 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6835 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6836 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6837 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6838 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6839 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6840 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6842 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6844 self.this.append(this)
6845 except __builtin__.Exception:
6848 def get_dimension(self):
6849 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6850 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6853 def __cmp__(self, o):
6854 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6855 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6858 def __eq__(self, o):
6859 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6860 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6863 def __ne__(self, o):
6864 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6865 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6868 def __lt__(self, o):
6869 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6870 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6873 def __gt__(self, o):
6874 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6875 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6878 def __ge__(self, o):
6879 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6880 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6883 def __le__(self, o):
6884 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6885 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6888 def __setitem__(self, i, v):
6889 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6890 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6893 def __getitem__(self, i):
6894 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6895 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6898 def show(self, *args):
6900 show(ExtendedGridIndex1D self, _ostream out)
6901 show(ExtendedGridIndex1D self)
6903 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6907 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6908 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6912 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6913 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6916 def get_uniform_offset(self, ii):
6917 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6918 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6921 def get_offset(self, i, j, k):
6922 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6923 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6927 """__str__(ExtendedGridIndex1D self) -> std::string"""
6928 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6932 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6933 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6935 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6936 __del__ =
lambda self:
None
6937 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6938 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6940 class ExtendedGridIndex2D(IMP._Value):
6941 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6943 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6945 def __init__(self, *args):
6947 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6948 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6949 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6950 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6951 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6952 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6953 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6954 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6956 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6958 self.this.append(this)
6959 except __builtin__.Exception:
6962 def get_dimension(self):
6963 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6964 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6967 def __cmp__(self, o):
6968 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6969 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6972 def __eq__(self, o):
6973 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6974 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6977 def __ne__(self, o):
6978 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6979 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6982 def __lt__(self, o):
6983 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6984 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6987 def __gt__(self, o):
6988 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6989 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6992 def __ge__(self, o):
6993 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6994 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6997 def __le__(self, o):
6998 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6999 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7002 def __setitem__(self, i, v):
7003 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7004 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7007 def __getitem__(self, i):
7008 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7009 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7012 def show(self, *args):
7014 show(ExtendedGridIndex2D self, _ostream out)
7015 show(ExtendedGridIndex2D self)
7017 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7021 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7022 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7026 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7027 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7030 def get_uniform_offset(self, ii):
7031 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7032 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7035 def get_offset(self, i, j, k):
7036 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7037 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7041 """__str__(ExtendedGridIndex2D self) -> std::string"""
7042 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7046 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7047 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7049 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7050 __del__ =
lambda self:
None
7051 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7052 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7054 class ExtendedGridIndex3D(IMP._Value):
7055 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7057 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7059 def __init__(self, *args):
7061 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7062 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7063 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7064 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7065 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7066 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7067 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7068 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7070 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7072 self.this.append(this)
7073 except __builtin__.Exception:
7076 def get_dimension(self):
7077 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7078 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7081 def __cmp__(self, o):
7082 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7083 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7086 def __eq__(self, o):
7087 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7088 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7091 def __ne__(self, o):
7092 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7093 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7096 def __lt__(self, o):
7097 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7098 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7101 def __gt__(self, o):
7102 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7103 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7106 def __ge__(self, o):
7107 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7108 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7111 def __le__(self, o):
7112 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7113 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7116 def __setitem__(self, i, v):
7117 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7118 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7121 def __getitem__(self, i):
7122 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7123 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7126 def show(self, *args):
7128 show(ExtendedGridIndex3D self, _ostream out)
7129 show(ExtendedGridIndex3D self)
7131 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7135 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7136 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7140 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7141 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7144 def get_uniform_offset(self, ii):
7145 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7146 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7149 def get_offset(self, i, j, k):
7150 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7151 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7155 """__str__(ExtendedGridIndex3D self) -> std::string"""
7156 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7160 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7161 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7163 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7164 __del__ =
lambda self:
None
7165 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7166 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7168 class ExtendedGridIndex4D(IMP._Value):
7169 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> 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::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7176 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7177 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7178 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7179 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7180 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7181 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7182 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7184 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7186 self.this.append(this)
7187 except __builtin__.Exception:
7190 def get_dimension(self):
7191 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7192 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7195 def __cmp__(self, o):
7196 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7197 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7200 def __eq__(self, o):
7201 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7202 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7205 def __ne__(self, o):
7206 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7207 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7210 def __lt__(self, o):
7211 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7212 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7215 def __gt__(self, o):
7216 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7217 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7220 def __ge__(self, o):
7221 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7222 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7225 def __le__(self, o):
7226 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7227 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7230 def __setitem__(self, i, v):
7231 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7232 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7235 def __getitem__(self, i):
7236 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7237 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7240 def show(self, *args):
7242 show(ExtendedGridIndex4D self, _ostream out)
7243 show(ExtendedGridIndex4D self)
7245 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7249 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7250 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7254 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7255 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7258 def get_uniform_offset(self, ii):
7259 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7260 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7263 def get_offset(self, i, j, k):
7264 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7265 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7269 """__str__(ExtendedGridIndex4D self) -> std::string"""
7270 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7274 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7275 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7277 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7278 __del__ =
lambda self:
None
7279 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7280 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7282 class ExtendedGridIndex5D(IMP._Value):
7283 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7287 def __init__(self, *args):
7289 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7290 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7291 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7292 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7293 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7294 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7295 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7296 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7298 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7300 self.this.append(this)
7301 except __builtin__.Exception:
7304 def get_dimension(self):
7305 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7306 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7309 def __cmp__(self, o):
7310 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7311 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7314 def __eq__(self, o):
7315 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7316 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7319 def __ne__(self, o):
7320 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7321 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7324 def __lt__(self, o):
7325 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7326 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7329 def __gt__(self, o):
7330 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7331 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7334 def __ge__(self, o):
7335 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7336 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7339 def __le__(self, o):
7340 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7341 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7344 def __setitem__(self, i, v):
7345 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7346 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7349 def __getitem__(self, i):
7350 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7351 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7354 def show(self, *args):
7356 show(ExtendedGridIndex5D self, _ostream out)
7357 show(ExtendedGridIndex5D self)
7359 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7363 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7364 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7368 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7369 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7372 def get_uniform_offset(self, ii):
7373 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7374 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7377 def get_offset(self, i, j, k):
7378 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7379 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7383 """__str__(ExtendedGridIndex5D self) -> std::string"""
7384 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7388 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7389 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7391 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7392 __del__ =
lambda self:
None
7393 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7394 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7396 class ExtendedGridIndex6D(IMP._Value):
7397 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7399 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7401 def __init__(self, *args):
7403 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7404 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7405 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7406 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7407 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7408 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7409 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7410 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7412 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7414 self.this.append(this)
7415 except __builtin__.Exception:
7418 def get_dimension(self):
7419 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7420 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7423 def __cmp__(self, o):
7424 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7425 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7428 def __eq__(self, o):
7429 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7430 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7433 def __ne__(self, o):
7434 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7435 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7438 def __lt__(self, o):
7439 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7440 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7443 def __gt__(self, o):
7444 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7445 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7448 def __ge__(self, o):
7449 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7450 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7453 def __le__(self, o):
7454 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7455 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7458 def __setitem__(self, i, v):
7459 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7460 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7463 def __getitem__(self, i):
7464 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7465 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7468 def show(self, *args):
7470 show(ExtendedGridIndex6D self, _ostream out)
7471 show(ExtendedGridIndex6D self)
7473 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7477 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7478 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7482 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7483 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7486 def get_uniform_offset(self, ii):
7487 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7488 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7491 def get_offset(self, i, j, k):
7492 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7493 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7497 """__str__(ExtendedGridIndex6D self) -> std::string"""
7498 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7502 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7503 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7505 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7506 __del__ =
lambda self:
None
7507 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7508 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7510 class ExtendedGridIndexKD(IMP._Value):
7511 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7515 def __init__(self, *args):
7517 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7518 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7519 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7520 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7521 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7522 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7523 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7524 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7526 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7528 self.this.append(this)
7529 except __builtin__.Exception:
7532 def get_dimension(self):
7533 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7534 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7537 def __cmp__(self, o):
7538 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7539 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7542 def __eq__(self, o):
7543 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7544 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7547 def __ne__(self, o):
7548 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7549 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7552 def __lt__(self, o):
7553 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7554 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7557 def __gt__(self, o):
7558 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7559 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7562 def __ge__(self, o):
7563 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7564 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7567 def __le__(self, o):
7568 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7569 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7572 def __setitem__(self, i, v):
7573 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7574 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7577 def __getitem__(self, i):
7578 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7579 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7582 def show(self, *args):
7584 show(ExtendedGridIndexKD self, _ostream out)
7585 show(ExtendedGridIndexKD self)
7587 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7591 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7592 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7596 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7597 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7600 def get_uniform_offset(self, ii):
7601 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7602 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7605 def get_offset(self, i, j, k):
7606 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7607 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7611 """__str__(ExtendedGridIndexKD self) -> std::string"""
7612 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7616 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7617 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7619 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7620 __del__ =
lambda self:
None
7621 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7622 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7624 class BoundedGridRange1D(object):
7625 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7627 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7629 def get_is_bounded():
7630 """get_is_bounded() -> bool"""
7631 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7633 get_is_bounded = staticmethod(get_is_bounded)
7635 def __init__(self, *args):
7637 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7638 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7640 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7642 self.this.append(this)
7643 except __builtin__.Exception:
7646 def get_number_of_voxels(self, *args):
7648 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7649 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7651 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7654 def get_end_index(self):
7655 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7656 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7659 def show(self, *args):
7661 show(BoundedGridRange1D self, _ostream out)
7662 show(BoundedGridRange1D self)
7664 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7667 def get_all_indexes(self):
7668 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7669 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7673 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7674 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7677 def get_extended_indexes(self, lb, ub):
7678 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7679 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7683 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7684 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7687 def get_has_index(self, v):
7688 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7689 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7692 def get_minimum_extended_index(self):
7693 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7694 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7697 def get_maximum_extended_index(self):
7698 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7699 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7703 """__str__(BoundedGridRange1D self) -> std::string"""
7704 return _IMP_algebra.BoundedGridRange1D___str__(self)
7708 """__repr__(BoundedGridRange1D self) -> std::string"""
7709 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7712 def __cmp__(self, arg2):
7713 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7714 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7717 def __eq__(self, arg2):
7718 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7719 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7721 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7722 __del__ =
lambda self:
None
7723 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7724 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7726 def BoundedGridRange1D_get_is_bounded():
7727 """BoundedGridRange1D_get_is_bounded() -> bool"""
7728 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7730 class BoundedGridRange2D(object):
7731 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7735 def get_is_bounded():
7736 """get_is_bounded() -> bool"""
7737 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7739 get_is_bounded = staticmethod(get_is_bounded)
7741 def __init__(self, *args):
7743 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7744 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7746 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7748 self.this.append(this)
7749 except __builtin__.Exception:
7752 def get_number_of_voxels(self, *args):
7754 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7755 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7757 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7760 def get_end_index(self):
7761 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7762 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7765 def show(self, *args):
7767 show(BoundedGridRange2D self, _ostream out)
7768 show(BoundedGridRange2D self)
7770 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7773 def get_all_indexes(self):
7774 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7775 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7779 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7780 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7783 def get_extended_indexes(self, lb, ub):
7784 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7785 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7789 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7790 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7793 def get_has_index(self, v):
7794 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7795 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7798 def get_minimum_extended_index(self):
7799 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7800 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7803 def get_maximum_extended_index(self):
7804 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7805 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7809 """__str__(BoundedGridRange2D self) -> std::string"""
7810 return _IMP_algebra.BoundedGridRange2D___str__(self)
7814 """__repr__(BoundedGridRange2D self) -> std::string"""
7815 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7818 def __cmp__(self, arg2):
7819 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7820 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7823 def __eq__(self, arg2):
7824 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7825 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7827 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7828 __del__ =
lambda self:
None
7829 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7830 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7832 def BoundedGridRange2D_get_is_bounded():
7833 """BoundedGridRange2D_get_is_bounded() -> bool"""
7834 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7836 class BoundedGridRange3D(object):
7837 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7839 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7841 def get_is_bounded():
7842 """get_is_bounded() -> bool"""
7843 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7845 get_is_bounded = staticmethod(get_is_bounded)
7847 def __init__(self, *args):
7849 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7850 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7852 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7854 self.this.append(this)
7855 except __builtin__.Exception:
7858 def get_number_of_voxels(self, *args):
7860 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7861 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7863 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7866 def get_end_index(self):
7867 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7868 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7871 def show(self, *args):
7873 show(BoundedGridRange3D self, _ostream out)
7874 show(BoundedGridRange3D self)
7876 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7879 def get_all_indexes(self):
7880 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7881 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7885 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7886 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7889 def get_extended_indexes(self, lb, ub):
7890 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7891 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7895 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7896 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7899 def get_has_index(self, v):
7900 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7901 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7904 def get_minimum_extended_index(self):
7905 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7906 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7909 def get_maximum_extended_index(self):
7910 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7911 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7915 """__str__(BoundedGridRange3D self) -> std::string"""
7916 return _IMP_algebra.BoundedGridRange3D___str__(self)
7920 """__repr__(BoundedGridRange3D self) -> std::string"""
7921 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7924 def __cmp__(self, arg2):
7925 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7926 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7929 def __eq__(self, arg2):
7930 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7931 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7933 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7934 __del__ =
lambda self:
None
7935 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7936 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7938 def BoundedGridRange3D_get_is_bounded():
7939 """BoundedGridRange3D_get_is_bounded() -> bool"""
7940 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7942 class BoundedGridRange4D(object):
7943 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7947 def get_is_bounded():
7948 """get_is_bounded() -> bool"""
7949 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7951 get_is_bounded = staticmethod(get_is_bounded)
7953 def __init__(self, *args):
7955 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7956 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7958 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7960 self.this.append(this)
7961 except __builtin__.Exception:
7964 def get_number_of_voxels(self, *args):
7966 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7967 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7969 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7972 def get_end_index(self):
7973 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7974 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7977 def show(self, *args):
7979 show(BoundedGridRange4D self, _ostream out)
7980 show(BoundedGridRange4D self)
7982 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7985 def get_all_indexes(self):
7986 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7987 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7991 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7992 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7995 def get_extended_indexes(self, lb, ub):
7996 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7997 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8001 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8002 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8005 def get_has_index(self, v):
8006 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8007 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8010 def get_minimum_extended_index(self):
8011 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8012 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8015 def get_maximum_extended_index(self):
8016 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8017 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8021 """__str__(BoundedGridRange4D self) -> std::string"""
8022 return _IMP_algebra.BoundedGridRange4D___str__(self)
8026 """__repr__(BoundedGridRange4D self) -> std::string"""
8027 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8030 def __cmp__(self, arg2):
8031 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8032 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8035 def __eq__(self, arg2):
8036 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8037 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8039 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8040 __del__ =
lambda self:
None
8041 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8042 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8044 def BoundedGridRange4D_get_is_bounded():
8045 """BoundedGridRange4D_get_is_bounded() -> bool"""
8046 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8048 class BoundedGridRange5D(object):
8049 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8051 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8053 def get_is_bounded():
8054 """get_is_bounded() -> bool"""
8055 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8057 get_is_bounded = staticmethod(get_is_bounded)
8059 def __init__(self, *args):
8061 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8062 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8064 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8066 self.this.append(this)
8067 except __builtin__.Exception:
8070 def get_number_of_voxels(self, *args):
8072 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8073 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8075 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8078 def get_end_index(self):
8079 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8080 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8083 def show(self, *args):
8085 show(BoundedGridRange5D self, _ostream out)
8086 show(BoundedGridRange5D self)
8088 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8091 def get_all_indexes(self):
8092 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8093 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8097 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8098 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8101 def get_extended_indexes(self, lb, ub):
8102 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8103 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8107 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8108 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8111 def get_has_index(self, v):
8112 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8113 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8116 def get_minimum_extended_index(self):
8117 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8118 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8121 def get_maximum_extended_index(self):
8122 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8123 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8127 """__str__(BoundedGridRange5D self) -> std::string"""
8128 return _IMP_algebra.BoundedGridRange5D___str__(self)
8132 """__repr__(BoundedGridRange5D self) -> std::string"""
8133 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8136 def __cmp__(self, arg2):
8137 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8138 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8141 def __eq__(self, arg2):
8142 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8143 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8145 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8146 __del__ =
lambda self:
None
8147 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8148 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8150 def BoundedGridRange5D_get_is_bounded():
8151 """BoundedGridRange5D_get_is_bounded() -> bool"""
8152 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8154 class BoundedGridRange6D(object):
8155 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8157 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8159 def get_is_bounded():
8160 """get_is_bounded() -> bool"""
8161 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8163 get_is_bounded = staticmethod(get_is_bounded)
8165 def __init__(self, *args):
8167 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8168 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8170 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8172 self.this.append(this)
8173 except __builtin__.Exception:
8176 def get_number_of_voxels(self, *args):
8178 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8179 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8181 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8184 def get_end_index(self):
8185 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8186 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8189 def show(self, *args):
8191 show(BoundedGridRange6D self, _ostream out)
8192 show(BoundedGridRange6D self)
8194 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8197 def get_all_indexes(self):
8198 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8199 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8203 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8204 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8207 def get_extended_indexes(self, lb, ub):
8208 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8209 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8213 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8214 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8217 def get_has_index(self, v):
8218 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8219 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8222 def get_minimum_extended_index(self):
8223 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8224 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8227 def get_maximum_extended_index(self):
8228 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8229 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8233 """__str__(BoundedGridRange6D self) -> std::string"""
8234 return _IMP_algebra.BoundedGridRange6D___str__(self)
8238 """__repr__(BoundedGridRange6D self) -> std::string"""
8239 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8242 def __cmp__(self, arg2):
8243 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8244 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8247 def __eq__(self, arg2):
8248 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8249 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8251 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8252 __del__ =
lambda self:
None
8253 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8254 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8256 def BoundedGridRange6D_get_is_bounded():
8257 """BoundedGridRange6D_get_is_bounded() -> bool"""
8258 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8260 class BoundedGridRangeKD(object):
8261 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8265 def get_is_bounded():
8266 """get_is_bounded() -> bool"""
8267 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8269 get_is_bounded = staticmethod(get_is_bounded)
8271 def __init__(self, *args):
8273 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8274 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8276 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8278 self.this.append(this)
8279 except __builtin__.Exception:
8282 def get_number_of_voxels(self, *args):
8284 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8285 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8287 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8290 def get_end_index(self):
8291 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8292 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8295 def show(self, *args):
8297 show(BoundedGridRangeKD self, _ostream out)
8298 show(BoundedGridRangeKD self)
8300 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8303 def get_all_indexes(self):
8304 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8305 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8309 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8310 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8313 def get_extended_indexes(self, lb, ub):
8314 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8315 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8319 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8320 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8323 def get_has_index(self, v):
8324 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8325 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8328 def get_minimum_extended_index(self):
8329 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8330 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8333 def get_maximum_extended_index(self):
8334 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8335 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8339 """__str__(BoundedGridRangeKD self) -> std::string"""
8340 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8344 """__repr__(BoundedGridRangeKD self) -> std::string"""
8345 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8348 def __cmp__(self, arg2):
8349 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8350 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8353 def __eq__(self, arg2):
8354 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8355 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8357 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8358 __del__ =
lambda self:
None
8359 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8360 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8362 def BoundedGridRangeKD_get_is_bounded():
8363 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8364 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8366 class UnboundedGridRange1D(object):
8367 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8369 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8371 def __init__(self, *args):
8373 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8374 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8376 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8378 self.this.append(this)
8379 except __builtin__.Exception:
8382 def set_number_of_voxels(self, arg2):
8383 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8384 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8387 def get_number_of_voxels(self, arg2):
8388 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8389 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8392 def get_is_bounded():
8393 """get_is_bounded() -> bool"""
8394 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8396 get_is_bounded = staticmethod(get_is_bounded)
8398 def get_has_index(self, arg2):
8399 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8400 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8403 def show(self, *args):
8405 show(UnboundedGridRange1D self, _ostream out)
8406 show(UnboundedGridRange1D self)
8408 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8411 def get_extended_indexes(self, lb, ub):
8412 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8413 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8417 """__str__(UnboundedGridRange1D self) -> std::string"""
8418 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8422 """__repr__(UnboundedGridRange1D self) -> std::string"""
8423 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8426 def __cmp__(self, arg2):
8427 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8428 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8431 def __eq__(self, arg2):
8432 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8433 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8435 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8436 __del__ =
lambda self:
None
8437 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8438 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8440 def UnboundedGridRange1D_get_is_bounded():
8441 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8442 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8444 class UnboundedGridRange2D(object):
8445 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8447 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8449 def __init__(self, *args):
8451 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8452 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8454 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8456 self.this.append(this)
8457 except __builtin__.Exception:
8460 def set_number_of_voxels(self, arg2):
8461 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8462 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8465 def get_number_of_voxels(self, arg2):
8466 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8467 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8470 def get_is_bounded():
8471 """get_is_bounded() -> bool"""
8472 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8474 get_is_bounded = staticmethod(get_is_bounded)
8476 def get_has_index(self, arg2):
8477 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8478 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8481 def show(self, *args):
8483 show(UnboundedGridRange2D self, _ostream out)
8484 show(UnboundedGridRange2D self)
8486 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8489 def get_extended_indexes(self, lb, ub):
8490 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8491 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8495 """__str__(UnboundedGridRange2D self) -> std::string"""
8496 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8500 """__repr__(UnboundedGridRange2D self) -> std::string"""
8501 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8504 def __cmp__(self, arg2):
8505 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8506 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8509 def __eq__(self, arg2):
8510 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8511 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8513 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8514 __del__ =
lambda self:
None
8515 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8516 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8518 def UnboundedGridRange2D_get_is_bounded():
8519 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8520 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8522 class UnboundedGridRange3D(object):
8523 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8525 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8527 def __init__(self, *args):
8529 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8530 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8532 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8534 self.this.append(this)
8535 except __builtin__.Exception:
8538 def set_number_of_voxels(self, arg2):
8539 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8540 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8543 def get_number_of_voxels(self, arg2):
8544 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8545 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8548 def get_is_bounded():
8549 """get_is_bounded() -> bool"""
8550 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8552 get_is_bounded = staticmethod(get_is_bounded)
8554 def get_has_index(self, arg2):
8555 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8556 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8559 def show(self, *args):
8561 show(UnboundedGridRange3D self, _ostream out)
8562 show(UnboundedGridRange3D self)
8564 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8567 def get_extended_indexes(self, lb, ub):
8568 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8569 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8573 """__str__(UnboundedGridRange3D self) -> std::string"""
8574 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8578 """__repr__(UnboundedGridRange3D self) -> std::string"""
8579 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8582 def __cmp__(self, arg2):
8583 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8584 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8587 def __eq__(self, arg2):
8588 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8589 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8591 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8592 __del__ =
lambda self:
None
8593 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8594 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8596 def UnboundedGridRange3D_get_is_bounded():
8597 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8598 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8600 class UnboundedGridRange4D(object):
8601 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8605 def __init__(self, *args):
8607 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8608 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8610 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8612 self.this.append(this)
8613 except __builtin__.Exception:
8616 def set_number_of_voxels(self, arg2):
8617 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8618 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8621 def get_number_of_voxels(self, arg2):
8622 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8623 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8626 def get_is_bounded():
8627 """get_is_bounded() -> bool"""
8628 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8630 get_is_bounded = staticmethod(get_is_bounded)
8632 def get_has_index(self, arg2):
8633 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8634 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8637 def show(self, *args):
8639 show(UnboundedGridRange4D self, _ostream out)
8640 show(UnboundedGridRange4D self)
8642 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8645 def get_extended_indexes(self, lb, ub):
8646 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8647 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8651 """__str__(UnboundedGridRange4D self) -> std::string"""
8652 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8656 """__repr__(UnboundedGridRange4D self) -> std::string"""
8657 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8660 def __cmp__(self, arg2):
8661 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8662 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8665 def __eq__(self, arg2):
8666 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8667 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8669 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8670 __del__ =
lambda self:
None
8671 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8672 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8674 def UnboundedGridRange4D_get_is_bounded():
8675 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8676 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8678 class UnboundedGridRange5D(object):
8679 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8683 def __init__(self, *args):
8685 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8686 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8688 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8690 self.this.append(this)
8691 except __builtin__.Exception:
8694 def set_number_of_voxels(self, arg2):
8695 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8696 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8699 def get_number_of_voxels(self, arg2):
8700 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8701 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8704 def get_is_bounded():
8705 """get_is_bounded() -> bool"""
8706 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8708 get_is_bounded = staticmethod(get_is_bounded)
8710 def get_has_index(self, arg2):
8711 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8712 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8715 def show(self, *args):
8717 show(UnboundedGridRange5D self, _ostream out)
8718 show(UnboundedGridRange5D self)
8720 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8723 def get_extended_indexes(self, lb, ub):
8724 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8725 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8729 """__str__(UnboundedGridRange5D self) -> std::string"""
8730 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8734 """__repr__(UnboundedGridRange5D self) -> std::string"""
8735 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8738 def __cmp__(self, arg2):
8739 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8740 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8743 def __eq__(self, arg2):
8744 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8745 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8747 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8748 __del__ =
lambda self:
None
8749 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8750 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8752 def UnboundedGridRange5D_get_is_bounded():
8753 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8754 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8756 class UnboundedGridRange6D(object):
8757 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8759 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8761 def __init__(self, *args):
8763 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8764 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8766 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8768 self.this.append(this)
8769 except __builtin__.Exception:
8772 def set_number_of_voxels(self, arg2):
8773 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8774 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8777 def get_number_of_voxels(self, arg2):
8778 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8779 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8782 def get_is_bounded():
8783 """get_is_bounded() -> bool"""
8784 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8786 get_is_bounded = staticmethod(get_is_bounded)
8788 def get_has_index(self, arg2):
8789 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8790 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8793 def show(self, *args):
8795 show(UnboundedGridRange6D self, _ostream out)
8796 show(UnboundedGridRange6D self)
8798 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8801 def get_extended_indexes(self, lb, ub):
8802 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8803 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8807 """__str__(UnboundedGridRange6D self) -> std::string"""
8808 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8812 """__repr__(UnboundedGridRange6D self) -> std::string"""
8813 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8816 def __cmp__(self, arg2):
8817 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8818 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8821 def __eq__(self, arg2):
8822 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8823 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8825 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8826 __del__ =
lambda self:
None
8827 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8828 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8830 def UnboundedGridRange6D_get_is_bounded():
8831 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8832 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8834 class UnboundedGridRangeKD(object):
8835 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8837 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8839 def __init__(self, *args):
8841 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8842 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8844 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8846 self.this.append(this)
8847 except __builtin__.Exception:
8850 def set_number_of_voxels(self, arg2):
8851 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8852 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8855 def get_number_of_voxels(self, arg2):
8856 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8857 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8860 def get_is_bounded():
8861 """get_is_bounded() -> bool"""
8862 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8864 get_is_bounded = staticmethod(get_is_bounded)
8866 def get_has_index(self, arg2):
8867 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8868 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8871 def show(self, *args):
8873 show(UnboundedGridRangeKD self, _ostream out)
8874 show(UnboundedGridRangeKD self)
8876 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8879 def get_extended_indexes(self, lb, ub):
8880 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8881 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8885 """__str__(UnboundedGridRangeKD self) -> std::string"""
8886 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8890 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8891 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8894 def __cmp__(self, arg2):
8895 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8896 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8899 def __eq__(self, arg2):
8900 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8901 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8903 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8904 __del__ =
lambda self:
None
8905 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8906 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8908 def UnboundedGridRangeKD_get_is_bounded():
8909 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8910 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8912 class DefaultEmbedding1D(object):
8913 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8917 def __init__(self, *args):
8919 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8920 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8922 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8924 self.this.append(this)
8925 except __builtin__.Exception:
8928 def set_origin(self, o):
8929 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8930 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8933 def get_origin(self):
8934 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8935 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8938 def get_dimension(self):
8939 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8940 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8943 def set_unit_cell(self, o):
8944 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8945 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8948 def get_inverse_unit_cell(self):
8949 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8950 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8953 def get_unit_cell(self):
8954 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8955 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8958 def get_extended_index(self, o):
8959 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8960 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8964 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8965 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8968 def get_center(self, *args):
8970 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8971 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8973 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8976 def get_bounding_box(self, *args):
8978 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8979 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8981 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8984 def show(self, *args):
8986 show(DefaultEmbedding1D self, _ostream out)
8987 show(DefaultEmbedding1D self)
8989 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8993 """__str__(DefaultEmbedding1D self) -> std::string"""
8994 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8998 """__repr__(DefaultEmbedding1D self) -> std::string"""
8999 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9002 def __cmp__(self, arg2):
9003 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9004 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9007 def __eq__(self, arg2):
9008 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9009 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9011 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9012 __del__ =
lambda self:
None
9013 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9014 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9016 class DefaultEmbedding2D(object):
9017 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
9019 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9021 def __init__(self, *args):
9023 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9024 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9026 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9028 self.this.append(this)
9029 except __builtin__.Exception:
9032 def set_origin(self, o):
9033 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9034 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9037 def get_origin(self):
9038 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9039 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9042 def get_dimension(self):
9043 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9044 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9047 def set_unit_cell(self, o):
9048 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9049 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9052 def get_inverse_unit_cell(self):
9053 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9054 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9057 def get_unit_cell(self):
9058 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9059 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9062 def get_extended_index(self, o):
9063 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9064 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9068 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9069 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9072 def get_center(self, *args):
9074 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9075 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9077 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9080 def get_bounding_box(self, *args):
9082 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9083 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9085 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9088 def show(self, *args):
9090 show(DefaultEmbedding2D self, _ostream out)
9091 show(DefaultEmbedding2D self)
9093 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9097 """__str__(DefaultEmbedding2D self) -> std::string"""
9098 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9102 """__repr__(DefaultEmbedding2D self) -> std::string"""
9103 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9106 def __cmp__(self, arg2):
9107 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9108 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9111 def __eq__(self, arg2):
9112 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9113 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9115 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9116 __del__ =
lambda self:
None
9117 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9118 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9120 class DefaultEmbedding3D(object):
9121 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9125 def __init__(self, *args):
9127 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9128 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9130 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9132 self.this.append(this)
9133 except __builtin__.Exception:
9136 def set_origin(self, o):
9137 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9138 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9141 def get_origin(self):
9142 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9143 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9146 def get_dimension(self):
9147 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9148 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9151 def set_unit_cell(self, o):
9152 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9153 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9156 def get_inverse_unit_cell(self):
9157 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9158 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9161 def get_unit_cell(self):
9162 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9163 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9166 def get_extended_index(self, o):
9167 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9168 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9172 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9173 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9176 def get_center(self, *args):
9178 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9179 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9181 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9184 def get_bounding_box(self, *args):
9186 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9187 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9189 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9192 def show(self, *args):
9194 show(DefaultEmbedding3D self, _ostream out)
9195 show(DefaultEmbedding3D self)
9197 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9201 """__str__(DefaultEmbedding3D self) -> std::string"""
9202 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9206 """__repr__(DefaultEmbedding3D self) -> std::string"""
9207 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9210 def __cmp__(self, arg2):
9211 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9212 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9215 def __eq__(self, arg2):
9216 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9217 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9219 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9220 __del__ =
lambda self:
None
9221 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9222 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9224 class DefaultEmbedding4D(object):
9225 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9229 def __init__(self, *args):
9231 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9232 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9234 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9236 self.this.append(this)
9237 except __builtin__.Exception:
9240 def set_origin(self, o):
9241 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9242 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9245 def get_origin(self):
9246 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9247 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9250 def get_dimension(self):
9251 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9252 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9255 def set_unit_cell(self, o):
9256 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9257 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9260 def get_inverse_unit_cell(self):
9261 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9262 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9265 def get_unit_cell(self):
9266 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9267 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9270 def get_extended_index(self, o):
9271 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9272 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9276 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9277 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9280 def get_center(self, *args):
9282 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9283 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9285 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9288 def get_bounding_box(self, *args):
9290 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9291 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9293 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9296 def show(self, *args):
9298 show(DefaultEmbedding4D self, _ostream out)
9299 show(DefaultEmbedding4D self)
9301 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9305 """__str__(DefaultEmbedding4D self) -> std::string"""
9306 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9310 """__repr__(DefaultEmbedding4D self) -> std::string"""
9311 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9314 def __cmp__(self, arg2):
9315 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9316 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9319 def __eq__(self, arg2):
9320 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9321 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9323 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9324 __del__ =
lambda self:
None
9325 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9326 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9328 class DefaultEmbedding5D(object):
9329 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9333 def __init__(self, *args):
9335 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9336 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9338 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9340 self.this.append(this)
9341 except __builtin__.Exception:
9344 def set_origin(self, o):
9345 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9346 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9349 def get_origin(self):
9350 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9351 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9354 def get_dimension(self):
9355 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9356 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9359 def set_unit_cell(self, o):
9360 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9361 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9364 def get_inverse_unit_cell(self):
9365 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9366 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9369 def get_unit_cell(self):
9370 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9371 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9374 def get_extended_index(self, o):
9375 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9376 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9380 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9381 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9384 def get_center(self, *args):
9386 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9387 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9389 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9392 def get_bounding_box(self, *args):
9394 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9395 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9397 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9400 def show(self, *args):
9402 show(DefaultEmbedding5D self, _ostream out)
9403 show(DefaultEmbedding5D self)
9405 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9409 """__str__(DefaultEmbedding5D self) -> std::string"""
9410 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9414 """__repr__(DefaultEmbedding5D self) -> std::string"""
9415 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9418 def __cmp__(self, arg2):
9419 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9420 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9423 def __eq__(self, arg2):
9424 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9425 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9427 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9428 __del__ =
lambda self:
None
9429 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9430 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9432 class DefaultEmbedding6D(object):
9433 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9435 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9437 def __init__(self, *args):
9439 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9440 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9442 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9444 self.this.append(this)
9445 except __builtin__.Exception:
9448 def set_origin(self, o):
9449 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9450 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9453 def get_origin(self):
9454 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9455 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9458 def get_dimension(self):
9459 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9460 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9463 def set_unit_cell(self, o):
9464 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9465 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9468 def get_inverse_unit_cell(self):
9469 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9470 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9473 def get_unit_cell(self):
9474 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9475 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9478 def get_extended_index(self, o):
9479 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9480 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9484 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9485 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9488 def get_center(self, *args):
9490 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9491 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9493 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9496 def get_bounding_box(self, *args):
9498 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9499 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9501 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9504 def show(self, *args):
9506 show(DefaultEmbedding6D self, _ostream out)
9507 show(DefaultEmbedding6D self)
9509 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9513 """__str__(DefaultEmbedding6D self) -> std::string"""
9514 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9518 """__repr__(DefaultEmbedding6D self) -> std::string"""
9519 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9522 def __cmp__(self, arg2):
9523 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9524 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9527 def __eq__(self, arg2):
9528 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9529 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9531 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9532 __del__ =
lambda self:
None
9533 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9534 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9536 class DefaultEmbeddingKD(object):
9537 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9539 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9541 def __init__(self, *args):
9543 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9544 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9546 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9548 self.this.append(this)
9549 except __builtin__.Exception:
9552 def set_origin(self, o):
9553 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9554 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9557 def get_origin(self):
9558 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9559 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9562 def get_dimension(self):
9563 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9564 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9567 def set_unit_cell(self, o):
9568 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9569 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9572 def get_inverse_unit_cell(self):
9573 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9574 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9577 def get_unit_cell(self):
9578 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9579 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9582 def get_extended_index(self, o):
9583 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9584 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9588 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9589 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9592 def get_center(self, *args):
9594 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9595 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9597 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9600 def get_bounding_box(self, *args):
9602 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9603 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9605 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9608 def show(self, *args):
9610 show(DefaultEmbeddingKD self, _ostream out)
9611 show(DefaultEmbeddingKD self)
9613 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9617 """__str__(DefaultEmbeddingKD self) -> std::string"""
9618 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9622 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9623 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9626 def __cmp__(self, arg2):
9627 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9628 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9631 def __eq__(self, arg2):
9632 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9633 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9635 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9636 __del__ =
lambda self:
None
9637 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9638 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9640 class LogEmbedding1D(object):
9641 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9643 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9645 def __init__(self, *args):
9647 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9648 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9649 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9650 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9651 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9653 this = _IMP_algebra.new_LogEmbedding1D(*args)
9655 self.this.append(this)
9656 except __builtin__.Exception:
9659 def set_origin(self, o):
9660 """set_origin(LogEmbedding1D self, Vector1D o)"""
9661 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9664 def get_origin(self):
9665 """get_origin(LogEmbedding1D self) -> Vector1D"""
9666 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9669 def get_dimension(self):
9670 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9671 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9674 def set_unit_cell(self, *args):
9676 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9677 set_unit_cell(LogEmbedding1D self, Vector1D o)
9679 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9682 def get_unit_cell(self):
9683 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9684 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9687 def get_extended_index(self, o):
9688 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9689 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9693 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9694 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9697 def get_center(self, *args):
9699 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9700 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9702 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9705 def get_bounding_box(self, *args):
9707 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9708 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9710 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9713 def show(self, *args):
9715 show(LogEmbedding1D self, _ostream out)
9716 show(LogEmbedding1D self)
9718 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9722 """__str__(LogEmbedding1D self) -> std::string"""
9723 return _IMP_algebra.LogEmbedding1D___str__(self)
9727 """__repr__(LogEmbedding1D self) -> std::string"""
9728 return _IMP_algebra.LogEmbedding1D___repr__(self)
9731 def __cmp__(self, arg2):
9732 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9733 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9736 def __eq__(self, arg2):
9737 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9738 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9740 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9741 __del__ =
lambda self:
None
9742 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9743 LogEmbedding1D_swigregister(LogEmbedding1D)
9745 class LogEmbedding2D(object):
9746 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9750 def __init__(self, *args):
9752 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9753 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9754 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9755 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9756 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9758 this = _IMP_algebra.new_LogEmbedding2D(*args)
9760 self.this.append(this)
9761 except __builtin__.Exception:
9764 def set_origin(self, o):
9765 """set_origin(LogEmbedding2D self, Vector2D o)"""
9766 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9769 def get_origin(self):
9770 """get_origin(LogEmbedding2D self) -> Vector2D"""
9771 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9774 def get_dimension(self):
9775 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9776 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9779 def set_unit_cell(self, *args):
9781 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9782 set_unit_cell(LogEmbedding2D self, Vector2D o)
9784 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9787 def get_unit_cell(self):
9788 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9789 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9792 def get_extended_index(self, o):
9793 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9794 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9798 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9799 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9802 def get_center(self, *args):
9804 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9805 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9807 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9810 def get_bounding_box(self, *args):
9812 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9813 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9815 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9818 def show(self, *args):
9820 show(LogEmbedding2D self, _ostream out)
9821 show(LogEmbedding2D self)
9823 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9827 """__str__(LogEmbedding2D self) -> std::string"""
9828 return _IMP_algebra.LogEmbedding2D___str__(self)
9832 """__repr__(LogEmbedding2D self) -> std::string"""
9833 return _IMP_algebra.LogEmbedding2D___repr__(self)
9836 def __cmp__(self, arg2):
9837 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9838 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9841 def __eq__(self, arg2):
9842 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9843 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9845 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9846 __del__ =
lambda self:
None
9847 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9848 LogEmbedding2D_swigregister(LogEmbedding2D)
9850 class LogEmbedding4D(object):
9851 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9855 def __init__(self, *args):
9857 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9858 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9859 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9860 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9861 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9863 this = _IMP_algebra.new_LogEmbedding4D(*args)
9865 self.this.append(this)
9866 except __builtin__.Exception:
9869 def set_origin(self, o):
9870 """set_origin(LogEmbedding4D self, Vector4D o)"""
9871 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9874 def get_origin(self):
9875 """get_origin(LogEmbedding4D self) -> Vector4D"""
9876 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9879 def get_dimension(self):
9880 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9881 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9884 def set_unit_cell(self, *args):
9886 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9887 set_unit_cell(LogEmbedding4D self, Vector4D o)
9889 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9892 def get_unit_cell(self):
9893 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9894 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9897 def get_extended_index(self, o):
9898 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9899 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9903 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9904 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9907 def get_center(self, *args):
9909 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9910 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9912 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9915 def get_bounding_box(self, *args):
9917 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9918 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9920 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9923 def show(self, *args):
9925 show(LogEmbedding4D self, _ostream out)
9926 show(LogEmbedding4D self)
9928 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9932 """__str__(LogEmbedding4D self) -> std::string"""
9933 return _IMP_algebra.LogEmbedding4D___str__(self)
9937 """__repr__(LogEmbedding4D self) -> std::string"""
9938 return _IMP_algebra.LogEmbedding4D___repr__(self)
9941 def __cmp__(self, arg2):
9942 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9943 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9946 def __eq__(self, arg2):
9947 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9948 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9950 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9951 __del__ =
lambda self:
None
9952 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9953 LogEmbedding4D_swigregister(LogEmbedding4D)
9955 class LogEmbedding5D(object):
9956 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9960 def __init__(self, *args):
9962 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9963 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9964 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9965 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9966 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9968 this = _IMP_algebra.new_LogEmbedding5D(*args)
9970 self.this.append(this)
9971 except __builtin__.Exception:
9974 def set_origin(self, o):
9975 """set_origin(LogEmbedding5D self, Vector5D o)"""
9976 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9979 def get_origin(self):
9980 """get_origin(LogEmbedding5D self) -> Vector5D"""
9981 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9984 def get_dimension(self):
9985 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9986 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9989 def set_unit_cell(self, *args):
9991 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9992 set_unit_cell(LogEmbedding5D self, Vector5D o)
9994 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9997 def get_unit_cell(self):
9998 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9999 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10002 def get_extended_index(self, o):
10003 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10004 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10008 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10009 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10012 def get_center(self, *args):
10014 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10015 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10017 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10020 def get_bounding_box(self, *args):
10022 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10023 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10025 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10028 def show(self, *args):
10030 show(LogEmbedding5D self, _ostream out)
10031 show(LogEmbedding5D self)
10033 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10037 """__str__(LogEmbedding5D self) -> std::string"""
10038 return _IMP_algebra.LogEmbedding5D___str__(self)
10041 def __repr__(self):
10042 """__repr__(LogEmbedding5D self) -> std::string"""
10043 return _IMP_algebra.LogEmbedding5D___repr__(self)
10046 def __cmp__(self, arg2):
10047 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10048 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10051 def __eq__(self, arg2):
10052 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10053 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10055 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10056 __del__ =
lambda self:
None
10057 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10058 LogEmbedding5D_swigregister(LogEmbedding5D)
10060 class LogEmbedding6D(object):
10061 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10063 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10065 def __init__(self, *args):
10067 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10068 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10069 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10070 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10071 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10073 this = _IMP_algebra.new_LogEmbedding6D(*args)
10075 self.this.append(this)
10076 except __builtin__.Exception:
10079 def set_origin(self, o):
10080 """set_origin(LogEmbedding6D self, Vector6D o)"""
10081 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10084 def get_origin(self):
10085 """get_origin(LogEmbedding6D self) -> Vector6D"""
10086 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10089 def get_dimension(self):
10090 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10091 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10094 def set_unit_cell(self, *args):
10096 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10097 set_unit_cell(LogEmbedding6D self, Vector6D o)
10099 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10102 def get_unit_cell(self):
10103 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10104 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10107 def get_extended_index(self, o):
10108 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10109 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10113 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10114 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10117 def get_center(self, *args):
10119 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10120 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10122 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10125 def get_bounding_box(self, *args):
10127 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10128 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10130 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10133 def show(self, *args):
10135 show(LogEmbedding6D self, _ostream out)
10136 show(LogEmbedding6D self)
10138 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10142 """__str__(LogEmbedding6D self) -> std::string"""
10143 return _IMP_algebra.LogEmbedding6D___str__(self)
10146 def __repr__(self):
10147 """__repr__(LogEmbedding6D self) -> std::string"""
10148 return _IMP_algebra.LogEmbedding6D___repr__(self)
10151 def __cmp__(self, arg2):
10152 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10153 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10156 def __eq__(self, arg2):
10157 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10158 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10160 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10161 __del__ =
lambda self:
None
10162 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10163 LogEmbedding6D_swigregister(LogEmbedding6D)
10165 class SpherePatch3D(_GeometricPrimitive3D):
10166 """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10168 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10170 def __init__(self, *args):
10172 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10173 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10175 this = _IMP_algebra.new_SpherePatch3D(*args)
10177 self.this.append(this)
10178 except __builtin__.Exception:
10181 def get_contains(self, p):
10182 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10183 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10186 def get_plane(self):
10187 """get_plane(SpherePatch3D self) -> Plane3D"""
10188 return _IMP_algebra.SpherePatch3D_get_plane(self)
10191 def get_sphere(self):
10192 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10193 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10196 def show(self, *args):
10198 show(SpherePatch3D self, _ostream out)
10199 show(SpherePatch3D self)
10201 return _IMP_algebra.SpherePatch3D_show(self, *args)
10204 def get_boundary_point(self):
10205 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10206 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10210 """__str__(SpherePatch3D self) -> std::string"""
10211 return _IMP_algebra.SpherePatch3D___str__(self)
10214 def __repr__(self):
10215 """__repr__(SpherePatch3D self) -> std::string"""
10216 return _IMP_algebra.SpherePatch3D___repr__(self)
10218 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10219 __del__ =
lambda self:
None
10220 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10221 SpherePatch3D_swigregister(SpherePatch3D)
10226 get_area(Plane3D g) -> double
10227 get_area(SpherePatch3D g) -> double
10229 return _IMP_algebra.get_area(*args)
10231 def get_sphere_patch_3d_geometry(g):
10232 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10233 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10234 class Cone3D(_GeometricPrimitive3D):
10235 """Proxy of C++ IMP::algebra::Cone3D class."""
10237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10239 def __init__(self, *args):
10241 __init__(IMP::algebra::Cone3D self) -> Cone3D
10242 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10244 this = _IMP_algebra.new_Cone3D(*args)
10246 self.this.append(this)
10247 except __builtin__.Exception:
10251 """get_tip(Cone3D self) -> Vector3D"""
10252 return _IMP_algebra.Cone3D_get_tip(self)
10255 def get_direction(self):
10256 """get_direction(Cone3D self) -> Vector3D"""
10257 return _IMP_algebra.Cone3D_get_direction(self)
10261 """get_height(Cone3D self) -> double"""
10262 return _IMP_algebra.Cone3D_get_height(self)
10266 """get_angle(Cone3D self) -> double"""
10267 return _IMP_algebra.Cone3D_get_angle(self)
10270 def get_radius(self):
10271 """get_radius(Cone3D self) -> double"""
10272 return _IMP_algebra.Cone3D_get_radius(self)
10275 def get_contains(self, v):
10276 """get_contains(Cone3D self, Vector3D v) -> bool"""
10277 return _IMP_algebra.Cone3D_get_contains(self, v)
10280 def get_base_plane(self):
10281 """get_base_plane(Cone3D self) -> Plane3D"""
10282 return _IMP_algebra.Cone3D_get_base_plane(self)
10285 def show(self, *args):
10287 show(Cone3D self, _ostream out)
10290 return _IMP_algebra.Cone3D_show(self, *args)
10294 """__str__(Cone3D self) -> std::string"""
10295 return _IMP_algebra.Cone3D___str__(self)
10298 def __repr__(self):
10299 """__repr__(Cone3D self) -> std::string"""
10300 return _IMP_algebra.Cone3D___repr__(self)
10302 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10303 __del__ =
lambda self:
None
10304 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10305 Cone3D_swigregister(Cone3D)
10310 get_surface_area(BoundingBox3D g) -> double
10311 get_surface_area(Sphere3D g) -> double
10312 get_surface_area(Cylinder3D g) -> double
10313 get_surface_area(Ellipsoid3D g) -> double
10314 get_surface_area(Cone3D g) -> double
10316 return _IMP_algebra.get_surface_area(*args)
10320 get_volume(BoundingBox3D g) -> double
10321 get_volume(Sphere3D g) -> double
10322 get_volume(Cylinder3D g) -> double
10323 get_volume(Ellipsoid3D g) -> double
10324 get_volume(Cone3D g) -> double
10326 return _IMP_algebra.get_volume(*args)
10328 def get_cone_3d_geometry(g):
10329 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10330 return _IMP_algebra.get_cone_3d_geometry(g)
10333 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10334 return _IMP_algebra.write_pts(vs, out)
10337 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10338 return _IMP_algebra.read_pts(input)
10341 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10342 return _IMP_algebra.write_spheres(vs, out)
10345 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10346 return _IMP_algebra.read_spheres(input)
10349 """get_random_vector_on_unit_sphere() -> Vector3D"""
10350 return _IMP_algebra.get_random_vector_on_unit_sphere()
10353 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10354 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10358 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10359 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10360 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10362 return _IMP_algebra.get_random_chain(*args)
10365 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10366 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10370 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10371 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10373 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10376 """get_is_big_endian() -> bool"""
10377 return _IMP_algebra.get_is_big_endian()
10380 """get_is_little_endian() -> bool"""
10381 return _IMP_algebra.get_is_little_endian()
10385 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10386 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10388 return _IMP_algebra.get_shortest_segment(*args)
10390 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10392 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10394 def __init__(self, vs, query_estimate=1):
10396 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10397 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10399 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10401 self.this.append(this)
10402 except __builtin__.Exception:
10405 def get_in_ball(self, id, distance):
10406 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10407 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10410 def set_coordinates(self, id, nc):
10411 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10412 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10415 def get_version_info(self):
10416 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10417 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10421 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10422 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10425 def __repr__(self):
10426 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10427 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10432 return _object_cast_to_DynamicNearestNeighbor3D(o)
10434 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10435 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10438 """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10440 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10442 def __init__(self, name):
10443 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10444 if self.__class__ == VectorKDMetric:
10448 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10450 self.this.append(this)
10451 except __builtin__.Exception:
10454 if self.__class__ != VectorKDMetric:
10455 _director_objects.register(self)
10461 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10462 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10466 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10467 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10471 """__str__(VectorKDMetric self) -> std::string"""
10472 return _IMP_algebra.VectorKDMetric___str__(self)
10475 def __repr__(self):
10476 """__repr__(VectorKDMetric self) -> std::string"""
10477 return _IMP_algebra.VectorKDMetric___repr__(self)
10482 return _object_cast_to_VectorKDMetric(o)
10485 def get_type_name(self):
10486 return self.__class__.__name__
10487 def do_show(self, out):
10489 def get_version_info(self):
10490 if"IMP::algebra" ==
"IMP":
10491 return VersionInfo(self.__module__,
10492 __import__(self.__module__).get_module_version())
10495 __import__(self.__module__).get_module_version())
10498 return _object_cast_to_VectorKDMetric(o)
10500 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10501 __del__ =
lambda self:
None
10502 def __disown__(self):
10504 _IMP_algebra.disown_VectorKDMetric(self)
10505 return weakref_proxy(self)
10507 def do_destroy(self):
10508 """do_destroy(VectorKDMetric self)"""
10509 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10511 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10512 VectorKDMetric_swigregister(VectorKDMetric)
10514 class EuclideanVectorKDMetric(VectorKDMetric):
10515 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10519 def __init__(self, *args):
10521 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10522 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10524 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10526 self.this.append(this)
10527 except __builtin__.Exception:
10530 def get_version_info(self):
10531 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10532 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10536 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10537 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10540 def __repr__(self):
10541 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10542 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10547 return _object_cast_to_EuclideanVectorKDMetric(o)
10549 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10550 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10552 class MaxVectorKDMetric(VectorKDMetric):
10553 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10557 def __init__(self, *args):
10559 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10560 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10562 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10564 self.this.append(this)
10565 except __builtin__.Exception:
10568 def get_version_info(self):
10569 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10570 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10574 """__str__(MaxVectorKDMetric self) -> std::string"""
10575 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10578 def __repr__(self):
10579 """__repr__(MaxVectorKDMetric self) -> std::string"""
10580 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10585 return _object_cast_to_MaxVectorKDMetric(o)
10587 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10588 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10590 class Gaussian3D(_GeometricPrimitive3D):
10591 """Proxy of C++ IMP::algebra::Gaussian3D class."""
10593 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10595 def __init__(self, *args):
10597 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10598 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10600 this = _IMP_algebra.new_Gaussian3D(*args)
10602 self.this.append(this)
10603 except __builtin__.Exception:
10606 def get_reference_frame(self):
10607 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10608 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10611 def get_variances(self):
10612 """get_variances(Gaussian3D self) -> Vector3D"""
10613 return _IMP_algebra.Gaussian3D_get_variances(self)
10616 def get_center(self):
10617 """get_center(Gaussian3D self) -> Vector3D"""
10618 return _IMP_algebra.Gaussian3D_get_center(self)
10621 def show(self, *args):
10623 show(Gaussian3D self, _ostream out)
10624 show(Gaussian3D self)
10626 return _IMP_algebra.Gaussian3D_show(self, *args)
10630 """__str__(Gaussian3D self) -> std::string"""
10631 return _IMP_algebra.Gaussian3D___str__(self)
10634 def __repr__(self):
10635 """__repr__(Gaussian3D self) -> std::string"""
10636 return _IMP_algebra.Gaussian3D___repr__(self)
10638 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10639 __del__ =
lambda self:
None
10640 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10641 Gaussian3D_swigregister(Gaussian3D)
10645 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
10646 return _IMP_algebra.get_covariance(g)
10649 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10650 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10653 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10654 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10658 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10659 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10661 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10663 def _pass_matrix_xf(m):
10664 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
10665 return _IMP_algebra._pass_matrix_xf(m)
10667 def _pass_matrix_xd(m):
10668 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
10669 return _IMP_algebra._pass_matrix_xd(m)
10671 def _pass_matrix_3d(m):
10672 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
10673 return _IMP_algebra._pass_matrix_3d(m)
10675 def _pass_array_xd(m):
10676 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
10677 return _IMP_algebra._pass_array_xd(m)
10679 def _pass_vector_xd(m):
10680 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
10681 return _IMP_algebra._pass_vector_xd(m)
10683 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10685 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10687 def __init__(self, vs, epsilon=0):
10689 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10690 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10692 this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10694 self.this.append(this)
10695 except __builtin__.Exception:
10698 def set_query_log(self, fname):
10699 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10700 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10703 def get_nearest_neighbor(self, *args):
10705 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10706 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10708 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10711 def get_nearest_neighbors(self, *args):
10713 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10714 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10716 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10719 def get_in_ball(self, *args):
10721 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10722 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10724 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10727 def get_version_info(self):
10728 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10729 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10733 """__str__(NearestNeighbor1D self) -> std::string"""
10734 return _IMP_algebra.NearestNeighbor1D___str__(self)
10737 def __repr__(self):
10738 """__repr__(NearestNeighbor1D self) -> std::string"""
10739 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10744 return _object_cast_to_NearestNeighborD(o)
10746 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10747 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10750 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10752 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10754 def __init__(self, vs, epsilon=0):
10756 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10757 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10759 this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10761 self.this.append(this)
10762 except __builtin__.Exception:
10765 def set_query_log(self, fname):
10766 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10767 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10770 def get_nearest_neighbor(self, *args):
10772 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10773 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10775 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10778 def get_nearest_neighbors(self, *args):
10780 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10781 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10783 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10786 def get_in_ball(self, *args):
10788 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10789 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10791 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10794 def get_version_info(self):
10795 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10796 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10800 """__str__(NearestNeighbor2D self) -> std::string"""
10801 return _IMP_algebra.NearestNeighbor2D___str__(self)
10804 def __repr__(self):
10805 """__repr__(NearestNeighbor2D self) -> std::string"""
10806 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10811 return _object_cast_to_NearestNeighborD(o)
10813 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10814 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10817 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10819 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10821 def __init__(self, vs, epsilon=0):
10823 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10824 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10826 this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10828 self.this.append(this)
10829 except __builtin__.Exception:
10832 def set_query_log(self, fname):
10833 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10834 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10837 def get_nearest_neighbor(self, *args):
10839 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10840 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10842 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10845 def get_nearest_neighbors(self, *args):
10847 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10848 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10850 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10853 def get_in_ball(self, *args):
10855 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10856 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10858 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10861 def get_version_info(self):
10862 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10863 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10867 """__str__(NearestNeighbor3D self) -> std::string"""
10868 return _IMP_algebra.NearestNeighbor3D___str__(self)
10871 def __repr__(self):
10872 """__repr__(NearestNeighbor3D self) -> std::string"""
10873 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10878 return _object_cast_to_NearestNeighborD(o)
10880 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10881 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10884 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10888 def __init__(self, vs, epsilon=0):
10890 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10891 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10893 this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10895 self.this.append(this)
10896 except __builtin__.Exception:
10899 def set_query_log(self, fname):
10900 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10901 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10904 def get_nearest_neighbor(self, *args):
10906 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10907 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10909 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10912 def get_nearest_neighbors(self, *args):
10914 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10915 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10917 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10920 def get_in_ball(self, *args):
10922 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10923 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10925 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10928 def get_version_info(self):
10929 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10930 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10934 """__str__(NearestNeighbor4D self) -> std::string"""
10935 return _IMP_algebra.NearestNeighbor4D___str__(self)
10938 def __repr__(self):
10939 """__repr__(NearestNeighbor4D self) -> std::string"""
10940 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10945 return _object_cast_to_NearestNeighborD(o)
10947 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10948 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10951 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10953 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10955 def __init__(self, vs, epsilon=0):
10957 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10958 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10960 this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10962 self.this.append(this)
10963 except __builtin__.Exception:
10966 def set_query_log(self, fname):
10967 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10968 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10971 def get_nearest_neighbor(self, *args):
10973 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10974 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10976 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10979 def get_nearest_neighbors(self, *args):
10981 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10982 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10984 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10987 def get_in_ball(self, *args):
10989 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10990 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10992 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10995 def get_version_info(self):
10996 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10997 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11001 """__str__(NearestNeighbor5D self) -> std::string"""
11002 return _IMP_algebra.NearestNeighbor5D___str__(self)
11005 def __repr__(self):
11006 """__repr__(NearestNeighbor5D self) -> std::string"""
11007 return _IMP_algebra.NearestNeighbor5D___repr__(self)
11012 return _object_cast_to_NearestNeighborD(o)
11014 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11015 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11018 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
11020 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11022 def __init__(self, vs, epsilon=0):
11024 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11025 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11027 this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11029 self.this.append(this)
11030 except __builtin__.Exception:
11033 def set_query_log(self, fname):
11034 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11035 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11038 def get_nearest_neighbor(self, *args):
11040 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11041 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11043 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11046 def get_nearest_neighbors(self, *args):
11048 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11049 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11051 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11054 def get_in_ball(self, *args):
11056 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11057 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11059 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11062 def get_version_info(self):
11063 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11064 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11068 """__str__(NearestNeighbor6D self) -> std::string"""
11069 return _IMP_algebra.NearestNeighbor6D___str__(self)
11072 def __repr__(self):
11073 """__repr__(NearestNeighbor6D self) -> std::string"""
11074 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11079 return _object_cast_to_NearestNeighborD(o)
11081 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11082 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11085 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11087 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11089 def __init__(self, vs, epsilon=0):
11091 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11092 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11094 this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11096 self.this.append(this)
11097 except __builtin__.Exception:
11100 def set_query_log(self, fname):
11101 """set_query_log(NearestNeighborKD self, std::string fname)"""
11102 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11105 def get_nearest_neighbor(self, *args):
11107 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11108 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11110 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11113 def get_nearest_neighbors(self, *args):
11115 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11116 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11118 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11121 def get_in_ball(self, *args):
11123 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11124 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11126 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11129 def get_version_info(self):
11130 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11131 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11135 """__str__(NearestNeighborKD self) -> std::string"""
11136 return _IMP_algebra.NearestNeighborKD___str__(self)
11139 def __repr__(self):
11140 """__repr__(NearestNeighborKD self) -> std::string"""
11141 return _IMP_algebra.NearestNeighborKD___repr__(self)
11146 return _object_cast_to_NearestNeighborD(o)
11148 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11149 NearestNeighborKD_swigregister(NearestNeighborKD)
11153 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11154 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11155 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11156 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11160 def __init__(self, *args):
11162 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11163 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11165 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11167 self.this.append(this)
11168 except __builtin__.Exception:
11172 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11173 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11176 def get_principal_component(self, i):
11177 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11178 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11181 def get_principal_values(self):
11182 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11183 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11186 def get_principal_value(self, i):
11187 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11188 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11192 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11193 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11196 def set_centroid(self, cntr):
11197 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11198 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11201 def show(self, *args):
11203 show(PrincipalComponentAnalysis1D self, _ostream out)
11204 show(PrincipalComponentAnalysis1D self)
11206 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11209 def __cmp__(self, o):
11210 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11211 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11214 def __eq__(self, o):
11215 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11216 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11219 def __ne__(self, o):
11220 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11221 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11224 def __lt__(self, o):
11225 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11226 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11229 def __gt__(self, o):
11230 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11231 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11234 def __ge__(self, o):
11235 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11236 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11239 def __le__(self, o):
11240 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11241 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11245 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11246 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11249 def __repr__(self):
11250 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11251 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11253 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11254 __del__ =
lambda self:
None
11255 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11256 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11258 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11259 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11261 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11263 def __init__(self, *args):
11265 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11266 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11268 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11270 self.this.append(this)
11271 except __builtin__.Exception:
11275 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11276 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11279 def get_principal_component(self, i):
11280 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11281 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11284 def get_principal_values(self):
11285 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11286 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11289 def get_principal_value(self, i):
11290 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11291 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11295 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11296 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11299 def set_centroid(self, cntr):
11300 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11301 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11304 def show(self, *args):
11306 show(PrincipalComponentAnalysis2D self, _ostream out)
11307 show(PrincipalComponentAnalysis2D self)
11309 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11312 def __cmp__(self, o):
11313 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11314 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11317 def __eq__(self, o):
11318 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11319 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11322 def __ne__(self, o):
11323 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11324 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11327 def __lt__(self, o):
11328 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11329 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11332 def __gt__(self, o):
11333 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11334 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11337 def __ge__(self, o):
11338 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11339 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11342 def __le__(self, o):
11343 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11344 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11348 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11349 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11352 def __repr__(self):
11353 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11354 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11356 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11357 __del__ =
lambda self:
None
11358 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11359 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11361 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11362 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11364 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11366 def __init__(self, *args):
11368 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11369 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11371 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11373 self.this.append(this)
11374 except __builtin__.Exception:
11378 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11379 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11382 def get_principal_component(self, i):
11383 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11384 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11387 def get_principal_values(self):
11388 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11389 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11392 def get_principal_value(self, i):
11393 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11394 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11398 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11399 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11402 def set_centroid(self, cntr):
11403 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11404 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11407 def show(self, *args):
11409 show(PrincipalComponentAnalysis3D self, _ostream out)
11410 show(PrincipalComponentAnalysis3D self)
11412 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11415 def __cmp__(self, o):
11416 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11417 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11420 def __eq__(self, o):
11421 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11422 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11425 def __ne__(self, o):
11426 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11427 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11430 def __lt__(self, o):
11431 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11432 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11435 def __gt__(self, o):
11436 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11437 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11440 def __ge__(self, o):
11441 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11442 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11445 def __le__(self, o):
11446 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11447 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11451 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11452 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11455 def __repr__(self):
11456 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11457 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11459 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11460 __del__ =
lambda self:
None
11461 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11462 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11464 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11465 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11469 def __init__(self, *args):
11471 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11472 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11474 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11476 self.this.append(this)
11477 except __builtin__.Exception:
11481 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11482 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11485 def get_principal_component(self, i):
11486 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11487 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11490 def get_principal_values(self):
11491 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11492 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11495 def get_principal_value(self, i):
11496 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11497 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11501 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11502 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11505 def set_centroid(self, cntr):
11506 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11507 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11510 def show(self, *args):
11512 show(PrincipalComponentAnalysis4D self, _ostream out)
11513 show(PrincipalComponentAnalysis4D self)
11515 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11518 def __cmp__(self, o):
11519 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11520 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11523 def __eq__(self, o):
11524 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11525 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11528 def __ne__(self, o):
11529 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11530 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11533 def __lt__(self, o):
11534 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11535 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11538 def __gt__(self, o):
11539 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11540 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11543 def __ge__(self, o):
11544 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11545 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11548 def __le__(self, o):
11549 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11550 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11554 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11555 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11558 def __repr__(self):
11559 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11560 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11562 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11563 __del__ =
lambda self:
None
11564 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11565 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11567 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11568 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11572 def __init__(self, *args):
11574 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11575 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11577 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11579 self.this.append(this)
11580 except __builtin__.Exception:
11584 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11585 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11588 def get_principal_component(self, i):
11589 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11590 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11593 def get_principal_values(self):
11594 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11595 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11598 def get_principal_value(self, i):
11599 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11600 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11604 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11605 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11608 def set_centroid(self, cntr):
11609 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11610 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11613 def show(self, *args):
11615 show(PrincipalComponentAnalysis5D self, _ostream out)
11616 show(PrincipalComponentAnalysis5D self)
11618 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11621 def __cmp__(self, o):
11622 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11623 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11626 def __eq__(self, o):
11627 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11628 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11631 def __ne__(self, o):
11632 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11633 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11636 def __lt__(self, o):
11637 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11638 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11641 def __gt__(self, o):
11642 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11643 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11646 def __ge__(self, o):
11647 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11648 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11651 def __le__(self, o):
11652 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11653 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11657 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11658 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11661 def __repr__(self):
11662 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11663 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11665 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11666 __del__ =
lambda self:
None
11667 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11668 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11670 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11671 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11675 def __init__(self, *args):
11677 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11678 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11680 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11682 self.this.append(this)
11683 except __builtin__.Exception:
11687 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11688 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11691 def get_principal_component(self, i):
11692 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11693 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11696 def get_principal_values(self):
11697 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11698 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11701 def get_principal_value(self, i):
11702 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11703 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11707 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11708 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11711 def set_centroid(self, cntr):
11712 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11713 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11716 def show(self, *args):
11718 show(PrincipalComponentAnalysis6D self, _ostream out)
11719 show(PrincipalComponentAnalysis6D self)
11721 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11724 def __cmp__(self, o):
11725 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11726 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11729 def __eq__(self, o):
11730 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11731 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11734 def __ne__(self, o):
11735 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11736 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11739 def __lt__(self, o):
11740 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11741 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11744 def __gt__(self, o):
11745 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11746 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11749 def __ge__(self, o):
11750 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11751 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11754 def __le__(self, o):
11755 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11756 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11760 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11761 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11764 def __repr__(self):
11765 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11766 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11768 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11769 __del__ =
lambda self:
None
11770 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11771 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11773 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11774 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11778 def __init__(self, *args):
11780 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11781 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11783 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11785 self.this.append(this)
11786 except __builtin__.Exception:
11790 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11791 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11794 def get_principal_component(self, i):
11795 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11796 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11799 def get_principal_values(self):
11800 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11801 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11804 def get_principal_value(self, i):
11805 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11806 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11810 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11811 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11814 def set_centroid(self, cntr):
11815 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11816 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11819 def show(self, *args):
11821 show(PrincipalComponentAnalysisKD self, _ostream out)
11822 show(PrincipalComponentAnalysisKD self)
11824 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11827 def __cmp__(self, o):
11828 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11829 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11832 def __eq__(self, o):
11833 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11834 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11837 def __ne__(self, o):
11838 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11839 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11842 def __lt__(self, o):
11843 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11844 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11847 def __gt__(self, o):
11848 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11849 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11852 def __ge__(self, o):
11853 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11854 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11857 def __le__(self, o):
11858 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11859 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11863 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11864 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11867 def __repr__(self):
11868 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11869 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11871 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11872 __del__ =
lambda self:
None
11873 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11874 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11879 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11880 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11881 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11882 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11883 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11884 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11885 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11887 return _IMP_algebra.get_principal_components(*args)
11891 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11892 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11893 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11894 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11895 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11896 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11897 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11899 return _IMP_algebra.get_vertices(*args)
11903 get_distance(Rotation3D r0, Rotation3D r1) -> double
11904 get_distance(Line3D s, Vector3D p) -> double
11905 get_distance(Line3D a, Line3D b) -> double
11906 get_distance(Segment3D s, Vector3D p) -> double
11907 get_distance(Segment3D a, Segment3D b) -> double
11908 get_distance(Plane3D pln, Vector3D p) -> double
11909 get_distance(Vector1D a, Vector1D b) -> double
11910 get_distance(Vector2D a, Vector2D b) -> double
11911 get_distance(Vector3D a, Vector3D b) -> double
11912 get_distance(Vector4D a, Vector4D b) -> double
11913 get_distance(Vector5D a, Vector5D b) -> double
11914 get_distance(Vector6D a, Vector6D b) -> double
11915 get_distance(VectorKD a, VectorKD b) -> double
11916 get_distance(Sphere1D a, Sphere1D b) -> double
11917 get_distance(Sphere2D a, Sphere2D b) -> double
11918 get_distance(Sphere3D a, Sphere3D b) -> double
11919 get_distance(Sphere4D a, Sphere4D b) -> double
11920 get_distance(Sphere5D a, Sphere5D b) -> double
11921 get_distance(Sphere6D a, Sphere6D b) -> double
11922 get_distance(SphereKD a, SphereKD b) -> double
11924 return _IMP_algebra.get_distance(*args)
11928 get_squared_distance(Vector1D a, Vector1D b) -> double
11929 get_squared_distance(Vector2D a, Vector2D b) -> double
11930 get_squared_distance(Vector3D a, Vector3D b) -> double
11931 get_squared_distance(Vector4D a, Vector4D b) -> double
11932 get_squared_distance(Vector5D a, Vector5D b) -> double
11933 get_squared_distance(Vector6D a, Vector6D b) -> double
11934 get_squared_distance(VectorKD a, VectorKD b) -> double
11936 return _IMP_algebra.get_squared_distance(*args)
11938 def get_basis_vector_1d(coordinate):
11939 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11940 return _IMP_algebra.get_basis_vector_1d(coordinate)
11942 def get_basis_vector_2d(coordinate):
11943 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11944 return _IMP_algebra.get_basis_vector_2d(coordinate)
11946 def get_basis_vector_3d(coordinate):
11947 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11948 return _IMP_algebra.get_basis_vector_3d(coordinate)
11950 def get_basis_vector_4d(coordinate):
11951 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11952 return _IMP_algebra.get_basis_vector_4d(coordinate)
11954 def get_basis_vector_5d(coordinate):
11955 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11956 return _IMP_algebra.get_basis_vector_5d(coordinate)
11958 def get_basis_vector_6d(coordinate):
11959 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11960 return _IMP_algebra.get_basis_vector_6d(coordinate)
11962 def get_zero_vector_1d():
11963 """get_zero_vector_1d() -> Vector1D"""
11964 return _IMP_algebra.get_zero_vector_1d()
11966 def get_zero_vector_2d():
11967 """get_zero_vector_2d() -> Vector2D"""
11968 return _IMP_algebra.get_zero_vector_2d()
11970 def get_zero_vector_3d():
11971 """get_zero_vector_3d() -> Vector3D"""
11972 return _IMP_algebra.get_zero_vector_3d()
11974 def get_zero_vector_4d():
11975 """get_zero_vector_4d() -> Vector4D"""
11976 return _IMP_algebra.get_zero_vector_4d()
11978 def get_zero_vector_5d():
11979 """get_zero_vector_5d() -> Vector5D"""
11980 return _IMP_algebra.get_zero_vector_5d()
11982 def get_zero_vector_6d():
11983 """get_zero_vector_6d() -> Vector6D"""
11984 return _IMP_algebra.get_zero_vector_6d()
11986 def get_ones_vector_1d(v=1):
11988 get_ones_vector_1d(double v=1) -> Vector1D
11989 get_ones_vector_1d() -> Vector1D
11991 return _IMP_algebra.get_ones_vector_1d(v)
11993 def get_ones_vector_2d(v=1):
11995 get_ones_vector_2d(double v=1) -> Vector2D
11996 get_ones_vector_2d() -> Vector2D
11998 return _IMP_algebra.get_ones_vector_2d(v)
12000 def get_ones_vector_3d(v=1):
12002 get_ones_vector_3d(double v=1) -> Vector3D
12003 get_ones_vector_3d() -> Vector3D
12005 return _IMP_algebra.get_ones_vector_3d(v)
12007 def get_ones_vector_4d(v=1):
12009 get_ones_vector_4d(double v=1) -> Vector4D
12010 get_ones_vector_4d() -> Vector4D
12012 return _IMP_algebra.get_ones_vector_4d(v)
12014 def get_ones_vector_5d(v=1):
12016 get_ones_vector_5d(double v=1) -> Vector5D
12017 get_ones_vector_5d() -> Vector5D
12019 return _IMP_algebra.get_ones_vector_5d(v)
12021 def get_ones_vector_6d(v=1):
12023 get_ones_vector_6d(double v=1) -> Vector6D
12024 get_ones_vector_6d() -> Vector6D
12026 return _IMP_algebra.get_ones_vector_6d(v)
12028 def get_unit_bounding_box_1d():
12029 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12030 return _IMP_algebra.get_unit_bounding_box_1d()
12032 def get_unit_bounding_box_2d():
12033 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12034 return _IMP_algebra.get_unit_bounding_box_2d()
12036 def get_unit_bounding_box_3d():
12037 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12038 return _IMP_algebra.get_unit_bounding_box_3d()
12040 def get_unit_bounding_box_4d():
12041 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12042 return _IMP_algebra.get_unit_bounding_box_4d()
12044 def get_unit_bounding_box_5d():
12045 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12046 return _IMP_algebra.get_unit_bounding_box_5d()
12048 def get_unit_bounding_box_6d():
12049 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12050 return _IMP_algebra.get_unit_bounding_box_6d()
12052 def get_cube_1d(radius):
12053 """get_cube_1d(double radius) -> BoundingBox1D"""
12054 return _IMP_algebra.get_cube_1d(radius)
12056 def get_cube_2d(radius):
12057 """get_cube_2d(double radius) -> BoundingBox2D"""
12058 return _IMP_algebra.get_cube_2d(radius)
12060 def get_cube_3d(radius):
12061 """get_cube_3d(double radius) -> BoundingBox3D"""
12062 return _IMP_algebra.get_cube_3d(radius)
12064 def get_cube_4d(radius):
12065 """get_cube_4d(double radius) -> BoundingBox4D"""
12066 return _IMP_algebra.get_cube_4d(radius)
12068 def get_cube_5d(radius):
12069 """get_cube_5d(double radius) -> BoundingBox5D"""
12070 return _IMP_algebra.get_cube_5d(radius)
12072 def get_cube_6d(radius):
12073 """get_cube_6d(double radius) -> BoundingBox6D"""
12074 return _IMP_algebra.get_cube_6d(radius)
12076 def get_unit_sphere_1d():
12077 """get_unit_sphere_1d() -> Sphere1D"""
12078 return _IMP_algebra.get_unit_sphere_1d()
12080 def get_unit_sphere_2d():
12081 """get_unit_sphere_2d() -> Sphere2D"""
12082 return _IMP_algebra.get_unit_sphere_2d()
12084 def get_unit_sphere_3d():
12085 """get_unit_sphere_3d() -> Sphere3D"""
12086 return _IMP_algebra.get_unit_sphere_3d()
12088 def get_unit_sphere_4d():
12089 """get_unit_sphere_4d() -> Sphere4D"""
12090 return _IMP_algebra.get_unit_sphere_4d()
12092 def get_unit_sphere_5d():
12093 """get_unit_sphere_5d() -> Sphere5D"""
12094 return _IMP_algebra.get_unit_sphere_5d()
12096 def get_unit_sphere_6d():
12097 """get_unit_sphere_6d() -> Sphere6D"""
12098 return _IMP_algebra.get_unit_sphere_6d()
12102 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12103 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12104 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12105 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12106 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12107 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12108 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12109 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12110 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12111 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12112 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12113 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12114 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12115 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12117 return _IMP_algebra.get_interiors_intersect(*args)
12121 get_random_vector_on(Sphere1D a) -> Vector1D
12122 get_random_vector_on(Sphere2D a) -> Vector2D
12123 get_random_vector_on(Sphere3D a) -> Vector3D
12124 get_random_vector_on(Sphere4D a) -> Vector4D
12125 get_random_vector_on(Sphere5D a) -> Vector5D
12126 get_random_vector_on(Sphere6D a) -> Vector6D
12127 get_random_vector_on(SphereKD a) -> VectorKD
12128 get_random_vector_on(BoundingBox1D a) -> Vector1D
12129 get_random_vector_on(BoundingBox2D a) -> Vector2D
12130 get_random_vector_on(BoundingBox3D a) -> Vector3D
12131 get_random_vector_on(BoundingBox4D a) -> Vector4D
12132 get_random_vector_on(BoundingBox5D a) -> Vector5D
12133 get_random_vector_on(BoundingBox6D a) -> Vector6D
12134 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12136 return _IMP_algebra.get_random_vector_on(*args)
12140 get_random_vector_in(Cylinder3D c) -> Vector3D
12141 get_random_vector_in(Sphere1D a) -> Vector1D
12142 get_random_vector_in(Sphere2D a) -> Vector2D
12143 get_random_vector_in(Sphere3D a) -> Vector3D
12144 get_random_vector_in(Sphere4D a) -> Vector4D
12145 get_random_vector_in(Sphere5D a) -> Vector5D
12146 get_random_vector_in(Sphere6D a) -> Vector6D
12147 get_random_vector_in(SphereKD a) -> VectorKD
12148 get_random_vector_in(BoundingBox1D a) -> Vector1D
12149 get_random_vector_in(BoundingBox2D a) -> Vector2D
12150 get_random_vector_in(BoundingBox3D a) -> Vector3D
12151 get_random_vector_in(BoundingBox4D a) -> Vector4D
12152 get_random_vector_in(BoundingBox5D a) -> Vector5D
12153 get_random_vector_in(BoundingBox6D a) -> Vector6D
12154 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12156 return _IMP_algebra.get_random_vector_in(*args)
12160 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12161 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12162 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12163 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12164 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12165 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12166 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12168 return _IMP_algebra.get_intersection(*args)
12172 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12173 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12174 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12175 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12176 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12177 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12178 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12180 return _IMP_algebra.get_union(*args)
12182 def get_bounding_box(*args):
12184 get_bounding_box(Line3D g) -> BoundingBox3D
12185 get_bounding_box(Segment3D g) -> BoundingBox3D
12186 get_bounding_box(Plane3D g) -> BoundingBox3D
12187 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12188 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12189 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12190 get_bounding_box(Cone3D g) -> BoundingBox3D
12191 get_bounding_box(Sphere1D a) -> BoundingBox1D
12192 get_bounding_box(Sphere2D a) -> BoundingBox2D
12193 get_bounding_box(Sphere3D a) -> BoundingBox3D
12194 get_bounding_box(Sphere4D a) -> BoundingBox4D
12195 get_bounding_box(Sphere5D a) -> BoundingBox5D
12196 get_bounding_box(Sphere6D a) -> BoundingBox6D
12197 get_bounding_box(SphereKD a) -> BoundingBoxKD
12199 return _IMP_algebra.get_bounding_box(*args)
12203 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12204 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12205 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12206 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12207 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12208 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12209 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12210 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12211 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12212 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12213 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12215 return _IMP_algebra.get_uniform_surface_cover(*args)
12219 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12220 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12221 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12222 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12223 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12224 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12225 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12227 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12228 class _AxisAnglePair(object):
12229 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12232 __repr__ = _swig_repr
12234 def __init__(self, *args):
12236 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12237 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12238 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12240 this = _IMP_algebra.new__AxisAnglePair(*args)
12242 self.this.append(this)
12243 except __builtin__.Exception:
12245 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12246 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12249 def __repr__(self):
12250 return str((self.first, self.second))
12251 def __getitem__(self, index):
12252 if not (index % 2):
12256 def __setitem__(self, index, val):
12257 if not (index % 2):
12261 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12262 __del__ =
lambda self:
None
12263 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12264 _AxisAnglePair_swigregister(_AxisAnglePair)
12268 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12269 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12272 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12273 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12276 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12277 return _IMP_algebra.get_rmsd(v0, v1)
12279 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12280 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12281 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12284 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12285 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12287 LinearFit=LinearFit2D
12288 ParabolicFit=ParabolicFit2D
12291 def get_module_version():
12292 """get_module_version() -> std::string const"""
12293 return _IMP_algebra.get_module_version()
12296 """get_example_path(std::string fname) -> std::string"""
12297 return _IMP_algebra.get_example_path(fname)
12300 """get_data_path(std::string fname) -> std::string"""
12301 return _IMP_algebra.get_data_path(fname)
12303 from .
import _version_check
12304 _version_check.check_version(get_module_version())
12305 __version__ = get_module_version()
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.
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.
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_second(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to second quaternion.
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.
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.
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
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.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
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.
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.
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_first(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to first quaternion.
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)
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.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.