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(
"UnitSimplex1Ds")
495 _value_types.append(
"UnitSimplex1D")
499 _plural_types.append(
"UnitSimplex2Ds")
500 _value_types.append(
"UnitSimplex2D")
504 _plural_types.append(
"UnitSimplex3Ds")
505 _value_types.append(
"UnitSimplex3D")
509 _plural_types.append(
"UnitSimplex4Ds")
510 _value_types.append(
"UnitSimplex4D")
514 _plural_types.append(
"UnitSimplex5Ds")
515 _value_types.append(
"UnitSimplex5D")
519 _plural_types.append(
"UnitSimplex6Ds")
520 _value_types.append(
"UnitSimplex6D")
524 _plural_types.append(
"UnitSimplex1Ds")
525 _value_types.append(
"UnitSimplexD<1>")
529 _plural_types.append(
"UnitSimplex2Ds")
530 _value_types.append(
"UnitSimplexD<2>")
534 _plural_types.append(
"UnitSimplex3Ds")
535 _value_types.append(
"UnitSimplexD<3>")
539 _plural_types.append(
"UnitSimplex4Ds")
540 _value_types.append(
"UnitSimplexD<4>")
544 _plural_types.append(
"UnitSimplex5Ds")
545 _value_types.append(
"UnitSimplexD<5>")
549 _plural_types.append(
"UnitSimplex6Ds")
550 _value_types.append(
"UnitSimplexD<6>")
554 _plural_types.append(
"UnitSimplexKDs")
555 _value_types.append(
"UnitSimplexKD")
559 _plural_types.append(
"UnitSimplexKDs")
560 _value_types.append(
"UnitSimplexD<-1>")
564 _plural_types.append(
"BoundingBox1Ds")
565 _value_types.append(
"BoundingBox1D")
569 _plural_types.append(
"BoundingBox2Ds")
570 _value_types.append(
"BoundingBox2D")
574 _plural_types.append(
"BoundingBox3Ds")
575 _value_types.append(
"BoundingBox3D")
579 _plural_types.append(
"BoundingBox4Ds")
580 _value_types.append(
"BoundingBox4D")
584 _plural_types.append(
"BoundingBox5Ds")
585 _value_types.append(
"BoundingBox5D")
589 _plural_types.append(
"BoundingBox6Ds")
590 _value_types.append(
"BoundingBox6D")
594 _plural_types.append(
"BoundingBox1Ds")
595 _value_types.append(
"BoundingBoxD<1>")
599 _plural_types.append(
"BoundingBox2Ds")
600 _value_types.append(
"BoundingBoxD<2>")
604 _plural_types.append(
"BoundingBox3Ds")
605 _value_types.append(
"BoundingBoxD<3>")
609 _plural_types.append(
"BoundingBox4Ds")
610 _value_types.append(
"BoundingBoxD<4>")
614 _plural_types.append(
"BoundingBox5Ds")
615 _value_types.append(
"BoundingBoxD<5>")
619 _plural_types.append(
"BoundingBox6Ds")
620 _value_types.append(
"BoundingBoxD<6>")
624 _plural_types.append(
"BoundingBoxKDs")
625 _value_types.append(
"BoundingBoxKD")
629 _plural_types.append(
"BoundingBoxKDs")
630 _value_types.append(
"BoundingBoxD<-1>")
633 PrincipalComponentAnalysis1Ds=list
634 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
635 _value_types.append(
"PrincipalComponentAnalysis1D")
638 PrincipalComponentAnalysis2Ds=list
639 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
640 _value_types.append(
"PrincipalComponentAnalysis2D")
643 PrincipalComponentAnalysis3Ds=list
644 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
645 _value_types.append(
"PrincipalComponentAnalysis3D")
648 PrincipalComponentAnalysis4Ds=list
649 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
650 _value_types.append(
"PrincipalComponentAnalysis4D")
653 PrincipalComponentAnalysis5Ds=list
654 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
655 _value_types.append(
"PrincipalComponentAnalysis5D")
658 PrincipalComponentAnalysis6Ds=list
659 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
660 _value_types.append(
"PrincipalComponentAnalysis6D")
663 PrincipalComponentAnalysis1Ds=list
664 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
665 _value_types.append(
"PrincipalComponentAnalysisD<1>")
668 PrincipalComponentAnalysis2Ds=list
669 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
670 _value_types.append(
"PrincipalComponentAnalysisD<2>")
673 PrincipalComponentAnalysis3Ds=list
674 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
675 _value_types.append(
"PrincipalComponentAnalysisD<3>")
678 PrincipalComponentAnalysis4Ds=list
679 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
680 _value_types.append(
"PrincipalComponentAnalysisD<4>")
683 PrincipalComponentAnalysis5Ds=list
684 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
685 _value_types.append(
"PrincipalComponentAnalysisD<5>")
688 PrincipalComponentAnalysis6Ds=list
689 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
690 _value_types.append(
"PrincipalComponentAnalysisD<6>")
693 PrincipalComponentAnalysisKDs=list
694 _plural_types.append(
"PrincipalComponentAnalysisKDs")
695 _value_types.append(
"PrincipalComponentAnalysisKD")
698 PrincipalComponentAnalysisKDs=list
699 _plural_types.append(
"PrincipalComponentAnalysisKDs")
700 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
703 _object_types.append(
"NearestNeighbor1D")
706 def _object_cast_to_NearestNeighbor1D(o):
707 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
708 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
710 _object_types.append(
"NearestNeighbor2D")
713 def _object_cast_to_NearestNeighbor2D(o):
714 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
715 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
717 _object_types.append(
"NearestNeighbor3D")
720 def _object_cast_to_NearestNeighbor3D(o):
721 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
722 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
724 _object_types.append(
"NearestNeighbor4D")
727 def _object_cast_to_NearestNeighbor4D(o):
728 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
729 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
731 _object_types.append(
"NearestNeighbor5D")
734 def _object_cast_to_NearestNeighbor5D(o):
735 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
736 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
738 _object_types.append(
"NearestNeighbor6D")
741 def _object_cast_to_NearestNeighbor6D(o):
742 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
743 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
745 _object_types.append(
"NearestNeighborKD")
748 def _object_cast_to_NearestNeighborKD(o):
749 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
750 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
752 ReferenceFrame3Ds=list
753 _plural_types.append(
"ReferenceFrame3Ds")
754 _value_types.append(
"ReferenceFrame3D")
758 _plural_types.append(
"Gaussian3Ds")
759 _value_types.append(
"Gaussian3D")
762 DefaultEmbedding1Ds=list
763 _plural_types.append(
"DefaultEmbedding1Ds")
764 _value_types.append(
"DefaultEmbedding1D")
767 DefaultEmbedding2Ds=list
768 _plural_types.append(
"DefaultEmbedding2Ds")
769 _value_types.append(
"DefaultEmbedding2D")
772 DefaultEmbedding3Ds=list
773 _plural_types.append(
"DefaultEmbedding3Ds")
774 _value_types.append(
"DefaultEmbedding3D")
777 DefaultEmbedding4Ds=list
778 _plural_types.append(
"DefaultEmbedding4Ds")
779 _value_types.append(
"DefaultEmbedding4D")
782 DefaultEmbedding5Ds=list
783 _plural_types.append(
"DefaultEmbedding5Ds")
784 _value_types.append(
"DefaultEmbedding5D")
787 DefaultEmbedding6Ds=list
788 _plural_types.append(
"DefaultEmbedding6Ds")
789 _value_types.append(
"DefaultEmbedding6D")
792 DefaultEmbedding1Ds=list
793 _plural_types.append(
"DefaultEmbedding1Ds")
794 _value_types.append(
"DefaultEmbeddingD<1>")
797 DefaultEmbedding2Ds=list
798 _plural_types.append(
"DefaultEmbedding2Ds")
799 _value_types.append(
"DefaultEmbeddingD<2>")
802 DefaultEmbedding3Ds=list
803 _plural_types.append(
"DefaultEmbedding3Ds")
804 _value_types.append(
"DefaultEmbeddingD<3>")
807 DefaultEmbedding4Ds=list
808 _plural_types.append(
"DefaultEmbedding4Ds")
809 _value_types.append(
"DefaultEmbeddingD<4>")
812 DefaultEmbedding5Ds=list
813 _plural_types.append(
"DefaultEmbedding5Ds")
814 _value_types.append(
"DefaultEmbeddingD<5>")
817 DefaultEmbedding6Ds=list
818 _plural_types.append(
"DefaultEmbedding6Ds")
819 _value_types.append(
"DefaultEmbeddingD<6>")
822 DefaultEmbeddingKDs=list
823 _plural_types.append(
"DefaultEmbeddingKDs")
824 _value_types.append(
"DefaultEmbeddingKD")
827 DefaultEmbeddingKDs=list
828 _plural_types.append(
"DefaultEmbeddingKDs")
829 _value_types.append(
"DefaultEmbeddingD<-1>")
833 _plural_types.append(
"LogEmbedding1Ds")
834 _value_types.append(
"LogEmbedding1D")
838 _plural_types.append(
"LogEmbedding2Ds")
839 _value_types.append(
"LogEmbedding2D")
843 _plural_types.append(
"LogEmbedding3Ds")
844 _value_types.append(
"LogEmbedding3D")
848 _plural_types.append(
"LogEmbedding4Ds")
849 _value_types.append(
"LogEmbedding4D")
853 _plural_types.append(
"LogEmbedding5Ds")
854 _value_types.append(
"LogEmbedding5D")
858 _plural_types.append(
"LogEmbedding6Ds")
859 _value_types.append(
"LogEmbedding6D")
863 _plural_types.append(
"LogEmbedding1Ds")
864 _value_types.append(
"LogEmbeddingD<1>")
868 _plural_types.append(
"LogEmbedding2Ds")
869 _value_types.append(
"LogEmbeddingD<2>")
873 _plural_types.append(
"LogEmbedding3Ds")
874 _value_types.append(
"LogEmbeddingD<3>")
878 _plural_types.append(
"LogEmbedding4Ds")
879 _value_types.append(
"LogEmbeddingD<4>")
883 _plural_types.append(
"LogEmbedding5Ds")
884 _value_types.append(
"LogEmbeddingD<5>")
888 _plural_types.append(
"LogEmbedding6Ds")
889 _value_types.append(
"LogEmbeddingD<6>")
893 _plural_types.append(
"LogEmbeddingKDs")
894 _value_types.append(
"LogEmbeddingKD")
898 _plural_types.append(
"LogEmbeddingKDs")
899 _value_types.append(
"LogEmbeddingD<-1>")
903 _plural_types.append(
"GridIndex1Ds")
904 _value_types.append(
"GridIndex1D")
908 _plural_types.append(
"GridIndex2Ds")
909 _value_types.append(
"GridIndex2D")
913 _plural_types.append(
"GridIndex3Ds")
914 _value_types.append(
"GridIndex3D")
918 _plural_types.append(
"GridIndex4Ds")
919 _value_types.append(
"GridIndex4D")
923 _plural_types.append(
"GridIndex5Ds")
924 _value_types.append(
"GridIndex5D")
928 _plural_types.append(
"GridIndex6Ds")
929 _value_types.append(
"GridIndex6D")
933 _plural_types.append(
"GridIndex1Ds")
934 _value_types.append(
"GridIndexD<1>")
938 _plural_types.append(
"GridIndex2Ds")
939 _value_types.append(
"GridIndexD<2>")
943 _plural_types.append(
"GridIndex3Ds")
944 _value_types.append(
"GridIndexD<3>")
948 _plural_types.append(
"GridIndex4Ds")
949 _value_types.append(
"GridIndexD<4>")
953 _plural_types.append(
"GridIndex5Ds")
954 _value_types.append(
"GridIndexD<5>")
958 _plural_types.append(
"GridIndex6Ds")
959 _value_types.append(
"GridIndexD<6>")
963 _plural_types.append(
"GridIndexKDs")
964 _value_types.append(
"GridIndexKD")
968 _plural_types.append(
"GridIndexKDs")
969 _value_types.append(
"GridIndexD<-1>")
972 ExtendedGridIndex1Ds=list
973 _plural_types.append(
"ExtendedGridIndex1Ds")
974 _value_types.append(
"ExtendedGridIndex1D")
977 ExtendedGridIndex2Ds=list
978 _plural_types.append(
"ExtendedGridIndex2Ds")
979 _value_types.append(
"ExtendedGridIndex2D")
982 ExtendedGridIndex3Ds=list
983 _plural_types.append(
"ExtendedGridIndex3Ds")
984 _value_types.append(
"ExtendedGridIndex3D")
987 ExtendedGridIndex4Ds=list
988 _plural_types.append(
"ExtendedGridIndex4Ds")
989 _value_types.append(
"ExtendedGridIndex4D")
992 ExtendedGridIndex5Ds=list
993 _plural_types.append(
"ExtendedGridIndex5Ds")
994 _value_types.append(
"ExtendedGridIndex5D")
997 ExtendedGridIndex6Ds=list
998 _plural_types.append(
"ExtendedGridIndex6Ds")
999 _value_types.append(
"ExtendedGridIndex6D")
1002 ExtendedGridIndex1Ds=list
1003 _plural_types.append(
"ExtendedGridIndex1Ds")
1004 _value_types.append(
"ExtendedGridIndexD<1>")
1007 ExtendedGridIndex2Ds=list
1008 _plural_types.append(
"ExtendedGridIndex2Ds")
1009 _value_types.append(
"ExtendedGridIndexD<2>")
1012 ExtendedGridIndex3Ds=list
1013 _plural_types.append(
"ExtendedGridIndex3Ds")
1014 _value_types.append(
"ExtendedGridIndexD<3>")
1017 ExtendedGridIndex4Ds=list
1018 _plural_types.append(
"ExtendedGridIndex4Ds")
1019 _value_types.append(
"ExtendedGridIndexD<4>")
1022 ExtendedGridIndex5Ds=list
1023 _plural_types.append(
"ExtendedGridIndex5Ds")
1024 _value_types.append(
"ExtendedGridIndexD<5>")
1027 ExtendedGridIndex6Ds=list
1028 _plural_types.append(
"ExtendedGridIndex6Ds")
1029 _value_types.append(
"ExtendedGridIndexD<6>")
1032 ExtendedGridIndexKDs=list
1033 _plural_types.append(
"ExtendedGridIndexKDs")
1034 _value_types.append(
"ExtendedGridIndexKD")
1037 ExtendedGridIndexKDs=list
1038 _plural_types.append(
"ExtendedGridIndexKDs")
1039 _value_types.append(
"ExtendedGridIndexD<-1>")
1042 BoundedGridRange1Ds=list
1043 _plural_types.append(
"BoundedGridRange1Ds")
1044 _value_types.append(
"BoundedGridRange1D")
1047 BoundedGridRange2Ds=list
1048 _plural_types.append(
"BoundedGridRange2Ds")
1049 _value_types.append(
"BoundedGridRange2D")
1052 BoundedGridRange3Ds=list
1053 _plural_types.append(
"BoundedGridRange3Ds")
1054 _value_types.append(
"BoundedGridRange3D")
1057 BoundedGridRange4Ds=list
1058 _plural_types.append(
"BoundedGridRange4Ds")
1059 _value_types.append(
"BoundedGridRange4D")
1062 BoundedGridRange5Ds=list
1063 _plural_types.append(
"BoundedGridRange5Ds")
1064 _value_types.append(
"BoundedGridRange5D")
1067 BoundedGridRange6Ds=list
1068 _plural_types.append(
"BoundedGridRange6Ds")
1069 _value_types.append(
"BoundedGridRange6D")
1072 BoundedGridRange1Ds=list
1073 _plural_types.append(
"BoundedGridRange1Ds")
1074 _value_types.append(
"BoundedGridRangeD<1>")
1077 BoundedGridRange2Ds=list
1078 _plural_types.append(
"BoundedGridRange2Ds")
1079 _value_types.append(
"BoundedGridRangeD<2>")
1082 BoundedGridRange3Ds=list
1083 _plural_types.append(
"BoundedGridRange3Ds")
1084 _value_types.append(
"BoundedGridRangeD<3>")
1087 BoundedGridRange4Ds=list
1088 _plural_types.append(
"BoundedGridRange4Ds")
1089 _value_types.append(
"BoundedGridRangeD<4>")
1092 BoundedGridRange5Ds=list
1093 _plural_types.append(
"BoundedGridRange5Ds")
1094 _value_types.append(
"BoundedGridRangeD<5>")
1097 BoundedGridRange6Ds=list
1098 _plural_types.append(
"BoundedGridRange6Ds")
1099 _value_types.append(
"BoundedGridRangeD<6>")
1102 BoundedGridRangeKDs=list
1103 _plural_types.append(
"BoundedGridRangeKDs")
1104 _value_types.append(
"BoundedGridRangeKD")
1107 BoundedGridRangeKDs=list
1108 _plural_types.append(
"BoundedGridRangeKDs")
1109 _value_types.append(
"BoundedGridRangeD<-1>")
1112 UnboundedGridRange1Ds=list
1113 _plural_types.append(
"UnboundedGridRange1Ds")
1114 _value_types.append(
"UnboundedGridRange1D")
1117 UnboundedGridRange2Ds=list
1118 _plural_types.append(
"UnboundedGridRange2Ds")
1119 _value_types.append(
"UnboundedGridRange2D")
1122 UnboundedGridRange3Ds=list
1123 _plural_types.append(
"UnboundedGridRange3Ds")
1124 _value_types.append(
"UnboundedGridRange3D")
1127 UnboundedGridRange4Ds=list
1128 _plural_types.append(
"UnboundedGridRange4Ds")
1129 _value_types.append(
"UnboundedGridRange4D")
1132 UnboundedGridRange5Ds=list
1133 _plural_types.append(
"UnboundedGridRange5Ds")
1134 _value_types.append(
"UnboundedGridRange5D")
1137 UnboundedGridRange6Ds=list
1138 _plural_types.append(
"UnboundedGridRange6Ds")
1139 _value_types.append(
"UnboundedGridRange6D")
1142 UnboundedGridRange1Ds=list
1143 _plural_types.append(
"UnboundedGridRange1Ds")
1144 _value_types.append(
"UnboundedGridRangeD<1>")
1147 UnboundedGridRange2Ds=list
1148 _plural_types.append(
"UnboundedGridRange2Ds")
1149 _value_types.append(
"UnboundedGridRangeD<2>")
1152 UnboundedGridRange3Ds=list
1153 _plural_types.append(
"UnboundedGridRange3Ds")
1154 _value_types.append(
"UnboundedGridRangeD<3>")
1157 UnboundedGridRange4Ds=list
1158 _plural_types.append(
"UnboundedGridRange4Ds")
1159 _value_types.append(
"UnboundedGridRangeD<4>")
1162 UnboundedGridRange5Ds=list
1163 _plural_types.append(
"UnboundedGridRange5Ds")
1164 _value_types.append(
"UnboundedGridRangeD<5>")
1167 UnboundedGridRange6Ds=list
1168 _plural_types.append(
"UnboundedGridRange6Ds")
1169 _value_types.append(
"UnboundedGridRangeD<6>")
1172 UnboundedGridRangeKDs=list
1173 _plural_types.append(
"UnboundedGridRangeKDs")
1174 _value_types.append(
"UnboundedGridRangeKD")
1177 UnboundedGridRangeKDs=list
1178 _plural_types.append(
"UnboundedGridRangeKDs")
1179 _value_types.append(
"UnboundedGridRangeD<-1>")
1183 _plural_types.append(
"LinearFit2Ds")
1184 _value_types.append(
"LinearFit2D")
1187 ParabolicFit2Ds=list
1188 _plural_types.append(
"ParabolicFit2Ds")
1189 _value_types.append(
"ParabolicFit2D")
1193 _plural_types.append(
"FixedXYZs")
1194 _value_types.append(
"FixedXYZ")
1196 class _GeometricPrimitive1D(object):
1197 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1201 def __init__(self, *args, **kwargs):
1202 raise AttributeError(
"No constructor defined")
1203 __repr__ = _swig_repr
1204 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1205 __del__ =
lambda self:
None
1206 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1207 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1209 class _GeometricPrimitive2D(object):
1210 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1212 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1214 def __init__(self, *args, **kwargs):
1215 raise AttributeError(
"No constructor defined")
1216 __repr__ = _swig_repr
1217 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1218 __del__ =
lambda self:
None
1219 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1220 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1222 class _GeometricPrimitive3D(object):
1223 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1227 def __init__(self, *args, **kwargs):
1228 raise AttributeError(
"No constructor defined")
1229 __repr__ = _swig_repr
1230 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1231 __del__ =
lambda self:
None
1232 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1233 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1235 class _GeometricPrimitive4D(object):
1236 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1238 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1240 def __init__(self, *args, **kwargs):
1241 raise AttributeError(
"No constructor defined")
1242 __repr__ = _swig_repr
1243 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1244 __del__ =
lambda self:
None
1245 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1246 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1248 class _GeometricPrimitive5D(object):
1249 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1251 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1253 def __init__(self, *args, **kwargs):
1254 raise AttributeError(
"No constructor defined")
1255 __repr__ = _swig_repr
1256 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1257 __del__ =
lambda self:
None
1258 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1259 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1261 class _GeometricPrimitive6D(object):
1262 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1264 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1266 def __init__(self, *args, **kwargs):
1267 raise AttributeError(
"No constructor defined")
1268 __repr__ = _swig_repr
1269 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1270 __del__ =
lambda self:
None
1271 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1272 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1274 class _GeometricPrimitiveKD(object):
1275 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1277 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1279 def __init__(self, *args, **kwargs):
1280 raise AttributeError(
"No constructor defined")
1281 __repr__ = _swig_repr
1282 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1283 __del__ =
lambda self:
None
1284 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1285 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1289 _plural_types.append(
"Vector1Ds")
1290 _value_types.append(
"Vector1D")
1294 _plural_types.append(
"Vector2Ds")
1295 _value_types.append(
"Vector2D")
1299 _plural_types.append(
"Vector3Ds")
1300 _value_types.append(
"Vector3D")
1304 _plural_types.append(
"Vector4Ds")
1305 _value_types.append(
"Vector4D")
1309 _plural_types.append(
"Vector5Ds")
1310 _value_types.append(
"Vector5D")
1314 _plural_types.append(
"Vector6Ds")
1315 _value_types.append(
"Vector6D")
1319 _plural_types.append(
"Vector1Ds")
1320 _value_types.append(
"VectorD<1>")
1324 _plural_types.append(
"Vector2Ds")
1325 _value_types.append(
"VectorD<2>")
1329 _plural_types.append(
"Vector3Ds")
1330 _value_types.append(
"VectorD<3>")
1334 _plural_types.append(
"Vector4Ds")
1335 _value_types.append(
"VectorD<4>")
1339 _plural_types.append(
"Vector5Ds")
1340 _value_types.append(
"VectorD<5>")
1344 _plural_types.append(
"Vector6Ds")
1345 _value_types.append(
"VectorD<6>")
1349 _plural_types.append(
"VectorKDs")
1350 _value_types.append(
"VectorKD")
1354 _plural_types.append(
"VectorKDs")
1355 _value_types.append(
"VectorD<-1>")
1357 class _VectorBaseKD(_GeometricPrimitiveKD):
1358 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1361 __repr__ = _swig_repr
1364 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1365 this = _IMP_algebra.new__VectorBaseKD()
1367 self.this.append(this)
1368 except __builtin__.Exception:
1371 def get_scalar_product(self, o):
1372 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1373 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1376 def get_squared_magnitude(self):
1377 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1378 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1381 def get_magnitude(self):
1382 """get_magnitude(_VectorBaseKD self) -> double"""
1383 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1386 def __mul__(self, o):
1387 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1388 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1391 def __iadd__(self, o):
1392 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1393 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1396 def __isub__(self, o):
1397 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1398 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1401 def __idiv__(self, f):
1402 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1403 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1406 def __imul__(self, f):
1407 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1408 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1411 def show(self, *args):
1413 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1414 show(_VectorBaseKD self, _ostream out, std::string delim)
1415 show(_VectorBaseKD self, _ostream out)
1416 show(_VectorBaseKD self)
1418 return _IMP_algebra._VectorBaseKD_show(self, *args)
1421 def get_dimension(self):
1422 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1423 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1425 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1426 __del__ =
lambda self:
None
1427 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1428 _VectorBaseKD_swigregister(_VectorBaseKD)
1430 class _VectorBase1D(_GeometricPrimitive1D):
1431 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1434 __repr__ = _swig_repr
1437 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1438 this = _IMP_algebra.new__VectorBase1D()
1440 self.this.append(this)
1441 except __builtin__.Exception:
1444 def get_scalar_product(self, o):
1445 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1446 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1449 def get_squared_magnitude(self):
1450 """get_squared_magnitude(_VectorBase1D self) -> double"""
1451 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1454 def get_magnitude(self):
1455 """get_magnitude(_VectorBase1D self) -> double"""
1456 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1459 def __mul__(self, o):
1460 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1461 return _IMP_algebra._VectorBase1D___mul__(self, o)
1464 def __iadd__(self, o):
1465 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1466 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1469 def __isub__(self, o):
1470 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1471 return _IMP_algebra._VectorBase1D___isub__(self, o)
1474 def __idiv__(self, f):
1475 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1476 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1479 def __imul__(self, f):
1480 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1481 return _IMP_algebra._VectorBase1D___imul__(self, f)
1484 def show(self, *args):
1486 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1487 show(_VectorBase1D self, _ostream out, std::string delim)
1488 show(_VectorBase1D self, _ostream out)
1489 show(_VectorBase1D self)
1491 return _IMP_algebra._VectorBase1D_show(self, *args)
1494 def get_dimension(self):
1495 """get_dimension(_VectorBase1D self) -> unsigned int"""
1496 return _IMP_algebra._VectorBase1D_get_dimension(self)
1498 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1499 __del__ =
lambda self:
None
1500 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1501 _VectorBase1D_swigregister(_VectorBase1D)
1503 class _VectorBase2D(_GeometricPrimitive2D):
1504 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1507 __repr__ = _swig_repr
1510 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1511 this = _IMP_algebra.new__VectorBase2D()
1513 self.this.append(this)
1514 except __builtin__.Exception:
1517 def get_scalar_product(self, o):
1518 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1519 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1522 def get_squared_magnitude(self):
1523 """get_squared_magnitude(_VectorBase2D self) -> double"""
1524 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1527 def get_magnitude(self):
1528 """get_magnitude(_VectorBase2D self) -> double"""
1529 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1532 def __mul__(self, o):
1533 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1534 return _IMP_algebra._VectorBase2D___mul__(self, o)
1537 def __iadd__(self, o):
1538 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1539 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1542 def __isub__(self, o):
1543 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1544 return _IMP_algebra._VectorBase2D___isub__(self, o)
1547 def __idiv__(self, f):
1548 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1549 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1552 def __imul__(self, f):
1553 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1554 return _IMP_algebra._VectorBase2D___imul__(self, f)
1557 def show(self, *args):
1559 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1560 show(_VectorBase2D self, _ostream out, std::string delim)
1561 show(_VectorBase2D self, _ostream out)
1562 show(_VectorBase2D self)
1564 return _IMP_algebra._VectorBase2D_show(self, *args)
1567 def get_dimension(self):
1568 """get_dimension(_VectorBase2D self) -> unsigned int"""
1569 return _IMP_algebra._VectorBase2D_get_dimension(self)
1571 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1572 __del__ =
lambda self:
None
1573 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1574 _VectorBase2D_swigregister(_VectorBase2D)
1576 class _VectorBase3D(_GeometricPrimitive3D):
1577 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1579 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1580 __repr__ = _swig_repr
1583 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1584 this = _IMP_algebra.new__VectorBase3D()
1586 self.this.append(this)
1587 except __builtin__.Exception:
1590 def get_scalar_product(self, o):
1591 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1592 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1595 def get_squared_magnitude(self):
1596 """get_squared_magnitude(_VectorBase3D self) -> double"""
1597 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1600 def get_magnitude(self):
1601 """get_magnitude(_VectorBase3D self) -> double"""
1602 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1605 def __mul__(self, o):
1606 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1607 return _IMP_algebra._VectorBase3D___mul__(self, o)
1610 def __iadd__(self, o):
1611 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1612 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1615 def __isub__(self, o):
1616 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1617 return _IMP_algebra._VectorBase3D___isub__(self, o)
1620 def __idiv__(self, f):
1621 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1622 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1625 def __imul__(self, f):
1626 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1627 return _IMP_algebra._VectorBase3D___imul__(self, f)
1630 def show(self, *args):
1632 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1633 show(_VectorBase3D self, _ostream out, std::string delim)
1634 show(_VectorBase3D self, _ostream out)
1635 show(_VectorBase3D self)
1637 return _IMP_algebra._VectorBase3D_show(self, *args)
1640 def get_dimension(self):
1641 """get_dimension(_VectorBase3D self) -> unsigned int"""
1642 return _IMP_algebra._VectorBase3D_get_dimension(self)
1644 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1645 __del__ =
lambda self:
None
1646 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1647 _VectorBase3D_swigregister(_VectorBase3D)
1649 class _VectorBase4D(_GeometricPrimitive4D):
1650 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1652 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1653 __repr__ = _swig_repr
1656 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1657 this = _IMP_algebra.new__VectorBase4D()
1659 self.this.append(this)
1660 except __builtin__.Exception:
1663 def get_scalar_product(self, o):
1664 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1665 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1668 def get_squared_magnitude(self):
1669 """get_squared_magnitude(_VectorBase4D self) -> double"""
1670 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1673 def get_magnitude(self):
1674 """get_magnitude(_VectorBase4D self) -> double"""
1675 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1678 def __mul__(self, o):
1679 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1680 return _IMP_algebra._VectorBase4D___mul__(self, o)
1683 def __iadd__(self, o):
1684 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1685 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1688 def __isub__(self, o):
1689 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1690 return _IMP_algebra._VectorBase4D___isub__(self, o)
1693 def __idiv__(self, f):
1694 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1695 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1698 def __imul__(self, f):
1699 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1700 return _IMP_algebra._VectorBase4D___imul__(self, f)
1703 def show(self, *args):
1705 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1706 show(_VectorBase4D self, _ostream out, std::string delim)
1707 show(_VectorBase4D self, _ostream out)
1708 show(_VectorBase4D self)
1710 return _IMP_algebra._VectorBase4D_show(self, *args)
1713 def get_dimension(self):
1714 """get_dimension(_VectorBase4D self) -> unsigned int"""
1715 return _IMP_algebra._VectorBase4D_get_dimension(self)
1717 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1718 __del__ =
lambda self:
None
1719 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1720 _VectorBase4D_swigregister(_VectorBase4D)
1722 class _VectorBase5D(_GeometricPrimitive5D):
1723 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1726 __repr__ = _swig_repr
1729 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1730 this = _IMP_algebra.new__VectorBase5D()
1732 self.this.append(this)
1733 except __builtin__.Exception:
1736 def get_scalar_product(self, o):
1737 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1738 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1741 def get_squared_magnitude(self):
1742 """get_squared_magnitude(_VectorBase5D self) -> double"""
1743 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1746 def get_magnitude(self):
1747 """get_magnitude(_VectorBase5D self) -> double"""
1748 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1751 def __mul__(self, o):
1752 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1753 return _IMP_algebra._VectorBase5D___mul__(self, o)
1756 def __iadd__(self, o):
1757 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1758 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1761 def __isub__(self, o):
1762 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1763 return _IMP_algebra._VectorBase5D___isub__(self, o)
1766 def __idiv__(self, f):
1767 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1768 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1771 def __imul__(self, f):
1772 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1773 return _IMP_algebra._VectorBase5D___imul__(self, f)
1776 def show(self, *args):
1778 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1779 show(_VectorBase5D self, _ostream out, std::string delim)
1780 show(_VectorBase5D self, _ostream out)
1781 show(_VectorBase5D self)
1783 return _IMP_algebra._VectorBase5D_show(self, *args)
1786 def get_dimension(self):
1787 """get_dimension(_VectorBase5D self) -> unsigned int"""
1788 return _IMP_algebra._VectorBase5D_get_dimension(self)
1790 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1791 __del__ =
lambda self:
None
1792 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1793 _VectorBase5D_swigregister(_VectorBase5D)
1795 class _VectorBase6D(_GeometricPrimitive6D):
1796 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1799 __repr__ = _swig_repr
1802 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1803 this = _IMP_algebra.new__VectorBase6D()
1805 self.this.append(this)
1806 except __builtin__.Exception:
1809 def get_scalar_product(self, o):
1810 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1811 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1814 def get_squared_magnitude(self):
1815 """get_squared_magnitude(_VectorBase6D self) -> double"""
1816 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1819 def get_magnitude(self):
1820 """get_magnitude(_VectorBase6D self) -> double"""
1821 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1824 def __mul__(self, o):
1825 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1826 return _IMP_algebra._VectorBase6D___mul__(self, o)
1829 def __iadd__(self, o):
1830 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1831 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1834 def __isub__(self, o):
1835 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1836 return _IMP_algebra._VectorBase6D___isub__(self, o)
1839 def __idiv__(self, f):
1840 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1841 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1844 def __imul__(self, f):
1845 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1846 return _IMP_algebra._VectorBase6D___imul__(self, f)
1849 def show(self, *args):
1851 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1852 show(_VectorBase6D self, _ostream out, std::string delim)
1853 show(_VectorBase6D self, _ostream out)
1854 show(_VectorBase6D self)
1856 return _IMP_algebra._VectorBase6D_show(self, *args)
1859 def get_dimension(self):
1860 """get_dimension(_VectorBase6D self) -> unsigned int"""
1861 return _IMP_algebra._VectorBase6D_get_dimension(self)
1863 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1864 __del__ =
lambda self:
None
1865 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1866 _VectorBase6D_swigregister(_VectorBase6D)
1870 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1871 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1874 """get_zero_vector_kd(int D) -> VectorKD"""
1875 return _IMP_algebra.get_zero_vector_kd(D)
1879 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1880 get_ones_vector_kd(unsigned int D) -> VectorKD
1882 return _IMP_algebra.get_ones_vector_kd(D, v)
1885 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1886 return _IMP_algebra.get_vector_product(p1, p2)
1889 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1890 return _IMP_algebra.get_orthogonal_vector(v)
1893 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1894 return _IMP_algebra.get_centroid(ps)
1897 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1898 return _IMP_algebra.get_radius_of_gyration(ps)
1899 class Rotation3D(_GeometricPrimitive3D):
1900 """Proxy of C++ IMP::algebra::Rotation3D class."""
1902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1904 def __init__(self, *args):
1906 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1907 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1908 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1909 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1910 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1912 this = _IMP_algebra.new_Rotation3D(*args)
1914 self.this.append(this)
1915 except __builtin__.Exception:
1917 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1918 __del__ =
lambda self:
None
1920 def get_rotated_no_cache(self, o):
1921 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1922 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1925 def get_rotated_one_coordinate_no_cache(self, o, coord):
1926 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1927 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1930 def get_rotated(self, o):
1931 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1932 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1935 def get_rotated_adjoint(self, v, Dw):
1936 """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
1937 return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
1940 def get_rotated_one_coordinate(self, o, coord):
1941 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1942 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1945 def get_rotation_matrix_row(self, i):
1946 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1947 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1950 def show(self, *args):
1952 show(Rotation3D self, _ostream out)
1953 show(Rotation3D self)
1955 return _IMP_algebra.Rotation3D_show(self, *args)
1958 def get_inverse(self):
1959 """get_inverse(Rotation3D self) -> Rotation3D"""
1960 return _IMP_algebra.Rotation3D_get_inverse(self)
1963 def get_quaternion(self):
1964 """get_quaternion(Rotation3D self) -> Vector4D"""
1965 return _IMP_algebra.Rotation3D_get_quaternion(self)
1968 def __mul__(self, *args):
1970 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1971 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1973 return _IMP_algebra.Rotation3D___mul__(self, *args)
1976 def __div__(self, r):
1977 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1978 return _IMP_algebra.Rotation3D___div__(self, r)
1981 def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
1983 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
1984 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1986 return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
1989 def get_derivative(self, v, i, wrt_unnorm=True):
1991 get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
1992 get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1994 return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
1997 def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
1999 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2000 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2002 return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2005 def get_gradient(self, v, wrt_unnorm=True):
2007 get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2008 get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2010 return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2013 def get_is_valid(self):
2014 """get_is_valid(Rotation3D self) -> bool"""
2015 return _IMP_algebra.Rotation3D_get_is_valid(self)
2019 """__str__(Rotation3D self) -> std::string"""
2020 return _IMP_algebra.Rotation3D___str__(self)
2024 """__repr__(Rotation3D self) -> std::string"""
2025 return _IMP_algebra.Rotation3D___repr__(self)
2028 __truediv__ = __div__
2030 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2031 Rotation3D_swigregister(Rotation3D)
2036 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2037 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2039 return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2041 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2043 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2044 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2046 return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2050 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2051 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2053 return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2055 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2057 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2058 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2060 return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2063 """get_identity_rotation_3d() -> Rotation3D"""
2064 return _IMP_algebra.get_identity_rotation_3d()
2067 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2068 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2071 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2072 return _IMP_algebra.get_rotation_about_axis(axis, angle)
2075 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2076 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2080 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2081 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2083 return _IMP_algebra.get_rotation_from_matrix(*args)
2087 get_random_rotation_3d() -> Rotation3D
2088 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2090 return _IMP_algebra.get_random_rotation_3d(*args)
2093 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2094 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2097 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2098 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2101 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2102 return _IMP_algebra.get_rotation_from_vector4d(v)
2105 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2106 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2109 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2110 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2113 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2114 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2115 class FixedXYZ(_GeometricPrimitive3D):
2116 """Proxy of C++ IMP::algebra::FixedXYZ class."""
2118 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2120 def __init__(self, *args):
2122 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2123 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2125 this = _IMP_algebra.new_FixedXYZ(*args)
2127 self.this.append(this)
2128 except __builtin__.Exception:
2132 """get_x(FixedXYZ self) -> double"""
2133 return _IMP_algebra.FixedXYZ_get_x(self)
2137 """get_y(FixedXYZ self) -> double"""
2138 return _IMP_algebra.FixedXYZ_get_y(self)
2142 """get_z(FixedXYZ self) -> double"""
2143 return _IMP_algebra.FixedXYZ_get_z(self)
2146 def show(self, *args):
2148 show(FixedXYZ self, _ostream out)
2151 return _IMP_algebra.FixedXYZ_show(self, *args)
2155 """__str__(FixedXYZ self) -> std::string"""
2156 return _IMP_algebra.FixedXYZ___str__(self)
2160 """__repr__(FixedXYZ self) -> std::string"""
2161 return _IMP_algebra.FixedXYZ___repr__(self)
2163 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2164 __del__ =
lambda self:
None
2165 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2166 FixedXYZ_swigregister(FixedXYZ)
2170 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2171 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2174 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2175 return _IMP_algebra.get_interpolated(a, b, f)
2178 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2179 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2182 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2183 return _IMP_algebra.get_axis_and_angle(rot)
2186 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2187 return _IMP_algebra.get_unit_bounding_box_kd(d)
2190 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2191 return _IMP_algebra.get_cube_kd(d, radius)
2194 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2195 return _IMP_algebra.get_edges(arg1)
2196 class Transformation3D(_GeometricPrimitive3D):
2197 """Proxy of C++ IMP::algebra::Transformation3D class."""
2199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2201 def __init__(self, *args):
2203 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2204 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2205 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2206 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2208 this = _IMP_algebra.new_Transformation3D(*args)
2210 self.this.append(this)
2211 except __builtin__.Exception:
2213 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2214 __del__ =
lambda self:
None
2216 def get_transformed(self, o):
2217 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2218 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2221 def get_transformed_adjoint(self, v, Dw):
2222 """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2223 return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2226 def __mul__(self, *args):
2228 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2229 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2231 return _IMP_algebra.Transformation3D___mul__(self, *args)
2234 def __div__(self, b):
2235 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2236 return _IMP_algebra.Transformation3D___div__(self, b)
2239 def get_rotation(self):
2240 """get_rotation(Transformation3D self) -> Rotation3D"""
2241 return _IMP_algebra.Transformation3D_get_rotation(self)
2244 def get_translation(self):
2245 """get_translation(Transformation3D self) -> Vector3D"""
2246 return _IMP_algebra.Transformation3D_get_translation(self)
2249 def show(self, *args):
2251 show(Transformation3D self, _ostream out)
2252 show(Transformation3D self)
2254 return _IMP_algebra.Transformation3D_show(self, *args)
2257 def get_inverse(self):
2258 """get_inverse(Transformation3D self) -> Transformation3D"""
2259 return _IMP_algebra.Transformation3D_get_inverse(self)
2262 def get_is_valid(self):
2263 """get_is_valid(Transformation3D self) -> bool"""
2264 return _IMP_algebra.Transformation3D_get_is_valid(self)
2268 """__str__(Transformation3D self) -> std::string"""
2269 return _IMP_algebra.Transformation3D___str__(self)
2273 """__repr__(Transformation3D self) -> std::string"""
2274 return _IMP_algebra.Transformation3D___repr__(self)
2277 __truediv__ = __div__
2279 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2280 Transformation3D_swigregister(Transformation3D)
2284 """get_identity_transformation_3d() -> Transformation3D"""
2285 return _IMP_algebra.get_identity_transformation_3d()
2289 compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2290 compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2292 return _IMP_algebra.compose_adjoint(*args)
2295 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2296 return _IMP_algebra.get_transformation_3d(t2d)
2300 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2301 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2302 get_random_local_transformation(Vector3D origin) -> Transformation3D
2304 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2305 class Rotation2D(_GeometricPrimitive2D):
2306 """Proxy of C++ IMP::algebra::Rotation2D class."""
2308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2310 def __init__(self, *args):
2312 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2313 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2315 this = _IMP_algebra.new_Rotation2D(*args)
2317 self.this.append(this)
2318 except __builtin__.Exception:
2321 def get_rotated(self, *args):
2323 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2324 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2326 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2329 def get_inverse(self):
2330 """get_inverse(Rotation2D self) -> Rotation2D"""
2331 return _IMP_algebra.Rotation2D_get_inverse(self)
2334 def set_angle(self, angle):
2335 """set_angle(Rotation2D self, double angle)"""
2336 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2340 """get_angle(Rotation2D self) -> double"""
2341 return _IMP_algebra.Rotation2D_get_angle(self)
2344 def show(self, *args):
2346 show(Rotation2D self, _ostream out)
2347 show(Rotation2D self)
2349 return _IMP_algebra.Rotation2D_show(self, *args)
2353 """__str__(Rotation2D self) -> std::string"""
2354 return _IMP_algebra.Rotation2D___str__(self)
2358 """__repr__(Rotation2D self) -> std::string"""
2359 return _IMP_algebra.Rotation2D___repr__(self)
2361 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2362 __del__ =
lambda self:
None
2363 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2364 Rotation2D_swigregister(Rotation2D)
2368 """get_identity_rotation_2d() -> Rotation2D"""
2369 return _IMP_algebra.get_identity_rotation_2d()
2372 """get_random_rotation_2d() -> Rotation2D"""
2373 return _IMP_algebra.get_random_rotation_2d()
2376 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2377 return _IMP_algebra.get_rotation_to_x_axis(v)
2378 class Transformation2D(_GeometricPrimitive2D):
2379 """Proxy of C++ IMP::algebra::Transformation2D class."""
2381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2383 def __init__(self, *args):
2385 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2386 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2387 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2388 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2390 this = _IMP_algebra.new_Transformation2D(*args)
2392 self.this.append(this)
2393 except __builtin__.Exception:
2395 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2396 __del__ =
lambda self:
None
2398 def get_transformed(self, o):
2399 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2400 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2403 def __mul__(self, *args):
2405 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2406 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2408 return _IMP_algebra.Transformation2D___mul__(self, *args)
2411 def __div__(self, b):
2412 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2413 return _IMP_algebra.Transformation2D___div__(self, b)
2416 def get_rotation(self):
2417 """get_rotation(Transformation2D self) -> Rotation2D"""
2418 return _IMP_algebra.Transformation2D_get_rotation(self)
2421 def set_rotation(self, angle):
2422 """set_rotation(Transformation2D self, double angle)"""
2423 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2426 def get_translation(self):
2427 """get_translation(Transformation2D self) -> Vector2D"""
2428 return _IMP_algebra.Transformation2D_get_translation(self)
2431 def set_translation(self, v):
2432 """set_translation(Transformation2D self, Vector2D v)"""
2433 return _IMP_algebra.Transformation2D_set_translation(self, v)
2436 def show(self, *args):
2438 show(Transformation2D self, _ostream out)
2439 show(Transformation2D self)
2441 return _IMP_algebra.Transformation2D_show(self, *args)
2444 def get_inverse(self):
2445 """get_inverse(Transformation2D self) -> Transformation2D"""
2446 return _IMP_algebra.Transformation2D_get_inverse(self)
2450 """__str__(Transformation2D self) -> std::string"""
2451 return _IMP_algebra.Transformation2D___str__(self)
2455 """__repr__(Transformation2D self) -> std::string"""
2456 return _IMP_algebra.Transformation2D___repr__(self)
2459 __truediv__ = __div__
2461 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2462 Transformation2D_swigregister(Transformation2D)
2466 """get_identity_transformation_2d() -> Transformation2D"""
2467 return _IMP_algebra.get_identity_transformation_2d()
2471 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2472 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2474 return _IMP_algebra.get_rotation_about_point(*args)
2478 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2479 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2480 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2481 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2483 return _IMP_algebra.compose(*args)
2485 def get_unit_sphere_kd(d):
2486 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2487 return _IMP_algebra.get_unit_sphere_kd(d)
2491 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2492 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2494 return _IMP_algebra.get_enclosing_sphere(*args)
2497 """get_ball_radius_from_volume_3d(double volume) -> double"""
2498 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2501 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2502 return _IMP_algebra.get_surface_area_and_volume(ss)
2505 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2506 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2508 def get_triangle_3d(s):
2509 """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2510 return _IMP_algebra.get_triangle_3d(s)
2511 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2512 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class."""
2514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2516 def __init__(self, *args, **kwargs):
2517 raise AttributeError(
"No constructor defined - class is abstract")
2518 __repr__ = _swig_repr
2520 def get_dimension(self):
2521 """get_dimension(_UnitSimplexBaseKD self) -> int"""
2522 return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2525 def get_barycenter(self):
2526 """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2527 return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2530 def get_contains(self, *args):
2532 get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2533 get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2535 return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2537 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2538 __del__ =
lambda self:
None
2539 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2540 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2542 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2543 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class."""
2545 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2547 def __init__(self, *args, **kwargs):
2548 raise AttributeError(
"No constructor defined - class is abstract")
2549 __repr__ = _swig_repr
2551 def get_dimension(self):
2552 """get_dimension(_UnitSimplexBase1D self) -> int"""
2553 return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2556 def get_barycenter(self):
2557 """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2558 return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2561 def get_contains(self, *args):
2563 get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2564 get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2566 return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2568 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2569 __del__ =
lambda self:
None
2570 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2571 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2573 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2574 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class."""
2576 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2578 def __init__(self, *args, **kwargs):
2579 raise AttributeError(
"No constructor defined - class is abstract")
2580 __repr__ = _swig_repr
2582 def get_dimension(self):
2583 """get_dimension(_UnitSimplexBase2D self) -> int"""
2584 return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2587 def get_barycenter(self):
2588 """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2589 return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2592 def get_contains(self, *args):
2594 get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2595 get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2597 return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2599 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2600 __del__ =
lambda self:
None
2601 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2602 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2604 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2605 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class."""
2607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2609 def __init__(self, *args, **kwargs):
2610 raise AttributeError(
"No constructor defined - class is abstract")
2611 __repr__ = _swig_repr
2613 def get_dimension(self):
2614 """get_dimension(_UnitSimplexBase3D self) -> int"""
2615 return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2618 def get_barycenter(self):
2619 """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2620 return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2623 def get_contains(self, *args):
2625 get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2626 get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2628 return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2630 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2631 __del__ =
lambda self:
None
2632 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2633 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2635 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2636 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class."""
2638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2640 def __init__(self, *args, **kwargs):
2641 raise AttributeError(
"No constructor defined - class is abstract")
2642 __repr__ = _swig_repr
2644 def get_dimension(self):
2645 """get_dimension(_UnitSimplexBase4D self) -> int"""
2646 return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2649 def get_barycenter(self):
2650 """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2651 return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2654 def get_contains(self, *args):
2656 get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2657 get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2659 return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2661 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2662 __del__ =
lambda self:
None
2663 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2664 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2666 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2667 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class."""
2669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2671 def __init__(self, *args, **kwargs):
2672 raise AttributeError(
"No constructor defined - class is abstract")
2673 __repr__ = _swig_repr
2675 def get_dimension(self):
2676 """get_dimension(_UnitSimplexBase5D self) -> int"""
2677 return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2680 def get_barycenter(self):
2681 """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2682 return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2685 def get_contains(self, *args):
2687 get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2688 get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2690 return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2692 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2693 __del__ =
lambda self:
None
2694 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2695 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2697 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2698 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class."""
2700 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2702 def __init__(self, *args, **kwargs):
2703 raise AttributeError(
"No constructor defined - class is abstract")
2704 __repr__ = _swig_repr
2706 def get_dimension(self):
2707 """get_dimension(_UnitSimplexBase6D self) -> int"""
2708 return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2711 def get_barycenter(self):
2712 """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2713 return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2716 def get_contains(self, *args):
2718 get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2719 get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2721 return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2723 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2724 __del__ =
lambda self:
None
2725 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2726 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2729 """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2734 """get_unit_vector(Vector1D self) -> Vector1D"""
2735 return _IMP_algebra.Vector1D_get_unit_vector(self)
2738 def __div__(self, s):
2739 """__div__(Vector1D self, double s) -> Vector1D"""
2740 return _IMP_algebra.Vector1D___div__(self, s)
2744 """__neg__(Vector1D self) -> Vector1D"""
2745 return _IMP_algebra.Vector1D___neg__(self)
2748 def __sub__(self, o):
2749 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2750 return _IMP_algebra.Vector1D___sub__(self, o)
2753 def __add__(self, ret):
2754 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2755 return _IMP_algebra.Vector1D___add__(self, ret)
2758 def __mul__(self, *args):
2760 __mul__(Vector1D self, double s) -> Vector1D
2761 __mul__(Vector1D self, Vector1D o) -> double
2763 return _IMP_algebra.Vector1D___mul__(self, *args)
2766 def __init__(self, *args):
2768 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2769 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2770 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2772 this = _IMP_algebra.new_Vector1D(*args)
2774 self.this.append(this)
2775 except __builtin__.Exception:
2778 def __iadd__(self, *args):
2779 _IMP_algebra.Vector1D___iadd__(self, *args)
2784 def __imul__(self, *args):
2785 _IMP_algebra.Vector1D___imul__(self, *args)
2790 def __idiv__(self, *args):
2791 _IMP_algebra.Vector1D___idiv__(self, *args)
2796 def __isub__(self, *args):
2797 _IMP_algebra.Vector1D___isub__(self, *args)
2803 """__len__(Vector1D self) -> unsigned int"""
2804 return _IMP_algebra.Vector1D___len__(self)
2807 def __rmul__(self, f):
2808 """__rmul__(Vector1D self, double f) -> Vector1D"""
2809 return _IMP_algebra.Vector1D___rmul__(self, f)
2813 """__str__(Vector1D self) -> std::string"""
2814 return _IMP_algebra.Vector1D___str__(self)
2818 """__repr__(Vector1D self) -> std::string"""
2819 return _IMP_algebra.Vector1D___repr__(self)
2822 def __cmp__(self, arg2):
2823 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2824 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2827 def __eq__(self, arg2):
2828 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2829 return _IMP_algebra.Vector1D___eq__(self, arg2)
2832 __truediv__ = __div__
2833 __itruediv__ = __idiv__
2836 def __getitem__(self, index):
2837 """__getitem__(Vector1D self, int index) -> double"""
2838 return _IMP_algebra.Vector1D___getitem__(self, index)
2841 def __setitem__(self, index, val):
2842 """__setitem__(Vector1D self, int index, double val)"""
2843 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2845 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2846 __del__ =
lambda self:
None
2847 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2848 Vector1D_swigregister(Vector1D)
2851 """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2856 """get_unit_vector(Vector2D self) -> Vector2D"""
2857 return _IMP_algebra.Vector2D_get_unit_vector(self)
2860 def __div__(self, s):
2861 """__div__(Vector2D self, double s) -> Vector2D"""
2862 return _IMP_algebra.Vector2D___div__(self, s)
2866 """__neg__(Vector2D self) -> Vector2D"""
2867 return _IMP_algebra.Vector2D___neg__(self)
2870 def __sub__(self, o):
2871 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2872 return _IMP_algebra.Vector2D___sub__(self, o)
2875 def __add__(self, ret):
2876 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2877 return _IMP_algebra.Vector2D___add__(self, ret)
2880 def __mul__(self, *args):
2882 __mul__(Vector2D self, double s) -> Vector2D
2883 __mul__(Vector2D self, Vector2D o) -> double
2885 return _IMP_algebra.Vector2D___mul__(self, *args)
2888 def __init__(self, *args):
2890 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2891 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2892 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2894 this = _IMP_algebra.new_Vector2D(*args)
2896 self.this.append(this)
2897 except __builtin__.Exception:
2900 def __iadd__(self, *args):
2901 _IMP_algebra.Vector2D___iadd__(self, *args)
2906 def __imul__(self, *args):
2907 _IMP_algebra.Vector2D___imul__(self, *args)
2912 def __idiv__(self, *args):
2913 _IMP_algebra.Vector2D___idiv__(self, *args)
2918 def __isub__(self, *args):
2919 _IMP_algebra.Vector2D___isub__(self, *args)
2925 """__len__(Vector2D self) -> unsigned int"""
2926 return _IMP_algebra.Vector2D___len__(self)
2929 def __rmul__(self, f):
2930 """__rmul__(Vector2D self, double f) -> Vector2D"""
2931 return _IMP_algebra.Vector2D___rmul__(self, f)
2935 """__str__(Vector2D self) -> std::string"""
2936 return _IMP_algebra.Vector2D___str__(self)
2940 """__repr__(Vector2D self) -> std::string"""
2941 return _IMP_algebra.Vector2D___repr__(self)
2944 def __cmp__(self, arg2):
2945 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2946 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2949 def __eq__(self, arg2):
2950 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2951 return _IMP_algebra.Vector2D___eq__(self, arg2)
2954 __truediv__ = __div__
2955 __itruediv__ = __idiv__
2958 def __getitem__(self, index):
2959 """__getitem__(Vector2D self, int index) -> double"""
2960 return _IMP_algebra.Vector2D___getitem__(self, index)
2963 def __setitem__(self, index, val):
2964 """__setitem__(Vector2D self, int index, double val)"""
2965 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2967 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2968 __del__ =
lambda self:
None
2969 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2970 Vector2D_swigregister(Vector2D)
2973 """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2978 """get_unit_vector(Vector3D self) -> Vector3D"""
2979 return _IMP_algebra.Vector3D_get_unit_vector(self)
2982 def __div__(self, s):
2983 """__div__(Vector3D self, double s) -> Vector3D"""
2984 return _IMP_algebra.Vector3D___div__(self, s)
2988 """__neg__(Vector3D self) -> Vector3D"""
2989 return _IMP_algebra.Vector3D___neg__(self)
2992 def __sub__(self, o):
2993 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2994 return _IMP_algebra.Vector3D___sub__(self, o)
2997 def __add__(self, ret):
2998 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2999 return _IMP_algebra.Vector3D___add__(self, ret)
3002 def __mul__(self, *args):
3004 __mul__(Vector3D self, double s) -> Vector3D
3005 __mul__(Vector3D self, Vector3D o) -> double
3007 return _IMP_algebra.Vector3D___mul__(self, *args)
3010 def __init__(self, *args):
3012 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3013 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3014 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3016 this = _IMP_algebra.new_Vector3D(*args)
3018 self.this.append(this)
3019 except __builtin__.Exception:
3022 def __iadd__(self, *args):
3023 _IMP_algebra.Vector3D___iadd__(self, *args)
3028 def __imul__(self, *args):
3029 _IMP_algebra.Vector3D___imul__(self, *args)
3034 def __idiv__(self, *args):
3035 _IMP_algebra.Vector3D___idiv__(self, *args)
3040 def __isub__(self, *args):
3041 _IMP_algebra.Vector3D___isub__(self, *args)
3047 """__len__(Vector3D self) -> unsigned int"""
3048 return _IMP_algebra.Vector3D___len__(self)
3051 def __rmul__(self, f):
3052 """__rmul__(Vector3D self, double f) -> Vector3D"""
3053 return _IMP_algebra.Vector3D___rmul__(self, f)
3057 """__str__(Vector3D self) -> std::string"""
3058 return _IMP_algebra.Vector3D___str__(self)
3062 """__repr__(Vector3D self) -> std::string"""
3063 return _IMP_algebra.Vector3D___repr__(self)
3066 def __cmp__(self, arg2):
3067 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3068 return _IMP_algebra.Vector3D___cmp__(self, arg2)
3071 def __eq__(self, arg2):
3072 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3073 return _IMP_algebra.Vector3D___eq__(self, arg2)
3076 __truediv__ = __div__
3077 __itruediv__ = __idiv__
3080 def __getitem__(self, index):
3081 """__getitem__(Vector3D self, int index) -> double"""
3082 return _IMP_algebra.Vector3D___getitem__(self, index)
3085 def __setitem__(self, index, val):
3086 """__setitem__(Vector3D self, int index, double val)"""
3087 return _IMP_algebra.Vector3D___setitem__(self, index, val)
3089 __swig_destroy__ = _IMP_algebra.delete_Vector3D
3090 __del__ =
lambda self:
None
3091 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3092 Vector3D_swigregister(Vector3D)
3095 """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
3097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3100 """get_unit_vector(Vector4D self) -> Vector4D"""
3101 return _IMP_algebra.Vector4D_get_unit_vector(self)
3104 def __div__(self, s):
3105 """__div__(Vector4D self, double s) -> Vector4D"""
3106 return _IMP_algebra.Vector4D___div__(self, s)
3110 """__neg__(Vector4D self) -> Vector4D"""
3111 return _IMP_algebra.Vector4D___neg__(self)
3114 def __sub__(self, o):
3115 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3116 return _IMP_algebra.Vector4D___sub__(self, o)
3119 def __add__(self, ret):
3120 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3121 return _IMP_algebra.Vector4D___add__(self, ret)
3124 def __mul__(self, *args):
3126 __mul__(Vector4D self, double s) -> Vector4D
3127 __mul__(Vector4D self, Vector4D o) -> double
3129 return _IMP_algebra.Vector4D___mul__(self, *args)
3132 def __init__(self, *args):
3134 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3135 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3136 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3138 this = _IMP_algebra.new_Vector4D(*args)
3140 self.this.append(this)
3141 except __builtin__.Exception:
3144 def __iadd__(self, *args):
3145 _IMP_algebra.Vector4D___iadd__(self, *args)
3150 def __imul__(self, *args):
3151 _IMP_algebra.Vector4D___imul__(self, *args)
3156 def __idiv__(self, *args):
3157 _IMP_algebra.Vector4D___idiv__(self, *args)
3162 def __isub__(self, *args):
3163 _IMP_algebra.Vector4D___isub__(self, *args)
3169 """__len__(Vector4D self) -> unsigned int"""
3170 return _IMP_algebra.Vector4D___len__(self)
3173 def __rmul__(self, f):
3174 """__rmul__(Vector4D self, double f) -> Vector4D"""
3175 return _IMP_algebra.Vector4D___rmul__(self, f)
3179 """__str__(Vector4D self) -> std::string"""
3180 return _IMP_algebra.Vector4D___str__(self)
3184 """__repr__(Vector4D self) -> std::string"""
3185 return _IMP_algebra.Vector4D___repr__(self)
3188 def __cmp__(self, arg2):
3189 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3190 return _IMP_algebra.Vector4D___cmp__(self, arg2)
3193 def __eq__(self, arg2):
3194 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3195 return _IMP_algebra.Vector4D___eq__(self, arg2)
3198 __truediv__ = __div__
3199 __itruediv__ = __idiv__
3202 def __getitem__(self, index):
3203 """__getitem__(Vector4D self, int index) -> double"""
3204 return _IMP_algebra.Vector4D___getitem__(self, index)
3207 def __setitem__(self, index, val):
3208 """__setitem__(Vector4D self, int index, double val)"""
3209 return _IMP_algebra.Vector4D___setitem__(self, index, val)
3211 __swig_destroy__ = _IMP_algebra.delete_Vector4D
3212 __del__ =
lambda self:
None
3213 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3214 Vector4D_swigregister(Vector4D)
3217 """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
3219 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3222 """get_unit_vector(Vector5D self) -> Vector5D"""
3223 return _IMP_algebra.Vector5D_get_unit_vector(self)
3226 def __div__(self, s):
3227 """__div__(Vector5D self, double s) -> Vector5D"""
3228 return _IMP_algebra.Vector5D___div__(self, s)
3232 """__neg__(Vector5D self) -> Vector5D"""
3233 return _IMP_algebra.Vector5D___neg__(self)
3236 def __sub__(self, o):
3237 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3238 return _IMP_algebra.Vector5D___sub__(self, o)
3241 def __add__(self, ret):
3242 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3243 return _IMP_algebra.Vector5D___add__(self, ret)
3246 def __mul__(self, *args):
3248 __mul__(Vector5D self, double s) -> Vector5D
3249 __mul__(Vector5D self, Vector5D o) -> double
3251 return _IMP_algebra.Vector5D___mul__(self, *args)
3254 def __init__(self, *args):
3256 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3257 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3258 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3260 this = _IMP_algebra.new_Vector5D(*args)
3262 self.this.append(this)
3263 except __builtin__.Exception:
3266 def __iadd__(self, *args):
3267 _IMP_algebra.Vector5D___iadd__(self, *args)
3272 def __imul__(self, *args):
3273 _IMP_algebra.Vector5D___imul__(self, *args)
3278 def __idiv__(self, *args):
3279 _IMP_algebra.Vector5D___idiv__(self, *args)
3284 def __isub__(self, *args):
3285 _IMP_algebra.Vector5D___isub__(self, *args)
3291 """__len__(Vector5D self) -> unsigned int"""
3292 return _IMP_algebra.Vector5D___len__(self)
3295 def __rmul__(self, f):
3296 """__rmul__(Vector5D self, double f) -> Vector5D"""
3297 return _IMP_algebra.Vector5D___rmul__(self, f)
3301 """__str__(Vector5D self) -> std::string"""
3302 return _IMP_algebra.Vector5D___str__(self)
3306 """__repr__(Vector5D self) -> std::string"""
3307 return _IMP_algebra.Vector5D___repr__(self)
3310 def __cmp__(self, arg2):
3311 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3312 return _IMP_algebra.Vector5D___cmp__(self, arg2)
3315 def __eq__(self, arg2):
3316 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3317 return _IMP_algebra.Vector5D___eq__(self, arg2)
3320 __truediv__ = __div__
3321 __itruediv__ = __idiv__
3324 def __getitem__(self, index):
3325 """__getitem__(Vector5D self, int index) -> double"""
3326 return _IMP_algebra.Vector5D___getitem__(self, index)
3329 def __setitem__(self, index, val):
3330 """__setitem__(Vector5D self, int index, double val)"""
3331 return _IMP_algebra.Vector5D___setitem__(self, index, val)
3333 __swig_destroy__ = _IMP_algebra.delete_Vector5D
3334 __del__ =
lambda self:
None
3335 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3336 Vector5D_swigregister(Vector5D)
3339 """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
3341 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3344 """get_unit_vector(Vector6D self) -> Vector6D"""
3345 return _IMP_algebra.Vector6D_get_unit_vector(self)
3348 def __div__(self, s):
3349 """__div__(Vector6D self, double s) -> Vector6D"""
3350 return _IMP_algebra.Vector6D___div__(self, s)
3354 """__neg__(Vector6D self) -> Vector6D"""
3355 return _IMP_algebra.Vector6D___neg__(self)
3358 def __sub__(self, o):
3359 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3360 return _IMP_algebra.Vector6D___sub__(self, o)
3363 def __add__(self, ret):
3364 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3365 return _IMP_algebra.Vector6D___add__(self, ret)
3368 def __mul__(self, *args):
3370 __mul__(Vector6D self, double s) -> Vector6D
3371 __mul__(Vector6D self, Vector6D o) -> double
3373 return _IMP_algebra.Vector6D___mul__(self, *args)
3376 def __init__(self, *args):
3378 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3379 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3380 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3382 this = _IMP_algebra.new_Vector6D(*args)
3384 self.this.append(this)
3385 except __builtin__.Exception:
3388 def __iadd__(self, *args):
3389 _IMP_algebra.Vector6D___iadd__(self, *args)
3394 def __imul__(self, *args):
3395 _IMP_algebra.Vector6D___imul__(self, *args)
3400 def __idiv__(self, *args):
3401 _IMP_algebra.Vector6D___idiv__(self, *args)
3406 def __isub__(self, *args):
3407 _IMP_algebra.Vector6D___isub__(self, *args)
3413 """__len__(Vector6D self) -> unsigned int"""
3414 return _IMP_algebra.Vector6D___len__(self)
3417 def __rmul__(self, f):
3418 """__rmul__(Vector6D self, double f) -> Vector6D"""
3419 return _IMP_algebra.Vector6D___rmul__(self, f)
3423 """__str__(Vector6D self) -> std::string"""
3424 return _IMP_algebra.Vector6D___str__(self)
3428 """__repr__(Vector6D self) -> std::string"""
3429 return _IMP_algebra.Vector6D___repr__(self)
3432 def __cmp__(self, arg2):
3433 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3434 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3437 def __eq__(self, arg2):
3438 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3439 return _IMP_algebra.Vector6D___eq__(self, arg2)
3442 __truediv__ = __div__
3443 __itruediv__ = __idiv__
3446 def __getitem__(self, index):
3447 """__getitem__(Vector6D self, int index) -> double"""
3448 return _IMP_algebra.Vector6D___getitem__(self, index)
3451 def __setitem__(self, index, val):
3452 """__setitem__(Vector6D self, int index, double val)"""
3453 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3455 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3456 __del__ =
lambda self:
None
3457 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3458 Vector6D_swigregister(Vector6D)
3461 """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3463 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3466 """get_unit_vector(VectorKD self) -> VectorKD"""
3467 return _IMP_algebra.VectorKD_get_unit_vector(self)
3470 def __div__(self, s):
3471 """__div__(VectorKD self, double s) -> VectorKD"""
3472 return _IMP_algebra.VectorKD___div__(self, s)
3476 """__neg__(VectorKD self) -> VectorKD"""
3477 return _IMP_algebra.VectorKD___neg__(self)
3480 def __sub__(self, o):
3481 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3482 return _IMP_algebra.VectorKD___sub__(self, o)
3485 def __add__(self, ret):
3486 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3487 return _IMP_algebra.VectorKD___add__(self, ret)
3490 def __mul__(self, *args):
3492 __mul__(VectorKD self, double s) -> VectorKD
3493 __mul__(VectorKD self, VectorKD o) -> double
3495 return _IMP_algebra.VectorKD___mul__(self, *args)
3498 def __init__(self, *args):
3500 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3501 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3502 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3503 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3504 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3505 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3506 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3507 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3509 this = _IMP_algebra.new_VectorKD(*args)
3511 self.this.append(this)
3512 except __builtin__.Exception:
3515 def __iadd__(self, *args):
3516 _IMP_algebra.VectorKD___iadd__(self, *args)
3521 def __imul__(self, *args):
3522 _IMP_algebra.VectorKD___imul__(self, *args)
3527 def __idiv__(self, *args):
3528 _IMP_algebra.VectorKD___idiv__(self, *args)
3533 def __isub__(self, *args):
3534 _IMP_algebra.VectorKD___isub__(self, *args)
3540 """__len__(VectorKD self) -> unsigned int"""
3541 return _IMP_algebra.VectorKD___len__(self)
3544 def __rmul__(self, f):
3545 """__rmul__(VectorKD self, double f) -> VectorKD"""
3546 return _IMP_algebra.VectorKD___rmul__(self, f)
3550 """__str__(VectorKD self) -> std::string"""
3551 return _IMP_algebra.VectorKD___str__(self)
3555 """__repr__(VectorKD self) -> std::string"""
3556 return _IMP_algebra.VectorKD___repr__(self)
3559 def __cmp__(self, arg2):
3560 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3561 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3564 def __eq__(self, arg2):
3565 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3566 return _IMP_algebra.VectorKD___eq__(self, arg2)
3569 __truediv__ = __div__
3570 __itruediv__ = __idiv__
3573 def __getitem__(self, index):
3574 """__getitem__(VectorKD self, int index) -> double"""
3575 return _IMP_algebra.VectorKD___getitem__(self, index)
3578 def __setitem__(self, index, val):
3579 """__setitem__(VectorKD self, int index, double val)"""
3580 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3582 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3583 __del__ =
lambda self:
None
3584 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3585 VectorKD_swigregister(VectorKD)
3588 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3592 def get_dimension(self):
3593 """get_dimension(BoundingBox1D self) -> unsigned int"""
3594 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3597 def get_corner(self, i):
3598 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3599 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3602 def get_contains(self, *args):
3604 get_contains(BoundingBox1D self, Vector1D o) -> bool
3605 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3607 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3610 def show(self, *args):
3612 show(BoundingBox1D self, _ostream out)
3613 show(BoundingBox1D self)
3615 return _IMP_algebra.BoundingBox1D_show(self, *args)
3619 """__str__(BoundingBox1D self) -> std::string"""
3620 return _IMP_algebra.BoundingBox1D___str__(self)
3624 """__repr__(BoundingBox1D self) -> std::string"""
3625 return _IMP_algebra.BoundingBox1D___repr__(self)
3628 def __cmp__(self, arg2):
3629 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3630 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3633 def __eq__(self, arg2):
3634 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3635 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3638 def __init__(self, *args):
3640 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3641 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3642 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3643 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3644 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3646 this = _IMP_algebra.new_BoundingBox1D(*args)
3648 self.this.append(this)
3649 except __builtin__.Exception:
3652 def __getitem__(self, index):
3653 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3654 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3657 def __iadd__(self, *args):
3658 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3664 """__len__(BoundingBox1D self) -> unsigned int"""
3665 return _IMP_algebra.BoundingBox1D___len__(self)
3668 def __add__(self, *args):
3670 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3671 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3672 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3674 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3676 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3677 __del__ =
lambda self:
None
3678 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3679 BoundingBox1D_swigregister(BoundingBox1D)
3682 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3684 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3686 def get_dimension(self):
3687 """get_dimension(BoundingBox2D self) -> unsigned int"""
3688 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3691 def get_corner(self, i):
3692 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3693 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3696 def get_contains(self, *args):
3698 get_contains(BoundingBox2D self, Vector2D o) -> bool
3699 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3701 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3704 def show(self, *args):
3706 show(BoundingBox2D self, _ostream out)
3707 show(BoundingBox2D self)
3709 return _IMP_algebra.BoundingBox2D_show(self, *args)
3713 """__str__(BoundingBox2D self) -> std::string"""
3714 return _IMP_algebra.BoundingBox2D___str__(self)
3718 """__repr__(BoundingBox2D self) -> std::string"""
3719 return _IMP_algebra.BoundingBox2D___repr__(self)
3722 def __cmp__(self, arg2):
3723 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3724 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3727 def __eq__(self, arg2):
3728 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3729 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3732 def __init__(self, *args):
3734 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3735 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3736 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3737 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3738 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3740 this = _IMP_algebra.new_BoundingBox2D(*args)
3742 self.this.append(this)
3743 except __builtin__.Exception:
3746 def __getitem__(self, index):
3747 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3748 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3751 def __iadd__(self, *args):
3752 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3758 """__len__(BoundingBox2D self) -> unsigned int"""
3759 return _IMP_algebra.BoundingBox2D___len__(self)
3762 def __add__(self, *args):
3764 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3765 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3766 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3768 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3770 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3771 __del__ =
lambda self:
None
3772 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3773 BoundingBox2D_swigregister(BoundingBox2D)
3776 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3778 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3780 def get_dimension(self):
3781 """get_dimension(BoundingBox3D self) -> unsigned int"""
3782 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3785 def get_corner(self, i):
3786 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3787 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3790 def get_contains(self, *args):
3792 get_contains(BoundingBox3D self, Vector3D o) -> bool
3793 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3795 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3798 def show(self, *args):
3800 show(BoundingBox3D self, _ostream out)
3801 show(BoundingBox3D self)
3803 return _IMP_algebra.BoundingBox3D_show(self, *args)
3807 """__str__(BoundingBox3D self) -> std::string"""
3808 return _IMP_algebra.BoundingBox3D___str__(self)
3812 """__repr__(BoundingBox3D self) -> std::string"""
3813 return _IMP_algebra.BoundingBox3D___repr__(self)
3816 def __cmp__(self, arg2):
3817 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3818 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3821 def __eq__(self, arg2):
3822 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3823 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3826 def __init__(self, *args):
3828 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3829 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3830 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3831 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3832 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3834 this = _IMP_algebra.new_BoundingBox3D(*args)
3836 self.this.append(this)
3837 except __builtin__.Exception:
3840 def __getitem__(self, index):
3841 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3842 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3845 def __iadd__(self, *args):
3846 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3852 """__len__(BoundingBox3D self) -> unsigned int"""
3853 return _IMP_algebra.BoundingBox3D___len__(self)
3856 def __add__(self, *args):
3858 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3859 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3860 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3862 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3864 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3865 __del__ =
lambda self:
None
3866 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3867 BoundingBox3D_swigregister(BoundingBox3D)
3870 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3872 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3874 def get_dimension(self):
3875 """get_dimension(BoundingBox4D self) -> unsigned int"""
3876 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3879 def get_corner(self, i):
3880 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3881 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3884 def get_contains(self, *args):
3886 get_contains(BoundingBox4D self, Vector4D o) -> bool
3887 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3889 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3892 def show(self, *args):
3894 show(BoundingBox4D self, _ostream out)
3895 show(BoundingBox4D self)
3897 return _IMP_algebra.BoundingBox4D_show(self, *args)
3901 """__str__(BoundingBox4D self) -> std::string"""
3902 return _IMP_algebra.BoundingBox4D___str__(self)
3906 """__repr__(BoundingBox4D self) -> std::string"""
3907 return _IMP_algebra.BoundingBox4D___repr__(self)
3910 def __cmp__(self, arg2):
3911 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3912 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3915 def __eq__(self, arg2):
3916 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3917 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3920 def __init__(self, *args):
3922 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3923 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3924 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3925 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3926 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3928 this = _IMP_algebra.new_BoundingBox4D(*args)
3930 self.this.append(this)
3931 except __builtin__.Exception:
3934 def __getitem__(self, index):
3935 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3936 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3939 def __iadd__(self, *args):
3940 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3946 """__len__(BoundingBox4D self) -> unsigned int"""
3947 return _IMP_algebra.BoundingBox4D___len__(self)
3950 def __add__(self, *args):
3952 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3953 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3954 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3956 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3958 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3959 __del__ =
lambda self:
None
3960 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3961 BoundingBox4D_swigregister(BoundingBox4D)
3964 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3968 def get_dimension(self):
3969 """get_dimension(BoundingBox5D self) -> unsigned int"""
3970 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3973 def get_corner(self, i):
3974 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3975 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3978 def get_contains(self, *args):
3980 get_contains(BoundingBox5D self, Vector5D o) -> bool
3981 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3983 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3986 def show(self, *args):
3988 show(BoundingBox5D self, _ostream out)
3989 show(BoundingBox5D self)
3991 return _IMP_algebra.BoundingBox5D_show(self, *args)
3995 """__str__(BoundingBox5D self) -> std::string"""
3996 return _IMP_algebra.BoundingBox5D___str__(self)
4000 """__repr__(BoundingBox5D self) -> std::string"""
4001 return _IMP_algebra.BoundingBox5D___repr__(self)
4004 def __cmp__(self, arg2):
4005 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4006 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4009 def __eq__(self, arg2):
4010 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4011 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4014 def __init__(self, *args):
4016 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4017 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4018 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4019 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4020 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4022 this = _IMP_algebra.new_BoundingBox5D(*args)
4024 self.this.append(this)
4025 except __builtin__.Exception:
4028 def __getitem__(self, index):
4029 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4030 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4033 def __iadd__(self, *args):
4034 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4040 """__len__(BoundingBox5D self) -> unsigned int"""
4041 return _IMP_algebra.BoundingBox5D___len__(self)
4044 def __add__(self, *args):
4046 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4047 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4048 __add__(BoundingBox5D self, double o) -> BoundingBox5D
4050 return _IMP_algebra.BoundingBox5D___add__(self, *args)
4052 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4053 __del__ =
lambda self:
None
4054 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4055 BoundingBox5D_swigregister(BoundingBox5D)
4058 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
4060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4062 def get_dimension(self):
4063 """get_dimension(BoundingBox6D self) -> unsigned int"""
4064 return _IMP_algebra.BoundingBox6D_get_dimension(self)
4067 def get_corner(self, i):
4068 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4069 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4072 def get_contains(self, *args):
4074 get_contains(BoundingBox6D self, Vector6D o) -> bool
4075 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4077 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4080 def show(self, *args):
4082 show(BoundingBox6D self, _ostream out)
4083 show(BoundingBox6D self)
4085 return _IMP_algebra.BoundingBox6D_show(self, *args)
4089 """__str__(BoundingBox6D self) -> std::string"""
4090 return _IMP_algebra.BoundingBox6D___str__(self)
4094 """__repr__(BoundingBox6D self) -> std::string"""
4095 return _IMP_algebra.BoundingBox6D___repr__(self)
4098 def __cmp__(self, arg2):
4099 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4100 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4103 def __eq__(self, arg2):
4104 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4105 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4108 def __init__(self, *args):
4110 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4111 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4112 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4113 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4114 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4116 this = _IMP_algebra.new_BoundingBox6D(*args)
4118 self.this.append(this)
4119 except __builtin__.Exception:
4122 def __getitem__(self, index):
4123 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4124 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4127 def __iadd__(self, *args):
4128 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4134 """__len__(BoundingBox6D self) -> unsigned int"""
4135 return _IMP_algebra.BoundingBox6D___len__(self)
4138 def __add__(self, *args):
4140 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4141 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4142 __add__(BoundingBox6D self, double o) -> BoundingBox6D
4144 return _IMP_algebra.BoundingBox6D___add__(self, *args)
4146 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4147 __del__ =
lambda self:
None
4148 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4149 BoundingBox6D_swigregister(BoundingBox6D)
4152 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
4154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4156 def get_dimension(self):
4157 """get_dimension(BoundingBoxKD self) -> unsigned int"""
4158 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4161 def get_corner(self, i):
4162 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4163 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4166 def get_contains(self, *args):
4168 get_contains(BoundingBoxKD self, VectorKD o) -> bool
4169 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4171 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4174 def show(self, *args):
4176 show(BoundingBoxKD self, _ostream out)
4177 show(BoundingBoxKD self)
4179 return _IMP_algebra.BoundingBoxKD_show(self, *args)
4183 """__str__(BoundingBoxKD self) -> std::string"""
4184 return _IMP_algebra.BoundingBoxKD___str__(self)
4188 """__repr__(BoundingBoxKD self) -> std::string"""
4189 return _IMP_algebra.BoundingBoxKD___repr__(self)
4192 def __cmp__(self, arg2):
4193 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4194 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4197 def __eq__(self, arg2):
4198 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4199 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4202 def __init__(self, *args):
4204 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4205 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4206 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4207 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4208 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4210 this = _IMP_algebra.new_BoundingBoxKD(*args)
4212 self.this.append(this)
4213 except __builtin__.Exception:
4216 def __getitem__(self, index):
4217 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4218 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4221 def __iadd__(self, *args):
4222 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4228 """__len__(BoundingBoxKD self) -> unsigned int"""
4229 return _IMP_algebra.BoundingBoxKD___len__(self)
4232 def __add__(self, *args):
4234 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4235 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4236 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4238 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4240 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4241 __del__ =
lambda self:
None
4242 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4243 BoundingBoxKD_swigregister(BoundingBoxKD)
4245 class Sphere1D(_GeometricPrimitive1D):
4246 """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
4248 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4250 def __init__(self, *args):
4252 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4253 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4255 this = _IMP_algebra.new_Sphere1D(*args)
4257 self.this.append(this)
4258 except __builtin__.Exception:
4261 def get_radius(self):
4262 """get_radius(Sphere1D self) -> double"""
4263 return _IMP_algebra.Sphere1D_get_radius(self)
4266 def get_center(self):
4267 """get_center(Sphere1D self) -> Vector1D"""
4268 return _IMP_algebra.Sphere1D_get_center(self)
4271 def get_contains(self, *args):
4273 get_contains(Sphere1D self, Sphere1D o) -> bool
4274 get_contains(Sphere1D self, Vector1D p) -> bool
4276 return _IMP_algebra.Sphere1D_get_contains(self, *args)
4279 def show(self, *args):
4281 show(Sphere1D self, _ostream out)
4284 return _IMP_algebra.Sphere1D_show(self, *args)
4287 def get_dimension(self):
4288 """get_dimension(Sphere1D self) -> unsigned int"""
4289 return _IMP_algebra.Sphere1D_get_dimension(self)
4293 """__str__(Sphere1D self) -> std::string"""
4294 return _IMP_algebra.Sphere1D___str__(self)
4298 """__repr__(Sphere1D self) -> std::string"""
4299 return _IMP_algebra.Sphere1D___repr__(self)
4302 def __cmp__(self, arg2):
4303 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4304 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4307 def __eq__(self, arg2):
4308 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4309 return _IMP_algebra.Sphere1D___eq__(self, arg2)
4311 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4312 __del__ =
lambda self:
None
4313 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4314 Sphere1D_swigregister(Sphere1D)
4316 class Sphere2D(_GeometricPrimitive2D):
4317 """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
4319 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4321 def __init__(self, *args):
4323 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4324 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4326 this = _IMP_algebra.new_Sphere2D(*args)
4328 self.this.append(this)
4329 except __builtin__.Exception:
4332 def get_radius(self):
4333 """get_radius(Sphere2D self) -> double"""
4334 return _IMP_algebra.Sphere2D_get_radius(self)
4337 def get_center(self):
4338 """get_center(Sphere2D self) -> Vector2D"""
4339 return _IMP_algebra.Sphere2D_get_center(self)
4342 def get_contains(self, *args):
4344 get_contains(Sphere2D self, Sphere2D o) -> bool
4345 get_contains(Sphere2D self, Vector2D p) -> bool
4347 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4350 def show(self, *args):
4352 show(Sphere2D self, _ostream out)
4355 return _IMP_algebra.Sphere2D_show(self, *args)
4358 def get_dimension(self):
4359 """get_dimension(Sphere2D self) -> unsigned int"""
4360 return _IMP_algebra.Sphere2D_get_dimension(self)
4364 """__str__(Sphere2D self) -> std::string"""
4365 return _IMP_algebra.Sphere2D___str__(self)
4369 """__repr__(Sphere2D self) -> std::string"""
4370 return _IMP_algebra.Sphere2D___repr__(self)
4373 def __cmp__(self, arg2):
4374 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4375 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4378 def __eq__(self, arg2):
4379 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4380 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4382 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4383 __del__ =
lambda self:
None
4384 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4385 Sphere2D_swigregister(Sphere2D)
4387 class Sphere3D(_GeometricPrimitive3D):
4388 """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4392 def __init__(self, *args):
4394 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4395 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4397 this = _IMP_algebra.new_Sphere3D(*args)
4399 self.this.append(this)
4400 except __builtin__.Exception:
4403 def get_radius(self):
4404 """get_radius(Sphere3D self) -> double"""
4405 return _IMP_algebra.Sphere3D_get_radius(self)
4408 def get_center(self):
4409 """get_center(Sphere3D self) -> Vector3D"""
4410 return _IMP_algebra.Sphere3D_get_center(self)
4413 def get_contains(self, *args):
4415 get_contains(Sphere3D self, Sphere3D o) -> bool
4416 get_contains(Sphere3D self, Vector3D p) -> bool
4418 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4421 def show(self, *args):
4423 show(Sphere3D self, _ostream out)
4426 return _IMP_algebra.Sphere3D_show(self, *args)
4429 def get_dimension(self):
4430 """get_dimension(Sphere3D self) -> unsigned int"""
4431 return _IMP_algebra.Sphere3D_get_dimension(self)
4435 """__str__(Sphere3D self) -> std::string"""
4436 return _IMP_algebra.Sphere3D___str__(self)
4440 """__repr__(Sphere3D self) -> std::string"""
4441 return _IMP_algebra.Sphere3D___repr__(self)
4444 def __cmp__(self, arg2):
4445 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4446 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4449 def __eq__(self, arg2):
4450 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4451 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4453 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4454 __del__ =
lambda self:
None
4455 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4456 Sphere3D_swigregister(Sphere3D)
4458 class Sphere4D(_GeometricPrimitive4D):
4459 """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4461 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4463 def __init__(self, *args):
4465 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4466 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4468 this = _IMP_algebra.new_Sphere4D(*args)
4470 self.this.append(this)
4471 except __builtin__.Exception:
4474 def get_radius(self):
4475 """get_radius(Sphere4D self) -> double"""
4476 return _IMP_algebra.Sphere4D_get_radius(self)
4479 def get_center(self):
4480 """get_center(Sphere4D self) -> Vector4D"""
4481 return _IMP_algebra.Sphere4D_get_center(self)
4484 def get_contains(self, *args):
4486 get_contains(Sphere4D self, Sphere4D o) -> bool
4487 get_contains(Sphere4D self, Vector4D p) -> bool
4489 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4492 def show(self, *args):
4494 show(Sphere4D self, _ostream out)
4497 return _IMP_algebra.Sphere4D_show(self, *args)
4500 def get_dimension(self):
4501 """get_dimension(Sphere4D self) -> unsigned int"""
4502 return _IMP_algebra.Sphere4D_get_dimension(self)
4506 """__str__(Sphere4D self) -> std::string"""
4507 return _IMP_algebra.Sphere4D___str__(self)
4511 """__repr__(Sphere4D self) -> std::string"""
4512 return _IMP_algebra.Sphere4D___repr__(self)
4515 def __cmp__(self, arg2):
4516 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4517 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4520 def __eq__(self, arg2):
4521 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4522 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4524 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4525 __del__ =
lambda self:
None
4526 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4527 Sphere4D_swigregister(Sphere4D)
4529 class Sphere5D(_GeometricPrimitive5D):
4530 """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4532 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4534 def __init__(self, *args):
4536 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4537 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4539 this = _IMP_algebra.new_Sphere5D(*args)
4541 self.this.append(this)
4542 except __builtin__.Exception:
4545 def get_radius(self):
4546 """get_radius(Sphere5D self) -> double"""
4547 return _IMP_algebra.Sphere5D_get_radius(self)
4550 def get_center(self):
4551 """get_center(Sphere5D self) -> Vector5D"""
4552 return _IMP_algebra.Sphere5D_get_center(self)
4555 def get_contains(self, *args):
4557 get_contains(Sphere5D self, Sphere5D o) -> bool
4558 get_contains(Sphere5D self, Vector5D p) -> bool
4560 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4563 def show(self, *args):
4565 show(Sphere5D self, _ostream out)
4568 return _IMP_algebra.Sphere5D_show(self, *args)
4571 def get_dimension(self):
4572 """get_dimension(Sphere5D self) -> unsigned int"""
4573 return _IMP_algebra.Sphere5D_get_dimension(self)
4577 """__str__(Sphere5D self) -> std::string"""
4578 return _IMP_algebra.Sphere5D___str__(self)
4582 """__repr__(Sphere5D self) -> std::string"""
4583 return _IMP_algebra.Sphere5D___repr__(self)
4586 def __cmp__(self, arg2):
4587 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4588 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4591 def __eq__(self, arg2):
4592 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4593 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4595 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4596 __del__ =
lambda self:
None
4597 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4598 Sphere5D_swigregister(Sphere5D)
4600 class Sphere6D(_GeometricPrimitive6D):
4601 """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4605 def __init__(self, *args):
4607 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4608 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4610 this = _IMP_algebra.new_Sphere6D(*args)
4612 self.this.append(this)
4613 except __builtin__.Exception:
4616 def get_radius(self):
4617 """get_radius(Sphere6D self) -> double"""
4618 return _IMP_algebra.Sphere6D_get_radius(self)
4621 def get_center(self):
4622 """get_center(Sphere6D self) -> Vector6D"""
4623 return _IMP_algebra.Sphere6D_get_center(self)
4626 def get_contains(self, *args):
4628 get_contains(Sphere6D self, Sphere6D o) -> bool
4629 get_contains(Sphere6D self, Vector6D p) -> bool
4631 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4634 def show(self, *args):
4636 show(Sphere6D self, _ostream out)
4639 return _IMP_algebra.Sphere6D_show(self, *args)
4642 def get_dimension(self):
4643 """get_dimension(Sphere6D self) -> unsigned int"""
4644 return _IMP_algebra.Sphere6D_get_dimension(self)
4648 """__str__(Sphere6D self) -> std::string"""
4649 return _IMP_algebra.Sphere6D___str__(self)
4653 """__repr__(Sphere6D self) -> std::string"""
4654 return _IMP_algebra.Sphere6D___repr__(self)
4657 def __cmp__(self, arg2):
4658 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4659 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4662 def __eq__(self, arg2):
4663 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4664 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4666 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4667 __del__ =
lambda self:
None
4668 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4669 Sphere6D_swigregister(Sphere6D)
4671 class SphereKD(_GeometricPrimitiveKD):
4672 """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4676 def __init__(self, *args):
4678 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4679 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4681 this = _IMP_algebra.new_SphereKD(*args)
4683 self.this.append(this)
4684 except __builtin__.Exception:
4687 def get_radius(self):
4688 """get_radius(SphereKD self) -> double"""
4689 return _IMP_algebra.SphereKD_get_radius(self)
4692 def get_center(self):
4693 """get_center(SphereKD self) -> VectorKD"""
4694 return _IMP_algebra.SphereKD_get_center(self)
4697 def get_contains(self, *args):
4699 get_contains(SphereKD self, SphereKD o) -> bool
4700 get_contains(SphereKD self, VectorKD p) -> bool
4702 return _IMP_algebra.SphereKD_get_contains(self, *args)
4705 def show(self, *args):
4707 show(SphereKD self, _ostream out)
4710 return _IMP_algebra.SphereKD_show(self, *args)
4713 def get_dimension(self):
4714 """get_dimension(SphereKD self) -> unsigned int"""
4715 return _IMP_algebra.SphereKD_get_dimension(self)
4719 """__str__(SphereKD self) -> std::string"""
4720 return _IMP_algebra.SphereKD___str__(self)
4724 """__repr__(SphereKD self) -> std::string"""
4725 return _IMP_algebra.SphereKD___repr__(self)
4728 def __cmp__(self, arg2):
4729 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4730 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4733 def __eq__(self, arg2):
4734 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4735 return _IMP_algebra.SphereKD___eq__(self, arg2)
4737 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4738 __del__ =
lambda self:
None
4739 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4740 SphereKD_swigregister(SphereKD)
4742 class UnitSimplex1D(_UnitSimplexBase1D):
4743 """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class."""
4745 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4748 """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
4749 this = _IMP_algebra.new_UnitSimplex1D()
4751 self.this.append(this)
4752 except __builtin__.Exception:
4755 def show(self, *args):
4757 show(UnitSimplex1D self, _ostream out)
4758 show(UnitSimplex1D self)
4760 return _IMP_algebra.UnitSimplex1D_show(self, *args)
4764 """__str__(UnitSimplex1D self) -> std::string"""
4765 return _IMP_algebra.UnitSimplex1D___str__(self)
4769 """__repr__(UnitSimplex1D self) -> std::string"""
4770 return _IMP_algebra.UnitSimplex1D___repr__(self)
4773 def __cmp__(self, arg2):
4774 """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
4775 return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
4778 def __eq__(self, arg2):
4779 """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
4780 return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
4782 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
4783 __del__ =
lambda self:
None
4784 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
4785 UnitSimplex1D_swigregister(UnitSimplex1D)
4787 class UnitSimplex2D(_UnitSimplexBase2D):
4788 """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class."""
4790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4793 """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
4794 this = _IMP_algebra.new_UnitSimplex2D()
4796 self.this.append(this)
4797 except __builtin__.Exception:
4800 def show(self, *args):
4802 show(UnitSimplex2D self, _ostream out)
4803 show(UnitSimplex2D self)
4805 return _IMP_algebra.UnitSimplex2D_show(self, *args)
4809 """__str__(UnitSimplex2D self) -> std::string"""
4810 return _IMP_algebra.UnitSimplex2D___str__(self)
4814 """__repr__(UnitSimplex2D self) -> std::string"""
4815 return _IMP_algebra.UnitSimplex2D___repr__(self)
4818 def __cmp__(self, arg2):
4819 """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
4820 return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
4823 def __eq__(self, arg2):
4824 """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
4825 return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
4827 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
4828 __del__ =
lambda self:
None
4829 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
4830 UnitSimplex2D_swigregister(UnitSimplex2D)
4832 class UnitSimplex3D(_UnitSimplexBase3D):
4833 """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class."""
4835 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4838 """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
4839 this = _IMP_algebra.new_UnitSimplex3D()
4841 self.this.append(this)
4842 except __builtin__.Exception:
4845 def show(self, *args):
4847 show(UnitSimplex3D self, _ostream out)
4848 show(UnitSimplex3D self)
4850 return _IMP_algebra.UnitSimplex3D_show(self, *args)
4854 """__str__(UnitSimplex3D self) -> std::string"""
4855 return _IMP_algebra.UnitSimplex3D___str__(self)
4859 """__repr__(UnitSimplex3D self) -> std::string"""
4860 return _IMP_algebra.UnitSimplex3D___repr__(self)
4863 def __cmp__(self, arg2):
4864 """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
4865 return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
4868 def __eq__(self, arg2):
4869 """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
4870 return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
4872 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
4873 __del__ =
lambda self:
None
4874 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
4875 UnitSimplex3D_swigregister(UnitSimplex3D)
4877 class UnitSimplex4D(_UnitSimplexBase4D):
4878 """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class."""
4880 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4883 """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
4884 this = _IMP_algebra.new_UnitSimplex4D()
4886 self.this.append(this)
4887 except __builtin__.Exception:
4890 def show(self, *args):
4892 show(UnitSimplex4D self, _ostream out)
4893 show(UnitSimplex4D self)
4895 return _IMP_algebra.UnitSimplex4D_show(self, *args)
4899 """__str__(UnitSimplex4D self) -> std::string"""
4900 return _IMP_algebra.UnitSimplex4D___str__(self)
4904 """__repr__(UnitSimplex4D self) -> std::string"""
4905 return _IMP_algebra.UnitSimplex4D___repr__(self)
4908 def __cmp__(self, arg2):
4909 """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
4910 return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
4913 def __eq__(self, arg2):
4914 """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
4915 return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
4917 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
4918 __del__ =
lambda self:
None
4919 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
4920 UnitSimplex4D_swigregister(UnitSimplex4D)
4922 class UnitSimplex5D(_UnitSimplexBase5D):
4923 """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class."""
4925 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4928 """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
4929 this = _IMP_algebra.new_UnitSimplex5D()
4931 self.this.append(this)
4932 except __builtin__.Exception:
4935 def show(self, *args):
4937 show(UnitSimplex5D self, _ostream out)
4938 show(UnitSimplex5D self)
4940 return _IMP_algebra.UnitSimplex5D_show(self, *args)
4944 """__str__(UnitSimplex5D self) -> std::string"""
4945 return _IMP_algebra.UnitSimplex5D___str__(self)
4949 """__repr__(UnitSimplex5D self) -> std::string"""
4950 return _IMP_algebra.UnitSimplex5D___repr__(self)
4953 def __cmp__(self, arg2):
4954 """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
4955 return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
4958 def __eq__(self, arg2):
4959 """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
4960 return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
4962 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
4963 __del__ =
lambda self:
None
4964 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
4965 UnitSimplex5D_swigregister(UnitSimplex5D)
4967 class UnitSimplex6D(_UnitSimplexBase6D):
4968 """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class."""
4970 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4973 """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
4974 this = _IMP_algebra.new_UnitSimplex6D()
4976 self.this.append(this)
4977 except __builtin__.Exception:
4980 def show(self, *args):
4982 show(UnitSimplex6D self, _ostream out)
4983 show(UnitSimplex6D self)
4985 return _IMP_algebra.UnitSimplex6D_show(self, *args)
4989 """__str__(UnitSimplex6D self) -> std::string"""
4990 return _IMP_algebra.UnitSimplex6D___str__(self)
4994 """__repr__(UnitSimplex6D self) -> std::string"""
4995 return _IMP_algebra.UnitSimplex6D___repr__(self)
4998 def __cmp__(self, arg2):
4999 """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5000 return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5003 def __eq__(self, arg2):
5004 """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5005 return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5007 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5008 __del__ =
lambda self:
None
5009 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5010 UnitSimplex6D_swigregister(UnitSimplex6D)
5012 class UnitSimplexKD(_UnitSimplexBaseKD):
5013 """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class."""
5015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5016 __repr__ = _swig_repr
5018 def __init__(self, d=1):
5020 __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5021 __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5023 this = _IMP_algebra.new_UnitSimplexKD(d)
5025 self.this.append(this)
5026 except __builtin__.Exception:
5029 def show(self, *args):
5031 show(UnitSimplexKD self, _ostream out)
5032 show(UnitSimplexKD self)
5034 return _IMP_algebra.UnitSimplexKD_show(self, *args)
5036 __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5037 __del__ =
lambda self:
None
5038 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5039 UnitSimplexKD_swigregister(UnitSimplexKD)
5041 class ReferenceFrame3D(object):
5042 """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
5044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5046 def __init__(self, *args):
5048 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5049 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5051 this = _IMP_algebra.new_ReferenceFrame3D(*args)
5053 self.this.append(this)
5054 except __builtin__.Exception:
5056 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5057 __del__ =
lambda self:
None
5059 def get_transformation_to(self):
5060 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5061 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5064 def get_transformation_from(self):
5065 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5066 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5069 def get_global_coordinates(self, v):
5070 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5071 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5074 def get_local_coordinates(self, v):
5075 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5076 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5079 def get_global_reference_frame(self, v):
5080 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5081 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5084 def get_local_reference_frame(self, v):
5085 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5086 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
5089 def show(self, *args):
5091 show(ReferenceFrame3D self, _ostream out)
5092 show(ReferenceFrame3D self)
5094 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
5098 """__str__(ReferenceFrame3D self) -> std::string"""
5099 return _IMP_algebra.ReferenceFrame3D___str__(self)
5103 """__repr__(ReferenceFrame3D self) -> std::string"""
5104 return _IMP_algebra.ReferenceFrame3D___repr__(self)
5106 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
5107 ReferenceFrame3D_swigregister(ReferenceFrame3D)
5110 def get_transformed(*args):
5112 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
5113 get_transformed(Line3D l, Transformation3D tr) -> Line3D
5114 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
5116 return _IMP_algebra.get_transformed(*args)
5118 def get_transformation_from_first_to_second(a, b):
5119 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
5120 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
5121 class SphericalVector3D(_GeometricPrimitive3D):
5122 """Proxy of C++ IMP::algebra::SphericalVector3D class."""
5124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5126 def __init__(self, *args):
5128 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
5129 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
5130 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
5131 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
5133 this = _IMP_algebra.new_SphericalVector3D(*args)
5135 self.this.append(this)
5136 except __builtin__.Exception:
5139 def get_cartesian_coordinates(self):
5140 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
5141 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
5144 def show(self, *args):
5146 show(SphericalVector3D self, _ostream out)
5147 show(SphericalVector3D self)
5149 return _IMP_algebra.SphericalVector3D_show(self, *args)
5153 """__str__(SphericalVector3D self) -> std::string"""
5154 return _IMP_algebra.SphericalVector3D___str__(self)
5158 """__repr__(SphericalVector3D self) -> std::string"""
5159 return _IMP_algebra.SphericalVector3D___repr__(self)
5162 def __getitem__(self, index):
5163 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
5164 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
5167 def __setitem__(self, index, val):
5168 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
5169 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
5171 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
5172 __del__ =
lambda self:
None
5173 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
5174 SphericalVector3D_swigregister(SphericalVector3D)
5178 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
5179 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
5180 class Line3D(_GeometricPrimitive3D):
5181 """Proxy of C++ IMP::algebra::Line3D class."""
5183 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5185 def __init__(self, *args):
5187 __init__(IMP::algebra::Line3D self) -> Line3D
5188 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
5189 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
5191 this = _IMP_algebra.new_Line3D(*args)
5193 self.this.append(this)
5194 except __builtin__.Exception:
5197 def get_direction(self):
5198 """get_direction(Line3D self) -> Vector3D"""
5199 return _IMP_algebra.Line3D_get_direction(self)
5202 def get_point_on_line(self):
5203 """get_point_on_line(Line3D self) -> Vector3D"""
5204 return _IMP_algebra.Line3D_get_point_on_line(self)
5207 def get_moment(self, *args):
5209 get_moment(Line3D self) -> Vector3D
5210 get_moment(Line3D self, Vector3D v) -> Vector3D
5212 return _IMP_algebra.Line3D_get_moment(self, *args)
5215 def get_reciprocal_product(self, l):
5216 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
5217 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
5220 def get_opposite(self):
5221 """get_opposite(Line3D self) -> Line3D"""
5222 return _IMP_algebra.Line3D_get_opposite(self)
5225 def get_segment_starting_at(self, v, d):
5226 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
5227 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
5230 def show(self, *args):
5232 show(Line3D self, _ostream out)
5235 return _IMP_algebra.Line3D_show(self, *args)
5239 """__str__(Line3D self) -> std::string"""
5240 return _IMP_algebra.Line3D___str__(self)
5244 """__repr__(Line3D self) -> std::string"""
5245 return _IMP_algebra.Line3D___repr__(self)
5247 __swig_destroy__ = _IMP_algebra.delete_Line3D
5248 __del__ =
lambda self:
None
5249 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
5250 Line3D_swigregister(Line3D)
5253 def get_line_3d_geometry(g):
5254 """get_line_3d_geometry(Line3D g) -> Line3D"""
5255 return _IMP_algebra.get_line_3d_geometry(g)
5258 """get_angle(Line3D a, Line3D b) -> double"""
5259 return _IMP_algebra.get_angle(a, b)
5262 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
5263 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
5264 class Segment3D(_GeometricPrimitive3D):
5265 """Proxy of C++ IMP::algebra::Segment3D class."""
5267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5269 def __init__(self, *args):
5271 __init__(IMP::algebra::Segment3D self) -> Segment3D
5272 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
5274 this = _IMP_algebra.new_Segment3D(*args)
5276 self.this.append(this)
5277 except __builtin__.Exception:
5280 def get_point(self, i):
5283 return _IMP_algebra.Segment3D_get_point(self, i)
5287 def get_middle_point(self):
5288 """get_middle_point(Segment3D self) -> Vector3D"""
5289 return _IMP_algebra.Segment3D_get_middle_point(self)
5292 def get_direction(self):
5293 """get_direction(Segment3D self) -> Vector3D"""
5294 return _IMP_algebra.Segment3D_get_direction(self)
5297 def get_length(self):
5298 """get_length(Segment3D self) -> double"""
5299 return _IMP_algebra.Segment3D_get_length(self)
5302 def show(self, *args):
5304 show(Segment3D self, _ostream out)
5305 show(Segment3D self)
5307 return _IMP_algebra.Segment3D_show(self, *args)
5311 """__str__(Segment3D self) -> std::string"""
5312 return _IMP_algebra.Segment3D___str__(self)
5316 """__repr__(Segment3D self) -> std::string"""
5317 return _IMP_algebra.Segment3D___repr__(self)
5319 __swig_destroy__ = _IMP_algebra.delete_Segment3D
5320 __del__ =
lambda self:
None
5321 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
5322 Segment3D_swigregister(Segment3D)
5325 def get_segment_3d_geometry(g):
5326 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
5327 return _IMP_algebra.get_segment_3d_geometry(g)
5330 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
5331 return _IMP_algebra.get_relative_projection_on_segment(s, p)
5332 class Triangle3D(_GeometricPrimitive3D):
5333 """Proxy of C++ IMP::algebra::Triangle3D class."""
5335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5337 def __init__(self, *args):
5339 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
5340 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
5342 this = _IMP_algebra.new_Triangle3D(*args)
5344 self.this.append(this)
5345 except __builtin__.Exception:
5348 def get_point(self, i):
5349 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
5350 return _IMP_algebra.Triangle3D_get_point(self, i)
5353 def show(self, *args):
5355 show(Triangle3D self, _ostream out)
5356 show(Triangle3D self)
5358 return _IMP_algebra.Triangle3D_show(self, *args)
5361 def get_edge_lengths(self):
5362 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
5363 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
5367 """__str__(Triangle3D self) -> std::string"""
5368 return _IMP_algebra.Triangle3D___str__(self)
5372 """__repr__(Triangle3D self) -> std::string"""
5373 return _IMP_algebra.Triangle3D___repr__(self)
5375 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
5376 __del__ =
lambda self:
None
5377 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
5378 Triangle3D_swigregister(Triangle3D)
5382 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
5383 return _IMP_algebra.get_largest_triangle(points)
5386 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
5387 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
5390 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
5391 return _IMP_algebra.get_are_colinear(p1, p2, p3)
5392 class LinearFit2D(_GeometricPrimitive2D):
5393 """Proxy of C++ IMP::algebra::LinearFit2D class."""
5395 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5397 def __init__(self, *args):
5399 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
5400 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
5402 this = _IMP_algebra.new_LinearFit2D(*args)
5404 self.this.append(this)
5405 except __builtin__.Exception:
5408 def get_fit_error(self):
5409 """get_fit_error(LinearFit2D self) -> double"""
5410 return _IMP_algebra.LinearFit2D_get_fit_error(self)
5414 """get_a(LinearFit2D self) -> double"""
5415 return _IMP_algebra.LinearFit2D_get_a(self)
5419 """get_b(LinearFit2D self) -> double"""
5420 return _IMP_algebra.LinearFit2D_get_b(self)
5423 def show(self, *args):
5425 show(LinearFit2D self, _ostream out)
5426 show(LinearFit2D self)
5428 return _IMP_algebra.LinearFit2D_show(self, *args)
5432 """__str__(LinearFit2D self) -> std::string"""
5433 return _IMP_algebra.LinearFit2D___str__(self)
5437 """__repr__(LinearFit2D self) -> std::string"""
5438 return _IMP_algebra.LinearFit2D___repr__(self)
5440 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
5441 __del__ =
lambda self:
None
5442 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
5443 LinearFit2D_swigregister(LinearFit2D)
5445 class ParabolicFit2D(_GeometricPrimitive2D):
5446 """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
5448 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5450 def __init__(self, data):
5451 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
5452 this = _IMP_algebra.new_ParabolicFit2D(data)
5454 self.this.append(this)
5455 except __builtin__.Exception:
5458 def get_fit_error(self):
5459 """get_fit_error(ParabolicFit2D self) -> double"""
5460 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
5464 """get_a(ParabolicFit2D self) -> double"""
5465 return _IMP_algebra.ParabolicFit2D_get_a(self)
5469 """get_b(ParabolicFit2D self) -> double"""
5470 return _IMP_algebra.ParabolicFit2D_get_b(self)
5474 """get_c(ParabolicFit2D self) -> double"""
5475 return _IMP_algebra.ParabolicFit2D_get_c(self)
5478 def show(self, *args):
5480 show(ParabolicFit2D self, _ostream out)
5481 show(ParabolicFit2D self)
5483 return _IMP_algebra.ParabolicFit2D_show(self, *args)
5487 """__str__(ParabolicFit2D self) -> std::string"""
5488 return _IMP_algebra.ParabolicFit2D___str__(self)
5492 """__repr__(ParabolicFit2D self) -> std::string"""
5493 return _IMP_algebra.ParabolicFit2D___repr__(self)
5495 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
5496 __del__ =
lambda self:
None
5497 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
5498 ParabolicFit2D_swigregister(ParabolicFit2D)
5500 class Plane3D(_GeometricPrimitive3D):
5501 """Proxy of C++ IMP::algebra::Plane3D class."""
5503 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5505 def __init__(self, *args):
5507 __init__(IMP::algebra::Plane3D self) -> Plane3D
5508 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
5509 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
5511 this = _IMP_algebra.new_Plane3D(*args)
5513 self.this.append(this)
5514 except __builtin__.Exception:
5517 def get_point_on_plane(self):
5518 """get_point_on_plane(Plane3D self) -> Vector3D"""
5519 return _IMP_algebra.Plane3D_get_point_on_plane(self)
5522 def get_normal(self):
5523 """get_normal(Plane3D self) -> Vector3D"""
5524 return _IMP_algebra.Plane3D_get_normal(self)
5528 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
5529 return _IMP_algebra.Plane3D_get_projected(self, p)
5532 def get_is_above(self, p):
5533 """get_is_above(Plane3D self, Vector3D p) -> bool"""
5534 return _IMP_algebra.Plane3D_get_is_above(self, p)
5537 def get_is_below(self, p):
5538 """get_is_below(Plane3D self, Vector3D p) -> bool"""
5539 return _IMP_algebra.Plane3D_get_is_below(self, p)
5543 """get_height(Plane3D self, Vector3D p) -> double"""
5544 return _IMP_algebra.Plane3D_get_height(self, p)
5547 def show(self, *args):
5549 show(Plane3D self, _ostream out)
5552 return _IMP_algebra.Plane3D_show(self, *args)
5555 def get_opposite(self):
5556 """get_opposite(Plane3D self) -> Plane3D"""
5557 return _IMP_algebra.Plane3D_get_opposite(self)
5560 def get_distance_from_origin(self):
5561 """get_distance_from_origin(Plane3D self) -> double"""
5562 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
5566 """__str__(Plane3D self) -> std::string"""
5567 return _IMP_algebra.Plane3D___str__(self)
5571 """__repr__(Plane3D self) -> std::string"""
5572 return _IMP_algebra.Plane3D___repr__(self)
5574 __swig_destroy__ = _IMP_algebra.delete_Plane3D
5575 __del__ =
lambda self:
None
5576 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
5577 Plane3D_swigregister(Plane3D)
5581 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
5582 return _IMP_algebra.get_reflected(pln, p)
5584 def get_plane_3d_geometry(g):
5585 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
5586 return _IMP_algebra.get_plane_3d_geometry(g)
5587 class Reflection3D(_GeometricPrimitive3D):
5588 """Proxy of C++ IMP::algebra::Reflection3D class."""
5590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5592 def __init__(self, *args):
5594 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
5595 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
5597 this = _IMP_algebra.new_Reflection3D(*args)
5599 self.this.append(this)
5600 except __builtin__.Exception:
5604 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
5605 return _IMP_algebra.Reflection3D_get_reflected(self, v)
5608 def show(self, *args):
5610 show(Reflection3D self, _ostream out)
5611 show(Reflection3D self)
5613 return _IMP_algebra.Reflection3D_show(self, *args)
5617 """__str__(Reflection3D self) -> std::string"""
5618 return _IMP_algebra.Reflection3D___str__(self)
5622 """__repr__(Reflection3D self) -> std::string"""
5623 return _IMP_algebra.Reflection3D___repr__(self)
5625 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
5626 __del__ =
lambda self:
None
5627 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
5628 Reflection3D_swigregister(Reflection3D)
5630 class Cylinder3D(_GeometricPrimitive3D):
5631 """Proxy of C++ IMP::algebra::Cylinder3D 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::Cylinder3D self) -> Cylinder3D
5638 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5640 this = _IMP_algebra.new_Cylinder3D(*args)
5642 self.this.append(this)
5643 except __builtin__.Exception:
5646 def get_radius(self):
5647 """get_radius(Cylinder3D self) -> double"""
5648 return _IMP_algebra.Cylinder3D_get_radius(self)
5652 """get_segment(Cylinder3D self) -> Segment3D"""
5653 return _IMP_algebra.Cylinder3D_get_segment(self)
5656 def get_surface_point_at(self, relative_height, angle):
5657 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5658 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5661 def get_inner_point_at(self, relative_height, relative_radius, angle):
5662 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5663 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5666 def show(self, *args):
5668 show(Cylinder3D self, _ostream out)
5669 show(Cylinder3D self)
5671 return _IMP_algebra.Cylinder3D_show(self, *args)
5675 """__str__(Cylinder3D self) -> std::string"""
5676 return _IMP_algebra.Cylinder3D___str__(self)
5680 """__repr__(Cylinder3D self) -> std::string"""
5681 return _IMP_algebra.Cylinder3D___repr__(self)
5683 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5684 __del__ =
lambda self:
None
5685 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5686 Cylinder3D_swigregister(Cylinder3D)
5689 def get_cylinder_3d_geometry(g):
5690 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5691 return _IMP_algebra.get_cylinder_3d_geometry(g)
5692 class Ellipsoid3D(_GeometricPrimitive3D):
5693 """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5695 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5697 def __init__(self, *args):
5699 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5700 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5701 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5703 this = _IMP_algebra.new_Ellipsoid3D(*args)
5705 self.this.append(this)
5706 except __builtin__.Exception:
5709 def get_radii(self):
5710 """get_radii(Ellipsoid3D self) -> Vector3D"""
5711 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5714 def get_reference_frame(self):
5715 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5716 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5719 def show(self, *args):
5721 show(Ellipsoid3D self, _ostream out)
5722 show(Ellipsoid3D self)
5724 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5728 """__str__(Ellipsoid3D self) -> std::string"""
5729 return _IMP_algebra.Ellipsoid3D___str__(self)
5733 """__repr__(Ellipsoid3D self) -> std::string"""
5734 return _IMP_algebra.Ellipsoid3D___repr__(self)
5736 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5737 __del__ =
lambda self:
None
5738 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5739 Ellipsoid3D_swigregister(Ellipsoid3D)
5742 def get_ellipsoid_3d_geometry(g):
5743 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5744 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5745 class ConnollySurfacePoint(object):
5746 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5750 def __init__(self, a0, a1, a2, sp, a, n):
5751 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5752 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5754 self.this.append(this)
5755 except __builtin__.Exception:
5759 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5760 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5763 def get_surface_point(self):
5764 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5765 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5769 """get_area(ConnollySurfacePoint self) -> double"""
5770 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5773 def get_normal(self):
5774 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5775 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5778 def show(self, *args):
5780 show(ConnollySurfacePoint self, _ostream out)
5781 show(ConnollySurfacePoint self)
5783 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5787 """__str__(ConnollySurfacePoint self) -> std::string"""
5788 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5792 """__repr__(ConnollySurfacePoint self) -> std::string"""
5793 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5795 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5796 __del__ =
lambda self:
None
5797 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5798 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5802 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5803 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5804 class LogEmbedding3D(object):
5805 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5807 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5809 def __init__(self, *args):
5811 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5812 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5813 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5814 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5815 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5817 this = _IMP_algebra.new_LogEmbedding3D(*args)
5819 self.this.append(this)
5820 except __builtin__.Exception:
5823 def set_origin(self, o):
5824 """set_origin(LogEmbedding3D self, Vector3D o)"""
5825 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5828 def get_origin(self):
5829 """get_origin(LogEmbedding3D self) -> Vector3D"""
5830 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5833 def get_dimension(self):
5834 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5835 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5838 def set_unit_cell(self, *args):
5840 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5841 set_unit_cell(LogEmbedding3D self, Vector3D o)
5843 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5846 def get_unit_cell(self):
5847 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5848 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5851 def get_extended_index(self, o):
5852 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5853 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5857 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5858 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5861 def get_center(self, *args):
5863 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5864 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5866 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5869 def get_bounding_box(self, *args):
5871 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5872 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5874 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5877 def show(self, *args):
5879 show(LogEmbedding3D self, _ostream out)
5880 show(LogEmbedding3D self)
5882 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5886 """__str__(LogEmbedding3D self) -> std::string"""
5887 return _IMP_algebra.LogEmbedding3D___str__(self)
5891 """__repr__(LogEmbedding3D self) -> std::string"""
5892 return _IMP_algebra.LogEmbedding3D___repr__(self)
5895 def __cmp__(self, arg2):
5896 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5897 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5900 def __eq__(self, arg2):
5901 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5902 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5904 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5905 __del__ =
lambda self:
None
5906 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5907 LogEmbedding3D_swigregister(LogEmbedding3D)
5909 class LogEmbeddingKD(object):
5910 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5912 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5914 def __init__(self, *args):
5916 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5917 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5918 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5919 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5920 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5922 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5924 self.this.append(this)
5925 except __builtin__.Exception:
5928 def set_origin(self, o):
5929 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5930 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5933 def get_origin(self):
5934 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5935 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5938 def get_dimension(self):
5939 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5940 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5943 def set_unit_cell(self, *args):
5945 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5946 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5948 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5951 def get_unit_cell(self):
5952 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5953 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5956 def get_extended_index(self, o):
5957 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5958 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5962 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5963 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5966 def get_center(self, *args):
5968 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5969 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5971 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5974 def get_bounding_box(self, *args):
5976 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5977 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5979 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5982 def show(self, *args):
5984 show(LogEmbeddingKD self, _ostream out)
5985 show(LogEmbeddingKD self)
5987 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5991 """__str__(LogEmbeddingKD self) -> std::string"""
5992 return _IMP_algebra.LogEmbeddingKD___str__(self)
5996 """__repr__(LogEmbeddingKD self) -> std::string"""
5997 return _IMP_algebra.LogEmbeddingKD___repr__(self)
6000 def __cmp__(self, arg2):
6001 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
6002 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
6005 def __eq__(self, arg2):
6006 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
6007 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
6009 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
6010 __del__ =
lambda self:
None
6011 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
6012 LogEmbeddingKD_swigregister(LogEmbeddingKD)
6014 class DenseFloatLogGridKD(object):
6015 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
6017 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6019 def __init__(self, sz, le):
6020 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
6021 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
6023 self.this.append(this)
6024 except __builtin__.Exception:
6027 def add_voxel(self, i, q):
6028 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
6029 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
6032 def __getitem__(self, *args):
6034 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
6035 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
6037 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
6040 def __setitem__(self, *args):
6042 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
6043 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
6045 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
6048 def get_bounding_box(self, *args):
6050 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6051 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
6053 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
6058 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6059 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6061 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
6064 def get_all_indexes(self):
6065 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6066 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
6069 def get_extended_indexes(self, *args):
6071 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6072 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6074 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
6077 def get_center(self, *args):
6079 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6080 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
6082 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
6085 def get_extended_index(self, v):
6086 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6087 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
6091 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6092 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
6095 def get_origin(self):
6096 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
6097 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
6100 def get_dimension(self):
6101 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
6102 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
6105 def get_unit_cell(self):
6106 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
6107 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
6110 def get_has_index(self, v):
6111 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
6112 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
6116 """__str__(DenseFloatLogGridKD self) -> std::string"""
6117 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
6121 """__repr__(DenseFloatLogGridKD self) -> std::string"""
6122 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
6125 def show(self, *args):
6127 show(DenseFloatLogGridKD self, _ostream out)
6128 show(DenseFloatLogGridKD self)
6130 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
6132 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
6133 __del__ =
lambda self:
None
6134 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
6135 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
6137 class DenseIntLogGrid3D(object):
6138 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
6140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6142 def __init__(self, sz, le):
6143 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
6144 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
6146 self.this.append(this)
6147 except __builtin__.Exception:
6150 def add_voxel(self, i, q):
6151 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6152 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
6155 def __getitem__(self, *args):
6157 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
6158 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
6160 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
6163 def __setitem__(self, *args):
6165 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
6166 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
6168 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
6171 def get_bounding_box(self, *args):
6173 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6174 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
6176 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
6181 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6182 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6184 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
6187 def get_all_indexes(self):
6188 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6189 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
6192 def get_extended_indexes(self, *args):
6194 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6195 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6197 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
6200 def get_center(self, *args):
6202 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6203 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
6205 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
6208 def get_extended_index(self, v):
6209 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6210 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
6214 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6215 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
6218 def get_origin(self):
6219 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
6220 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
6223 def get_dimension(self):
6224 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
6225 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
6228 def get_unit_cell(self):
6229 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
6230 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
6233 def get_has_index(self, v):
6234 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
6235 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
6239 """__str__(DenseIntLogGrid3D self) -> std::string"""
6240 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
6244 """__repr__(DenseIntLogGrid3D self) -> std::string"""
6245 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
6248 def show(self, *args):
6250 show(DenseIntLogGrid3D self, _ostream out)
6251 show(DenseIntLogGrid3D self)
6253 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
6255 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
6256 __del__ =
lambda self:
None
6257 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
6258 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
6261 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
6263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6265 def __init__(self, *args):
6267 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
6268 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
6269 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
6271 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
6273 self.this.append(this)
6274 except __builtin__.Exception:
6277 def add_voxel(self, i, q):
6278 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
6279 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
6282 def __getitem__(self, *args):
6284 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
6285 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
6287 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
6290 def __setitem__(self, *args):
6292 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
6293 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
6295 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
6298 def get_bounding_box(self, *args):
6300 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6301 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
6303 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
6308 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6309 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6311 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
6314 def get_all_indexes(self):
6315 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6316 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
6319 def get_extended_indexes(self, *args):
6321 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6322 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6324 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
6327 def get_center(self, *args):
6329 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6330 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
6332 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
6335 def get_extended_index(self, v):
6336 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6337 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
6341 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6342 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
6345 def get_origin(self):
6346 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
6347 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
6350 def get_dimension(self):
6351 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
6352 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
6355 def get_unit_cell(self):
6356 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
6357 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
6360 def get_has_index(self, v):
6361 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
6362 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
6366 """__str__(DenseDoubleGrid3D self) -> std::string"""
6367 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
6371 """__repr__(DenseDoubleGrid3D self) -> std::string"""
6372 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
6375 def show(self, *args):
6377 show(DenseDoubleGrid3D self, _ostream out)
6378 show(DenseDoubleGrid3D self)
6380 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
6382 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
6383 __del__ =
lambda self:
None
6384 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
6385 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
6388 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
6390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6392 def __init__(self, *args):
6394 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
6395 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
6396 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
6398 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
6400 self.this.append(this)
6401 except __builtin__.Exception:
6404 def add_voxel(self, i, q):
6405 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
6406 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
6409 def __getitem__(self, *args):
6411 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
6412 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
6414 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
6417 def __setitem__(self, *args):
6419 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
6420 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
6422 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
6425 def get_bounding_box(self, *args):
6427 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6428 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
6430 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
6435 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6436 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6438 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
6441 def get_all_indexes(self):
6442 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6443 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
6446 def get_extended_indexes(self, *args):
6448 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6449 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6451 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
6454 def get_center(self, *args):
6456 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6457 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
6459 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
6462 def get_extended_index(self, v):
6463 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6464 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
6468 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6469 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
6472 def get_origin(self):
6473 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
6474 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
6477 def get_dimension(self):
6478 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
6479 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
6482 def get_unit_cell(self):
6483 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
6484 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
6487 def get_has_index(self, v):
6488 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
6489 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
6493 """__str__(DenseFloatGrid3D self) -> std::string"""
6494 return _IMP_algebra.DenseFloatGrid3D___str__(self)
6498 """__repr__(DenseFloatGrid3D self) -> std::string"""
6499 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
6502 def show(self, *args):
6504 show(DenseFloatGrid3D self, _ostream out)
6505 show(DenseFloatGrid3D self)
6507 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
6509 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
6510 __del__ =
lambda self:
None
6511 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
6512 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
6515 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
6517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6519 def __init__(self, *args):
6521 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6522 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
6523 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6524 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
6525 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
6527 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
6529 self.this.append(this)
6530 except __builtin__.Exception:
6533 def add_voxel(self, i, q):
6534 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6535 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
6538 def __getitem__(self, *args):
6540 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
6541 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
6543 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
6546 def __setitem__(self, *args):
6548 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
6549 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
6551 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
6554 def get_bounding_box(self, *args):
6556 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6557 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
6559 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
6564 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6565 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6567 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
6570 def get_all_indexes(self):
6571 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6572 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
6575 def get_extended_indexes(self, *args):
6577 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6578 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6580 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
6583 def get_center(self, *args):
6585 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6586 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
6588 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
6591 def get_extended_index(self, v):
6592 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6593 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
6597 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6598 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
6601 def get_origin(self):
6602 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
6603 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
6606 def get_dimension(self):
6607 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
6608 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
6611 def get_unit_cell(self):
6612 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
6613 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
6616 def get_has_index(self, v):
6617 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
6618 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
6622 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
6623 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
6627 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
6628 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6631 def show(self, *args):
6633 show(SparseUnboundedIntGrid3D self, _ostream out)
6634 show(SparseUnboundedIntGrid3D self)
6636 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6638 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6639 __del__ =
lambda self:
None
6640 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6641 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6643 class SparseUnboundedIntGridKD(object):
6644 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
6646 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6648 def __init__(self, *args):
6650 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6651 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6652 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6654 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6656 self.this.append(this)
6657 except __builtin__.Exception:
6660 def add_voxel(self, i, q):
6661 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6662 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6665 def __getitem__(self, *args):
6667 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6668 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6670 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6673 def __setitem__(self, *args):
6675 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6676 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6678 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6681 def get_bounding_box(self, *args):
6683 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6684 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6686 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6691 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6692 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6694 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6697 def get_all_indexes(self):
6698 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6699 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6702 def get_extended_indexes(self, *args):
6704 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6705 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6707 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6710 def get_center(self, *args):
6712 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6713 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6715 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6718 def get_extended_index(self, v):
6719 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6720 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6724 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6725 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6728 def get_origin(self):
6729 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6730 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6733 def get_dimension(self):
6734 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6735 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6738 def get_unit_cell(self):
6739 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6740 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6743 def get_has_index(self, v):
6744 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6745 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6749 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6750 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6754 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6755 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6758 def show(self, *args):
6760 show(SparseUnboundedIntGridKD self, _ostream out)
6761 show(SparseUnboundedIntGridKD self)
6763 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6765 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6766 __del__ =
lambda self:
None
6767 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6768 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6770 class GridIndex1D(IMP._Value):
6771 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6775 def __init__(self, *args):
6777 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6778 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6779 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6780 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6781 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6782 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6783 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6785 this = _IMP_algebra.new_GridIndex1D(*args)
6787 self.this.append(this)
6788 except __builtin__.Exception:
6791 def get_dimension(self):
6792 """get_dimension(GridIndex1D self) -> unsigned int"""
6793 return _IMP_algebra.GridIndex1D_get_dimension(self)
6796 def __getitem__(self, i):
6797 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6798 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6801 def show(self, *args):
6803 show(GridIndex1D self, _ostream out)
6804 show(GridIndex1D self)
6806 return _IMP_algebra.GridIndex1D_show(self, *args)
6810 """__len__(GridIndex1D self) -> unsigned int"""
6811 return _IMP_algebra.GridIndex1D___len__(self)
6814 def __cmp__(self, o):
6815 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6816 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6819 def __eq__(self, o):
6820 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6821 return _IMP_algebra.GridIndex1D___eq__(self, o)
6824 def __ne__(self, o):
6825 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6826 return _IMP_algebra.GridIndex1D___ne__(self, o)
6829 def __lt__(self, o):
6830 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6831 return _IMP_algebra.GridIndex1D___lt__(self, o)
6834 def __gt__(self, o):
6835 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6836 return _IMP_algebra.GridIndex1D___gt__(self, o)
6839 def __ge__(self, o):
6840 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6841 return _IMP_algebra.GridIndex1D___ge__(self, o)
6844 def __le__(self, o):
6845 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6846 return _IMP_algebra.GridIndex1D___le__(self, o)
6850 """__hash__(GridIndex1D self) -> std::size_t"""
6851 return _IMP_algebra.GridIndex1D___hash__(self)
6855 """__str__(GridIndex1D self) -> std::string"""
6856 return _IMP_algebra.GridIndex1D___str__(self)
6860 """__repr__(GridIndex1D self) -> std::string"""
6861 return _IMP_algebra.GridIndex1D___repr__(self)
6863 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6864 __del__ =
lambda self:
None
6865 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6866 GridIndex1D_swigregister(GridIndex1D)
6868 class GridIndex2D(IMP._Value):
6869 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6871 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6873 def __init__(self, *args):
6875 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6876 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6877 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6878 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6879 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6880 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6881 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6883 this = _IMP_algebra.new_GridIndex2D(*args)
6885 self.this.append(this)
6886 except __builtin__.Exception:
6889 def get_dimension(self):
6890 """get_dimension(GridIndex2D self) -> unsigned int"""
6891 return _IMP_algebra.GridIndex2D_get_dimension(self)
6894 def __getitem__(self, i):
6895 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6896 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6899 def show(self, *args):
6901 show(GridIndex2D self, _ostream out)
6902 show(GridIndex2D self)
6904 return _IMP_algebra.GridIndex2D_show(self, *args)
6908 """__len__(GridIndex2D self) -> unsigned int"""
6909 return _IMP_algebra.GridIndex2D___len__(self)
6912 def __cmp__(self, o):
6913 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6914 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6917 def __eq__(self, o):
6918 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6919 return _IMP_algebra.GridIndex2D___eq__(self, o)
6922 def __ne__(self, o):
6923 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6924 return _IMP_algebra.GridIndex2D___ne__(self, o)
6927 def __lt__(self, o):
6928 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6929 return _IMP_algebra.GridIndex2D___lt__(self, o)
6932 def __gt__(self, o):
6933 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6934 return _IMP_algebra.GridIndex2D___gt__(self, o)
6937 def __ge__(self, o):
6938 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6939 return _IMP_algebra.GridIndex2D___ge__(self, o)
6942 def __le__(self, o):
6943 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6944 return _IMP_algebra.GridIndex2D___le__(self, o)
6948 """__hash__(GridIndex2D self) -> std::size_t"""
6949 return _IMP_algebra.GridIndex2D___hash__(self)
6953 """__str__(GridIndex2D self) -> std::string"""
6954 return _IMP_algebra.GridIndex2D___str__(self)
6958 """__repr__(GridIndex2D self) -> std::string"""
6959 return _IMP_algebra.GridIndex2D___repr__(self)
6961 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6962 __del__ =
lambda self:
None
6963 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6964 GridIndex2D_swigregister(GridIndex2D)
6966 class GridIndex3D(IMP._Value):
6967 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6969 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6971 def __init__(self, *args):
6973 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6974 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6975 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6976 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6977 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6978 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6979 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6981 this = _IMP_algebra.new_GridIndex3D(*args)
6983 self.this.append(this)
6984 except __builtin__.Exception:
6987 def get_dimension(self):
6988 """get_dimension(GridIndex3D self) -> unsigned int"""
6989 return _IMP_algebra.GridIndex3D_get_dimension(self)
6992 def __getitem__(self, i):
6993 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6994 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6997 def show(self, *args):
6999 show(GridIndex3D self, _ostream out)
7000 show(GridIndex3D self)
7002 return _IMP_algebra.GridIndex3D_show(self, *args)
7006 """__len__(GridIndex3D self) -> unsigned int"""
7007 return _IMP_algebra.GridIndex3D___len__(self)
7010 def __cmp__(self, o):
7011 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
7012 return _IMP_algebra.GridIndex3D___cmp__(self, o)
7015 def __eq__(self, o):
7016 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
7017 return _IMP_algebra.GridIndex3D___eq__(self, o)
7020 def __ne__(self, o):
7021 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
7022 return _IMP_algebra.GridIndex3D___ne__(self, o)
7025 def __lt__(self, o):
7026 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
7027 return _IMP_algebra.GridIndex3D___lt__(self, o)
7030 def __gt__(self, o):
7031 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
7032 return _IMP_algebra.GridIndex3D___gt__(self, o)
7035 def __ge__(self, o):
7036 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
7037 return _IMP_algebra.GridIndex3D___ge__(self, o)
7040 def __le__(self, o):
7041 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
7042 return _IMP_algebra.GridIndex3D___le__(self, o)
7046 """__hash__(GridIndex3D self) -> std::size_t"""
7047 return _IMP_algebra.GridIndex3D___hash__(self)
7051 """__str__(GridIndex3D self) -> std::string"""
7052 return _IMP_algebra.GridIndex3D___str__(self)
7056 """__repr__(GridIndex3D self) -> std::string"""
7057 return _IMP_algebra.GridIndex3D___repr__(self)
7059 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
7060 __del__ =
lambda self:
None
7061 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
7062 GridIndex3D_swigregister(GridIndex3D)
7064 class GridIndex4D(IMP._Value):
7065 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
7067 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7069 def __init__(self, *args):
7071 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
7072 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
7073 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
7074 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
7075 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
7076 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
7077 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
7079 this = _IMP_algebra.new_GridIndex4D(*args)
7081 self.this.append(this)
7082 except __builtin__.Exception:
7085 def get_dimension(self):
7086 """get_dimension(GridIndex4D self) -> unsigned int"""
7087 return _IMP_algebra.GridIndex4D_get_dimension(self)
7090 def __getitem__(self, i):
7091 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
7092 return _IMP_algebra.GridIndex4D___getitem__(self, i)
7095 def show(self, *args):
7097 show(GridIndex4D self, _ostream out)
7098 show(GridIndex4D self)
7100 return _IMP_algebra.GridIndex4D_show(self, *args)
7104 """__len__(GridIndex4D self) -> unsigned int"""
7105 return _IMP_algebra.GridIndex4D___len__(self)
7108 def __cmp__(self, o):
7109 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
7110 return _IMP_algebra.GridIndex4D___cmp__(self, o)
7113 def __eq__(self, o):
7114 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
7115 return _IMP_algebra.GridIndex4D___eq__(self, o)
7118 def __ne__(self, o):
7119 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
7120 return _IMP_algebra.GridIndex4D___ne__(self, o)
7123 def __lt__(self, o):
7124 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
7125 return _IMP_algebra.GridIndex4D___lt__(self, o)
7128 def __gt__(self, o):
7129 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
7130 return _IMP_algebra.GridIndex4D___gt__(self, o)
7133 def __ge__(self, o):
7134 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
7135 return _IMP_algebra.GridIndex4D___ge__(self, o)
7138 def __le__(self, o):
7139 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
7140 return _IMP_algebra.GridIndex4D___le__(self, o)
7144 """__hash__(GridIndex4D self) -> std::size_t"""
7145 return _IMP_algebra.GridIndex4D___hash__(self)
7149 """__str__(GridIndex4D self) -> std::string"""
7150 return _IMP_algebra.GridIndex4D___str__(self)
7154 """__repr__(GridIndex4D self) -> std::string"""
7155 return _IMP_algebra.GridIndex4D___repr__(self)
7157 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
7158 __del__ =
lambda self:
None
7159 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
7160 GridIndex4D_swigregister(GridIndex4D)
7162 class GridIndex5D(IMP._Value):
7163 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
7165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7167 def __init__(self, *args):
7169 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
7170 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
7171 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
7172 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
7173 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
7174 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
7175 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
7177 this = _IMP_algebra.new_GridIndex5D(*args)
7179 self.this.append(this)
7180 except __builtin__.Exception:
7183 def get_dimension(self):
7184 """get_dimension(GridIndex5D self) -> unsigned int"""
7185 return _IMP_algebra.GridIndex5D_get_dimension(self)
7188 def __getitem__(self, i):
7189 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
7190 return _IMP_algebra.GridIndex5D___getitem__(self, i)
7193 def show(self, *args):
7195 show(GridIndex5D self, _ostream out)
7196 show(GridIndex5D self)
7198 return _IMP_algebra.GridIndex5D_show(self, *args)
7202 """__len__(GridIndex5D self) -> unsigned int"""
7203 return _IMP_algebra.GridIndex5D___len__(self)
7206 def __cmp__(self, o):
7207 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
7208 return _IMP_algebra.GridIndex5D___cmp__(self, o)
7211 def __eq__(self, o):
7212 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
7213 return _IMP_algebra.GridIndex5D___eq__(self, o)
7216 def __ne__(self, o):
7217 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
7218 return _IMP_algebra.GridIndex5D___ne__(self, o)
7221 def __lt__(self, o):
7222 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
7223 return _IMP_algebra.GridIndex5D___lt__(self, o)
7226 def __gt__(self, o):
7227 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
7228 return _IMP_algebra.GridIndex5D___gt__(self, o)
7231 def __ge__(self, o):
7232 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
7233 return _IMP_algebra.GridIndex5D___ge__(self, o)
7236 def __le__(self, o):
7237 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
7238 return _IMP_algebra.GridIndex5D___le__(self, o)
7242 """__hash__(GridIndex5D self) -> std::size_t"""
7243 return _IMP_algebra.GridIndex5D___hash__(self)
7247 """__str__(GridIndex5D self) -> std::string"""
7248 return _IMP_algebra.GridIndex5D___str__(self)
7252 """__repr__(GridIndex5D self) -> std::string"""
7253 return _IMP_algebra.GridIndex5D___repr__(self)
7255 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
7256 __del__ =
lambda self:
None
7257 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
7258 GridIndex5D_swigregister(GridIndex5D)
7260 class GridIndex6D(IMP._Value):
7261 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
7263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7265 def __init__(self, *args):
7267 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
7268 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
7269 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
7270 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
7271 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
7272 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
7273 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
7275 this = _IMP_algebra.new_GridIndex6D(*args)
7277 self.this.append(this)
7278 except __builtin__.Exception:
7281 def get_dimension(self):
7282 """get_dimension(GridIndex6D self) -> unsigned int"""
7283 return _IMP_algebra.GridIndex6D_get_dimension(self)
7286 def __getitem__(self, i):
7287 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
7288 return _IMP_algebra.GridIndex6D___getitem__(self, i)
7291 def show(self, *args):
7293 show(GridIndex6D self, _ostream out)
7294 show(GridIndex6D self)
7296 return _IMP_algebra.GridIndex6D_show(self, *args)
7300 """__len__(GridIndex6D self) -> unsigned int"""
7301 return _IMP_algebra.GridIndex6D___len__(self)
7304 def __cmp__(self, o):
7305 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
7306 return _IMP_algebra.GridIndex6D___cmp__(self, o)
7309 def __eq__(self, o):
7310 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
7311 return _IMP_algebra.GridIndex6D___eq__(self, o)
7314 def __ne__(self, o):
7315 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
7316 return _IMP_algebra.GridIndex6D___ne__(self, o)
7319 def __lt__(self, o):
7320 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
7321 return _IMP_algebra.GridIndex6D___lt__(self, o)
7324 def __gt__(self, o):
7325 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
7326 return _IMP_algebra.GridIndex6D___gt__(self, o)
7329 def __ge__(self, o):
7330 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
7331 return _IMP_algebra.GridIndex6D___ge__(self, o)
7334 def __le__(self, o):
7335 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
7336 return _IMP_algebra.GridIndex6D___le__(self, o)
7340 """__hash__(GridIndex6D self) -> std::size_t"""
7341 return _IMP_algebra.GridIndex6D___hash__(self)
7345 """__str__(GridIndex6D self) -> std::string"""
7346 return _IMP_algebra.GridIndex6D___str__(self)
7350 """__repr__(GridIndex6D self) -> std::string"""
7351 return _IMP_algebra.GridIndex6D___repr__(self)
7353 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
7354 __del__ =
lambda self:
None
7355 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
7356 GridIndex6D_swigregister(GridIndex6D)
7358 class GridIndexKD(IMP._Value):
7359 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
7361 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7363 def __init__(self, *args):
7365 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
7366 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
7367 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
7368 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
7369 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
7370 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
7371 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
7373 this = _IMP_algebra.new_GridIndexKD(*args)
7375 self.this.append(this)
7376 except __builtin__.Exception:
7379 def get_dimension(self):
7380 """get_dimension(GridIndexKD self) -> unsigned int"""
7381 return _IMP_algebra.GridIndexKD_get_dimension(self)
7384 def __getitem__(self, i):
7385 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
7386 return _IMP_algebra.GridIndexKD___getitem__(self, i)
7389 def show(self, *args):
7391 show(GridIndexKD self, _ostream out)
7392 show(GridIndexKD self)
7394 return _IMP_algebra.GridIndexKD_show(self, *args)
7398 """__len__(GridIndexKD self) -> unsigned int"""
7399 return _IMP_algebra.GridIndexKD___len__(self)
7402 def __cmp__(self, o):
7403 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
7404 return _IMP_algebra.GridIndexKD___cmp__(self, o)
7407 def __eq__(self, o):
7408 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
7409 return _IMP_algebra.GridIndexKD___eq__(self, o)
7412 def __ne__(self, o):
7413 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
7414 return _IMP_algebra.GridIndexKD___ne__(self, o)
7417 def __lt__(self, o):
7418 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
7419 return _IMP_algebra.GridIndexKD___lt__(self, o)
7422 def __gt__(self, o):
7423 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
7424 return _IMP_algebra.GridIndexKD___gt__(self, o)
7427 def __ge__(self, o):
7428 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
7429 return _IMP_algebra.GridIndexKD___ge__(self, o)
7432 def __le__(self, o):
7433 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
7434 return _IMP_algebra.GridIndexKD___le__(self, o)
7438 """__hash__(GridIndexKD self) -> std::size_t"""
7439 return _IMP_algebra.GridIndexKD___hash__(self)
7443 """__str__(GridIndexKD self) -> std::string"""
7444 return _IMP_algebra.GridIndexKD___str__(self)
7448 """__repr__(GridIndexKD self) -> std::string"""
7449 return _IMP_algebra.GridIndexKD___repr__(self)
7451 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
7452 __del__ =
lambda self:
None
7453 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
7454 GridIndexKD_swigregister(GridIndexKD)
7456 class ExtendedGridIndex1D(IMP._Value):
7457 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
7459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7461 def __init__(self, *args):
7463 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
7464 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
7465 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
7466 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
7467 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
7468 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
7469 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
7470 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
7472 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
7474 self.this.append(this)
7475 except __builtin__.Exception:
7478 def get_dimension(self):
7479 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
7480 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
7483 def __cmp__(self, o):
7484 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
7485 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
7488 def __eq__(self, o):
7489 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7490 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
7493 def __ne__(self, o):
7494 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7495 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
7498 def __lt__(self, o):
7499 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7500 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
7503 def __gt__(self, o):
7504 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7505 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
7508 def __ge__(self, o):
7509 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7510 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
7513 def __le__(self, o):
7514 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7515 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
7518 def __setitem__(self, i, v):
7519 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
7520 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
7523 def __getitem__(self, i):
7524 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
7525 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
7528 def show(self, *args):
7530 show(ExtendedGridIndex1D self, _ostream out)
7531 show(ExtendedGridIndex1D self)
7533 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
7537 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
7538 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
7542 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
7543 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
7546 def get_uniform_offset(self, ii):
7547 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
7548 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
7551 def get_offset(self, i, j, k):
7552 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
7553 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
7557 """__str__(ExtendedGridIndex1D self) -> std::string"""
7558 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
7562 """__repr__(ExtendedGridIndex1D self) -> std::string"""
7563 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
7565 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
7566 __del__ =
lambda self:
None
7567 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
7568 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
7570 class ExtendedGridIndex2D(IMP._Value):
7571 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
7573 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7575 def __init__(self, *args):
7577 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
7578 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
7579 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
7580 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
7581 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
7582 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
7583 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
7584 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
7586 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
7588 self.this.append(this)
7589 except __builtin__.Exception:
7592 def get_dimension(self):
7593 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
7594 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
7597 def __cmp__(self, o):
7598 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
7599 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
7602 def __eq__(self, o):
7603 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7604 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
7607 def __ne__(self, o):
7608 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7609 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
7612 def __lt__(self, o):
7613 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7614 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
7617 def __gt__(self, o):
7618 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7619 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
7622 def __ge__(self, o):
7623 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7624 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
7627 def __le__(self, o):
7628 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7629 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7632 def __setitem__(self, i, v):
7633 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7634 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7637 def __getitem__(self, i):
7638 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7639 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7642 def show(self, *args):
7644 show(ExtendedGridIndex2D self, _ostream out)
7645 show(ExtendedGridIndex2D self)
7647 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7651 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7652 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7656 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7657 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7660 def get_uniform_offset(self, ii):
7661 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7662 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7665 def get_offset(self, i, j, k):
7666 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7667 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7671 """__str__(ExtendedGridIndex2D self) -> std::string"""
7672 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7676 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7677 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7679 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7680 __del__ =
lambda self:
None
7681 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7682 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7684 class ExtendedGridIndex3D(IMP._Value):
7685 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7687 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7689 def __init__(self, *args):
7691 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7692 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7693 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7694 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7695 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7696 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7697 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7698 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7700 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7702 self.this.append(this)
7703 except __builtin__.Exception:
7706 def get_dimension(self):
7707 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7708 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7711 def __cmp__(self, o):
7712 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7713 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7716 def __eq__(self, o):
7717 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7718 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7721 def __ne__(self, o):
7722 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7723 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7726 def __lt__(self, o):
7727 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7728 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7731 def __gt__(self, o):
7732 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7733 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7736 def __ge__(self, o):
7737 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7738 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7741 def __le__(self, o):
7742 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7743 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7746 def __setitem__(self, i, v):
7747 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7748 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7751 def __getitem__(self, i):
7752 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7753 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7756 def show(self, *args):
7758 show(ExtendedGridIndex3D self, _ostream out)
7759 show(ExtendedGridIndex3D self)
7761 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7765 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7766 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7770 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7771 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7774 def get_uniform_offset(self, ii):
7775 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7776 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7779 def get_offset(self, i, j, k):
7780 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7781 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7785 """__str__(ExtendedGridIndex3D self) -> std::string"""
7786 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7790 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7791 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7793 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7794 __del__ =
lambda self:
None
7795 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7796 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7798 class ExtendedGridIndex4D(IMP._Value):
7799 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7801 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7803 def __init__(self, *args):
7805 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7806 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7807 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7808 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7809 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7810 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7811 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7812 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7814 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7816 self.this.append(this)
7817 except __builtin__.Exception:
7820 def get_dimension(self):
7821 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7822 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7825 def __cmp__(self, o):
7826 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7827 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7830 def __eq__(self, o):
7831 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7832 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7835 def __ne__(self, o):
7836 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7837 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7840 def __lt__(self, o):
7841 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7842 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7845 def __gt__(self, o):
7846 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7847 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7850 def __ge__(self, o):
7851 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7852 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7855 def __le__(self, o):
7856 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7857 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7860 def __setitem__(self, i, v):
7861 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7862 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7865 def __getitem__(self, i):
7866 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7867 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7870 def show(self, *args):
7872 show(ExtendedGridIndex4D self, _ostream out)
7873 show(ExtendedGridIndex4D self)
7875 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7879 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7880 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7884 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7885 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7888 def get_uniform_offset(self, ii):
7889 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7890 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7893 def get_offset(self, i, j, k):
7894 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7895 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7899 """__str__(ExtendedGridIndex4D self) -> std::string"""
7900 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7904 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7905 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7907 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7908 __del__ =
lambda self:
None
7909 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7910 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7912 class ExtendedGridIndex5D(IMP._Value):
7913 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7917 def __init__(self, *args):
7919 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7920 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7921 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7922 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7923 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7924 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7925 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7926 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7928 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7930 self.this.append(this)
7931 except __builtin__.Exception:
7934 def get_dimension(self):
7935 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7936 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7939 def __cmp__(self, o):
7940 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7941 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7944 def __eq__(self, o):
7945 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7946 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7949 def __ne__(self, o):
7950 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7951 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7954 def __lt__(self, o):
7955 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7956 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7959 def __gt__(self, o):
7960 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7961 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7964 def __ge__(self, o):
7965 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7966 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7969 def __le__(self, o):
7970 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7971 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7974 def __setitem__(self, i, v):
7975 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7976 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7979 def __getitem__(self, i):
7980 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7981 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7984 def show(self, *args):
7986 show(ExtendedGridIndex5D self, _ostream out)
7987 show(ExtendedGridIndex5D self)
7989 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7993 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7994 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7998 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7999 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
8002 def get_uniform_offset(self, ii):
8003 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
8004 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
8007 def get_offset(self, i, j, k):
8008 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
8009 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
8013 """__str__(ExtendedGridIndex5D self) -> std::string"""
8014 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
8018 """__repr__(ExtendedGridIndex5D self) -> std::string"""
8019 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
8021 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
8022 __del__ =
lambda self:
None
8023 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
8024 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
8026 class ExtendedGridIndex6D(IMP._Value):
8027 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
8029 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8031 def __init__(self, *args):
8033 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
8034 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
8035 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
8036 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
8037 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
8038 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
8039 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
8040 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
8042 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
8044 self.this.append(this)
8045 except __builtin__.Exception:
8048 def get_dimension(self):
8049 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
8050 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
8053 def __cmp__(self, o):
8054 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
8055 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
8058 def __eq__(self, o):
8059 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8060 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
8063 def __ne__(self, o):
8064 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8065 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
8068 def __lt__(self, o):
8069 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8070 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
8073 def __gt__(self, o):
8074 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8075 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
8078 def __ge__(self, o):
8079 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8080 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
8083 def __le__(self, o):
8084 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8085 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
8088 def __setitem__(self, i, v):
8089 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
8090 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
8093 def __getitem__(self, i):
8094 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
8095 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
8098 def show(self, *args):
8100 show(ExtendedGridIndex6D self, _ostream out)
8101 show(ExtendedGridIndex6D self)
8103 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
8107 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
8108 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
8112 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
8113 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
8116 def get_uniform_offset(self, ii):
8117 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
8118 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
8121 def get_offset(self, i, j, k):
8122 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
8123 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
8127 """__str__(ExtendedGridIndex6D self) -> std::string"""
8128 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
8132 """__repr__(ExtendedGridIndex6D self) -> std::string"""
8133 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
8135 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
8136 __del__ =
lambda self:
None
8137 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
8138 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
8140 class ExtendedGridIndexKD(IMP._Value):
8141 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
8143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8145 def __init__(self, *args):
8147 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
8148 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
8149 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
8150 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
8151 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
8152 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
8153 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
8154 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
8156 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
8158 self.this.append(this)
8159 except __builtin__.Exception:
8162 def get_dimension(self):
8163 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
8164 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
8167 def __cmp__(self, o):
8168 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
8169 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
8172 def __eq__(self, o):
8173 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8174 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
8177 def __ne__(self, o):
8178 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8179 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
8182 def __lt__(self, o):
8183 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8184 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
8187 def __gt__(self, o):
8188 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8189 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
8192 def __ge__(self, o):
8193 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8194 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
8197 def __le__(self, o):
8198 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8199 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
8202 def __setitem__(self, i, v):
8203 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
8204 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
8207 def __getitem__(self, i):
8208 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
8209 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
8212 def show(self, *args):
8214 show(ExtendedGridIndexKD self, _ostream out)
8215 show(ExtendedGridIndexKD self)
8217 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
8221 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
8222 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
8226 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
8227 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
8230 def get_uniform_offset(self, ii):
8231 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
8232 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
8235 def get_offset(self, i, j, k):
8236 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
8237 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
8241 """__str__(ExtendedGridIndexKD self) -> std::string"""
8242 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
8246 """__repr__(ExtendedGridIndexKD self) -> std::string"""
8247 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
8249 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
8250 __del__ =
lambda self:
None
8251 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
8252 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
8254 class BoundedGridRange1D(object):
8255 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
8257 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8259 def get_is_bounded():
8260 """get_is_bounded() -> bool"""
8261 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8263 get_is_bounded = staticmethod(get_is_bounded)
8265 def __init__(self, *args):
8267 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
8268 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
8270 this = _IMP_algebra.new_BoundedGridRange1D(*args)
8272 self.this.append(this)
8273 except __builtin__.Exception:
8276 def get_number_of_voxels(self, *args):
8278 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
8279 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
8281 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
8284 def get_end_index(self):
8285 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8286 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
8289 def show(self, *args):
8291 show(BoundedGridRange1D self, _ostream out)
8292 show(BoundedGridRange1D self)
8294 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
8297 def get_all_indexes(self):
8298 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8299 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
8303 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8304 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
8307 def get_extended_indexes(self, lb, ub):
8308 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8309 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
8313 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
8314 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
8317 def get_has_index(self, v):
8318 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
8319 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
8322 def get_minimum_extended_index(self):
8323 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8324 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
8327 def get_maximum_extended_index(self):
8328 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8329 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
8333 """__str__(BoundedGridRange1D self) -> std::string"""
8334 return _IMP_algebra.BoundedGridRange1D___str__(self)
8338 """__repr__(BoundedGridRange1D self) -> std::string"""
8339 return _IMP_algebra.BoundedGridRange1D___repr__(self)
8342 def __cmp__(self, arg2):
8343 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
8344 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
8347 def __eq__(self, arg2):
8348 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
8349 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
8351 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
8352 __del__ =
lambda self:
None
8353 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
8354 BoundedGridRange1D_swigregister(BoundedGridRange1D)
8356 def BoundedGridRange1D_get_is_bounded():
8357 """BoundedGridRange1D_get_is_bounded() -> bool"""
8358 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8360 class BoundedGridRange2D(object):
8361 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
8363 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8365 def get_is_bounded():
8366 """get_is_bounded() -> bool"""
8367 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8369 get_is_bounded = staticmethod(get_is_bounded)
8371 def __init__(self, *args):
8373 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
8374 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
8376 this = _IMP_algebra.new_BoundedGridRange2D(*args)
8378 self.this.append(this)
8379 except __builtin__.Exception:
8382 def get_number_of_voxels(self, *args):
8384 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
8385 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
8387 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
8390 def get_end_index(self):
8391 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8392 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
8395 def show(self, *args):
8397 show(BoundedGridRange2D self, _ostream out)
8398 show(BoundedGridRange2D self)
8400 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
8403 def get_all_indexes(self):
8404 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8405 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
8409 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8410 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
8413 def get_extended_indexes(self, lb, ub):
8414 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8415 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
8419 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
8420 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
8423 def get_has_index(self, v):
8424 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
8425 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
8428 def get_minimum_extended_index(self):
8429 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8430 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
8433 def get_maximum_extended_index(self):
8434 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8435 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
8439 """__str__(BoundedGridRange2D self) -> std::string"""
8440 return _IMP_algebra.BoundedGridRange2D___str__(self)
8444 """__repr__(BoundedGridRange2D self) -> std::string"""
8445 return _IMP_algebra.BoundedGridRange2D___repr__(self)
8448 def __cmp__(self, arg2):
8449 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
8450 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
8453 def __eq__(self, arg2):
8454 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
8455 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
8457 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
8458 __del__ =
lambda self:
None
8459 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
8460 BoundedGridRange2D_swigregister(BoundedGridRange2D)
8462 def BoundedGridRange2D_get_is_bounded():
8463 """BoundedGridRange2D_get_is_bounded() -> bool"""
8464 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8466 class BoundedGridRange3D(object):
8467 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
8469 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8471 def get_is_bounded():
8472 """get_is_bounded() -> bool"""
8473 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8475 get_is_bounded = staticmethod(get_is_bounded)
8477 def __init__(self, *args):
8479 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
8480 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
8482 this = _IMP_algebra.new_BoundedGridRange3D(*args)
8484 self.this.append(this)
8485 except __builtin__.Exception:
8488 def get_number_of_voxels(self, *args):
8490 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
8491 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
8493 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
8496 def get_end_index(self):
8497 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8498 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
8501 def show(self, *args):
8503 show(BoundedGridRange3D self, _ostream out)
8504 show(BoundedGridRange3D self)
8506 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
8509 def get_all_indexes(self):
8510 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8511 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
8515 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8516 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
8519 def get_extended_indexes(self, lb, ub):
8520 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8521 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
8525 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
8526 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
8529 def get_has_index(self, v):
8530 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
8531 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
8534 def get_minimum_extended_index(self):
8535 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8536 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
8539 def get_maximum_extended_index(self):
8540 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8541 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
8545 """__str__(BoundedGridRange3D self) -> std::string"""
8546 return _IMP_algebra.BoundedGridRange3D___str__(self)
8550 """__repr__(BoundedGridRange3D self) -> std::string"""
8551 return _IMP_algebra.BoundedGridRange3D___repr__(self)
8554 def __cmp__(self, arg2):
8555 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
8556 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
8559 def __eq__(self, arg2):
8560 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
8561 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
8563 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
8564 __del__ =
lambda self:
None
8565 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
8566 BoundedGridRange3D_swigregister(BoundedGridRange3D)
8568 def BoundedGridRange3D_get_is_bounded():
8569 """BoundedGridRange3D_get_is_bounded() -> bool"""
8570 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8572 class BoundedGridRange4D(object):
8573 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
8575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8577 def get_is_bounded():
8578 """get_is_bounded() -> bool"""
8579 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8581 get_is_bounded = staticmethod(get_is_bounded)
8583 def __init__(self, *args):
8585 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
8586 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
8588 this = _IMP_algebra.new_BoundedGridRange4D(*args)
8590 self.this.append(this)
8591 except __builtin__.Exception:
8594 def get_number_of_voxels(self, *args):
8596 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
8597 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
8599 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
8602 def get_end_index(self):
8603 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8604 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
8607 def show(self, *args):
8609 show(BoundedGridRange4D self, _ostream out)
8610 show(BoundedGridRange4D self)
8612 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
8615 def get_all_indexes(self):
8616 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8617 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
8621 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8622 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
8625 def get_extended_indexes(self, lb, ub):
8626 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8627 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8631 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8632 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8635 def get_has_index(self, v):
8636 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8637 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8640 def get_minimum_extended_index(self):
8641 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8642 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8645 def get_maximum_extended_index(self):
8646 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8647 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8651 """__str__(BoundedGridRange4D self) -> std::string"""
8652 return _IMP_algebra.BoundedGridRange4D___str__(self)
8656 """__repr__(BoundedGridRange4D self) -> std::string"""
8657 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8660 def __cmp__(self, arg2):
8661 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8662 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8665 def __eq__(self, arg2):
8666 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8667 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8669 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8670 __del__ =
lambda self:
None
8671 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8672 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8674 def BoundedGridRange4D_get_is_bounded():
8675 """BoundedGridRange4D_get_is_bounded() -> bool"""
8676 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8678 class BoundedGridRange5D(object):
8679 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8683 def get_is_bounded():
8684 """get_is_bounded() -> bool"""
8685 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8687 get_is_bounded = staticmethod(get_is_bounded)
8689 def __init__(self, *args):
8691 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8692 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8694 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8696 self.this.append(this)
8697 except __builtin__.Exception:
8700 def get_number_of_voxels(self, *args):
8702 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8703 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8705 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8708 def get_end_index(self):
8709 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8710 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8713 def show(self, *args):
8715 show(BoundedGridRange5D self, _ostream out)
8716 show(BoundedGridRange5D self)
8718 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8721 def get_all_indexes(self):
8722 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8723 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8727 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8728 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8731 def get_extended_indexes(self, lb, ub):
8732 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8733 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8737 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8738 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8741 def get_has_index(self, v):
8742 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8743 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8746 def get_minimum_extended_index(self):
8747 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8748 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8751 def get_maximum_extended_index(self):
8752 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8753 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8757 """__str__(BoundedGridRange5D self) -> std::string"""
8758 return _IMP_algebra.BoundedGridRange5D___str__(self)
8762 """__repr__(BoundedGridRange5D self) -> std::string"""
8763 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8766 def __cmp__(self, arg2):
8767 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8768 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8771 def __eq__(self, arg2):
8772 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8773 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8775 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8776 __del__ =
lambda self:
None
8777 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8778 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8780 def BoundedGridRange5D_get_is_bounded():
8781 """BoundedGridRange5D_get_is_bounded() -> bool"""
8782 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8784 class BoundedGridRange6D(object):
8785 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8787 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8789 def get_is_bounded():
8790 """get_is_bounded() -> bool"""
8791 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8793 get_is_bounded = staticmethod(get_is_bounded)
8795 def __init__(self, *args):
8797 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8798 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8800 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8802 self.this.append(this)
8803 except __builtin__.Exception:
8806 def get_number_of_voxels(self, *args):
8808 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8809 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8811 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8814 def get_end_index(self):
8815 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8816 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8819 def show(self, *args):
8821 show(BoundedGridRange6D self, _ostream out)
8822 show(BoundedGridRange6D self)
8824 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8827 def get_all_indexes(self):
8828 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8829 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8833 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8834 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8837 def get_extended_indexes(self, lb, ub):
8838 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8839 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8843 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8844 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8847 def get_has_index(self, v):
8848 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8849 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8852 def get_minimum_extended_index(self):
8853 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8854 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8857 def get_maximum_extended_index(self):
8858 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8859 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8863 """__str__(BoundedGridRange6D self) -> std::string"""
8864 return _IMP_algebra.BoundedGridRange6D___str__(self)
8868 """__repr__(BoundedGridRange6D self) -> std::string"""
8869 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8872 def __cmp__(self, arg2):
8873 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8874 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8877 def __eq__(self, arg2):
8878 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8879 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8881 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8882 __del__ =
lambda self:
None
8883 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8884 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8886 def BoundedGridRange6D_get_is_bounded():
8887 """BoundedGridRange6D_get_is_bounded() -> bool"""
8888 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8890 class BoundedGridRangeKD(object):
8891 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8893 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8895 def get_is_bounded():
8896 """get_is_bounded() -> bool"""
8897 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8899 get_is_bounded = staticmethod(get_is_bounded)
8901 def __init__(self, *args):
8903 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8904 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8906 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8908 self.this.append(this)
8909 except __builtin__.Exception:
8912 def get_number_of_voxels(self, *args):
8914 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8915 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8917 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8920 def get_end_index(self):
8921 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8922 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8925 def show(self, *args):
8927 show(BoundedGridRangeKD self, _ostream out)
8928 show(BoundedGridRangeKD self)
8930 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8933 def get_all_indexes(self):
8934 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8935 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8939 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8940 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8943 def get_extended_indexes(self, lb, ub):
8944 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8945 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8949 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8950 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8953 def get_has_index(self, v):
8954 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8955 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8958 def get_minimum_extended_index(self):
8959 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8960 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8963 def get_maximum_extended_index(self):
8964 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8965 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8969 """__str__(BoundedGridRangeKD self) -> std::string"""
8970 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8974 """__repr__(BoundedGridRangeKD self) -> std::string"""
8975 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8978 def __cmp__(self, arg2):
8979 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8980 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8983 def __eq__(self, arg2):
8984 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8985 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8987 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8988 __del__ =
lambda self:
None
8989 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8990 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8992 def BoundedGridRangeKD_get_is_bounded():
8993 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8994 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8996 class UnboundedGridRange1D(object):
8997 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8999 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9001 def __init__(self, *args):
9003 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
9004 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
9006 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
9008 self.this.append(this)
9009 except __builtin__.Exception:
9012 def set_number_of_voxels(self, arg2):
9013 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
9014 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
9017 def get_number_of_voxels(self, arg2):
9018 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
9019 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
9022 def get_is_bounded():
9023 """get_is_bounded() -> bool"""
9024 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9026 get_is_bounded = staticmethod(get_is_bounded)
9028 def get_has_index(self, arg2):
9029 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
9030 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
9033 def show(self, *args):
9035 show(UnboundedGridRange1D self, _ostream out)
9036 show(UnboundedGridRange1D self)
9038 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
9041 def get_extended_indexes(self, lb, ub):
9042 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9043 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
9047 """__str__(UnboundedGridRange1D self) -> std::string"""
9048 return _IMP_algebra.UnboundedGridRange1D___str__(self)
9052 """__repr__(UnboundedGridRange1D self) -> std::string"""
9053 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
9056 def __cmp__(self, arg2):
9057 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
9058 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
9061 def __eq__(self, arg2):
9062 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
9063 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
9065 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
9066 __del__ =
lambda self:
None
9067 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
9068 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
9070 def UnboundedGridRange1D_get_is_bounded():
9071 """UnboundedGridRange1D_get_is_bounded() -> bool"""
9072 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9074 class UnboundedGridRange2D(object):
9075 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
9077 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9079 def __init__(self, *args):
9081 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
9082 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
9084 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
9086 self.this.append(this)
9087 except __builtin__.Exception:
9090 def set_number_of_voxels(self, arg2):
9091 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
9092 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
9095 def get_number_of_voxels(self, arg2):
9096 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
9097 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
9100 def get_is_bounded():
9101 """get_is_bounded() -> bool"""
9102 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9104 get_is_bounded = staticmethod(get_is_bounded)
9106 def get_has_index(self, arg2):
9107 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
9108 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
9111 def show(self, *args):
9113 show(UnboundedGridRange2D self, _ostream out)
9114 show(UnboundedGridRange2D self)
9116 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
9119 def get_extended_indexes(self, lb, ub):
9120 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
9121 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
9125 """__str__(UnboundedGridRange2D self) -> std::string"""
9126 return _IMP_algebra.UnboundedGridRange2D___str__(self)
9130 """__repr__(UnboundedGridRange2D self) -> std::string"""
9131 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
9134 def __cmp__(self, arg2):
9135 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
9136 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
9139 def __eq__(self, arg2):
9140 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
9141 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
9143 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
9144 __del__ =
lambda self:
None
9145 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
9146 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
9148 def UnboundedGridRange2D_get_is_bounded():
9149 """UnboundedGridRange2D_get_is_bounded() -> bool"""
9150 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9152 class UnboundedGridRange3D(object):
9153 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
9155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9157 def __init__(self, *args):
9159 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
9160 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
9162 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
9164 self.this.append(this)
9165 except __builtin__.Exception:
9168 def set_number_of_voxels(self, arg2):
9169 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
9170 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
9173 def get_number_of_voxels(self, arg2):
9174 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
9175 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
9178 def get_is_bounded():
9179 """get_is_bounded() -> bool"""
9180 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9182 get_is_bounded = staticmethod(get_is_bounded)
9184 def get_has_index(self, arg2):
9185 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
9186 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
9189 def show(self, *args):
9191 show(UnboundedGridRange3D self, _ostream out)
9192 show(UnboundedGridRange3D self)
9194 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
9197 def get_extended_indexes(self, lb, ub):
9198 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
9199 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
9203 """__str__(UnboundedGridRange3D self) -> std::string"""
9204 return _IMP_algebra.UnboundedGridRange3D___str__(self)
9208 """__repr__(UnboundedGridRange3D self) -> std::string"""
9209 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
9212 def __cmp__(self, arg2):
9213 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
9214 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
9217 def __eq__(self, arg2):
9218 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
9219 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
9221 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
9222 __del__ =
lambda self:
None
9223 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
9224 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
9226 def UnboundedGridRange3D_get_is_bounded():
9227 """UnboundedGridRange3D_get_is_bounded() -> bool"""
9228 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9230 class UnboundedGridRange4D(object):
9231 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
9233 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9235 def __init__(self, *args):
9237 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
9238 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
9240 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
9242 self.this.append(this)
9243 except __builtin__.Exception:
9246 def set_number_of_voxels(self, arg2):
9247 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
9248 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
9251 def get_number_of_voxels(self, arg2):
9252 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
9253 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
9256 def get_is_bounded():
9257 """get_is_bounded() -> bool"""
9258 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9260 get_is_bounded = staticmethod(get_is_bounded)
9262 def get_has_index(self, arg2):
9263 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
9264 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
9267 def show(self, *args):
9269 show(UnboundedGridRange4D self, _ostream out)
9270 show(UnboundedGridRange4D self)
9272 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
9275 def get_extended_indexes(self, lb, ub):
9276 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
9277 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
9281 """__str__(UnboundedGridRange4D self) -> std::string"""
9282 return _IMP_algebra.UnboundedGridRange4D___str__(self)
9286 """__repr__(UnboundedGridRange4D self) -> std::string"""
9287 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
9290 def __cmp__(self, arg2):
9291 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
9292 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
9295 def __eq__(self, arg2):
9296 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
9297 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
9299 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
9300 __del__ =
lambda self:
None
9301 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
9302 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
9304 def UnboundedGridRange4D_get_is_bounded():
9305 """UnboundedGridRange4D_get_is_bounded() -> bool"""
9306 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9308 class UnboundedGridRange5D(object):
9309 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
9311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9313 def __init__(self, *args):
9315 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
9316 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
9318 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
9320 self.this.append(this)
9321 except __builtin__.Exception:
9324 def set_number_of_voxels(self, arg2):
9325 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
9326 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
9329 def get_number_of_voxels(self, arg2):
9330 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
9331 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
9334 def get_is_bounded():
9335 """get_is_bounded() -> bool"""
9336 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9338 get_is_bounded = staticmethod(get_is_bounded)
9340 def get_has_index(self, arg2):
9341 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
9342 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
9345 def show(self, *args):
9347 show(UnboundedGridRange5D self, _ostream out)
9348 show(UnboundedGridRange5D self)
9350 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
9353 def get_extended_indexes(self, lb, ub):
9354 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
9355 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
9359 """__str__(UnboundedGridRange5D self) -> std::string"""
9360 return _IMP_algebra.UnboundedGridRange5D___str__(self)
9364 """__repr__(UnboundedGridRange5D self) -> std::string"""
9365 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
9368 def __cmp__(self, arg2):
9369 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
9370 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
9373 def __eq__(self, arg2):
9374 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
9375 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
9377 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
9378 __del__ =
lambda self:
None
9379 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
9380 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
9382 def UnboundedGridRange5D_get_is_bounded():
9383 """UnboundedGridRange5D_get_is_bounded() -> bool"""
9384 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9386 class UnboundedGridRange6D(object):
9387 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
9389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9391 def __init__(self, *args):
9393 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
9394 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
9396 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
9398 self.this.append(this)
9399 except __builtin__.Exception:
9402 def set_number_of_voxels(self, arg2):
9403 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
9404 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
9407 def get_number_of_voxels(self, arg2):
9408 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
9409 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
9412 def get_is_bounded():
9413 """get_is_bounded() -> bool"""
9414 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9416 get_is_bounded = staticmethod(get_is_bounded)
9418 def get_has_index(self, arg2):
9419 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
9420 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
9423 def show(self, *args):
9425 show(UnboundedGridRange6D self, _ostream out)
9426 show(UnboundedGridRange6D self)
9428 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
9431 def get_extended_indexes(self, lb, ub):
9432 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
9433 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
9437 """__str__(UnboundedGridRange6D self) -> std::string"""
9438 return _IMP_algebra.UnboundedGridRange6D___str__(self)
9442 """__repr__(UnboundedGridRange6D self) -> std::string"""
9443 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
9446 def __cmp__(self, arg2):
9447 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
9448 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
9451 def __eq__(self, arg2):
9452 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
9453 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
9455 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
9456 __del__ =
lambda self:
None
9457 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
9458 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
9460 def UnboundedGridRange6D_get_is_bounded():
9461 """UnboundedGridRange6D_get_is_bounded() -> bool"""
9462 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9464 class UnboundedGridRangeKD(object):
9465 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
9467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9469 def __init__(self, *args):
9471 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
9472 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
9474 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
9476 self.this.append(this)
9477 except __builtin__.Exception:
9480 def set_number_of_voxels(self, arg2):
9481 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
9482 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
9485 def get_number_of_voxels(self, arg2):
9486 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
9487 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
9490 def get_is_bounded():
9491 """get_is_bounded() -> bool"""
9492 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9494 get_is_bounded = staticmethod(get_is_bounded)
9496 def get_has_index(self, arg2):
9497 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
9498 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
9501 def show(self, *args):
9503 show(UnboundedGridRangeKD self, _ostream out)
9504 show(UnboundedGridRangeKD self)
9506 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
9509 def get_extended_indexes(self, lb, ub):
9510 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
9511 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
9515 """__str__(UnboundedGridRangeKD self) -> std::string"""
9516 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
9520 """__repr__(UnboundedGridRangeKD self) -> std::string"""
9521 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
9524 def __cmp__(self, arg2):
9525 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
9526 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
9529 def __eq__(self, arg2):
9530 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
9531 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
9533 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
9534 __del__ =
lambda self:
None
9535 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
9536 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
9538 def UnboundedGridRangeKD_get_is_bounded():
9539 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
9540 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9542 class DefaultEmbedding1D(object):
9543 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
9545 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9547 def __init__(self, *args):
9549 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
9550 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
9552 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
9554 self.this.append(this)
9555 except __builtin__.Exception:
9558 def set_origin(self, o):
9559 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
9560 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
9563 def get_origin(self):
9564 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
9565 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
9568 def get_dimension(self):
9569 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
9570 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
9573 def set_unit_cell(self, o):
9574 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
9575 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
9578 def get_inverse_unit_cell(self):
9579 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9580 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
9583 def get_unit_cell(self):
9584 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9585 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
9588 def get_extended_index(self, o):
9589 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9590 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
9594 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
9595 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
9598 def get_center(self, *args):
9600 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9601 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
9603 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
9606 def get_bounding_box(self, *args):
9608 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9609 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9611 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
9614 def show(self, *args):
9616 show(DefaultEmbedding1D self, _ostream out)
9617 show(DefaultEmbedding1D self)
9619 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
9623 """__str__(DefaultEmbedding1D self) -> std::string"""
9624 return _IMP_algebra.DefaultEmbedding1D___str__(self)
9628 """__repr__(DefaultEmbedding1D self) -> std::string"""
9629 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9632 def __cmp__(self, arg2):
9633 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9634 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9637 def __eq__(self, arg2):
9638 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9639 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9641 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9642 __del__ =
lambda self:
None
9643 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9644 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9646 class DefaultEmbedding2D(object):
9647 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
9649 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9651 def __init__(self, *args):
9653 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9654 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9656 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9658 self.this.append(this)
9659 except __builtin__.Exception:
9662 def set_origin(self, o):
9663 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9664 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9667 def get_origin(self):
9668 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9669 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9672 def get_dimension(self):
9673 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9674 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9677 def set_unit_cell(self, o):
9678 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9679 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9682 def get_inverse_unit_cell(self):
9683 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9684 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9687 def get_unit_cell(self):
9688 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9689 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9692 def get_extended_index(self, o):
9693 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9694 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9698 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9699 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9702 def get_center(self, *args):
9704 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9705 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9707 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9710 def get_bounding_box(self, *args):
9712 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9713 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9715 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9718 def show(self, *args):
9720 show(DefaultEmbedding2D self, _ostream out)
9721 show(DefaultEmbedding2D self)
9723 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9727 """__str__(DefaultEmbedding2D self) -> std::string"""
9728 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9732 """__repr__(DefaultEmbedding2D self) -> std::string"""
9733 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9736 def __cmp__(self, arg2):
9737 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9738 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9741 def __eq__(self, arg2):
9742 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9743 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9745 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9746 __del__ =
lambda self:
None
9747 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9748 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9750 class DefaultEmbedding3D(object):
9751 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9753 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9755 def __init__(self, *args):
9757 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9758 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9760 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9762 self.this.append(this)
9763 except __builtin__.Exception:
9766 def set_origin(self, o):
9767 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9768 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9771 def get_origin(self):
9772 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9773 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9776 def get_dimension(self):
9777 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9778 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9781 def set_unit_cell(self, o):
9782 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9783 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9786 def get_inverse_unit_cell(self):
9787 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9788 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9791 def get_unit_cell(self):
9792 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9793 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9796 def get_extended_index(self, o):
9797 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9798 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9802 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9803 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9806 def get_center(self, *args):
9808 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9809 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9811 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9814 def get_bounding_box(self, *args):
9816 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9817 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9819 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9822 def show(self, *args):
9824 show(DefaultEmbedding3D self, _ostream out)
9825 show(DefaultEmbedding3D self)
9827 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9831 """__str__(DefaultEmbedding3D self) -> std::string"""
9832 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9836 """__repr__(DefaultEmbedding3D self) -> std::string"""
9837 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9840 def __cmp__(self, arg2):
9841 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9842 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9845 def __eq__(self, arg2):
9846 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9847 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9849 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9850 __del__ =
lambda self:
None
9851 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9852 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9854 class DefaultEmbedding4D(object):
9855 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9859 def __init__(self, *args):
9861 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9862 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9864 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9866 self.this.append(this)
9867 except __builtin__.Exception:
9870 def set_origin(self, o):
9871 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9872 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9875 def get_origin(self):
9876 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9877 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9880 def get_dimension(self):
9881 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9882 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9885 def set_unit_cell(self, o):
9886 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9887 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9890 def get_inverse_unit_cell(self):
9891 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9892 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9895 def get_unit_cell(self):
9896 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9897 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9900 def get_extended_index(self, o):
9901 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9902 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9906 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9907 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9910 def get_center(self, *args):
9912 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9913 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9915 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9918 def get_bounding_box(self, *args):
9920 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9921 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9923 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9926 def show(self, *args):
9928 show(DefaultEmbedding4D self, _ostream out)
9929 show(DefaultEmbedding4D self)
9931 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9935 """__str__(DefaultEmbedding4D self) -> std::string"""
9936 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9940 """__repr__(DefaultEmbedding4D self) -> std::string"""
9941 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9944 def __cmp__(self, arg2):
9945 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9946 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9949 def __eq__(self, arg2):
9950 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9951 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9953 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9954 __del__ =
lambda self:
None
9955 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9956 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9958 class DefaultEmbedding5D(object):
9959 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9961 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9963 def __init__(self, *args):
9965 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9966 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9968 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9970 self.this.append(this)
9971 except __builtin__.Exception:
9974 def set_origin(self, o):
9975 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9976 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9979 def get_origin(self):
9980 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9981 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9984 def get_dimension(self):
9985 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9986 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9989 def set_unit_cell(self, o):
9990 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9991 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9994 def get_inverse_unit_cell(self):
9995 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9996 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9999 def get_unit_cell(self):
10000 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
10001 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
10004 def get_extended_index(self, o):
10005 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10006 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
10010 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
10011 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
10014 def get_center(self, *args):
10016 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10017 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
10019 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
10022 def get_bounding_box(self, *args):
10024 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10025 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10027 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
10030 def show(self, *args):
10032 show(DefaultEmbedding5D self, _ostream out)
10033 show(DefaultEmbedding5D self)
10035 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
10039 """__str__(DefaultEmbedding5D self) -> std::string"""
10040 return _IMP_algebra.DefaultEmbedding5D___str__(self)
10043 def __repr__(self):
10044 """__repr__(DefaultEmbedding5D self) -> std::string"""
10045 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
10048 def __cmp__(self, arg2):
10049 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
10050 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
10053 def __eq__(self, arg2):
10054 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
10055 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
10057 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
10058 __del__ =
lambda self:
None
10059 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
10060 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
10062 class DefaultEmbedding6D(object):
10063 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
10065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10067 def __init__(self, *args):
10069 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
10070 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
10072 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
10074 self.this.append(this)
10075 except __builtin__.Exception:
10078 def set_origin(self, o):
10079 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
10080 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
10083 def get_origin(self):
10084 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
10085 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
10088 def get_dimension(self):
10089 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
10090 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
10093 def set_unit_cell(self, o):
10094 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
10095 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
10098 def get_inverse_unit_cell(self):
10099 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10100 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
10103 def get_unit_cell(self):
10104 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10105 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
10108 def get_extended_index(self, o):
10109 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10110 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
10114 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
10115 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
10118 def get_center(self, *args):
10120 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10121 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
10123 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
10126 def get_bounding_box(self, *args):
10128 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10129 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10131 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
10134 def show(self, *args):
10136 show(DefaultEmbedding6D self, _ostream out)
10137 show(DefaultEmbedding6D self)
10139 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
10143 """__str__(DefaultEmbedding6D self) -> std::string"""
10144 return _IMP_algebra.DefaultEmbedding6D___str__(self)
10147 def __repr__(self):
10148 """__repr__(DefaultEmbedding6D self) -> std::string"""
10149 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
10152 def __cmp__(self, arg2):
10153 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
10154 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
10157 def __eq__(self, arg2):
10158 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
10159 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
10161 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
10162 __del__ =
lambda self:
None
10163 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
10164 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
10166 class DefaultEmbeddingKD(object):
10167 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
10169 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10171 def __init__(self, *args):
10173 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
10174 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
10176 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
10178 self.this.append(this)
10179 except __builtin__.Exception:
10182 def set_origin(self, o):
10183 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
10184 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
10187 def get_origin(self):
10188 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
10189 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
10192 def get_dimension(self):
10193 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
10194 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
10197 def set_unit_cell(self, o):
10198 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
10199 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
10202 def get_inverse_unit_cell(self):
10203 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10204 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
10207 def get_unit_cell(self):
10208 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10209 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
10212 def get_extended_index(self, o):
10213 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
10214 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
10218 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
10219 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
10222 def get_center(self, *args):
10224 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
10225 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
10227 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
10230 def get_bounding_box(self, *args):
10232 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
10233 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
10235 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
10238 def show(self, *args):
10240 show(DefaultEmbeddingKD self, _ostream out)
10241 show(DefaultEmbeddingKD self)
10243 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
10247 """__str__(DefaultEmbeddingKD self) -> std::string"""
10248 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
10251 def __repr__(self):
10252 """__repr__(DefaultEmbeddingKD self) -> std::string"""
10253 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
10256 def __cmp__(self, arg2):
10257 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
10258 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
10261 def __eq__(self, arg2):
10262 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
10263 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
10265 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
10266 __del__ =
lambda self:
None
10267 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
10268 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
10270 class LogEmbedding1D(object):
10271 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
10273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10275 def __init__(self, *args):
10277 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
10278 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
10279 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
10280 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
10281 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
10283 this = _IMP_algebra.new_LogEmbedding1D(*args)
10285 self.this.append(this)
10286 except __builtin__.Exception:
10289 def set_origin(self, o):
10290 """set_origin(LogEmbedding1D self, Vector1D o)"""
10291 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
10294 def get_origin(self):
10295 """get_origin(LogEmbedding1D self) -> Vector1D"""
10296 return _IMP_algebra.LogEmbedding1D_get_origin(self)
10299 def get_dimension(self):
10300 """get_dimension(LogEmbedding1D self) -> unsigned int"""
10301 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
10304 def set_unit_cell(self, *args):
10306 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
10307 set_unit_cell(LogEmbedding1D self, Vector1D o)
10309 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
10312 def get_unit_cell(self):
10313 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
10314 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
10317 def get_extended_index(self, o):
10318 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
10319 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
10323 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
10324 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
10327 def get_center(self, *args):
10329 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
10330 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
10332 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
10335 def get_bounding_box(self, *args):
10337 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
10338 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
10340 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
10343 def show(self, *args):
10345 show(LogEmbedding1D self, _ostream out)
10346 show(LogEmbedding1D self)
10348 return _IMP_algebra.LogEmbedding1D_show(self, *args)
10352 """__str__(LogEmbedding1D self) -> std::string"""
10353 return _IMP_algebra.LogEmbedding1D___str__(self)
10356 def __repr__(self):
10357 """__repr__(LogEmbedding1D self) -> std::string"""
10358 return _IMP_algebra.LogEmbedding1D___repr__(self)
10361 def __cmp__(self, arg2):
10362 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
10363 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
10366 def __eq__(self, arg2):
10367 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
10368 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
10370 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
10371 __del__ =
lambda self:
None
10372 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
10373 LogEmbedding1D_swigregister(LogEmbedding1D)
10375 class LogEmbedding2D(object):
10376 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
10378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10380 def __init__(self, *args):
10382 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
10383 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
10384 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
10385 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
10386 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
10388 this = _IMP_algebra.new_LogEmbedding2D(*args)
10390 self.this.append(this)
10391 except __builtin__.Exception:
10394 def set_origin(self, o):
10395 """set_origin(LogEmbedding2D self, Vector2D o)"""
10396 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
10399 def get_origin(self):
10400 """get_origin(LogEmbedding2D self) -> Vector2D"""
10401 return _IMP_algebra.LogEmbedding2D_get_origin(self)
10404 def get_dimension(self):
10405 """get_dimension(LogEmbedding2D self) -> unsigned int"""
10406 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
10409 def set_unit_cell(self, *args):
10411 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
10412 set_unit_cell(LogEmbedding2D self, Vector2D o)
10414 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
10417 def get_unit_cell(self):
10418 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
10419 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
10422 def get_extended_index(self, o):
10423 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
10424 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
10428 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
10429 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
10432 def get_center(self, *args):
10434 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
10435 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
10437 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
10440 def get_bounding_box(self, *args):
10442 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
10443 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
10445 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
10448 def show(self, *args):
10450 show(LogEmbedding2D self, _ostream out)
10451 show(LogEmbedding2D self)
10453 return _IMP_algebra.LogEmbedding2D_show(self, *args)
10457 """__str__(LogEmbedding2D self) -> std::string"""
10458 return _IMP_algebra.LogEmbedding2D___str__(self)
10461 def __repr__(self):
10462 """__repr__(LogEmbedding2D self) -> std::string"""
10463 return _IMP_algebra.LogEmbedding2D___repr__(self)
10466 def __cmp__(self, arg2):
10467 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
10468 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
10471 def __eq__(self, arg2):
10472 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
10473 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
10475 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
10476 __del__ =
lambda self:
None
10477 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
10478 LogEmbedding2D_swigregister(LogEmbedding2D)
10480 class LogEmbedding4D(object):
10481 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
10483 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10485 def __init__(self, *args):
10487 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
10488 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
10489 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
10490 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
10491 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
10493 this = _IMP_algebra.new_LogEmbedding4D(*args)
10495 self.this.append(this)
10496 except __builtin__.Exception:
10499 def set_origin(self, o):
10500 """set_origin(LogEmbedding4D self, Vector4D o)"""
10501 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
10504 def get_origin(self):
10505 """get_origin(LogEmbedding4D self) -> Vector4D"""
10506 return _IMP_algebra.LogEmbedding4D_get_origin(self)
10509 def get_dimension(self):
10510 """get_dimension(LogEmbedding4D self) -> unsigned int"""
10511 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
10514 def set_unit_cell(self, *args):
10516 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
10517 set_unit_cell(LogEmbedding4D self, Vector4D o)
10519 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
10522 def get_unit_cell(self):
10523 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
10524 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
10527 def get_extended_index(self, o):
10528 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
10529 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
10533 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
10534 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
10537 def get_center(self, *args):
10539 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
10540 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
10542 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
10545 def get_bounding_box(self, *args):
10547 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
10548 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
10550 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
10553 def show(self, *args):
10555 show(LogEmbedding4D self, _ostream out)
10556 show(LogEmbedding4D self)
10558 return _IMP_algebra.LogEmbedding4D_show(self, *args)
10562 """__str__(LogEmbedding4D self) -> std::string"""
10563 return _IMP_algebra.LogEmbedding4D___str__(self)
10566 def __repr__(self):
10567 """__repr__(LogEmbedding4D self) -> std::string"""
10568 return _IMP_algebra.LogEmbedding4D___repr__(self)
10571 def __cmp__(self, arg2):
10572 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
10573 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
10576 def __eq__(self, arg2):
10577 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
10578 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
10580 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
10581 __del__ =
lambda self:
None
10582 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
10583 LogEmbedding4D_swigregister(LogEmbedding4D)
10585 class LogEmbedding5D(object):
10586 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
10588 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10590 def __init__(self, *args):
10592 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
10593 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
10594 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
10595 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
10596 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
10598 this = _IMP_algebra.new_LogEmbedding5D(*args)
10600 self.this.append(this)
10601 except __builtin__.Exception:
10604 def set_origin(self, o):
10605 """set_origin(LogEmbedding5D self, Vector5D o)"""
10606 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
10609 def get_origin(self):
10610 """get_origin(LogEmbedding5D self) -> Vector5D"""
10611 return _IMP_algebra.LogEmbedding5D_get_origin(self)
10614 def get_dimension(self):
10615 """get_dimension(LogEmbedding5D self) -> unsigned int"""
10616 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
10619 def set_unit_cell(self, *args):
10621 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
10622 set_unit_cell(LogEmbedding5D self, Vector5D o)
10624 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
10627 def get_unit_cell(self):
10628 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
10629 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10632 def get_extended_index(self, o):
10633 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10634 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10638 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10639 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10642 def get_center(self, *args):
10644 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10645 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10647 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10650 def get_bounding_box(self, *args):
10652 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10653 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10655 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10658 def show(self, *args):
10660 show(LogEmbedding5D self, _ostream out)
10661 show(LogEmbedding5D self)
10663 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10667 """__str__(LogEmbedding5D self) -> std::string"""
10668 return _IMP_algebra.LogEmbedding5D___str__(self)
10671 def __repr__(self):
10672 """__repr__(LogEmbedding5D self) -> std::string"""
10673 return _IMP_algebra.LogEmbedding5D___repr__(self)
10676 def __cmp__(self, arg2):
10677 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10678 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10681 def __eq__(self, arg2):
10682 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10683 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10685 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10686 __del__ =
lambda self:
None
10687 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10688 LogEmbedding5D_swigregister(LogEmbedding5D)
10690 class LogEmbedding6D(object):
10691 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10695 def __init__(self, *args):
10697 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10698 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10699 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10700 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10701 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10703 this = _IMP_algebra.new_LogEmbedding6D(*args)
10705 self.this.append(this)
10706 except __builtin__.Exception:
10709 def set_origin(self, o):
10710 """set_origin(LogEmbedding6D self, Vector6D o)"""
10711 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10714 def get_origin(self):
10715 """get_origin(LogEmbedding6D self) -> Vector6D"""
10716 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10719 def get_dimension(self):
10720 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10721 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10724 def set_unit_cell(self, *args):
10726 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10727 set_unit_cell(LogEmbedding6D self, Vector6D o)
10729 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10732 def get_unit_cell(self):
10733 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10734 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10737 def get_extended_index(self, o):
10738 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10739 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10743 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10744 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10747 def get_center(self, *args):
10749 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10750 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10752 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10755 def get_bounding_box(self, *args):
10757 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10758 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10760 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10763 def show(self, *args):
10765 show(LogEmbedding6D self, _ostream out)
10766 show(LogEmbedding6D self)
10768 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10772 """__str__(LogEmbedding6D self) -> std::string"""
10773 return _IMP_algebra.LogEmbedding6D___str__(self)
10776 def __repr__(self):
10777 """__repr__(LogEmbedding6D self) -> std::string"""
10778 return _IMP_algebra.LogEmbedding6D___repr__(self)
10781 def __cmp__(self, arg2):
10782 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10783 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10786 def __eq__(self, arg2):
10787 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10788 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10790 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10791 __del__ =
lambda self:
None
10792 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10793 LogEmbedding6D_swigregister(LogEmbedding6D)
10795 class SpherePatch3D(_GeometricPrimitive3D):
10796 """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10800 def __init__(self, *args):
10802 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10803 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10805 this = _IMP_algebra.new_SpherePatch3D(*args)
10807 self.this.append(this)
10808 except __builtin__.Exception:
10811 def get_contains(self, p):
10812 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10813 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10816 def get_plane(self):
10817 """get_plane(SpherePatch3D self) -> Plane3D"""
10818 return _IMP_algebra.SpherePatch3D_get_plane(self)
10821 def get_sphere(self):
10822 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10823 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10826 def show(self, *args):
10828 show(SpherePatch3D self, _ostream out)
10829 show(SpherePatch3D self)
10831 return _IMP_algebra.SpherePatch3D_show(self, *args)
10834 def get_boundary_point(self):
10835 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10836 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10840 """__str__(SpherePatch3D self) -> std::string"""
10841 return _IMP_algebra.SpherePatch3D___str__(self)
10844 def __repr__(self):
10845 """__repr__(SpherePatch3D self) -> std::string"""
10846 return _IMP_algebra.SpherePatch3D___repr__(self)
10848 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10849 __del__ =
lambda self:
None
10850 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10851 SpherePatch3D_swigregister(SpherePatch3D)
10856 get_area(Plane3D g) -> double
10857 get_area(SpherePatch3D g) -> double
10859 return _IMP_algebra.get_area(*args)
10861 def get_sphere_patch_3d_geometry(g):
10862 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10863 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10864 class Cone3D(_GeometricPrimitive3D):
10865 """Proxy of C++ IMP::algebra::Cone3D class."""
10867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10869 def __init__(self, *args):
10871 __init__(IMP::algebra::Cone3D self) -> Cone3D
10872 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10874 this = _IMP_algebra.new_Cone3D(*args)
10876 self.this.append(this)
10877 except __builtin__.Exception:
10881 """get_tip(Cone3D self) -> Vector3D"""
10882 return _IMP_algebra.Cone3D_get_tip(self)
10885 def get_direction(self):
10886 """get_direction(Cone3D self) -> Vector3D"""
10887 return _IMP_algebra.Cone3D_get_direction(self)
10891 """get_height(Cone3D self) -> double"""
10892 return _IMP_algebra.Cone3D_get_height(self)
10896 """get_angle(Cone3D self) -> double"""
10897 return _IMP_algebra.Cone3D_get_angle(self)
10900 def get_radius(self):
10901 """get_radius(Cone3D self) -> double"""
10902 return _IMP_algebra.Cone3D_get_radius(self)
10905 def get_contains(self, v):
10906 """get_contains(Cone3D self, Vector3D v) -> bool"""
10907 return _IMP_algebra.Cone3D_get_contains(self, v)
10910 def get_base_plane(self):
10911 """get_base_plane(Cone3D self) -> Plane3D"""
10912 return _IMP_algebra.Cone3D_get_base_plane(self)
10915 def show(self, *args):
10917 show(Cone3D self, _ostream out)
10920 return _IMP_algebra.Cone3D_show(self, *args)
10924 """__str__(Cone3D self) -> std::string"""
10925 return _IMP_algebra.Cone3D___str__(self)
10928 def __repr__(self):
10929 """__repr__(Cone3D self) -> std::string"""
10930 return _IMP_algebra.Cone3D___repr__(self)
10932 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10933 __del__ =
lambda self:
None
10934 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10935 Cone3D_swigregister(Cone3D)
10940 get_surface_area(BoundingBox3D g) -> double
10941 get_surface_area(Sphere3D g) -> double
10942 get_surface_area(Cylinder3D g) -> double
10943 get_surface_area(Ellipsoid3D g) -> double
10944 get_surface_area(Cone3D g) -> double
10946 return _IMP_algebra.get_surface_area(*args)
10950 get_volume(BoundingBox3D g) -> double
10951 get_volume(Sphere3D g) -> double
10952 get_volume(Cylinder3D g) -> double
10953 get_volume(Ellipsoid3D g) -> double
10954 get_volume(Cone3D g) -> double
10956 return _IMP_algebra.get_volume(*args)
10958 def get_cone_3d_geometry(g):
10959 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10960 return _IMP_algebra.get_cone_3d_geometry(g)
10963 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10964 return _IMP_algebra.write_pts(vs, out)
10967 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10968 return _IMP_algebra.read_pts(input)
10971 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10972 return _IMP_algebra.write_spheres(vs, out)
10975 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10976 return _IMP_algebra.read_spheres(input)
10979 """get_random_vector_on_unit_sphere() -> Vector3D"""
10980 return _IMP_algebra.get_random_vector_on_unit_sphere()
10983 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10984 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10988 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10989 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10990 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10992 return _IMP_algebra.get_random_chain(*args)
10995 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10996 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
11000 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
11001 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
11003 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
11006 """get_is_big_endian() -> bool"""
11007 return _IMP_algebra.get_is_big_endian()
11010 """get_is_little_endian() -> bool"""
11011 return _IMP_algebra.get_is_little_endian()
11015 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
11016 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
11018 return _IMP_algebra.get_shortest_segment(*args)
11020 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
11022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11024 def __init__(self, vs, query_estimate=1):
11026 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
11027 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
11029 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
11031 self.this.append(this)
11032 except __builtin__.Exception:
11035 def get_in_ball(self, id, distance):
11036 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
11037 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
11040 def set_coordinates(self, id, nc):
11041 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
11042 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
11045 def get_version_info(self):
11046 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
11047 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
11051 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
11052 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
11055 def __repr__(self):
11056 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
11057 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
11062 return _object_cast_to_DynamicNearestNeighbor3D(o)
11064 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
11065 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
11068 """Proxy of C++ IMP::algebra::VectorKDMetric class."""
11070 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11072 def __init__(self, name):
11073 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
11074 if self.__class__ == VectorKDMetric:
11078 this = _IMP_algebra.new_VectorKDMetric(_self, name)
11080 self.this.append(this)
11081 except __builtin__.Exception:
11084 if self.__class__ != VectorKDMetric:
11085 _director_objects.register(self)
11091 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
11092 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
11096 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
11097 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
11101 """__str__(VectorKDMetric self) -> std::string"""
11102 return _IMP_algebra.VectorKDMetric___str__(self)
11105 def __repr__(self):
11106 """__repr__(VectorKDMetric self) -> std::string"""
11107 return _IMP_algebra.VectorKDMetric___repr__(self)
11112 return _object_cast_to_VectorKDMetric(o)
11115 def get_type_name(self):
11116 return self.__class__.__name__
11117 def do_show(self, out):
11119 def get_version_info(self):
11120 if"IMP::algebra" ==
"IMP":
11121 return VersionInfo(self.__module__,
11122 __import__(self.__module__).get_module_version())
11125 __import__(self.__module__).get_module_version())
11128 return _object_cast_to_VectorKDMetric(o)
11130 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
11131 __del__ =
lambda self:
None
11132 def __disown__(self):
11134 _IMP_algebra.disown_VectorKDMetric(self)
11135 return weakref_proxy(self)
11137 def do_destroy(self):
11138 """do_destroy(VectorKDMetric self)"""
11139 return _IMP_algebra.VectorKDMetric_do_destroy(self)
11141 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
11142 VectorKDMetric_swigregister(VectorKDMetric)
11144 class EuclideanVectorKDMetric(VectorKDMetric):
11145 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
11147 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11149 def __init__(self, *args):
11151 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
11152 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
11154 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
11156 self.this.append(this)
11157 except __builtin__.Exception:
11160 def get_version_info(self):
11161 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
11162 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
11166 """__str__(EuclideanVectorKDMetric self) -> std::string"""
11167 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
11170 def __repr__(self):
11171 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
11172 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
11177 return _object_cast_to_EuclideanVectorKDMetric(o)
11179 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
11180 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
11182 class MaxVectorKDMetric(VectorKDMetric):
11183 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
11185 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11187 def __init__(self, *args):
11189 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
11190 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
11192 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
11194 self.this.append(this)
11195 except __builtin__.Exception:
11198 def get_version_info(self):
11199 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
11200 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
11204 """__str__(MaxVectorKDMetric self) -> std::string"""
11205 return _IMP_algebra.MaxVectorKDMetric___str__(self)
11208 def __repr__(self):
11209 """__repr__(MaxVectorKDMetric self) -> std::string"""
11210 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
11215 return _object_cast_to_MaxVectorKDMetric(o)
11217 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
11218 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
11220 class Gaussian3D(_GeometricPrimitive3D):
11221 """Proxy of C++ IMP::algebra::Gaussian3D class."""
11223 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11225 def __init__(self, *args):
11227 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
11228 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
11230 this = _IMP_algebra.new_Gaussian3D(*args)
11232 self.this.append(this)
11233 except __builtin__.Exception:
11236 def get_reference_frame(self):
11237 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
11238 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
11241 def get_variances(self):
11242 """get_variances(Gaussian3D self) -> Vector3D"""
11243 return _IMP_algebra.Gaussian3D_get_variances(self)
11246 def get_center(self):
11247 """get_center(Gaussian3D self) -> Vector3D"""
11248 return _IMP_algebra.Gaussian3D_get_center(self)
11251 def show(self, *args):
11253 show(Gaussian3D self, _ostream out)
11254 show(Gaussian3D self)
11256 return _IMP_algebra.Gaussian3D_show(self, *args)
11260 """__str__(Gaussian3D self) -> std::string"""
11261 return _IMP_algebra.Gaussian3D___str__(self)
11264 def __repr__(self):
11265 """__repr__(Gaussian3D self) -> std::string"""
11266 return _IMP_algebra.Gaussian3D___repr__(self)
11268 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
11269 __del__ =
lambda self:
None
11270 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
11271 Gaussian3D_swigregister(Gaussian3D)
11275 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
11276 return _IMP_algebra.get_covariance(g)
11279 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
11280 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
11283 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
11284 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
11288 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
11289 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
11291 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
11293 def _pass_matrix_xf(m):
11294 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
11295 return _IMP_algebra._pass_matrix_xf(m)
11297 def _pass_matrix_xd(m):
11298 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
11299 return _IMP_algebra._pass_matrix_xd(m)
11301 def _pass_matrix_3d(m):
11302 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
11303 return _IMP_algebra._pass_matrix_3d(m)
11305 def _pass_array_xd(m):
11306 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
11307 return _IMP_algebra._pass_array_xd(m)
11309 def _pass_vector_xd(m):
11310 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
11311 return _IMP_algebra._pass_vector_xd(m)
11313 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
11315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11317 def __init__(self, vs, epsilon=0):
11319 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
11320 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
11322 this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
11324 self.this.append(this)
11325 except __builtin__.Exception:
11328 def set_query_log(self, fname):
11329 """set_query_log(NearestNeighbor1D self, std::string fname)"""
11330 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
11333 def get_nearest_neighbor(self, *args):
11335 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
11336 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
11338 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
11341 def get_nearest_neighbors(self, *args):
11343 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
11344 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
11346 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
11349 def get_in_ball(self, *args):
11351 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
11352 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
11354 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
11357 def get_version_info(self):
11358 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
11359 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
11363 """__str__(NearestNeighbor1D self) -> std::string"""
11364 return _IMP_algebra.NearestNeighbor1D___str__(self)
11367 def __repr__(self):
11368 """__repr__(NearestNeighbor1D self) -> std::string"""
11369 return _IMP_algebra.NearestNeighbor1D___repr__(self)
11374 return _object_cast_to_NearestNeighborD(o)
11376 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
11377 NearestNeighbor1D_swigregister(NearestNeighbor1D)
11380 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
11382 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11384 def __init__(self, vs, epsilon=0):
11386 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
11387 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
11389 this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
11391 self.this.append(this)
11392 except __builtin__.Exception:
11395 def set_query_log(self, fname):
11396 """set_query_log(NearestNeighbor2D self, std::string fname)"""
11397 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
11400 def get_nearest_neighbor(self, *args):
11402 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
11403 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
11405 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
11408 def get_nearest_neighbors(self, *args):
11410 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
11411 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
11413 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
11416 def get_in_ball(self, *args):
11418 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
11419 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
11421 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
11424 def get_version_info(self):
11425 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
11426 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
11430 """__str__(NearestNeighbor2D self) -> std::string"""
11431 return _IMP_algebra.NearestNeighbor2D___str__(self)
11434 def __repr__(self):
11435 """__repr__(NearestNeighbor2D self) -> std::string"""
11436 return _IMP_algebra.NearestNeighbor2D___repr__(self)
11441 return _object_cast_to_NearestNeighborD(o)
11443 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
11444 NearestNeighbor2D_swigregister(NearestNeighbor2D)
11447 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
11449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11451 def __init__(self, vs, epsilon=0):
11453 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
11454 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
11456 this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
11458 self.this.append(this)
11459 except __builtin__.Exception:
11462 def set_query_log(self, fname):
11463 """set_query_log(NearestNeighbor3D self, std::string fname)"""
11464 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
11467 def get_nearest_neighbor(self, *args):
11469 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
11470 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
11472 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
11475 def get_nearest_neighbors(self, *args):
11477 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
11478 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
11480 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
11483 def get_in_ball(self, *args):
11485 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
11486 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
11488 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
11491 def get_version_info(self):
11492 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
11493 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
11497 """__str__(NearestNeighbor3D self) -> std::string"""
11498 return _IMP_algebra.NearestNeighbor3D___str__(self)
11501 def __repr__(self):
11502 """__repr__(NearestNeighbor3D self) -> std::string"""
11503 return _IMP_algebra.NearestNeighbor3D___repr__(self)
11508 return _object_cast_to_NearestNeighborD(o)
11510 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
11511 NearestNeighbor3D_swigregister(NearestNeighbor3D)
11514 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
11516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11518 def __init__(self, vs, epsilon=0):
11520 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
11521 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
11523 this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
11525 self.this.append(this)
11526 except __builtin__.Exception:
11529 def set_query_log(self, fname):
11530 """set_query_log(NearestNeighbor4D self, std::string fname)"""
11531 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
11534 def get_nearest_neighbor(self, *args):
11536 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
11537 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
11539 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
11542 def get_nearest_neighbors(self, *args):
11544 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
11545 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
11547 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
11550 def get_in_ball(self, *args):
11552 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
11553 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
11555 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
11558 def get_version_info(self):
11559 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
11560 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
11564 """__str__(NearestNeighbor4D self) -> std::string"""
11565 return _IMP_algebra.NearestNeighbor4D___str__(self)
11568 def __repr__(self):
11569 """__repr__(NearestNeighbor4D self) -> std::string"""
11570 return _IMP_algebra.NearestNeighbor4D___repr__(self)
11575 return _object_cast_to_NearestNeighborD(o)
11577 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
11578 NearestNeighbor4D_swigregister(NearestNeighbor4D)
11581 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
11583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11585 def __init__(self, vs, epsilon=0):
11587 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
11588 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
11590 this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
11592 self.this.append(this)
11593 except __builtin__.Exception:
11596 def set_query_log(self, fname):
11597 """set_query_log(NearestNeighbor5D self, std::string fname)"""
11598 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
11601 def get_nearest_neighbor(self, *args):
11603 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
11604 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
11606 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
11609 def get_nearest_neighbors(self, *args):
11611 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
11612 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
11614 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
11617 def get_in_ball(self, *args):
11619 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
11620 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
11622 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
11625 def get_version_info(self):
11626 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
11627 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11631 """__str__(NearestNeighbor5D self) -> std::string"""
11632 return _IMP_algebra.NearestNeighbor5D___str__(self)
11635 def __repr__(self):
11636 """__repr__(NearestNeighbor5D self) -> std::string"""
11637 return _IMP_algebra.NearestNeighbor5D___repr__(self)
11642 return _object_cast_to_NearestNeighborD(o)
11644 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11645 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11648 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
11650 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11652 def __init__(self, vs, epsilon=0):
11654 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11655 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11657 this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11659 self.this.append(this)
11660 except __builtin__.Exception:
11663 def set_query_log(self, fname):
11664 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11665 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11668 def get_nearest_neighbor(self, *args):
11670 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11671 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11673 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11676 def get_nearest_neighbors(self, *args):
11678 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11679 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11681 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11684 def get_in_ball(self, *args):
11686 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11687 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11689 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11692 def get_version_info(self):
11693 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11694 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11698 """__str__(NearestNeighbor6D self) -> std::string"""
11699 return _IMP_algebra.NearestNeighbor6D___str__(self)
11702 def __repr__(self):
11703 """__repr__(NearestNeighbor6D self) -> std::string"""
11704 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11709 return _object_cast_to_NearestNeighborD(o)
11711 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11712 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11715 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11717 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11719 def __init__(self, vs, epsilon=0):
11721 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11722 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11724 this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11726 self.this.append(this)
11727 except __builtin__.Exception:
11730 def set_query_log(self, fname):
11731 """set_query_log(NearestNeighborKD self, std::string fname)"""
11732 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11735 def get_nearest_neighbor(self, *args):
11737 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11738 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11740 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11743 def get_nearest_neighbors(self, *args):
11745 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11746 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11748 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11751 def get_in_ball(self, *args):
11753 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11754 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11756 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11759 def get_version_info(self):
11760 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11761 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11765 """__str__(NearestNeighborKD self) -> std::string"""
11766 return _IMP_algebra.NearestNeighborKD___str__(self)
11769 def __repr__(self):
11770 """__repr__(NearestNeighborKD self) -> std::string"""
11771 return _IMP_algebra.NearestNeighborKD___repr__(self)
11776 return _object_cast_to_NearestNeighborD(o)
11778 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11779 NearestNeighborKD_swigregister(NearestNeighborKD)
11783 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11784 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11785 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11786 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11788 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11790 def __init__(self, *args):
11792 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11793 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11795 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11797 self.this.append(this)
11798 except __builtin__.Exception:
11802 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11803 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11806 def get_principal_component(self, i):
11807 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11808 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11811 def get_principal_values(self):
11812 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11813 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11816 def get_principal_value(self, i):
11817 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11818 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11822 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11823 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11826 def set_centroid(self, cntr):
11827 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11828 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11831 def show(self, *args):
11833 show(PrincipalComponentAnalysis1D self, _ostream out)
11834 show(PrincipalComponentAnalysis1D self)
11836 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11839 def __cmp__(self, o):
11840 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11841 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11844 def __eq__(self, o):
11845 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11846 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11849 def __ne__(self, o):
11850 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11851 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11854 def __lt__(self, o):
11855 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11856 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11859 def __gt__(self, o):
11860 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11861 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11864 def __ge__(self, o):
11865 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11866 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11869 def __le__(self, o):
11870 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11871 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11875 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11876 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11879 def __repr__(self):
11880 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11881 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11883 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11884 __del__ =
lambda self:
None
11885 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11886 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11888 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11889 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11891 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11893 def __init__(self, *args):
11895 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11896 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11898 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11900 self.this.append(this)
11901 except __builtin__.Exception:
11905 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11906 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11909 def get_principal_component(self, i):
11910 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11911 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11914 def get_principal_values(self):
11915 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11916 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11919 def get_principal_value(self, i):
11920 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11921 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11925 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11926 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11929 def set_centroid(self, cntr):
11930 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11931 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11934 def show(self, *args):
11936 show(PrincipalComponentAnalysis2D self, _ostream out)
11937 show(PrincipalComponentAnalysis2D self)
11939 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11942 def __cmp__(self, o):
11943 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11944 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11947 def __eq__(self, o):
11948 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11949 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11952 def __ne__(self, o):
11953 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11954 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11957 def __lt__(self, o):
11958 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11959 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11962 def __gt__(self, o):
11963 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11964 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11967 def __ge__(self, o):
11968 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11969 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11972 def __le__(self, o):
11973 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11974 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11978 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11979 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11982 def __repr__(self):
11983 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11984 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11986 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11987 __del__ =
lambda self:
None
11988 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11989 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11991 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11992 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11994 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11996 def __init__(self, *args):
11998 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11999 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
12001 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
12003 self.this.append(this)
12004 except __builtin__.Exception:
12008 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
12009 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
12012 def get_principal_component(self, i):
12013 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
12014 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
12017 def get_principal_values(self):
12018 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
12019 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
12022 def get_principal_value(self, i):
12023 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
12024 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
12028 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
12029 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
12032 def set_centroid(self, cntr):
12033 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
12034 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
12037 def show(self, *args):
12039 show(PrincipalComponentAnalysis3D self, _ostream out)
12040 show(PrincipalComponentAnalysis3D self)
12042 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
12045 def __cmp__(self, o):
12046 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
12047 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
12050 def __eq__(self, o):
12051 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12052 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
12055 def __ne__(self, o):
12056 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12057 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
12060 def __lt__(self, o):
12061 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12062 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
12065 def __gt__(self, o):
12066 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12067 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
12070 def __ge__(self, o):
12071 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12072 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
12075 def __le__(self, o):
12076 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12077 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
12081 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
12082 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
12085 def __repr__(self):
12086 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
12087 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
12089 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
12090 __del__ =
lambda self:
None
12091 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
12092 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
12094 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
12095 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
12097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12099 def __init__(self, *args):
12101 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
12102 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
12104 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
12106 self.this.append(this)
12107 except __builtin__.Exception:
12111 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
12112 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
12115 def get_principal_component(self, i):
12116 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
12117 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
12120 def get_principal_values(self):
12121 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
12122 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
12125 def get_principal_value(self, i):
12126 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
12127 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
12131 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
12132 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
12135 def set_centroid(self, cntr):
12136 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
12137 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
12140 def show(self, *args):
12142 show(PrincipalComponentAnalysis4D self, _ostream out)
12143 show(PrincipalComponentAnalysis4D self)
12145 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
12148 def __cmp__(self, o):
12149 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
12150 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
12153 def __eq__(self, o):
12154 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12155 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
12158 def __ne__(self, o):
12159 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12160 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
12163 def __lt__(self, o):
12164 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12165 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
12168 def __gt__(self, o):
12169 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12170 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
12173 def __ge__(self, o):
12174 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12175 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
12178 def __le__(self, o):
12179 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12180 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
12184 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
12185 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
12188 def __repr__(self):
12189 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
12190 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
12192 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
12193 __del__ =
lambda self:
None
12194 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
12195 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
12197 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
12198 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
12200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12202 def __init__(self, *args):
12204 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
12205 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
12207 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
12209 self.this.append(this)
12210 except __builtin__.Exception:
12214 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
12215 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
12218 def get_principal_component(self, i):
12219 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
12220 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
12223 def get_principal_values(self):
12224 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
12225 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
12228 def get_principal_value(self, i):
12229 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
12230 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
12234 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
12235 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
12238 def set_centroid(self, cntr):
12239 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
12240 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
12243 def show(self, *args):
12245 show(PrincipalComponentAnalysis5D self, _ostream out)
12246 show(PrincipalComponentAnalysis5D self)
12248 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
12251 def __cmp__(self, o):
12252 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
12253 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
12256 def __eq__(self, o):
12257 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12258 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
12261 def __ne__(self, o):
12262 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12263 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
12266 def __lt__(self, o):
12267 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12268 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
12271 def __gt__(self, o):
12272 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12273 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
12276 def __ge__(self, o):
12277 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12278 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
12281 def __le__(self, o):
12282 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12283 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
12287 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
12288 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
12291 def __repr__(self):
12292 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
12293 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
12295 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
12296 __del__ =
lambda self:
None
12297 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
12298 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
12300 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
12301 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
12303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12305 def __init__(self, *args):
12307 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
12308 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
12310 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
12312 self.this.append(this)
12313 except __builtin__.Exception:
12317 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
12318 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
12321 def get_principal_component(self, i):
12322 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
12323 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
12326 def get_principal_values(self):
12327 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
12328 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
12331 def get_principal_value(self, i):
12332 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
12333 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
12337 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
12338 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
12341 def set_centroid(self, cntr):
12342 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
12343 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
12346 def show(self, *args):
12348 show(PrincipalComponentAnalysis6D self, _ostream out)
12349 show(PrincipalComponentAnalysis6D self)
12351 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
12354 def __cmp__(self, o):
12355 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
12356 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
12359 def __eq__(self, o):
12360 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12361 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
12364 def __ne__(self, o):
12365 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12366 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
12369 def __lt__(self, o):
12370 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12371 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
12374 def __gt__(self, o):
12375 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12376 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
12379 def __ge__(self, o):
12380 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12381 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
12384 def __le__(self, o):
12385 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12386 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
12390 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
12391 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
12394 def __repr__(self):
12395 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
12396 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
12398 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
12399 __del__ =
lambda self:
None
12400 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
12401 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
12403 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
12404 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
12406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12408 def __init__(self, *args):
12410 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
12411 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
12413 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
12415 self.this.append(this)
12416 except __builtin__.Exception:
12420 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
12421 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
12424 def get_principal_component(self, i):
12425 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
12426 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
12429 def get_principal_values(self):
12430 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
12431 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
12434 def get_principal_value(self, i):
12435 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
12436 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
12440 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
12441 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
12444 def set_centroid(self, cntr):
12445 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
12446 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
12449 def show(self, *args):
12451 show(PrincipalComponentAnalysisKD self, _ostream out)
12452 show(PrincipalComponentAnalysisKD self)
12454 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
12457 def __cmp__(self, o):
12458 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
12459 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
12462 def __eq__(self, o):
12463 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12464 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
12467 def __ne__(self, o):
12468 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12469 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
12472 def __lt__(self, o):
12473 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12474 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
12477 def __gt__(self, o):
12478 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12479 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
12482 def __ge__(self, o):
12483 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12484 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
12487 def __le__(self, o):
12488 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12489 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
12493 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
12494 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
12497 def __repr__(self):
12498 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
12499 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
12501 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
12502 __del__ =
lambda self:
None
12503 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
12504 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
12509 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
12510 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
12511 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
12512 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
12513 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
12514 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
12515 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
12517 return _IMP_algebra.get_principal_components(*args)
12521 get_distance(Rotation3D r0, Rotation3D r1) -> double
12522 get_distance(Line3D s, Vector3D p) -> double
12523 get_distance(Line3D a, Line3D b) -> double
12524 get_distance(Segment3D s, Vector3D p) -> double
12525 get_distance(Segment3D a, Segment3D b) -> double
12526 get_distance(Plane3D pln, Vector3D p) -> double
12527 get_distance(Vector1D a, Vector1D b) -> double
12528 get_distance(Vector2D a, Vector2D b) -> double
12529 get_distance(Vector3D a, Vector3D b) -> double
12530 get_distance(Vector4D a, Vector4D b) -> double
12531 get_distance(Vector5D a, Vector5D b) -> double
12532 get_distance(Vector6D a, Vector6D b) -> double
12533 get_distance(VectorKD a, VectorKD b) -> double
12534 get_distance(Sphere1D a, Sphere1D b) -> double
12535 get_distance(Sphere2D a, Sphere2D b) -> double
12536 get_distance(Sphere3D a, Sphere3D b) -> double
12537 get_distance(Sphere4D a, Sphere4D b) -> double
12538 get_distance(Sphere5D a, Sphere5D b) -> double
12539 get_distance(Sphere6D a, Sphere6D b) -> double
12540 get_distance(SphereKD a, SphereKD b) -> double
12542 return _IMP_algebra.get_distance(*args)
12546 get_squared_distance(Vector1D a, Vector1D b) -> double
12547 get_squared_distance(Vector2D a, Vector2D b) -> double
12548 get_squared_distance(Vector3D a, Vector3D b) -> double
12549 get_squared_distance(Vector4D a, Vector4D b) -> double
12550 get_squared_distance(Vector5D a, Vector5D b) -> double
12551 get_squared_distance(Vector6D a, Vector6D b) -> double
12552 get_squared_distance(VectorKD a, VectorKD b) -> double
12554 return _IMP_algebra.get_squared_distance(*args)
12556 def get_basis_vector_1d(coordinate):
12557 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
12558 return _IMP_algebra.get_basis_vector_1d(coordinate)
12560 def get_basis_vector_2d(coordinate):
12561 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
12562 return _IMP_algebra.get_basis_vector_2d(coordinate)
12564 def get_basis_vector_3d(coordinate):
12565 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
12566 return _IMP_algebra.get_basis_vector_3d(coordinate)
12568 def get_basis_vector_4d(coordinate):
12569 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
12570 return _IMP_algebra.get_basis_vector_4d(coordinate)
12572 def get_basis_vector_5d(coordinate):
12573 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
12574 return _IMP_algebra.get_basis_vector_5d(coordinate)
12576 def get_basis_vector_6d(coordinate):
12577 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
12578 return _IMP_algebra.get_basis_vector_6d(coordinate)
12580 def get_zero_vector_1d():
12581 """get_zero_vector_1d() -> Vector1D"""
12582 return _IMP_algebra.get_zero_vector_1d()
12584 def get_zero_vector_2d():
12585 """get_zero_vector_2d() -> Vector2D"""
12586 return _IMP_algebra.get_zero_vector_2d()
12588 def get_zero_vector_3d():
12589 """get_zero_vector_3d() -> Vector3D"""
12590 return _IMP_algebra.get_zero_vector_3d()
12592 def get_zero_vector_4d():
12593 """get_zero_vector_4d() -> Vector4D"""
12594 return _IMP_algebra.get_zero_vector_4d()
12596 def get_zero_vector_5d():
12597 """get_zero_vector_5d() -> Vector5D"""
12598 return _IMP_algebra.get_zero_vector_5d()
12600 def get_zero_vector_6d():
12601 """get_zero_vector_6d() -> Vector6D"""
12602 return _IMP_algebra.get_zero_vector_6d()
12604 def get_ones_vector_1d(v=1):
12606 get_ones_vector_1d(double v=1) -> Vector1D
12607 get_ones_vector_1d() -> Vector1D
12609 return _IMP_algebra.get_ones_vector_1d(v)
12611 def get_ones_vector_2d(v=1):
12613 get_ones_vector_2d(double v=1) -> Vector2D
12614 get_ones_vector_2d() -> Vector2D
12616 return _IMP_algebra.get_ones_vector_2d(v)
12618 def get_ones_vector_3d(v=1):
12620 get_ones_vector_3d(double v=1) -> Vector3D
12621 get_ones_vector_3d() -> Vector3D
12623 return _IMP_algebra.get_ones_vector_3d(v)
12625 def get_ones_vector_4d(v=1):
12627 get_ones_vector_4d(double v=1) -> Vector4D
12628 get_ones_vector_4d() -> Vector4D
12630 return _IMP_algebra.get_ones_vector_4d(v)
12632 def get_ones_vector_5d(v=1):
12634 get_ones_vector_5d(double v=1) -> Vector5D
12635 get_ones_vector_5d() -> Vector5D
12637 return _IMP_algebra.get_ones_vector_5d(v)
12639 def get_ones_vector_6d(v=1):
12641 get_ones_vector_6d(double v=1) -> Vector6D
12642 get_ones_vector_6d() -> Vector6D
12644 return _IMP_algebra.get_ones_vector_6d(v)
12646 def get_unit_bounding_box_1d():
12647 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12648 return _IMP_algebra.get_unit_bounding_box_1d()
12650 def get_unit_bounding_box_2d():
12651 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12652 return _IMP_algebra.get_unit_bounding_box_2d()
12654 def get_unit_bounding_box_3d():
12655 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12656 return _IMP_algebra.get_unit_bounding_box_3d()
12658 def get_unit_bounding_box_4d():
12659 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12660 return _IMP_algebra.get_unit_bounding_box_4d()
12662 def get_unit_bounding_box_5d():
12663 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12664 return _IMP_algebra.get_unit_bounding_box_5d()
12666 def get_unit_bounding_box_6d():
12667 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12668 return _IMP_algebra.get_unit_bounding_box_6d()
12670 def get_cube_1d(radius):
12671 """get_cube_1d(double radius) -> BoundingBox1D"""
12672 return _IMP_algebra.get_cube_1d(radius)
12674 def get_cube_2d(radius):
12675 """get_cube_2d(double radius) -> BoundingBox2D"""
12676 return _IMP_algebra.get_cube_2d(radius)
12678 def get_cube_3d(radius):
12679 """get_cube_3d(double radius) -> BoundingBox3D"""
12680 return _IMP_algebra.get_cube_3d(radius)
12682 def get_cube_4d(radius):
12683 """get_cube_4d(double radius) -> BoundingBox4D"""
12684 return _IMP_algebra.get_cube_4d(radius)
12686 def get_cube_5d(radius):
12687 """get_cube_5d(double radius) -> BoundingBox5D"""
12688 return _IMP_algebra.get_cube_5d(radius)
12690 def get_cube_6d(radius):
12691 """get_cube_6d(double radius) -> BoundingBox6D"""
12692 return _IMP_algebra.get_cube_6d(radius)
12694 def get_unit_sphere_1d():
12695 """get_unit_sphere_1d() -> Sphere1D"""
12696 return _IMP_algebra.get_unit_sphere_1d()
12698 def get_unit_sphere_2d():
12699 """get_unit_sphere_2d() -> Sphere2D"""
12700 return _IMP_algebra.get_unit_sphere_2d()
12702 def get_unit_sphere_3d():
12703 """get_unit_sphere_3d() -> Sphere3D"""
12704 return _IMP_algebra.get_unit_sphere_3d()
12706 def get_unit_sphere_4d():
12707 """get_unit_sphere_4d() -> Sphere4D"""
12708 return _IMP_algebra.get_unit_sphere_4d()
12710 def get_unit_sphere_5d():
12711 """get_unit_sphere_5d() -> Sphere5D"""
12712 return _IMP_algebra.get_unit_sphere_5d()
12714 def get_unit_sphere_6d():
12715 """get_unit_sphere_6d() -> Sphere6D"""
12716 return _IMP_algebra.get_unit_sphere_6d()
12720 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12721 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12722 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12723 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12724 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12725 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12726 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12727 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12728 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12729 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12730 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12731 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12732 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12733 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12735 return _IMP_algebra.get_interiors_intersect(*args)
12739 get_random_vector_on(Sphere1D a) -> Vector1D
12740 get_random_vector_on(Sphere2D a) -> Vector2D
12741 get_random_vector_on(Sphere3D a) -> Vector3D
12742 get_random_vector_on(Sphere4D a) -> Vector4D
12743 get_random_vector_on(Sphere5D a) -> Vector5D
12744 get_random_vector_on(Sphere6D a) -> Vector6D
12745 get_random_vector_on(SphereKD a) -> VectorKD
12746 get_random_vector_on(UnitSimplex1D a) -> Vector1D
12747 get_random_vector_on(UnitSimplex2D a) -> Vector2D
12748 get_random_vector_on(UnitSimplex3D a) -> Vector3D
12749 get_random_vector_on(UnitSimplex4D a) -> Vector4D
12750 get_random_vector_on(UnitSimplex5D a) -> Vector5D
12751 get_random_vector_on(UnitSimplex6D a) -> Vector6D
12752 get_random_vector_on(UnitSimplexKD a) -> VectorKD
12753 get_random_vector_on(BoundingBox1D a) -> Vector1D
12754 get_random_vector_on(BoundingBox2D a) -> Vector2D
12755 get_random_vector_on(BoundingBox3D a) -> Vector3D
12756 get_random_vector_on(BoundingBox4D a) -> Vector4D
12757 get_random_vector_on(BoundingBox5D a) -> Vector5D
12758 get_random_vector_on(BoundingBox6D a) -> Vector6D
12759 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12761 return _IMP_algebra.get_random_vector_on(*args)
12765 get_random_vector_in(Cylinder3D c) -> Vector3D
12766 get_random_vector_in(Sphere1D a) -> Vector1D
12767 get_random_vector_in(Sphere2D a) -> Vector2D
12768 get_random_vector_in(Sphere3D a) -> Vector3D
12769 get_random_vector_in(Sphere4D a) -> Vector4D
12770 get_random_vector_in(Sphere5D a) -> Vector5D
12771 get_random_vector_in(Sphere6D a) -> Vector6D
12772 get_random_vector_in(SphereKD a) -> VectorKD
12773 get_random_vector_in(BoundingBox1D a) -> Vector1D
12774 get_random_vector_in(BoundingBox2D a) -> Vector2D
12775 get_random_vector_in(BoundingBox3D a) -> Vector3D
12776 get_random_vector_in(BoundingBox4D a) -> Vector4D
12777 get_random_vector_in(BoundingBox5D a) -> Vector5D
12778 get_random_vector_in(BoundingBox6D a) -> Vector6D
12779 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12781 return _IMP_algebra.get_random_vector_in(*args)
12785 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12786 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12787 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12788 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12789 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12790 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12791 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12793 return _IMP_algebra.get_intersection(*args)
12797 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12798 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12799 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12800 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12801 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12802 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12803 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12805 return _IMP_algebra.get_union(*args)
12807 def get_bounding_box(*args):
12809 get_bounding_box(Line3D g) -> BoundingBox3D
12810 get_bounding_box(Segment3D g) -> BoundingBox3D
12811 get_bounding_box(Plane3D g) -> BoundingBox3D
12812 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12813 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12814 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12815 get_bounding_box(Cone3D g) -> BoundingBox3D
12816 get_bounding_box(Sphere1D a) -> BoundingBox1D
12817 get_bounding_box(Sphere2D a) -> BoundingBox2D
12818 get_bounding_box(Sphere3D a) -> BoundingBox3D
12819 get_bounding_box(Sphere4D a) -> BoundingBox4D
12820 get_bounding_box(Sphere5D a) -> BoundingBox5D
12821 get_bounding_box(Sphere6D a) -> BoundingBox6D
12822 get_bounding_box(SphereKD a) -> BoundingBoxKD
12824 return _IMP_algebra.get_bounding_box(*args)
12828 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12829 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12830 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12831 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12832 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12833 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12834 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12835 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12836 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12837 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12838 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12840 return _IMP_algebra.get_uniform_surface_cover(*args)
12844 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12845 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12846 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12847 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12848 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12849 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12850 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12852 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12856 get_projected(Line3D l, Vector3D p) -> Vector3D
12857 get_projected(Line3D l, Segment3D s) -> Segment3D
12858 get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
12859 get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
12860 get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
12861 get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
12862 get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
12863 get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
12864 get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
12866 return _IMP_algebra.get_projected(*args)
12870 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12871 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12872 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12873 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12874 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12875 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12876 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12877 get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12878 get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12879 get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12880 get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12881 get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12882 get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12883 get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12885 return _IMP_algebra.get_vertices(*args)
12889 get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
12890 get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
12891 get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
12892 get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
12893 get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
12894 get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
12895 get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
12897 return _IMP_algebra.get_increasing_from_embedded(*args)
12901 get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
12902 get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
12903 get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
12904 get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
12905 get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
12906 get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
12907 get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
12909 return _IMP_algebra.get_embedded_from_increasing(*args)
12910 class _AxisAnglePair(object):
12911 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12914 __repr__ = _swig_repr
12916 def __init__(self, *args):
12918 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12919 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12920 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12922 this = _IMP_algebra.new__AxisAnglePair(*args)
12924 self.this.append(this)
12925 except __builtin__.Exception:
12927 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12928 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12931 def __repr__(self):
12932 return str((self.first, self.second))
12933 def __getitem__(self, index):
12934 if not (index % 2):
12938 def __setitem__(self, index, val):
12939 if not (index % 2):
12943 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12944 __del__ =
lambda self:
None
12945 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12946 _AxisAnglePair_swigregister(_AxisAnglePair)
12950 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12951 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12952 class _RotatedVector3DAdjoint(object):
12953 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class."""
12955 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12956 __repr__ = _swig_repr
12958 def __init__(self, *args):
12960 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
12961 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
12962 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
12964 this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
12966 self.this.append(this)
12967 except __builtin__.Exception:
12969 first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
12970 second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
12973 def __repr__(self):
12974 return str((self.first, self.second))
12975 def __getitem__(self, index):
12976 if not (index % 2):
12980 def __setitem__(self, index, val):
12981 if not (index % 2):
12985 __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
12986 __del__ =
lambda self:
None
12987 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
12988 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
12990 class _ComposeRotation3DAdjoint(object):
12991 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class."""
12993 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12994 __repr__ = _swig_repr
12996 def __init__(self, *args):
12998 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
12999 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
13000 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
13002 this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
13004 self.this.append(this)
13005 except __builtin__.Exception:
13007 first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
13008 second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
13011 def __repr__(self):
13012 return str((self.first, self.second))
13013 def __getitem__(self, index):
13014 if not (index % 2):
13018 def __setitem__(self, index, val):
13019 if not (index % 2):
13023 __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
13024 __del__ =
lambda self:
None
13025 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
13026 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
13028 class _Transformation3DAdjoint(object):
13029 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class."""
13031 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13032 __repr__ = _swig_repr
13034 def __init__(self, *args):
13036 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
13037 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
13038 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
13040 this = _IMP_algebra.new__Transformation3DAdjoint(*args)
13042 self.this.append(this)
13043 except __builtin__.Exception:
13045 first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
13046 second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
13049 def __repr__(self):
13050 return str((self.first, self.second))
13051 def __getitem__(self, index):
13052 if not (index % 2):
13056 def __setitem__(self, index, val):
13057 if not (index % 2):
13061 __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
13062 __del__ =
lambda self:
None
13063 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
13064 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
13066 class _TransformedVector3DAdjoint(object):
13067 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class."""
13069 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13070 __repr__ = _swig_repr
13072 def __init__(self, *args):
13074 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
13075 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
13076 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
13078 this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
13080 self.this.append(this)
13081 except __builtin__.Exception:
13083 first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
13084 second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
13087 def __repr__(self):
13088 return str((self.first, self.second))
13089 def __getitem__(self, index):
13090 if not (index % 2):
13094 def __setitem__(self, index, val):
13095 if not (index % 2):
13099 __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
13100 __del__ =
lambda self:
None
13101 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
13102 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
13104 class _ComposeTransformation3DAdjoint(object):
13105 """Proxy of C++ std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class."""
13107 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13108 __repr__ = _swig_repr
13110 def __init__(self, *args):
13112 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _ComposeTransformation3DAdjoint
13113 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _Transformation3DAdjoint first, _Transformation3DAdjoint second) -> _ComposeTransformation3DAdjoint
13114 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _ComposeTransformation3DAdjoint p) -> _ComposeTransformation3DAdjoint
13116 this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
13118 self.this.append(this)
13119 except __builtin__.Exception:
13121 first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
13122 second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
13125 def __repr__(self):
13126 return str((self.first, self.second))
13127 def __getitem__(self, index):
13128 if not (index % 2):
13132 def __setitem__(self, index, val):
13133 if not (index % 2):
13137 __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
13138 __del__ =
lambda self:
None
13139 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
13140 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
13144 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13145 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
13148 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13149 return _IMP_algebra.get_rmsd(v0, v1)
13151 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
13152 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13153 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
13156 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13157 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
13159 LinearFit=LinearFit2D
13160 ParabolicFit=ParabolicFit2D
13163 def get_module_version():
13164 """get_module_version() -> std::string const"""
13165 return _IMP_algebra.get_module_version()
13168 """get_example_path(std::string fname) -> std::string"""
13169 return _IMP_algebra.get_example_path(fname)
13172 """get_data_path(std::string fname) -> std::string"""
13173 return _IMP_algebra.get_data_path(fname)
13175 from .
import _version_check
13176 _version_check.check_version(get_module_version())
13177 __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.
void compose_adjoint(const Rotation3D &A, const Rotation3D &B, Vector4D DC, Rotation3DAdjoint *DA, Rotation3DAdjoint *DB)
Get adjoint of inputs to compose from adjoint of output.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
SphereD< 2 > Sphere2D
Typedef for Python.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Eigen::MatrixXd get_jacobian_of_composed_wrt_first(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get gradient of quaternion product with respect to first quaternion.
VectorD< D > get_basis_vector_kd(int Di, unsigned int coordinate)
Return the basis vector for the given coordinate.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
VectorD< D > get_increasing_from_embedded(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from embedded to increasing coordinates.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
VectorD< D > get_embedded_from_increasing(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from increasing to embedded coordinates.
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Version and module information for Objects.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
Eigen::MatrixXd get_jacobian_of_composed_wrt_second(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get Jacobian of quaternion product with respect to second quaternion.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3D spheres to a file.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
Get a set of balls that approximates the surface of the passed set.
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
SphereD<-1 > SphereKD
Typedef for Python.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
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.