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_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_algebra._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_algebra._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
295 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
296 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
297 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
298 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
299 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
300 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
301 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
302 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
306 return v.get_coordinates()
311 return v.get_sphere()
316 _object_types.append(
"VectorKDMetric")
319 def _object_cast_to_VectorKDMetric(o):
320 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
321 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
323 _object_types.append(
"EuclideanVectorKDMetric")
326 def _object_cast_to_EuclideanVectorKDMetric(o):
327 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
328 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
330 _object_types.append(
"MaxVectorKDMetric")
333 def _object_cast_to_MaxVectorKDMetric(o):
334 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
335 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
337 _object_types.append(
"DynamicNearestNeighbor3D")
340 def _object_cast_to_DynamicNearestNeighbor3D(o):
341 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
342 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
345 _plural_types.append(
"Rotation2Ds")
346 _value_types.append(
"Rotation2D")
350 _plural_types.append(
"Rotation3Ds")
351 _value_types.append(
"Rotation3D")
355 _plural_types.append(
"Reflection3Ds")
356 _value_types.append(
"Reflection3D")
359 Transformation2Ds=list
360 _plural_types.append(
"Transformation2Ds")
361 _value_types.append(
"Transformation2D")
364 Transformation3Ds=list
365 _plural_types.append(
"Transformation3Ds")
366 _value_types.append(
"Transformation3D")
369 SphericalVector3Ds=list
370 _plural_types.append(
"SphericalVector3Ds")
371 _value_types.append(
"SphericalVector3D")
375 _plural_types.append(
"Triangle3Ds")
376 _value_types.append(
"Triangle3D")
380 _plural_types.append(
"Cone3Ds")
381 _value_types.append(
"Cone3D")
385 _plural_types.append(
"Cylinder3Ds")
386 _value_types.append(
"Cylinder3D")
390 _plural_types.append(
"Ellipsoid3Ds")
391 _value_types.append(
"Ellipsoid3D")
395 _plural_types.append(
"Line3Ds")
396 _value_types.append(
"Line3D")
400 _plural_types.append(
"Plane3Ds")
401 _value_types.append(
"Plane3D")
405 _plural_types.append(
"Segment3Ds")
406 _value_types.append(
"Segment3D")
410 _plural_types.append(
"SpherePatch3Ds")
411 _value_types.append(
"SpherePatch3D")
414 ConnollySurfacePoints=list
415 _plural_types.append(
"ConnollySurfacePoints")
416 _value_types.append(
"ConnollySurfacePoint")
420 _plural_types.append(
"Sphere1Ds")
421 _value_types.append(
"Sphere1D")
425 _plural_types.append(
"Sphere2Ds")
426 _value_types.append(
"Sphere2D")
430 _plural_types.append(
"Sphere3Ds")
431 _value_types.append(
"Sphere3D")
435 _plural_types.append(
"Sphere4Ds")
436 _value_types.append(
"Sphere4D")
440 _plural_types.append(
"Sphere5Ds")
441 _value_types.append(
"Sphere5D")
445 _plural_types.append(
"Sphere6Ds")
446 _value_types.append(
"Sphere6D")
450 _plural_types.append(
"Sphere1Ds")
451 _value_types.append(
"SphereD<1>")
455 _plural_types.append(
"Sphere2Ds")
456 _value_types.append(
"SphereD<2>")
460 _plural_types.append(
"Sphere3Ds")
461 _value_types.append(
"SphereD<3>")
465 _plural_types.append(
"Sphere4Ds")
466 _value_types.append(
"SphereD<4>")
470 _plural_types.append(
"Sphere5Ds")
471 _value_types.append(
"SphereD<5>")
475 _plural_types.append(
"Sphere6Ds")
476 _value_types.append(
"SphereD<6>")
480 _plural_types.append(
"SphereKDs")
481 _value_types.append(
"SphereKD")
485 _plural_types.append(
"SphereKDs")
486 _value_types.append(
"SphereD<-1>")
490 _plural_types.append(
"BoundingBox1Ds")
491 _value_types.append(
"BoundingBox1D")
495 _plural_types.append(
"BoundingBox2Ds")
496 _value_types.append(
"BoundingBox2D")
500 _plural_types.append(
"BoundingBox3Ds")
501 _value_types.append(
"BoundingBox3D")
505 _plural_types.append(
"BoundingBox4Ds")
506 _value_types.append(
"BoundingBox4D")
510 _plural_types.append(
"BoundingBox5Ds")
511 _value_types.append(
"BoundingBox5D")
515 _plural_types.append(
"BoundingBox6Ds")
516 _value_types.append(
"BoundingBox6D")
520 _plural_types.append(
"BoundingBox1Ds")
521 _value_types.append(
"BoundingBoxD<1>")
525 _plural_types.append(
"BoundingBox2Ds")
526 _value_types.append(
"BoundingBoxD<2>")
530 _plural_types.append(
"BoundingBox3Ds")
531 _value_types.append(
"BoundingBoxD<3>")
535 _plural_types.append(
"BoundingBox4Ds")
536 _value_types.append(
"BoundingBoxD<4>")
540 _plural_types.append(
"BoundingBox5Ds")
541 _value_types.append(
"BoundingBoxD<5>")
545 _plural_types.append(
"BoundingBox6Ds")
546 _value_types.append(
"BoundingBoxD<6>")
550 _plural_types.append(
"BoundingBoxKDs")
551 _value_types.append(
"BoundingBoxKD")
555 _plural_types.append(
"BoundingBoxKDs")
556 _value_types.append(
"BoundingBoxD<-1>")
559 PrincipalComponentAnalysis1Ds=list
560 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
561 _value_types.append(
"PrincipalComponentAnalysis1D")
564 PrincipalComponentAnalysis2Ds=list
565 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
566 _value_types.append(
"PrincipalComponentAnalysis2D")
569 PrincipalComponentAnalysis3Ds=list
570 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
571 _value_types.append(
"PrincipalComponentAnalysis3D")
574 PrincipalComponentAnalysis4Ds=list
575 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
576 _value_types.append(
"PrincipalComponentAnalysis4D")
579 PrincipalComponentAnalysis5Ds=list
580 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
581 _value_types.append(
"PrincipalComponentAnalysis5D")
584 PrincipalComponentAnalysis6Ds=list
585 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
586 _value_types.append(
"PrincipalComponentAnalysis6D")
589 PrincipalComponentAnalysis1Ds=list
590 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
591 _value_types.append(
"PrincipalComponentAnalysisD<1>")
594 PrincipalComponentAnalysis2Ds=list
595 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
596 _value_types.append(
"PrincipalComponentAnalysisD<2>")
599 PrincipalComponentAnalysis3Ds=list
600 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
601 _value_types.append(
"PrincipalComponentAnalysisD<3>")
604 PrincipalComponentAnalysis4Ds=list
605 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
606 _value_types.append(
"PrincipalComponentAnalysisD<4>")
609 PrincipalComponentAnalysis5Ds=list
610 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
611 _value_types.append(
"PrincipalComponentAnalysisD<5>")
614 PrincipalComponentAnalysis6Ds=list
615 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
616 _value_types.append(
"PrincipalComponentAnalysisD<6>")
619 PrincipalComponentAnalysisKDs=list
620 _plural_types.append(
"PrincipalComponentAnalysisKDs")
621 _value_types.append(
"PrincipalComponentAnalysisKD")
624 PrincipalComponentAnalysisKDs=list
625 _plural_types.append(
"PrincipalComponentAnalysisKDs")
626 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
629 _object_types.append(
"NearestNeighbor1D")
632 def _object_cast_to_NearestNeighbor1D(o):
633 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
634 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
636 _object_types.append(
"NearestNeighbor2D")
639 def _object_cast_to_NearestNeighbor2D(o):
640 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
641 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
643 _object_types.append(
"NearestNeighbor3D")
646 def _object_cast_to_NearestNeighbor3D(o):
647 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
648 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
650 _object_types.append(
"NearestNeighbor4D")
653 def _object_cast_to_NearestNeighbor4D(o):
654 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
655 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
657 _object_types.append(
"NearestNeighbor5D")
660 def _object_cast_to_NearestNeighbor5D(o):
661 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
662 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
664 _object_types.append(
"NearestNeighbor6D")
667 def _object_cast_to_NearestNeighbor6D(o):
668 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
669 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
671 _object_types.append(
"NearestNeighborKD")
674 def _object_cast_to_NearestNeighborKD(o):
675 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
676 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
678 ReferenceFrame3Ds=list
679 _plural_types.append(
"ReferenceFrame3Ds")
680 _value_types.append(
"ReferenceFrame3D")
684 _plural_types.append(
"Gaussian3Ds")
685 _value_types.append(
"Gaussian3D")
688 DefaultEmbedding1Ds=list
689 _plural_types.append(
"DefaultEmbedding1Ds")
690 _value_types.append(
"DefaultEmbedding1D")
693 DefaultEmbedding2Ds=list
694 _plural_types.append(
"DefaultEmbedding2Ds")
695 _value_types.append(
"DefaultEmbedding2D")
698 DefaultEmbedding3Ds=list
699 _plural_types.append(
"DefaultEmbedding3Ds")
700 _value_types.append(
"DefaultEmbedding3D")
703 DefaultEmbedding4Ds=list
704 _plural_types.append(
"DefaultEmbedding4Ds")
705 _value_types.append(
"DefaultEmbedding4D")
708 DefaultEmbedding5Ds=list
709 _plural_types.append(
"DefaultEmbedding5Ds")
710 _value_types.append(
"DefaultEmbedding5D")
713 DefaultEmbedding6Ds=list
714 _plural_types.append(
"DefaultEmbedding6Ds")
715 _value_types.append(
"DefaultEmbedding6D")
718 DefaultEmbedding1Ds=list
719 _plural_types.append(
"DefaultEmbedding1Ds")
720 _value_types.append(
"DefaultEmbeddingD<1>")
723 DefaultEmbedding2Ds=list
724 _plural_types.append(
"DefaultEmbedding2Ds")
725 _value_types.append(
"DefaultEmbeddingD<2>")
728 DefaultEmbedding3Ds=list
729 _plural_types.append(
"DefaultEmbedding3Ds")
730 _value_types.append(
"DefaultEmbeddingD<3>")
733 DefaultEmbedding4Ds=list
734 _plural_types.append(
"DefaultEmbedding4Ds")
735 _value_types.append(
"DefaultEmbeddingD<4>")
738 DefaultEmbedding5Ds=list
739 _plural_types.append(
"DefaultEmbedding5Ds")
740 _value_types.append(
"DefaultEmbeddingD<5>")
743 DefaultEmbedding6Ds=list
744 _plural_types.append(
"DefaultEmbedding6Ds")
745 _value_types.append(
"DefaultEmbeddingD<6>")
748 DefaultEmbeddingKDs=list
749 _plural_types.append(
"DefaultEmbeddingKDs")
750 _value_types.append(
"DefaultEmbeddingKD")
753 DefaultEmbeddingKDs=list
754 _plural_types.append(
"DefaultEmbeddingKDs")
755 _value_types.append(
"DefaultEmbeddingD<-1>")
759 _plural_types.append(
"LogEmbedding1Ds")
760 _value_types.append(
"LogEmbedding1D")
764 _plural_types.append(
"LogEmbedding2Ds")
765 _value_types.append(
"LogEmbedding2D")
769 _plural_types.append(
"LogEmbedding3Ds")
770 _value_types.append(
"LogEmbedding3D")
774 _plural_types.append(
"LogEmbedding4Ds")
775 _value_types.append(
"LogEmbedding4D")
779 _plural_types.append(
"LogEmbedding5Ds")
780 _value_types.append(
"LogEmbedding5D")
784 _plural_types.append(
"LogEmbedding6Ds")
785 _value_types.append(
"LogEmbedding6D")
789 _plural_types.append(
"LogEmbedding1Ds")
790 _value_types.append(
"LogEmbeddingD<1>")
794 _plural_types.append(
"LogEmbedding2Ds")
795 _value_types.append(
"LogEmbeddingD<2>")
799 _plural_types.append(
"LogEmbedding3Ds")
800 _value_types.append(
"LogEmbeddingD<3>")
804 _plural_types.append(
"LogEmbedding4Ds")
805 _value_types.append(
"LogEmbeddingD<4>")
809 _plural_types.append(
"LogEmbedding5Ds")
810 _value_types.append(
"LogEmbeddingD<5>")
814 _plural_types.append(
"LogEmbedding6Ds")
815 _value_types.append(
"LogEmbeddingD<6>")
819 _plural_types.append(
"LogEmbeddingKDs")
820 _value_types.append(
"LogEmbeddingKD")
824 _plural_types.append(
"LogEmbeddingKDs")
825 _value_types.append(
"LogEmbeddingD<-1>")
829 _plural_types.append(
"GridIndex1Ds")
830 _value_types.append(
"GridIndex1D")
834 _plural_types.append(
"GridIndex2Ds")
835 _value_types.append(
"GridIndex2D")
839 _plural_types.append(
"GridIndex3Ds")
840 _value_types.append(
"GridIndex3D")
844 _plural_types.append(
"GridIndex4Ds")
845 _value_types.append(
"GridIndex4D")
849 _plural_types.append(
"GridIndex5Ds")
850 _value_types.append(
"GridIndex5D")
854 _plural_types.append(
"GridIndex6Ds")
855 _value_types.append(
"GridIndex6D")
859 _plural_types.append(
"GridIndex1Ds")
860 _value_types.append(
"GridIndexD<1>")
864 _plural_types.append(
"GridIndex2Ds")
865 _value_types.append(
"GridIndexD<2>")
869 _plural_types.append(
"GridIndex3Ds")
870 _value_types.append(
"GridIndexD<3>")
874 _plural_types.append(
"GridIndex4Ds")
875 _value_types.append(
"GridIndexD<4>")
879 _plural_types.append(
"GridIndex5Ds")
880 _value_types.append(
"GridIndexD<5>")
884 _plural_types.append(
"GridIndex6Ds")
885 _value_types.append(
"GridIndexD<6>")
889 _plural_types.append(
"GridIndexKDs")
890 _value_types.append(
"GridIndexKD")
894 _plural_types.append(
"GridIndexKDs")
895 _value_types.append(
"GridIndexD<-1>")
898 ExtendedGridIndex1Ds=list
899 _plural_types.append(
"ExtendedGridIndex1Ds")
900 _value_types.append(
"ExtendedGridIndex1D")
903 ExtendedGridIndex2Ds=list
904 _plural_types.append(
"ExtendedGridIndex2Ds")
905 _value_types.append(
"ExtendedGridIndex2D")
908 ExtendedGridIndex3Ds=list
909 _plural_types.append(
"ExtendedGridIndex3Ds")
910 _value_types.append(
"ExtendedGridIndex3D")
913 ExtendedGridIndex4Ds=list
914 _plural_types.append(
"ExtendedGridIndex4Ds")
915 _value_types.append(
"ExtendedGridIndex4D")
918 ExtendedGridIndex5Ds=list
919 _plural_types.append(
"ExtendedGridIndex5Ds")
920 _value_types.append(
"ExtendedGridIndex5D")
923 ExtendedGridIndex6Ds=list
924 _plural_types.append(
"ExtendedGridIndex6Ds")
925 _value_types.append(
"ExtendedGridIndex6D")
928 ExtendedGridIndex1Ds=list
929 _plural_types.append(
"ExtendedGridIndex1Ds")
930 _value_types.append(
"ExtendedGridIndexD<1>")
933 ExtendedGridIndex2Ds=list
934 _plural_types.append(
"ExtendedGridIndex2Ds")
935 _value_types.append(
"ExtendedGridIndexD<2>")
938 ExtendedGridIndex3Ds=list
939 _plural_types.append(
"ExtendedGridIndex3Ds")
940 _value_types.append(
"ExtendedGridIndexD<3>")
943 ExtendedGridIndex4Ds=list
944 _plural_types.append(
"ExtendedGridIndex4Ds")
945 _value_types.append(
"ExtendedGridIndexD<4>")
948 ExtendedGridIndex5Ds=list
949 _plural_types.append(
"ExtendedGridIndex5Ds")
950 _value_types.append(
"ExtendedGridIndexD<5>")
953 ExtendedGridIndex6Ds=list
954 _plural_types.append(
"ExtendedGridIndex6Ds")
955 _value_types.append(
"ExtendedGridIndexD<6>")
958 ExtendedGridIndexKDs=list
959 _plural_types.append(
"ExtendedGridIndexKDs")
960 _value_types.append(
"ExtendedGridIndexKD")
963 ExtendedGridIndexKDs=list
964 _plural_types.append(
"ExtendedGridIndexKDs")
965 _value_types.append(
"ExtendedGridIndexD<-1>")
968 BoundedGridRange1Ds=list
969 _plural_types.append(
"BoundedGridRange1Ds")
970 _value_types.append(
"BoundedGridRange1D")
973 BoundedGridRange2Ds=list
974 _plural_types.append(
"BoundedGridRange2Ds")
975 _value_types.append(
"BoundedGridRange2D")
978 BoundedGridRange3Ds=list
979 _plural_types.append(
"BoundedGridRange3Ds")
980 _value_types.append(
"BoundedGridRange3D")
983 BoundedGridRange4Ds=list
984 _plural_types.append(
"BoundedGridRange4Ds")
985 _value_types.append(
"BoundedGridRange4D")
988 BoundedGridRange5Ds=list
989 _plural_types.append(
"BoundedGridRange5Ds")
990 _value_types.append(
"BoundedGridRange5D")
993 BoundedGridRange6Ds=list
994 _plural_types.append(
"BoundedGridRange6Ds")
995 _value_types.append(
"BoundedGridRange6D")
998 BoundedGridRange1Ds=list
999 _plural_types.append(
"BoundedGridRange1Ds")
1000 _value_types.append(
"BoundedGridRangeD<1>")
1003 BoundedGridRange2Ds=list
1004 _plural_types.append(
"BoundedGridRange2Ds")
1005 _value_types.append(
"BoundedGridRangeD<2>")
1008 BoundedGridRange3Ds=list
1009 _plural_types.append(
"BoundedGridRange3Ds")
1010 _value_types.append(
"BoundedGridRangeD<3>")
1013 BoundedGridRange4Ds=list
1014 _plural_types.append(
"BoundedGridRange4Ds")
1015 _value_types.append(
"BoundedGridRangeD<4>")
1018 BoundedGridRange5Ds=list
1019 _plural_types.append(
"BoundedGridRange5Ds")
1020 _value_types.append(
"BoundedGridRangeD<5>")
1023 BoundedGridRange6Ds=list
1024 _plural_types.append(
"BoundedGridRange6Ds")
1025 _value_types.append(
"BoundedGridRangeD<6>")
1028 BoundedGridRangeKDs=list
1029 _plural_types.append(
"BoundedGridRangeKDs")
1030 _value_types.append(
"BoundedGridRangeKD")
1033 BoundedGridRangeKDs=list
1034 _plural_types.append(
"BoundedGridRangeKDs")
1035 _value_types.append(
"BoundedGridRangeD<-1>")
1038 UnboundedGridRange1Ds=list
1039 _plural_types.append(
"UnboundedGridRange1Ds")
1040 _value_types.append(
"UnboundedGridRange1D")
1043 UnboundedGridRange2Ds=list
1044 _plural_types.append(
"UnboundedGridRange2Ds")
1045 _value_types.append(
"UnboundedGridRange2D")
1048 UnboundedGridRange3Ds=list
1049 _plural_types.append(
"UnboundedGridRange3Ds")
1050 _value_types.append(
"UnboundedGridRange3D")
1053 UnboundedGridRange4Ds=list
1054 _plural_types.append(
"UnboundedGridRange4Ds")
1055 _value_types.append(
"UnboundedGridRange4D")
1058 UnboundedGridRange5Ds=list
1059 _plural_types.append(
"UnboundedGridRange5Ds")
1060 _value_types.append(
"UnboundedGridRange5D")
1063 UnboundedGridRange6Ds=list
1064 _plural_types.append(
"UnboundedGridRange6Ds")
1065 _value_types.append(
"UnboundedGridRange6D")
1068 UnboundedGridRange1Ds=list
1069 _plural_types.append(
"UnboundedGridRange1Ds")
1070 _value_types.append(
"UnboundedGridRangeD<1>")
1073 UnboundedGridRange2Ds=list
1074 _plural_types.append(
"UnboundedGridRange2Ds")
1075 _value_types.append(
"UnboundedGridRangeD<2>")
1078 UnboundedGridRange3Ds=list
1079 _plural_types.append(
"UnboundedGridRange3Ds")
1080 _value_types.append(
"UnboundedGridRangeD<3>")
1083 UnboundedGridRange4Ds=list
1084 _plural_types.append(
"UnboundedGridRange4Ds")
1085 _value_types.append(
"UnboundedGridRangeD<4>")
1088 UnboundedGridRange5Ds=list
1089 _plural_types.append(
"UnboundedGridRange5Ds")
1090 _value_types.append(
"UnboundedGridRangeD<5>")
1093 UnboundedGridRange6Ds=list
1094 _plural_types.append(
"UnboundedGridRange6Ds")
1095 _value_types.append(
"UnboundedGridRangeD<6>")
1098 UnboundedGridRangeKDs=list
1099 _plural_types.append(
"UnboundedGridRangeKDs")
1100 _value_types.append(
"UnboundedGridRangeKD")
1103 UnboundedGridRangeKDs=list
1104 _plural_types.append(
"UnboundedGridRangeKDs")
1105 _value_types.append(
"UnboundedGridRangeD<-1>")
1109 _plural_types.append(
"LinearFit2Ds")
1110 _value_types.append(
"LinearFit2D")
1113 ParabolicFit2Ds=list
1114 _plural_types.append(
"ParabolicFit2Ds")
1115 _value_types.append(
"ParabolicFit2D")
1119 _plural_types.append(
"FixedXYZs")
1120 _value_types.append(
"FixedXYZ")
1122 class _GeometricPrimitive1D(object):
1123 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1127 def __init__(self, *args, **kwargs):
1128 raise AttributeError(
"No constructor defined")
1129 __repr__ = _swig_repr
1130 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1131 __del__ =
lambda self:
None
1132 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1133 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1135 class _GeometricPrimitive2D(object):
1136 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1138 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1140 def __init__(self, *args, **kwargs):
1141 raise AttributeError(
"No constructor defined")
1142 __repr__ = _swig_repr
1143 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1144 __del__ =
lambda self:
None
1145 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1146 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1148 class _GeometricPrimitive3D(object):
1149 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1151 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1153 def __init__(self, *args, **kwargs):
1154 raise AttributeError(
"No constructor defined")
1155 __repr__ = _swig_repr
1156 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1157 __del__ =
lambda self:
None
1158 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1159 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1161 class _GeometricPrimitive4D(object):
1162 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1166 def __init__(self, *args, **kwargs):
1167 raise AttributeError(
"No constructor defined")
1168 __repr__ = _swig_repr
1169 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1170 __del__ =
lambda self:
None
1171 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1172 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1174 class _GeometricPrimitive5D(object):
1175 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1179 def __init__(self, *args, **kwargs):
1180 raise AttributeError(
"No constructor defined")
1181 __repr__ = _swig_repr
1182 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1183 __del__ =
lambda self:
None
1184 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1185 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1187 class _GeometricPrimitive6D(object):
1188 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1192 def __init__(self, *args, **kwargs):
1193 raise AttributeError(
"No constructor defined")
1194 __repr__ = _swig_repr
1195 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1196 __del__ =
lambda self:
None
1197 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1198 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1200 class _GeometricPrimitiveKD(object):
1201 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1203 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1205 def __init__(self, *args, **kwargs):
1206 raise AttributeError(
"No constructor defined")
1207 __repr__ = _swig_repr
1208 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1209 __del__ =
lambda self:
None
1210 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1211 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1215 _plural_types.append(
"Vector1Ds")
1216 _value_types.append(
"Vector1D")
1220 _plural_types.append(
"Vector2Ds")
1221 _value_types.append(
"Vector2D")
1225 _plural_types.append(
"Vector3Ds")
1226 _value_types.append(
"Vector3D")
1230 _plural_types.append(
"Vector4Ds")
1231 _value_types.append(
"Vector4D")
1235 _plural_types.append(
"Vector5Ds")
1236 _value_types.append(
"Vector5D")
1240 _plural_types.append(
"Vector6Ds")
1241 _value_types.append(
"Vector6D")
1245 _plural_types.append(
"Vector1Ds")
1246 _value_types.append(
"VectorD<1>")
1250 _plural_types.append(
"Vector2Ds")
1251 _value_types.append(
"VectorD<2>")
1255 _plural_types.append(
"Vector3Ds")
1256 _value_types.append(
"VectorD<3>")
1260 _plural_types.append(
"Vector4Ds")
1261 _value_types.append(
"VectorD<4>")
1265 _plural_types.append(
"Vector5Ds")
1266 _value_types.append(
"VectorD<5>")
1270 _plural_types.append(
"Vector6Ds")
1271 _value_types.append(
"VectorD<6>")
1275 _plural_types.append(
"VectorKDs")
1276 _value_types.append(
"VectorKD")
1280 _plural_types.append(
"VectorKDs")
1281 _value_types.append(
"VectorD<-1>")
1283 class _VectorBaseKD(_GeometricPrimitiveKD):
1284 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1287 __repr__ = _swig_repr
1290 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1291 this = _IMP_algebra.new__VectorBaseKD()
1293 self.this.append(this)
1294 except __builtin__.Exception:
1297 def get_scalar_product(self, o):
1298 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1299 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1302 def get_squared_magnitude(self):
1303 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1304 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1307 def get_magnitude(self):
1308 """get_magnitude(_VectorBaseKD self) -> double"""
1309 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1312 def __mul__(self, o):
1313 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1314 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1317 def __iadd__(self, o):
1318 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1319 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1322 def __isub__(self, o):
1323 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1324 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1327 def __idiv__(self, f):
1328 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1329 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1332 def __imul__(self, f):
1333 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1334 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1337 def show(self, *args):
1339 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1340 show(_VectorBaseKD self, _ostream out, std::string delim)
1341 show(_VectorBaseKD self, _ostream out)
1342 show(_VectorBaseKD self)
1344 return _IMP_algebra._VectorBaseKD_show(self, *args)
1347 def get_dimension(self):
1348 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1349 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1351 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1352 __del__ =
lambda self:
None
1353 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1354 _VectorBaseKD_swigregister(_VectorBaseKD)
1356 class _VectorBase1D(_GeometricPrimitive1D):
1357 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1360 __repr__ = _swig_repr
1363 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1364 this = _IMP_algebra.new__VectorBase1D()
1366 self.this.append(this)
1367 except __builtin__.Exception:
1370 def get_scalar_product(self, o):
1371 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1372 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1375 def get_squared_magnitude(self):
1376 """get_squared_magnitude(_VectorBase1D self) -> double"""
1377 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1380 def get_magnitude(self):
1381 """get_magnitude(_VectorBase1D self) -> double"""
1382 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1385 def __mul__(self, o):
1386 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1387 return _IMP_algebra._VectorBase1D___mul__(self, o)
1390 def __iadd__(self, o):
1391 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1392 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1395 def __isub__(self, o):
1396 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1397 return _IMP_algebra._VectorBase1D___isub__(self, o)
1400 def __idiv__(self, f):
1401 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1402 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1405 def __imul__(self, f):
1406 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1407 return _IMP_algebra._VectorBase1D___imul__(self, f)
1410 def show(self, *args):
1412 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1413 show(_VectorBase1D self, _ostream out, std::string delim)
1414 show(_VectorBase1D self, _ostream out)
1415 show(_VectorBase1D self)
1417 return _IMP_algebra._VectorBase1D_show(self, *args)
1420 def get_dimension(self):
1421 """get_dimension(_VectorBase1D self) -> unsigned int"""
1422 return _IMP_algebra._VectorBase1D_get_dimension(self)
1424 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1425 __del__ =
lambda self:
None
1426 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1427 _VectorBase1D_swigregister(_VectorBase1D)
1429 class _VectorBase2D(_GeometricPrimitive2D):
1430 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1432 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1433 __repr__ = _swig_repr
1436 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1437 this = _IMP_algebra.new__VectorBase2D()
1439 self.this.append(this)
1440 except __builtin__.Exception:
1443 def get_scalar_product(self, o):
1444 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1445 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1448 def get_squared_magnitude(self):
1449 """get_squared_magnitude(_VectorBase2D self) -> double"""
1450 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1453 def get_magnitude(self):
1454 """get_magnitude(_VectorBase2D self) -> double"""
1455 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1458 def __mul__(self, o):
1459 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1460 return _IMP_algebra._VectorBase2D___mul__(self, o)
1463 def __iadd__(self, o):
1464 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1465 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1468 def __isub__(self, o):
1469 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1470 return _IMP_algebra._VectorBase2D___isub__(self, o)
1473 def __idiv__(self, f):
1474 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1475 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1478 def __imul__(self, f):
1479 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1480 return _IMP_algebra._VectorBase2D___imul__(self, f)
1483 def show(self, *args):
1485 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1486 show(_VectorBase2D self, _ostream out, std::string delim)
1487 show(_VectorBase2D self, _ostream out)
1488 show(_VectorBase2D self)
1490 return _IMP_algebra._VectorBase2D_show(self, *args)
1493 def get_dimension(self):
1494 """get_dimension(_VectorBase2D self) -> unsigned int"""
1495 return _IMP_algebra._VectorBase2D_get_dimension(self)
1497 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1498 __del__ =
lambda self:
None
1499 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1500 _VectorBase2D_swigregister(_VectorBase2D)
1502 class _VectorBase3D(_GeometricPrimitive3D):
1503 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1505 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1506 __repr__ = _swig_repr
1509 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1510 this = _IMP_algebra.new__VectorBase3D()
1512 self.this.append(this)
1513 except __builtin__.Exception:
1516 def get_scalar_product(self, o):
1517 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1518 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1521 def get_squared_magnitude(self):
1522 """get_squared_magnitude(_VectorBase3D self) -> double"""
1523 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1526 def get_magnitude(self):
1527 """get_magnitude(_VectorBase3D self) -> double"""
1528 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1531 def __mul__(self, o):
1532 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1533 return _IMP_algebra._VectorBase3D___mul__(self, o)
1536 def __iadd__(self, o):
1537 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1538 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1541 def __isub__(self, o):
1542 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1543 return _IMP_algebra._VectorBase3D___isub__(self, o)
1546 def __idiv__(self, f):
1547 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1548 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1551 def __imul__(self, f):
1552 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1553 return _IMP_algebra._VectorBase3D___imul__(self, f)
1556 def show(self, *args):
1558 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1559 show(_VectorBase3D self, _ostream out, std::string delim)
1560 show(_VectorBase3D self, _ostream out)
1561 show(_VectorBase3D self)
1563 return _IMP_algebra._VectorBase3D_show(self, *args)
1566 def get_dimension(self):
1567 """get_dimension(_VectorBase3D self) -> unsigned int"""
1568 return _IMP_algebra._VectorBase3D_get_dimension(self)
1570 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1571 __del__ =
lambda self:
None
1572 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1573 _VectorBase3D_swigregister(_VectorBase3D)
1575 class _VectorBase4D(_GeometricPrimitive4D):
1576 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1578 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1579 __repr__ = _swig_repr
1582 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1583 this = _IMP_algebra.new__VectorBase4D()
1585 self.this.append(this)
1586 except __builtin__.Exception:
1589 def get_scalar_product(self, o):
1590 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1591 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1594 def get_squared_magnitude(self):
1595 """get_squared_magnitude(_VectorBase4D self) -> double"""
1596 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1599 def get_magnitude(self):
1600 """get_magnitude(_VectorBase4D self) -> double"""
1601 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1604 def __mul__(self, o):
1605 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1606 return _IMP_algebra._VectorBase4D___mul__(self, o)
1609 def __iadd__(self, o):
1610 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1611 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1614 def __isub__(self, o):
1615 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1616 return _IMP_algebra._VectorBase4D___isub__(self, o)
1619 def __idiv__(self, f):
1620 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1621 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1624 def __imul__(self, f):
1625 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1626 return _IMP_algebra._VectorBase4D___imul__(self, f)
1629 def show(self, *args):
1631 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1632 show(_VectorBase4D self, _ostream out, std::string delim)
1633 show(_VectorBase4D self, _ostream out)
1634 show(_VectorBase4D self)
1636 return _IMP_algebra._VectorBase4D_show(self, *args)
1639 def get_dimension(self):
1640 """get_dimension(_VectorBase4D self) -> unsigned int"""
1641 return _IMP_algebra._VectorBase4D_get_dimension(self)
1643 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1644 __del__ =
lambda self:
None
1645 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1646 _VectorBase4D_swigregister(_VectorBase4D)
1648 class _VectorBase5D(_GeometricPrimitive5D):
1649 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1652 __repr__ = _swig_repr
1655 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1656 this = _IMP_algebra.new__VectorBase5D()
1658 self.this.append(this)
1659 except __builtin__.Exception:
1662 def get_scalar_product(self, o):
1663 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1664 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1667 def get_squared_magnitude(self):
1668 """get_squared_magnitude(_VectorBase5D self) -> double"""
1669 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1672 def get_magnitude(self):
1673 """get_magnitude(_VectorBase5D self) -> double"""
1674 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1677 def __mul__(self, o):
1678 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1679 return _IMP_algebra._VectorBase5D___mul__(self, o)
1682 def __iadd__(self, o):
1683 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1684 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1687 def __isub__(self, o):
1688 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1689 return _IMP_algebra._VectorBase5D___isub__(self, o)
1692 def __idiv__(self, f):
1693 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1694 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1697 def __imul__(self, f):
1698 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1699 return _IMP_algebra._VectorBase5D___imul__(self, f)
1702 def show(self, *args):
1704 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1705 show(_VectorBase5D self, _ostream out, std::string delim)
1706 show(_VectorBase5D self, _ostream out)
1707 show(_VectorBase5D self)
1709 return _IMP_algebra._VectorBase5D_show(self, *args)
1712 def get_dimension(self):
1713 """get_dimension(_VectorBase5D self) -> unsigned int"""
1714 return _IMP_algebra._VectorBase5D_get_dimension(self)
1716 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1717 __del__ =
lambda self:
None
1718 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1719 _VectorBase5D_swigregister(_VectorBase5D)
1721 class _VectorBase6D(_GeometricPrimitive6D):
1722 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1725 __repr__ = _swig_repr
1728 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1729 this = _IMP_algebra.new__VectorBase6D()
1731 self.this.append(this)
1732 except __builtin__.Exception:
1735 def get_scalar_product(self, o):
1736 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1737 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1740 def get_squared_magnitude(self):
1741 """get_squared_magnitude(_VectorBase6D self) -> double"""
1742 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1745 def get_magnitude(self):
1746 """get_magnitude(_VectorBase6D self) -> double"""
1747 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1750 def __mul__(self, o):
1751 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1752 return _IMP_algebra._VectorBase6D___mul__(self, o)
1755 def __iadd__(self, o):
1756 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1757 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1760 def __isub__(self, o):
1761 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1762 return _IMP_algebra._VectorBase6D___isub__(self, o)
1765 def __idiv__(self, f):
1766 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1767 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1770 def __imul__(self, f):
1771 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1772 return _IMP_algebra._VectorBase6D___imul__(self, f)
1775 def show(self, *args):
1777 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1778 show(_VectorBase6D self, _ostream out, std::string delim)
1779 show(_VectorBase6D self, _ostream out)
1780 show(_VectorBase6D self)
1782 return _IMP_algebra._VectorBase6D_show(self, *args)
1785 def get_dimension(self):
1786 """get_dimension(_VectorBase6D self) -> unsigned int"""
1787 return _IMP_algebra._VectorBase6D_get_dimension(self)
1789 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1790 __del__ =
lambda self:
None
1791 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1792 _VectorBase6D_swigregister(_VectorBase6D)
1796 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1797 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1800 """get_zero_vector_kd(int D) -> VectorKD"""
1801 return _IMP_algebra.get_zero_vector_kd(D)
1805 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1806 get_ones_vector_kd(unsigned int D) -> VectorKD
1808 return _IMP_algebra.get_ones_vector_kd(D, v)
1811 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1812 return _IMP_algebra.get_vector_product(p1, p2)
1815 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1816 return _IMP_algebra.get_orthogonal_vector(v)
1819 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1820 return _IMP_algebra.get_centroid(ps)
1823 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1824 return _IMP_algebra.get_radius_of_gyration(ps)
1825 class Rotation3D(_GeometricPrimitive3D):
1826 """Proxy of C++ IMP::algebra::Rotation3D class."""
1828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1830 def __init__(self, *args):
1832 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1833 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1834 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1835 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1836 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1838 this = _IMP_algebra.new_Rotation3D(*args)
1840 self.this.append(this)
1841 except __builtin__.Exception:
1843 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1844 __del__ =
lambda self:
None
1846 def get_rotated_no_cache(self, o):
1847 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1848 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1851 def get_rotated_one_coordinate_no_cache(self, o, coord):
1852 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1853 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1856 def get_rotated(self, o):
1857 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1858 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1861 def get_rotated_one_coordinate(self, o, coord):
1862 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1863 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1866 def get_rotation_matrix_row(self, i):
1867 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1868 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1871 def show(self, *args):
1873 show(Rotation3D self, _ostream out)
1874 show(Rotation3D self)
1876 return _IMP_algebra.Rotation3D_show(self, *args)
1879 def get_inverse(self):
1880 """get_inverse(Rotation3D self) -> Rotation3D"""
1881 return _IMP_algebra.Rotation3D_get_inverse(self)
1884 def get_quaternion(self):
1885 """get_quaternion(Rotation3D self) -> Vector4D"""
1886 return _IMP_algebra.Rotation3D_get_quaternion(self)
1889 def __mul__(self, *args):
1891 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1892 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1894 return _IMP_algebra.Rotation3D___mul__(self, *args)
1897 def __div__(self, r):
1898 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1899 return _IMP_algebra.Rotation3D___div__(self, r)
1902 def get_derivative(self, o, i):
1903 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1904 return _IMP_algebra.Rotation3D_get_derivative(self, o, i)
1907 def get_is_valid(self):
1908 """get_is_valid(Rotation3D self) -> bool"""
1909 return _IMP_algebra.Rotation3D_get_is_valid(self)
1913 """__str__(Rotation3D self) -> std::string"""
1914 return _IMP_algebra.Rotation3D___str__(self)
1918 """__repr__(Rotation3D self) -> std::string"""
1919 return _IMP_algebra.Rotation3D___repr__(self)
1922 __truediv__ = __div__
1924 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1925 Rotation3D_swigregister(Rotation3D)
1929 """get_identity_rotation_3d() -> Rotation3D"""
1930 return _IMP_algebra.get_identity_rotation_3d()
1933 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1934 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1937 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1938 return _IMP_algebra.get_rotation_about_axis(axis, angle)
1941 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1942 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1946 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1947 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
1949 return _IMP_algebra.get_rotation_from_matrix(*args)
1953 get_random_rotation_3d() -> Rotation3D
1954 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1956 return _IMP_algebra.get_random_rotation_3d(*args)
1959 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1960 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1963 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1964 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1967 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1968 return _IMP_algebra.get_rotation_from_vector4d(v)
1971 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1972 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
1975 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1976 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
1979 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1980 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
1981 class FixedXYZ(_GeometricPrimitive3D):
1982 """Proxy of C++ IMP::algebra::FixedXYZ class."""
1984 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1986 def __init__(self, *args):
1988 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1989 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1991 this = _IMP_algebra.new_FixedXYZ(*args)
1993 self.this.append(this)
1994 except __builtin__.Exception:
1998 """get_x(FixedXYZ self) -> double"""
1999 return _IMP_algebra.FixedXYZ_get_x(self)
2003 """get_y(FixedXYZ self) -> double"""
2004 return _IMP_algebra.FixedXYZ_get_y(self)
2008 """get_z(FixedXYZ self) -> double"""
2009 return _IMP_algebra.FixedXYZ_get_z(self)
2012 def show(self, *args):
2014 show(FixedXYZ self, _ostream out)
2017 return _IMP_algebra.FixedXYZ_show(self, *args)
2021 """__str__(FixedXYZ self) -> std::string"""
2022 return _IMP_algebra.FixedXYZ___str__(self)
2026 """__repr__(FixedXYZ self) -> std::string"""
2027 return _IMP_algebra.FixedXYZ___repr__(self)
2029 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2030 __del__ =
lambda self:
None
2031 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2032 FixedXYZ_swigregister(FixedXYZ)
2036 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2037 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2040 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2041 return _IMP_algebra.get_interpolated(a, b, f)
2044 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2045 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2048 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2049 return _IMP_algebra.get_axis_and_angle(rot)
2052 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2053 return _IMP_algebra.get_unit_bounding_box_kd(d)
2056 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2057 return _IMP_algebra.get_cube_kd(d, radius)
2060 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2061 return _IMP_algebra.get_edges(arg1)
2062 class Transformation3D(_GeometricPrimitive3D):
2063 """Proxy of C++ IMP::algebra::Transformation3D class."""
2065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2067 def __init__(self, *args):
2069 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2070 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2071 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2072 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2074 this = _IMP_algebra.new_Transformation3D(*args)
2076 self.this.append(this)
2077 except __builtin__.Exception:
2079 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2080 __del__ =
lambda self:
None
2082 def get_transformed(self, o):
2083 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2084 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2087 def __mul__(self, *args):
2089 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2090 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2092 return _IMP_algebra.Transformation3D___mul__(self, *args)
2095 def __div__(self, b):
2096 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2097 return _IMP_algebra.Transformation3D___div__(self, b)
2100 def get_rotation(self):
2101 """get_rotation(Transformation3D self) -> Rotation3D"""
2102 return _IMP_algebra.Transformation3D_get_rotation(self)
2105 def get_translation(self):
2106 """get_translation(Transformation3D self) -> Vector3D"""
2107 return _IMP_algebra.Transformation3D_get_translation(self)
2110 def show(self, *args):
2112 show(Transformation3D self, _ostream out)
2113 show(Transformation3D self)
2115 return _IMP_algebra.Transformation3D_show(self, *args)
2118 def get_inverse(self):
2119 """get_inverse(Transformation3D self) -> Transformation3D"""
2120 return _IMP_algebra.Transformation3D_get_inverse(self)
2123 def get_is_valid(self):
2124 """get_is_valid(Transformation3D self) -> bool"""
2125 return _IMP_algebra.Transformation3D_get_is_valid(self)
2129 """__str__(Transformation3D self) -> std::string"""
2130 return _IMP_algebra.Transformation3D___str__(self)
2134 """__repr__(Transformation3D self) -> std::string"""
2135 return _IMP_algebra.Transformation3D___repr__(self)
2138 __truediv__ = __div__
2140 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2141 Transformation3D_swigregister(Transformation3D)
2145 """get_identity_transformation_3d() -> Transformation3D"""
2146 return _IMP_algebra.get_identity_transformation_3d()
2149 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2150 return _IMP_algebra.get_transformation_3d(t2d)
2154 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2155 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2156 get_random_local_transformation(Vector3D origin) -> Transformation3D
2158 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2159 class Rotation2D(_GeometricPrimitive2D):
2160 """Proxy of C++ IMP::algebra::Rotation2D class."""
2162 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2164 def __init__(self, *args):
2166 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2167 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2169 this = _IMP_algebra.new_Rotation2D(*args)
2171 self.this.append(this)
2172 except __builtin__.Exception:
2175 def get_rotated(self, *args):
2177 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2178 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2180 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2183 def get_inverse(self):
2184 """get_inverse(Rotation2D self) -> Rotation2D"""
2185 return _IMP_algebra.Rotation2D_get_inverse(self)
2188 def set_angle(self, angle):
2189 """set_angle(Rotation2D self, double angle)"""
2190 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2194 """get_angle(Rotation2D self) -> double"""
2195 return _IMP_algebra.Rotation2D_get_angle(self)
2198 def show(self, *args):
2200 show(Rotation2D self, _ostream out)
2201 show(Rotation2D self)
2203 return _IMP_algebra.Rotation2D_show(self, *args)
2207 """__str__(Rotation2D self) -> std::string"""
2208 return _IMP_algebra.Rotation2D___str__(self)
2212 """__repr__(Rotation2D self) -> std::string"""
2213 return _IMP_algebra.Rotation2D___repr__(self)
2215 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2216 __del__ =
lambda self:
None
2217 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2218 Rotation2D_swigregister(Rotation2D)
2222 """get_identity_rotation_2d() -> Rotation2D"""
2223 return _IMP_algebra.get_identity_rotation_2d()
2226 """get_random_rotation_2d() -> Rotation2D"""
2227 return _IMP_algebra.get_random_rotation_2d()
2230 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2231 return _IMP_algebra.get_rotation_to_x_axis(v)
2232 class Transformation2D(_GeometricPrimitive2D):
2233 """Proxy of C++ IMP::algebra::Transformation2D class."""
2235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2237 def __init__(self, *args):
2239 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2240 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2241 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2242 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2244 this = _IMP_algebra.new_Transformation2D(*args)
2246 self.this.append(this)
2247 except __builtin__.Exception:
2249 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2250 __del__ =
lambda self:
None
2252 def get_transformed(self, o):
2253 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2254 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2257 def __mul__(self, *args):
2259 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2260 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2262 return _IMP_algebra.Transformation2D___mul__(self, *args)
2265 def __div__(self, b):
2266 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2267 return _IMP_algebra.Transformation2D___div__(self, b)
2270 def get_rotation(self):
2271 """get_rotation(Transformation2D self) -> Rotation2D"""
2272 return _IMP_algebra.Transformation2D_get_rotation(self)
2275 def set_rotation(self, angle):
2276 """set_rotation(Transformation2D self, double angle)"""
2277 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2280 def get_translation(self):
2281 """get_translation(Transformation2D self) -> Vector2D"""
2282 return _IMP_algebra.Transformation2D_get_translation(self)
2285 def set_translation(self, v):
2286 """set_translation(Transformation2D self, Vector2D v)"""
2287 return _IMP_algebra.Transformation2D_set_translation(self, v)
2290 def show(self, *args):
2292 show(Transformation2D self, _ostream out)
2293 show(Transformation2D self)
2295 return _IMP_algebra.Transformation2D_show(self, *args)
2298 def get_inverse(self):
2299 """get_inverse(Transformation2D self) -> Transformation2D"""
2300 return _IMP_algebra.Transformation2D_get_inverse(self)
2304 """__str__(Transformation2D self) -> std::string"""
2305 return _IMP_algebra.Transformation2D___str__(self)
2309 """__repr__(Transformation2D self) -> std::string"""
2310 return _IMP_algebra.Transformation2D___repr__(self)
2313 __truediv__ = __div__
2315 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2316 Transformation2D_swigregister(Transformation2D)
2320 """get_identity_transformation_2d() -> Transformation2D"""
2321 return _IMP_algebra.get_identity_transformation_2d()
2325 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2326 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2328 return _IMP_algebra.get_rotation_about_point(*args)
2332 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2333 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2334 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2335 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2337 return _IMP_algebra.compose(*args)
2339 def get_unit_sphere_kd(d):
2340 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2341 return _IMP_algebra.get_unit_sphere_kd(d)
2345 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2346 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2348 return _IMP_algebra.get_enclosing_sphere(*args)
2351 """get_ball_radius_from_volume_3d(double volume) -> double"""
2352 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2355 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2356 return _IMP_algebra.get_surface_area_and_volume(ss)
2359 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2360 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2362 """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2364 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2367 """get_unit_vector(Vector1D self) -> Vector1D"""
2368 return _IMP_algebra.Vector1D_get_unit_vector(self)
2371 def __div__(self, s):
2372 """__div__(Vector1D self, double s) -> Vector1D"""
2373 return _IMP_algebra.Vector1D___div__(self, s)
2377 """__neg__(Vector1D self) -> Vector1D"""
2378 return _IMP_algebra.Vector1D___neg__(self)
2381 def __sub__(self, o):
2382 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2383 return _IMP_algebra.Vector1D___sub__(self, o)
2386 def __add__(self, ret):
2387 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2388 return _IMP_algebra.Vector1D___add__(self, ret)
2391 def __mul__(self, *args):
2393 __mul__(Vector1D self, double s) -> Vector1D
2394 __mul__(Vector1D self, Vector1D o) -> double
2396 return _IMP_algebra.Vector1D___mul__(self, *args)
2399 def __init__(self, *args):
2401 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2402 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2403 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2405 this = _IMP_algebra.new_Vector1D(*args)
2407 self.this.append(this)
2408 except __builtin__.Exception:
2411 def __getitem__(self, index):
2412 """__getitem__(Vector1D self, unsigned int index) -> double"""
2413 return _IMP_algebra.Vector1D___getitem__(self, index)
2416 def __setitem__(self, index, val):
2417 """__setitem__(Vector1D self, unsigned int index, double val)"""
2418 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2421 def __iadd__(self, *args):
2422 _IMP_algebra.Vector1D___iadd__(self, *args)
2427 def __imul__(self, *args):
2428 _IMP_algebra.Vector1D___imul__(self, *args)
2433 def __idiv__(self, *args):
2434 _IMP_algebra.Vector1D___idiv__(self, *args)
2439 def __isub__(self, *args):
2440 _IMP_algebra.Vector1D___isub__(self, *args)
2446 """__len__(Vector1D self) -> unsigned int"""
2447 return _IMP_algebra.Vector1D___len__(self)
2450 def __rmul__(self, f):
2451 """__rmul__(Vector1D self, double f) -> Vector1D"""
2452 return _IMP_algebra.Vector1D___rmul__(self, f)
2456 """__str__(Vector1D self) -> std::string"""
2457 return _IMP_algebra.Vector1D___str__(self)
2461 """__repr__(Vector1D self) -> std::string"""
2462 return _IMP_algebra.Vector1D___repr__(self)
2465 def __cmp__(self, arg2):
2466 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2467 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2470 def __eq__(self, arg2):
2471 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2472 return _IMP_algebra.Vector1D___eq__(self, arg2)
2475 __truediv__ = __div__
2476 __itruediv__ = __idiv__
2478 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2479 __del__ =
lambda self:
None
2480 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2481 Vector1D_swigregister(Vector1D)
2484 """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2486 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2489 """get_unit_vector(Vector2D self) -> Vector2D"""
2490 return _IMP_algebra.Vector2D_get_unit_vector(self)
2493 def __div__(self, s):
2494 """__div__(Vector2D self, double s) -> Vector2D"""
2495 return _IMP_algebra.Vector2D___div__(self, s)
2499 """__neg__(Vector2D self) -> Vector2D"""
2500 return _IMP_algebra.Vector2D___neg__(self)
2503 def __sub__(self, o):
2504 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2505 return _IMP_algebra.Vector2D___sub__(self, o)
2508 def __add__(self, ret):
2509 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2510 return _IMP_algebra.Vector2D___add__(self, ret)
2513 def __mul__(self, *args):
2515 __mul__(Vector2D self, double s) -> Vector2D
2516 __mul__(Vector2D self, Vector2D o) -> double
2518 return _IMP_algebra.Vector2D___mul__(self, *args)
2521 def __init__(self, *args):
2523 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2524 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2525 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2527 this = _IMP_algebra.new_Vector2D(*args)
2529 self.this.append(this)
2530 except __builtin__.Exception:
2533 def __getitem__(self, index):
2534 """__getitem__(Vector2D self, unsigned int index) -> double"""
2535 return _IMP_algebra.Vector2D___getitem__(self, index)
2538 def __setitem__(self, index, val):
2539 """__setitem__(Vector2D self, unsigned int index, double val)"""
2540 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2543 def __iadd__(self, *args):
2544 _IMP_algebra.Vector2D___iadd__(self, *args)
2549 def __imul__(self, *args):
2550 _IMP_algebra.Vector2D___imul__(self, *args)
2555 def __idiv__(self, *args):
2556 _IMP_algebra.Vector2D___idiv__(self, *args)
2561 def __isub__(self, *args):
2562 _IMP_algebra.Vector2D___isub__(self, *args)
2568 """__len__(Vector2D self) -> unsigned int"""
2569 return _IMP_algebra.Vector2D___len__(self)
2572 def __rmul__(self, f):
2573 """__rmul__(Vector2D self, double f) -> Vector2D"""
2574 return _IMP_algebra.Vector2D___rmul__(self, f)
2578 """__str__(Vector2D self) -> std::string"""
2579 return _IMP_algebra.Vector2D___str__(self)
2583 """__repr__(Vector2D self) -> std::string"""
2584 return _IMP_algebra.Vector2D___repr__(self)
2587 def __cmp__(self, arg2):
2588 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2589 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2592 def __eq__(self, arg2):
2593 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2594 return _IMP_algebra.Vector2D___eq__(self, arg2)
2597 __truediv__ = __div__
2598 __itruediv__ = __idiv__
2600 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2601 __del__ =
lambda self:
None
2602 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2603 Vector2D_swigregister(Vector2D)
2606 """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2608 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2611 """get_unit_vector(Vector3D self) -> Vector3D"""
2612 return _IMP_algebra.Vector3D_get_unit_vector(self)
2615 def __div__(self, s):
2616 """__div__(Vector3D self, double s) -> Vector3D"""
2617 return _IMP_algebra.Vector3D___div__(self, s)
2621 """__neg__(Vector3D self) -> Vector3D"""
2622 return _IMP_algebra.Vector3D___neg__(self)
2625 def __sub__(self, o):
2626 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2627 return _IMP_algebra.Vector3D___sub__(self, o)
2630 def __add__(self, ret):
2631 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2632 return _IMP_algebra.Vector3D___add__(self, ret)
2635 def __mul__(self, *args):
2637 __mul__(Vector3D self, double s) -> Vector3D
2638 __mul__(Vector3D self, Vector3D o) -> double
2640 return _IMP_algebra.Vector3D___mul__(self, *args)
2643 def __init__(self, *args):
2645 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2646 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2647 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2649 this = _IMP_algebra.new_Vector3D(*args)
2651 self.this.append(this)
2652 except __builtin__.Exception:
2655 def __getitem__(self, index):
2656 """__getitem__(Vector3D self, unsigned int index) -> double"""
2657 return _IMP_algebra.Vector3D___getitem__(self, index)
2660 def __setitem__(self, index, val):
2661 """__setitem__(Vector3D self, unsigned int index, double val)"""
2662 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2665 def __iadd__(self, *args):
2666 _IMP_algebra.Vector3D___iadd__(self, *args)
2671 def __imul__(self, *args):
2672 _IMP_algebra.Vector3D___imul__(self, *args)
2677 def __idiv__(self, *args):
2678 _IMP_algebra.Vector3D___idiv__(self, *args)
2683 def __isub__(self, *args):
2684 _IMP_algebra.Vector3D___isub__(self, *args)
2690 """__len__(Vector3D self) -> unsigned int"""
2691 return _IMP_algebra.Vector3D___len__(self)
2694 def __rmul__(self, f):
2695 """__rmul__(Vector3D self, double f) -> Vector3D"""
2696 return _IMP_algebra.Vector3D___rmul__(self, f)
2700 """__str__(Vector3D self) -> std::string"""
2701 return _IMP_algebra.Vector3D___str__(self)
2705 """__repr__(Vector3D self) -> std::string"""
2706 return _IMP_algebra.Vector3D___repr__(self)
2709 def __cmp__(self, arg2):
2710 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2711 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2714 def __eq__(self, arg2):
2715 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2716 return _IMP_algebra.Vector3D___eq__(self, arg2)
2719 __truediv__ = __div__
2720 __itruediv__ = __idiv__
2722 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2723 __del__ =
lambda self:
None
2724 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2725 Vector3D_swigregister(Vector3D)
2728 """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2733 """get_unit_vector(Vector4D self) -> Vector4D"""
2734 return _IMP_algebra.Vector4D_get_unit_vector(self)
2737 def __div__(self, s):
2738 """__div__(Vector4D self, double s) -> Vector4D"""
2739 return _IMP_algebra.Vector4D___div__(self, s)
2743 """__neg__(Vector4D self) -> Vector4D"""
2744 return _IMP_algebra.Vector4D___neg__(self)
2747 def __sub__(self, o):
2748 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2749 return _IMP_algebra.Vector4D___sub__(self, o)
2752 def __add__(self, ret):
2753 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2754 return _IMP_algebra.Vector4D___add__(self, ret)
2757 def __mul__(self, *args):
2759 __mul__(Vector4D self, double s) -> Vector4D
2760 __mul__(Vector4D self, Vector4D o) -> double
2762 return _IMP_algebra.Vector4D___mul__(self, *args)
2765 def __init__(self, *args):
2767 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2768 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2769 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2771 this = _IMP_algebra.new_Vector4D(*args)
2773 self.this.append(this)
2774 except __builtin__.Exception:
2777 def __getitem__(self, index):
2778 """__getitem__(Vector4D self, unsigned int index) -> double"""
2779 return _IMP_algebra.Vector4D___getitem__(self, index)
2782 def __setitem__(self, index, val):
2783 """__setitem__(Vector4D self, unsigned int index, double val)"""
2784 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2787 def __iadd__(self, *args):
2788 _IMP_algebra.Vector4D___iadd__(self, *args)
2793 def __imul__(self, *args):
2794 _IMP_algebra.Vector4D___imul__(self, *args)
2799 def __idiv__(self, *args):
2800 _IMP_algebra.Vector4D___idiv__(self, *args)
2805 def __isub__(self, *args):
2806 _IMP_algebra.Vector4D___isub__(self, *args)
2812 """__len__(Vector4D self) -> unsigned int"""
2813 return _IMP_algebra.Vector4D___len__(self)
2816 def __rmul__(self, f):
2817 """__rmul__(Vector4D self, double f) -> Vector4D"""
2818 return _IMP_algebra.Vector4D___rmul__(self, f)
2822 """__str__(Vector4D self) -> std::string"""
2823 return _IMP_algebra.Vector4D___str__(self)
2827 """__repr__(Vector4D self) -> std::string"""
2828 return _IMP_algebra.Vector4D___repr__(self)
2831 def __cmp__(self, arg2):
2832 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2833 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2836 def __eq__(self, arg2):
2837 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2838 return _IMP_algebra.Vector4D___eq__(self, arg2)
2841 __truediv__ = __div__
2842 __itruediv__ = __idiv__
2844 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2845 __del__ =
lambda self:
None
2846 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2847 Vector4D_swigregister(Vector4D)
2850 """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2852 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2855 """get_unit_vector(Vector5D self) -> Vector5D"""
2856 return _IMP_algebra.Vector5D_get_unit_vector(self)
2859 def __div__(self, s):
2860 """__div__(Vector5D self, double s) -> Vector5D"""
2861 return _IMP_algebra.Vector5D___div__(self, s)
2865 """__neg__(Vector5D self) -> Vector5D"""
2866 return _IMP_algebra.Vector5D___neg__(self)
2869 def __sub__(self, o):
2870 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2871 return _IMP_algebra.Vector5D___sub__(self, o)
2874 def __add__(self, ret):
2875 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2876 return _IMP_algebra.Vector5D___add__(self, ret)
2879 def __mul__(self, *args):
2881 __mul__(Vector5D self, double s) -> Vector5D
2882 __mul__(Vector5D self, Vector5D o) -> double
2884 return _IMP_algebra.Vector5D___mul__(self, *args)
2887 def __init__(self, *args):
2889 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2890 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2891 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2893 this = _IMP_algebra.new_Vector5D(*args)
2895 self.this.append(this)
2896 except __builtin__.Exception:
2899 def __getitem__(self, index):
2900 """__getitem__(Vector5D self, unsigned int index) -> double"""
2901 return _IMP_algebra.Vector5D___getitem__(self, index)
2904 def __setitem__(self, index, val):
2905 """__setitem__(Vector5D self, unsigned int index, double val)"""
2906 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2909 def __iadd__(self, *args):
2910 _IMP_algebra.Vector5D___iadd__(self, *args)
2915 def __imul__(self, *args):
2916 _IMP_algebra.Vector5D___imul__(self, *args)
2921 def __idiv__(self, *args):
2922 _IMP_algebra.Vector5D___idiv__(self, *args)
2927 def __isub__(self, *args):
2928 _IMP_algebra.Vector5D___isub__(self, *args)
2934 """__len__(Vector5D self) -> unsigned int"""
2935 return _IMP_algebra.Vector5D___len__(self)
2938 def __rmul__(self, f):
2939 """__rmul__(Vector5D self, double f) -> Vector5D"""
2940 return _IMP_algebra.Vector5D___rmul__(self, f)
2944 """__str__(Vector5D self) -> std::string"""
2945 return _IMP_algebra.Vector5D___str__(self)
2949 """__repr__(Vector5D self) -> std::string"""
2950 return _IMP_algebra.Vector5D___repr__(self)
2953 def __cmp__(self, arg2):
2954 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2955 return _IMP_algebra.Vector5D___cmp__(self, arg2)
2958 def __eq__(self, arg2):
2959 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2960 return _IMP_algebra.Vector5D___eq__(self, arg2)
2963 __truediv__ = __div__
2964 __itruediv__ = __idiv__
2966 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2967 __del__ =
lambda self:
None
2968 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2969 Vector5D_swigregister(Vector5D)
2972 """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
2974 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2977 """get_unit_vector(Vector6D self) -> Vector6D"""
2978 return _IMP_algebra.Vector6D_get_unit_vector(self)
2981 def __div__(self, s):
2982 """__div__(Vector6D self, double s) -> Vector6D"""
2983 return _IMP_algebra.Vector6D___div__(self, s)
2987 """__neg__(Vector6D self) -> Vector6D"""
2988 return _IMP_algebra.Vector6D___neg__(self)
2991 def __sub__(self, o):
2992 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2993 return _IMP_algebra.Vector6D___sub__(self, o)
2996 def __add__(self, ret):
2997 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2998 return _IMP_algebra.Vector6D___add__(self, ret)
3001 def __mul__(self, *args):
3003 __mul__(Vector6D self, double s) -> Vector6D
3004 __mul__(Vector6D self, Vector6D o) -> double
3006 return _IMP_algebra.Vector6D___mul__(self, *args)
3009 def __init__(self, *args):
3011 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3012 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3013 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3015 this = _IMP_algebra.new_Vector6D(*args)
3017 self.this.append(this)
3018 except __builtin__.Exception:
3021 def __getitem__(self, index):
3022 """__getitem__(Vector6D self, unsigned int index) -> double"""
3023 return _IMP_algebra.Vector6D___getitem__(self, index)
3026 def __setitem__(self, index, val):
3027 """__setitem__(Vector6D self, unsigned int index, double val)"""
3028 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3031 def __iadd__(self, *args):
3032 _IMP_algebra.Vector6D___iadd__(self, *args)
3037 def __imul__(self, *args):
3038 _IMP_algebra.Vector6D___imul__(self, *args)
3043 def __idiv__(self, *args):
3044 _IMP_algebra.Vector6D___idiv__(self, *args)
3049 def __isub__(self, *args):
3050 _IMP_algebra.Vector6D___isub__(self, *args)
3056 """__len__(Vector6D self) -> unsigned int"""
3057 return _IMP_algebra.Vector6D___len__(self)
3060 def __rmul__(self, f):
3061 """__rmul__(Vector6D self, double f) -> Vector6D"""
3062 return _IMP_algebra.Vector6D___rmul__(self, f)
3066 """__str__(Vector6D self) -> std::string"""
3067 return _IMP_algebra.Vector6D___str__(self)
3071 """__repr__(Vector6D self) -> std::string"""
3072 return _IMP_algebra.Vector6D___repr__(self)
3075 def __cmp__(self, arg2):
3076 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3077 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3080 def __eq__(self, arg2):
3081 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3082 return _IMP_algebra.Vector6D___eq__(self, arg2)
3085 __truediv__ = __div__
3086 __itruediv__ = __idiv__
3088 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3089 __del__ =
lambda self:
None
3090 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3091 Vector6D_swigregister(Vector6D)
3094 """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3096 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3099 """get_unit_vector(VectorKD self) -> VectorKD"""
3100 return _IMP_algebra.VectorKD_get_unit_vector(self)
3103 def __div__(self, s):
3104 """__div__(VectorKD self, double s) -> VectorKD"""
3105 return _IMP_algebra.VectorKD___div__(self, s)
3109 """__neg__(VectorKD self) -> VectorKD"""
3110 return _IMP_algebra.VectorKD___neg__(self)
3113 def __sub__(self, o):
3114 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3115 return _IMP_algebra.VectorKD___sub__(self, o)
3118 def __add__(self, ret):
3119 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3120 return _IMP_algebra.VectorKD___add__(self, ret)
3123 def __mul__(self, *args):
3125 __mul__(VectorKD self, double s) -> VectorKD
3126 __mul__(VectorKD self, VectorKD o) -> double
3128 return _IMP_algebra.VectorKD___mul__(self, *args)
3131 def __init__(self, *args):
3133 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3134 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3135 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3136 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3137 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3138 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3139 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3140 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3142 this = _IMP_algebra.new_VectorKD(*args)
3144 self.this.append(this)
3145 except __builtin__.Exception:
3148 def __getitem__(self, index):
3149 """__getitem__(VectorKD self, unsigned int index) -> double"""
3150 return _IMP_algebra.VectorKD___getitem__(self, index)
3153 def __setitem__(self, index, val):
3154 """__setitem__(VectorKD self, unsigned int index, double val)"""
3155 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3158 def __iadd__(self, *args):
3159 _IMP_algebra.VectorKD___iadd__(self, *args)
3164 def __imul__(self, *args):
3165 _IMP_algebra.VectorKD___imul__(self, *args)
3170 def __idiv__(self, *args):
3171 _IMP_algebra.VectorKD___idiv__(self, *args)
3176 def __isub__(self, *args):
3177 _IMP_algebra.VectorKD___isub__(self, *args)
3183 """__len__(VectorKD self) -> unsigned int"""
3184 return _IMP_algebra.VectorKD___len__(self)
3187 def __rmul__(self, f):
3188 """__rmul__(VectorKD self, double f) -> VectorKD"""
3189 return _IMP_algebra.VectorKD___rmul__(self, f)
3193 """__str__(VectorKD self) -> std::string"""
3194 return _IMP_algebra.VectorKD___str__(self)
3198 """__repr__(VectorKD self) -> std::string"""
3199 return _IMP_algebra.VectorKD___repr__(self)
3202 def __cmp__(self, arg2):
3203 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3204 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3207 def __eq__(self, arg2):
3208 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3209 return _IMP_algebra.VectorKD___eq__(self, arg2)
3212 __truediv__ = __div__
3213 __itruediv__ = __idiv__
3215 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3216 __del__ =
lambda self:
None
3217 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3218 VectorKD_swigregister(VectorKD)
3221 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3223 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3225 def get_dimension(self):
3226 """get_dimension(BoundingBox1D self) -> unsigned int"""
3227 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3230 def get_corner(self, i):
3231 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3232 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3235 def get_contains(self, *args):
3237 get_contains(BoundingBox1D self, Vector1D o) -> bool
3238 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3240 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3243 def show(self, *args):
3245 show(BoundingBox1D self, _ostream out)
3246 show(BoundingBox1D self)
3248 return _IMP_algebra.BoundingBox1D_show(self, *args)
3252 """__str__(BoundingBox1D self) -> std::string"""
3253 return _IMP_algebra.BoundingBox1D___str__(self)
3257 """__repr__(BoundingBox1D self) -> std::string"""
3258 return _IMP_algebra.BoundingBox1D___repr__(self)
3261 def __cmp__(self, arg2):
3262 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3263 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3266 def __eq__(self, arg2):
3267 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3268 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3271 def __init__(self, *args):
3273 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3274 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3275 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3276 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3277 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3279 this = _IMP_algebra.new_BoundingBox1D(*args)
3281 self.this.append(this)
3282 except __builtin__.Exception:
3285 def __getitem__(self, index):
3286 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3287 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3290 def __iadd__(self, *args):
3291 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3297 """__len__(BoundingBox1D self) -> unsigned int"""
3298 return _IMP_algebra.BoundingBox1D___len__(self)
3301 def __add__(self, *args):
3303 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3304 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3305 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3307 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3309 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3310 __del__ =
lambda self:
None
3311 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3312 BoundingBox1D_swigregister(BoundingBox1D)
3315 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3317 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3319 def get_dimension(self):
3320 """get_dimension(BoundingBox2D self) -> unsigned int"""
3321 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3324 def get_corner(self, i):
3325 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3326 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3329 def get_contains(self, *args):
3331 get_contains(BoundingBox2D self, Vector2D o) -> bool
3332 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3334 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3337 def show(self, *args):
3339 show(BoundingBox2D self, _ostream out)
3340 show(BoundingBox2D self)
3342 return _IMP_algebra.BoundingBox2D_show(self, *args)
3346 """__str__(BoundingBox2D self) -> std::string"""
3347 return _IMP_algebra.BoundingBox2D___str__(self)
3351 """__repr__(BoundingBox2D self) -> std::string"""
3352 return _IMP_algebra.BoundingBox2D___repr__(self)
3355 def __cmp__(self, arg2):
3356 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3357 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3360 def __eq__(self, arg2):
3361 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3362 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3365 def __init__(self, *args):
3367 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3368 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3369 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3370 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3371 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3373 this = _IMP_algebra.new_BoundingBox2D(*args)
3375 self.this.append(this)
3376 except __builtin__.Exception:
3379 def __getitem__(self, index):
3380 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3381 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3384 def __iadd__(self, *args):
3385 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3391 """__len__(BoundingBox2D self) -> unsigned int"""
3392 return _IMP_algebra.BoundingBox2D___len__(self)
3395 def __add__(self, *args):
3397 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3398 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3399 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3401 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3403 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3404 __del__ =
lambda self:
None
3405 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3406 BoundingBox2D_swigregister(BoundingBox2D)
3409 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3413 def get_dimension(self):
3414 """get_dimension(BoundingBox3D self) -> unsigned int"""
3415 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3418 def get_corner(self, i):
3419 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3420 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3423 def get_contains(self, *args):
3425 get_contains(BoundingBox3D self, Vector3D o) -> bool
3426 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3428 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3431 def show(self, *args):
3433 show(BoundingBox3D self, _ostream out)
3434 show(BoundingBox3D self)
3436 return _IMP_algebra.BoundingBox3D_show(self, *args)
3440 """__str__(BoundingBox3D self) -> std::string"""
3441 return _IMP_algebra.BoundingBox3D___str__(self)
3445 """__repr__(BoundingBox3D self) -> std::string"""
3446 return _IMP_algebra.BoundingBox3D___repr__(self)
3449 def __cmp__(self, arg2):
3450 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3451 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3454 def __eq__(self, arg2):
3455 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3456 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3459 def __init__(self, *args):
3461 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3462 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3463 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3464 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3465 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3467 this = _IMP_algebra.new_BoundingBox3D(*args)
3469 self.this.append(this)
3470 except __builtin__.Exception:
3473 def __getitem__(self, index):
3474 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3475 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3478 def __iadd__(self, *args):
3479 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3485 """__len__(BoundingBox3D self) -> unsigned int"""
3486 return _IMP_algebra.BoundingBox3D___len__(self)
3489 def __add__(self, *args):
3491 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3492 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3493 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3495 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3497 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3498 __del__ =
lambda self:
None
3499 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3500 BoundingBox3D_swigregister(BoundingBox3D)
3503 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3505 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3507 def get_dimension(self):
3508 """get_dimension(BoundingBox4D self) -> unsigned int"""
3509 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3512 def get_corner(self, i):
3513 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3514 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3517 def get_contains(self, *args):
3519 get_contains(BoundingBox4D self, Vector4D o) -> bool
3520 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3522 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3525 def show(self, *args):
3527 show(BoundingBox4D self, _ostream out)
3528 show(BoundingBox4D self)
3530 return _IMP_algebra.BoundingBox4D_show(self, *args)
3534 """__str__(BoundingBox4D self) -> std::string"""
3535 return _IMP_algebra.BoundingBox4D___str__(self)
3539 """__repr__(BoundingBox4D self) -> std::string"""
3540 return _IMP_algebra.BoundingBox4D___repr__(self)
3543 def __cmp__(self, arg2):
3544 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3545 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3548 def __eq__(self, arg2):
3549 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3550 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3553 def __init__(self, *args):
3555 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3556 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3557 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3558 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3559 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3561 this = _IMP_algebra.new_BoundingBox4D(*args)
3563 self.this.append(this)
3564 except __builtin__.Exception:
3567 def __getitem__(self, index):
3568 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3569 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3572 def __iadd__(self, *args):
3573 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3579 """__len__(BoundingBox4D self) -> unsigned int"""
3580 return _IMP_algebra.BoundingBox4D___len__(self)
3583 def __add__(self, *args):
3585 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3586 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3587 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3589 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3591 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3592 __del__ =
lambda self:
None
3593 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3594 BoundingBox4D_swigregister(BoundingBox4D)
3597 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3599 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3601 def get_dimension(self):
3602 """get_dimension(BoundingBox5D self) -> unsigned int"""
3603 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3606 def get_corner(self, i):
3607 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3608 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3611 def get_contains(self, *args):
3613 get_contains(BoundingBox5D self, Vector5D o) -> bool
3614 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3616 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3619 def show(self, *args):
3621 show(BoundingBox5D self, _ostream out)
3622 show(BoundingBox5D self)
3624 return _IMP_algebra.BoundingBox5D_show(self, *args)
3628 """__str__(BoundingBox5D self) -> std::string"""
3629 return _IMP_algebra.BoundingBox5D___str__(self)
3633 """__repr__(BoundingBox5D self) -> std::string"""
3634 return _IMP_algebra.BoundingBox5D___repr__(self)
3637 def __cmp__(self, arg2):
3638 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3639 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3642 def __eq__(self, arg2):
3643 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3644 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3647 def __init__(self, *args):
3649 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3650 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3651 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3652 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3653 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3655 this = _IMP_algebra.new_BoundingBox5D(*args)
3657 self.this.append(this)
3658 except __builtin__.Exception:
3661 def __getitem__(self, index):
3662 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3663 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3666 def __iadd__(self, *args):
3667 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3673 """__len__(BoundingBox5D self) -> unsigned int"""
3674 return _IMP_algebra.BoundingBox5D___len__(self)
3677 def __add__(self, *args):
3679 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3680 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3681 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3683 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3685 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3686 __del__ =
lambda self:
None
3687 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3688 BoundingBox5D_swigregister(BoundingBox5D)
3691 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3695 def get_dimension(self):
3696 """get_dimension(BoundingBox6D self) -> unsigned int"""
3697 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3700 def get_corner(self, i):
3701 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3702 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3705 def get_contains(self, *args):
3707 get_contains(BoundingBox6D self, Vector6D o) -> bool
3708 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3710 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3713 def show(self, *args):
3715 show(BoundingBox6D self, _ostream out)
3716 show(BoundingBox6D self)
3718 return _IMP_algebra.BoundingBox6D_show(self, *args)
3722 """__str__(BoundingBox6D self) -> std::string"""
3723 return _IMP_algebra.BoundingBox6D___str__(self)
3727 """__repr__(BoundingBox6D self) -> std::string"""
3728 return _IMP_algebra.BoundingBox6D___repr__(self)
3731 def __cmp__(self, arg2):
3732 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3733 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3736 def __eq__(self, arg2):
3737 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3738 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3741 def __init__(self, *args):
3743 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3744 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3745 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3746 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3747 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3749 this = _IMP_algebra.new_BoundingBox6D(*args)
3751 self.this.append(this)
3752 except __builtin__.Exception:
3755 def __getitem__(self, index):
3756 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3757 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3760 def __iadd__(self, *args):
3761 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3767 """__len__(BoundingBox6D self) -> unsigned int"""
3768 return _IMP_algebra.BoundingBox6D___len__(self)
3771 def __add__(self, *args):
3773 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3774 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3775 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3777 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3779 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3780 __del__ =
lambda self:
None
3781 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3782 BoundingBox6D_swigregister(BoundingBox6D)
3785 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3787 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3789 def get_dimension(self):
3790 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3791 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3794 def get_corner(self, i):
3795 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3796 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3799 def get_contains(self, *args):
3801 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3802 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3804 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3807 def show(self, *args):
3809 show(BoundingBoxKD self, _ostream out)
3810 show(BoundingBoxKD self)
3812 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3816 """__str__(BoundingBoxKD self) -> std::string"""
3817 return _IMP_algebra.BoundingBoxKD___str__(self)
3821 """__repr__(BoundingBoxKD self) -> std::string"""
3822 return _IMP_algebra.BoundingBoxKD___repr__(self)
3825 def __cmp__(self, arg2):
3826 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3827 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3830 def __eq__(self, arg2):
3831 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3832 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3835 def __init__(self, *args):
3837 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3838 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3839 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3840 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3841 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3843 this = _IMP_algebra.new_BoundingBoxKD(*args)
3845 self.this.append(this)
3846 except __builtin__.Exception:
3849 def __getitem__(self, index):
3850 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3851 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3854 def __iadd__(self, *args):
3855 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3861 """__len__(BoundingBoxKD self) -> unsigned int"""
3862 return _IMP_algebra.BoundingBoxKD___len__(self)
3865 def __add__(self, *args):
3867 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3868 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3869 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3871 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3873 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3874 __del__ =
lambda self:
None
3875 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3876 BoundingBoxKD_swigregister(BoundingBoxKD)
3878 class Sphere1D(_GeometricPrimitive1D):
3879 """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3883 def __init__(self, *args):
3885 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3886 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3888 this = _IMP_algebra.new_Sphere1D(*args)
3890 self.this.append(this)
3891 except __builtin__.Exception:
3894 def get_radius(self):
3895 """get_radius(Sphere1D self) -> double"""
3896 return _IMP_algebra.Sphere1D_get_radius(self)
3899 def get_center(self):
3900 """get_center(Sphere1D self) -> Vector1D"""
3901 return _IMP_algebra.Sphere1D_get_center(self)
3904 def get_contains(self, *args):
3906 get_contains(Sphere1D self, Sphere1D o) -> bool
3907 get_contains(Sphere1D self, Vector1D p) -> bool
3909 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3912 def show(self, *args):
3914 show(Sphere1D self, _ostream out)
3917 return _IMP_algebra.Sphere1D_show(self, *args)
3920 def get_dimension(self):
3921 """get_dimension(Sphere1D self) -> unsigned int"""
3922 return _IMP_algebra.Sphere1D_get_dimension(self)
3926 """__str__(Sphere1D self) -> std::string"""
3927 return _IMP_algebra.Sphere1D___str__(self)
3931 """__repr__(Sphere1D self) -> std::string"""
3932 return _IMP_algebra.Sphere1D___repr__(self)
3935 def __cmp__(self, arg2):
3936 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3937 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3940 def __eq__(self, arg2):
3941 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3942 return _IMP_algebra.Sphere1D___eq__(self, arg2)
3944 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3945 __del__ =
lambda self:
None
3946 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3947 Sphere1D_swigregister(Sphere1D)
3949 class Sphere2D(_GeometricPrimitive2D):
3950 """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3952 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3954 def __init__(self, *args):
3956 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3957 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3959 this = _IMP_algebra.new_Sphere2D(*args)
3961 self.this.append(this)
3962 except __builtin__.Exception:
3965 def get_radius(self):
3966 """get_radius(Sphere2D self) -> double"""
3967 return _IMP_algebra.Sphere2D_get_radius(self)
3970 def get_center(self):
3971 """get_center(Sphere2D self) -> Vector2D"""
3972 return _IMP_algebra.Sphere2D_get_center(self)
3975 def get_contains(self, *args):
3977 get_contains(Sphere2D self, Sphere2D o) -> bool
3978 get_contains(Sphere2D self, Vector2D p) -> bool
3980 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3983 def show(self, *args):
3985 show(Sphere2D self, _ostream out)
3988 return _IMP_algebra.Sphere2D_show(self, *args)
3991 def get_dimension(self):
3992 """get_dimension(Sphere2D self) -> unsigned int"""
3993 return _IMP_algebra.Sphere2D_get_dimension(self)
3997 """__str__(Sphere2D self) -> std::string"""
3998 return _IMP_algebra.Sphere2D___str__(self)
4002 """__repr__(Sphere2D self) -> std::string"""
4003 return _IMP_algebra.Sphere2D___repr__(self)
4006 def __cmp__(self, arg2):
4007 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4008 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4011 def __eq__(self, arg2):
4012 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4013 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4015 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4016 __del__ =
lambda self:
None
4017 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4018 Sphere2D_swigregister(Sphere2D)
4020 class Sphere3D(_GeometricPrimitive3D):
4021 """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4023 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4025 def __init__(self, *args):
4027 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4028 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4030 this = _IMP_algebra.new_Sphere3D(*args)
4032 self.this.append(this)
4033 except __builtin__.Exception:
4036 def get_radius(self):
4037 """get_radius(Sphere3D self) -> double"""
4038 return _IMP_algebra.Sphere3D_get_radius(self)
4041 def get_center(self):
4042 """get_center(Sphere3D self) -> Vector3D"""
4043 return _IMP_algebra.Sphere3D_get_center(self)
4046 def get_contains(self, *args):
4048 get_contains(Sphere3D self, Sphere3D o) -> bool
4049 get_contains(Sphere3D self, Vector3D p) -> bool
4051 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4054 def show(self, *args):
4056 show(Sphere3D self, _ostream out)
4059 return _IMP_algebra.Sphere3D_show(self, *args)
4062 def get_dimension(self):
4063 """get_dimension(Sphere3D self) -> unsigned int"""
4064 return _IMP_algebra.Sphere3D_get_dimension(self)
4068 """__str__(Sphere3D self) -> std::string"""
4069 return _IMP_algebra.Sphere3D___str__(self)
4073 """__repr__(Sphere3D self) -> std::string"""
4074 return _IMP_algebra.Sphere3D___repr__(self)
4077 def __cmp__(self, arg2):
4078 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4079 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4082 def __eq__(self, arg2):
4083 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4084 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4086 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4087 __del__ =
lambda self:
None
4088 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4089 Sphere3D_swigregister(Sphere3D)
4091 class Sphere4D(_GeometricPrimitive4D):
4092 """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4096 def __init__(self, *args):
4098 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4099 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4101 this = _IMP_algebra.new_Sphere4D(*args)
4103 self.this.append(this)
4104 except __builtin__.Exception:
4107 def get_radius(self):
4108 """get_radius(Sphere4D self) -> double"""
4109 return _IMP_algebra.Sphere4D_get_radius(self)
4112 def get_center(self):
4113 """get_center(Sphere4D self) -> Vector4D"""
4114 return _IMP_algebra.Sphere4D_get_center(self)
4117 def get_contains(self, *args):
4119 get_contains(Sphere4D self, Sphere4D o) -> bool
4120 get_contains(Sphere4D self, Vector4D p) -> bool
4122 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4125 def show(self, *args):
4127 show(Sphere4D self, _ostream out)
4130 return _IMP_algebra.Sphere4D_show(self, *args)
4133 def get_dimension(self):
4134 """get_dimension(Sphere4D self) -> unsigned int"""
4135 return _IMP_algebra.Sphere4D_get_dimension(self)
4139 """__str__(Sphere4D self) -> std::string"""
4140 return _IMP_algebra.Sphere4D___str__(self)
4144 """__repr__(Sphere4D self) -> std::string"""
4145 return _IMP_algebra.Sphere4D___repr__(self)
4148 def __cmp__(self, arg2):
4149 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4150 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4153 def __eq__(self, arg2):
4154 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4155 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4157 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4158 __del__ =
lambda self:
None
4159 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4160 Sphere4D_swigregister(Sphere4D)
4162 class Sphere5D(_GeometricPrimitive5D):
4163 """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4167 def __init__(self, *args):
4169 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4170 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4172 this = _IMP_algebra.new_Sphere5D(*args)
4174 self.this.append(this)
4175 except __builtin__.Exception:
4178 def get_radius(self):
4179 """get_radius(Sphere5D self) -> double"""
4180 return _IMP_algebra.Sphere5D_get_radius(self)
4183 def get_center(self):
4184 """get_center(Sphere5D self) -> Vector5D"""
4185 return _IMP_algebra.Sphere5D_get_center(self)
4188 def get_contains(self, *args):
4190 get_contains(Sphere5D self, Sphere5D o) -> bool
4191 get_contains(Sphere5D self, Vector5D p) -> bool
4193 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4196 def show(self, *args):
4198 show(Sphere5D self, _ostream out)
4201 return _IMP_algebra.Sphere5D_show(self, *args)
4204 def get_dimension(self):
4205 """get_dimension(Sphere5D self) -> unsigned int"""
4206 return _IMP_algebra.Sphere5D_get_dimension(self)
4210 """__str__(Sphere5D self) -> std::string"""
4211 return _IMP_algebra.Sphere5D___str__(self)
4215 """__repr__(Sphere5D self) -> std::string"""
4216 return _IMP_algebra.Sphere5D___repr__(self)
4219 def __cmp__(self, arg2):
4220 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4221 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4224 def __eq__(self, arg2):
4225 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4226 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4228 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4229 __del__ =
lambda self:
None
4230 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4231 Sphere5D_swigregister(Sphere5D)
4233 class Sphere6D(_GeometricPrimitive6D):
4234 """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4236 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4238 def __init__(self, *args):
4240 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4241 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4243 this = _IMP_algebra.new_Sphere6D(*args)
4245 self.this.append(this)
4246 except __builtin__.Exception:
4249 def get_radius(self):
4250 """get_radius(Sphere6D self) -> double"""
4251 return _IMP_algebra.Sphere6D_get_radius(self)
4254 def get_center(self):
4255 """get_center(Sphere6D self) -> Vector6D"""
4256 return _IMP_algebra.Sphere6D_get_center(self)
4259 def get_contains(self, *args):
4261 get_contains(Sphere6D self, Sphere6D o) -> bool
4262 get_contains(Sphere6D self, Vector6D p) -> bool
4264 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4267 def show(self, *args):
4269 show(Sphere6D self, _ostream out)
4272 return _IMP_algebra.Sphere6D_show(self, *args)
4275 def get_dimension(self):
4276 """get_dimension(Sphere6D self) -> unsigned int"""
4277 return _IMP_algebra.Sphere6D_get_dimension(self)
4281 """__str__(Sphere6D self) -> std::string"""
4282 return _IMP_algebra.Sphere6D___str__(self)
4286 """__repr__(Sphere6D self) -> std::string"""
4287 return _IMP_algebra.Sphere6D___repr__(self)
4290 def __cmp__(self, arg2):
4291 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4292 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4295 def __eq__(self, arg2):
4296 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4297 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4299 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4300 __del__ =
lambda self:
None
4301 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4302 Sphere6D_swigregister(Sphere6D)
4304 class SphereKD(_GeometricPrimitiveKD):
4305 """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4307 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4309 def __init__(self, *args):
4311 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4312 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4314 this = _IMP_algebra.new_SphereKD(*args)
4316 self.this.append(this)
4317 except __builtin__.Exception:
4320 def get_radius(self):
4321 """get_radius(SphereKD self) -> double"""
4322 return _IMP_algebra.SphereKD_get_radius(self)
4325 def get_center(self):
4326 """get_center(SphereKD self) -> VectorKD"""
4327 return _IMP_algebra.SphereKD_get_center(self)
4330 def get_contains(self, *args):
4332 get_contains(SphereKD self, SphereKD o) -> bool
4333 get_contains(SphereKD self, VectorKD p) -> bool
4335 return _IMP_algebra.SphereKD_get_contains(self, *args)
4338 def show(self, *args):
4340 show(SphereKD self, _ostream out)
4343 return _IMP_algebra.SphereKD_show(self, *args)
4346 def get_dimension(self):
4347 """get_dimension(SphereKD self) -> unsigned int"""
4348 return _IMP_algebra.SphereKD_get_dimension(self)
4352 """__str__(SphereKD self) -> std::string"""
4353 return _IMP_algebra.SphereKD___str__(self)
4357 """__repr__(SphereKD self) -> std::string"""
4358 return _IMP_algebra.SphereKD___repr__(self)
4361 def __cmp__(self, arg2):
4362 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4363 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4366 def __eq__(self, arg2):
4367 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4368 return _IMP_algebra.SphereKD___eq__(self, arg2)
4370 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4371 __del__ =
lambda self:
None
4372 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4373 SphereKD_swigregister(SphereKD)
4375 class ReferenceFrame3D(object):
4376 """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4380 def __init__(self, *args):
4382 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4383 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4385 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4387 self.this.append(this)
4388 except __builtin__.Exception:
4390 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4391 __del__ =
lambda self:
None
4393 def get_transformation_to(self):
4394 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4395 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4398 def get_transformation_from(self):
4399 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4400 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4403 def get_global_coordinates(self, v):
4404 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4405 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4408 def get_local_coordinates(self, v):
4409 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4410 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4413 def get_global_reference_frame(self, v):
4414 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4415 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4418 def get_local_reference_frame(self, v):
4419 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4420 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4423 def show(self, *args):
4425 show(ReferenceFrame3D self, _ostream out)
4426 show(ReferenceFrame3D self)
4428 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4432 """__str__(ReferenceFrame3D self) -> std::string"""
4433 return _IMP_algebra.ReferenceFrame3D___str__(self)
4437 """__repr__(ReferenceFrame3D self) -> std::string"""
4438 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4440 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4441 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4444 def get_transformed(*args):
4446 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4447 get_transformed(Line3D l, Transformation3D tr) -> Line3D
4448 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4450 return _IMP_algebra.get_transformed(*args)
4452 def get_transformation_from_first_to_second(a, b):
4453 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4454 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4455 class SphericalVector3D(_GeometricPrimitive3D):
4456 """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4458 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4460 def __init__(self, *args):
4462 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4463 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4464 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4465 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4467 this = _IMP_algebra.new_SphericalVector3D(*args)
4469 self.this.append(this)
4470 except __builtin__.Exception:
4473 def get_cartesian_coordinates(self):
4474 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4475 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4478 def show(self, *args):
4480 show(SphericalVector3D self, _ostream out)
4481 show(SphericalVector3D self)
4483 return _IMP_algebra.SphericalVector3D_show(self, *args)
4487 """__str__(SphericalVector3D self) -> std::string"""
4488 return _IMP_algebra.SphericalVector3D___str__(self)
4492 """__repr__(SphericalVector3D self) -> std::string"""
4493 return _IMP_algebra.SphericalVector3D___repr__(self)
4496 def __getitem__(self, index):
4497 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4498 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4501 def __setitem__(self, index, val):
4502 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4503 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4505 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4506 __del__ =
lambda self:
None
4507 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4508 SphericalVector3D_swigregister(SphericalVector3D)
4512 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4513 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4514 class Line3D(_GeometricPrimitive3D):
4515 """Proxy of C++ IMP::algebra::Line3D class."""
4517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4519 def __init__(self, *args):
4521 __init__(IMP::algebra::Line3D self) -> Line3D
4522 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4523 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4525 this = _IMP_algebra.new_Line3D(*args)
4527 self.this.append(this)
4528 except __builtin__.Exception:
4531 def get_direction(self):
4532 """get_direction(Line3D self) -> Vector3D"""
4533 return _IMP_algebra.Line3D_get_direction(self)
4536 def get_point_on_line(self):
4537 """get_point_on_line(Line3D self) -> Vector3D"""
4538 return _IMP_algebra.Line3D_get_point_on_line(self)
4541 def get_moment(self, *args):
4543 get_moment(Line3D self) -> Vector3D
4544 get_moment(Line3D self, Vector3D v) -> Vector3D
4546 return _IMP_algebra.Line3D_get_moment(self, *args)
4549 def get_reciprocal_product(self, l):
4550 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4551 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4554 def get_opposite(self):
4555 """get_opposite(Line3D self) -> Line3D"""
4556 return _IMP_algebra.Line3D_get_opposite(self)
4559 def get_segment_starting_at(self, v, d):
4560 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4561 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4564 def show(self, *args):
4566 show(Line3D self, _ostream out)
4569 return _IMP_algebra.Line3D_show(self, *args)
4573 """__str__(Line3D self) -> std::string"""
4574 return _IMP_algebra.Line3D___str__(self)
4578 """__repr__(Line3D self) -> std::string"""
4579 return _IMP_algebra.Line3D___repr__(self)
4581 __swig_destroy__ = _IMP_algebra.delete_Line3D
4582 __del__ =
lambda self:
None
4583 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4584 Line3D_swigregister(Line3D)
4587 def get_line_3d_geometry(g):
4588 """get_line_3d_geometry(Line3D g) -> Line3D"""
4589 return _IMP_algebra.get_line_3d_geometry(g)
4593 get_projected(Line3D l, Vector3D p) -> Vector3D
4594 get_projected(Line3D l, Segment3D s) -> Segment3D
4596 return _IMP_algebra.get_projected(*args)
4599 """get_angle(Line3D a, Line3D b) -> double"""
4600 return _IMP_algebra.get_angle(a, b)
4603 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4604 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4605 class Segment3D(_GeometricPrimitive3D):
4606 """Proxy of C++ IMP::algebra::Segment3D class."""
4608 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4610 def __init__(self, *args):
4612 __init__(IMP::algebra::Segment3D self) -> Segment3D
4613 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4615 this = _IMP_algebra.new_Segment3D(*args)
4617 self.this.append(this)
4618 except __builtin__.Exception:
4621 def get_point(self, i):
4624 return _IMP_algebra.Segment3D_get_point(self, i)
4628 def get_middle_point(self):
4629 """get_middle_point(Segment3D self) -> Vector3D"""
4630 return _IMP_algebra.Segment3D_get_middle_point(self)
4633 def get_direction(self):
4634 """get_direction(Segment3D self) -> Vector3D"""
4635 return _IMP_algebra.Segment3D_get_direction(self)
4638 def get_length(self):
4639 """get_length(Segment3D self) -> double"""
4640 return _IMP_algebra.Segment3D_get_length(self)
4643 def show(self, *args):
4645 show(Segment3D self, _ostream out)
4646 show(Segment3D self)
4648 return _IMP_algebra.Segment3D_show(self, *args)
4652 """__str__(Segment3D self) -> std::string"""
4653 return _IMP_algebra.Segment3D___str__(self)
4657 """__repr__(Segment3D self) -> std::string"""
4658 return _IMP_algebra.Segment3D___repr__(self)
4660 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4661 __del__ =
lambda self:
None
4662 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4663 Segment3D_swigregister(Segment3D)
4666 def get_segment_3d_geometry(g):
4667 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4668 return _IMP_algebra.get_segment_3d_geometry(g)
4671 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4672 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4673 class Triangle3D(_GeometricPrimitive3D):
4674 """Proxy of C++ IMP::algebra::Triangle3D class."""
4676 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4678 def __init__(self, *args):
4680 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4681 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4683 this = _IMP_algebra.new_Triangle3D(*args)
4685 self.this.append(this)
4686 except __builtin__.Exception:
4689 def get_point(self, i):
4690 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4691 return _IMP_algebra.Triangle3D_get_point(self, i)
4694 def show(self, *args):
4696 show(Triangle3D self, _ostream out)
4697 show(Triangle3D self)
4699 return _IMP_algebra.Triangle3D_show(self, *args)
4702 def get_edge_lengths(self):
4703 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4704 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4708 """__str__(Triangle3D self) -> std::string"""
4709 return _IMP_algebra.Triangle3D___str__(self)
4713 """__repr__(Triangle3D self) -> std::string"""
4714 return _IMP_algebra.Triangle3D___repr__(self)
4716 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4717 __del__ =
lambda self:
None
4718 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4719 Triangle3D_swigregister(Triangle3D)
4723 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4724 return _IMP_algebra.get_largest_triangle(points)
4727 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4728 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4731 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4732 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4733 class LinearFit2D(_GeometricPrimitive2D):
4734 """Proxy of C++ IMP::algebra::LinearFit2D class."""
4736 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4738 def __init__(self, *args):
4740 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4741 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4743 this = _IMP_algebra.new_LinearFit2D(*args)
4745 self.this.append(this)
4746 except __builtin__.Exception:
4749 def get_fit_error(self):
4750 """get_fit_error(LinearFit2D self) -> double"""
4751 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4755 """get_a(LinearFit2D self) -> double"""
4756 return _IMP_algebra.LinearFit2D_get_a(self)
4760 """get_b(LinearFit2D self) -> double"""
4761 return _IMP_algebra.LinearFit2D_get_b(self)
4764 def show(self, *args):
4766 show(LinearFit2D self, _ostream out)
4767 show(LinearFit2D self)
4769 return _IMP_algebra.LinearFit2D_show(self, *args)
4773 """__str__(LinearFit2D self) -> std::string"""
4774 return _IMP_algebra.LinearFit2D___str__(self)
4778 """__repr__(LinearFit2D self) -> std::string"""
4779 return _IMP_algebra.LinearFit2D___repr__(self)
4781 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4782 __del__ =
lambda self:
None
4783 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4784 LinearFit2D_swigregister(LinearFit2D)
4786 class ParabolicFit2D(_GeometricPrimitive2D):
4787 """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4791 def __init__(self, data):
4792 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4793 this = _IMP_algebra.new_ParabolicFit2D(data)
4795 self.this.append(this)
4796 except __builtin__.Exception:
4799 def get_fit_error(self):
4800 """get_fit_error(ParabolicFit2D self) -> double"""
4801 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4805 """get_a(ParabolicFit2D self) -> double"""
4806 return _IMP_algebra.ParabolicFit2D_get_a(self)
4810 """get_b(ParabolicFit2D self) -> double"""
4811 return _IMP_algebra.ParabolicFit2D_get_b(self)
4815 """get_c(ParabolicFit2D self) -> double"""
4816 return _IMP_algebra.ParabolicFit2D_get_c(self)
4819 def show(self, *args):
4821 show(ParabolicFit2D self, _ostream out)
4822 show(ParabolicFit2D self)
4824 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4828 """__str__(ParabolicFit2D self) -> std::string"""
4829 return _IMP_algebra.ParabolicFit2D___str__(self)
4833 """__repr__(ParabolicFit2D self) -> std::string"""
4834 return _IMP_algebra.ParabolicFit2D___repr__(self)
4836 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4837 __del__ =
lambda self:
None
4838 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4839 ParabolicFit2D_swigregister(ParabolicFit2D)
4841 class Plane3D(_GeometricPrimitive3D):
4842 """Proxy of C++ IMP::algebra::Plane3D class."""
4844 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4846 def __init__(self, *args):
4848 __init__(IMP::algebra::Plane3D self) -> Plane3D
4849 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4850 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4852 this = _IMP_algebra.new_Plane3D(*args)
4854 self.this.append(this)
4855 except __builtin__.Exception:
4858 def get_point_on_plane(self):
4859 """get_point_on_plane(Plane3D self) -> Vector3D"""
4860 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4863 def get_normal(self):
4864 """get_normal(Plane3D self) -> Vector3D"""
4865 return _IMP_algebra.Plane3D_get_normal(self)
4869 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4870 return _IMP_algebra.Plane3D_get_projected(self, p)
4873 def get_is_above(self, p):
4874 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4875 return _IMP_algebra.Plane3D_get_is_above(self, p)
4878 def get_is_below(self, p):
4879 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4880 return _IMP_algebra.Plane3D_get_is_below(self, p)
4884 """get_height(Plane3D self, Vector3D p) -> double"""
4885 return _IMP_algebra.Plane3D_get_height(self, p)
4888 def show(self, *args):
4890 show(Plane3D self, _ostream out)
4893 return _IMP_algebra.Plane3D_show(self, *args)
4896 def get_opposite(self):
4897 """get_opposite(Plane3D self) -> Plane3D"""
4898 return _IMP_algebra.Plane3D_get_opposite(self)
4901 def get_distance_from_origin(self):
4902 """get_distance_from_origin(Plane3D self) -> double"""
4903 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4907 """__str__(Plane3D self) -> std::string"""
4908 return _IMP_algebra.Plane3D___str__(self)
4912 """__repr__(Plane3D self) -> std::string"""
4913 return _IMP_algebra.Plane3D___repr__(self)
4915 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4916 __del__ =
lambda self:
None
4917 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4918 Plane3D_swigregister(Plane3D)
4922 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4923 return _IMP_algebra.get_reflected(pln, p)
4925 def get_plane_3d_geometry(g):
4926 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4927 return _IMP_algebra.get_plane_3d_geometry(g)
4928 class Reflection3D(_GeometricPrimitive3D):
4929 """Proxy of C++ IMP::algebra::Reflection3D class."""
4931 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4933 def __init__(self, *args):
4935 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4936 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4938 this = _IMP_algebra.new_Reflection3D(*args)
4940 self.this.append(this)
4941 except __builtin__.Exception:
4945 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4946 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4949 def show(self, *args):
4951 show(Reflection3D self, _ostream out)
4952 show(Reflection3D self)
4954 return _IMP_algebra.Reflection3D_show(self, *args)
4958 """__str__(Reflection3D self) -> std::string"""
4959 return _IMP_algebra.Reflection3D___str__(self)
4963 """__repr__(Reflection3D self) -> std::string"""
4964 return _IMP_algebra.Reflection3D___repr__(self)
4966 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4967 __del__ =
lambda self:
None
4968 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4969 Reflection3D_swigregister(Reflection3D)
4971 class Cylinder3D(_GeometricPrimitive3D):
4972 """Proxy of C++ IMP::algebra::Cylinder3D class."""
4974 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4976 def __init__(self, *args):
4978 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4979 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4981 this = _IMP_algebra.new_Cylinder3D(*args)
4983 self.this.append(this)
4984 except __builtin__.Exception:
4987 def get_radius(self):
4988 """get_radius(Cylinder3D self) -> double"""
4989 return _IMP_algebra.Cylinder3D_get_radius(self)
4993 """get_segment(Cylinder3D self) -> Segment3D"""
4994 return _IMP_algebra.Cylinder3D_get_segment(self)
4997 def get_surface_point_at(self, relative_height, angle):
4998 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4999 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5002 def get_inner_point_at(self, relative_height, relative_radius, angle):
5003 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5004 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5007 def show(self, *args):
5009 show(Cylinder3D self, _ostream out)
5010 show(Cylinder3D self)
5012 return _IMP_algebra.Cylinder3D_show(self, *args)
5016 """__str__(Cylinder3D self) -> std::string"""
5017 return _IMP_algebra.Cylinder3D___str__(self)
5021 """__repr__(Cylinder3D self) -> std::string"""
5022 return _IMP_algebra.Cylinder3D___repr__(self)
5024 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5025 __del__ =
lambda self:
None
5026 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5027 Cylinder3D_swigregister(Cylinder3D)
5030 def get_cylinder_3d_geometry(g):
5031 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5032 return _IMP_algebra.get_cylinder_3d_geometry(g)
5033 class Ellipsoid3D(_GeometricPrimitive3D):
5034 """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5036 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5038 def __init__(self, *args):
5040 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5041 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5042 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5044 this = _IMP_algebra.new_Ellipsoid3D(*args)
5046 self.this.append(this)
5047 except __builtin__.Exception:
5050 def get_radii(self):
5051 """get_radii(Ellipsoid3D self) -> Vector3D"""
5052 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5055 def get_reference_frame(self):
5056 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5057 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5060 def show(self, *args):
5062 show(Ellipsoid3D self, _ostream out)
5063 show(Ellipsoid3D self)
5065 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5069 """__str__(Ellipsoid3D self) -> std::string"""
5070 return _IMP_algebra.Ellipsoid3D___str__(self)
5074 """__repr__(Ellipsoid3D self) -> std::string"""
5075 return _IMP_algebra.Ellipsoid3D___repr__(self)
5077 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5078 __del__ =
lambda self:
None
5079 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5080 Ellipsoid3D_swigregister(Ellipsoid3D)
5083 def get_ellipsoid_3d_geometry(g):
5084 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5085 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5086 class ConnollySurfacePoint(object):
5087 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5089 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5091 def __init__(self, a0, a1, a2, sp, a, n):
5092 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5093 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5095 self.this.append(this)
5096 except __builtin__.Exception:
5100 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5101 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5104 def get_surface_point(self):
5105 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5106 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5110 """get_area(ConnollySurfacePoint self) -> double"""
5111 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5114 def get_normal(self):
5115 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5116 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5119 def show(self, *args):
5121 show(ConnollySurfacePoint self, _ostream out)
5122 show(ConnollySurfacePoint self)
5124 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5128 """__str__(ConnollySurfacePoint self) -> std::string"""
5129 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5133 """__repr__(ConnollySurfacePoint self) -> std::string"""
5134 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5136 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5137 __del__ =
lambda self:
None
5138 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5139 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5143 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5144 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5145 class LogEmbedding3D(object):
5146 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5148 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5150 def __init__(self, *args):
5152 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5153 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5154 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5155 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5156 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5158 this = _IMP_algebra.new_LogEmbedding3D(*args)
5160 self.this.append(this)
5161 except __builtin__.Exception:
5164 def set_origin(self, o):
5165 """set_origin(LogEmbedding3D self, Vector3D o)"""
5166 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5169 def get_origin(self):
5170 """get_origin(LogEmbedding3D self) -> Vector3D"""
5171 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5174 def get_dimension(self):
5175 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5176 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5179 def set_unit_cell(self, *args):
5181 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5182 set_unit_cell(LogEmbedding3D self, Vector3D o)
5184 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5187 def get_unit_cell(self):
5188 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5189 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5192 def get_extended_index(self, o):
5193 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5194 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5198 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5199 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5202 def get_center(self, *args):
5204 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5205 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5207 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5210 def get_bounding_box(self, *args):
5212 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5213 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5215 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5218 def show(self, *args):
5220 show(LogEmbedding3D self, _ostream out)
5221 show(LogEmbedding3D self)
5223 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5227 """__str__(LogEmbedding3D self) -> std::string"""
5228 return _IMP_algebra.LogEmbedding3D___str__(self)
5232 """__repr__(LogEmbedding3D self) -> std::string"""
5233 return _IMP_algebra.LogEmbedding3D___repr__(self)
5236 def __cmp__(self, arg2):
5237 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5238 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5241 def __eq__(self, arg2):
5242 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5243 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5245 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5246 __del__ =
lambda self:
None
5247 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5248 LogEmbedding3D_swigregister(LogEmbedding3D)
5250 class LogEmbeddingKD(object):
5251 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5253 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5255 def __init__(self, *args):
5257 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5258 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5259 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5260 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5261 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5263 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5265 self.this.append(this)
5266 except __builtin__.Exception:
5269 def set_origin(self, o):
5270 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5271 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5274 def get_origin(self):
5275 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5276 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5279 def get_dimension(self):
5280 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5281 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5284 def set_unit_cell(self, *args):
5286 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5287 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5289 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5292 def get_unit_cell(self):
5293 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5294 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5297 def get_extended_index(self, o):
5298 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5299 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5303 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5304 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5307 def get_center(self, *args):
5309 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5310 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5312 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5315 def get_bounding_box(self, *args):
5317 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5318 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5320 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5323 def show(self, *args):
5325 show(LogEmbeddingKD self, _ostream out)
5326 show(LogEmbeddingKD self)
5328 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5332 """__str__(LogEmbeddingKD self) -> std::string"""
5333 return _IMP_algebra.LogEmbeddingKD___str__(self)
5337 """__repr__(LogEmbeddingKD self) -> std::string"""
5338 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5341 def __cmp__(self, arg2):
5342 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5343 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5346 def __eq__(self, arg2):
5347 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5348 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5350 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5351 __del__ =
lambda self:
None
5352 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5353 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5355 class DenseFloatLogGridKD(object):
5356 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5358 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5360 def __init__(self, sz, le):
5361 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5362 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5364 self.this.append(this)
5365 except __builtin__.Exception:
5368 def add_voxel(self, i, q):
5369 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5370 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5373 def __getitem__(self, *args):
5375 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5376 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5378 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5381 def __setitem__(self, *args):
5383 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5384 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5386 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5389 def get_bounding_box(self, *args):
5391 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5392 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5394 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5399 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5400 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5402 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5405 def get_all_indexes(self):
5406 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5407 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5410 def get_extended_indexes(self, *args):
5412 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5413 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5415 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5418 def get_center(self, *args):
5420 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5421 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5423 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5426 def get_extended_index(self, v):
5427 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5428 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5432 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5433 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5436 def get_origin(self):
5437 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5438 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5441 def get_dimension(self):
5442 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5443 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5446 def get_unit_cell(self):
5447 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5448 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5451 def get_has_index(self, v):
5452 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5453 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5457 """__str__(DenseFloatLogGridKD self) -> std::string"""
5458 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5462 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5463 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5466 def show(self, *args):
5468 show(DenseFloatLogGridKD self, _ostream out)
5469 show(DenseFloatLogGridKD self)
5471 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5473 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5474 __del__ =
lambda self:
None
5475 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5476 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5478 class DenseIntLogGrid3D(object):
5479 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5483 def __init__(self, sz, le):
5484 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5485 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5487 self.this.append(this)
5488 except __builtin__.Exception:
5491 def add_voxel(self, i, q):
5492 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5493 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5496 def __getitem__(self, *args):
5498 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5499 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5501 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5504 def __setitem__(self, *args):
5506 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5507 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5509 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5512 def get_bounding_box(self, *args):
5514 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5515 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5517 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5522 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5523 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5525 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5528 def get_all_indexes(self):
5529 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5530 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5533 def get_extended_indexes(self, *args):
5535 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5536 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5538 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5541 def get_center(self, *args):
5543 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5544 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5546 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5549 def get_extended_index(self, v):
5550 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5551 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5555 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5556 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5559 def get_origin(self):
5560 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5561 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5564 def get_dimension(self):
5565 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5566 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5569 def get_unit_cell(self):
5570 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5571 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5574 def get_has_index(self, v):
5575 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5576 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5580 """__str__(DenseIntLogGrid3D self) -> std::string"""
5581 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5585 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5586 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5589 def show(self, *args):
5591 show(DenseIntLogGrid3D self, _ostream out)
5592 show(DenseIntLogGrid3D self)
5594 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5596 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5597 __del__ =
lambda self:
None
5598 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5599 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5602 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5606 def __init__(self, *args):
5608 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5609 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5610 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5612 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5614 self.this.append(this)
5615 except __builtin__.Exception:
5618 def add_voxel(self, i, q):
5619 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5620 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5623 def __getitem__(self, *args):
5625 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5626 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5628 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5631 def __setitem__(self, *args):
5633 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5634 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5636 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5639 def get_bounding_box(self, *args):
5641 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5642 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5644 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5649 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5650 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5652 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5655 def get_all_indexes(self):
5656 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5657 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5660 def get_extended_indexes(self, *args):
5662 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5663 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5665 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5668 def get_center(self, *args):
5670 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5671 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5673 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5676 def get_extended_index(self, v):
5677 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5678 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5682 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5683 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5686 def get_origin(self):
5687 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5688 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5691 def get_dimension(self):
5692 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5693 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5696 def get_unit_cell(self):
5697 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5698 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5701 def get_has_index(self, v):
5702 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5703 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5707 """__str__(DenseDoubleGrid3D self) -> std::string"""
5708 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5712 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5713 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5716 def show(self, *args):
5718 show(DenseDoubleGrid3D self, _ostream out)
5719 show(DenseDoubleGrid3D self)
5721 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5723 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5724 __del__ =
lambda self:
None
5725 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5726 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5729 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5733 def __init__(self, *args):
5735 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5736 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5737 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5739 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5741 self.this.append(this)
5742 except __builtin__.Exception:
5745 def add_voxel(self, i, q):
5746 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5747 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5750 def __getitem__(self, *args):
5752 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5753 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5755 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5758 def __setitem__(self, *args):
5760 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5761 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5763 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5766 def get_bounding_box(self, *args):
5768 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5769 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5771 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5776 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5777 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5779 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5782 def get_all_indexes(self):
5783 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5784 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5787 def get_extended_indexes(self, *args):
5789 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5790 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5792 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5795 def get_center(self, *args):
5797 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5798 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5800 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5803 def get_extended_index(self, v):
5804 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5805 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5809 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5810 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5813 def get_origin(self):
5814 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5815 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5818 def get_dimension(self):
5819 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5820 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5823 def get_unit_cell(self):
5824 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5825 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5828 def get_has_index(self, v):
5829 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5830 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5834 """__str__(DenseFloatGrid3D self) -> std::string"""
5835 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5839 """__repr__(DenseFloatGrid3D self) -> std::string"""
5840 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5843 def show(self, *args):
5845 show(DenseFloatGrid3D self, _ostream out)
5846 show(DenseFloatGrid3D self)
5848 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5850 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5851 __del__ =
lambda self:
None
5852 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5853 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5856 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5860 def __init__(self, *args):
5862 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5863 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5864 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5865 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5866 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5868 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5870 self.this.append(this)
5871 except __builtin__.Exception:
5874 def add_voxel(self, i, q):
5875 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5876 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5879 def __getitem__(self, *args):
5881 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5882 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5884 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5887 def __setitem__(self, *args):
5889 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5890 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5892 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5895 def get_bounding_box(self, *args):
5897 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5898 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5900 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5905 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5906 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5908 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5911 def get_all_indexes(self):
5912 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5913 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5916 def get_extended_indexes(self, *args):
5918 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5919 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5921 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5924 def get_center(self, *args):
5926 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5927 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5929 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5932 def get_extended_index(self, v):
5933 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5934 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5938 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5939 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5942 def get_origin(self):
5943 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5944 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5947 def get_dimension(self):
5948 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5949 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5952 def get_unit_cell(self):
5953 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5954 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5957 def get_has_index(self, v):
5958 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5959 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5963 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5964 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5968 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5969 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5972 def show(self, *args):
5974 show(SparseUnboundedIntGrid3D self, _ostream out)
5975 show(SparseUnboundedIntGrid3D self)
5977 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
5979 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
5980 __del__ =
lambda self:
None
5981 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
5982 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
5984 class SparseUnboundedIntGridKD(object):
5985 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
5987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5989 def __init__(self, *args):
5991 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
5992 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
5993 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
5995 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
5997 self.this.append(this)
5998 except __builtin__.Exception:
6001 def add_voxel(self, i, q):
6002 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6003 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6006 def __getitem__(self, *args):
6008 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6009 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6011 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6014 def __setitem__(self, *args):
6016 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6017 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6019 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6022 def get_bounding_box(self, *args):
6024 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6025 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6027 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6032 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6033 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6035 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6038 def get_all_indexes(self):
6039 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6040 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6043 def get_extended_indexes(self, *args):
6045 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6046 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6048 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6051 def get_center(self, *args):
6053 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6054 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6056 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6059 def get_extended_index(self, v):
6060 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6061 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6065 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6066 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6069 def get_origin(self):
6070 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6071 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6074 def get_dimension(self):
6075 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6076 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6079 def get_unit_cell(self):
6080 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6081 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6084 def get_has_index(self, v):
6085 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6086 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6090 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6091 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6095 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6096 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6099 def show(self, *args):
6101 show(SparseUnboundedIntGridKD self, _ostream out)
6102 show(SparseUnboundedIntGridKD self)
6104 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6106 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6107 __del__ =
lambda self:
None
6108 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6109 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6111 class GridIndex1D(IMP._Value):
6112 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6114 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6116 def __init__(self, *args):
6118 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6119 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6120 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6121 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6122 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6123 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6124 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6126 this = _IMP_algebra.new_GridIndex1D(*args)
6128 self.this.append(this)
6129 except __builtin__.Exception:
6132 def get_dimension(self):
6133 """get_dimension(GridIndex1D self) -> unsigned int"""
6134 return _IMP_algebra.GridIndex1D_get_dimension(self)
6137 def __getitem__(self, i):
6138 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6139 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6142 def show(self, *args):
6144 show(GridIndex1D self, _ostream out)
6145 show(GridIndex1D self)
6147 return _IMP_algebra.GridIndex1D_show(self, *args)
6151 """__len__(GridIndex1D self) -> unsigned int"""
6152 return _IMP_algebra.GridIndex1D___len__(self)
6155 def __cmp__(self, o):
6156 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6157 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6160 def __eq__(self, o):
6161 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6162 return _IMP_algebra.GridIndex1D___eq__(self, o)
6165 def __ne__(self, o):
6166 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6167 return _IMP_algebra.GridIndex1D___ne__(self, o)
6170 def __lt__(self, o):
6171 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6172 return _IMP_algebra.GridIndex1D___lt__(self, o)
6175 def __gt__(self, o):
6176 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6177 return _IMP_algebra.GridIndex1D___gt__(self, o)
6180 def __ge__(self, o):
6181 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6182 return _IMP_algebra.GridIndex1D___ge__(self, o)
6185 def __le__(self, o):
6186 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6187 return _IMP_algebra.GridIndex1D___le__(self, o)
6191 """__hash__(GridIndex1D self) -> std::size_t"""
6192 return _IMP_algebra.GridIndex1D___hash__(self)
6196 """__str__(GridIndex1D self) -> std::string"""
6197 return _IMP_algebra.GridIndex1D___str__(self)
6201 """__repr__(GridIndex1D self) -> std::string"""
6202 return _IMP_algebra.GridIndex1D___repr__(self)
6204 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6205 __del__ =
lambda self:
None
6206 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6207 GridIndex1D_swigregister(GridIndex1D)
6209 class GridIndex2D(IMP._Value):
6210 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6212 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6214 def __init__(self, *args):
6216 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6217 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6218 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6219 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6220 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6221 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6222 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6224 this = _IMP_algebra.new_GridIndex2D(*args)
6226 self.this.append(this)
6227 except __builtin__.Exception:
6230 def get_dimension(self):
6231 """get_dimension(GridIndex2D self) -> unsigned int"""
6232 return _IMP_algebra.GridIndex2D_get_dimension(self)
6235 def __getitem__(self, i):
6236 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6237 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6240 def show(self, *args):
6242 show(GridIndex2D self, _ostream out)
6243 show(GridIndex2D self)
6245 return _IMP_algebra.GridIndex2D_show(self, *args)
6249 """__len__(GridIndex2D self) -> unsigned int"""
6250 return _IMP_algebra.GridIndex2D___len__(self)
6253 def __cmp__(self, o):
6254 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6255 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6258 def __eq__(self, o):
6259 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6260 return _IMP_algebra.GridIndex2D___eq__(self, o)
6263 def __ne__(self, o):
6264 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6265 return _IMP_algebra.GridIndex2D___ne__(self, o)
6268 def __lt__(self, o):
6269 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6270 return _IMP_algebra.GridIndex2D___lt__(self, o)
6273 def __gt__(self, o):
6274 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6275 return _IMP_algebra.GridIndex2D___gt__(self, o)
6278 def __ge__(self, o):
6279 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6280 return _IMP_algebra.GridIndex2D___ge__(self, o)
6283 def __le__(self, o):
6284 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6285 return _IMP_algebra.GridIndex2D___le__(self, o)
6289 """__hash__(GridIndex2D self) -> std::size_t"""
6290 return _IMP_algebra.GridIndex2D___hash__(self)
6294 """__str__(GridIndex2D self) -> std::string"""
6295 return _IMP_algebra.GridIndex2D___str__(self)
6299 """__repr__(GridIndex2D self) -> std::string"""
6300 return _IMP_algebra.GridIndex2D___repr__(self)
6302 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6303 __del__ =
lambda self:
None
6304 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6305 GridIndex2D_swigregister(GridIndex2D)
6307 class GridIndex3D(IMP._Value):
6308 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6312 def __init__(self, *args):
6314 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6315 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6316 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6317 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6318 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6319 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6320 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6322 this = _IMP_algebra.new_GridIndex3D(*args)
6324 self.this.append(this)
6325 except __builtin__.Exception:
6328 def get_dimension(self):
6329 """get_dimension(GridIndex3D self) -> unsigned int"""
6330 return _IMP_algebra.GridIndex3D_get_dimension(self)
6333 def __getitem__(self, i):
6334 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6335 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6338 def show(self, *args):
6340 show(GridIndex3D self, _ostream out)
6341 show(GridIndex3D self)
6343 return _IMP_algebra.GridIndex3D_show(self, *args)
6347 """__len__(GridIndex3D self) -> unsigned int"""
6348 return _IMP_algebra.GridIndex3D___len__(self)
6351 def __cmp__(self, o):
6352 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6353 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6356 def __eq__(self, o):
6357 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6358 return _IMP_algebra.GridIndex3D___eq__(self, o)
6361 def __ne__(self, o):
6362 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6363 return _IMP_algebra.GridIndex3D___ne__(self, o)
6366 def __lt__(self, o):
6367 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6368 return _IMP_algebra.GridIndex3D___lt__(self, o)
6371 def __gt__(self, o):
6372 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6373 return _IMP_algebra.GridIndex3D___gt__(self, o)
6376 def __ge__(self, o):
6377 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6378 return _IMP_algebra.GridIndex3D___ge__(self, o)
6381 def __le__(self, o):
6382 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6383 return _IMP_algebra.GridIndex3D___le__(self, o)
6387 """__hash__(GridIndex3D self) -> std::size_t"""
6388 return _IMP_algebra.GridIndex3D___hash__(self)
6392 """__str__(GridIndex3D self) -> std::string"""
6393 return _IMP_algebra.GridIndex3D___str__(self)
6397 """__repr__(GridIndex3D self) -> std::string"""
6398 return _IMP_algebra.GridIndex3D___repr__(self)
6400 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6401 __del__ =
lambda self:
None
6402 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6403 GridIndex3D_swigregister(GridIndex3D)
6405 class GridIndex4D(IMP._Value):
6406 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6408 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6410 def __init__(self, *args):
6412 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6413 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6414 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6415 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6416 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6417 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6418 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6420 this = _IMP_algebra.new_GridIndex4D(*args)
6422 self.this.append(this)
6423 except __builtin__.Exception:
6426 def get_dimension(self):
6427 """get_dimension(GridIndex4D self) -> unsigned int"""
6428 return _IMP_algebra.GridIndex4D_get_dimension(self)
6431 def __getitem__(self, i):
6432 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6433 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6436 def show(self, *args):
6438 show(GridIndex4D self, _ostream out)
6439 show(GridIndex4D self)
6441 return _IMP_algebra.GridIndex4D_show(self, *args)
6445 """__len__(GridIndex4D self) -> unsigned int"""
6446 return _IMP_algebra.GridIndex4D___len__(self)
6449 def __cmp__(self, o):
6450 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6451 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6454 def __eq__(self, o):
6455 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6456 return _IMP_algebra.GridIndex4D___eq__(self, o)
6459 def __ne__(self, o):
6460 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6461 return _IMP_algebra.GridIndex4D___ne__(self, o)
6464 def __lt__(self, o):
6465 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6466 return _IMP_algebra.GridIndex4D___lt__(self, o)
6469 def __gt__(self, o):
6470 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6471 return _IMP_algebra.GridIndex4D___gt__(self, o)
6474 def __ge__(self, o):
6475 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6476 return _IMP_algebra.GridIndex4D___ge__(self, o)
6479 def __le__(self, o):
6480 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6481 return _IMP_algebra.GridIndex4D___le__(self, o)
6485 """__hash__(GridIndex4D self) -> std::size_t"""
6486 return _IMP_algebra.GridIndex4D___hash__(self)
6490 """__str__(GridIndex4D self) -> std::string"""
6491 return _IMP_algebra.GridIndex4D___str__(self)
6495 """__repr__(GridIndex4D self) -> std::string"""
6496 return _IMP_algebra.GridIndex4D___repr__(self)
6498 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6499 __del__ =
lambda self:
None
6500 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6501 GridIndex4D_swigregister(GridIndex4D)
6503 class GridIndex5D(IMP._Value):
6504 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6508 def __init__(self, *args):
6510 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6511 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6512 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6513 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6514 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6515 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6516 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6518 this = _IMP_algebra.new_GridIndex5D(*args)
6520 self.this.append(this)
6521 except __builtin__.Exception:
6524 def get_dimension(self):
6525 """get_dimension(GridIndex5D self) -> unsigned int"""
6526 return _IMP_algebra.GridIndex5D_get_dimension(self)
6529 def __getitem__(self, i):
6530 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6531 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6534 def show(self, *args):
6536 show(GridIndex5D self, _ostream out)
6537 show(GridIndex5D self)
6539 return _IMP_algebra.GridIndex5D_show(self, *args)
6543 """__len__(GridIndex5D self) -> unsigned int"""
6544 return _IMP_algebra.GridIndex5D___len__(self)
6547 def __cmp__(self, o):
6548 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6549 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6552 def __eq__(self, o):
6553 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6554 return _IMP_algebra.GridIndex5D___eq__(self, o)
6557 def __ne__(self, o):
6558 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6559 return _IMP_algebra.GridIndex5D___ne__(self, o)
6562 def __lt__(self, o):
6563 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6564 return _IMP_algebra.GridIndex5D___lt__(self, o)
6567 def __gt__(self, o):
6568 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6569 return _IMP_algebra.GridIndex5D___gt__(self, o)
6572 def __ge__(self, o):
6573 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6574 return _IMP_algebra.GridIndex5D___ge__(self, o)
6577 def __le__(self, o):
6578 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6579 return _IMP_algebra.GridIndex5D___le__(self, o)
6583 """__hash__(GridIndex5D self) -> std::size_t"""
6584 return _IMP_algebra.GridIndex5D___hash__(self)
6588 """__str__(GridIndex5D self) -> std::string"""
6589 return _IMP_algebra.GridIndex5D___str__(self)
6593 """__repr__(GridIndex5D self) -> std::string"""
6594 return _IMP_algebra.GridIndex5D___repr__(self)
6596 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6597 __del__ =
lambda self:
None
6598 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6599 GridIndex5D_swigregister(GridIndex5D)
6601 class GridIndex6D(IMP._Value):
6602 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6606 def __init__(self, *args):
6608 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6609 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6610 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6611 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6612 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6613 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6614 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6616 this = _IMP_algebra.new_GridIndex6D(*args)
6618 self.this.append(this)
6619 except __builtin__.Exception:
6622 def get_dimension(self):
6623 """get_dimension(GridIndex6D self) -> unsigned int"""
6624 return _IMP_algebra.GridIndex6D_get_dimension(self)
6627 def __getitem__(self, i):
6628 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6629 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6632 def show(self, *args):
6634 show(GridIndex6D self, _ostream out)
6635 show(GridIndex6D self)
6637 return _IMP_algebra.GridIndex6D_show(self, *args)
6641 """__len__(GridIndex6D self) -> unsigned int"""
6642 return _IMP_algebra.GridIndex6D___len__(self)
6645 def __cmp__(self, o):
6646 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6647 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6650 def __eq__(self, o):
6651 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6652 return _IMP_algebra.GridIndex6D___eq__(self, o)
6655 def __ne__(self, o):
6656 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6657 return _IMP_algebra.GridIndex6D___ne__(self, o)
6660 def __lt__(self, o):
6661 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6662 return _IMP_algebra.GridIndex6D___lt__(self, o)
6665 def __gt__(self, o):
6666 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6667 return _IMP_algebra.GridIndex6D___gt__(self, o)
6670 def __ge__(self, o):
6671 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6672 return _IMP_algebra.GridIndex6D___ge__(self, o)
6675 def __le__(self, o):
6676 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6677 return _IMP_algebra.GridIndex6D___le__(self, o)
6681 """__hash__(GridIndex6D self) -> std::size_t"""
6682 return _IMP_algebra.GridIndex6D___hash__(self)
6686 """__str__(GridIndex6D self) -> std::string"""
6687 return _IMP_algebra.GridIndex6D___str__(self)
6691 """__repr__(GridIndex6D self) -> std::string"""
6692 return _IMP_algebra.GridIndex6D___repr__(self)
6694 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6695 __del__ =
lambda self:
None
6696 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6697 GridIndex6D_swigregister(GridIndex6D)
6699 class GridIndexKD(IMP._Value):
6700 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6702 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6704 def __init__(self, *args):
6706 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6707 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6708 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6709 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6710 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6711 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6712 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6714 this = _IMP_algebra.new_GridIndexKD(*args)
6716 self.this.append(this)
6717 except __builtin__.Exception:
6720 def get_dimension(self):
6721 """get_dimension(GridIndexKD self) -> unsigned int"""
6722 return _IMP_algebra.GridIndexKD_get_dimension(self)
6725 def __getitem__(self, i):
6726 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6727 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6730 def show(self, *args):
6732 show(GridIndexKD self, _ostream out)
6733 show(GridIndexKD self)
6735 return _IMP_algebra.GridIndexKD_show(self, *args)
6739 """__len__(GridIndexKD self) -> unsigned int"""
6740 return _IMP_algebra.GridIndexKD___len__(self)
6743 def __cmp__(self, o):
6744 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6745 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6748 def __eq__(self, o):
6749 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6750 return _IMP_algebra.GridIndexKD___eq__(self, o)
6753 def __ne__(self, o):
6754 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6755 return _IMP_algebra.GridIndexKD___ne__(self, o)
6758 def __lt__(self, o):
6759 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6760 return _IMP_algebra.GridIndexKD___lt__(self, o)
6763 def __gt__(self, o):
6764 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6765 return _IMP_algebra.GridIndexKD___gt__(self, o)
6768 def __ge__(self, o):
6769 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6770 return _IMP_algebra.GridIndexKD___ge__(self, o)
6773 def __le__(self, o):
6774 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6775 return _IMP_algebra.GridIndexKD___le__(self, o)
6779 """__hash__(GridIndexKD self) -> std::size_t"""
6780 return _IMP_algebra.GridIndexKD___hash__(self)
6784 """__str__(GridIndexKD self) -> std::string"""
6785 return _IMP_algebra.GridIndexKD___str__(self)
6789 """__repr__(GridIndexKD self) -> std::string"""
6790 return _IMP_algebra.GridIndexKD___repr__(self)
6792 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6793 __del__ =
lambda self:
None
6794 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6795 GridIndexKD_swigregister(GridIndexKD)
6797 class ExtendedGridIndex1D(IMP._Value):
6798 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6800 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6802 def __init__(self, *args):
6804 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6805 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6806 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6807 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6808 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6809 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6810 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6811 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6813 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6815 self.this.append(this)
6816 except __builtin__.Exception:
6819 def get_dimension(self):
6820 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6821 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6824 def __cmp__(self, o):
6825 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6826 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6829 def __eq__(self, o):
6830 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6831 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6834 def __ne__(self, o):
6835 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6836 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6839 def __lt__(self, o):
6840 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6841 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6844 def __gt__(self, o):
6845 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6846 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6849 def __ge__(self, o):
6850 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6851 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6854 def __le__(self, o):
6855 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6856 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6859 def __setitem__(self, i, v):
6860 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6861 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6864 def __getitem__(self, i):
6865 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6866 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6869 def show(self, *args):
6871 show(ExtendedGridIndex1D self, _ostream out)
6872 show(ExtendedGridIndex1D self)
6874 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6878 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6879 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6883 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6884 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6887 def get_uniform_offset(self, ii):
6888 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6889 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6892 def get_offset(self, i, j, k):
6893 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6894 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6898 """__str__(ExtendedGridIndex1D self) -> std::string"""
6899 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6903 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6904 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6906 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6907 __del__ =
lambda self:
None
6908 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6909 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6911 class ExtendedGridIndex2D(IMP._Value):
6912 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6914 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6916 def __init__(self, *args):
6918 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6919 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6920 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6921 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6922 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6923 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6924 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6925 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6927 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6929 self.this.append(this)
6930 except __builtin__.Exception:
6933 def get_dimension(self):
6934 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6935 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6938 def __cmp__(self, o):
6939 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6940 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6943 def __eq__(self, o):
6944 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6945 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6948 def __ne__(self, o):
6949 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6950 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6953 def __lt__(self, o):
6954 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6955 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6958 def __gt__(self, o):
6959 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6960 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6963 def __ge__(self, o):
6964 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6965 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6968 def __le__(self, o):
6969 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6970 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6973 def __setitem__(self, i, v):
6974 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
6975 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
6978 def __getitem__(self, i):
6979 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
6980 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
6983 def show(self, *args):
6985 show(ExtendedGridIndex2D self, _ostream out)
6986 show(ExtendedGridIndex2D self)
6988 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
6992 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
6993 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
6997 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
6998 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7001 def get_uniform_offset(self, ii):
7002 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7003 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7006 def get_offset(self, i, j, k):
7007 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7008 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7012 """__str__(ExtendedGridIndex2D self) -> std::string"""
7013 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7017 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7018 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7020 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7021 __del__ =
lambda self:
None
7022 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7023 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7025 class ExtendedGridIndex3D(IMP._Value):
7026 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7030 def __init__(self, *args):
7032 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7033 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7034 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7035 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7036 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7037 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7038 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7039 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7041 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7043 self.this.append(this)
7044 except __builtin__.Exception:
7047 def get_dimension(self):
7048 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7049 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7052 def __cmp__(self, o):
7053 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7054 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7057 def __eq__(self, o):
7058 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7059 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7062 def __ne__(self, o):
7063 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7064 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7067 def __lt__(self, o):
7068 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7069 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7072 def __gt__(self, o):
7073 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7074 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7077 def __ge__(self, o):
7078 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7079 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7082 def __le__(self, o):
7083 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7084 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7087 def __setitem__(self, i, v):
7088 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7089 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7092 def __getitem__(self, i):
7093 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7094 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7097 def show(self, *args):
7099 show(ExtendedGridIndex3D self, _ostream out)
7100 show(ExtendedGridIndex3D self)
7102 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7106 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7107 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7111 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7112 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7115 def get_uniform_offset(self, ii):
7116 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7117 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7120 def get_offset(self, i, j, k):
7121 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7122 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7126 """__str__(ExtendedGridIndex3D self) -> std::string"""
7127 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7131 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7132 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7134 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7135 __del__ =
lambda self:
None
7136 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7137 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7139 class ExtendedGridIndex4D(IMP._Value):
7140 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7142 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7144 def __init__(self, *args):
7146 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7147 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7148 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7149 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7150 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7151 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7152 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7153 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7155 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7157 self.this.append(this)
7158 except __builtin__.Exception:
7161 def get_dimension(self):
7162 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7163 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7166 def __cmp__(self, o):
7167 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7168 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7171 def __eq__(self, o):
7172 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7173 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7176 def __ne__(self, o):
7177 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7178 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7181 def __lt__(self, o):
7182 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7183 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7186 def __gt__(self, o):
7187 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7188 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7191 def __ge__(self, o):
7192 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7193 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7196 def __le__(self, o):
7197 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7198 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7201 def __setitem__(self, i, v):
7202 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7203 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7206 def __getitem__(self, i):
7207 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7208 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7211 def show(self, *args):
7213 show(ExtendedGridIndex4D self, _ostream out)
7214 show(ExtendedGridIndex4D self)
7216 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7220 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7221 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7225 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7226 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7229 def get_uniform_offset(self, ii):
7230 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7231 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7234 def get_offset(self, i, j, k):
7235 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7236 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7240 """__str__(ExtendedGridIndex4D self) -> std::string"""
7241 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7245 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7246 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7248 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7249 __del__ =
lambda self:
None
7250 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7251 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7253 class ExtendedGridIndex5D(IMP._Value):
7254 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7258 def __init__(self, *args):
7260 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7261 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7262 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7263 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7264 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7265 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7266 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7267 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7269 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7271 self.this.append(this)
7272 except __builtin__.Exception:
7275 def get_dimension(self):
7276 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7277 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7280 def __cmp__(self, o):
7281 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7282 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7285 def __eq__(self, o):
7286 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7287 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7290 def __ne__(self, o):
7291 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7292 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7295 def __lt__(self, o):
7296 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7297 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7300 def __gt__(self, o):
7301 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7302 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7305 def __ge__(self, o):
7306 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7307 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7310 def __le__(self, o):
7311 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7312 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7315 def __setitem__(self, i, v):
7316 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7317 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7320 def __getitem__(self, i):
7321 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7322 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7325 def show(self, *args):
7327 show(ExtendedGridIndex5D self, _ostream out)
7328 show(ExtendedGridIndex5D self)
7330 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7334 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7335 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7339 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7340 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7343 def get_uniform_offset(self, ii):
7344 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7345 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7348 def get_offset(self, i, j, k):
7349 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7350 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7354 """__str__(ExtendedGridIndex5D self) -> std::string"""
7355 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7359 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7360 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7362 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7363 __del__ =
lambda self:
None
7364 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7365 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7367 class ExtendedGridIndex6D(IMP._Value):
7368 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7370 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7372 def __init__(self, *args):
7374 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7375 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7376 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7377 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7378 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7379 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7380 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7381 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7383 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7385 self.this.append(this)
7386 except __builtin__.Exception:
7389 def get_dimension(self):
7390 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7391 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7394 def __cmp__(self, o):
7395 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7396 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7399 def __eq__(self, o):
7400 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7401 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7404 def __ne__(self, o):
7405 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7406 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7409 def __lt__(self, o):
7410 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7411 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7414 def __gt__(self, o):
7415 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7416 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7419 def __ge__(self, o):
7420 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7421 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7424 def __le__(self, o):
7425 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7426 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7429 def __setitem__(self, i, v):
7430 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7431 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7434 def __getitem__(self, i):
7435 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7436 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7439 def show(self, *args):
7441 show(ExtendedGridIndex6D self, _ostream out)
7442 show(ExtendedGridIndex6D self)
7444 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7448 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7449 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7453 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7454 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7457 def get_uniform_offset(self, ii):
7458 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7459 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7462 def get_offset(self, i, j, k):
7463 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7464 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7468 """__str__(ExtendedGridIndex6D self) -> std::string"""
7469 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7473 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7474 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7476 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7477 __del__ =
lambda self:
None
7478 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7479 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7481 class ExtendedGridIndexKD(IMP._Value):
7482 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7486 def __init__(self, *args):
7488 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7489 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7490 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7491 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7492 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7493 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7494 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7495 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7497 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7499 self.this.append(this)
7500 except __builtin__.Exception:
7503 def get_dimension(self):
7504 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7505 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7508 def __cmp__(self, o):
7509 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7510 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7513 def __eq__(self, o):
7514 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7515 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7518 def __ne__(self, o):
7519 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7520 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7523 def __lt__(self, o):
7524 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7525 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7528 def __gt__(self, o):
7529 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7530 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7533 def __ge__(self, o):
7534 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7535 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7538 def __le__(self, o):
7539 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7540 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7543 def __setitem__(self, i, v):
7544 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7545 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7548 def __getitem__(self, i):
7549 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7550 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7553 def show(self, *args):
7555 show(ExtendedGridIndexKD self, _ostream out)
7556 show(ExtendedGridIndexKD self)
7558 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7562 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7563 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7567 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7568 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7571 def get_uniform_offset(self, ii):
7572 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7573 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7576 def get_offset(self, i, j, k):
7577 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7578 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7582 """__str__(ExtendedGridIndexKD self) -> std::string"""
7583 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7587 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7588 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7590 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7591 __del__ =
lambda self:
None
7592 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7593 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7595 class BoundedGridRange1D(object):
7596 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7598 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7600 def get_is_bounded():
7601 """get_is_bounded() -> bool"""
7602 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7604 get_is_bounded = staticmethod(get_is_bounded)
7606 def __init__(self, *args):
7608 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7609 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7611 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7613 self.this.append(this)
7614 except __builtin__.Exception:
7617 def get_number_of_voxels(self, *args):
7619 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7620 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7622 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7625 def get_end_index(self):
7626 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7627 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7630 def show(self, *args):
7632 show(BoundedGridRange1D self, _ostream out)
7633 show(BoundedGridRange1D self)
7635 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7638 def get_all_indexes(self):
7639 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7640 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7644 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7645 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7648 def get_extended_indexes(self, lb, ub):
7649 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7650 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7654 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7655 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7658 def get_has_index(self, v):
7659 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7660 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7663 def get_minimum_extended_index(self):
7664 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7665 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7668 def get_maximum_extended_index(self):
7669 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7670 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7674 """__str__(BoundedGridRange1D self) -> std::string"""
7675 return _IMP_algebra.BoundedGridRange1D___str__(self)
7679 """__repr__(BoundedGridRange1D self) -> std::string"""
7680 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7683 def __cmp__(self, arg2):
7684 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7685 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7688 def __eq__(self, arg2):
7689 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7690 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7692 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7693 __del__ =
lambda self:
None
7694 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7695 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7697 def BoundedGridRange1D_get_is_bounded():
7698 """BoundedGridRange1D_get_is_bounded() -> bool"""
7699 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7701 class BoundedGridRange2D(object):
7702 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7704 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7706 def get_is_bounded():
7707 """get_is_bounded() -> bool"""
7708 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7710 get_is_bounded = staticmethod(get_is_bounded)
7712 def __init__(self, *args):
7714 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7715 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7717 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7719 self.this.append(this)
7720 except __builtin__.Exception:
7723 def get_number_of_voxels(self, *args):
7725 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7726 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7728 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7731 def get_end_index(self):
7732 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7733 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7736 def show(self, *args):
7738 show(BoundedGridRange2D self, _ostream out)
7739 show(BoundedGridRange2D self)
7741 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7744 def get_all_indexes(self):
7745 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7746 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7750 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7751 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7754 def get_extended_indexes(self, lb, ub):
7755 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7756 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7760 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7761 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7764 def get_has_index(self, v):
7765 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7766 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7769 def get_minimum_extended_index(self):
7770 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7771 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7774 def get_maximum_extended_index(self):
7775 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7776 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7780 """__str__(BoundedGridRange2D self) -> std::string"""
7781 return _IMP_algebra.BoundedGridRange2D___str__(self)
7785 """__repr__(BoundedGridRange2D self) -> std::string"""
7786 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7789 def __cmp__(self, arg2):
7790 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7791 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7794 def __eq__(self, arg2):
7795 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7796 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7798 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7799 __del__ =
lambda self:
None
7800 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7801 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7803 def BoundedGridRange2D_get_is_bounded():
7804 """BoundedGridRange2D_get_is_bounded() -> bool"""
7805 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7807 class BoundedGridRange3D(object):
7808 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7810 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7812 def get_is_bounded():
7813 """get_is_bounded() -> bool"""
7814 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7816 get_is_bounded = staticmethod(get_is_bounded)
7818 def __init__(self, *args):
7820 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7821 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7823 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7825 self.this.append(this)
7826 except __builtin__.Exception:
7829 def get_number_of_voxels(self, *args):
7831 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7832 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7834 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7837 def get_end_index(self):
7838 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7839 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7842 def show(self, *args):
7844 show(BoundedGridRange3D self, _ostream out)
7845 show(BoundedGridRange3D self)
7847 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7850 def get_all_indexes(self):
7851 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7852 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7856 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7857 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7860 def get_extended_indexes(self, lb, ub):
7861 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7862 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7866 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7867 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7870 def get_has_index(self, v):
7871 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7872 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7875 def get_minimum_extended_index(self):
7876 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7877 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7880 def get_maximum_extended_index(self):
7881 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7882 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7886 """__str__(BoundedGridRange3D self) -> std::string"""
7887 return _IMP_algebra.BoundedGridRange3D___str__(self)
7891 """__repr__(BoundedGridRange3D self) -> std::string"""
7892 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7895 def __cmp__(self, arg2):
7896 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7897 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7900 def __eq__(self, arg2):
7901 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7902 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7904 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7905 __del__ =
lambda self:
None
7906 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7907 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7909 def BoundedGridRange3D_get_is_bounded():
7910 """BoundedGridRange3D_get_is_bounded() -> bool"""
7911 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7913 class BoundedGridRange4D(object):
7914 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7918 def get_is_bounded():
7919 """get_is_bounded() -> bool"""
7920 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7922 get_is_bounded = staticmethod(get_is_bounded)
7924 def __init__(self, *args):
7926 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7927 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7929 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7931 self.this.append(this)
7932 except __builtin__.Exception:
7935 def get_number_of_voxels(self, *args):
7937 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7938 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7940 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7943 def get_end_index(self):
7944 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7945 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7948 def show(self, *args):
7950 show(BoundedGridRange4D self, _ostream out)
7951 show(BoundedGridRange4D self)
7953 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7956 def get_all_indexes(self):
7957 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7958 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7962 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7963 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7966 def get_extended_indexes(self, lb, ub):
7967 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7968 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7972 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7973 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
7976 def get_has_index(self, v):
7977 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
7978 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
7981 def get_minimum_extended_index(self):
7982 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7983 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
7986 def get_maximum_extended_index(self):
7987 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7988 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
7992 """__str__(BoundedGridRange4D self) -> std::string"""
7993 return _IMP_algebra.BoundedGridRange4D___str__(self)
7997 """__repr__(BoundedGridRange4D self) -> std::string"""
7998 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8001 def __cmp__(self, arg2):
8002 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8003 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8006 def __eq__(self, arg2):
8007 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8008 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8010 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8011 __del__ =
lambda self:
None
8012 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8013 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8015 def BoundedGridRange4D_get_is_bounded():
8016 """BoundedGridRange4D_get_is_bounded() -> bool"""
8017 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8019 class BoundedGridRange5D(object):
8020 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8024 def get_is_bounded():
8025 """get_is_bounded() -> bool"""
8026 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8028 get_is_bounded = staticmethod(get_is_bounded)
8030 def __init__(self, *args):
8032 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8033 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8035 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8037 self.this.append(this)
8038 except __builtin__.Exception:
8041 def get_number_of_voxels(self, *args):
8043 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8044 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8046 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8049 def get_end_index(self):
8050 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8051 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8054 def show(self, *args):
8056 show(BoundedGridRange5D self, _ostream out)
8057 show(BoundedGridRange5D self)
8059 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8062 def get_all_indexes(self):
8063 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8064 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8068 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8069 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8072 def get_extended_indexes(self, lb, ub):
8073 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8074 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8078 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8079 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8082 def get_has_index(self, v):
8083 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8084 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8087 def get_minimum_extended_index(self):
8088 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8089 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8092 def get_maximum_extended_index(self):
8093 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8094 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8098 """__str__(BoundedGridRange5D self) -> std::string"""
8099 return _IMP_algebra.BoundedGridRange5D___str__(self)
8103 """__repr__(BoundedGridRange5D self) -> std::string"""
8104 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8107 def __cmp__(self, arg2):
8108 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8109 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8112 def __eq__(self, arg2):
8113 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8114 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8116 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8117 __del__ =
lambda self:
None
8118 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8119 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8121 def BoundedGridRange5D_get_is_bounded():
8122 """BoundedGridRange5D_get_is_bounded() -> bool"""
8123 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8125 class BoundedGridRange6D(object):
8126 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8128 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8130 def get_is_bounded():
8131 """get_is_bounded() -> bool"""
8132 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8134 get_is_bounded = staticmethod(get_is_bounded)
8136 def __init__(self, *args):
8138 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8139 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8141 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8143 self.this.append(this)
8144 except __builtin__.Exception:
8147 def get_number_of_voxels(self, *args):
8149 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8150 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8152 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8155 def get_end_index(self):
8156 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8157 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8160 def show(self, *args):
8162 show(BoundedGridRange6D self, _ostream out)
8163 show(BoundedGridRange6D self)
8165 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8168 def get_all_indexes(self):
8169 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8170 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8174 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8175 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8178 def get_extended_indexes(self, lb, ub):
8179 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8180 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8184 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8185 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8188 def get_has_index(self, v):
8189 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8190 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8193 def get_minimum_extended_index(self):
8194 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8195 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8198 def get_maximum_extended_index(self):
8199 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8200 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8204 """__str__(BoundedGridRange6D self) -> std::string"""
8205 return _IMP_algebra.BoundedGridRange6D___str__(self)
8209 """__repr__(BoundedGridRange6D self) -> std::string"""
8210 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8213 def __cmp__(self, arg2):
8214 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8215 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8218 def __eq__(self, arg2):
8219 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8220 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8222 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8223 __del__ =
lambda self:
None
8224 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8225 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8227 def BoundedGridRange6D_get_is_bounded():
8228 """BoundedGridRange6D_get_is_bounded() -> bool"""
8229 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8231 class BoundedGridRangeKD(object):
8232 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8234 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8236 def get_is_bounded():
8237 """get_is_bounded() -> bool"""
8238 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8240 get_is_bounded = staticmethod(get_is_bounded)
8242 def __init__(self, *args):
8244 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8245 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8247 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8249 self.this.append(this)
8250 except __builtin__.Exception:
8253 def get_number_of_voxels(self, *args):
8255 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8256 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8258 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8261 def get_end_index(self):
8262 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8263 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8266 def show(self, *args):
8268 show(BoundedGridRangeKD self, _ostream out)
8269 show(BoundedGridRangeKD self)
8271 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8274 def get_all_indexes(self):
8275 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8276 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8280 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8281 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8284 def get_extended_indexes(self, lb, ub):
8285 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8286 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8290 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8291 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8294 def get_has_index(self, v):
8295 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8296 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8299 def get_minimum_extended_index(self):
8300 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8301 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8304 def get_maximum_extended_index(self):
8305 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8306 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8310 """__str__(BoundedGridRangeKD self) -> std::string"""
8311 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8315 """__repr__(BoundedGridRangeKD self) -> std::string"""
8316 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8319 def __cmp__(self, arg2):
8320 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8321 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8324 def __eq__(self, arg2):
8325 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8326 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8328 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8329 __del__ =
lambda self:
None
8330 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8331 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8333 def BoundedGridRangeKD_get_is_bounded():
8334 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8335 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8337 class UnboundedGridRange1D(object):
8338 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8342 def __init__(self, *args):
8344 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8345 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8347 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8349 self.this.append(this)
8350 except __builtin__.Exception:
8353 def set_number_of_voxels(self, arg2):
8354 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8355 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8358 def get_number_of_voxels(self, arg2):
8359 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8360 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8363 def get_is_bounded():
8364 """get_is_bounded() -> bool"""
8365 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8367 get_is_bounded = staticmethod(get_is_bounded)
8369 def get_has_index(self, arg2):
8370 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8371 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8374 def show(self, *args):
8376 show(UnboundedGridRange1D self, _ostream out)
8377 show(UnboundedGridRange1D self)
8379 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8382 def get_extended_indexes(self, lb, ub):
8383 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8384 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8388 """__str__(UnboundedGridRange1D self) -> std::string"""
8389 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8393 """__repr__(UnboundedGridRange1D self) -> std::string"""
8394 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8397 def __cmp__(self, arg2):
8398 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8399 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8402 def __eq__(self, arg2):
8403 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8404 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8406 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8407 __del__ =
lambda self:
None
8408 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8409 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8411 def UnboundedGridRange1D_get_is_bounded():
8412 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8413 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8415 class UnboundedGridRange2D(object):
8416 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8420 def __init__(self, *args):
8422 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8423 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8425 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8427 self.this.append(this)
8428 except __builtin__.Exception:
8431 def set_number_of_voxels(self, arg2):
8432 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8433 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8436 def get_number_of_voxels(self, arg2):
8437 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8438 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8441 def get_is_bounded():
8442 """get_is_bounded() -> bool"""
8443 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8445 get_is_bounded = staticmethod(get_is_bounded)
8447 def get_has_index(self, arg2):
8448 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8449 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8452 def show(self, *args):
8454 show(UnboundedGridRange2D self, _ostream out)
8455 show(UnboundedGridRange2D self)
8457 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8460 def get_extended_indexes(self, lb, ub):
8461 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8462 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8466 """__str__(UnboundedGridRange2D self) -> std::string"""
8467 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8471 """__repr__(UnboundedGridRange2D self) -> std::string"""
8472 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8475 def __cmp__(self, arg2):
8476 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8477 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8480 def __eq__(self, arg2):
8481 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8482 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8484 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8485 __del__ =
lambda self:
None
8486 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8487 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8489 def UnboundedGridRange2D_get_is_bounded():
8490 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8491 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8493 class UnboundedGridRange3D(object):
8494 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8498 def __init__(self, *args):
8500 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8501 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8503 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8505 self.this.append(this)
8506 except __builtin__.Exception:
8509 def set_number_of_voxels(self, arg2):
8510 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8511 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8514 def get_number_of_voxels(self, arg2):
8515 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8516 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8519 def get_is_bounded():
8520 """get_is_bounded() -> bool"""
8521 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8523 get_is_bounded = staticmethod(get_is_bounded)
8525 def get_has_index(self, arg2):
8526 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8527 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8530 def show(self, *args):
8532 show(UnboundedGridRange3D self, _ostream out)
8533 show(UnboundedGridRange3D self)
8535 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8538 def get_extended_indexes(self, lb, ub):
8539 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8540 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8544 """__str__(UnboundedGridRange3D self) -> std::string"""
8545 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8549 """__repr__(UnboundedGridRange3D self) -> std::string"""
8550 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8553 def __cmp__(self, arg2):
8554 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8555 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8558 def __eq__(self, arg2):
8559 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8560 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8562 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8563 __del__ =
lambda self:
None
8564 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8565 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8567 def UnboundedGridRange3D_get_is_bounded():
8568 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8569 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8571 class UnboundedGridRange4D(object):
8572 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8574 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8576 def __init__(self, *args):
8578 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8579 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8581 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8583 self.this.append(this)
8584 except __builtin__.Exception:
8587 def set_number_of_voxels(self, arg2):
8588 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8589 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8592 def get_number_of_voxels(self, arg2):
8593 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8594 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8597 def get_is_bounded():
8598 """get_is_bounded() -> bool"""
8599 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8601 get_is_bounded = staticmethod(get_is_bounded)
8603 def get_has_index(self, arg2):
8604 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8605 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8608 def show(self, *args):
8610 show(UnboundedGridRange4D self, _ostream out)
8611 show(UnboundedGridRange4D self)
8613 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8616 def get_extended_indexes(self, lb, ub):
8617 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8618 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8622 """__str__(UnboundedGridRange4D self) -> std::string"""
8623 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8627 """__repr__(UnboundedGridRange4D self) -> std::string"""
8628 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8631 def __cmp__(self, arg2):
8632 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8633 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8636 def __eq__(self, arg2):
8637 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8638 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8640 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8641 __del__ =
lambda self:
None
8642 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8643 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8645 def UnboundedGridRange4D_get_is_bounded():
8646 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8647 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8649 class UnboundedGridRange5D(object):
8650 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8652 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8654 def __init__(self, *args):
8656 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8657 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8659 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8661 self.this.append(this)
8662 except __builtin__.Exception:
8665 def set_number_of_voxels(self, arg2):
8666 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8667 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8670 def get_number_of_voxels(self, arg2):
8671 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8672 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8675 def get_is_bounded():
8676 """get_is_bounded() -> bool"""
8677 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8679 get_is_bounded = staticmethod(get_is_bounded)
8681 def get_has_index(self, arg2):
8682 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8683 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8686 def show(self, *args):
8688 show(UnboundedGridRange5D self, _ostream out)
8689 show(UnboundedGridRange5D self)
8691 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8694 def get_extended_indexes(self, lb, ub):
8695 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8696 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8700 """__str__(UnboundedGridRange5D self) -> std::string"""
8701 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8705 """__repr__(UnboundedGridRange5D self) -> std::string"""
8706 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8709 def __cmp__(self, arg2):
8710 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8711 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8714 def __eq__(self, arg2):
8715 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8716 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8718 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8719 __del__ =
lambda self:
None
8720 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8721 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8723 def UnboundedGridRange5D_get_is_bounded():
8724 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8725 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8727 class UnboundedGridRange6D(object):
8728 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8732 def __init__(self, *args):
8734 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8735 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8737 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8739 self.this.append(this)
8740 except __builtin__.Exception:
8743 def set_number_of_voxels(self, arg2):
8744 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8745 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8748 def get_number_of_voxels(self, arg2):
8749 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8750 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8753 def get_is_bounded():
8754 """get_is_bounded() -> bool"""
8755 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8757 get_is_bounded = staticmethod(get_is_bounded)
8759 def get_has_index(self, arg2):
8760 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8761 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8764 def show(self, *args):
8766 show(UnboundedGridRange6D self, _ostream out)
8767 show(UnboundedGridRange6D self)
8769 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8772 def get_extended_indexes(self, lb, ub):
8773 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8774 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8778 """__str__(UnboundedGridRange6D self) -> std::string"""
8779 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8783 """__repr__(UnboundedGridRange6D self) -> std::string"""
8784 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8787 def __cmp__(self, arg2):
8788 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8789 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8792 def __eq__(self, arg2):
8793 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8794 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8796 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8797 __del__ =
lambda self:
None
8798 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8799 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8801 def UnboundedGridRange6D_get_is_bounded():
8802 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8803 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8805 class UnboundedGridRangeKD(object):
8806 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8808 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8810 def __init__(self, *args):
8812 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8813 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8815 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8817 self.this.append(this)
8818 except __builtin__.Exception:
8821 def set_number_of_voxels(self, arg2):
8822 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8823 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8826 def get_number_of_voxels(self, arg2):
8827 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8828 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8831 def get_is_bounded():
8832 """get_is_bounded() -> bool"""
8833 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8835 get_is_bounded = staticmethod(get_is_bounded)
8837 def get_has_index(self, arg2):
8838 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8839 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8842 def show(self, *args):
8844 show(UnboundedGridRangeKD self, _ostream out)
8845 show(UnboundedGridRangeKD self)
8847 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8850 def get_extended_indexes(self, lb, ub):
8851 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8852 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8856 """__str__(UnboundedGridRangeKD self) -> std::string"""
8857 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8861 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8862 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8865 def __cmp__(self, arg2):
8866 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8867 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8870 def __eq__(self, arg2):
8871 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8872 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8874 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8875 __del__ =
lambda self:
None
8876 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8877 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8879 def UnboundedGridRangeKD_get_is_bounded():
8880 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8881 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8883 class DefaultEmbedding1D(object):
8884 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8888 def __init__(self, *args):
8890 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8891 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8893 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8895 self.this.append(this)
8896 except __builtin__.Exception:
8899 def set_origin(self, o):
8900 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8901 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8904 def get_origin(self):
8905 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8906 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8909 def get_dimension(self):
8910 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8911 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8914 def set_unit_cell(self, o):
8915 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8916 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8919 def get_inverse_unit_cell(self):
8920 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8921 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8924 def get_unit_cell(self):
8925 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8926 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8929 def get_extended_index(self, o):
8930 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8931 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8935 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8936 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8939 def get_center(self, *args):
8941 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8942 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8944 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8947 def get_bounding_box(self, *args):
8949 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8950 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8952 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8955 def show(self, *args):
8957 show(DefaultEmbedding1D self, _ostream out)
8958 show(DefaultEmbedding1D self)
8960 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8964 """__str__(DefaultEmbedding1D self) -> std::string"""
8965 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8969 """__repr__(DefaultEmbedding1D self) -> std::string"""
8970 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8973 def __cmp__(self, arg2):
8974 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
8975 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
8978 def __eq__(self, arg2):
8979 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
8980 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
8982 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
8983 __del__ =
lambda self:
None
8984 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
8985 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
8987 class DefaultEmbedding2D(object):
8988 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
8990 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8992 def __init__(self, *args):
8994 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
8995 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
8997 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
8999 self.this.append(this)
9000 except __builtin__.Exception:
9003 def set_origin(self, o):
9004 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9005 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9008 def get_origin(self):
9009 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9010 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9013 def get_dimension(self):
9014 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9015 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9018 def set_unit_cell(self, o):
9019 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9020 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9023 def get_inverse_unit_cell(self):
9024 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9025 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9028 def get_unit_cell(self):
9029 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9030 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9033 def get_extended_index(self, o):
9034 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9035 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9039 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9040 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9043 def get_center(self, *args):
9045 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9046 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9048 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9051 def get_bounding_box(self, *args):
9053 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9054 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9056 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9059 def show(self, *args):
9061 show(DefaultEmbedding2D self, _ostream out)
9062 show(DefaultEmbedding2D self)
9064 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9068 """__str__(DefaultEmbedding2D self) -> std::string"""
9069 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9073 """__repr__(DefaultEmbedding2D self) -> std::string"""
9074 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9077 def __cmp__(self, arg2):
9078 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9079 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9082 def __eq__(self, arg2):
9083 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9084 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9086 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9087 __del__ =
lambda self:
None
9088 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9089 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9091 class DefaultEmbedding3D(object):
9092 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9096 def __init__(self, *args):
9098 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9099 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9101 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9103 self.this.append(this)
9104 except __builtin__.Exception:
9107 def set_origin(self, o):
9108 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9109 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9112 def get_origin(self):
9113 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9114 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9117 def get_dimension(self):
9118 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9119 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9122 def set_unit_cell(self, o):
9123 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9124 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9127 def get_inverse_unit_cell(self):
9128 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9129 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9132 def get_unit_cell(self):
9133 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9134 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9137 def get_extended_index(self, o):
9138 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9139 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9143 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9144 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9147 def get_center(self, *args):
9149 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9150 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9152 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9155 def get_bounding_box(self, *args):
9157 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9158 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9160 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9163 def show(self, *args):
9165 show(DefaultEmbedding3D self, _ostream out)
9166 show(DefaultEmbedding3D self)
9168 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9172 """__str__(DefaultEmbedding3D self) -> std::string"""
9173 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9177 """__repr__(DefaultEmbedding3D self) -> std::string"""
9178 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9181 def __cmp__(self, arg2):
9182 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9183 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9186 def __eq__(self, arg2):
9187 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9188 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9190 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9191 __del__ =
lambda self:
None
9192 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9193 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9195 class DefaultEmbedding4D(object):
9196 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9200 def __init__(self, *args):
9202 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9203 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9205 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9207 self.this.append(this)
9208 except __builtin__.Exception:
9211 def set_origin(self, o):
9212 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9213 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9216 def get_origin(self):
9217 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9218 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9221 def get_dimension(self):
9222 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9223 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9226 def set_unit_cell(self, o):
9227 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9228 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9231 def get_inverse_unit_cell(self):
9232 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9233 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9236 def get_unit_cell(self):
9237 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9238 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9241 def get_extended_index(self, o):
9242 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9243 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9247 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9248 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9251 def get_center(self, *args):
9253 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9254 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9256 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9259 def get_bounding_box(self, *args):
9261 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9262 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9264 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9267 def show(self, *args):
9269 show(DefaultEmbedding4D self, _ostream out)
9270 show(DefaultEmbedding4D self)
9272 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9276 """__str__(DefaultEmbedding4D self) -> std::string"""
9277 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9281 """__repr__(DefaultEmbedding4D self) -> std::string"""
9282 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9285 def __cmp__(self, arg2):
9286 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9287 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9290 def __eq__(self, arg2):
9291 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9292 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9294 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9295 __del__ =
lambda self:
None
9296 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9297 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9299 class DefaultEmbedding5D(object):
9300 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9302 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9304 def __init__(self, *args):
9306 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9307 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9309 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9311 self.this.append(this)
9312 except __builtin__.Exception:
9315 def set_origin(self, o):
9316 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9317 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9320 def get_origin(self):
9321 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9322 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9325 def get_dimension(self):
9326 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9327 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9330 def set_unit_cell(self, o):
9331 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9332 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9335 def get_inverse_unit_cell(self):
9336 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9337 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9340 def get_unit_cell(self):
9341 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9342 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9345 def get_extended_index(self, o):
9346 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9347 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9351 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9352 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9355 def get_center(self, *args):
9357 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9358 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9360 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9363 def get_bounding_box(self, *args):
9365 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9366 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9368 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9371 def show(self, *args):
9373 show(DefaultEmbedding5D self, _ostream out)
9374 show(DefaultEmbedding5D self)
9376 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9380 """__str__(DefaultEmbedding5D self) -> std::string"""
9381 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9385 """__repr__(DefaultEmbedding5D self) -> std::string"""
9386 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9389 def __cmp__(self, arg2):
9390 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9391 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9394 def __eq__(self, arg2):
9395 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9396 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9398 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9399 __del__ =
lambda self:
None
9400 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9401 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9403 class DefaultEmbedding6D(object):
9404 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9408 def __init__(self, *args):
9410 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9411 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9413 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9415 self.this.append(this)
9416 except __builtin__.Exception:
9419 def set_origin(self, o):
9420 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9421 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9424 def get_origin(self):
9425 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9426 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9429 def get_dimension(self):
9430 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9431 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9434 def set_unit_cell(self, o):
9435 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9436 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9439 def get_inverse_unit_cell(self):
9440 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9441 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9444 def get_unit_cell(self):
9445 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9446 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9449 def get_extended_index(self, o):
9450 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9451 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9455 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9456 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9459 def get_center(self, *args):
9461 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9462 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9464 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9467 def get_bounding_box(self, *args):
9469 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9470 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9472 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9475 def show(self, *args):
9477 show(DefaultEmbedding6D self, _ostream out)
9478 show(DefaultEmbedding6D self)
9480 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9484 """__str__(DefaultEmbedding6D self) -> std::string"""
9485 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9489 """__repr__(DefaultEmbedding6D self) -> std::string"""
9490 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9493 def __cmp__(self, arg2):
9494 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9495 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9498 def __eq__(self, arg2):
9499 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9500 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9502 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9503 __del__ =
lambda self:
None
9504 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9505 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9507 class DefaultEmbeddingKD(object):
9508 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9512 def __init__(self, *args):
9514 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9515 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9517 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9519 self.this.append(this)
9520 except __builtin__.Exception:
9523 def set_origin(self, o):
9524 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9525 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9528 def get_origin(self):
9529 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9530 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9533 def get_dimension(self):
9534 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9535 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9538 def set_unit_cell(self, o):
9539 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9540 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9543 def get_inverse_unit_cell(self):
9544 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9545 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9548 def get_unit_cell(self):
9549 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9550 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9553 def get_extended_index(self, o):
9554 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9555 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9559 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9560 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9563 def get_center(self, *args):
9565 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9566 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9568 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9571 def get_bounding_box(self, *args):
9573 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9574 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9576 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9579 def show(self, *args):
9581 show(DefaultEmbeddingKD self, _ostream out)
9582 show(DefaultEmbeddingKD self)
9584 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9588 """__str__(DefaultEmbeddingKD self) -> std::string"""
9589 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9593 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9594 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9597 def __cmp__(self, arg2):
9598 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9599 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9602 def __eq__(self, arg2):
9603 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9604 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9606 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9607 __del__ =
lambda self:
None
9608 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9609 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9611 class LogEmbedding1D(object):
9612 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9616 def __init__(self, *args):
9618 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9619 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9620 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9621 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9622 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9624 this = _IMP_algebra.new_LogEmbedding1D(*args)
9626 self.this.append(this)
9627 except __builtin__.Exception:
9630 def set_origin(self, o):
9631 """set_origin(LogEmbedding1D self, Vector1D o)"""
9632 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9635 def get_origin(self):
9636 """get_origin(LogEmbedding1D self) -> Vector1D"""
9637 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9640 def get_dimension(self):
9641 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9642 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9645 def set_unit_cell(self, *args):
9647 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9648 set_unit_cell(LogEmbedding1D self, Vector1D o)
9650 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9653 def get_unit_cell(self):
9654 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9655 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9658 def get_extended_index(self, o):
9659 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9660 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9664 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9665 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9668 def get_center(self, *args):
9670 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9671 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9673 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9676 def get_bounding_box(self, *args):
9678 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9679 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9681 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9684 def show(self, *args):
9686 show(LogEmbedding1D self, _ostream out)
9687 show(LogEmbedding1D self)
9689 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9693 """__str__(LogEmbedding1D self) -> std::string"""
9694 return _IMP_algebra.LogEmbedding1D___str__(self)
9698 """__repr__(LogEmbedding1D self) -> std::string"""
9699 return _IMP_algebra.LogEmbedding1D___repr__(self)
9702 def __cmp__(self, arg2):
9703 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9704 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9707 def __eq__(self, arg2):
9708 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9709 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9711 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9712 __del__ =
lambda self:
None
9713 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9714 LogEmbedding1D_swigregister(LogEmbedding1D)
9716 class LogEmbedding2D(object):
9717 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9721 def __init__(self, *args):
9723 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9724 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9725 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9726 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9727 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9729 this = _IMP_algebra.new_LogEmbedding2D(*args)
9731 self.this.append(this)
9732 except __builtin__.Exception:
9735 def set_origin(self, o):
9736 """set_origin(LogEmbedding2D self, Vector2D o)"""
9737 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9740 def get_origin(self):
9741 """get_origin(LogEmbedding2D self) -> Vector2D"""
9742 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9745 def get_dimension(self):
9746 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9747 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9750 def set_unit_cell(self, *args):
9752 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9753 set_unit_cell(LogEmbedding2D self, Vector2D o)
9755 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9758 def get_unit_cell(self):
9759 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9760 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9763 def get_extended_index(self, o):
9764 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9765 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9769 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9770 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9773 def get_center(self, *args):
9775 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9776 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9778 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9781 def get_bounding_box(self, *args):
9783 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9784 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9786 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9789 def show(self, *args):
9791 show(LogEmbedding2D self, _ostream out)
9792 show(LogEmbedding2D self)
9794 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9798 """__str__(LogEmbedding2D self) -> std::string"""
9799 return _IMP_algebra.LogEmbedding2D___str__(self)
9803 """__repr__(LogEmbedding2D self) -> std::string"""
9804 return _IMP_algebra.LogEmbedding2D___repr__(self)
9807 def __cmp__(self, arg2):
9808 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9809 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9812 def __eq__(self, arg2):
9813 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9814 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9816 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9817 __del__ =
lambda self:
None
9818 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9819 LogEmbedding2D_swigregister(LogEmbedding2D)
9821 class LogEmbedding4D(object):
9822 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9824 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9826 def __init__(self, *args):
9828 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9829 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9830 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9831 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9832 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9834 this = _IMP_algebra.new_LogEmbedding4D(*args)
9836 self.this.append(this)
9837 except __builtin__.Exception:
9840 def set_origin(self, o):
9841 """set_origin(LogEmbedding4D self, Vector4D o)"""
9842 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9845 def get_origin(self):
9846 """get_origin(LogEmbedding4D self) -> Vector4D"""
9847 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9850 def get_dimension(self):
9851 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9852 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9855 def set_unit_cell(self, *args):
9857 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9858 set_unit_cell(LogEmbedding4D self, Vector4D o)
9860 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9863 def get_unit_cell(self):
9864 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9865 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9868 def get_extended_index(self, o):
9869 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9870 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9874 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9875 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9878 def get_center(self, *args):
9880 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9881 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9883 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9886 def get_bounding_box(self, *args):
9888 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9889 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9891 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9894 def show(self, *args):
9896 show(LogEmbedding4D self, _ostream out)
9897 show(LogEmbedding4D self)
9899 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9903 """__str__(LogEmbedding4D self) -> std::string"""
9904 return _IMP_algebra.LogEmbedding4D___str__(self)
9908 """__repr__(LogEmbedding4D self) -> std::string"""
9909 return _IMP_algebra.LogEmbedding4D___repr__(self)
9912 def __cmp__(self, arg2):
9913 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9914 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9917 def __eq__(self, arg2):
9918 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9919 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9921 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9922 __del__ =
lambda self:
None
9923 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9924 LogEmbedding4D_swigregister(LogEmbedding4D)
9926 class LogEmbedding5D(object):
9927 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9929 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9931 def __init__(self, *args):
9933 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9934 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9935 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9936 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9937 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9939 this = _IMP_algebra.new_LogEmbedding5D(*args)
9941 self.this.append(this)
9942 except __builtin__.Exception:
9945 def set_origin(self, o):
9946 """set_origin(LogEmbedding5D self, Vector5D o)"""
9947 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9950 def get_origin(self):
9951 """get_origin(LogEmbedding5D self) -> Vector5D"""
9952 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9955 def get_dimension(self):
9956 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9957 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9960 def set_unit_cell(self, *args):
9962 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9963 set_unit_cell(LogEmbedding5D self, Vector5D o)
9965 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9968 def get_unit_cell(self):
9969 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9970 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9973 def get_extended_index(self, o):
9974 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9975 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
9979 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
9980 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
9983 def get_center(self, *args):
9985 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9986 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
9988 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
9991 def get_bounding_box(self, *args):
9993 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9994 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9996 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
9999 def show(self, *args):
10001 show(LogEmbedding5D self, _ostream out)
10002 show(LogEmbedding5D self)
10004 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10008 """__str__(LogEmbedding5D self) -> std::string"""
10009 return _IMP_algebra.LogEmbedding5D___str__(self)
10012 def __repr__(self):
10013 """__repr__(LogEmbedding5D self) -> std::string"""
10014 return _IMP_algebra.LogEmbedding5D___repr__(self)
10017 def __cmp__(self, arg2):
10018 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10019 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10022 def __eq__(self, arg2):
10023 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10024 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10026 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10027 __del__ =
lambda self:
None
10028 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10029 LogEmbedding5D_swigregister(LogEmbedding5D)
10031 class LogEmbedding6D(object):
10032 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10034 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10036 def __init__(self, *args):
10038 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10039 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10040 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10041 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10042 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10044 this = _IMP_algebra.new_LogEmbedding6D(*args)
10046 self.this.append(this)
10047 except __builtin__.Exception:
10050 def set_origin(self, o):
10051 """set_origin(LogEmbedding6D self, Vector6D o)"""
10052 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10055 def get_origin(self):
10056 """get_origin(LogEmbedding6D self) -> Vector6D"""
10057 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10060 def get_dimension(self):
10061 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10062 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10065 def set_unit_cell(self, *args):
10067 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10068 set_unit_cell(LogEmbedding6D self, Vector6D o)
10070 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10073 def get_unit_cell(self):
10074 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10075 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10078 def get_extended_index(self, o):
10079 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10080 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10084 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10085 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10088 def get_center(self, *args):
10090 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10091 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10093 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10096 def get_bounding_box(self, *args):
10098 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10099 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10101 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10104 def show(self, *args):
10106 show(LogEmbedding6D self, _ostream out)
10107 show(LogEmbedding6D self)
10109 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10113 """__str__(LogEmbedding6D self) -> std::string"""
10114 return _IMP_algebra.LogEmbedding6D___str__(self)
10117 def __repr__(self):
10118 """__repr__(LogEmbedding6D self) -> std::string"""
10119 return _IMP_algebra.LogEmbedding6D___repr__(self)
10122 def __cmp__(self, arg2):
10123 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10124 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10127 def __eq__(self, arg2):
10128 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10129 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10131 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10132 __del__ =
lambda self:
None
10133 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10134 LogEmbedding6D_swigregister(LogEmbedding6D)
10136 class SpherePatch3D(_GeometricPrimitive3D):
10137 """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10141 def __init__(self, *args):
10143 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10144 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10146 this = _IMP_algebra.new_SpherePatch3D(*args)
10148 self.this.append(this)
10149 except __builtin__.Exception:
10152 def get_contains(self, p):
10153 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10154 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10157 def get_plane(self):
10158 """get_plane(SpherePatch3D self) -> Plane3D"""
10159 return _IMP_algebra.SpherePatch3D_get_plane(self)
10162 def get_sphere(self):
10163 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10164 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10167 def show(self, *args):
10169 show(SpherePatch3D self, _ostream out)
10170 show(SpherePatch3D self)
10172 return _IMP_algebra.SpherePatch3D_show(self, *args)
10175 def get_boundary_point(self):
10176 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10177 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10181 """__str__(SpherePatch3D self) -> std::string"""
10182 return _IMP_algebra.SpherePatch3D___str__(self)
10185 def __repr__(self):
10186 """__repr__(SpherePatch3D self) -> std::string"""
10187 return _IMP_algebra.SpherePatch3D___repr__(self)
10189 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10190 __del__ =
lambda self:
None
10191 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10192 SpherePatch3D_swigregister(SpherePatch3D)
10197 get_area(Plane3D g) -> double
10198 get_area(SpherePatch3D g) -> double
10200 return _IMP_algebra.get_area(*args)
10202 def get_sphere_patch_3d_geometry(g):
10203 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10204 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10205 class Cone3D(_GeometricPrimitive3D):
10206 """Proxy of C++ IMP::algebra::Cone3D class."""
10208 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10210 def __init__(self, *args):
10212 __init__(IMP::algebra::Cone3D self) -> Cone3D
10213 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10215 this = _IMP_algebra.new_Cone3D(*args)
10217 self.this.append(this)
10218 except __builtin__.Exception:
10222 """get_tip(Cone3D self) -> Vector3D"""
10223 return _IMP_algebra.Cone3D_get_tip(self)
10226 def get_direction(self):
10227 """get_direction(Cone3D self) -> Vector3D"""
10228 return _IMP_algebra.Cone3D_get_direction(self)
10232 """get_height(Cone3D self) -> double"""
10233 return _IMP_algebra.Cone3D_get_height(self)
10237 """get_angle(Cone3D self) -> double"""
10238 return _IMP_algebra.Cone3D_get_angle(self)
10241 def get_radius(self):
10242 """get_radius(Cone3D self) -> double"""
10243 return _IMP_algebra.Cone3D_get_radius(self)
10246 def get_contains(self, v):
10247 """get_contains(Cone3D self, Vector3D v) -> bool"""
10248 return _IMP_algebra.Cone3D_get_contains(self, v)
10251 def get_base_plane(self):
10252 """get_base_plane(Cone3D self) -> Plane3D"""
10253 return _IMP_algebra.Cone3D_get_base_plane(self)
10256 def show(self, *args):
10258 show(Cone3D self, _ostream out)
10261 return _IMP_algebra.Cone3D_show(self, *args)
10265 """__str__(Cone3D self) -> std::string"""
10266 return _IMP_algebra.Cone3D___str__(self)
10269 def __repr__(self):
10270 """__repr__(Cone3D self) -> std::string"""
10271 return _IMP_algebra.Cone3D___repr__(self)
10273 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10274 __del__ =
lambda self:
None
10275 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10276 Cone3D_swigregister(Cone3D)
10281 get_surface_area(BoundingBox3D g) -> double
10282 get_surface_area(Sphere3D g) -> double
10283 get_surface_area(Cylinder3D g) -> double
10284 get_surface_area(Ellipsoid3D g) -> double
10285 get_surface_area(Cone3D g) -> double
10287 return _IMP_algebra.get_surface_area(*args)
10291 get_volume(BoundingBox3D g) -> double
10292 get_volume(Sphere3D g) -> double
10293 get_volume(Cylinder3D g) -> double
10294 get_volume(Ellipsoid3D g) -> double
10295 get_volume(Cone3D g) -> double
10297 return _IMP_algebra.get_volume(*args)
10299 def get_cone_3d_geometry(g):
10300 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10301 return _IMP_algebra.get_cone_3d_geometry(g)
10304 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10305 return _IMP_algebra.write_pts(vs, out)
10308 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10309 return _IMP_algebra.read_pts(input)
10312 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10313 return _IMP_algebra.write_spheres(vs, out)
10316 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10317 return _IMP_algebra.read_spheres(input)
10320 """get_random_vector_on_unit_sphere() -> Vector3D"""
10321 return _IMP_algebra.get_random_vector_on_unit_sphere()
10324 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10325 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10329 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10330 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10331 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10333 return _IMP_algebra.get_random_chain(*args)
10336 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10337 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10341 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10342 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10344 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10347 """get_is_big_endian() -> bool"""
10348 return _IMP_algebra.get_is_big_endian()
10351 """get_is_little_endian() -> bool"""
10352 return _IMP_algebra.get_is_little_endian()
10356 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10357 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10359 return _IMP_algebra.get_shortest_segment(*args)
10361 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10363 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10365 def __init__(self, vs, query_estimate=1):
10367 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10368 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10370 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10372 self.this.append(this)
10373 except __builtin__.Exception:
10376 def get_in_ball(self, id, distance):
10377 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10378 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10381 def set_coordinates(self, id, nc):
10382 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10383 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10386 def get_version_info(self):
10387 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10388 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10392 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10393 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10396 def __repr__(self):
10397 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10398 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10403 return _object_cast_to_DynamicNearestNeighbor3D(o)
10405 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10406 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10409 """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10413 def __init__(self, name):
10414 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10415 if self.__class__ == VectorKDMetric:
10419 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10421 self.this.append(this)
10422 except __builtin__.Exception:
10425 if self.__class__ != VectorKDMetric:
10426 _director_objects.register(self)
10432 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10433 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10437 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10438 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10442 """__str__(VectorKDMetric self) -> std::string"""
10443 return _IMP_algebra.VectorKDMetric___str__(self)
10446 def __repr__(self):
10447 """__repr__(VectorKDMetric self) -> std::string"""
10448 return _IMP_algebra.VectorKDMetric___repr__(self)
10453 return _object_cast_to_VectorKDMetric(o)
10456 def get_type_name(self):
10457 return self.__class__.__name__
10458 def do_show(self, out):
10460 def get_version_info(self):
10461 if"IMP::algebra" ==
"IMP":
10462 return VersionInfo(self.__module__,
10463 __import__(self.__module__).get_module_version())
10466 __import__(self.__module__).get_module_version())
10469 return _object_cast_to_VectorKDMetric(o)
10471 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10472 __del__ =
lambda self:
None
10473 def __disown__(self):
10475 _IMP_algebra.disown_VectorKDMetric(self)
10476 return weakref_proxy(self)
10478 def do_destroy(self):
10479 """do_destroy(VectorKDMetric self)"""
10480 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10482 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10483 VectorKDMetric_swigregister(VectorKDMetric)
10485 class EuclideanVectorKDMetric(VectorKDMetric):
10486 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10490 def __init__(self, *args):
10492 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10493 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10495 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10497 self.this.append(this)
10498 except __builtin__.Exception:
10501 def get_version_info(self):
10502 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10503 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10507 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10508 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10511 def __repr__(self):
10512 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10513 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10518 return _object_cast_to_EuclideanVectorKDMetric(o)
10520 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10521 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10523 class MaxVectorKDMetric(VectorKDMetric):
10524 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10526 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10528 def __init__(self, *args):
10530 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10531 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10533 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10535 self.this.append(this)
10536 except __builtin__.Exception:
10539 def get_version_info(self):
10540 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10541 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10545 """__str__(MaxVectorKDMetric self) -> std::string"""
10546 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10549 def __repr__(self):
10550 """__repr__(MaxVectorKDMetric self) -> std::string"""
10551 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10556 return _object_cast_to_MaxVectorKDMetric(o)
10558 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10559 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10561 class Gaussian3D(_GeometricPrimitive3D):
10562 """Proxy of C++ IMP::algebra::Gaussian3D class."""
10564 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10566 def __init__(self, *args):
10568 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10569 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10571 this = _IMP_algebra.new_Gaussian3D(*args)
10573 self.this.append(this)
10574 except __builtin__.Exception:
10577 def get_reference_frame(self):
10578 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10579 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10582 def get_variances(self):
10583 """get_variances(Gaussian3D self) -> Vector3D"""
10584 return _IMP_algebra.Gaussian3D_get_variances(self)
10587 def get_center(self):
10588 """get_center(Gaussian3D self) -> Vector3D"""
10589 return _IMP_algebra.Gaussian3D_get_center(self)
10592 def show(self, *args):
10594 show(Gaussian3D self, _ostream out)
10595 show(Gaussian3D self)
10597 return _IMP_algebra.Gaussian3D_show(self, *args)
10601 """__str__(Gaussian3D self) -> std::string"""
10602 return _IMP_algebra.Gaussian3D___str__(self)
10605 def __repr__(self):
10606 """__repr__(Gaussian3D self) -> std::string"""
10607 return _IMP_algebra.Gaussian3D___repr__(self)
10609 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10610 __del__ =
lambda self:
None
10611 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10612 Gaussian3D_swigregister(Gaussian3D)
10616 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
10617 return _IMP_algebra.get_covariance(g)
10620 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10621 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10624 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10625 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10629 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10630 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10632 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10634 def _pass_matrix_xf(m):
10635 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
10636 return _IMP_algebra._pass_matrix_xf(m)
10638 def _pass_matrix_xd(m):
10639 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
10640 return _IMP_algebra._pass_matrix_xd(m)
10642 def _pass_matrix_3d(m):
10643 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
10644 return _IMP_algebra._pass_matrix_3d(m)
10646 def _pass_array_xd(m):
10647 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
10648 return _IMP_algebra._pass_array_xd(m)
10650 def _pass_vector_xd(m):
10651 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
10652 return _IMP_algebra._pass_vector_xd(m)
10654 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10656 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10658 def __init__(self, vs, epsilon=0):
10660 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10661 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10663 this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10665 self.this.append(this)
10666 except __builtin__.Exception:
10669 def set_query_log(self, fname):
10670 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10671 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10674 def get_nearest_neighbor(self, *args):
10676 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10677 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10679 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10682 def get_nearest_neighbors(self, *args):
10684 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10685 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10687 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10690 def get_in_ball(self, *args):
10692 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10693 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10695 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10698 def get_version_info(self):
10699 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10700 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10704 """__str__(NearestNeighbor1D self) -> std::string"""
10705 return _IMP_algebra.NearestNeighbor1D___str__(self)
10708 def __repr__(self):
10709 """__repr__(NearestNeighbor1D self) -> std::string"""
10710 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10715 return _object_cast_to_NearestNeighborD(o)
10717 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10718 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10721 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10723 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10725 def __init__(self, vs, epsilon=0):
10727 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10728 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10730 this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10732 self.this.append(this)
10733 except __builtin__.Exception:
10736 def set_query_log(self, fname):
10737 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10738 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10741 def get_nearest_neighbor(self, *args):
10743 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10744 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10746 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10749 def get_nearest_neighbors(self, *args):
10751 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10752 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10754 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10757 def get_in_ball(self, *args):
10759 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10760 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10762 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10765 def get_version_info(self):
10766 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10767 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10771 """__str__(NearestNeighbor2D self) -> std::string"""
10772 return _IMP_algebra.NearestNeighbor2D___str__(self)
10775 def __repr__(self):
10776 """__repr__(NearestNeighbor2D self) -> std::string"""
10777 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10782 return _object_cast_to_NearestNeighborD(o)
10784 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10785 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10788 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10792 def __init__(self, vs, epsilon=0):
10794 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10795 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10797 this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10799 self.this.append(this)
10800 except __builtin__.Exception:
10803 def set_query_log(self, fname):
10804 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10805 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10808 def get_nearest_neighbor(self, *args):
10810 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10811 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10813 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10816 def get_nearest_neighbors(self, *args):
10818 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10819 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10821 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10824 def get_in_ball(self, *args):
10826 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10827 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10829 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10832 def get_version_info(self):
10833 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10834 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10838 """__str__(NearestNeighbor3D self) -> std::string"""
10839 return _IMP_algebra.NearestNeighbor3D___str__(self)
10842 def __repr__(self):
10843 """__repr__(NearestNeighbor3D self) -> std::string"""
10844 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10849 return _object_cast_to_NearestNeighborD(o)
10851 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10852 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10855 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10859 def __init__(self, vs, epsilon=0):
10861 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10862 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10864 this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10866 self.this.append(this)
10867 except __builtin__.Exception:
10870 def set_query_log(self, fname):
10871 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10872 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10875 def get_nearest_neighbor(self, *args):
10877 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10878 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10880 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10883 def get_nearest_neighbors(self, *args):
10885 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10886 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10888 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10891 def get_in_ball(self, *args):
10893 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10894 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10896 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10899 def get_version_info(self):
10900 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10901 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10905 """__str__(NearestNeighbor4D self) -> std::string"""
10906 return _IMP_algebra.NearestNeighbor4D___str__(self)
10909 def __repr__(self):
10910 """__repr__(NearestNeighbor4D self) -> std::string"""
10911 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10916 return _object_cast_to_NearestNeighborD(o)
10918 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10919 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10922 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10924 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10926 def __init__(self, vs, epsilon=0):
10928 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10929 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10931 this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10933 self.this.append(this)
10934 except __builtin__.Exception:
10937 def set_query_log(self, fname):
10938 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10939 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10942 def get_nearest_neighbor(self, *args):
10944 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10945 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10947 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10950 def get_nearest_neighbors(self, *args):
10952 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10953 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10955 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10958 def get_in_ball(self, *args):
10960 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10961 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10963 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10966 def get_version_info(self):
10967 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10968 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10972 """__str__(NearestNeighbor5D self) -> std::string"""
10973 return _IMP_algebra.NearestNeighbor5D___str__(self)
10976 def __repr__(self):
10977 """__repr__(NearestNeighbor5D self) -> std::string"""
10978 return _IMP_algebra.NearestNeighbor5D___repr__(self)
10983 return _object_cast_to_NearestNeighborD(o)
10985 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
10986 NearestNeighbor5D_swigregister(NearestNeighbor5D)
10989 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
10991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10993 def __init__(self, vs, epsilon=0):
10995 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
10996 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
10998 this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11000 self.this.append(this)
11001 except __builtin__.Exception:
11004 def set_query_log(self, fname):
11005 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11006 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11009 def get_nearest_neighbor(self, *args):
11011 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11012 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11014 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11017 def get_nearest_neighbors(self, *args):
11019 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11020 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11022 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11025 def get_in_ball(self, *args):
11027 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11028 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11030 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11033 def get_version_info(self):
11034 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11035 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11039 """__str__(NearestNeighbor6D self) -> std::string"""
11040 return _IMP_algebra.NearestNeighbor6D___str__(self)
11043 def __repr__(self):
11044 """__repr__(NearestNeighbor6D self) -> std::string"""
11045 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11050 return _object_cast_to_NearestNeighborD(o)
11052 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11053 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11056 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11060 def __init__(self, vs, epsilon=0):
11062 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11063 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11065 this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11067 self.this.append(this)
11068 except __builtin__.Exception:
11071 def set_query_log(self, fname):
11072 """set_query_log(NearestNeighborKD self, std::string fname)"""
11073 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11076 def get_nearest_neighbor(self, *args):
11078 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11079 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11081 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11084 def get_nearest_neighbors(self, *args):
11086 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11087 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11089 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11092 def get_in_ball(self, *args):
11094 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11095 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11097 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11100 def get_version_info(self):
11101 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11102 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11106 """__str__(NearestNeighborKD self) -> std::string"""
11107 return _IMP_algebra.NearestNeighborKD___str__(self)
11110 def __repr__(self):
11111 """__repr__(NearestNeighborKD self) -> std::string"""
11112 return _IMP_algebra.NearestNeighborKD___repr__(self)
11117 return _object_cast_to_NearestNeighborD(o)
11119 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11120 NearestNeighborKD_swigregister(NearestNeighborKD)
11124 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11125 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11126 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11127 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11131 def __init__(self, *args):
11133 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11134 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11136 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11138 self.this.append(this)
11139 except __builtin__.Exception:
11143 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11144 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11147 def get_principal_component(self, i):
11148 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11149 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11152 def get_principal_values(self):
11153 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11154 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11157 def get_principal_value(self, i):
11158 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11159 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11163 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11164 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11167 def set_centroid(self, cntr):
11168 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11169 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11172 def show(self, *args):
11174 show(PrincipalComponentAnalysis1D self, _ostream out)
11175 show(PrincipalComponentAnalysis1D self)
11177 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11180 def __cmp__(self, o):
11181 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11182 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11185 def __eq__(self, o):
11186 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11187 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11190 def __ne__(self, o):
11191 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11192 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11195 def __lt__(self, o):
11196 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11197 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11200 def __gt__(self, o):
11201 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11202 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11205 def __ge__(self, o):
11206 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11207 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11210 def __le__(self, o):
11211 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11212 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11216 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11217 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11220 def __repr__(self):
11221 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11222 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11224 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11225 __del__ =
lambda self:
None
11226 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11227 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11229 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11230 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11232 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11234 def __init__(self, *args):
11236 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11237 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11239 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11241 self.this.append(this)
11242 except __builtin__.Exception:
11246 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11247 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11250 def get_principal_component(self, i):
11251 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11252 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11255 def get_principal_values(self):
11256 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11257 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11260 def get_principal_value(self, i):
11261 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11262 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11266 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11267 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11270 def set_centroid(self, cntr):
11271 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11272 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11275 def show(self, *args):
11277 show(PrincipalComponentAnalysis2D self, _ostream out)
11278 show(PrincipalComponentAnalysis2D self)
11280 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11283 def __cmp__(self, o):
11284 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11285 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11288 def __eq__(self, o):
11289 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11290 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11293 def __ne__(self, o):
11294 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11295 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11298 def __lt__(self, o):
11299 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11300 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11303 def __gt__(self, o):
11304 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11305 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11308 def __ge__(self, o):
11309 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11310 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11313 def __le__(self, o):
11314 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11315 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11319 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11320 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11323 def __repr__(self):
11324 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11325 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11327 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11328 __del__ =
lambda self:
None
11329 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11330 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11332 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11333 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11337 def __init__(self, *args):
11339 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11340 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11342 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11344 self.this.append(this)
11345 except __builtin__.Exception:
11349 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11350 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11353 def get_principal_component(self, i):
11354 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11355 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11358 def get_principal_values(self):
11359 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11360 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11363 def get_principal_value(self, i):
11364 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11365 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11369 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11370 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11373 def set_centroid(self, cntr):
11374 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11375 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11378 def show(self, *args):
11380 show(PrincipalComponentAnalysis3D self, _ostream out)
11381 show(PrincipalComponentAnalysis3D self)
11383 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11386 def __cmp__(self, o):
11387 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11388 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11391 def __eq__(self, o):
11392 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11393 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11396 def __ne__(self, o):
11397 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11398 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11401 def __lt__(self, o):
11402 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11403 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11406 def __gt__(self, o):
11407 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11408 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11411 def __ge__(self, o):
11412 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11413 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11416 def __le__(self, o):
11417 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11418 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11422 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11423 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11426 def __repr__(self):
11427 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11428 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11430 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11431 __del__ =
lambda self:
None
11432 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11433 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11435 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11436 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11438 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11440 def __init__(self, *args):
11442 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11443 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11445 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11447 self.this.append(this)
11448 except __builtin__.Exception:
11452 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11453 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11456 def get_principal_component(self, i):
11457 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11458 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11461 def get_principal_values(self):
11462 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11463 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11466 def get_principal_value(self, i):
11467 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11468 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11472 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11473 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11476 def set_centroid(self, cntr):
11477 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11478 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11481 def show(self, *args):
11483 show(PrincipalComponentAnalysis4D self, _ostream out)
11484 show(PrincipalComponentAnalysis4D self)
11486 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11489 def __cmp__(self, o):
11490 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11491 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11494 def __eq__(self, o):
11495 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11496 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11499 def __ne__(self, o):
11500 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11501 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11504 def __lt__(self, o):
11505 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11506 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11509 def __gt__(self, o):
11510 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11511 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11514 def __ge__(self, o):
11515 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11516 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11519 def __le__(self, o):
11520 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11521 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11525 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11526 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11529 def __repr__(self):
11530 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11531 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11533 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11534 __del__ =
lambda self:
None
11535 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11536 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11538 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11539 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11541 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11543 def __init__(self, *args):
11545 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11546 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11548 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11550 self.this.append(this)
11551 except __builtin__.Exception:
11555 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11556 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11559 def get_principal_component(self, i):
11560 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11561 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11564 def get_principal_values(self):
11565 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11566 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11569 def get_principal_value(self, i):
11570 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11571 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11575 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11576 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11579 def set_centroid(self, cntr):
11580 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11581 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11584 def show(self, *args):
11586 show(PrincipalComponentAnalysis5D self, _ostream out)
11587 show(PrincipalComponentAnalysis5D self)
11589 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11592 def __cmp__(self, o):
11593 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11594 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11597 def __eq__(self, o):
11598 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11599 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11602 def __ne__(self, o):
11603 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11604 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11607 def __lt__(self, o):
11608 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11609 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11612 def __gt__(self, o):
11613 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11614 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11617 def __ge__(self, o):
11618 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11619 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11622 def __le__(self, o):
11623 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11624 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11628 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11629 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11632 def __repr__(self):
11633 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11634 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11636 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11637 __del__ =
lambda self:
None
11638 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11639 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11641 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11642 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11646 def __init__(self, *args):
11648 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11649 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11651 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11653 self.this.append(this)
11654 except __builtin__.Exception:
11658 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11659 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11662 def get_principal_component(self, i):
11663 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11664 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11667 def get_principal_values(self):
11668 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11669 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11672 def get_principal_value(self, i):
11673 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11674 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11678 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11679 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11682 def set_centroid(self, cntr):
11683 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11684 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11687 def show(self, *args):
11689 show(PrincipalComponentAnalysis6D self, _ostream out)
11690 show(PrincipalComponentAnalysis6D self)
11692 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11695 def __cmp__(self, o):
11696 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11697 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11700 def __eq__(self, o):
11701 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11702 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11705 def __ne__(self, o):
11706 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11707 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11710 def __lt__(self, o):
11711 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11712 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11715 def __gt__(self, o):
11716 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11717 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11720 def __ge__(self, o):
11721 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11722 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11725 def __le__(self, o):
11726 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11727 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11731 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11732 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11735 def __repr__(self):
11736 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11737 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11739 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11740 __del__ =
lambda self:
None
11741 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11742 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11744 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11745 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11747 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11749 def __init__(self, *args):
11751 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11752 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11754 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11756 self.this.append(this)
11757 except __builtin__.Exception:
11761 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11762 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11765 def get_principal_component(self, i):
11766 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11767 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11770 def get_principal_values(self):
11771 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11772 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11775 def get_principal_value(self, i):
11776 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11777 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11781 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11782 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11785 def set_centroid(self, cntr):
11786 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11787 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11790 def show(self, *args):
11792 show(PrincipalComponentAnalysisKD self, _ostream out)
11793 show(PrincipalComponentAnalysisKD self)
11795 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11798 def __cmp__(self, o):
11799 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11800 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11803 def __eq__(self, o):
11804 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11805 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11808 def __ne__(self, o):
11809 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11810 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11813 def __lt__(self, o):
11814 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11815 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11818 def __gt__(self, o):
11819 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11820 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11823 def __ge__(self, o):
11824 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11825 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11828 def __le__(self, o):
11829 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11830 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11834 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11835 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11838 def __repr__(self):
11839 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11840 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11842 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11843 __del__ =
lambda self:
None
11844 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11845 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11850 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11851 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11852 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11853 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11854 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11855 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11856 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11858 return _IMP_algebra.get_principal_components(*args)
11862 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11863 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11864 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11865 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11866 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11867 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11868 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11870 return _IMP_algebra.get_vertices(*args)
11874 get_distance(Rotation3D r0, Rotation3D r1) -> double
11875 get_distance(Line3D s, Vector3D p) -> double
11876 get_distance(Line3D a, Line3D b) -> double
11877 get_distance(Segment3D s, Vector3D p) -> double
11878 get_distance(Segment3D a, Segment3D b) -> double
11879 get_distance(Plane3D pln, Vector3D p) -> double
11880 get_distance(Vector1D a, Vector1D b) -> double
11881 get_distance(Vector2D a, Vector2D b) -> double
11882 get_distance(Vector3D a, Vector3D b) -> double
11883 get_distance(Vector4D a, Vector4D b) -> double
11884 get_distance(Vector5D a, Vector5D b) -> double
11885 get_distance(Vector6D a, Vector6D b) -> double
11886 get_distance(VectorKD a, VectorKD b) -> double
11887 get_distance(Sphere1D a, Sphere1D b) -> double
11888 get_distance(Sphere2D a, Sphere2D b) -> double
11889 get_distance(Sphere3D a, Sphere3D b) -> double
11890 get_distance(Sphere4D a, Sphere4D b) -> double
11891 get_distance(Sphere5D a, Sphere5D b) -> double
11892 get_distance(Sphere6D a, Sphere6D b) -> double
11893 get_distance(SphereKD a, SphereKD b) -> double
11895 return _IMP_algebra.get_distance(*args)
11899 get_squared_distance(Vector1D a, Vector1D b) -> double
11900 get_squared_distance(Vector2D a, Vector2D b) -> double
11901 get_squared_distance(Vector3D a, Vector3D b) -> double
11902 get_squared_distance(Vector4D a, Vector4D b) -> double
11903 get_squared_distance(Vector5D a, Vector5D b) -> double
11904 get_squared_distance(Vector6D a, Vector6D b) -> double
11905 get_squared_distance(VectorKD a, VectorKD b) -> double
11907 return _IMP_algebra.get_squared_distance(*args)
11909 def get_basis_vector_1d(coordinate):
11910 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11911 return _IMP_algebra.get_basis_vector_1d(coordinate)
11913 def get_basis_vector_2d(coordinate):
11914 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11915 return _IMP_algebra.get_basis_vector_2d(coordinate)
11917 def get_basis_vector_3d(coordinate):
11918 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11919 return _IMP_algebra.get_basis_vector_3d(coordinate)
11921 def get_basis_vector_4d(coordinate):
11922 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11923 return _IMP_algebra.get_basis_vector_4d(coordinate)
11925 def get_basis_vector_5d(coordinate):
11926 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11927 return _IMP_algebra.get_basis_vector_5d(coordinate)
11929 def get_basis_vector_6d(coordinate):
11930 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11931 return _IMP_algebra.get_basis_vector_6d(coordinate)
11933 def get_zero_vector_1d():
11934 """get_zero_vector_1d() -> Vector1D"""
11935 return _IMP_algebra.get_zero_vector_1d()
11937 def get_zero_vector_2d():
11938 """get_zero_vector_2d() -> Vector2D"""
11939 return _IMP_algebra.get_zero_vector_2d()
11941 def get_zero_vector_3d():
11942 """get_zero_vector_3d() -> Vector3D"""
11943 return _IMP_algebra.get_zero_vector_3d()
11945 def get_zero_vector_4d():
11946 """get_zero_vector_4d() -> Vector4D"""
11947 return _IMP_algebra.get_zero_vector_4d()
11949 def get_zero_vector_5d():
11950 """get_zero_vector_5d() -> Vector5D"""
11951 return _IMP_algebra.get_zero_vector_5d()
11953 def get_zero_vector_6d():
11954 """get_zero_vector_6d() -> Vector6D"""
11955 return _IMP_algebra.get_zero_vector_6d()
11957 def get_ones_vector_1d(v=1):
11959 get_ones_vector_1d(double v=1) -> Vector1D
11960 get_ones_vector_1d() -> Vector1D
11962 return _IMP_algebra.get_ones_vector_1d(v)
11964 def get_ones_vector_2d(v=1):
11966 get_ones_vector_2d(double v=1) -> Vector2D
11967 get_ones_vector_2d() -> Vector2D
11969 return _IMP_algebra.get_ones_vector_2d(v)
11971 def get_ones_vector_3d(v=1):
11973 get_ones_vector_3d(double v=1) -> Vector3D
11974 get_ones_vector_3d() -> Vector3D
11976 return _IMP_algebra.get_ones_vector_3d(v)
11978 def get_ones_vector_4d(v=1):
11980 get_ones_vector_4d(double v=1) -> Vector4D
11981 get_ones_vector_4d() -> Vector4D
11983 return _IMP_algebra.get_ones_vector_4d(v)
11985 def get_ones_vector_5d(v=1):
11987 get_ones_vector_5d(double v=1) -> Vector5D
11988 get_ones_vector_5d() -> Vector5D
11990 return _IMP_algebra.get_ones_vector_5d(v)
11992 def get_ones_vector_6d(v=1):
11994 get_ones_vector_6d(double v=1) -> Vector6D
11995 get_ones_vector_6d() -> Vector6D
11997 return _IMP_algebra.get_ones_vector_6d(v)
11999 def get_unit_bounding_box_1d():
12000 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12001 return _IMP_algebra.get_unit_bounding_box_1d()
12003 def get_unit_bounding_box_2d():
12004 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12005 return _IMP_algebra.get_unit_bounding_box_2d()
12007 def get_unit_bounding_box_3d():
12008 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12009 return _IMP_algebra.get_unit_bounding_box_3d()
12011 def get_unit_bounding_box_4d():
12012 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12013 return _IMP_algebra.get_unit_bounding_box_4d()
12015 def get_unit_bounding_box_5d():
12016 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12017 return _IMP_algebra.get_unit_bounding_box_5d()
12019 def get_unit_bounding_box_6d():
12020 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12021 return _IMP_algebra.get_unit_bounding_box_6d()
12023 def get_cube_1d(radius):
12024 """get_cube_1d(double radius) -> BoundingBox1D"""
12025 return _IMP_algebra.get_cube_1d(radius)
12027 def get_cube_2d(radius):
12028 """get_cube_2d(double radius) -> BoundingBox2D"""
12029 return _IMP_algebra.get_cube_2d(radius)
12031 def get_cube_3d(radius):
12032 """get_cube_3d(double radius) -> BoundingBox3D"""
12033 return _IMP_algebra.get_cube_3d(radius)
12035 def get_cube_4d(radius):
12036 """get_cube_4d(double radius) -> BoundingBox4D"""
12037 return _IMP_algebra.get_cube_4d(radius)
12039 def get_cube_5d(radius):
12040 """get_cube_5d(double radius) -> BoundingBox5D"""
12041 return _IMP_algebra.get_cube_5d(radius)
12043 def get_cube_6d(radius):
12044 """get_cube_6d(double radius) -> BoundingBox6D"""
12045 return _IMP_algebra.get_cube_6d(radius)
12047 def get_unit_sphere_1d():
12048 """get_unit_sphere_1d() -> Sphere1D"""
12049 return _IMP_algebra.get_unit_sphere_1d()
12051 def get_unit_sphere_2d():
12052 """get_unit_sphere_2d() -> Sphere2D"""
12053 return _IMP_algebra.get_unit_sphere_2d()
12055 def get_unit_sphere_3d():
12056 """get_unit_sphere_3d() -> Sphere3D"""
12057 return _IMP_algebra.get_unit_sphere_3d()
12059 def get_unit_sphere_4d():
12060 """get_unit_sphere_4d() -> Sphere4D"""
12061 return _IMP_algebra.get_unit_sphere_4d()
12063 def get_unit_sphere_5d():
12064 """get_unit_sphere_5d() -> Sphere5D"""
12065 return _IMP_algebra.get_unit_sphere_5d()
12067 def get_unit_sphere_6d():
12068 """get_unit_sphere_6d() -> Sphere6D"""
12069 return _IMP_algebra.get_unit_sphere_6d()
12073 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12074 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12075 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12076 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12077 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12078 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12079 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12080 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12081 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12082 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12083 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12084 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12085 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12086 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12088 return _IMP_algebra.get_interiors_intersect(*args)
12092 get_random_vector_on(Sphere1D a) -> Vector1D
12093 get_random_vector_on(Sphere2D a) -> Vector2D
12094 get_random_vector_on(Sphere3D a) -> Vector3D
12095 get_random_vector_on(Sphere4D a) -> Vector4D
12096 get_random_vector_on(Sphere5D a) -> Vector5D
12097 get_random_vector_on(Sphere6D a) -> Vector6D
12098 get_random_vector_on(SphereKD a) -> VectorKD
12099 get_random_vector_on(BoundingBox1D a) -> Vector1D
12100 get_random_vector_on(BoundingBox2D a) -> Vector2D
12101 get_random_vector_on(BoundingBox3D a) -> Vector3D
12102 get_random_vector_on(BoundingBox4D a) -> Vector4D
12103 get_random_vector_on(BoundingBox5D a) -> Vector5D
12104 get_random_vector_on(BoundingBox6D a) -> Vector6D
12105 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12107 return _IMP_algebra.get_random_vector_on(*args)
12111 get_random_vector_in(Cylinder3D c) -> Vector3D
12112 get_random_vector_in(Sphere1D a) -> Vector1D
12113 get_random_vector_in(Sphere2D a) -> Vector2D
12114 get_random_vector_in(Sphere3D a) -> Vector3D
12115 get_random_vector_in(Sphere4D a) -> Vector4D
12116 get_random_vector_in(Sphere5D a) -> Vector5D
12117 get_random_vector_in(Sphere6D a) -> Vector6D
12118 get_random_vector_in(SphereKD a) -> VectorKD
12119 get_random_vector_in(BoundingBox1D a) -> Vector1D
12120 get_random_vector_in(BoundingBox2D a) -> Vector2D
12121 get_random_vector_in(BoundingBox3D a) -> Vector3D
12122 get_random_vector_in(BoundingBox4D a) -> Vector4D
12123 get_random_vector_in(BoundingBox5D a) -> Vector5D
12124 get_random_vector_in(BoundingBox6D a) -> Vector6D
12125 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12127 return _IMP_algebra.get_random_vector_in(*args)
12131 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12132 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12133 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12134 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12135 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12136 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12137 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12139 return _IMP_algebra.get_intersection(*args)
12143 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12144 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12145 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12146 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12147 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12148 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12149 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12151 return _IMP_algebra.get_union(*args)
12153 def get_bounding_box(*args):
12155 get_bounding_box(Line3D g) -> BoundingBox3D
12156 get_bounding_box(Segment3D g) -> BoundingBox3D
12157 get_bounding_box(Plane3D g) -> BoundingBox3D
12158 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12159 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12160 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12161 get_bounding_box(Cone3D g) -> BoundingBox3D
12162 get_bounding_box(Sphere1D a) -> BoundingBox1D
12163 get_bounding_box(Sphere2D a) -> BoundingBox2D
12164 get_bounding_box(Sphere3D a) -> BoundingBox3D
12165 get_bounding_box(Sphere4D a) -> BoundingBox4D
12166 get_bounding_box(Sphere5D a) -> BoundingBox5D
12167 get_bounding_box(Sphere6D a) -> BoundingBox6D
12168 get_bounding_box(SphereKD a) -> BoundingBoxKD
12170 return _IMP_algebra.get_bounding_box(*args)
12174 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12175 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12176 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12177 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12178 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12179 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12180 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12181 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12182 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12183 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12184 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12186 return _IMP_algebra.get_uniform_surface_cover(*args)
12190 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12191 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12192 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12193 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12194 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12195 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12196 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12198 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12199 class _AxisAnglePair(object):
12200 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12203 __repr__ = _swig_repr
12205 def __init__(self, *args):
12207 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12208 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12209 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12211 this = _IMP_algebra.new__AxisAnglePair(*args)
12213 self.this.append(this)
12214 except __builtin__.Exception:
12216 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12217 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12220 def __repr__(self):
12221 return str((self.first, self.second))
12222 def __getitem__(self, index):
12223 if not (index % 2):
12227 def __setitem__(self, index, val):
12228 if not (index % 2):
12232 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12233 __del__ =
lambda self:
None
12234 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12235 _AxisAnglePair_swigregister(_AxisAnglePair)
12239 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12240 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12243 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12244 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12247 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12248 return _IMP_algebra.get_rmsd(v0, v1)
12250 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12251 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12252 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12255 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12256 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12258 LinearFit=LinearFit2D
12259 ParabolicFit=ParabolicFit2D
12262 def get_module_version():
12263 """get_module_version() -> std::string const"""
12264 return _IMP_algebra.get_module_version()
12267 """get_example_path(std::string fname) -> std::string"""
12268 return _IMP_algebra.get_example_path(fname)
12271 """get_data_path(std::string fname) -> std::string"""
12272 return _IMP_algebra.get_data_path(fname)
12274 from .
import _version_check
12275 _version_check.check_version(get_module_version())
12276 __version__ = get_module_version()
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
SphereD< 3 > Sphere3D
Typedef for Python.
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Make CGAL functionality available to IMP.
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)
IMP_Eigen::Matrix3d get_covariance(const Gaussian3D &g)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Version and module information for Objects.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Gaussian3D get_gaussian_from_covariance(const IMP_Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
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.
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.