10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
32 _IMP_algebra = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_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)
224 _IMP_algebra.IMP_DEBUG_swigconstant(_IMP_algebra)
225 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
227 _IMP_algebra.IMP_RELEASE_swigconstant(_IMP_algebra)
228 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
230 _IMP_algebra.IMP_SILENT_swigconstant(_IMP_algebra)
231 IMP_SILENT = _IMP_algebra.IMP_SILENT
233 _IMP_algebra.IMP_PROGRESS_swigconstant(_IMP_algebra)
234 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
236 _IMP_algebra.IMP_TERSE_swigconstant(_IMP_algebra)
237 IMP_TERSE = _IMP_algebra.IMP_TERSE
239 _IMP_algebra.IMP_VERBOSE_swigconstant(_IMP_algebra)
240 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
242 _IMP_algebra.IMP_MEMORY_swigconstant(_IMP_algebra)
243 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
245 _IMP_algebra.IMP_NONE_swigconstant(_IMP_algebra)
246 IMP_NONE = _IMP_algebra.IMP_NONE
248 _IMP_algebra.IMP_USAGE_swigconstant(_IMP_algebra)
249 IMP_USAGE = _IMP_algebra.IMP_USAGE
251 _IMP_algebra.IMP_INTERNAL_swigconstant(_IMP_algebra)
252 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
254 _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_algebra)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_algebra.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_algebra)
258 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
260 _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_algebra)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_algebra)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_algebra._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_algebra._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_algebra)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_algebra.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_algebra)
328 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
330 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
331 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
334 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
347 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
350 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
368 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
369 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
371 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
376 return v.get_coordinates()
381 return v.get_sphere()
386 _object_types.append(
"VectorKDMetric")
389 def _object_cast_to_VectorKDMetric(o):
390 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
391 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
393 _object_types.append(
"EuclideanVectorKDMetric")
396 def _object_cast_to_EuclideanVectorKDMetric(o):
397 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
398 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
400 _object_types.append(
"MaxVectorKDMetric")
403 def _object_cast_to_MaxVectorKDMetric(o):
404 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
405 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
407 _object_types.append(
"DynamicNearestNeighbor3D")
410 def _object_cast_to_DynamicNearestNeighbor3D(o):
411 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
412 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
415 _plural_types.append(
"Rotation2Ds")
416 _value_types.append(
"Rotation2D")
420 _plural_types.append(
"Rotation3Ds")
421 _value_types.append(
"Rotation3D")
425 _plural_types.append(
"Reflection3Ds")
426 _value_types.append(
"Reflection3D")
429 Transformation2Ds=list
430 _plural_types.append(
"Transformation2Ds")
431 _value_types.append(
"Transformation2D")
434 Transformation3Ds=list
435 _plural_types.append(
"Transformation3Ds")
436 _value_types.append(
"Transformation3D")
439 SphericalVector3Ds=list
440 _plural_types.append(
"SphericalVector3Ds")
441 _value_types.append(
"SphericalVector3D")
445 _plural_types.append(
"Triangle3Ds")
446 _value_types.append(
"Triangle3D")
450 _plural_types.append(
"Cone3Ds")
451 _value_types.append(
"Cone3D")
455 _plural_types.append(
"Cylinder3Ds")
456 _value_types.append(
"Cylinder3D")
460 _plural_types.append(
"Ellipsoid3Ds")
461 _value_types.append(
"Ellipsoid3D")
465 _plural_types.append(
"Plane3Ds")
466 _value_types.append(
"Plane3D")
470 _plural_types.append(
"Segment3Ds")
471 _value_types.append(
"Segment3D")
475 _plural_types.append(
"SpherePatch3Ds")
476 _value_types.append(
"SpherePatch3D")
479 ConnollySurfacePoints=list
480 _plural_types.append(
"ConnollySurfacePoints")
481 _value_types.append(
"ConnollySurfacePoint")
485 _plural_types.append(
"Sphere1Ds")
486 _value_types.append(
"Sphere1D")
490 _plural_types.append(
"Sphere2Ds")
491 _value_types.append(
"Sphere2D")
495 _plural_types.append(
"Sphere3Ds")
496 _value_types.append(
"Sphere3D")
500 _plural_types.append(
"Sphere4Ds")
501 _value_types.append(
"Sphere4D")
505 _plural_types.append(
"Sphere5Ds")
506 _value_types.append(
"Sphere5D")
510 _plural_types.append(
"Sphere6Ds")
511 _value_types.append(
"Sphere6D")
515 _plural_types.append(
"Sphere1Ds")
516 _value_types.append(
"SphereD<1>")
520 _plural_types.append(
"Sphere2Ds")
521 _value_types.append(
"SphereD<2>")
525 _plural_types.append(
"Sphere3Ds")
526 _value_types.append(
"SphereD<3>")
530 _plural_types.append(
"Sphere4Ds")
531 _value_types.append(
"SphereD<4>")
535 _plural_types.append(
"Sphere5Ds")
536 _value_types.append(
"SphereD<5>")
540 _plural_types.append(
"Sphere6Ds")
541 _value_types.append(
"SphereD<6>")
545 _plural_types.append(
"SphereKDs")
546 _value_types.append(
"SphereKD")
550 _plural_types.append(
"SphereKDs")
551 _value_types.append(
"SphereD<-1>")
555 _plural_types.append(
"BoundingBox1Ds")
556 _value_types.append(
"BoundingBox1D")
560 _plural_types.append(
"BoundingBox2Ds")
561 _value_types.append(
"BoundingBox2D")
565 _plural_types.append(
"BoundingBox3Ds")
566 _value_types.append(
"BoundingBox3D")
570 _plural_types.append(
"BoundingBox4Ds")
571 _value_types.append(
"BoundingBox4D")
575 _plural_types.append(
"BoundingBox5Ds")
576 _value_types.append(
"BoundingBox5D")
580 _plural_types.append(
"BoundingBox6Ds")
581 _value_types.append(
"BoundingBox6D")
585 _plural_types.append(
"BoundingBox1Ds")
586 _value_types.append(
"BoundingBoxD<1>")
590 _plural_types.append(
"BoundingBox2Ds")
591 _value_types.append(
"BoundingBoxD<2>")
595 _plural_types.append(
"BoundingBox3Ds")
596 _value_types.append(
"BoundingBoxD<3>")
600 _plural_types.append(
"BoundingBox4Ds")
601 _value_types.append(
"BoundingBoxD<4>")
605 _plural_types.append(
"BoundingBox5Ds")
606 _value_types.append(
"BoundingBoxD<5>")
610 _plural_types.append(
"BoundingBox6Ds")
611 _value_types.append(
"BoundingBoxD<6>")
615 _plural_types.append(
"BoundingBoxKDs")
616 _value_types.append(
"BoundingBoxKD")
620 _plural_types.append(
"BoundingBoxKDs")
621 _value_types.append(
"BoundingBoxD<-1>")
624 PrincipalComponentAnalysis1Ds=list
625 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
626 _value_types.append(
"PrincipalComponentAnalysis1D")
629 PrincipalComponentAnalysis2Ds=list
630 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
631 _value_types.append(
"PrincipalComponentAnalysis2D")
634 PrincipalComponentAnalysis3Ds=list
635 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
636 _value_types.append(
"PrincipalComponentAnalysis3D")
639 PrincipalComponentAnalysis4Ds=list
640 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
641 _value_types.append(
"PrincipalComponentAnalysis4D")
644 PrincipalComponentAnalysis5Ds=list
645 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
646 _value_types.append(
"PrincipalComponentAnalysis5D")
649 PrincipalComponentAnalysis6Ds=list
650 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
651 _value_types.append(
"PrincipalComponentAnalysis6D")
654 PrincipalComponentAnalysis1Ds=list
655 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
656 _value_types.append(
"PrincipalComponentAnalysisD<1>")
659 PrincipalComponentAnalysis2Ds=list
660 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
661 _value_types.append(
"PrincipalComponentAnalysisD<2>")
664 PrincipalComponentAnalysis3Ds=list
665 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
666 _value_types.append(
"PrincipalComponentAnalysisD<3>")
669 PrincipalComponentAnalysis4Ds=list
670 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
671 _value_types.append(
"PrincipalComponentAnalysisD<4>")
674 PrincipalComponentAnalysis5Ds=list
675 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
676 _value_types.append(
"PrincipalComponentAnalysisD<5>")
679 PrincipalComponentAnalysis6Ds=list
680 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
681 _value_types.append(
"PrincipalComponentAnalysisD<6>")
684 PrincipalComponentAnalysisKDs=list
685 _plural_types.append(
"PrincipalComponentAnalysisKDs")
686 _value_types.append(
"PrincipalComponentAnalysisKD")
689 PrincipalComponentAnalysisKDs=list
690 _plural_types.append(
"PrincipalComponentAnalysisKDs")
691 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
694 _object_types.append(
"NearestNeighbor1D")
697 def _object_cast_to_NearestNeighbor1D(o):
698 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
699 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
701 _object_types.append(
"NearestNeighbor2D")
704 def _object_cast_to_NearestNeighbor2D(o):
705 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
706 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
708 _object_types.append(
"NearestNeighbor3D")
711 def _object_cast_to_NearestNeighbor3D(o):
712 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
713 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
715 _object_types.append(
"NearestNeighbor4D")
718 def _object_cast_to_NearestNeighbor4D(o):
719 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
720 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
722 _object_types.append(
"NearestNeighbor5D")
725 def _object_cast_to_NearestNeighbor5D(o):
726 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
727 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
729 _object_types.append(
"NearestNeighbor6D")
732 def _object_cast_to_NearestNeighbor6D(o):
733 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
734 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
736 _object_types.append(
"NearestNeighborKD")
739 def _object_cast_to_NearestNeighborKD(o):
740 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
741 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
743 ReferenceFrame3Ds=list
744 _plural_types.append(
"ReferenceFrame3Ds")
745 _value_types.append(
"ReferenceFrame3D")
749 _plural_types.append(
"Gaussian3Ds")
750 _value_types.append(
"Gaussian3D")
753 DefaultEmbedding1Ds=list
754 _plural_types.append(
"DefaultEmbedding1Ds")
755 _value_types.append(
"DefaultEmbedding1D")
758 DefaultEmbedding2Ds=list
759 _plural_types.append(
"DefaultEmbedding2Ds")
760 _value_types.append(
"DefaultEmbedding2D")
763 DefaultEmbedding3Ds=list
764 _plural_types.append(
"DefaultEmbedding3Ds")
765 _value_types.append(
"DefaultEmbedding3D")
768 DefaultEmbedding4Ds=list
769 _plural_types.append(
"DefaultEmbedding4Ds")
770 _value_types.append(
"DefaultEmbedding4D")
773 DefaultEmbedding5Ds=list
774 _plural_types.append(
"DefaultEmbedding5Ds")
775 _value_types.append(
"DefaultEmbedding5D")
778 DefaultEmbedding6Ds=list
779 _plural_types.append(
"DefaultEmbedding6Ds")
780 _value_types.append(
"DefaultEmbedding6D")
783 DefaultEmbedding1Ds=list
784 _plural_types.append(
"DefaultEmbedding1Ds")
785 _value_types.append(
"DefaultEmbeddingD<1>")
788 DefaultEmbedding2Ds=list
789 _plural_types.append(
"DefaultEmbedding2Ds")
790 _value_types.append(
"DefaultEmbeddingD<2>")
793 DefaultEmbedding3Ds=list
794 _plural_types.append(
"DefaultEmbedding3Ds")
795 _value_types.append(
"DefaultEmbeddingD<3>")
798 DefaultEmbedding4Ds=list
799 _plural_types.append(
"DefaultEmbedding4Ds")
800 _value_types.append(
"DefaultEmbeddingD<4>")
803 DefaultEmbedding5Ds=list
804 _plural_types.append(
"DefaultEmbedding5Ds")
805 _value_types.append(
"DefaultEmbeddingD<5>")
808 DefaultEmbedding6Ds=list
809 _plural_types.append(
"DefaultEmbedding6Ds")
810 _value_types.append(
"DefaultEmbeddingD<6>")
813 DefaultEmbeddingKDs=list
814 _plural_types.append(
"DefaultEmbeddingKDs")
815 _value_types.append(
"DefaultEmbeddingKD")
818 DefaultEmbeddingKDs=list
819 _plural_types.append(
"DefaultEmbeddingKDs")
820 _value_types.append(
"DefaultEmbeddingD<-1>")
824 _plural_types.append(
"LogEmbedding1Ds")
825 _value_types.append(
"LogEmbedding1D")
829 _plural_types.append(
"LogEmbedding2Ds")
830 _value_types.append(
"LogEmbedding2D")
834 _plural_types.append(
"LogEmbedding3Ds")
835 _value_types.append(
"LogEmbedding3D")
839 _plural_types.append(
"LogEmbedding4Ds")
840 _value_types.append(
"LogEmbedding4D")
844 _plural_types.append(
"LogEmbedding5Ds")
845 _value_types.append(
"LogEmbedding5D")
849 _plural_types.append(
"LogEmbedding6Ds")
850 _value_types.append(
"LogEmbedding6D")
854 _plural_types.append(
"LogEmbedding1Ds")
855 _value_types.append(
"LogEmbeddingD<1>")
859 _plural_types.append(
"LogEmbedding2Ds")
860 _value_types.append(
"LogEmbeddingD<2>")
864 _plural_types.append(
"LogEmbedding3Ds")
865 _value_types.append(
"LogEmbeddingD<3>")
869 _plural_types.append(
"LogEmbedding4Ds")
870 _value_types.append(
"LogEmbeddingD<4>")
874 _plural_types.append(
"LogEmbedding5Ds")
875 _value_types.append(
"LogEmbeddingD<5>")
879 _plural_types.append(
"LogEmbedding6Ds")
880 _value_types.append(
"LogEmbeddingD<6>")
884 _plural_types.append(
"LogEmbeddingKDs")
885 _value_types.append(
"LogEmbeddingKD")
889 _plural_types.append(
"LogEmbeddingKDs")
890 _value_types.append(
"LogEmbeddingD<-1>")
894 _plural_types.append(
"GridIndex1Ds")
895 _value_types.append(
"GridIndex1D")
899 _plural_types.append(
"GridIndex2Ds")
900 _value_types.append(
"GridIndex2D")
904 _plural_types.append(
"GridIndex3Ds")
905 _value_types.append(
"GridIndex3D")
909 _plural_types.append(
"GridIndex4Ds")
910 _value_types.append(
"GridIndex4D")
914 _plural_types.append(
"GridIndex5Ds")
915 _value_types.append(
"GridIndex5D")
919 _plural_types.append(
"GridIndex6Ds")
920 _value_types.append(
"GridIndex6D")
924 _plural_types.append(
"GridIndex1Ds")
925 _value_types.append(
"GridIndexD<1>")
929 _plural_types.append(
"GridIndex2Ds")
930 _value_types.append(
"GridIndexD<2>")
934 _plural_types.append(
"GridIndex3Ds")
935 _value_types.append(
"GridIndexD<3>")
939 _plural_types.append(
"GridIndex4Ds")
940 _value_types.append(
"GridIndexD<4>")
944 _plural_types.append(
"GridIndex5Ds")
945 _value_types.append(
"GridIndexD<5>")
949 _plural_types.append(
"GridIndex6Ds")
950 _value_types.append(
"GridIndexD<6>")
954 _plural_types.append(
"GridIndexKDs")
955 _value_types.append(
"GridIndexKD")
959 _plural_types.append(
"GridIndexKDs")
960 _value_types.append(
"GridIndexD<-1>")
963 ExtendedGridIndex1Ds=list
964 _plural_types.append(
"ExtendedGridIndex1Ds")
965 _value_types.append(
"ExtendedGridIndex1D")
968 ExtendedGridIndex2Ds=list
969 _plural_types.append(
"ExtendedGridIndex2Ds")
970 _value_types.append(
"ExtendedGridIndex2D")
973 ExtendedGridIndex3Ds=list
974 _plural_types.append(
"ExtendedGridIndex3Ds")
975 _value_types.append(
"ExtendedGridIndex3D")
978 ExtendedGridIndex4Ds=list
979 _plural_types.append(
"ExtendedGridIndex4Ds")
980 _value_types.append(
"ExtendedGridIndex4D")
983 ExtendedGridIndex5Ds=list
984 _plural_types.append(
"ExtendedGridIndex5Ds")
985 _value_types.append(
"ExtendedGridIndex5D")
988 ExtendedGridIndex6Ds=list
989 _plural_types.append(
"ExtendedGridIndex6Ds")
990 _value_types.append(
"ExtendedGridIndex6D")
993 ExtendedGridIndex1Ds=list
994 _plural_types.append(
"ExtendedGridIndex1Ds")
995 _value_types.append(
"ExtendedGridIndexD<1>")
998 ExtendedGridIndex2Ds=list
999 _plural_types.append(
"ExtendedGridIndex2Ds")
1000 _value_types.append(
"ExtendedGridIndexD<2>")
1003 ExtendedGridIndex3Ds=list
1004 _plural_types.append(
"ExtendedGridIndex3Ds")
1005 _value_types.append(
"ExtendedGridIndexD<3>")
1008 ExtendedGridIndex4Ds=list
1009 _plural_types.append(
"ExtendedGridIndex4Ds")
1010 _value_types.append(
"ExtendedGridIndexD<4>")
1013 ExtendedGridIndex5Ds=list
1014 _plural_types.append(
"ExtendedGridIndex5Ds")
1015 _value_types.append(
"ExtendedGridIndexD<5>")
1018 ExtendedGridIndex6Ds=list
1019 _plural_types.append(
"ExtendedGridIndex6Ds")
1020 _value_types.append(
"ExtendedGridIndexD<6>")
1023 ExtendedGridIndexKDs=list
1024 _plural_types.append(
"ExtendedGridIndexKDs")
1025 _value_types.append(
"ExtendedGridIndexKD")
1028 ExtendedGridIndexKDs=list
1029 _plural_types.append(
"ExtendedGridIndexKDs")
1030 _value_types.append(
"ExtendedGridIndexD<-1>")
1033 BoundedGridRange1Ds=list
1034 _plural_types.append(
"BoundedGridRange1Ds")
1035 _value_types.append(
"BoundedGridRange1D")
1038 BoundedGridRange2Ds=list
1039 _plural_types.append(
"BoundedGridRange2Ds")
1040 _value_types.append(
"BoundedGridRange2D")
1043 BoundedGridRange3Ds=list
1044 _plural_types.append(
"BoundedGridRange3Ds")
1045 _value_types.append(
"BoundedGridRange3D")
1048 BoundedGridRange4Ds=list
1049 _plural_types.append(
"BoundedGridRange4Ds")
1050 _value_types.append(
"BoundedGridRange4D")
1053 BoundedGridRange5Ds=list
1054 _plural_types.append(
"BoundedGridRange5Ds")
1055 _value_types.append(
"BoundedGridRange5D")
1058 BoundedGridRange6Ds=list
1059 _plural_types.append(
"BoundedGridRange6Ds")
1060 _value_types.append(
"BoundedGridRange6D")
1063 BoundedGridRange1Ds=list
1064 _plural_types.append(
"BoundedGridRange1Ds")
1065 _value_types.append(
"BoundedGridRangeD<1>")
1068 BoundedGridRange2Ds=list
1069 _plural_types.append(
"BoundedGridRange2Ds")
1070 _value_types.append(
"BoundedGridRangeD<2>")
1073 BoundedGridRange3Ds=list
1074 _plural_types.append(
"BoundedGridRange3Ds")
1075 _value_types.append(
"BoundedGridRangeD<3>")
1078 BoundedGridRange4Ds=list
1079 _plural_types.append(
"BoundedGridRange4Ds")
1080 _value_types.append(
"BoundedGridRangeD<4>")
1083 BoundedGridRange5Ds=list
1084 _plural_types.append(
"BoundedGridRange5Ds")
1085 _value_types.append(
"BoundedGridRangeD<5>")
1088 BoundedGridRange6Ds=list
1089 _plural_types.append(
"BoundedGridRange6Ds")
1090 _value_types.append(
"BoundedGridRangeD<6>")
1093 BoundedGridRangeKDs=list
1094 _plural_types.append(
"BoundedGridRangeKDs")
1095 _value_types.append(
"BoundedGridRangeKD")
1098 BoundedGridRangeKDs=list
1099 _plural_types.append(
"BoundedGridRangeKDs")
1100 _value_types.append(
"BoundedGridRangeD<-1>")
1103 UnboundedGridRange1Ds=list
1104 _plural_types.append(
"UnboundedGridRange1Ds")
1105 _value_types.append(
"UnboundedGridRange1D")
1108 UnboundedGridRange2Ds=list
1109 _plural_types.append(
"UnboundedGridRange2Ds")
1110 _value_types.append(
"UnboundedGridRange2D")
1113 UnboundedGridRange3Ds=list
1114 _plural_types.append(
"UnboundedGridRange3Ds")
1115 _value_types.append(
"UnboundedGridRange3D")
1118 UnboundedGridRange4Ds=list
1119 _plural_types.append(
"UnboundedGridRange4Ds")
1120 _value_types.append(
"UnboundedGridRange4D")
1123 UnboundedGridRange5Ds=list
1124 _plural_types.append(
"UnboundedGridRange5Ds")
1125 _value_types.append(
"UnboundedGridRange5D")
1128 UnboundedGridRange6Ds=list
1129 _plural_types.append(
"UnboundedGridRange6Ds")
1130 _value_types.append(
"UnboundedGridRange6D")
1133 UnboundedGridRange1Ds=list
1134 _plural_types.append(
"UnboundedGridRange1Ds")
1135 _value_types.append(
"UnboundedGridRangeD<1>")
1138 UnboundedGridRange2Ds=list
1139 _plural_types.append(
"UnboundedGridRange2Ds")
1140 _value_types.append(
"UnboundedGridRangeD<2>")
1143 UnboundedGridRange3Ds=list
1144 _plural_types.append(
"UnboundedGridRange3Ds")
1145 _value_types.append(
"UnboundedGridRangeD<3>")
1148 UnboundedGridRange4Ds=list
1149 _plural_types.append(
"UnboundedGridRange4Ds")
1150 _value_types.append(
"UnboundedGridRangeD<4>")
1153 UnboundedGridRange5Ds=list
1154 _plural_types.append(
"UnboundedGridRange5Ds")
1155 _value_types.append(
"UnboundedGridRangeD<5>")
1158 UnboundedGridRange6Ds=list
1159 _plural_types.append(
"UnboundedGridRange6Ds")
1160 _value_types.append(
"UnboundedGridRangeD<6>")
1163 UnboundedGridRangeKDs=list
1164 _plural_types.append(
"UnboundedGridRangeKDs")
1165 _value_types.append(
"UnboundedGridRangeKD")
1168 UnboundedGridRangeKDs=list
1169 _plural_types.append(
"UnboundedGridRangeKDs")
1170 _value_types.append(
"UnboundedGridRangeD<-1>")
1174 _plural_types.append(
"LinearFit2Ds")
1175 _value_types.append(
"LinearFit2D")
1178 ParabolicFit2Ds=list
1179 _plural_types.append(
"ParabolicFit2Ds")
1180 _value_types.append(
"ParabolicFit2D")
1184 _plural_types.append(
"FixedXYZs")
1185 _value_types.append(
"FixedXYZ")
1187 class _GeometricPrimitive1D(object):
1188 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> 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__GeometricPrimitive1D
1196 __del__ =
lambda self:
None
1197 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1198 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1200 class _GeometricPrimitive2D(object):
1201 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> 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__GeometricPrimitive2D
1209 __del__ =
lambda self:
None
1210 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1211 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1213 class _GeometricPrimitive3D(object):
1214 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1216 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1218 def __init__(self, *args, **kwargs):
1219 raise AttributeError(
"No constructor defined")
1220 __repr__ = _swig_repr
1221 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1222 __del__ =
lambda self:
None
1223 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1224 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1226 class _GeometricPrimitive4D(object):
1227 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1231 def __init__(self, *args, **kwargs):
1232 raise AttributeError(
"No constructor defined")
1233 __repr__ = _swig_repr
1234 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1235 __del__ =
lambda self:
None
1236 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1237 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1239 class _GeometricPrimitive5D(object):
1240 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1242 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1244 def __init__(self, *args, **kwargs):
1245 raise AttributeError(
"No constructor defined")
1246 __repr__ = _swig_repr
1247 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1248 __del__ =
lambda self:
None
1249 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1250 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1252 class _GeometricPrimitive6D(object):
1253 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1255 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1257 def __init__(self, *args, **kwargs):
1258 raise AttributeError(
"No constructor defined")
1259 __repr__ = _swig_repr
1260 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1261 __del__ =
lambda self:
None
1262 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1263 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1265 class _GeometricPrimitiveKD(object):
1266 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1270 def __init__(self, *args, **kwargs):
1271 raise AttributeError(
"No constructor defined")
1272 __repr__ = _swig_repr
1273 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1274 __del__ =
lambda self:
None
1275 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1276 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1280 _plural_types.append(
"Vector1Ds")
1281 _value_types.append(
"Vector1D")
1285 _plural_types.append(
"Vector2Ds")
1286 _value_types.append(
"Vector2D")
1290 _plural_types.append(
"Vector3Ds")
1291 _value_types.append(
"Vector3D")
1295 _plural_types.append(
"Vector4Ds")
1296 _value_types.append(
"Vector4D")
1300 _plural_types.append(
"Vector5Ds")
1301 _value_types.append(
"Vector5D")
1305 _plural_types.append(
"Vector6Ds")
1306 _value_types.append(
"Vector6D")
1310 _plural_types.append(
"Vector1Ds")
1311 _value_types.append(
"VectorD<1>")
1315 _plural_types.append(
"Vector2Ds")
1316 _value_types.append(
"VectorD<2>")
1320 _plural_types.append(
"Vector3Ds")
1321 _value_types.append(
"VectorD<3>")
1325 _plural_types.append(
"Vector4Ds")
1326 _value_types.append(
"VectorD<4>")
1330 _plural_types.append(
"Vector5Ds")
1331 _value_types.append(
"VectorD<5>")
1335 _plural_types.append(
"Vector6Ds")
1336 _value_types.append(
"VectorD<6>")
1340 _plural_types.append(
"VectorKDs")
1341 _value_types.append(
"VectorKD")
1345 _plural_types.append(
"VectorKDs")
1346 _value_types.append(
"VectorD<-1>")
1348 class _VectorBaseKD(_GeometricPrimitiveKD):
1349 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1352 __repr__ = _swig_repr
1355 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1356 this = _IMP_algebra.new__VectorBaseKD()
1358 self.this.append(this)
1362 def get_scalar_product(self, o):
1363 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1364 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1367 def get_squared_magnitude(self):
1368 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1369 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1372 def get_magnitude(self):
1373 """get_magnitude(_VectorBaseKD self) -> double"""
1374 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1377 def __mul__(self, o):
1378 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1379 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1382 def __iadd__(self, o):
1383 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1384 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1387 def __isub__(self, o):
1388 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1389 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1392 def __idiv__(self, f):
1393 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1394 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1397 def __imul__(self, f):
1398 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1399 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1402 def show(self, *args):
1404 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1405 show(_VectorBaseKD self, _ostream out, std::string delim)
1406 show(_VectorBaseKD self, _ostream out)
1407 show(_VectorBaseKD self)
1409 return _IMP_algebra._VectorBaseKD_show(self, *args)
1412 def get_dimension(self):
1413 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1414 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1416 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1417 __del__ =
lambda self:
None
1418 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1419 _VectorBaseKD_swigregister(_VectorBaseKD)
1421 class _VectorBase1D(_GeometricPrimitive1D):
1422 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1425 __repr__ = _swig_repr
1428 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1429 this = _IMP_algebra.new__VectorBase1D()
1431 self.this.append(this)
1435 def get_scalar_product(self, o):
1436 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1437 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1440 def get_squared_magnitude(self):
1441 """get_squared_magnitude(_VectorBase1D self) -> double"""
1442 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1445 def get_magnitude(self):
1446 """get_magnitude(_VectorBase1D self) -> double"""
1447 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1450 def __mul__(self, o):
1451 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1452 return _IMP_algebra._VectorBase1D___mul__(self, o)
1455 def __iadd__(self, o):
1456 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1457 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1460 def __isub__(self, o):
1461 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1462 return _IMP_algebra._VectorBase1D___isub__(self, o)
1465 def __idiv__(self, f):
1466 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1467 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1470 def __imul__(self, f):
1471 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1472 return _IMP_algebra._VectorBase1D___imul__(self, f)
1475 def show(self, *args):
1477 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1478 show(_VectorBase1D self, _ostream out, std::string delim)
1479 show(_VectorBase1D self, _ostream out)
1480 show(_VectorBase1D self)
1482 return _IMP_algebra._VectorBase1D_show(self, *args)
1485 def get_dimension(self):
1486 """get_dimension(_VectorBase1D self) -> unsigned int"""
1487 return _IMP_algebra._VectorBase1D_get_dimension(self)
1489 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1490 __del__ =
lambda self:
None
1491 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1492 _VectorBase1D_swigregister(_VectorBase1D)
1494 class _VectorBase2D(_GeometricPrimitive2D):
1495 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1498 __repr__ = _swig_repr
1501 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1502 this = _IMP_algebra.new__VectorBase2D()
1504 self.this.append(this)
1508 def get_scalar_product(self, o):
1509 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1510 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1513 def get_squared_magnitude(self):
1514 """get_squared_magnitude(_VectorBase2D self) -> double"""
1515 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1518 def get_magnitude(self):
1519 """get_magnitude(_VectorBase2D self) -> double"""
1520 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1523 def __mul__(self, o):
1524 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1525 return _IMP_algebra._VectorBase2D___mul__(self, o)
1528 def __iadd__(self, o):
1529 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1530 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1533 def __isub__(self, o):
1534 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1535 return _IMP_algebra._VectorBase2D___isub__(self, o)
1538 def __idiv__(self, f):
1539 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1540 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1543 def __imul__(self, f):
1544 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1545 return _IMP_algebra._VectorBase2D___imul__(self, f)
1548 def show(self, *args):
1550 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1551 show(_VectorBase2D self, _ostream out, std::string delim)
1552 show(_VectorBase2D self, _ostream out)
1553 show(_VectorBase2D self)
1555 return _IMP_algebra._VectorBase2D_show(self, *args)
1558 def get_dimension(self):
1559 """get_dimension(_VectorBase2D self) -> unsigned int"""
1560 return _IMP_algebra._VectorBase2D_get_dimension(self)
1562 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1563 __del__ =
lambda self:
None
1564 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1565 _VectorBase2D_swigregister(_VectorBase2D)
1567 class _VectorBase3D(_GeometricPrimitive3D):
1568 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1571 __repr__ = _swig_repr
1574 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1575 this = _IMP_algebra.new__VectorBase3D()
1577 self.this.append(this)
1581 def get_scalar_product(self, o):
1582 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1583 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1586 def get_squared_magnitude(self):
1587 """get_squared_magnitude(_VectorBase3D self) -> double"""
1588 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1591 def get_magnitude(self):
1592 """get_magnitude(_VectorBase3D self) -> double"""
1593 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1596 def __mul__(self, o):
1597 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1598 return _IMP_algebra._VectorBase3D___mul__(self, o)
1601 def __iadd__(self, o):
1602 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1603 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1606 def __isub__(self, o):
1607 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1608 return _IMP_algebra._VectorBase3D___isub__(self, o)
1611 def __idiv__(self, f):
1612 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1613 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1616 def __imul__(self, f):
1617 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1618 return _IMP_algebra._VectorBase3D___imul__(self, f)
1621 def show(self, *args):
1623 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1624 show(_VectorBase3D self, _ostream out, std::string delim)
1625 show(_VectorBase3D self, _ostream out)
1626 show(_VectorBase3D self)
1628 return _IMP_algebra._VectorBase3D_show(self, *args)
1631 def get_dimension(self):
1632 """get_dimension(_VectorBase3D self) -> unsigned int"""
1633 return _IMP_algebra._VectorBase3D_get_dimension(self)
1635 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1636 __del__ =
lambda self:
None
1637 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1638 _VectorBase3D_swigregister(_VectorBase3D)
1640 class _VectorBase4D(_GeometricPrimitive4D):
1641 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1643 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1644 __repr__ = _swig_repr
1647 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1648 this = _IMP_algebra.new__VectorBase4D()
1650 self.this.append(this)
1654 def get_scalar_product(self, o):
1655 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1656 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1659 def get_squared_magnitude(self):
1660 """get_squared_magnitude(_VectorBase4D self) -> double"""
1661 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1664 def get_magnitude(self):
1665 """get_magnitude(_VectorBase4D self) -> double"""
1666 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1669 def __mul__(self, o):
1670 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1671 return _IMP_algebra._VectorBase4D___mul__(self, o)
1674 def __iadd__(self, o):
1675 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1676 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1679 def __isub__(self, o):
1680 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1681 return _IMP_algebra._VectorBase4D___isub__(self, o)
1684 def __idiv__(self, f):
1685 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1686 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1689 def __imul__(self, f):
1690 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1691 return _IMP_algebra._VectorBase4D___imul__(self, f)
1694 def show(self, *args):
1696 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1697 show(_VectorBase4D self, _ostream out, std::string delim)
1698 show(_VectorBase4D self, _ostream out)
1699 show(_VectorBase4D self)
1701 return _IMP_algebra._VectorBase4D_show(self, *args)
1704 def get_dimension(self):
1705 """get_dimension(_VectorBase4D self) -> unsigned int"""
1706 return _IMP_algebra._VectorBase4D_get_dimension(self)
1708 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1709 __del__ =
lambda self:
None
1710 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1711 _VectorBase4D_swigregister(_VectorBase4D)
1713 class _VectorBase5D(_GeometricPrimitive5D):
1714 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1717 __repr__ = _swig_repr
1720 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1721 this = _IMP_algebra.new__VectorBase5D()
1723 self.this.append(this)
1727 def get_scalar_product(self, o):
1728 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1729 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1732 def get_squared_magnitude(self):
1733 """get_squared_magnitude(_VectorBase5D self) -> double"""
1734 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1737 def get_magnitude(self):
1738 """get_magnitude(_VectorBase5D self) -> double"""
1739 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1742 def __mul__(self, o):
1743 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1744 return _IMP_algebra._VectorBase5D___mul__(self, o)
1747 def __iadd__(self, o):
1748 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1749 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1752 def __isub__(self, o):
1753 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1754 return _IMP_algebra._VectorBase5D___isub__(self, o)
1757 def __idiv__(self, f):
1758 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1759 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1762 def __imul__(self, f):
1763 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1764 return _IMP_algebra._VectorBase5D___imul__(self, f)
1767 def show(self, *args):
1769 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1770 show(_VectorBase5D self, _ostream out, std::string delim)
1771 show(_VectorBase5D self, _ostream out)
1772 show(_VectorBase5D self)
1774 return _IMP_algebra._VectorBase5D_show(self, *args)
1777 def get_dimension(self):
1778 """get_dimension(_VectorBase5D self) -> unsigned int"""
1779 return _IMP_algebra._VectorBase5D_get_dimension(self)
1781 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1782 __del__ =
lambda self:
None
1783 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1784 _VectorBase5D_swigregister(_VectorBase5D)
1786 class _VectorBase6D(_GeometricPrimitive6D):
1787 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1790 __repr__ = _swig_repr
1793 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1794 this = _IMP_algebra.new__VectorBase6D()
1796 self.this.append(this)
1800 def get_scalar_product(self, o):
1801 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1802 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1805 def get_squared_magnitude(self):
1806 """get_squared_magnitude(_VectorBase6D self) -> double"""
1807 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1810 def get_magnitude(self):
1811 """get_magnitude(_VectorBase6D self) -> double"""
1812 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1815 def __mul__(self, o):
1816 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1817 return _IMP_algebra._VectorBase6D___mul__(self, o)
1820 def __iadd__(self, o):
1821 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1822 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1825 def __isub__(self, o):
1826 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1827 return _IMP_algebra._VectorBase6D___isub__(self, o)
1830 def __idiv__(self, f):
1831 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1832 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1835 def __imul__(self, f):
1836 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1837 return _IMP_algebra._VectorBase6D___imul__(self, f)
1840 def show(self, *args):
1842 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1843 show(_VectorBase6D self, _ostream out, std::string delim)
1844 show(_VectorBase6D self, _ostream out)
1845 show(_VectorBase6D self)
1847 return _IMP_algebra._VectorBase6D_show(self, *args)
1850 def get_dimension(self):
1851 """get_dimension(_VectorBase6D self) -> unsigned int"""
1852 return _IMP_algebra._VectorBase6D_get_dimension(self)
1854 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1855 __del__ =
lambda self:
None
1856 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1857 _VectorBase6D_swigregister(_VectorBase6D)
1861 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1862 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1865 """get_zero_vector_kd(int D) -> VectorKD"""
1866 return _IMP_algebra.get_zero_vector_kd(D)
1870 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1871 get_ones_vector_kd(unsigned int D) -> VectorKD
1873 return _IMP_algebra.get_ones_vector_kd(D, v)
1876 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1877 return _IMP_algebra.get_vector_product(p1, p2)
1880 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1881 return _IMP_algebra.get_orthogonal_vector(v)
1884 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1885 return _IMP_algebra.get_centroid(ps)
1888 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1889 return _IMP_algebra.get_radius_of_gyration(ps)
1890 class Rotation3D(_GeometricPrimitive3D):
1891 """Proxy of C++ IMP::algebra::Rotation3D class."""
1893 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1895 def __init__(self, *args):
1897 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1898 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1899 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1900 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1902 this = _IMP_algebra.new_Rotation3D(*args)
1904 self.this.append(this)
1907 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1908 __del__ =
lambda self:
None
1910 def get_rotated_no_cache(self, o):
1911 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1912 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1915 def get_rotated_one_coordinate_no_cache(self, o, coord):
1916 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1917 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1920 def get_rotated(self, o):
1921 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1922 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1925 def get_rotated_one_coordinate(self, o, coord):
1926 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1927 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1930 def get_rotation_matrix_row(self, i):
1931 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1932 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1935 def show(self, *args):
1937 show(Rotation3D self, _ostream out)
1938 show(Rotation3D self)
1940 return _IMP_algebra.Rotation3D_show(self, *args)
1943 def get_inverse(self):
1944 """get_inverse(Rotation3D self) -> Rotation3D"""
1945 return _IMP_algebra.Rotation3D_get_inverse(self)
1948 def get_quaternion(self):
1949 """get_quaternion(Rotation3D self) -> Vector4D"""
1950 return _IMP_algebra.Rotation3D_get_quaternion(self)
1953 def __mul__(self, *args):
1955 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1956 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1958 return _IMP_algebra.Rotation3D___mul__(self, *args)
1961 def __div__(self, r):
1962 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1963 return _IMP_algebra.Rotation3D___div__(self, r)
1966 def get_derivative(self, o, i):
1967 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1968 return _IMP_algebra.Rotation3D_get_derivative(self, o, i)
1971 def get_is_valid(self):
1972 """get_is_valid(Rotation3D self) -> bool"""
1973 return _IMP_algebra.Rotation3D_get_is_valid(self)
1977 """__str__(Rotation3D self) -> std::string"""
1978 return _IMP_algebra.Rotation3D___str__(self)
1982 """__repr__(Rotation3D self) -> std::string"""
1983 return _IMP_algebra.Rotation3D___repr__(self)
1986 __truediv__ = __div__
1988 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1989 Rotation3D_swigregister(Rotation3D)
1993 """get_identity_rotation_3d() -> Rotation3D"""
1994 return _IMP_algebra.get_identity_rotation_3d()
1997 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1998 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2001 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2002 return _IMP_algebra.get_rotation_about_axis(axis, angle)
2005 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2006 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2010 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2011 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
2013 return _IMP_algebra.get_rotation_from_matrix(*args)
2017 get_random_rotation_3d() -> Rotation3D
2018 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2020 return _IMP_algebra.get_random_rotation_3d(*args)
2023 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2024 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2027 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2028 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2031 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2032 return _IMP_algebra.get_rotation_from_vector4d(v)
2035 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2036 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2039 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2040 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2043 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2044 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2045 class FixedXYZ(_GeometricPrimitive3D):
2046 """Proxy of C++ IMP::algebra::FixedXYZ class."""
2048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2050 def __init__(self, *args):
2052 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2053 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2055 this = _IMP_algebra.new_FixedXYZ(*args)
2057 self.this.append(this)
2062 """get_x(FixedXYZ self) -> double"""
2063 return _IMP_algebra.FixedXYZ_get_x(self)
2067 """get_y(FixedXYZ self) -> double"""
2068 return _IMP_algebra.FixedXYZ_get_y(self)
2072 """get_z(FixedXYZ self) -> double"""
2073 return _IMP_algebra.FixedXYZ_get_z(self)
2076 def show(self, *args):
2078 show(FixedXYZ self, _ostream out)
2081 return _IMP_algebra.FixedXYZ_show(self, *args)
2085 """__str__(FixedXYZ self) -> std::string"""
2086 return _IMP_algebra.FixedXYZ___str__(self)
2090 """__repr__(FixedXYZ self) -> std::string"""
2091 return _IMP_algebra.FixedXYZ___repr__(self)
2093 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2094 __del__ =
lambda self:
None
2095 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2096 FixedXYZ_swigregister(FixedXYZ)
2100 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2101 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2104 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2105 return _IMP_algebra.get_interpolated(a, b, f)
2108 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2109 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2112 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2113 return _IMP_algebra.get_axis_and_angle(rot)
2116 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2117 return _IMP_algebra.get_unit_bounding_box_kd(d)
2120 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2121 return _IMP_algebra.get_cube_kd(d, radius)
2124 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2125 return _IMP_algebra.get_edges(arg1)
2126 class Transformation3D(_GeometricPrimitive3D):
2127 """Proxy of C++ IMP::algebra::Transformation3D class."""
2129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2131 def __init__(self, *args):
2133 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2134 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2135 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2136 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2138 this = _IMP_algebra.new_Transformation3D(*args)
2140 self.this.append(this)
2143 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2144 __del__ =
lambda self:
None
2146 def get_transformed(self, o):
2147 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2148 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2151 def __mul__(self, *args):
2153 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2154 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2156 return _IMP_algebra.Transformation3D___mul__(self, *args)
2159 def __div__(self, b):
2160 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2161 return _IMP_algebra.Transformation3D___div__(self, b)
2164 def get_rotation(self):
2165 """get_rotation(Transformation3D self) -> Rotation3D"""
2166 return _IMP_algebra.Transformation3D_get_rotation(self)
2169 def get_translation(self):
2170 """get_translation(Transformation3D self) -> Vector3D"""
2171 return _IMP_algebra.Transformation3D_get_translation(self)
2174 def show(self, *args):
2176 show(Transformation3D self, _ostream out)
2177 show(Transformation3D self)
2179 return _IMP_algebra.Transformation3D_show(self, *args)
2182 def get_inverse(self):
2183 """get_inverse(Transformation3D self) -> Transformation3D"""
2184 return _IMP_algebra.Transformation3D_get_inverse(self)
2187 def get_is_valid(self):
2188 """get_is_valid(Transformation3D self) -> bool"""
2189 return _IMP_algebra.Transformation3D_get_is_valid(self)
2193 """__str__(Transformation3D self) -> std::string"""
2194 return _IMP_algebra.Transformation3D___str__(self)
2198 """__repr__(Transformation3D self) -> std::string"""
2199 return _IMP_algebra.Transformation3D___repr__(self)
2202 __truediv__ = __div__
2204 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2205 Transformation3D_swigregister(Transformation3D)
2209 """get_identity_transformation_3d() -> Transformation3D"""
2210 return _IMP_algebra.get_identity_transformation_3d()
2213 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2214 return _IMP_algebra.get_transformation_3d(t2d)
2218 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2219 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2220 get_random_local_transformation(Vector3D origin) -> Transformation3D
2222 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2223 class Rotation2D(_GeometricPrimitive2D):
2224 """Proxy of C++ IMP::algebra::Rotation2D class."""
2226 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2228 def __init__(self, *args):
2230 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2231 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2233 this = _IMP_algebra.new_Rotation2D(*args)
2235 self.this.append(this)
2239 def get_rotated(self, *args):
2241 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2242 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2244 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2247 def get_inverse(self):
2248 """get_inverse(Rotation2D self) -> Rotation2D"""
2249 return _IMP_algebra.Rotation2D_get_inverse(self)
2252 def set_angle(self, angle):
2253 """set_angle(Rotation2D self, double angle)"""
2254 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2257 def get_angle(self):
2258 """get_angle(Rotation2D self) -> double"""
2259 return _IMP_algebra.Rotation2D_get_angle(self)
2262 def show(self, *args):
2264 show(Rotation2D self, _ostream out)
2265 show(Rotation2D self)
2267 return _IMP_algebra.Rotation2D_show(self, *args)
2271 """__str__(Rotation2D self) -> std::string"""
2272 return _IMP_algebra.Rotation2D___str__(self)
2276 """__repr__(Rotation2D self) -> std::string"""
2277 return _IMP_algebra.Rotation2D___repr__(self)
2279 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2280 __del__ =
lambda self:
None
2281 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2282 Rotation2D_swigregister(Rotation2D)
2286 """get_identity_rotation_2d() -> Rotation2D"""
2287 return _IMP_algebra.get_identity_rotation_2d()
2290 """get_random_rotation_2d() -> Rotation2D"""
2291 return _IMP_algebra.get_random_rotation_2d()
2294 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2295 return _IMP_algebra.get_rotation_to_x_axis(v)
2296 class Transformation2D(_GeometricPrimitive2D):
2297 """Proxy of C++ IMP::algebra::Transformation2D class."""
2299 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2301 def __init__(self, *args):
2303 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2304 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2305 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2306 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2308 this = _IMP_algebra.new_Transformation2D(*args)
2310 self.this.append(this)
2313 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2314 __del__ =
lambda self:
None
2316 def get_transformed(self, o):
2317 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2318 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2321 def __mul__(self, *args):
2323 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2324 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2326 return _IMP_algebra.Transformation2D___mul__(self, *args)
2329 def __div__(self, b):
2330 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2331 return _IMP_algebra.Transformation2D___div__(self, b)
2334 def get_rotation(self):
2335 """get_rotation(Transformation2D self) -> Rotation2D"""
2336 return _IMP_algebra.Transformation2D_get_rotation(self)
2339 def set_rotation(self, angle):
2340 """set_rotation(Transformation2D self, double angle)"""
2341 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2344 def get_translation(self):
2345 """get_translation(Transformation2D self) -> Vector2D"""
2346 return _IMP_algebra.Transformation2D_get_translation(self)
2349 def set_translation(self, v):
2350 """set_translation(Transformation2D self, Vector2D v)"""
2351 return _IMP_algebra.Transformation2D_set_translation(self, v)
2354 def show(self, *args):
2356 show(Transformation2D self, _ostream out)
2357 show(Transformation2D self)
2359 return _IMP_algebra.Transformation2D_show(self, *args)
2362 def get_inverse(self):
2363 """get_inverse(Transformation2D self) -> Transformation2D"""
2364 return _IMP_algebra.Transformation2D_get_inverse(self)
2368 """__str__(Transformation2D self) -> std::string"""
2369 return _IMP_algebra.Transformation2D___str__(self)
2373 """__repr__(Transformation2D self) -> std::string"""
2374 return _IMP_algebra.Transformation2D___repr__(self)
2377 __truediv__ = __div__
2379 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2380 Transformation2D_swigregister(Transformation2D)
2384 """get_identity_transformation_2d() -> Transformation2D"""
2385 return _IMP_algebra.get_identity_transformation_2d()
2389 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2390 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2392 return _IMP_algebra.get_rotation_about_point(*args)
2396 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2397 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2398 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2399 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2401 return _IMP_algebra.compose(*args)
2403 def get_unit_sphere_kd(d):
2404 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2405 return _IMP_algebra.get_unit_sphere_kd(d)
2409 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2410 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2412 return _IMP_algebra.get_enclosing_sphere(*args)
2415 """get_ball_radius_from_volume_3d(double volume) -> double"""
2416 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2419 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2420 return _IMP_algebra.get_surface_area_and_volume(ss)
2423 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2424 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2426 """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2431 """get_unit_vector(Vector1D self) -> Vector1D"""
2432 return _IMP_algebra.Vector1D_get_unit_vector(self)
2435 def __div__(self, s):
2436 """__div__(Vector1D self, double s) -> Vector1D"""
2437 return _IMP_algebra.Vector1D___div__(self, s)
2441 """__neg__(Vector1D self) -> Vector1D"""
2442 return _IMP_algebra.Vector1D___neg__(self)
2445 def __sub__(self, o):
2446 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2447 return _IMP_algebra.Vector1D___sub__(self, o)
2450 def __add__(self, ret):
2451 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2452 return _IMP_algebra.Vector1D___add__(self, ret)
2455 def __mul__(self, *args):
2457 __mul__(Vector1D self, double s) -> Vector1D
2458 __mul__(Vector1D self, Vector1D o) -> double
2460 return _IMP_algebra.Vector1D___mul__(self, *args)
2463 def __init__(self, *args):
2465 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2466 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2467 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2469 this = _IMP_algebra.new_Vector1D(*args)
2471 self.this.append(this)
2475 def __getitem__(self, index):
2476 """__getitem__(Vector1D self, unsigned int index) -> double"""
2477 return _IMP_algebra.Vector1D___getitem__(self, index)
2480 def __setitem__(self, index, val):
2481 """__setitem__(Vector1D self, unsigned int index, double val)"""
2482 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2485 def __iadd__(self, *args):
2486 _IMP_algebra.Vector1D___iadd__(self, *args)
2491 def __imul__(self, *args):
2492 _IMP_algebra.Vector1D___imul__(self, *args)
2497 def __idiv__(self, *args):
2498 _IMP_algebra.Vector1D___idiv__(self, *args)
2503 def __isub__(self, *args):
2504 _IMP_algebra.Vector1D___isub__(self, *args)
2510 """__len__(Vector1D self) -> unsigned int"""
2511 return _IMP_algebra.Vector1D___len__(self)
2514 def __rmul__(self, f):
2515 """__rmul__(Vector1D self, double f) -> Vector1D"""
2516 return _IMP_algebra.Vector1D___rmul__(self, f)
2520 """__str__(Vector1D self) -> std::string"""
2521 return _IMP_algebra.Vector1D___str__(self)
2525 """__repr__(Vector1D self) -> std::string"""
2526 return _IMP_algebra.Vector1D___repr__(self)
2529 def __cmp__(self, arg2):
2530 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2531 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2534 def __eq__(self, arg2):
2535 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2536 return _IMP_algebra.Vector1D___eq__(self, arg2)
2539 __truediv__ = __div__
2540 __itruediv__ = __idiv__
2542 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2543 __del__ =
lambda self:
None
2544 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2545 Vector1D_swigregister(Vector1D)
2548 """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2550 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2553 """get_unit_vector(Vector2D self) -> Vector2D"""
2554 return _IMP_algebra.Vector2D_get_unit_vector(self)
2557 def __div__(self, s):
2558 """__div__(Vector2D self, double s) -> Vector2D"""
2559 return _IMP_algebra.Vector2D___div__(self, s)
2563 """__neg__(Vector2D self) -> Vector2D"""
2564 return _IMP_algebra.Vector2D___neg__(self)
2567 def __sub__(self, o):
2568 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2569 return _IMP_algebra.Vector2D___sub__(self, o)
2572 def __add__(self, ret):
2573 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2574 return _IMP_algebra.Vector2D___add__(self, ret)
2577 def __mul__(self, *args):
2579 __mul__(Vector2D self, double s) -> Vector2D
2580 __mul__(Vector2D self, Vector2D o) -> double
2582 return _IMP_algebra.Vector2D___mul__(self, *args)
2585 def __init__(self, *args):
2587 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2588 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2589 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2591 this = _IMP_algebra.new_Vector2D(*args)
2593 self.this.append(this)
2597 def __getitem__(self, index):
2598 """__getitem__(Vector2D self, unsigned int index) -> double"""
2599 return _IMP_algebra.Vector2D___getitem__(self, index)
2602 def __setitem__(self, index, val):
2603 """__setitem__(Vector2D self, unsigned int index, double val)"""
2604 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2607 def __iadd__(self, *args):
2608 _IMP_algebra.Vector2D___iadd__(self, *args)
2613 def __imul__(self, *args):
2614 _IMP_algebra.Vector2D___imul__(self, *args)
2619 def __idiv__(self, *args):
2620 _IMP_algebra.Vector2D___idiv__(self, *args)
2625 def __isub__(self, *args):
2626 _IMP_algebra.Vector2D___isub__(self, *args)
2632 """__len__(Vector2D self) -> unsigned int"""
2633 return _IMP_algebra.Vector2D___len__(self)
2636 def __rmul__(self, f):
2637 """__rmul__(Vector2D self, double f) -> Vector2D"""
2638 return _IMP_algebra.Vector2D___rmul__(self, f)
2642 """__str__(Vector2D self) -> std::string"""
2643 return _IMP_algebra.Vector2D___str__(self)
2647 """__repr__(Vector2D self) -> std::string"""
2648 return _IMP_algebra.Vector2D___repr__(self)
2651 def __cmp__(self, arg2):
2652 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2653 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2656 def __eq__(self, arg2):
2657 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2658 return _IMP_algebra.Vector2D___eq__(self, arg2)
2661 __truediv__ = __div__
2662 __itruediv__ = __idiv__
2664 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2665 __del__ =
lambda self:
None
2666 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2667 Vector2D_swigregister(Vector2D)
2670 """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2672 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2675 """get_unit_vector(Vector3D self) -> Vector3D"""
2676 return _IMP_algebra.Vector3D_get_unit_vector(self)
2679 def __div__(self, s):
2680 """__div__(Vector3D self, double s) -> Vector3D"""
2681 return _IMP_algebra.Vector3D___div__(self, s)
2685 """__neg__(Vector3D self) -> Vector3D"""
2686 return _IMP_algebra.Vector3D___neg__(self)
2689 def __sub__(self, o):
2690 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2691 return _IMP_algebra.Vector3D___sub__(self, o)
2694 def __add__(self, ret):
2695 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2696 return _IMP_algebra.Vector3D___add__(self, ret)
2699 def __mul__(self, *args):
2701 __mul__(Vector3D self, double s) -> Vector3D
2702 __mul__(Vector3D self, Vector3D o) -> double
2704 return _IMP_algebra.Vector3D___mul__(self, *args)
2707 def __init__(self, *args):
2709 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2710 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2711 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2713 this = _IMP_algebra.new_Vector3D(*args)
2715 self.this.append(this)
2719 def __getitem__(self, index):
2720 """__getitem__(Vector3D self, unsigned int index) -> double"""
2721 return _IMP_algebra.Vector3D___getitem__(self, index)
2724 def __setitem__(self, index, val):
2725 """__setitem__(Vector3D self, unsigned int index, double val)"""
2726 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2729 def __iadd__(self, *args):
2730 _IMP_algebra.Vector3D___iadd__(self, *args)
2735 def __imul__(self, *args):
2736 _IMP_algebra.Vector3D___imul__(self, *args)
2741 def __idiv__(self, *args):
2742 _IMP_algebra.Vector3D___idiv__(self, *args)
2747 def __isub__(self, *args):
2748 _IMP_algebra.Vector3D___isub__(self, *args)
2754 """__len__(Vector3D self) -> unsigned int"""
2755 return _IMP_algebra.Vector3D___len__(self)
2758 def __rmul__(self, f):
2759 """__rmul__(Vector3D self, double f) -> Vector3D"""
2760 return _IMP_algebra.Vector3D___rmul__(self, f)
2764 """__str__(Vector3D self) -> std::string"""
2765 return _IMP_algebra.Vector3D___str__(self)
2769 """__repr__(Vector3D self) -> std::string"""
2770 return _IMP_algebra.Vector3D___repr__(self)
2773 def __cmp__(self, arg2):
2774 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2775 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2778 def __eq__(self, arg2):
2779 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2780 return _IMP_algebra.Vector3D___eq__(self, arg2)
2783 __truediv__ = __div__
2784 __itruediv__ = __idiv__
2786 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2787 __del__ =
lambda self:
None
2788 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2789 Vector3D_swigregister(Vector3D)
2792 """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2794 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2797 """get_unit_vector(Vector4D self) -> Vector4D"""
2798 return _IMP_algebra.Vector4D_get_unit_vector(self)
2801 def __div__(self, s):
2802 """__div__(Vector4D self, double s) -> Vector4D"""
2803 return _IMP_algebra.Vector4D___div__(self, s)
2807 """__neg__(Vector4D self) -> Vector4D"""
2808 return _IMP_algebra.Vector4D___neg__(self)
2811 def __sub__(self, o):
2812 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2813 return _IMP_algebra.Vector4D___sub__(self, o)
2816 def __add__(self, ret):
2817 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2818 return _IMP_algebra.Vector4D___add__(self, ret)
2821 def __mul__(self, *args):
2823 __mul__(Vector4D self, double s) -> Vector4D
2824 __mul__(Vector4D self, Vector4D o) -> double
2826 return _IMP_algebra.Vector4D___mul__(self, *args)
2829 def __init__(self, *args):
2831 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2832 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2833 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2835 this = _IMP_algebra.new_Vector4D(*args)
2837 self.this.append(this)
2841 def __getitem__(self, index):
2842 """__getitem__(Vector4D self, unsigned int index) -> double"""
2843 return _IMP_algebra.Vector4D___getitem__(self, index)
2846 def __setitem__(self, index, val):
2847 """__setitem__(Vector4D self, unsigned int index, double val)"""
2848 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2851 def __iadd__(self, *args):
2852 _IMP_algebra.Vector4D___iadd__(self, *args)
2857 def __imul__(self, *args):
2858 _IMP_algebra.Vector4D___imul__(self, *args)
2863 def __idiv__(self, *args):
2864 _IMP_algebra.Vector4D___idiv__(self, *args)
2869 def __isub__(self, *args):
2870 _IMP_algebra.Vector4D___isub__(self, *args)
2876 """__len__(Vector4D self) -> unsigned int"""
2877 return _IMP_algebra.Vector4D___len__(self)
2880 def __rmul__(self, f):
2881 """__rmul__(Vector4D self, double f) -> Vector4D"""
2882 return _IMP_algebra.Vector4D___rmul__(self, f)
2886 """__str__(Vector4D self) -> std::string"""
2887 return _IMP_algebra.Vector4D___str__(self)
2891 """__repr__(Vector4D self) -> std::string"""
2892 return _IMP_algebra.Vector4D___repr__(self)
2895 def __cmp__(self, arg2):
2896 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2897 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2900 def __eq__(self, arg2):
2901 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2902 return _IMP_algebra.Vector4D___eq__(self, arg2)
2905 __truediv__ = __div__
2906 __itruediv__ = __idiv__
2908 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2909 __del__ =
lambda self:
None
2910 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2911 Vector4D_swigregister(Vector4D)
2914 """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2919 """get_unit_vector(Vector5D self) -> Vector5D"""
2920 return _IMP_algebra.Vector5D_get_unit_vector(self)
2923 def __div__(self, s):
2924 """__div__(Vector5D self, double s) -> Vector5D"""
2925 return _IMP_algebra.Vector5D___div__(self, s)
2929 """__neg__(Vector5D self) -> Vector5D"""
2930 return _IMP_algebra.Vector5D___neg__(self)
2933 def __sub__(self, o):
2934 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2935 return _IMP_algebra.Vector5D___sub__(self, o)
2938 def __add__(self, ret):
2939 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2940 return _IMP_algebra.Vector5D___add__(self, ret)
2943 def __mul__(self, *args):
2945 __mul__(Vector5D self, double s) -> Vector5D
2946 __mul__(Vector5D self, Vector5D o) -> double
2948 return _IMP_algebra.Vector5D___mul__(self, *args)
2951 def __init__(self, *args):
2953 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2954 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2955 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2957 this = _IMP_algebra.new_Vector5D(*args)
2959 self.this.append(this)
2963 def __getitem__(self, index):
2964 """__getitem__(Vector5D self, unsigned int index) -> double"""
2965 return _IMP_algebra.Vector5D___getitem__(self, index)
2968 def __setitem__(self, index, val):
2969 """__setitem__(Vector5D self, unsigned int index, double val)"""
2970 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2973 def __iadd__(self, *args):
2974 _IMP_algebra.Vector5D___iadd__(self, *args)
2979 def __imul__(self, *args):
2980 _IMP_algebra.Vector5D___imul__(self, *args)
2985 def __idiv__(self, *args):
2986 _IMP_algebra.Vector5D___idiv__(self, *args)
2991 def __isub__(self, *args):
2992 _IMP_algebra.Vector5D___isub__(self, *args)
2998 """__len__(Vector5D self) -> unsigned int"""
2999 return _IMP_algebra.Vector5D___len__(self)
3002 def __rmul__(self, f):
3003 """__rmul__(Vector5D self, double f) -> Vector5D"""
3004 return _IMP_algebra.Vector5D___rmul__(self, f)
3008 """__str__(Vector5D self) -> std::string"""
3009 return _IMP_algebra.Vector5D___str__(self)
3013 """__repr__(Vector5D self) -> std::string"""
3014 return _IMP_algebra.Vector5D___repr__(self)
3017 def __cmp__(self, arg2):
3018 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3019 return _IMP_algebra.Vector5D___cmp__(self, arg2)
3022 def __eq__(self, arg2):
3023 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3024 return _IMP_algebra.Vector5D___eq__(self, arg2)
3027 __truediv__ = __div__
3028 __itruediv__ = __idiv__
3030 __swig_destroy__ = _IMP_algebra.delete_Vector5D
3031 __del__ =
lambda self:
None
3032 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3033 Vector5D_swigregister(Vector5D)
3036 """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
3038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3041 """get_unit_vector(Vector6D self) -> Vector6D"""
3042 return _IMP_algebra.Vector6D_get_unit_vector(self)
3045 def __div__(self, s):
3046 """__div__(Vector6D self, double s) -> Vector6D"""
3047 return _IMP_algebra.Vector6D___div__(self, s)
3051 """__neg__(Vector6D self) -> Vector6D"""
3052 return _IMP_algebra.Vector6D___neg__(self)
3055 def __sub__(self, o):
3056 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3057 return _IMP_algebra.Vector6D___sub__(self, o)
3060 def __add__(self, ret):
3061 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3062 return _IMP_algebra.Vector6D___add__(self, ret)
3065 def __mul__(self, *args):
3067 __mul__(Vector6D self, double s) -> Vector6D
3068 __mul__(Vector6D self, Vector6D o) -> double
3070 return _IMP_algebra.Vector6D___mul__(self, *args)
3073 def __init__(self, *args):
3075 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3076 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3077 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3079 this = _IMP_algebra.new_Vector6D(*args)
3081 self.this.append(this)
3085 def __getitem__(self, index):
3086 """__getitem__(Vector6D self, unsigned int index) -> double"""
3087 return _IMP_algebra.Vector6D___getitem__(self, index)
3090 def __setitem__(self, index, val):
3091 """__setitem__(Vector6D self, unsigned int index, double val)"""
3092 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3095 def __iadd__(self, *args):
3096 _IMP_algebra.Vector6D___iadd__(self, *args)
3101 def __imul__(self, *args):
3102 _IMP_algebra.Vector6D___imul__(self, *args)
3107 def __idiv__(self, *args):
3108 _IMP_algebra.Vector6D___idiv__(self, *args)
3113 def __isub__(self, *args):
3114 _IMP_algebra.Vector6D___isub__(self, *args)
3120 """__len__(Vector6D self) -> unsigned int"""
3121 return _IMP_algebra.Vector6D___len__(self)
3124 def __rmul__(self, f):
3125 """__rmul__(Vector6D self, double f) -> Vector6D"""
3126 return _IMP_algebra.Vector6D___rmul__(self, f)
3130 """__str__(Vector6D self) -> std::string"""
3131 return _IMP_algebra.Vector6D___str__(self)
3135 """__repr__(Vector6D self) -> std::string"""
3136 return _IMP_algebra.Vector6D___repr__(self)
3139 def __cmp__(self, arg2):
3140 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3141 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3144 def __eq__(self, arg2):
3145 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3146 return _IMP_algebra.Vector6D___eq__(self, arg2)
3149 __truediv__ = __div__
3150 __itruediv__ = __idiv__
3152 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3153 __del__ =
lambda self:
None
3154 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3155 Vector6D_swigregister(Vector6D)
3158 """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3160 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3163 """get_unit_vector(VectorKD self) -> VectorKD"""
3164 return _IMP_algebra.VectorKD_get_unit_vector(self)
3167 def __div__(self, s):
3168 """__div__(VectorKD self, double s) -> VectorKD"""
3169 return _IMP_algebra.VectorKD___div__(self, s)
3173 """__neg__(VectorKD self) -> VectorKD"""
3174 return _IMP_algebra.VectorKD___neg__(self)
3177 def __sub__(self, o):
3178 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3179 return _IMP_algebra.VectorKD___sub__(self, o)
3182 def __add__(self, ret):
3183 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3184 return _IMP_algebra.VectorKD___add__(self, ret)
3187 def __mul__(self, *args):
3189 __mul__(VectorKD self, double s) -> VectorKD
3190 __mul__(VectorKD self, VectorKD o) -> double
3192 return _IMP_algebra.VectorKD___mul__(self, *args)
3195 def __init__(self, *args):
3197 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3198 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3199 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3200 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3201 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3202 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3203 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3204 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3206 this = _IMP_algebra.new_VectorKD(*args)
3208 self.this.append(this)
3212 def __getitem__(self, index):
3213 """__getitem__(VectorKD self, unsigned int index) -> double"""
3214 return _IMP_algebra.VectorKD___getitem__(self, index)
3217 def __setitem__(self, index, val):
3218 """__setitem__(VectorKD self, unsigned int index, double val)"""
3219 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3222 def __iadd__(self, *args):
3223 _IMP_algebra.VectorKD___iadd__(self, *args)
3228 def __imul__(self, *args):
3229 _IMP_algebra.VectorKD___imul__(self, *args)
3234 def __idiv__(self, *args):
3235 _IMP_algebra.VectorKD___idiv__(self, *args)
3240 def __isub__(self, *args):
3241 _IMP_algebra.VectorKD___isub__(self, *args)
3247 """__len__(VectorKD self) -> unsigned int"""
3248 return _IMP_algebra.VectorKD___len__(self)
3251 def __rmul__(self, f):
3252 """__rmul__(VectorKD self, double f) -> VectorKD"""
3253 return _IMP_algebra.VectorKD___rmul__(self, f)
3257 """__str__(VectorKD self) -> std::string"""
3258 return _IMP_algebra.VectorKD___str__(self)
3262 """__repr__(VectorKD self) -> std::string"""
3263 return _IMP_algebra.VectorKD___repr__(self)
3266 def __cmp__(self, arg2):
3267 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3268 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3271 def __eq__(self, arg2):
3272 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3273 return _IMP_algebra.VectorKD___eq__(self, arg2)
3276 __truediv__ = __div__
3277 __itruediv__ = __idiv__
3279 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3280 __del__ =
lambda self:
None
3281 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3282 VectorKD_swigregister(VectorKD)
3285 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3289 def get_dimension(self):
3290 """get_dimension(BoundingBox1D self) -> unsigned int"""
3291 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3294 def get_corner(self, i):
3295 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3296 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3299 def get_contains(self, *args):
3301 get_contains(BoundingBox1D self, Vector1D o) -> bool
3302 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3304 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3307 def show(self, *args):
3309 show(BoundingBox1D self, _ostream out)
3310 show(BoundingBox1D self)
3312 return _IMP_algebra.BoundingBox1D_show(self, *args)
3316 """__str__(BoundingBox1D self) -> std::string"""
3317 return _IMP_algebra.BoundingBox1D___str__(self)
3321 """__repr__(BoundingBox1D self) -> std::string"""
3322 return _IMP_algebra.BoundingBox1D___repr__(self)
3325 def __cmp__(self, arg2):
3326 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3327 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3330 def __eq__(self, arg2):
3331 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3332 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3335 def __init__(self, *args):
3337 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3338 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3339 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3340 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3341 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3343 this = _IMP_algebra.new_BoundingBox1D(*args)
3345 self.this.append(this)
3349 def __getitem__(self, index):
3350 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3351 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3354 def __iadd__(self, *args):
3355 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3361 """__len__(BoundingBox1D self) -> unsigned int"""
3362 return _IMP_algebra.BoundingBox1D___len__(self)
3365 def __add__(self, *args):
3367 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3368 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3369 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3371 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3373 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3374 __del__ =
lambda self:
None
3375 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3376 BoundingBox1D_swigregister(BoundingBox1D)
3379 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3383 def get_dimension(self):
3384 """get_dimension(BoundingBox2D self) -> unsigned int"""
3385 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3388 def get_corner(self, i):
3389 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3390 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3393 def get_contains(self, *args):
3395 get_contains(BoundingBox2D self, Vector2D o) -> bool
3396 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3398 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3401 def show(self, *args):
3403 show(BoundingBox2D self, _ostream out)
3404 show(BoundingBox2D self)
3406 return _IMP_algebra.BoundingBox2D_show(self, *args)
3410 """__str__(BoundingBox2D self) -> std::string"""
3411 return _IMP_algebra.BoundingBox2D___str__(self)
3415 """__repr__(BoundingBox2D self) -> std::string"""
3416 return _IMP_algebra.BoundingBox2D___repr__(self)
3419 def __cmp__(self, arg2):
3420 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3421 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3424 def __eq__(self, arg2):
3425 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3426 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3429 def __init__(self, *args):
3431 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3432 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3433 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3434 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3435 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3437 this = _IMP_algebra.new_BoundingBox2D(*args)
3439 self.this.append(this)
3443 def __getitem__(self, index):
3444 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3445 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3448 def __iadd__(self, *args):
3449 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3455 """__len__(BoundingBox2D self) -> unsigned int"""
3456 return _IMP_algebra.BoundingBox2D___len__(self)
3459 def __add__(self, *args):
3461 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3462 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3463 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3465 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3467 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3468 __del__ =
lambda self:
None
3469 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3470 BoundingBox2D_swigregister(BoundingBox2D)
3473 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3475 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3477 def get_dimension(self):
3478 """get_dimension(BoundingBox3D self) -> unsigned int"""
3479 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3482 def get_corner(self, i):
3483 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3484 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3487 def get_contains(self, *args):
3489 get_contains(BoundingBox3D self, Vector3D o) -> bool
3490 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3492 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3495 def show(self, *args):
3497 show(BoundingBox3D self, _ostream out)
3498 show(BoundingBox3D self)
3500 return _IMP_algebra.BoundingBox3D_show(self, *args)
3504 """__str__(BoundingBox3D self) -> std::string"""
3505 return _IMP_algebra.BoundingBox3D___str__(self)
3509 """__repr__(BoundingBox3D self) -> std::string"""
3510 return _IMP_algebra.BoundingBox3D___repr__(self)
3513 def __cmp__(self, arg2):
3514 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3515 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3518 def __eq__(self, arg2):
3519 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3520 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3523 def __init__(self, *args):
3525 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3526 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3527 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3528 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3529 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3531 this = _IMP_algebra.new_BoundingBox3D(*args)
3533 self.this.append(this)
3537 def __getitem__(self, index):
3538 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3539 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3542 def __iadd__(self, *args):
3543 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3549 """__len__(BoundingBox3D self) -> unsigned int"""
3550 return _IMP_algebra.BoundingBox3D___len__(self)
3553 def __add__(self, *args):
3555 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3556 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3557 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3559 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3561 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3562 __del__ =
lambda self:
None
3563 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3564 BoundingBox3D_swigregister(BoundingBox3D)
3567 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3569 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3571 def get_dimension(self):
3572 """get_dimension(BoundingBox4D self) -> unsigned int"""
3573 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3576 def get_corner(self, i):
3577 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3578 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3581 def get_contains(self, *args):
3583 get_contains(BoundingBox4D self, Vector4D o) -> bool
3584 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3586 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3589 def show(self, *args):
3591 show(BoundingBox4D self, _ostream out)
3592 show(BoundingBox4D self)
3594 return _IMP_algebra.BoundingBox4D_show(self, *args)
3598 """__str__(BoundingBox4D self) -> std::string"""
3599 return _IMP_algebra.BoundingBox4D___str__(self)
3603 """__repr__(BoundingBox4D self) -> std::string"""
3604 return _IMP_algebra.BoundingBox4D___repr__(self)
3607 def __cmp__(self, arg2):
3608 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3609 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3612 def __eq__(self, arg2):
3613 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3614 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3617 def __init__(self, *args):
3619 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3620 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3621 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3622 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3623 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3625 this = _IMP_algebra.new_BoundingBox4D(*args)
3627 self.this.append(this)
3631 def __getitem__(self, index):
3632 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3633 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3636 def __iadd__(self, *args):
3637 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3643 """__len__(BoundingBox4D self) -> unsigned int"""
3644 return _IMP_algebra.BoundingBox4D___len__(self)
3647 def __add__(self, *args):
3649 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3650 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3651 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3653 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3655 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3656 __del__ =
lambda self:
None
3657 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3658 BoundingBox4D_swigregister(BoundingBox4D)
3661 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3663 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3665 def get_dimension(self):
3666 """get_dimension(BoundingBox5D self) -> unsigned int"""
3667 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3670 def get_corner(self, i):
3671 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3672 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3675 def get_contains(self, *args):
3677 get_contains(BoundingBox5D self, Vector5D o) -> bool
3678 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3680 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3683 def show(self, *args):
3685 show(BoundingBox5D self, _ostream out)
3686 show(BoundingBox5D self)
3688 return _IMP_algebra.BoundingBox5D_show(self, *args)
3692 """__str__(BoundingBox5D self) -> std::string"""
3693 return _IMP_algebra.BoundingBox5D___str__(self)
3697 """__repr__(BoundingBox5D self) -> std::string"""
3698 return _IMP_algebra.BoundingBox5D___repr__(self)
3701 def __cmp__(self, arg2):
3702 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3703 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3706 def __eq__(self, arg2):
3707 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3708 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3711 def __init__(self, *args):
3713 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3714 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3715 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3716 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3717 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3719 this = _IMP_algebra.new_BoundingBox5D(*args)
3721 self.this.append(this)
3725 def __getitem__(self, index):
3726 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3727 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3730 def __iadd__(self, *args):
3731 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3737 """__len__(BoundingBox5D self) -> unsigned int"""
3738 return _IMP_algebra.BoundingBox5D___len__(self)
3741 def __add__(self, *args):
3743 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3744 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3745 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3747 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3749 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3750 __del__ =
lambda self:
None
3751 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3752 BoundingBox5D_swigregister(BoundingBox5D)
3755 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3757 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3759 def get_dimension(self):
3760 """get_dimension(BoundingBox6D self) -> unsigned int"""
3761 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3764 def get_corner(self, i):
3765 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3766 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3769 def get_contains(self, *args):
3771 get_contains(BoundingBox6D self, Vector6D o) -> bool
3772 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3774 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3777 def show(self, *args):
3779 show(BoundingBox6D self, _ostream out)
3780 show(BoundingBox6D self)
3782 return _IMP_algebra.BoundingBox6D_show(self, *args)
3786 """__str__(BoundingBox6D self) -> std::string"""
3787 return _IMP_algebra.BoundingBox6D___str__(self)
3791 """__repr__(BoundingBox6D self) -> std::string"""
3792 return _IMP_algebra.BoundingBox6D___repr__(self)
3795 def __cmp__(self, arg2):
3796 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3797 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3800 def __eq__(self, arg2):
3801 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3802 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3805 def __init__(self, *args):
3807 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3808 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3809 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3810 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3811 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3813 this = _IMP_algebra.new_BoundingBox6D(*args)
3815 self.this.append(this)
3819 def __getitem__(self, index):
3820 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3821 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3824 def __iadd__(self, *args):
3825 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3831 """__len__(BoundingBox6D self) -> unsigned int"""
3832 return _IMP_algebra.BoundingBox6D___len__(self)
3835 def __add__(self, *args):
3837 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3838 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3839 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3841 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3843 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3844 __del__ =
lambda self:
None
3845 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3846 BoundingBox6D_swigregister(BoundingBox6D)
3849 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3851 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3853 def get_dimension(self):
3854 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3855 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3858 def get_corner(self, i):
3859 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3860 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3863 def get_contains(self, *args):
3865 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3866 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3868 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3871 def show(self, *args):
3873 show(BoundingBoxKD self, _ostream out)
3874 show(BoundingBoxKD self)
3876 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3880 """__str__(BoundingBoxKD self) -> std::string"""
3881 return _IMP_algebra.BoundingBoxKD___str__(self)
3885 """__repr__(BoundingBoxKD self) -> std::string"""
3886 return _IMP_algebra.BoundingBoxKD___repr__(self)
3889 def __cmp__(self, arg2):
3890 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3891 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3894 def __eq__(self, arg2):
3895 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3896 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3899 def __init__(self, *args):
3901 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3902 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3903 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3904 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3905 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3907 this = _IMP_algebra.new_BoundingBoxKD(*args)
3909 self.this.append(this)
3913 def __getitem__(self, index):
3914 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3915 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3918 def __iadd__(self, *args):
3919 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3925 """__len__(BoundingBoxKD self) -> unsigned int"""
3926 return _IMP_algebra.BoundingBoxKD___len__(self)
3929 def __add__(self, *args):
3931 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3932 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3933 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3935 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3937 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3938 __del__ =
lambda self:
None
3939 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3940 BoundingBoxKD_swigregister(BoundingBoxKD)
3942 class Sphere1D(_GeometricPrimitive1D):
3943 """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3947 def __init__(self, *args):
3949 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3950 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3952 this = _IMP_algebra.new_Sphere1D(*args)
3954 self.this.append(this)
3958 def get_radius(self):
3959 """get_radius(Sphere1D self) -> double"""
3960 return _IMP_algebra.Sphere1D_get_radius(self)
3963 def get_center(self):
3964 """get_center(Sphere1D self) -> Vector1D"""
3965 return _IMP_algebra.Sphere1D_get_center(self)
3968 def get_contains(self, *args):
3970 get_contains(Sphere1D self, Sphere1D o) -> bool
3971 get_contains(Sphere1D self, Vector1D p) -> bool
3973 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3976 def show(self, *args):
3978 show(Sphere1D self, _ostream out)
3981 return _IMP_algebra.Sphere1D_show(self, *args)
3984 def get_dimension(self):
3985 """get_dimension(Sphere1D self) -> unsigned int"""
3986 return _IMP_algebra.Sphere1D_get_dimension(self)
3990 """__str__(Sphere1D self) -> std::string"""
3991 return _IMP_algebra.Sphere1D___str__(self)
3995 """__repr__(Sphere1D self) -> std::string"""
3996 return _IMP_algebra.Sphere1D___repr__(self)
3999 def __cmp__(self, arg2):
4000 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4001 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4004 def __eq__(self, arg2):
4005 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4006 return _IMP_algebra.Sphere1D___eq__(self, arg2)
4008 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4009 __del__ =
lambda self:
None
4010 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4011 Sphere1D_swigregister(Sphere1D)
4013 class Sphere2D(_GeometricPrimitive2D):
4014 """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
4016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4018 def __init__(self, *args):
4020 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4021 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4023 this = _IMP_algebra.new_Sphere2D(*args)
4025 self.this.append(this)
4029 def get_radius(self):
4030 """get_radius(Sphere2D self) -> double"""
4031 return _IMP_algebra.Sphere2D_get_radius(self)
4034 def get_center(self):
4035 """get_center(Sphere2D self) -> Vector2D"""
4036 return _IMP_algebra.Sphere2D_get_center(self)
4039 def get_contains(self, *args):
4041 get_contains(Sphere2D self, Sphere2D o) -> bool
4042 get_contains(Sphere2D self, Vector2D p) -> bool
4044 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4047 def show(self, *args):
4049 show(Sphere2D self, _ostream out)
4052 return _IMP_algebra.Sphere2D_show(self, *args)
4055 def get_dimension(self):
4056 """get_dimension(Sphere2D self) -> unsigned int"""
4057 return _IMP_algebra.Sphere2D_get_dimension(self)
4061 """__str__(Sphere2D self) -> std::string"""
4062 return _IMP_algebra.Sphere2D___str__(self)
4066 """__repr__(Sphere2D self) -> std::string"""
4067 return _IMP_algebra.Sphere2D___repr__(self)
4070 def __cmp__(self, arg2):
4071 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4072 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4075 def __eq__(self, arg2):
4076 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4077 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4079 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4080 __del__ =
lambda self:
None
4081 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4082 Sphere2D_swigregister(Sphere2D)
4084 class Sphere3D(_GeometricPrimitive3D):
4085 """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4087 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4089 def __init__(self, *args):
4091 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4092 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4094 this = _IMP_algebra.new_Sphere3D(*args)
4096 self.this.append(this)
4100 def get_radius(self):
4101 """get_radius(Sphere3D self) -> double"""
4102 return _IMP_algebra.Sphere3D_get_radius(self)
4105 def get_center(self):
4106 """get_center(Sphere3D self) -> Vector3D"""
4107 return _IMP_algebra.Sphere3D_get_center(self)
4110 def get_contains(self, *args):
4112 get_contains(Sphere3D self, Sphere3D o) -> bool
4113 get_contains(Sphere3D self, Vector3D p) -> bool
4115 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4118 def show(self, *args):
4120 show(Sphere3D self, _ostream out)
4123 return _IMP_algebra.Sphere3D_show(self, *args)
4126 def get_dimension(self):
4127 """get_dimension(Sphere3D self) -> unsigned int"""
4128 return _IMP_algebra.Sphere3D_get_dimension(self)
4132 """__str__(Sphere3D self) -> std::string"""
4133 return _IMP_algebra.Sphere3D___str__(self)
4137 """__repr__(Sphere3D self) -> std::string"""
4138 return _IMP_algebra.Sphere3D___repr__(self)
4141 def __cmp__(self, arg2):
4142 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4143 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4146 def __eq__(self, arg2):
4147 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4148 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4150 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4151 __del__ =
lambda self:
None
4152 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4153 Sphere3D_swigregister(Sphere3D)
4155 class Sphere4D(_GeometricPrimitive4D):
4156 """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4160 def __init__(self, *args):
4162 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4163 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4165 this = _IMP_algebra.new_Sphere4D(*args)
4167 self.this.append(this)
4171 def get_radius(self):
4172 """get_radius(Sphere4D self) -> double"""
4173 return _IMP_algebra.Sphere4D_get_radius(self)
4176 def get_center(self):
4177 """get_center(Sphere4D self) -> Vector4D"""
4178 return _IMP_algebra.Sphere4D_get_center(self)
4181 def get_contains(self, *args):
4183 get_contains(Sphere4D self, Sphere4D o) -> bool
4184 get_contains(Sphere4D self, Vector4D p) -> bool
4186 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4189 def show(self, *args):
4191 show(Sphere4D self, _ostream out)
4194 return _IMP_algebra.Sphere4D_show(self, *args)
4197 def get_dimension(self):
4198 """get_dimension(Sphere4D self) -> unsigned int"""
4199 return _IMP_algebra.Sphere4D_get_dimension(self)
4203 """__str__(Sphere4D self) -> std::string"""
4204 return _IMP_algebra.Sphere4D___str__(self)
4208 """__repr__(Sphere4D self) -> std::string"""
4209 return _IMP_algebra.Sphere4D___repr__(self)
4212 def __cmp__(self, arg2):
4213 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4214 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4217 def __eq__(self, arg2):
4218 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4219 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4221 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4222 __del__ =
lambda self:
None
4223 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4224 Sphere4D_swigregister(Sphere4D)
4226 class Sphere5D(_GeometricPrimitive5D):
4227 """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4231 def __init__(self, *args):
4233 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4234 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4236 this = _IMP_algebra.new_Sphere5D(*args)
4238 self.this.append(this)
4242 def get_radius(self):
4243 """get_radius(Sphere5D self) -> double"""
4244 return _IMP_algebra.Sphere5D_get_radius(self)
4247 def get_center(self):
4248 """get_center(Sphere5D self) -> Vector5D"""
4249 return _IMP_algebra.Sphere5D_get_center(self)
4252 def get_contains(self, *args):
4254 get_contains(Sphere5D self, Sphere5D o) -> bool
4255 get_contains(Sphere5D self, Vector5D p) -> bool
4257 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4260 def show(self, *args):
4262 show(Sphere5D self, _ostream out)
4265 return _IMP_algebra.Sphere5D_show(self, *args)
4268 def get_dimension(self):
4269 """get_dimension(Sphere5D self) -> unsigned int"""
4270 return _IMP_algebra.Sphere5D_get_dimension(self)
4274 """__str__(Sphere5D self) -> std::string"""
4275 return _IMP_algebra.Sphere5D___str__(self)
4279 """__repr__(Sphere5D self) -> std::string"""
4280 return _IMP_algebra.Sphere5D___repr__(self)
4283 def __cmp__(self, arg2):
4284 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4285 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4288 def __eq__(self, arg2):
4289 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4290 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4292 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4293 __del__ =
lambda self:
None
4294 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4295 Sphere5D_swigregister(Sphere5D)
4297 class Sphere6D(_GeometricPrimitive6D):
4298 """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4302 def __init__(self, *args):
4304 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4305 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4307 this = _IMP_algebra.new_Sphere6D(*args)
4309 self.this.append(this)
4313 def get_radius(self):
4314 """get_radius(Sphere6D self) -> double"""
4315 return _IMP_algebra.Sphere6D_get_radius(self)
4318 def get_center(self):
4319 """get_center(Sphere6D self) -> Vector6D"""
4320 return _IMP_algebra.Sphere6D_get_center(self)
4323 def get_contains(self, *args):
4325 get_contains(Sphere6D self, Sphere6D o) -> bool
4326 get_contains(Sphere6D self, Vector6D p) -> bool
4328 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4331 def show(self, *args):
4333 show(Sphere6D self, _ostream out)
4336 return _IMP_algebra.Sphere6D_show(self, *args)
4339 def get_dimension(self):
4340 """get_dimension(Sphere6D self) -> unsigned int"""
4341 return _IMP_algebra.Sphere6D_get_dimension(self)
4345 """__str__(Sphere6D self) -> std::string"""
4346 return _IMP_algebra.Sphere6D___str__(self)
4350 """__repr__(Sphere6D self) -> std::string"""
4351 return _IMP_algebra.Sphere6D___repr__(self)
4354 def __cmp__(self, arg2):
4355 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4356 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4359 def __eq__(self, arg2):
4360 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4361 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4363 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4364 __del__ =
lambda self:
None
4365 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4366 Sphere6D_swigregister(Sphere6D)
4368 class SphereKD(_GeometricPrimitiveKD):
4369 """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4373 def __init__(self, *args):
4375 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4376 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4378 this = _IMP_algebra.new_SphereKD(*args)
4380 self.this.append(this)
4384 def get_radius(self):
4385 """get_radius(SphereKD self) -> double"""
4386 return _IMP_algebra.SphereKD_get_radius(self)
4389 def get_center(self):
4390 """get_center(SphereKD self) -> VectorKD"""
4391 return _IMP_algebra.SphereKD_get_center(self)
4394 def get_contains(self, *args):
4396 get_contains(SphereKD self, SphereKD o) -> bool
4397 get_contains(SphereKD self, VectorKD p) -> bool
4399 return _IMP_algebra.SphereKD_get_contains(self, *args)
4402 def show(self, *args):
4404 show(SphereKD self, _ostream out)
4407 return _IMP_algebra.SphereKD_show(self, *args)
4410 def get_dimension(self):
4411 """get_dimension(SphereKD self) -> unsigned int"""
4412 return _IMP_algebra.SphereKD_get_dimension(self)
4416 """__str__(SphereKD self) -> std::string"""
4417 return _IMP_algebra.SphereKD___str__(self)
4421 """__repr__(SphereKD self) -> std::string"""
4422 return _IMP_algebra.SphereKD___repr__(self)
4425 def __cmp__(self, arg2):
4426 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4427 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4430 def __eq__(self, arg2):
4431 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4432 return _IMP_algebra.SphereKD___eq__(self, arg2)
4434 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4435 __del__ =
lambda self:
None
4436 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4437 SphereKD_swigregister(SphereKD)
4439 class ReferenceFrame3D(object):
4440 """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4442 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4444 def __init__(self, *args):
4446 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4447 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4449 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4451 self.this.append(this)
4454 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4455 __del__ =
lambda self:
None
4457 def get_transformation_to(self):
4458 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4459 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4462 def get_transformation_from(self):
4463 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4464 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4467 def get_global_coordinates(self, v):
4468 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4469 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4472 def get_local_coordinates(self, v):
4473 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4474 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4477 def get_global_reference_frame(self, v):
4478 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4479 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4482 def get_local_reference_frame(self, v):
4483 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4484 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4487 def show(self, *args):
4489 show(ReferenceFrame3D self, _ostream out)
4490 show(ReferenceFrame3D self)
4492 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4496 """__str__(ReferenceFrame3D self) -> std::string"""
4497 return _IMP_algebra.ReferenceFrame3D___str__(self)
4501 """__repr__(ReferenceFrame3D self) -> std::string"""
4502 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4504 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4505 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4508 def get_transformed(*args):
4510 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4511 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4513 return _IMP_algebra.get_transformed(*args)
4515 def get_transformation_from_first_to_second(a, b):
4516 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4517 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4518 class SphericalVector3D(_GeometricPrimitive3D):
4519 """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4521 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4523 def __init__(self, *args):
4525 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4526 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4527 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4528 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4530 this = _IMP_algebra.new_SphericalVector3D(*args)
4532 self.this.append(this)
4536 def get_cartesian_coordinates(self):
4537 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4538 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4541 def show(self, *args):
4543 show(SphericalVector3D self, _ostream out)
4544 show(SphericalVector3D self)
4546 return _IMP_algebra.SphericalVector3D_show(self, *args)
4550 """__str__(SphericalVector3D self) -> std::string"""
4551 return _IMP_algebra.SphericalVector3D___str__(self)
4555 """__repr__(SphericalVector3D self) -> std::string"""
4556 return _IMP_algebra.SphericalVector3D___repr__(self)
4559 def __getitem__(self, index):
4560 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4561 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4564 def __setitem__(self, index, val):
4565 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4566 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4568 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4569 __del__ =
lambda self:
None
4570 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4571 SphericalVector3D_swigregister(SphericalVector3D)
4575 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4576 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4577 class Segment3D(_GeometricPrimitive3D):
4578 """Proxy of C++ IMP::algebra::Segment3D class."""
4580 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4582 def __init__(self, *args):
4584 __init__(IMP::algebra::Segment3D self) -> Segment3D
4585 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4587 this = _IMP_algebra.new_Segment3D(*args)
4589 self.this.append(this)
4593 def get_point(self, i):
4596 return _IMP_algebra.Segment3D_get_point(self, i)
4600 def get_middle_point(self):
4601 """get_middle_point(Segment3D self) -> Vector3D"""
4602 return _IMP_algebra.Segment3D_get_middle_point(self)
4605 def get_direction(self):
4606 """get_direction(Segment3D self) -> Vector3D"""
4607 return _IMP_algebra.Segment3D_get_direction(self)
4610 def get_length(self):
4611 """get_length(Segment3D self) -> double"""
4612 return _IMP_algebra.Segment3D_get_length(self)
4615 def show(self, *args):
4617 show(Segment3D self, _ostream out)
4618 show(Segment3D self)
4620 return _IMP_algebra.Segment3D_show(self, *args)
4624 """__str__(Segment3D self) -> std::string"""
4625 return _IMP_algebra.Segment3D___str__(self)
4629 """__repr__(Segment3D self) -> std::string"""
4630 return _IMP_algebra.Segment3D___repr__(self)
4632 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4633 __del__ =
lambda self:
None
4634 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4635 Segment3D_swigregister(Segment3D)
4638 def get_segment_3d_geometry(g):
4639 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4640 return _IMP_algebra.get_segment_3d_geometry(g)
4643 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4644 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4645 class Triangle3D(_GeometricPrimitive3D):
4646 """Proxy of C++ IMP::algebra::Triangle3D class."""
4648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4650 def __init__(self, *args):
4652 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4653 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4655 this = _IMP_algebra.new_Triangle3D(*args)
4657 self.this.append(this)
4661 def get_point(self, i):
4662 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4663 return _IMP_algebra.Triangle3D_get_point(self, i)
4666 def show(self, *args):
4668 show(Triangle3D self, _ostream out)
4669 show(Triangle3D self)
4671 return _IMP_algebra.Triangle3D_show(self, *args)
4674 def get_edge_lengths(self):
4675 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4676 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4680 """__str__(Triangle3D self) -> std::string"""
4681 return _IMP_algebra.Triangle3D___str__(self)
4685 """__repr__(Triangle3D self) -> std::string"""
4686 return _IMP_algebra.Triangle3D___repr__(self)
4688 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4689 __del__ =
lambda self:
None
4690 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4691 Triangle3D_swigregister(Triangle3D)
4695 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4696 return _IMP_algebra.get_largest_triangle(points)
4699 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4700 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4703 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4704 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4705 class LinearFit2D(_GeometricPrimitive2D):
4706 """Proxy of C++ IMP::algebra::LinearFit2D class."""
4708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4710 def __init__(self, *args):
4712 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4713 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4715 this = _IMP_algebra.new_LinearFit2D(*args)
4717 self.this.append(this)
4721 def get_fit_error(self):
4722 """get_fit_error(LinearFit2D self) -> double"""
4723 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4727 """get_a(LinearFit2D self) -> double"""
4728 return _IMP_algebra.LinearFit2D_get_a(self)
4732 """get_b(LinearFit2D self) -> double"""
4733 return _IMP_algebra.LinearFit2D_get_b(self)
4736 def show(self, *args):
4738 show(LinearFit2D self, _ostream out)
4739 show(LinearFit2D self)
4741 return _IMP_algebra.LinearFit2D_show(self, *args)
4745 """__str__(LinearFit2D self) -> std::string"""
4746 return _IMP_algebra.LinearFit2D___str__(self)
4750 """__repr__(LinearFit2D self) -> std::string"""
4751 return _IMP_algebra.LinearFit2D___repr__(self)
4753 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4754 __del__ =
lambda self:
None
4755 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4756 LinearFit2D_swigregister(LinearFit2D)
4758 class ParabolicFit2D(_GeometricPrimitive2D):
4759 """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4763 def __init__(self, data):
4764 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4765 this = _IMP_algebra.new_ParabolicFit2D(data)
4767 self.this.append(this)
4771 def get_fit_error(self):
4772 """get_fit_error(ParabolicFit2D self) -> double"""
4773 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4777 """get_a(ParabolicFit2D self) -> double"""
4778 return _IMP_algebra.ParabolicFit2D_get_a(self)
4782 """get_b(ParabolicFit2D self) -> double"""
4783 return _IMP_algebra.ParabolicFit2D_get_b(self)
4787 """get_c(ParabolicFit2D self) -> double"""
4788 return _IMP_algebra.ParabolicFit2D_get_c(self)
4791 def show(self, *args):
4793 show(ParabolicFit2D self, _ostream out)
4794 show(ParabolicFit2D self)
4796 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4800 """__str__(ParabolicFit2D self) -> std::string"""
4801 return _IMP_algebra.ParabolicFit2D___str__(self)
4805 """__repr__(ParabolicFit2D self) -> std::string"""
4806 return _IMP_algebra.ParabolicFit2D___repr__(self)
4808 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4809 __del__ =
lambda self:
None
4810 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4811 ParabolicFit2D_swigregister(ParabolicFit2D)
4813 class Plane3D(_GeometricPrimitive3D):
4814 """Proxy of C++ IMP::algebra::Plane3D class."""
4816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4818 def __init__(self, *args):
4820 __init__(IMP::algebra::Plane3D self) -> Plane3D
4821 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4822 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4824 this = _IMP_algebra.new_Plane3D(*args)
4826 self.this.append(this)
4830 def get_point_on_plane(self):
4831 """get_point_on_plane(Plane3D self) -> Vector3D"""
4832 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4835 def get_normal(self):
4836 """get_normal(Plane3D self) -> Vector3D"""
4837 return _IMP_algebra.Plane3D_get_normal(self)
4840 def get_projected(self, p):
4841 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4842 return _IMP_algebra.Plane3D_get_projected(self, p)
4845 def get_is_above(self, p):
4846 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4847 return _IMP_algebra.Plane3D_get_is_above(self, p)
4850 def get_is_below(self, p):
4851 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4852 return _IMP_algebra.Plane3D_get_is_below(self, p)
4855 def get_height(self, p):
4856 """get_height(Plane3D self, Vector3D p) -> double"""
4857 return _IMP_algebra.Plane3D_get_height(self, p)
4860 def show(self, *args):
4862 show(Plane3D self, _ostream out)
4865 return _IMP_algebra.Plane3D_show(self, *args)
4868 def get_opposite(self):
4869 """get_opposite(Plane3D self) -> Plane3D"""
4870 return _IMP_algebra.Plane3D_get_opposite(self)
4873 def get_distance_from_origin(self):
4874 """get_distance_from_origin(Plane3D self) -> double"""
4875 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4879 """__str__(Plane3D self) -> std::string"""
4880 return _IMP_algebra.Plane3D___str__(self)
4884 """__repr__(Plane3D self) -> std::string"""
4885 return _IMP_algebra.Plane3D___repr__(self)
4887 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4888 __del__ =
lambda self:
None
4889 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4890 Plane3D_swigregister(Plane3D)
4894 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4895 return _IMP_algebra.get_reflected(pln, p)
4897 def get_plane_3d_geometry(g):
4898 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4899 return _IMP_algebra.get_plane_3d_geometry(g)
4900 class Reflection3D(_GeometricPrimitive3D):
4901 """Proxy of C++ IMP::algebra::Reflection3D class."""
4903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4905 def __init__(self, *args):
4907 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4908 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4910 this = _IMP_algebra.new_Reflection3D(*args)
4912 self.this.append(this)
4917 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4918 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4921 def show(self, *args):
4923 show(Reflection3D self, _ostream out)
4924 show(Reflection3D self)
4926 return _IMP_algebra.Reflection3D_show(self, *args)
4930 """__str__(Reflection3D self) -> std::string"""
4931 return _IMP_algebra.Reflection3D___str__(self)
4935 """__repr__(Reflection3D self) -> std::string"""
4936 return _IMP_algebra.Reflection3D___repr__(self)
4938 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4939 __del__ =
lambda self:
None
4940 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4941 Reflection3D_swigregister(Reflection3D)
4943 class Cylinder3D(_GeometricPrimitive3D):
4944 """Proxy of C++ IMP::algebra::Cylinder3D class."""
4946 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4948 def __init__(self, *args):
4950 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4951 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4953 this = _IMP_algebra.new_Cylinder3D(*args)
4955 self.this.append(this)
4959 def get_radius(self):
4960 """get_radius(Cylinder3D self) -> double"""
4961 return _IMP_algebra.Cylinder3D_get_radius(self)
4965 """get_segment(Cylinder3D self) -> Segment3D"""
4966 return _IMP_algebra.Cylinder3D_get_segment(self)
4969 def get_surface_point_at(self, relative_height, angle):
4970 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4971 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
4974 def get_inner_point_at(self, relative_height, relative_radius, angle):
4975 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4976 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
4979 def show(self, *args):
4981 show(Cylinder3D self, _ostream out)
4982 show(Cylinder3D self)
4984 return _IMP_algebra.Cylinder3D_show(self, *args)
4988 """__str__(Cylinder3D self) -> std::string"""
4989 return _IMP_algebra.Cylinder3D___str__(self)
4993 """__repr__(Cylinder3D self) -> std::string"""
4994 return _IMP_algebra.Cylinder3D___repr__(self)
4996 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4997 __del__ =
lambda self:
None
4998 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4999 Cylinder3D_swigregister(Cylinder3D)
5002 def get_cylinder_3d_geometry(g):
5003 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5004 return _IMP_algebra.get_cylinder_3d_geometry(g)
5005 class Ellipsoid3D(_GeometricPrimitive3D):
5006 """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5008 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5010 def __init__(self, *args):
5012 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5013 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5014 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5016 this = _IMP_algebra.new_Ellipsoid3D(*args)
5018 self.this.append(this)
5022 def get_radii(self):
5023 """get_radii(Ellipsoid3D self) -> Vector3D"""
5024 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5027 def get_reference_frame(self):
5028 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5029 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5032 def show(self, *args):
5034 show(Ellipsoid3D self, _ostream out)
5035 show(Ellipsoid3D self)
5037 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5041 """__str__(Ellipsoid3D self) -> std::string"""
5042 return _IMP_algebra.Ellipsoid3D___str__(self)
5046 """__repr__(Ellipsoid3D self) -> std::string"""
5047 return _IMP_algebra.Ellipsoid3D___repr__(self)
5049 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5050 __del__ =
lambda self:
None
5051 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5052 Ellipsoid3D_swigregister(Ellipsoid3D)
5055 def get_ellipsoid_3d_geometry(g):
5056 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5057 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5058 class ConnollySurfacePoint(object):
5059 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5063 def __init__(self, a0, a1, a2, sp, a, n):
5064 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5065 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5067 self.this.append(this)
5072 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5073 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5076 def get_surface_point(self):
5077 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5078 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5082 """get_area(ConnollySurfacePoint self) -> double"""
5083 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5086 def get_normal(self):
5087 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5088 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5091 def show(self, *args):
5093 show(ConnollySurfacePoint self, _ostream out)
5094 show(ConnollySurfacePoint self)
5096 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5100 """__str__(ConnollySurfacePoint self) -> std::string"""
5101 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5105 """__repr__(ConnollySurfacePoint self) -> std::string"""
5106 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5108 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5109 __del__ =
lambda self:
None
5110 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5111 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5115 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5116 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5117 class LogEmbedding3D(object):
5118 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5122 def __init__(self, *args):
5124 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5125 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5126 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5127 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5128 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5130 this = _IMP_algebra.new_LogEmbedding3D(*args)
5132 self.this.append(this)
5136 def set_origin(self, o):
5137 """set_origin(LogEmbedding3D self, Vector3D o)"""
5138 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5141 def get_origin(self):
5142 """get_origin(LogEmbedding3D self) -> Vector3D"""
5143 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5146 def get_dimension(self):
5147 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5148 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5151 def set_unit_cell(self, *args):
5153 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5154 set_unit_cell(LogEmbedding3D self, Vector3D o)
5156 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5159 def get_unit_cell(self):
5160 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5161 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5164 def get_extended_index(self, o):
5165 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5166 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5170 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5171 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5174 def get_center(self, *args):
5176 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5177 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5179 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5182 def get_bounding_box(self, *args):
5184 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5185 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5187 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5190 def show(self, *args):
5192 show(LogEmbedding3D self, _ostream out)
5193 show(LogEmbedding3D self)
5195 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5199 """__str__(LogEmbedding3D self) -> std::string"""
5200 return _IMP_algebra.LogEmbedding3D___str__(self)
5204 """__repr__(LogEmbedding3D self) -> std::string"""
5205 return _IMP_algebra.LogEmbedding3D___repr__(self)
5208 def __cmp__(self, arg2):
5209 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5210 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5213 def __eq__(self, arg2):
5214 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5215 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5217 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5218 __del__ =
lambda self:
None
5219 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5220 LogEmbedding3D_swigregister(LogEmbedding3D)
5222 class LogEmbeddingKD(object):
5223 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5227 def __init__(self, *args):
5229 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5230 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5231 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5232 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5233 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5235 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5237 self.this.append(this)
5241 def set_origin(self, o):
5242 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5243 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5246 def get_origin(self):
5247 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5248 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5251 def get_dimension(self):
5252 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5253 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5256 def set_unit_cell(self, *args):
5258 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5259 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5261 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5264 def get_unit_cell(self):
5265 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5266 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5269 def get_extended_index(self, o):
5270 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5271 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5275 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5276 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5279 def get_center(self, *args):
5281 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5282 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5284 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5287 def get_bounding_box(self, *args):
5289 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5290 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5292 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5295 def show(self, *args):
5297 show(LogEmbeddingKD self, _ostream out)
5298 show(LogEmbeddingKD self)
5300 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5304 """__str__(LogEmbeddingKD self) -> std::string"""
5305 return _IMP_algebra.LogEmbeddingKD___str__(self)
5309 """__repr__(LogEmbeddingKD self) -> std::string"""
5310 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5313 def __cmp__(self, arg2):
5314 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5315 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5318 def __eq__(self, arg2):
5319 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5320 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5322 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5323 __del__ =
lambda self:
None
5324 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5325 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5327 class DenseFloatLogGridKD(object):
5328 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5332 def __init__(self, sz, le):
5333 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5334 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5336 self.this.append(this)
5340 def add_voxel(self, i, q):
5341 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5342 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5345 def __getitem__(self, *args):
5347 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5348 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5350 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5353 def __setitem__(self, *args):
5355 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5356 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5358 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5361 def get_bounding_box(self, *args):
5363 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5364 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5366 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5371 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5372 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5374 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5377 def get_all_indexes(self):
5378 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5379 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5382 def get_extended_indexes(self, *args):
5384 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5385 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5387 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5390 def get_center(self, *args):
5392 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5393 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5395 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5398 def get_extended_index(self, v):
5399 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5400 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5404 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5405 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5408 def get_origin(self):
5409 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5410 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5413 def get_dimension(self):
5414 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5415 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5418 def get_unit_cell(self):
5419 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5420 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5423 def get_has_index(self, v):
5424 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5425 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5429 """__str__(DenseFloatLogGridKD self) -> std::string"""
5430 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5434 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5435 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5438 def show(self, *args):
5440 show(DenseFloatLogGridKD self, _ostream out)
5441 show(DenseFloatLogGridKD self)
5443 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5445 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5446 __del__ =
lambda self:
None
5447 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5448 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5450 class DenseIntLogGrid3D(object):
5451 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5455 def __init__(self, sz, le):
5456 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5457 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5459 self.this.append(this)
5463 def add_voxel(self, i, q):
5464 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5465 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5468 def __getitem__(self, *args):
5470 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5471 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5473 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5476 def __setitem__(self, *args):
5478 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5479 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5481 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5484 def get_bounding_box(self, *args):
5486 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5487 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5489 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5494 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5495 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5497 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5500 def get_all_indexes(self):
5501 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5502 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5505 def get_extended_indexes(self, *args):
5507 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5508 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5510 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5513 def get_center(self, *args):
5515 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5516 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5518 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5521 def get_extended_index(self, v):
5522 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5523 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5527 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5528 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5531 def get_origin(self):
5532 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5533 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5536 def get_dimension(self):
5537 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5538 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5541 def get_unit_cell(self):
5542 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5543 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5546 def get_has_index(self, v):
5547 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5548 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5552 """__str__(DenseIntLogGrid3D self) -> std::string"""
5553 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5557 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5558 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5561 def show(self, *args):
5563 show(DenseIntLogGrid3D self, _ostream out)
5564 show(DenseIntLogGrid3D self)
5566 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5568 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5569 __del__ =
lambda self:
None
5570 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5571 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5574 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5576 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5578 def __init__(self, *args):
5580 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5581 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5582 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5584 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5586 self.this.append(this)
5590 def add_voxel(self, i, q):
5591 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5592 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5595 def __getitem__(self, *args):
5597 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5598 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5600 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5603 def __setitem__(self, *args):
5605 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5606 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5608 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5611 def get_bounding_box(self, *args):
5613 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5614 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5616 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5621 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5622 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5624 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5627 def get_all_indexes(self):
5628 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5629 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5632 def get_extended_indexes(self, *args):
5634 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5635 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5637 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5640 def get_center(self, *args):
5642 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5643 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5645 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5648 def get_extended_index(self, v):
5649 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5650 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5654 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5655 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5658 def get_origin(self):
5659 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5660 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5663 def get_dimension(self):
5664 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5665 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5668 def get_unit_cell(self):
5669 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5670 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5673 def get_has_index(self, v):
5674 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5675 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5679 """__str__(DenseDoubleGrid3D self) -> std::string"""
5680 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5684 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5685 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5688 def show(self, *args):
5690 show(DenseDoubleGrid3D self, _ostream out)
5691 show(DenseDoubleGrid3D self)
5693 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5695 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5696 __del__ =
lambda self:
None
5697 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5698 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5701 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5705 def __init__(self, *args):
5707 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5708 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5709 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5711 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5713 self.this.append(this)
5717 def add_voxel(self, i, q):
5718 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5719 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5722 def __getitem__(self, *args):
5724 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5725 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5727 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5730 def __setitem__(self, *args):
5732 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5733 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5735 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5738 def get_bounding_box(self, *args):
5740 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5741 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5743 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5748 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5749 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5751 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5754 def get_all_indexes(self):
5755 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5756 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5759 def get_extended_indexes(self, *args):
5761 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5762 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5764 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5767 def get_center(self, *args):
5769 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5770 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5772 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5775 def get_extended_index(self, v):
5776 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5777 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5781 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5782 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5785 def get_origin(self):
5786 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5787 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5790 def get_dimension(self):
5791 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5792 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5795 def get_unit_cell(self):
5796 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5797 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5800 def get_has_index(self, v):
5801 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5802 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5806 """__str__(DenseFloatGrid3D self) -> std::string"""
5807 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5811 """__repr__(DenseFloatGrid3D self) -> std::string"""
5812 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5815 def show(self, *args):
5817 show(DenseFloatGrid3D self, _ostream out)
5818 show(DenseFloatGrid3D self)
5820 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5822 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5823 __del__ =
lambda self:
None
5824 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5825 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5828 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5830 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5832 def __init__(self, *args):
5834 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5835 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5836 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5837 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5838 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5840 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5842 self.this.append(this)
5846 def add_voxel(self, i, q):
5847 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5848 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5851 def __getitem__(self, *args):
5853 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5854 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5856 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5859 def __setitem__(self, *args):
5861 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5862 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5864 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5867 def get_bounding_box(self, *args):
5869 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5870 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5872 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5877 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5878 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5880 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5883 def get_all_indexes(self):
5884 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5885 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5888 def get_extended_indexes(self, *args):
5890 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5891 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5893 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5896 def get_center(self, *args):
5898 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5899 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5901 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5904 def get_extended_index(self, v):
5905 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5906 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5910 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5911 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5914 def get_origin(self):
5915 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5916 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5919 def get_dimension(self):
5920 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5921 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5924 def get_unit_cell(self):
5925 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5926 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5929 def get_has_index(self, v):
5930 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5931 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5935 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5936 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5940 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5941 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5944 def show(self, *args):
5946 show(SparseUnboundedIntGrid3D self, _ostream out)
5947 show(SparseUnboundedIntGrid3D self)
5949 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
5951 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
5952 __del__ =
lambda self:
None
5953 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
5954 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
5956 class SparseUnboundedIntGridKD(object):
5957 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
5959 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5961 def __init__(self, *args):
5963 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
5964 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
5965 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
5967 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
5969 self.this.append(this)
5973 def add_voxel(self, i, q):
5974 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
5975 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
5978 def __getitem__(self, *args):
5980 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
5981 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
5983 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
5986 def __setitem__(self, *args):
5988 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
5989 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
5991 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
5994 def get_bounding_box(self, *args):
5996 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5997 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
5999 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6004 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6005 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6007 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6010 def get_all_indexes(self):
6011 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6012 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6015 def get_extended_indexes(self, *args):
6017 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6018 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6020 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6023 def get_center(self, *args):
6025 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6026 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6028 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6031 def get_extended_index(self, v):
6032 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6033 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6037 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6038 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6041 def get_origin(self):
6042 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6043 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6046 def get_dimension(self):
6047 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6048 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6051 def get_unit_cell(self):
6052 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6053 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6056 def get_has_index(self, v):
6057 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6058 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6062 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6063 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6067 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6068 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6071 def show(self, *args):
6073 show(SparseUnboundedIntGridKD self, _ostream out)
6074 show(SparseUnboundedIntGridKD self)
6076 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6078 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6079 __del__ =
lambda self:
None
6080 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6081 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6083 class GridIndex1D(IMP._Value):
6084 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6088 def __init__(self, *args):
6090 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6091 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6092 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6093 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6094 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6095 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6096 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6098 this = _IMP_algebra.new_GridIndex1D(*args)
6100 self.this.append(this)
6104 def get_dimension(self):
6105 """get_dimension(GridIndex1D self) -> unsigned int"""
6106 return _IMP_algebra.GridIndex1D_get_dimension(self)
6109 def __getitem__(self, i):
6110 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6111 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6114 def show(self, *args):
6116 show(GridIndex1D self, _ostream out)
6117 show(GridIndex1D self)
6119 return _IMP_algebra.GridIndex1D_show(self, *args)
6123 """__len__(GridIndex1D self) -> unsigned int"""
6124 return _IMP_algebra.GridIndex1D___len__(self)
6127 def __cmp__(self, o):
6128 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6129 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6132 def __eq__(self, o):
6133 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6134 return _IMP_algebra.GridIndex1D___eq__(self, o)
6137 def __ne__(self, o):
6138 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6139 return _IMP_algebra.GridIndex1D___ne__(self, o)
6142 def __lt__(self, o):
6143 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6144 return _IMP_algebra.GridIndex1D___lt__(self, o)
6147 def __gt__(self, o):
6148 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6149 return _IMP_algebra.GridIndex1D___gt__(self, o)
6152 def __ge__(self, o):
6153 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6154 return _IMP_algebra.GridIndex1D___ge__(self, o)
6157 def __le__(self, o):
6158 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6159 return _IMP_algebra.GridIndex1D___le__(self, o)
6163 """__hash__(GridIndex1D self) -> std::size_t"""
6164 return _IMP_algebra.GridIndex1D___hash__(self)
6168 """__str__(GridIndex1D self) -> std::string"""
6169 return _IMP_algebra.GridIndex1D___str__(self)
6173 """__repr__(GridIndex1D self) -> std::string"""
6174 return _IMP_algebra.GridIndex1D___repr__(self)
6176 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6177 __del__ =
lambda self:
None
6178 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6179 GridIndex1D_swigregister(GridIndex1D)
6181 class GridIndex2D(IMP._Value):
6182 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6184 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6186 def __init__(self, *args):
6188 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6189 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6190 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6191 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6192 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6193 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6194 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6196 this = _IMP_algebra.new_GridIndex2D(*args)
6198 self.this.append(this)
6202 def get_dimension(self):
6203 """get_dimension(GridIndex2D self) -> unsigned int"""
6204 return _IMP_algebra.GridIndex2D_get_dimension(self)
6207 def __getitem__(self, i):
6208 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6209 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6212 def show(self, *args):
6214 show(GridIndex2D self, _ostream out)
6215 show(GridIndex2D self)
6217 return _IMP_algebra.GridIndex2D_show(self, *args)
6221 """__len__(GridIndex2D self) -> unsigned int"""
6222 return _IMP_algebra.GridIndex2D___len__(self)
6225 def __cmp__(self, o):
6226 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6227 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6230 def __eq__(self, o):
6231 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6232 return _IMP_algebra.GridIndex2D___eq__(self, o)
6235 def __ne__(self, o):
6236 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6237 return _IMP_algebra.GridIndex2D___ne__(self, o)
6240 def __lt__(self, o):
6241 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6242 return _IMP_algebra.GridIndex2D___lt__(self, o)
6245 def __gt__(self, o):
6246 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6247 return _IMP_algebra.GridIndex2D___gt__(self, o)
6250 def __ge__(self, o):
6251 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6252 return _IMP_algebra.GridIndex2D___ge__(self, o)
6255 def __le__(self, o):
6256 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6257 return _IMP_algebra.GridIndex2D___le__(self, o)
6261 """__hash__(GridIndex2D self) -> std::size_t"""
6262 return _IMP_algebra.GridIndex2D___hash__(self)
6266 """__str__(GridIndex2D self) -> std::string"""
6267 return _IMP_algebra.GridIndex2D___str__(self)
6271 """__repr__(GridIndex2D self) -> std::string"""
6272 return _IMP_algebra.GridIndex2D___repr__(self)
6274 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6275 __del__ =
lambda self:
None
6276 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6277 GridIndex2D_swigregister(GridIndex2D)
6279 class GridIndex3D(IMP._Value):
6280 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6284 def __init__(self, *args):
6286 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6287 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6288 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6289 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6290 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6291 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6292 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6294 this = _IMP_algebra.new_GridIndex3D(*args)
6296 self.this.append(this)
6300 def get_dimension(self):
6301 """get_dimension(GridIndex3D self) -> unsigned int"""
6302 return _IMP_algebra.GridIndex3D_get_dimension(self)
6305 def __getitem__(self, i):
6306 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6307 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6310 def show(self, *args):
6312 show(GridIndex3D self, _ostream out)
6313 show(GridIndex3D self)
6315 return _IMP_algebra.GridIndex3D_show(self, *args)
6319 """__len__(GridIndex3D self) -> unsigned int"""
6320 return _IMP_algebra.GridIndex3D___len__(self)
6323 def __cmp__(self, o):
6324 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6325 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6328 def __eq__(self, o):
6329 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6330 return _IMP_algebra.GridIndex3D___eq__(self, o)
6333 def __ne__(self, o):
6334 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6335 return _IMP_algebra.GridIndex3D___ne__(self, o)
6338 def __lt__(self, o):
6339 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6340 return _IMP_algebra.GridIndex3D___lt__(self, o)
6343 def __gt__(self, o):
6344 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6345 return _IMP_algebra.GridIndex3D___gt__(self, o)
6348 def __ge__(self, o):
6349 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6350 return _IMP_algebra.GridIndex3D___ge__(self, o)
6353 def __le__(self, o):
6354 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6355 return _IMP_algebra.GridIndex3D___le__(self, o)
6359 """__hash__(GridIndex3D self) -> std::size_t"""
6360 return _IMP_algebra.GridIndex3D___hash__(self)
6364 """__str__(GridIndex3D self) -> std::string"""
6365 return _IMP_algebra.GridIndex3D___str__(self)
6369 """__repr__(GridIndex3D self) -> std::string"""
6370 return _IMP_algebra.GridIndex3D___repr__(self)
6372 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6373 __del__ =
lambda self:
None
6374 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6375 GridIndex3D_swigregister(GridIndex3D)
6377 class GridIndex4D(IMP._Value):
6378 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6382 def __init__(self, *args):
6384 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6385 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6386 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6387 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6388 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6389 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6390 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6392 this = _IMP_algebra.new_GridIndex4D(*args)
6394 self.this.append(this)
6398 def get_dimension(self):
6399 """get_dimension(GridIndex4D self) -> unsigned int"""
6400 return _IMP_algebra.GridIndex4D_get_dimension(self)
6403 def __getitem__(self, i):
6404 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6405 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6408 def show(self, *args):
6410 show(GridIndex4D self, _ostream out)
6411 show(GridIndex4D self)
6413 return _IMP_algebra.GridIndex4D_show(self, *args)
6417 """__len__(GridIndex4D self) -> unsigned int"""
6418 return _IMP_algebra.GridIndex4D___len__(self)
6421 def __cmp__(self, o):
6422 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6423 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6426 def __eq__(self, o):
6427 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6428 return _IMP_algebra.GridIndex4D___eq__(self, o)
6431 def __ne__(self, o):
6432 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6433 return _IMP_algebra.GridIndex4D___ne__(self, o)
6436 def __lt__(self, o):
6437 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6438 return _IMP_algebra.GridIndex4D___lt__(self, o)
6441 def __gt__(self, o):
6442 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6443 return _IMP_algebra.GridIndex4D___gt__(self, o)
6446 def __ge__(self, o):
6447 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6448 return _IMP_algebra.GridIndex4D___ge__(self, o)
6451 def __le__(self, o):
6452 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6453 return _IMP_algebra.GridIndex4D___le__(self, o)
6457 """__hash__(GridIndex4D self) -> std::size_t"""
6458 return _IMP_algebra.GridIndex4D___hash__(self)
6462 """__str__(GridIndex4D self) -> std::string"""
6463 return _IMP_algebra.GridIndex4D___str__(self)
6467 """__repr__(GridIndex4D self) -> std::string"""
6468 return _IMP_algebra.GridIndex4D___repr__(self)
6470 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6471 __del__ =
lambda self:
None
6472 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6473 GridIndex4D_swigregister(GridIndex4D)
6475 class GridIndex5D(IMP._Value):
6476 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6478 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6480 def __init__(self, *args):
6482 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6483 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6484 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6485 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6486 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6487 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6488 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6490 this = _IMP_algebra.new_GridIndex5D(*args)
6492 self.this.append(this)
6496 def get_dimension(self):
6497 """get_dimension(GridIndex5D self) -> unsigned int"""
6498 return _IMP_algebra.GridIndex5D_get_dimension(self)
6501 def __getitem__(self, i):
6502 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6503 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6506 def show(self, *args):
6508 show(GridIndex5D self, _ostream out)
6509 show(GridIndex5D self)
6511 return _IMP_algebra.GridIndex5D_show(self, *args)
6515 """__len__(GridIndex5D self) -> unsigned int"""
6516 return _IMP_algebra.GridIndex5D___len__(self)
6519 def __cmp__(self, o):
6520 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6521 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6524 def __eq__(self, o):
6525 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6526 return _IMP_algebra.GridIndex5D___eq__(self, o)
6529 def __ne__(self, o):
6530 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6531 return _IMP_algebra.GridIndex5D___ne__(self, o)
6534 def __lt__(self, o):
6535 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6536 return _IMP_algebra.GridIndex5D___lt__(self, o)
6539 def __gt__(self, o):
6540 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6541 return _IMP_algebra.GridIndex5D___gt__(self, o)
6544 def __ge__(self, o):
6545 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6546 return _IMP_algebra.GridIndex5D___ge__(self, o)
6549 def __le__(self, o):
6550 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6551 return _IMP_algebra.GridIndex5D___le__(self, o)
6555 """__hash__(GridIndex5D self) -> std::size_t"""
6556 return _IMP_algebra.GridIndex5D___hash__(self)
6560 """__str__(GridIndex5D self) -> std::string"""
6561 return _IMP_algebra.GridIndex5D___str__(self)
6565 """__repr__(GridIndex5D self) -> std::string"""
6566 return _IMP_algebra.GridIndex5D___repr__(self)
6568 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6569 __del__ =
lambda self:
None
6570 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6571 GridIndex5D_swigregister(GridIndex5D)
6573 class GridIndex6D(IMP._Value):
6574 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6576 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6578 def __init__(self, *args):
6580 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6581 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6582 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6583 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6584 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6585 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6586 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6588 this = _IMP_algebra.new_GridIndex6D(*args)
6590 self.this.append(this)
6594 def get_dimension(self):
6595 """get_dimension(GridIndex6D self) -> unsigned int"""
6596 return _IMP_algebra.GridIndex6D_get_dimension(self)
6599 def __getitem__(self, i):
6600 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6601 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6604 def show(self, *args):
6606 show(GridIndex6D self, _ostream out)
6607 show(GridIndex6D self)
6609 return _IMP_algebra.GridIndex6D_show(self, *args)
6613 """__len__(GridIndex6D self) -> unsigned int"""
6614 return _IMP_algebra.GridIndex6D___len__(self)
6617 def __cmp__(self, o):
6618 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6619 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6622 def __eq__(self, o):
6623 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6624 return _IMP_algebra.GridIndex6D___eq__(self, o)
6627 def __ne__(self, o):
6628 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6629 return _IMP_algebra.GridIndex6D___ne__(self, o)
6632 def __lt__(self, o):
6633 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6634 return _IMP_algebra.GridIndex6D___lt__(self, o)
6637 def __gt__(self, o):
6638 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6639 return _IMP_algebra.GridIndex6D___gt__(self, o)
6642 def __ge__(self, o):
6643 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6644 return _IMP_algebra.GridIndex6D___ge__(self, o)
6647 def __le__(self, o):
6648 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6649 return _IMP_algebra.GridIndex6D___le__(self, o)
6653 """__hash__(GridIndex6D self) -> std::size_t"""
6654 return _IMP_algebra.GridIndex6D___hash__(self)
6658 """__str__(GridIndex6D self) -> std::string"""
6659 return _IMP_algebra.GridIndex6D___str__(self)
6663 """__repr__(GridIndex6D self) -> std::string"""
6664 return _IMP_algebra.GridIndex6D___repr__(self)
6666 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6667 __del__ =
lambda self:
None
6668 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6669 GridIndex6D_swigregister(GridIndex6D)
6671 class GridIndexKD(IMP._Value):
6672 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6676 def __init__(self, *args):
6678 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6679 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6680 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6681 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6682 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6683 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6684 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6686 this = _IMP_algebra.new_GridIndexKD(*args)
6688 self.this.append(this)
6692 def get_dimension(self):
6693 """get_dimension(GridIndexKD self) -> unsigned int"""
6694 return _IMP_algebra.GridIndexKD_get_dimension(self)
6697 def __getitem__(self, i):
6698 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6699 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6702 def show(self, *args):
6704 show(GridIndexKD self, _ostream out)
6705 show(GridIndexKD self)
6707 return _IMP_algebra.GridIndexKD_show(self, *args)
6711 """__len__(GridIndexKD self) -> unsigned int"""
6712 return _IMP_algebra.GridIndexKD___len__(self)
6715 def __cmp__(self, o):
6716 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6717 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6720 def __eq__(self, o):
6721 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6722 return _IMP_algebra.GridIndexKD___eq__(self, o)
6725 def __ne__(self, o):
6726 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6727 return _IMP_algebra.GridIndexKD___ne__(self, o)
6730 def __lt__(self, o):
6731 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6732 return _IMP_algebra.GridIndexKD___lt__(self, o)
6735 def __gt__(self, o):
6736 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6737 return _IMP_algebra.GridIndexKD___gt__(self, o)
6740 def __ge__(self, o):
6741 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6742 return _IMP_algebra.GridIndexKD___ge__(self, o)
6745 def __le__(self, o):
6746 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6747 return _IMP_algebra.GridIndexKD___le__(self, o)
6751 """__hash__(GridIndexKD self) -> std::size_t"""
6752 return _IMP_algebra.GridIndexKD___hash__(self)
6756 """__str__(GridIndexKD self) -> std::string"""
6757 return _IMP_algebra.GridIndexKD___str__(self)
6761 """__repr__(GridIndexKD self) -> std::string"""
6762 return _IMP_algebra.GridIndexKD___repr__(self)
6764 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6765 __del__ =
lambda self:
None
6766 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6767 GridIndexKD_swigregister(GridIndexKD)
6769 class ExtendedGridIndex1D(IMP._Value):
6770 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6772 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6774 def __init__(self, *args):
6776 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6777 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6778 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6779 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6780 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6781 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6782 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6783 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6785 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6787 self.this.append(this)
6791 def get_dimension(self):
6792 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6793 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6796 def __cmp__(self, o):
6797 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6798 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6801 def __eq__(self, o):
6802 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6803 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6806 def __ne__(self, o):
6807 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6808 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6811 def __lt__(self, o):
6812 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6813 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6816 def __gt__(self, o):
6817 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6818 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6821 def __ge__(self, o):
6822 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6823 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6826 def __le__(self, o):
6827 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6828 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6831 def __setitem__(self, i, v):
6832 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6833 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6836 def __getitem__(self, i):
6837 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6838 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6841 def show(self, *args):
6843 show(ExtendedGridIndex1D self, _ostream out)
6844 show(ExtendedGridIndex1D self)
6846 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6850 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6851 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6855 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6856 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6859 def get_uniform_offset(self, ii):
6860 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6861 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6864 def get_offset(self, i, j, k):
6865 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6866 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6870 """__str__(ExtendedGridIndex1D self) -> std::string"""
6871 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6875 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6876 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6878 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6879 __del__ =
lambda self:
None
6880 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6881 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6883 class ExtendedGridIndex2D(IMP._Value):
6884 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6888 def __init__(self, *args):
6890 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6891 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6892 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6893 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6894 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6895 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6896 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6897 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6899 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6901 self.this.append(this)
6905 def get_dimension(self):
6906 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6907 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6910 def __cmp__(self, o):
6911 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6912 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6915 def __eq__(self, o):
6916 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6917 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6920 def __ne__(self, o):
6921 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6922 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6925 def __lt__(self, o):
6926 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6927 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6930 def __gt__(self, o):
6931 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6932 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6935 def __ge__(self, o):
6936 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6937 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6940 def __le__(self, o):
6941 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6942 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6945 def __setitem__(self, i, v):
6946 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
6947 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
6950 def __getitem__(self, i):
6951 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
6952 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
6955 def show(self, *args):
6957 show(ExtendedGridIndex2D self, _ostream out)
6958 show(ExtendedGridIndex2D self)
6960 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
6964 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
6965 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
6969 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
6970 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
6973 def get_uniform_offset(self, ii):
6974 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
6975 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
6978 def get_offset(self, i, j, k):
6979 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
6980 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
6984 """__str__(ExtendedGridIndex2D self) -> std::string"""
6985 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
6989 """__repr__(ExtendedGridIndex2D self) -> std::string"""
6990 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
6992 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
6993 __del__ =
lambda self:
None
6994 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
6995 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
6997 class ExtendedGridIndex3D(IMP._Value):
6998 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7002 def __init__(self, *args):
7004 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7005 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7006 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7007 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7008 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7009 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7010 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7011 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7013 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7015 self.this.append(this)
7019 def get_dimension(self):
7020 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7021 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7024 def __cmp__(self, o):
7025 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7026 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7029 def __eq__(self, o):
7030 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7031 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7034 def __ne__(self, o):
7035 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7036 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7039 def __lt__(self, o):
7040 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7041 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7044 def __gt__(self, o):
7045 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7046 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7049 def __ge__(self, o):
7050 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7051 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7054 def __le__(self, o):
7055 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7056 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7059 def __setitem__(self, i, v):
7060 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7061 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7064 def __getitem__(self, i):
7065 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7066 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7069 def show(self, *args):
7071 show(ExtendedGridIndex3D self, _ostream out)
7072 show(ExtendedGridIndex3D self)
7074 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7078 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7079 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7083 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7084 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7087 def get_uniform_offset(self, ii):
7088 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7089 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7092 def get_offset(self, i, j, k):
7093 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7094 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7098 """__str__(ExtendedGridIndex3D self) -> std::string"""
7099 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7103 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7104 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7106 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7107 __del__ =
lambda self:
None
7108 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7109 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7111 class ExtendedGridIndex4D(IMP._Value):
7112 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7114 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7116 def __init__(self, *args):
7118 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7119 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7120 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7121 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7122 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7123 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7124 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7125 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7127 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7129 self.this.append(this)
7133 def get_dimension(self):
7134 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7135 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7138 def __cmp__(self, o):
7139 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7140 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7143 def __eq__(self, o):
7144 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7145 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7148 def __ne__(self, o):
7149 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7150 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7153 def __lt__(self, o):
7154 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7155 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7158 def __gt__(self, o):
7159 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7160 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7163 def __ge__(self, o):
7164 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7165 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7168 def __le__(self, o):
7169 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7170 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7173 def __setitem__(self, i, v):
7174 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7175 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7178 def __getitem__(self, i):
7179 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7180 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7183 def show(self, *args):
7185 show(ExtendedGridIndex4D self, _ostream out)
7186 show(ExtendedGridIndex4D self)
7188 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7192 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7193 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7197 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7198 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7201 def get_uniform_offset(self, ii):
7202 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7203 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7206 def get_offset(self, i, j, k):
7207 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7208 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7212 """__str__(ExtendedGridIndex4D self) -> std::string"""
7213 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7217 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7218 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7220 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7221 __del__ =
lambda self:
None
7222 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7223 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7225 class ExtendedGridIndex5D(IMP._Value):
7226 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7228 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7230 def __init__(self, *args):
7232 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7233 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7234 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7235 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7236 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7237 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7238 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7239 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7241 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7243 self.this.append(this)
7247 def get_dimension(self):
7248 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7249 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7252 def __cmp__(self, o):
7253 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7254 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7257 def __eq__(self, o):
7258 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7259 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7262 def __ne__(self, o):
7263 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7264 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7267 def __lt__(self, o):
7268 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7269 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7272 def __gt__(self, o):
7273 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7274 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7277 def __ge__(self, o):
7278 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7279 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7282 def __le__(self, o):
7283 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7284 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7287 def __setitem__(self, i, v):
7288 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7289 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7292 def __getitem__(self, i):
7293 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7294 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7297 def show(self, *args):
7299 show(ExtendedGridIndex5D self, _ostream out)
7300 show(ExtendedGridIndex5D self)
7302 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7306 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7307 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7311 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7312 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7315 def get_uniform_offset(self, ii):
7316 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7317 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7320 def get_offset(self, i, j, k):
7321 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7322 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7326 """__str__(ExtendedGridIndex5D self) -> std::string"""
7327 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7331 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7332 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7334 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7335 __del__ =
lambda self:
None
7336 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7337 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7339 class ExtendedGridIndex6D(IMP._Value):
7340 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7344 def __init__(self, *args):
7346 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7347 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7348 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7349 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7350 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7351 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7352 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7353 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7355 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7357 self.this.append(this)
7361 def get_dimension(self):
7362 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7363 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7366 def __cmp__(self, o):
7367 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7368 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7371 def __eq__(self, o):
7372 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7373 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7376 def __ne__(self, o):
7377 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7378 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7381 def __lt__(self, o):
7382 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7383 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7386 def __gt__(self, o):
7387 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7388 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7391 def __ge__(self, o):
7392 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7393 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7396 def __le__(self, o):
7397 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7398 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7401 def __setitem__(self, i, v):
7402 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7403 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7406 def __getitem__(self, i):
7407 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7408 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7411 def show(self, *args):
7413 show(ExtendedGridIndex6D self, _ostream out)
7414 show(ExtendedGridIndex6D self)
7416 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7420 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7421 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7425 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7426 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7429 def get_uniform_offset(self, ii):
7430 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7431 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7434 def get_offset(self, i, j, k):
7435 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7436 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7440 """__str__(ExtendedGridIndex6D self) -> std::string"""
7441 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7445 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7446 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7448 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7449 __del__ =
lambda self:
None
7450 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7451 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7453 class ExtendedGridIndexKD(IMP._Value):
7454 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7456 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7458 def __init__(self, *args):
7460 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7461 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7462 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7463 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7464 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7465 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7466 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7467 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7469 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7471 self.this.append(this)
7475 def get_dimension(self):
7476 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7477 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7480 def __cmp__(self, o):
7481 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7482 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7485 def __eq__(self, o):
7486 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7487 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7490 def __ne__(self, o):
7491 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7492 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7495 def __lt__(self, o):
7496 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7497 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7500 def __gt__(self, o):
7501 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7502 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7505 def __ge__(self, o):
7506 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7507 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7510 def __le__(self, o):
7511 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7512 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7515 def __setitem__(self, i, v):
7516 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7517 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7520 def __getitem__(self, i):
7521 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7522 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7525 def show(self, *args):
7527 show(ExtendedGridIndexKD self, _ostream out)
7528 show(ExtendedGridIndexKD self)
7530 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7534 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7535 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7539 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7540 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7543 def get_uniform_offset(self, ii):
7544 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7545 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7548 def get_offset(self, i, j, k):
7549 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7550 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7554 """__str__(ExtendedGridIndexKD self) -> std::string"""
7555 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7559 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7560 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7562 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7563 __del__ =
lambda self:
None
7564 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7565 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7567 class BoundedGridRange1D(object):
7568 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7572 def get_is_bounded():
7573 """get_is_bounded() -> bool"""
7574 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7576 get_is_bounded = staticmethod(get_is_bounded)
7578 def __init__(self, *args):
7580 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7581 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7583 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7585 self.this.append(this)
7589 def get_number_of_voxels(self, *args):
7591 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7592 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7594 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7597 def get_end_index(self):
7598 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7599 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7602 def show(self, *args):
7604 show(BoundedGridRange1D self, _ostream out)
7605 show(BoundedGridRange1D self)
7607 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7610 def get_all_indexes(self):
7611 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7612 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7616 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7617 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7620 def get_extended_indexes(self, lb, ub):
7621 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7622 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7626 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7627 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7630 def get_has_index(self, v):
7631 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7632 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7635 def get_minimum_extended_index(self):
7636 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7637 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7640 def get_maximum_extended_index(self):
7641 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7642 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7646 """__str__(BoundedGridRange1D self) -> std::string"""
7647 return _IMP_algebra.BoundedGridRange1D___str__(self)
7651 """__repr__(BoundedGridRange1D self) -> std::string"""
7652 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7655 def __cmp__(self, arg2):
7656 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7657 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7660 def __eq__(self, arg2):
7661 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7662 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7664 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7665 __del__ =
lambda self:
None
7666 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7667 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7669 def BoundedGridRange1D_get_is_bounded():
7670 """BoundedGridRange1D_get_is_bounded() -> bool"""
7671 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7673 class BoundedGridRange2D(object):
7674 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7676 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7678 def get_is_bounded():
7679 """get_is_bounded() -> bool"""
7680 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7682 get_is_bounded = staticmethod(get_is_bounded)
7684 def __init__(self, *args):
7686 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7687 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7689 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7691 self.this.append(this)
7695 def get_number_of_voxels(self, *args):
7697 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7698 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7700 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7703 def get_end_index(self):
7704 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7705 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7708 def show(self, *args):
7710 show(BoundedGridRange2D self, _ostream out)
7711 show(BoundedGridRange2D self)
7713 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7716 def get_all_indexes(self):
7717 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7718 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7722 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7723 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7726 def get_extended_indexes(self, lb, ub):
7727 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7728 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7732 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7733 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7736 def get_has_index(self, v):
7737 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7738 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7741 def get_minimum_extended_index(self):
7742 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7743 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7746 def get_maximum_extended_index(self):
7747 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7748 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7752 """__str__(BoundedGridRange2D self) -> std::string"""
7753 return _IMP_algebra.BoundedGridRange2D___str__(self)
7757 """__repr__(BoundedGridRange2D self) -> std::string"""
7758 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7761 def __cmp__(self, arg2):
7762 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7763 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7766 def __eq__(self, arg2):
7767 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7768 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7770 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7771 __del__ =
lambda self:
None
7772 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7773 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7775 def BoundedGridRange2D_get_is_bounded():
7776 """BoundedGridRange2D_get_is_bounded() -> bool"""
7777 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7779 class BoundedGridRange3D(object):
7780 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7784 def get_is_bounded():
7785 """get_is_bounded() -> bool"""
7786 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7788 get_is_bounded = staticmethod(get_is_bounded)
7790 def __init__(self, *args):
7792 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7793 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7795 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7797 self.this.append(this)
7801 def get_number_of_voxels(self, *args):
7803 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7804 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7806 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7809 def get_end_index(self):
7810 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7811 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7814 def show(self, *args):
7816 show(BoundedGridRange3D self, _ostream out)
7817 show(BoundedGridRange3D self)
7819 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7822 def get_all_indexes(self):
7823 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7824 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7828 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7829 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7832 def get_extended_indexes(self, lb, ub):
7833 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7834 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7838 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7839 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7842 def get_has_index(self, v):
7843 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7844 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7847 def get_minimum_extended_index(self):
7848 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7849 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7852 def get_maximum_extended_index(self):
7853 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7854 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7858 """__str__(BoundedGridRange3D self) -> std::string"""
7859 return _IMP_algebra.BoundedGridRange3D___str__(self)
7863 """__repr__(BoundedGridRange3D self) -> std::string"""
7864 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7867 def __cmp__(self, arg2):
7868 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7869 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7872 def __eq__(self, arg2):
7873 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7874 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7876 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7877 __del__ =
lambda self:
None
7878 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7879 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7881 def BoundedGridRange3D_get_is_bounded():
7882 """BoundedGridRange3D_get_is_bounded() -> bool"""
7883 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7885 class BoundedGridRange4D(object):
7886 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7890 def get_is_bounded():
7891 """get_is_bounded() -> bool"""
7892 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7894 get_is_bounded = staticmethod(get_is_bounded)
7896 def __init__(self, *args):
7898 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7899 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7901 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7903 self.this.append(this)
7907 def get_number_of_voxels(self, *args):
7909 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7910 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7912 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7915 def get_end_index(self):
7916 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7917 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7920 def show(self, *args):
7922 show(BoundedGridRange4D self, _ostream out)
7923 show(BoundedGridRange4D self)
7925 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7928 def get_all_indexes(self):
7929 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7930 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7934 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7935 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7938 def get_extended_indexes(self, lb, ub):
7939 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7940 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7944 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7945 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
7948 def get_has_index(self, v):
7949 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
7950 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
7953 def get_minimum_extended_index(self):
7954 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7955 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
7958 def get_maximum_extended_index(self):
7959 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7960 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
7964 """__str__(BoundedGridRange4D self) -> std::string"""
7965 return _IMP_algebra.BoundedGridRange4D___str__(self)
7969 """__repr__(BoundedGridRange4D self) -> std::string"""
7970 return _IMP_algebra.BoundedGridRange4D___repr__(self)
7973 def __cmp__(self, arg2):
7974 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
7975 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
7978 def __eq__(self, arg2):
7979 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
7980 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
7982 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
7983 __del__ =
lambda self:
None
7984 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
7985 BoundedGridRange4D_swigregister(BoundedGridRange4D)
7987 def BoundedGridRange4D_get_is_bounded():
7988 """BoundedGridRange4D_get_is_bounded() -> bool"""
7989 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7991 class BoundedGridRange5D(object):
7992 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
7994 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7996 def get_is_bounded():
7997 """get_is_bounded() -> bool"""
7998 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8000 get_is_bounded = staticmethod(get_is_bounded)
8002 def __init__(self, *args):
8004 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8005 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8007 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8009 self.this.append(this)
8013 def get_number_of_voxels(self, *args):
8015 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8016 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8018 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8021 def get_end_index(self):
8022 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8023 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8026 def show(self, *args):
8028 show(BoundedGridRange5D self, _ostream out)
8029 show(BoundedGridRange5D self)
8031 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8034 def get_all_indexes(self):
8035 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8036 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8040 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8041 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8044 def get_extended_indexes(self, lb, ub):
8045 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8046 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8050 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8051 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8054 def get_has_index(self, v):
8055 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8056 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8059 def get_minimum_extended_index(self):
8060 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8061 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8064 def get_maximum_extended_index(self):
8065 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8066 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8070 """__str__(BoundedGridRange5D self) -> std::string"""
8071 return _IMP_algebra.BoundedGridRange5D___str__(self)
8075 """__repr__(BoundedGridRange5D self) -> std::string"""
8076 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8079 def __cmp__(self, arg2):
8080 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8081 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8084 def __eq__(self, arg2):
8085 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8086 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8088 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8089 __del__ =
lambda self:
None
8090 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8091 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8093 def BoundedGridRange5D_get_is_bounded():
8094 """BoundedGridRange5D_get_is_bounded() -> bool"""
8095 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8097 class BoundedGridRange6D(object):
8098 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8102 def get_is_bounded():
8103 """get_is_bounded() -> bool"""
8104 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8106 get_is_bounded = staticmethod(get_is_bounded)
8108 def __init__(self, *args):
8110 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8111 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8113 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8115 self.this.append(this)
8119 def get_number_of_voxels(self, *args):
8121 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8122 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8124 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8127 def get_end_index(self):
8128 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8129 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8132 def show(self, *args):
8134 show(BoundedGridRange6D self, _ostream out)
8135 show(BoundedGridRange6D self)
8137 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8140 def get_all_indexes(self):
8141 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8142 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8146 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8147 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8150 def get_extended_indexes(self, lb, ub):
8151 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8152 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8156 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8157 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8160 def get_has_index(self, v):
8161 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8162 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8165 def get_minimum_extended_index(self):
8166 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8167 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8170 def get_maximum_extended_index(self):
8171 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8172 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8176 """__str__(BoundedGridRange6D self) -> std::string"""
8177 return _IMP_algebra.BoundedGridRange6D___str__(self)
8181 """__repr__(BoundedGridRange6D self) -> std::string"""
8182 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8185 def __cmp__(self, arg2):
8186 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8187 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8190 def __eq__(self, arg2):
8191 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8192 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8194 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8195 __del__ =
lambda self:
None
8196 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8197 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8199 def BoundedGridRange6D_get_is_bounded():
8200 """BoundedGridRange6D_get_is_bounded() -> bool"""
8201 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8203 class BoundedGridRangeKD(object):
8204 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8208 def get_is_bounded():
8209 """get_is_bounded() -> bool"""
8210 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8212 get_is_bounded = staticmethod(get_is_bounded)
8214 def __init__(self, *args):
8216 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8217 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8219 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8221 self.this.append(this)
8225 def get_number_of_voxels(self, *args):
8227 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8228 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8230 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8233 def get_end_index(self):
8234 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8235 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8238 def show(self, *args):
8240 show(BoundedGridRangeKD self, _ostream out)
8241 show(BoundedGridRangeKD self)
8243 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8246 def get_all_indexes(self):
8247 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8248 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8252 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8253 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8256 def get_extended_indexes(self, lb, ub):
8257 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8258 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8262 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8263 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8266 def get_has_index(self, v):
8267 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8268 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8271 def get_minimum_extended_index(self):
8272 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8273 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8276 def get_maximum_extended_index(self):
8277 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8278 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8282 """__str__(BoundedGridRangeKD self) -> std::string"""
8283 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8287 """__repr__(BoundedGridRangeKD self) -> std::string"""
8288 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8291 def __cmp__(self, arg2):
8292 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8293 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8296 def __eq__(self, arg2):
8297 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8298 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8300 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8301 __del__ =
lambda self:
None
8302 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8303 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8305 def BoundedGridRangeKD_get_is_bounded():
8306 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8307 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8309 class UnboundedGridRange1D(object):
8310 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8314 def __init__(self, *args):
8316 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8317 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8319 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8321 self.this.append(this)
8325 def set_number_of_voxels(self, arg2):
8326 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8327 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8330 def get_number_of_voxels(self, arg2):
8331 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8332 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8335 def get_is_bounded():
8336 """get_is_bounded() -> bool"""
8337 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8339 get_is_bounded = staticmethod(get_is_bounded)
8341 def get_has_index(self, arg2):
8342 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8343 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8346 def show(self, *args):
8348 show(UnboundedGridRange1D self, _ostream out)
8349 show(UnboundedGridRange1D self)
8351 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8354 def get_extended_indexes(self, lb, ub):
8355 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8356 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8360 """__str__(UnboundedGridRange1D self) -> std::string"""
8361 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8365 """__repr__(UnboundedGridRange1D self) -> std::string"""
8366 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8369 def __cmp__(self, arg2):
8370 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8371 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8374 def __eq__(self, arg2):
8375 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8376 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8378 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8379 __del__ =
lambda self:
None
8380 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8381 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8383 def UnboundedGridRange1D_get_is_bounded():
8384 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8385 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8387 class UnboundedGridRange2D(object):
8388 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8392 def __init__(self, *args):
8394 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8395 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8397 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8399 self.this.append(this)
8403 def set_number_of_voxels(self, arg2):
8404 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8405 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8408 def get_number_of_voxels(self, arg2):
8409 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8410 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8413 def get_is_bounded():
8414 """get_is_bounded() -> bool"""
8415 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8417 get_is_bounded = staticmethod(get_is_bounded)
8419 def get_has_index(self, arg2):
8420 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8421 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8424 def show(self, *args):
8426 show(UnboundedGridRange2D self, _ostream out)
8427 show(UnboundedGridRange2D self)
8429 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8432 def get_extended_indexes(self, lb, ub):
8433 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8434 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8438 """__str__(UnboundedGridRange2D self) -> std::string"""
8439 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8443 """__repr__(UnboundedGridRange2D self) -> std::string"""
8444 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8447 def __cmp__(self, arg2):
8448 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8449 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8452 def __eq__(self, arg2):
8453 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8454 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8456 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8457 __del__ =
lambda self:
None
8458 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8459 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8461 def UnboundedGridRange2D_get_is_bounded():
8462 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8463 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8465 class UnboundedGridRange3D(object):
8466 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8468 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8470 def __init__(self, *args):
8472 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8473 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8475 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8477 self.this.append(this)
8481 def set_number_of_voxels(self, arg2):
8482 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8483 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8486 def get_number_of_voxels(self, arg2):
8487 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8488 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8491 def get_is_bounded():
8492 """get_is_bounded() -> bool"""
8493 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8495 get_is_bounded = staticmethod(get_is_bounded)
8497 def get_has_index(self, arg2):
8498 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8499 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8502 def show(self, *args):
8504 show(UnboundedGridRange3D self, _ostream out)
8505 show(UnboundedGridRange3D self)
8507 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8510 def get_extended_indexes(self, lb, ub):
8511 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8512 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8516 """__str__(UnboundedGridRange3D self) -> std::string"""
8517 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8521 """__repr__(UnboundedGridRange3D self) -> std::string"""
8522 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8525 def __cmp__(self, arg2):
8526 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8527 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8530 def __eq__(self, arg2):
8531 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8532 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8534 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8535 __del__ =
lambda self:
None
8536 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8537 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8539 def UnboundedGridRange3D_get_is_bounded():
8540 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8541 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8543 class UnboundedGridRange4D(object):
8544 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8548 def __init__(self, *args):
8550 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8551 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8553 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8555 self.this.append(this)
8559 def set_number_of_voxels(self, arg2):
8560 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8561 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8564 def get_number_of_voxels(self, arg2):
8565 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8566 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8569 def get_is_bounded():
8570 """get_is_bounded() -> bool"""
8571 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8573 get_is_bounded = staticmethod(get_is_bounded)
8575 def get_has_index(self, arg2):
8576 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8577 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8580 def show(self, *args):
8582 show(UnboundedGridRange4D self, _ostream out)
8583 show(UnboundedGridRange4D self)
8585 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8588 def get_extended_indexes(self, lb, ub):
8589 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8590 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8594 """__str__(UnboundedGridRange4D self) -> std::string"""
8595 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8599 """__repr__(UnboundedGridRange4D self) -> std::string"""
8600 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8603 def __cmp__(self, arg2):
8604 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8605 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8608 def __eq__(self, arg2):
8609 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8610 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8612 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8613 __del__ =
lambda self:
None
8614 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8615 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8617 def UnboundedGridRange4D_get_is_bounded():
8618 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8619 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8621 class UnboundedGridRange5D(object):
8622 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8626 def __init__(self, *args):
8628 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8629 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8631 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8633 self.this.append(this)
8637 def set_number_of_voxels(self, arg2):
8638 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8639 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8642 def get_number_of_voxels(self, arg2):
8643 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8644 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8647 def get_is_bounded():
8648 """get_is_bounded() -> bool"""
8649 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8651 get_is_bounded = staticmethod(get_is_bounded)
8653 def get_has_index(self, arg2):
8654 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8655 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8658 def show(self, *args):
8660 show(UnboundedGridRange5D self, _ostream out)
8661 show(UnboundedGridRange5D self)
8663 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8666 def get_extended_indexes(self, lb, ub):
8667 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8668 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8672 """__str__(UnboundedGridRange5D self) -> std::string"""
8673 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8677 """__repr__(UnboundedGridRange5D self) -> std::string"""
8678 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8681 def __cmp__(self, arg2):
8682 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8683 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8686 def __eq__(self, arg2):
8687 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8688 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8690 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8691 __del__ =
lambda self:
None
8692 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8693 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8695 def UnboundedGridRange5D_get_is_bounded():
8696 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8697 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8699 class UnboundedGridRange6D(object):
8700 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8702 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8704 def __init__(self, *args):
8706 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8707 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8709 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8711 self.this.append(this)
8715 def set_number_of_voxels(self, arg2):
8716 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8717 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8720 def get_number_of_voxels(self, arg2):
8721 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8722 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8725 def get_is_bounded():
8726 """get_is_bounded() -> bool"""
8727 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8729 get_is_bounded = staticmethod(get_is_bounded)
8731 def get_has_index(self, arg2):
8732 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8733 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8736 def show(self, *args):
8738 show(UnboundedGridRange6D self, _ostream out)
8739 show(UnboundedGridRange6D self)
8741 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8744 def get_extended_indexes(self, lb, ub):
8745 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8746 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8750 """__str__(UnboundedGridRange6D self) -> std::string"""
8751 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8755 """__repr__(UnboundedGridRange6D self) -> std::string"""
8756 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8759 def __cmp__(self, arg2):
8760 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8761 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8764 def __eq__(self, arg2):
8765 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8766 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8768 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8769 __del__ =
lambda self:
None
8770 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8771 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8773 def UnboundedGridRange6D_get_is_bounded():
8774 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8775 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8777 class UnboundedGridRangeKD(object):
8778 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8782 def __init__(self, *args):
8784 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8785 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8787 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8789 self.this.append(this)
8793 def set_number_of_voxels(self, arg2):
8794 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8795 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8798 def get_number_of_voxels(self, arg2):
8799 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8800 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8803 def get_is_bounded():
8804 """get_is_bounded() -> bool"""
8805 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8807 get_is_bounded = staticmethod(get_is_bounded)
8809 def get_has_index(self, arg2):
8810 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8811 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8814 def show(self, *args):
8816 show(UnboundedGridRangeKD self, _ostream out)
8817 show(UnboundedGridRangeKD self)
8819 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8822 def get_extended_indexes(self, lb, ub):
8823 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8824 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8828 """__str__(UnboundedGridRangeKD self) -> std::string"""
8829 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8833 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8834 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8837 def __cmp__(self, arg2):
8838 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8839 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8842 def __eq__(self, arg2):
8843 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8844 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8846 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8847 __del__ =
lambda self:
None
8848 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8849 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8851 def UnboundedGridRangeKD_get_is_bounded():
8852 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8853 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8855 class DefaultEmbedding1D(object):
8856 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8860 def __init__(self, *args):
8862 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8863 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8865 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8867 self.this.append(this)
8871 def set_origin(self, o):
8872 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8873 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8876 def get_origin(self):
8877 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8878 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8881 def get_dimension(self):
8882 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8883 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8886 def set_unit_cell(self, o):
8887 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8888 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8891 def get_inverse_unit_cell(self):
8892 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8893 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8896 def get_unit_cell(self):
8897 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8898 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8901 def get_extended_index(self, o):
8902 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8903 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8907 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8908 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8911 def get_center(self, *args):
8913 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8914 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8916 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8919 def get_bounding_box(self, *args):
8921 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8922 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8924 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8927 def show(self, *args):
8929 show(DefaultEmbedding1D self, _ostream out)
8930 show(DefaultEmbedding1D self)
8932 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8936 """__str__(DefaultEmbedding1D self) -> std::string"""
8937 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8941 """__repr__(DefaultEmbedding1D self) -> std::string"""
8942 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8945 def __cmp__(self, arg2):
8946 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
8947 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
8950 def __eq__(self, arg2):
8951 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
8952 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
8954 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
8955 __del__ =
lambda self:
None
8956 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
8957 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
8959 class DefaultEmbedding2D(object):
8960 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
8962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8964 def __init__(self, *args):
8966 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
8967 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
8969 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
8971 self.this.append(this)
8975 def set_origin(self, o):
8976 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
8977 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
8980 def get_origin(self):
8981 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
8982 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
8985 def get_dimension(self):
8986 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
8987 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
8990 def set_unit_cell(self, o):
8991 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
8992 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
8995 def get_inverse_unit_cell(self):
8996 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
8997 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9000 def get_unit_cell(self):
9001 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9002 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9005 def get_extended_index(self, o):
9006 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9007 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9011 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9012 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9015 def get_center(self, *args):
9017 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9018 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9020 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9023 def get_bounding_box(self, *args):
9025 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9026 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9028 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9031 def show(self, *args):
9033 show(DefaultEmbedding2D self, _ostream out)
9034 show(DefaultEmbedding2D self)
9036 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9040 """__str__(DefaultEmbedding2D self) -> std::string"""
9041 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9045 """__repr__(DefaultEmbedding2D self) -> std::string"""
9046 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9049 def __cmp__(self, arg2):
9050 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9051 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9054 def __eq__(self, arg2):
9055 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9056 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9058 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9059 __del__ =
lambda self:
None
9060 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9061 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9063 class DefaultEmbedding3D(object):
9064 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9066 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9068 def __init__(self, *args):
9070 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9071 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9073 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9075 self.this.append(this)
9079 def set_origin(self, o):
9080 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9081 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9084 def get_origin(self):
9085 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9086 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9089 def get_dimension(self):
9090 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9091 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9094 def set_unit_cell(self, o):
9095 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9096 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9099 def get_inverse_unit_cell(self):
9100 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9101 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9104 def get_unit_cell(self):
9105 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9106 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9109 def get_extended_index(self, o):
9110 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9111 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9115 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9116 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9119 def get_center(self, *args):
9121 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9122 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9124 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9127 def get_bounding_box(self, *args):
9129 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9130 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9132 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9135 def show(self, *args):
9137 show(DefaultEmbedding3D self, _ostream out)
9138 show(DefaultEmbedding3D self)
9140 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9144 """__str__(DefaultEmbedding3D self) -> std::string"""
9145 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9149 """__repr__(DefaultEmbedding3D self) -> std::string"""
9150 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9153 def __cmp__(self, arg2):
9154 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9155 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9158 def __eq__(self, arg2):
9159 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9160 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9162 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9163 __del__ =
lambda self:
None
9164 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9165 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9167 class DefaultEmbedding4D(object):
9168 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9172 def __init__(self, *args):
9174 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9175 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9177 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9179 self.this.append(this)
9183 def set_origin(self, o):
9184 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9185 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9188 def get_origin(self):
9189 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9190 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9193 def get_dimension(self):
9194 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9195 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9198 def set_unit_cell(self, o):
9199 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9200 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9203 def get_inverse_unit_cell(self):
9204 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9205 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9208 def get_unit_cell(self):
9209 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9210 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9213 def get_extended_index(self, o):
9214 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9215 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9219 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9220 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9223 def get_center(self, *args):
9225 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9226 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9228 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9231 def get_bounding_box(self, *args):
9233 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9234 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9236 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9239 def show(self, *args):
9241 show(DefaultEmbedding4D self, _ostream out)
9242 show(DefaultEmbedding4D self)
9244 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9248 """__str__(DefaultEmbedding4D self) -> std::string"""
9249 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9253 """__repr__(DefaultEmbedding4D self) -> std::string"""
9254 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9257 def __cmp__(self, arg2):
9258 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9259 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9262 def __eq__(self, arg2):
9263 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9264 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9266 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9267 __del__ =
lambda self:
None
9268 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9269 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9271 class DefaultEmbedding5D(object):
9272 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9274 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9276 def __init__(self, *args):
9278 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9279 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9281 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9283 self.this.append(this)
9287 def set_origin(self, o):
9288 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9289 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9292 def get_origin(self):
9293 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9294 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9297 def get_dimension(self):
9298 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9299 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9302 def set_unit_cell(self, o):
9303 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9304 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9307 def get_inverse_unit_cell(self):
9308 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9309 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9312 def get_unit_cell(self):
9313 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9314 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9317 def get_extended_index(self, o):
9318 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9319 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9323 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9324 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9327 def get_center(self, *args):
9329 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9330 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9332 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9335 def get_bounding_box(self, *args):
9337 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9338 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9340 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9343 def show(self, *args):
9345 show(DefaultEmbedding5D self, _ostream out)
9346 show(DefaultEmbedding5D self)
9348 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9352 """__str__(DefaultEmbedding5D self) -> std::string"""
9353 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9357 """__repr__(DefaultEmbedding5D self) -> std::string"""
9358 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9361 def __cmp__(self, arg2):
9362 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9363 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9366 def __eq__(self, arg2):
9367 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9368 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9370 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9371 __del__ =
lambda self:
None
9372 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9373 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9375 class DefaultEmbedding6D(object):
9376 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9380 def __init__(self, *args):
9382 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9383 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9385 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9387 self.this.append(this)
9391 def set_origin(self, o):
9392 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9393 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9396 def get_origin(self):
9397 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9398 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9401 def get_dimension(self):
9402 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9403 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9406 def set_unit_cell(self, o):
9407 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9408 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9411 def get_inverse_unit_cell(self):
9412 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9413 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9416 def get_unit_cell(self):
9417 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9418 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9421 def get_extended_index(self, o):
9422 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9423 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9427 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9428 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9431 def get_center(self, *args):
9433 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9434 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9436 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9439 def get_bounding_box(self, *args):
9441 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9442 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9444 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9447 def show(self, *args):
9449 show(DefaultEmbedding6D self, _ostream out)
9450 show(DefaultEmbedding6D self)
9452 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9456 """__str__(DefaultEmbedding6D self) -> std::string"""
9457 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9461 """__repr__(DefaultEmbedding6D self) -> std::string"""
9462 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9465 def __cmp__(self, arg2):
9466 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9467 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9470 def __eq__(self, arg2):
9471 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9472 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9474 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9475 __del__ =
lambda self:
None
9476 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9477 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9479 class DefaultEmbeddingKD(object):
9480 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9484 def __init__(self, *args):
9486 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9487 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9489 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9491 self.this.append(this)
9495 def set_origin(self, o):
9496 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9497 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9500 def get_origin(self):
9501 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9502 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9505 def get_dimension(self):
9506 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9507 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9510 def set_unit_cell(self, o):
9511 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9512 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9515 def get_inverse_unit_cell(self):
9516 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9517 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9520 def get_unit_cell(self):
9521 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9522 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9525 def get_extended_index(self, o):
9526 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9527 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9531 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9532 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9535 def get_center(self, *args):
9537 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9538 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9540 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9543 def get_bounding_box(self, *args):
9545 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9546 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9548 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9551 def show(self, *args):
9553 show(DefaultEmbeddingKD self, _ostream out)
9554 show(DefaultEmbeddingKD self)
9556 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9560 """__str__(DefaultEmbeddingKD self) -> std::string"""
9561 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9565 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9566 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9569 def __cmp__(self, arg2):
9570 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9571 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9574 def __eq__(self, arg2):
9575 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9576 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9578 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9579 __del__ =
lambda self:
None
9580 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9581 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9583 class LogEmbedding1D(object):
9584 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9586 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9588 def __init__(self, *args):
9590 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9591 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9592 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9593 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9594 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9596 this = _IMP_algebra.new_LogEmbedding1D(*args)
9598 self.this.append(this)
9602 def set_origin(self, o):
9603 """set_origin(LogEmbedding1D self, Vector1D o)"""
9604 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9607 def get_origin(self):
9608 """get_origin(LogEmbedding1D self) -> Vector1D"""
9609 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9612 def get_dimension(self):
9613 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9614 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9617 def set_unit_cell(self, *args):
9619 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9620 set_unit_cell(LogEmbedding1D self, Vector1D o)
9622 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9625 def get_unit_cell(self):
9626 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9627 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9630 def get_extended_index(self, o):
9631 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9632 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9636 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9637 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9640 def get_center(self, *args):
9642 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9643 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9645 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9648 def get_bounding_box(self, *args):
9650 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9651 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9653 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9656 def show(self, *args):
9658 show(LogEmbedding1D self, _ostream out)
9659 show(LogEmbedding1D self)
9661 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9665 """__str__(LogEmbedding1D self) -> std::string"""
9666 return _IMP_algebra.LogEmbedding1D___str__(self)
9670 """__repr__(LogEmbedding1D self) -> std::string"""
9671 return _IMP_algebra.LogEmbedding1D___repr__(self)
9674 def __cmp__(self, arg2):
9675 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9676 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9679 def __eq__(self, arg2):
9680 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9681 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9683 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9684 __del__ =
lambda self:
None
9685 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9686 LogEmbedding1D_swigregister(LogEmbedding1D)
9688 class LogEmbedding2D(object):
9689 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9693 def __init__(self, *args):
9695 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9696 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9697 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9698 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9699 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9701 this = _IMP_algebra.new_LogEmbedding2D(*args)
9703 self.this.append(this)
9707 def set_origin(self, o):
9708 """set_origin(LogEmbedding2D self, Vector2D o)"""
9709 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9712 def get_origin(self):
9713 """get_origin(LogEmbedding2D self) -> Vector2D"""
9714 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9717 def get_dimension(self):
9718 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9719 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9722 def set_unit_cell(self, *args):
9724 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9725 set_unit_cell(LogEmbedding2D self, Vector2D o)
9727 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9730 def get_unit_cell(self):
9731 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9732 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9735 def get_extended_index(self, o):
9736 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9737 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9741 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9742 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9745 def get_center(self, *args):
9747 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9748 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9750 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9753 def get_bounding_box(self, *args):
9755 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9756 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9758 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9761 def show(self, *args):
9763 show(LogEmbedding2D self, _ostream out)
9764 show(LogEmbedding2D self)
9766 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9770 """__str__(LogEmbedding2D self) -> std::string"""
9771 return _IMP_algebra.LogEmbedding2D___str__(self)
9775 """__repr__(LogEmbedding2D self) -> std::string"""
9776 return _IMP_algebra.LogEmbedding2D___repr__(self)
9779 def __cmp__(self, arg2):
9780 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9781 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9784 def __eq__(self, arg2):
9785 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9786 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9788 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9789 __del__ =
lambda self:
None
9790 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9791 LogEmbedding2D_swigregister(LogEmbedding2D)
9793 class LogEmbedding4D(object):
9794 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9796 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9798 def __init__(self, *args):
9800 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9801 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9802 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9803 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9804 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9806 this = _IMP_algebra.new_LogEmbedding4D(*args)
9808 self.this.append(this)
9812 def set_origin(self, o):
9813 """set_origin(LogEmbedding4D self, Vector4D o)"""
9814 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9817 def get_origin(self):
9818 """get_origin(LogEmbedding4D self) -> Vector4D"""
9819 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9822 def get_dimension(self):
9823 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9824 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9827 def set_unit_cell(self, *args):
9829 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9830 set_unit_cell(LogEmbedding4D self, Vector4D o)
9832 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9835 def get_unit_cell(self):
9836 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9837 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9840 def get_extended_index(self, o):
9841 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9842 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9846 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9847 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9850 def get_center(self, *args):
9852 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9853 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9855 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9858 def get_bounding_box(self, *args):
9860 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9861 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9863 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9866 def show(self, *args):
9868 show(LogEmbedding4D self, _ostream out)
9869 show(LogEmbedding4D self)
9871 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9875 """__str__(LogEmbedding4D self) -> std::string"""
9876 return _IMP_algebra.LogEmbedding4D___str__(self)
9880 """__repr__(LogEmbedding4D self) -> std::string"""
9881 return _IMP_algebra.LogEmbedding4D___repr__(self)
9884 def __cmp__(self, arg2):
9885 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9886 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9889 def __eq__(self, arg2):
9890 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9891 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9893 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9894 __del__ =
lambda self:
None
9895 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9896 LogEmbedding4D_swigregister(LogEmbedding4D)
9898 class LogEmbedding5D(object):
9899 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9901 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9903 def __init__(self, *args):
9905 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9906 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9907 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9908 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9909 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9911 this = _IMP_algebra.new_LogEmbedding5D(*args)
9913 self.this.append(this)
9917 def set_origin(self, o):
9918 """set_origin(LogEmbedding5D self, Vector5D o)"""
9919 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9922 def get_origin(self):
9923 """get_origin(LogEmbedding5D self) -> Vector5D"""
9924 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9927 def get_dimension(self):
9928 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9929 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9932 def set_unit_cell(self, *args):
9934 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9935 set_unit_cell(LogEmbedding5D self, Vector5D o)
9937 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9940 def get_unit_cell(self):
9941 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9942 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9945 def get_extended_index(self, o):
9946 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9947 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
9951 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
9952 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
9955 def get_center(self, *args):
9957 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9958 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
9960 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
9963 def get_bounding_box(self, *args):
9965 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9966 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9968 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
9971 def show(self, *args):
9973 show(LogEmbedding5D self, _ostream out)
9974 show(LogEmbedding5D self)
9976 return _IMP_algebra.LogEmbedding5D_show(self, *args)
9980 """__str__(LogEmbedding5D self) -> std::string"""
9981 return _IMP_algebra.LogEmbedding5D___str__(self)
9985 """__repr__(LogEmbedding5D self) -> std::string"""
9986 return _IMP_algebra.LogEmbedding5D___repr__(self)
9989 def __cmp__(self, arg2):
9990 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
9991 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
9994 def __eq__(self, arg2):
9995 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
9996 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
9998 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
9999 __del__ =
lambda self:
None
10000 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10001 LogEmbedding5D_swigregister(LogEmbedding5D)
10003 class LogEmbedding6D(object):
10004 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10006 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10008 def __init__(self, *args):
10010 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10011 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10012 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10013 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10014 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10016 this = _IMP_algebra.new_LogEmbedding6D(*args)
10018 self.this.append(this)
10022 def set_origin(self, o):
10023 """set_origin(LogEmbedding6D self, Vector6D o)"""
10024 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10027 def get_origin(self):
10028 """get_origin(LogEmbedding6D self) -> Vector6D"""
10029 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10032 def get_dimension(self):
10033 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10034 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10037 def set_unit_cell(self, *args):
10039 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10040 set_unit_cell(LogEmbedding6D self, Vector6D o)
10042 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10045 def get_unit_cell(self):
10046 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10047 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10050 def get_extended_index(self, o):
10051 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10052 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10056 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10057 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10060 def get_center(self, *args):
10062 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10063 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10065 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10068 def get_bounding_box(self, *args):
10070 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10071 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10073 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10076 def show(self, *args):
10078 show(LogEmbedding6D self, _ostream out)
10079 show(LogEmbedding6D self)
10081 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10085 """__str__(LogEmbedding6D self) -> std::string"""
10086 return _IMP_algebra.LogEmbedding6D___str__(self)
10089 def __repr__(self):
10090 """__repr__(LogEmbedding6D self) -> std::string"""
10091 return _IMP_algebra.LogEmbedding6D___repr__(self)
10094 def __cmp__(self, arg2):
10095 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10096 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10099 def __eq__(self, arg2):
10100 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10101 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10103 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10104 __del__ =
lambda self:
None
10105 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10106 LogEmbedding6D_swigregister(LogEmbedding6D)
10108 class SpherePatch3D(_GeometricPrimitive3D):
10109 """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10111 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10113 def __init__(self, *args):
10115 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10116 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10118 this = _IMP_algebra.new_SpherePatch3D(*args)
10120 self.this.append(this)
10124 def get_contains(self, p):
10125 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10126 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10129 def get_plane(self):
10130 """get_plane(SpherePatch3D self) -> Plane3D"""
10131 return _IMP_algebra.SpherePatch3D_get_plane(self)
10134 def get_sphere(self):
10135 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10136 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10139 def show(self, *args):
10141 show(SpherePatch3D self, _ostream out)
10142 show(SpherePatch3D self)
10144 return _IMP_algebra.SpherePatch3D_show(self, *args)
10147 def get_boundary_point(self):
10148 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10149 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10153 """__str__(SpherePatch3D self) -> std::string"""
10154 return _IMP_algebra.SpherePatch3D___str__(self)
10157 def __repr__(self):
10158 """__repr__(SpherePatch3D self) -> std::string"""
10159 return _IMP_algebra.SpherePatch3D___repr__(self)
10161 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10162 __del__ =
lambda self:
None
10163 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10164 SpherePatch3D_swigregister(SpherePatch3D)
10169 get_area(Plane3D g) -> double
10170 get_area(SpherePatch3D g) -> double
10172 return _IMP_algebra.get_area(*args)
10174 def get_sphere_patch_3d_geometry(g):
10175 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10176 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10177 class Cone3D(_GeometricPrimitive3D):
10178 """Proxy of C++ IMP::algebra::Cone3D class."""
10180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10182 def __init__(self, *args):
10184 __init__(IMP::algebra::Cone3D self) -> Cone3D
10185 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10187 this = _IMP_algebra.new_Cone3D(*args)
10189 self.this.append(this)
10194 """get_tip(Cone3D self) -> Vector3D"""
10195 return _IMP_algebra.Cone3D_get_tip(self)
10198 def get_direction(self):
10199 """get_direction(Cone3D self) -> Vector3D"""
10200 return _IMP_algebra.Cone3D_get_direction(self)
10203 def get_height(self):
10204 """get_height(Cone3D self) -> double"""
10205 return _IMP_algebra.Cone3D_get_height(self)
10208 def get_angle(self):
10209 """get_angle(Cone3D self) -> double"""
10210 return _IMP_algebra.Cone3D_get_angle(self)
10213 def get_radius(self):
10214 """get_radius(Cone3D self) -> double"""
10215 return _IMP_algebra.Cone3D_get_radius(self)
10218 def get_contains(self, v):
10219 """get_contains(Cone3D self, Vector3D v) -> bool"""
10220 return _IMP_algebra.Cone3D_get_contains(self, v)
10223 def get_base_plane(self):
10224 """get_base_plane(Cone3D self) -> Plane3D"""
10225 return _IMP_algebra.Cone3D_get_base_plane(self)
10228 def show(self, *args):
10230 show(Cone3D self, _ostream out)
10233 return _IMP_algebra.Cone3D_show(self, *args)
10237 """__str__(Cone3D self) -> std::string"""
10238 return _IMP_algebra.Cone3D___str__(self)
10241 def __repr__(self):
10242 """__repr__(Cone3D self) -> std::string"""
10243 return _IMP_algebra.Cone3D___repr__(self)
10245 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10246 __del__ =
lambda self:
None
10247 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10248 Cone3D_swigregister(Cone3D)
10253 get_surface_area(BoundingBox3D g) -> double
10254 get_surface_area(Sphere3D g) -> double
10255 get_surface_area(Cylinder3D g) -> double
10256 get_surface_area(Ellipsoid3D g) -> double
10257 get_surface_area(Cone3D g) -> double
10259 return _IMP_algebra.get_surface_area(*args)
10263 get_volume(BoundingBox3D g) -> double
10264 get_volume(Sphere3D g) -> double
10265 get_volume(Cylinder3D g) -> double
10266 get_volume(Ellipsoid3D g) -> double
10267 get_volume(Cone3D g) -> double
10269 return _IMP_algebra.get_volume(*args)
10271 def get_cone_3d_geometry(g):
10272 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10273 return _IMP_algebra.get_cone_3d_geometry(g)
10276 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10277 return _IMP_algebra.write_pts(vs, out)
10280 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10281 return _IMP_algebra.read_pts(input)
10284 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10285 return _IMP_algebra.write_spheres(vs, out)
10288 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10289 return _IMP_algebra.read_spheres(input)
10292 """get_random_vector_on_unit_sphere() -> Vector3D"""
10293 return _IMP_algebra.get_random_vector_on_unit_sphere()
10296 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10297 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10301 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10302 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10303 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10305 return _IMP_algebra.get_random_chain(*args)
10308 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10309 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10313 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10314 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10316 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10319 """get_is_big_endian() -> bool"""
10320 return _IMP_algebra.get_is_big_endian()
10323 """get_is_little_endian() -> bool"""
10324 return _IMP_algebra.get_is_little_endian()
10328 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10329 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10331 return _IMP_algebra.get_shortest_segment(*args)
10333 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10337 def __init__(self, vs, query_estimate=1):
10339 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10340 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10342 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10344 self.this.append(this)
10348 def get_in_ball(self, id, distance):
10349 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10350 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10353 def set_coordinates(self, id, nc):
10354 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10355 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10358 def get_version_info(self):
10359 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10360 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10364 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10365 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10368 def __repr__(self):
10369 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10370 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10375 return _object_cast_to_DynamicNearestNeighbor3D(o)
10377 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10378 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10381 """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10385 def __init__(self, name):
10386 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10387 if self.__class__ == VectorKDMetric:
10391 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10393 self.this.append(this)
10397 if self.__class__ != VectorKDMetric:
10398 _director_objects.register(self)
10404 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10405 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10409 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10410 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10414 """__str__(VectorKDMetric self) -> std::string"""
10415 return _IMP_algebra.VectorKDMetric___str__(self)
10418 def __repr__(self):
10419 """__repr__(VectorKDMetric self) -> std::string"""
10420 return _IMP_algebra.VectorKDMetric___repr__(self)
10425 return _object_cast_to_VectorKDMetric(o)
10428 def get_type_name(self):
10429 return self.__class__.__name__
10430 def do_show(self, out):
10432 def get_version_info(self):
10433 if"IMP::algebra" ==
"IMP":
10434 return VersionInfo(self.__module__,
10435 __import__(self.__module__).get_module_version())
10438 __import__(self.__module__).get_module_version())
10441 return _object_cast_to_VectorKDMetric(o)
10443 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10444 __del__ =
lambda self:
None
10445 def __disown__(self):
10447 _IMP_algebra.disown_VectorKDMetric(self)
10448 return weakref_proxy(self)
10450 def do_destroy(self):
10451 """do_destroy(VectorKDMetric self)"""
10452 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10454 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10455 VectorKDMetric_swigregister(VectorKDMetric)
10457 class EuclideanVectorKDMetric(VectorKDMetric):
10458 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10460 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10462 def __init__(self, *args):
10464 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10465 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10467 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10469 self.this.append(this)
10473 def get_version_info(self):
10474 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10475 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10479 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10480 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10483 def __repr__(self):
10484 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10485 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10490 return _object_cast_to_EuclideanVectorKDMetric(o)
10492 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10493 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10495 class MaxVectorKDMetric(VectorKDMetric):
10496 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10498 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10500 def __init__(self, *args):
10502 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10503 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10505 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10507 self.this.append(this)
10511 def get_version_info(self):
10512 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10513 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10517 """__str__(MaxVectorKDMetric self) -> std::string"""
10518 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10521 def __repr__(self):
10522 """__repr__(MaxVectorKDMetric self) -> std::string"""
10523 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10528 return _object_cast_to_MaxVectorKDMetric(o)
10530 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10531 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10533 class Gaussian3D(_GeometricPrimitive3D):
10534 """Proxy of C++ IMP::algebra::Gaussian3D class."""
10536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10538 def __init__(self, *args):
10540 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10541 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10543 this = _IMP_algebra.new_Gaussian3D(*args)
10545 self.this.append(this)
10549 def get_reference_frame(self):
10550 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10551 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10554 def get_variances(self):
10555 """get_variances(Gaussian3D self) -> Vector3D"""
10556 return _IMP_algebra.Gaussian3D_get_variances(self)
10559 def get_center(self):
10560 """get_center(Gaussian3D self) -> Vector3D"""
10561 return _IMP_algebra.Gaussian3D_get_center(self)
10564 def show(self, *args):
10566 show(Gaussian3D self, _ostream out)
10567 show(Gaussian3D self)
10569 return _IMP_algebra.Gaussian3D_show(self, *args)
10573 """__str__(Gaussian3D self) -> std::string"""
10574 return _IMP_algebra.Gaussian3D___str__(self)
10577 def __repr__(self):
10578 """__repr__(Gaussian3D self) -> std::string"""
10579 return _IMP_algebra.Gaussian3D___repr__(self)
10581 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10582 __del__ =
lambda self:
None
10583 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10584 Gaussian3D_swigregister(Gaussian3D)
10588 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
10589 return _IMP_algebra.get_covariance(g)
10592 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10593 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10596 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseFloatGrid3D"""
10597 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10599 def _pass_matrix_xf(m):
10600 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
10601 return _IMP_algebra._pass_matrix_xf(m)
10603 def _pass_matrix_xd(m):
10604 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
10605 return _IMP_algebra._pass_matrix_xd(m)
10607 def _pass_matrix_3d(m):
10608 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
10609 return _IMP_algebra._pass_matrix_3d(m)
10611 def _pass_array_xd(m):
10612 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
10613 return _IMP_algebra._pass_array_xd(m)
10615 def _pass_vector_xd(m):
10616 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
10617 return _IMP_algebra._pass_vector_xd(m)
10619 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10623 def __init__(self, vs, epsilon=0):
10625 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10626 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10628 this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10630 self.this.append(this)
10634 def set_query_log(self, fname):
10635 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10636 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10639 def get_nearest_neighbor(self, *args):
10641 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10642 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10644 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10647 def get_nearest_neighbors(self, *args):
10649 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10650 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10652 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10655 def get_in_ball(self, *args):
10657 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10658 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10660 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10663 def get_version_info(self):
10664 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10665 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10669 """__str__(NearestNeighbor1D self) -> std::string"""
10670 return _IMP_algebra.NearestNeighbor1D___str__(self)
10673 def __repr__(self):
10674 """__repr__(NearestNeighbor1D self) -> std::string"""
10675 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10680 return _object_cast_to_NearestNeighborD(o)
10682 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10683 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10686 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10690 def __init__(self, vs, epsilon=0):
10692 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10693 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10695 this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10697 self.this.append(this)
10701 def set_query_log(self, fname):
10702 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10703 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10706 def get_nearest_neighbor(self, *args):
10708 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10709 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10711 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10714 def get_nearest_neighbors(self, *args):
10716 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10717 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10719 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10722 def get_in_ball(self, *args):
10724 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10725 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10727 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10730 def get_version_info(self):
10731 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10732 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10736 """__str__(NearestNeighbor2D self) -> std::string"""
10737 return _IMP_algebra.NearestNeighbor2D___str__(self)
10740 def __repr__(self):
10741 """__repr__(NearestNeighbor2D self) -> std::string"""
10742 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10747 return _object_cast_to_NearestNeighborD(o)
10749 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10750 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10753 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10757 def __init__(self, vs, epsilon=0):
10759 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10760 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10762 this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10764 self.this.append(this)
10768 def set_query_log(self, fname):
10769 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10770 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10773 def get_nearest_neighbor(self, *args):
10775 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10776 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10778 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10781 def get_nearest_neighbors(self, *args):
10783 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10784 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10786 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10789 def get_in_ball(self, *args):
10791 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10792 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10794 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10797 def get_version_info(self):
10798 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10799 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10803 """__str__(NearestNeighbor3D self) -> std::string"""
10804 return _IMP_algebra.NearestNeighbor3D___str__(self)
10807 def __repr__(self):
10808 """__repr__(NearestNeighbor3D self) -> std::string"""
10809 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10814 return _object_cast_to_NearestNeighborD(o)
10816 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10817 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10820 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10824 def __init__(self, vs, epsilon=0):
10826 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10827 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10829 this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10831 self.this.append(this)
10835 def set_query_log(self, fname):
10836 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10837 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10840 def get_nearest_neighbor(self, *args):
10842 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10843 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10845 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10848 def get_nearest_neighbors(self, *args):
10850 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10851 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10853 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10856 def get_in_ball(self, *args):
10858 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10859 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10861 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10864 def get_version_info(self):
10865 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10866 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10870 """__str__(NearestNeighbor4D self) -> std::string"""
10871 return _IMP_algebra.NearestNeighbor4D___str__(self)
10874 def __repr__(self):
10875 """__repr__(NearestNeighbor4D self) -> std::string"""
10876 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10881 return _object_cast_to_NearestNeighborD(o)
10883 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10884 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10887 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10889 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10891 def __init__(self, vs, epsilon=0):
10893 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10894 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10896 this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10898 self.this.append(this)
10902 def set_query_log(self, fname):
10903 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10904 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10907 def get_nearest_neighbor(self, *args):
10909 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10910 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10912 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10915 def get_nearest_neighbors(self, *args):
10917 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10918 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10920 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10923 def get_in_ball(self, *args):
10925 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10926 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10928 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10931 def get_version_info(self):
10932 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10933 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10937 """__str__(NearestNeighbor5D self) -> std::string"""
10938 return _IMP_algebra.NearestNeighbor5D___str__(self)
10941 def __repr__(self):
10942 """__repr__(NearestNeighbor5D self) -> std::string"""
10943 return _IMP_algebra.NearestNeighbor5D___repr__(self)
10948 return _object_cast_to_NearestNeighborD(o)
10950 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
10951 NearestNeighbor5D_swigregister(NearestNeighbor5D)
10954 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
10956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10958 def __init__(self, vs, epsilon=0):
10960 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
10961 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
10963 this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
10965 self.this.append(this)
10969 def set_query_log(self, fname):
10970 """set_query_log(NearestNeighbor6D self, std::string fname)"""
10971 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
10974 def get_nearest_neighbor(self, *args):
10976 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
10977 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
10979 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
10982 def get_nearest_neighbors(self, *args):
10984 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
10985 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
10987 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
10990 def get_in_ball(self, *args):
10992 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
10993 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
10995 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
10998 def get_version_info(self):
10999 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11000 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11004 """__str__(NearestNeighbor6D self) -> std::string"""
11005 return _IMP_algebra.NearestNeighbor6D___str__(self)
11008 def __repr__(self):
11009 """__repr__(NearestNeighbor6D self) -> std::string"""
11010 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11015 return _object_cast_to_NearestNeighborD(o)
11017 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11018 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11021 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11023 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11025 def __init__(self, vs, epsilon=0):
11027 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11028 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11030 this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11032 self.this.append(this)
11036 def set_query_log(self, fname):
11037 """set_query_log(NearestNeighborKD self, std::string fname)"""
11038 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11041 def get_nearest_neighbor(self, *args):
11043 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11044 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11046 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11049 def get_nearest_neighbors(self, *args):
11051 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11052 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11054 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11057 def get_in_ball(self, *args):
11059 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11060 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11062 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11065 def get_version_info(self):
11066 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11067 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11071 """__str__(NearestNeighborKD self) -> std::string"""
11072 return _IMP_algebra.NearestNeighborKD___str__(self)
11075 def __repr__(self):
11076 """__repr__(NearestNeighborKD self) -> std::string"""
11077 return _IMP_algebra.NearestNeighborKD___repr__(self)
11082 return _object_cast_to_NearestNeighborD(o)
11084 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11085 NearestNeighborKD_swigregister(NearestNeighborKD)
11089 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11090 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11091 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11092 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11096 def __init__(self, *args):
11098 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11099 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11101 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11103 self.this.append(this)
11108 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11109 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11112 def get_principal_component(self, i):
11113 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11114 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11117 def get_principal_values(self):
11118 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11119 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11122 def get_principal_value(self, i):
11123 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11124 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11128 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11129 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11132 def set_centroid(self, cntr):
11133 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11134 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11137 def show(self, *args):
11139 show(PrincipalComponentAnalysis1D self, _ostream out)
11140 show(PrincipalComponentAnalysis1D self)
11142 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11145 def __cmp__(self, o):
11146 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11147 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11150 def __eq__(self, o):
11151 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11152 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11155 def __ne__(self, o):
11156 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11157 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11160 def __lt__(self, o):
11161 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11162 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11165 def __gt__(self, o):
11166 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11167 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11170 def __ge__(self, o):
11171 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11172 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11175 def __le__(self, o):
11176 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11177 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11181 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11182 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11185 def __repr__(self):
11186 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11187 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11189 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11190 __del__ =
lambda self:
None
11191 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11192 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11194 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11195 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11197 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11199 def __init__(self, *args):
11201 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11202 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11204 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11206 self.this.append(this)
11211 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11212 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11215 def get_principal_component(self, i):
11216 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11217 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11220 def get_principal_values(self):
11221 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11222 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11225 def get_principal_value(self, i):
11226 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11227 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11231 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11232 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11235 def set_centroid(self, cntr):
11236 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11237 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11240 def show(self, *args):
11242 show(PrincipalComponentAnalysis2D self, _ostream out)
11243 show(PrincipalComponentAnalysis2D self)
11245 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11248 def __cmp__(self, o):
11249 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11250 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11253 def __eq__(self, o):
11254 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11255 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11258 def __ne__(self, o):
11259 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11260 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11263 def __lt__(self, o):
11264 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11265 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11268 def __gt__(self, o):
11269 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11270 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11273 def __ge__(self, o):
11274 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11275 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11278 def __le__(self, o):
11279 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11280 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11284 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11285 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11288 def __repr__(self):
11289 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11290 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11292 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11293 __del__ =
lambda self:
None
11294 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11295 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11297 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11298 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11302 def __init__(self, *args):
11304 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11305 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11307 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11309 self.this.append(this)
11314 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11315 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11318 def get_principal_component(self, i):
11319 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11320 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11323 def get_principal_values(self):
11324 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11325 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11328 def get_principal_value(self, i):
11329 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11330 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11334 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11335 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11338 def set_centroid(self, cntr):
11339 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11340 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11343 def show(self, *args):
11345 show(PrincipalComponentAnalysis3D self, _ostream out)
11346 show(PrincipalComponentAnalysis3D self)
11348 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11351 def __cmp__(self, o):
11352 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11353 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11356 def __eq__(self, o):
11357 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11358 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11361 def __ne__(self, o):
11362 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11363 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11366 def __lt__(self, o):
11367 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11368 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11371 def __gt__(self, o):
11372 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11373 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11376 def __ge__(self, o):
11377 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11378 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11381 def __le__(self, o):
11382 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11383 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11387 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11388 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11391 def __repr__(self):
11392 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11393 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11395 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11396 __del__ =
lambda self:
None
11397 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11398 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11400 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11401 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11403 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11405 def __init__(self, *args):
11407 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11408 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11410 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11412 self.this.append(this)
11417 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11418 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11421 def get_principal_component(self, i):
11422 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11423 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11426 def get_principal_values(self):
11427 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11428 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11431 def get_principal_value(self, i):
11432 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11433 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11437 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11438 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11441 def set_centroid(self, cntr):
11442 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11443 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11446 def show(self, *args):
11448 show(PrincipalComponentAnalysis4D self, _ostream out)
11449 show(PrincipalComponentAnalysis4D self)
11451 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11454 def __cmp__(self, o):
11455 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11456 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11459 def __eq__(self, o):
11460 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11461 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11464 def __ne__(self, o):
11465 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11466 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11469 def __lt__(self, o):
11470 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11471 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11474 def __gt__(self, o):
11475 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11476 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11479 def __ge__(self, o):
11480 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11481 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11484 def __le__(self, o):
11485 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11486 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11490 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11491 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11494 def __repr__(self):
11495 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11496 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11498 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11499 __del__ =
lambda self:
None
11500 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11501 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11503 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11504 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11508 def __init__(self, *args):
11510 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11511 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11513 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11515 self.this.append(this)
11520 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11521 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11524 def get_principal_component(self, i):
11525 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11526 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11529 def get_principal_values(self):
11530 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11531 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11534 def get_principal_value(self, i):
11535 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11536 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11540 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11541 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11544 def set_centroid(self, cntr):
11545 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11546 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11549 def show(self, *args):
11551 show(PrincipalComponentAnalysis5D self, _ostream out)
11552 show(PrincipalComponentAnalysis5D self)
11554 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11557 def __cmp__(self, o):
11558 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11559 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11562 def __eq__(self, o):
11563 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11564 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11567 def __ne__(self, o):
11568 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11569 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11572 def __lt__(self, o):
11573 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11574 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11577 def __gt__(self, o):
11578 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11579 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11582 def __ge__(self, o):
11583 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11584 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11587 def __le__(self, o):
11588 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11589 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11593 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11594 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11597 def __repr__(self):
11598 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11599 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11601 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11602 __del__ =
lambda self:
None
11603 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11604 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11606 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11607 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11611 def __init__(self, *args):
11613 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11614 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11616 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11618 self.this.append(this)
11623 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11624 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11627 def get_principal_component(self, i):
11628 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11629 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11632 def get_principal_values(self):
11633 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11634 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11637 def get_principal_value(self, i):
11638 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11639 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11643 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11644 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11647 def set_centroid(self, cntr):
11648 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11649 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11652 def show(self, *args):
11654 show(PrincipalComponentAnalysis6D self, _ostream out)
11655 show(PrincipalComponentAnalysis6D self)
11657 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11660 def __cmp__(self, o):
11661 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11662 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11665 def __eq__(self, o):
11666 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11667 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11670 def __ne__(self, o):
11671 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11672 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11675 def __lt__(self, o):
11676 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11677 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11680 def __gt__(self, o):
11681 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11682 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11685 def __ge__(self, o):
11686 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11687 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11690 def __le__(self, o):
11691 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11692 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11696 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11697 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11700 def __repr__(self):
11701 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11702 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11704 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11705 __del__ =
lambda self:
None
11706 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11707 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11709 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11710 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11712 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11714 def __init__(self, *args):
11716 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11717 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11719 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11721 self.this.append(this)
11726 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11727 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11730 def get_principal_component(self, i):
11731 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11732 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11735 def get_principal_values(self):
11736 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11737 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11740 def get_principal_value(self, i):
11741 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11742 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11746 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11747 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11750 def set_centroid(self, cntr):
11751 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11752 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11755 def show(self, *args):
11757 show(PrincipalComponentAnalysisKD self, _ostream out)
11758 show(PrincipalComponentAnalysisKD self)
11760 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11763 def __cmp__(self, o):
11764 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11765 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11768 def __eq__(self, o):
11769 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11770 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11773 def __ne__(self, o):
11774 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11775 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11778 def __lt__(self, o):
11779 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11780 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11783 def __gt__(self, o):
11784 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11785 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11788 def __ge__(self, o):
11789 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11790 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11793 def __le__(self, o):
11794 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11795 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11799 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11800 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11803 def __repr__(self):
11804 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11805 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11807 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11808 __del__ =
lambda self:
None
11809 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11810 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11815 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11816 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11817 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11818 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11819 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11820 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11821 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11823 return _IMP_algebra.get_principal_components(*args)
11827 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11828 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11829 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11830 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11831 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11832 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11833 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11835 return _IMP_algebra.get_vertices(*args)
11839 get_distance(Rotation3D r0, Rotation3D r1) -> double
11840 get_distance(Segment3D s, Vector3D p) -> double
11841 get_distance(Segment3D a, Segment3D b) -> double
11842 get_distance(Plane3D pln, Vector3D p) -> double
11843 get_distance(Vector1D a, Vector1D b) -> double
11844 get_distance(Vector2D a, Vector2D b) -> double
11845 get_distance(Vector3D a, Vector3D b) -> double
11846 get_distance(Vector4D a, Vector4D b) -> double
11847 get_distance(Vector5D a, Vector5D b) -> double
11848 get_distance(Vector6D a, Vector6D b) -> double
11849 get_distance(VectorKD a, VectorKD b) -> double
11850 get_distance(Sphere1D a, Sphere1D b) -> double
11851 get_distance(Sphere2D a, Sphere2D b) -> double
11852 get_distance(Sphere3D a, Sphere3D b) -> double
11853 get_distance(Sphere4D a, Sphere4D b) -> double
11854 get_distance(Sphere5D a, Sphere5D b) -> double
11855 get_distance(Sphere6D a, Sphere6D b) -> double
11856 get_distance(SphereKD a, SphereKD b) -> double
11858 return _IMP_algebra.get_distance(*args)
11862 get_squared_distance(Vector1D a, Vector1D b) -> double
11863 get_squared_distance(Vector2D a, Vector2D b) -> double
11864 get_squared_distance(Vector3D a, Vector3D b) -> double
11865 get_squared_distance(Vector4D a, Vector4D b) -> double
11866 get_squared_distance(Vector5D a, Vector5D b) -> double
11867 get_squared_distance(Vector6D a, Vector6D b) -> double
11868 get_squared_distance(VectorKD a, VectorKD b) -> double
11870 return _IMP_algebra.get_squared_distance(*args)
11872 def get_basis_vector_1d(coordinate):
11873 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11874 return _IMP_algebra.get_basis_vector_1d(coordinate)
11876 def get_basis_vector_2d(coordinate):
11877 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11878 return _IMP_algebra.get_basis_vector_2d(coordinate)
11880 def get_basis_vector_3d(coordinate):
11881 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11882 return _IMP_algebra.get_basis_vector_3d(coordinate)
11884 def get_basis_vector_4d(coordinate):
11885 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11886 return _IMP_algebra.get_basis_vector_4d(coordinate)
11888 def get_basis_vector_5d(coordinate):
11889 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11890 return _IMP_algebra.get_basis_vector_5d(coordinate)
11892 def get_basis_vector_6d(coordinate):
11893 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11894 return _IMP_algebra.get_basis_vector_6d(coordinate)
11896 def get_zero_vector_1d():
11897 """get_zero_vector_1d() -> Vector1D"""
11898 return _IMP_algebra.get_zero_vector_1d()
11900 def get_zero_vector_2d():
11901 """get_zero_vector_2d() -> Vector2D"""
11902 return _IMP_algebra.get_zero_vector_2d()
11904 def get_zero_vector_3d():
11905 """get_zero_vector_3d() -> Vector3D"""
11906 return _IMP_algebra.get_zero_vector_3d()
11908 def get_zero_vector_4d():
11909 """get_zero_vector_4d() -> Vector4D"""
11910 return _IMP_algebra.get_zero_vector_4d()
11912 def get_zero_vector_5d():
11913 """get_zero_vector_5d() -> Vector5D"""
11914 return _IMP_algebra.get_zero_vector_5d()
11916 def get_zero_vector_6d():
11917 """get_zero_vector_6d() -> Vector6D"""
11918 return _IMP_algebra.get_zero_vector_6d()
11920 def get_ones_vector_1d(v=1):
11922 get_ones_vector_1d(double v=1) -> Vector1D
11923 get_ones_vector_1d() -> Vector1D
11925 return _IMP_algebra.get_ones_vector_1d(v)
11927 def get_ones_vector_2d(v=1):
11929 get_ones_vector_2d(double v=1) -> Vector2D
11930 get_ones_vector_2d() -> Vector2D
11932 return _IMP_algebra.get_ones_vector_2d(v)
11934 def get_ones_vector_3d(v=1):
11936 get_ones_vector_3d(double v=1) -> Vector3D
11937 get_ones_vector_3d() -> Vector3D
11939 return _IMP_algebra.get_ones_vector_3d(v)
11941 def get_ones_vector_4d(v=1):
11943 get_ones_vector_4d(double v=1) -> Vector4D
11944 get_ones_vector_4d() -> Vector4D
11946 return _IMP_algebra.get_ones_vector_4d(v)
11948 def get_ones_vector_5d(v=1):
11950 get_ones_vector_5d(double v=1) -> Vector5D
11951 get_ones_vector_5d() -> Vector5D
11953 return _IMP_algebra.get_ones_vector_5d(v)
11955 def get_ones_vector_6d(v=1):
11957 get_ones_vector_6d(double v=1) -> Vector6D
11958 get_ones_vector_6d() -> Vector6D
11960 return _IMP_algebra.get_ones_vector_6d(v)
11962 def get_unit_bounding_box_1d():
11963 """get_unit_bounding_box_1d() -> BoundingBox1D"""
11964 return _IMP_algebra.get_unit_bounding_box_1d()
11966 def get_unit_bounding_box_2d():
11967 """get_unit_bounding_box_2d() -> BoundingBox2D"""
11968 return _IMP_algebra.get_unit_bounding_box_2d()
11970 def get_unit_bounding_box_3d():
11971 """get_unit_bounding_box_3d() -> BoundingBox3D"""
11972 return _IMP_algebra.get_unit_bounding_box_3d()
11974 def get_unit_bounding_box_4d():
11975 """get_unit_bounding_box_4d() -> BoundingBox4D"""
11976 return _IMP_algebra.get_unit_bounding_box_4d()
11978 def get_unit_bounding_box_5d():
11979 """get_unit_bounding_box_5d() -> BoundingBox5D"""
11980 return _IMP_algebra.get_unit_bounding_box_5d()
11982 def get_unit_bounding_box_6d():
11983 """get_unit_bounding_box_6d() -> BoundingBox6D"""
11984 return _IMP_algebra.get_unit_bounding_box_6d()
11986 def get_cube_1d(radius):
11987 """get_cube_1d(double radius) -> BoundingBox1D"""
11988 return _IMP_algebra.get_cube_1d(radius)
11990 def get_cube_2d(radius):
11991 """get_cube_2d(double radius) -> BoundingBox2D"""
11992 return _IMP_algebra.get_cube_2d(radius)
11994 def get_cube_3d(radius):
11995 """get_cube_3d(double radius) -> BoundingBox3D"""
11996 return _IMP_algebra.get_cube_3d(radius)
11998 def get_cube_4d(radius):
11999 """get_cube_4d(double radius) -> BoundingBox4D"""
12000 return _IMP_algebra.get_cube_4d(radius)
12002 def get_cube_5d(radius):
12003 """get_cube_5d(double radius) -> BoundingBox5D"""
12004 return _IMP_algebra.get_cube_5d(radius)
12006 def get_cube_6d(radius):
12007 """get_cube_6d(double radius) -> BoundingBox6D"""
12008 return _IMP_algebra.get_cube_6d(radius)
12010 def get_unit_sphere_1d():
12011 """get_unit_sphere_1d() -> Sphere1D"""
12012 return _IMP_algebra.get_unit_sphere_1d()
12014 def get_unit_sphere_2d():
12015 """get_unit_sphere_2d() -> Sphere2D"""
12016 return _IMP_algebra.get_unit_sphere_2d()
12018 def get_unit_sphere_3d():
12019 """get_unit_sphere_3d() -> Sphere3D"""
12020 return _IMP_algebra.get_unit_sphere_3d()
12022 def get_unit_sphere_4d():
12023 """get_unit_sphere_4d() -> Sphere4D"""
12024 return _IMP_algebra.get_unit_sphere_4d()
12026 def get_unit_sphere_5d():
12027 """get_unit_sphere_5d() -> Sphere5D"""
12028 return _IMP_algebra.get_unit_sphere_5d()
12030 def get_unit_sphere_6d():
12031 """get_unit_sphere_6d() -> Sphere6D"""
12032 return _IMP_algebra.get_unit_sphere_6d()
12036 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12037 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12038 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12039 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12040 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12041 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12042 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12043 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12044 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12045 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12046 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12047 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12048 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12049 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12051 return _IMP_algebra.get_interiors_intersect(*args)
12055 get_random_vector_on(Sphere1D a) -> Vector1D
12056 get_random_vector_on(Sphere2D a) -> Vector2D
12057 get_random_vector_on(Sphere3D a) -> Vector3D
12058 get_random_vector_on(Sphere4D a) -> Vector4D
12059 get_random_vector_on(Sphere5D a) -> Vector5D
12060 get_random_vector_on(Sphere6D a) -> Vector6D
12061 get_random_vector_on(SphereKD a) -> VectorKD
12062 get_random_vector_on(BoundingBox1D a) -> Vector1D
12063 get_random_vector_on(BoundingBox2D a) -> Vector2D
12064 get_random_vector_on(BoundingBox3D a) -> Vector3D
12065 get_random_vector_on(BoundingBox4D a) -> Vector4D
12066 get_random_vector_on(BoundingBox5D a) -> Vector5D
12067 get_random_vector_on(BoundingBox6D a) -> Vector6D
12068 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12070 return _IMP_algebra.get_random_vector_on(*args)
12074 get_random_vector_in(Cylinder3D c) -> Vector3D
12075 get_random_vector_in(Sphere1D a) -> Vector1D
12076 get_random_vector_in(Sphere2D a) -> Vector2D
12077 get_random_vector_in(Sphere3D a) -> Vector3D
12078 get_random_vector_in(Sphere4D a) -> Vector4D
12079 get_random_vector_in(Sphere5D a) -> Vector5D
12080 get_random_vector_in(Sphere6D a) -> Vector6D
12081 get_random_vector_in(SphereKD a) -> VectorKD
12082 get_random_vector_in(BoundingBox1D a) -> Vector1D
12083 get_random_vector_in(BoundingBox2D a) -> Vector2D
12084 get_random_vector_in(BoundingBox3D a) -> Vector3D
12085 get_random_vector_in(BoundingBox4D a) -> Vector4D
12086 get_random_vector_in(BoundingBox5D a) -> Vector5D
12087 get_random_vector_in(BoundingBox6D a) -> Vector6D
12088 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12090 return _IMP_algebra.get_random_vector_in(*args)
12094 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12095 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12096 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12097 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12098 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12099 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12100 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12102 return _IMP_algebra.get_intersection(*args)
12106 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12107 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12108 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12109 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12110 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12111 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12112 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12114 return _IMP_algebra.get_union(*args)
12116 def get_bounding_box(*args):
12118 get_bounding_box(Segment3D g) -> BoundingBox3D
12119 get_bounding_box(Plane3D g) -> BoundingBox3D
12120 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12121 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12122 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12123 get_bounding_box(Cone3D g) -> BoundingBox3D
12124 get_bounding_box(Sphere1D a) -> BoundingBox1D
12125 get_bounding_box(Sphere2D a) -> BoundingBox2D
12126 get_bounding_box(Sphere3D a) -> BoundingBox3D
12127 get_bounding_box(Sphere4D a) -> BoundingBox4D
12128 get_bounding_box(Sphere5D a) -> BoundingBox5D
12129 get_bounding_box(Sphere6D a) -> BoundingBox6D
12130 get_bounding_box(SphereKD a) -> BoundingBoxKD
12132 return _IMP_algebra.get_bounding_box(*args)
12136 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12137 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12138 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12139 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12140 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12141 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12142 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12143 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12144 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12145 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12146 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12148 return _IMP_algebra.get_uniform_surface_cover(*args)
12152 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12153 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12154 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12155 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12156 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12157 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12158 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12160 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12161 class _AxisAnglePair(object):
12162 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12165 __repr__ = _swig_repr
12167 def __init__(self, *args):
12169 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12170 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12171 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12173 this = _IMP_algebra.new__AxisAnglePair(*args)
12175 self.this.append(this)
12178 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12179 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12182 def __repr__(self):
12183 return str((self.first, self.second))
12184 def __getitem__(self, index):
12185 if not (index % 2):
12189 def __setitem__(self, index, val):
12190 if not (index % 2):
12194 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12195 __del__ =
lambda self:
None
12196 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12197 _AxisAnglePair_swigregister(_AxisAnglePair)
12201 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12202 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12205 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12206 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12209 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12210 return _IMP_algebra.get_rmsd(v0, v1)
12212 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12213 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12214 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12217 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12218 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12220 LinearFit=LinearFit2D
12221 ParabolicFit=ParabolicFit2D
12224 def get_module_version():
12225 """get_module_version() -> std::string const"""
12226 return _IMP_algebra.get_module_version()
12229 """get_example_path(std::string fname) -> std::string"""
12230 return _IMP_algebra.get_example_path(fname)
12233 """get_data_path(std::string fname) -> std::string"""
12234 return _IMP_algebra.get_data_path(fname)
12236 from .
import _version_check
12237 _version_check.check_version(get_module_version())
12238 __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)
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()
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.
DenseGrid3D< float > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
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.
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.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
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.
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.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
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.
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.