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"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
125 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
130 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
131 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
133 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
138 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
139 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
141 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
150 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
151 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
155 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
156 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
160 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
161 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
165 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
166 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
170 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
171 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
176 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
181 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
186 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
191 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
196 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
201 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
207 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
213 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
214 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
222 _IMP_algebra.IMP_DEBUG_swigconstant(_IMP_algebra)
223 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
225 _IMP_algebra.IMP_RELEASE_swigconstant(_IMP_algebra)
226 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
228 _IMP_algebra.IMP_SILENT_swigconstant(_IMP_algebra)
229 IMP_SILENT = _IMP_algebra.IMP_SILENT
231 _IMP_algebra.IMP_PROGRESS_swigconstant(_IMP_algebra)
232 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
234 _IMP_algebra.IMP_TERSE_swigconstant(_IMP_algebra)
235 IMP_TERSE = _IMP_algebra.IMP_TERSE
237 _IMP_algebra.IMP_VERBOSE_swigconstant(_IMP_algebra)
238 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
240 _IMP_algebra.IMP_MEMORY_swigconstant(_IMP_algebra)
241 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
243 _IMP_algebra.IMP_NONE_swigconstant(_IMP_algebra)
244 IMP_NONE = _IMP_algebra.IMP_NONE
246 _IMP_algebra.IMP_USAGE_swigconstant(_IMP_algebra)
247 IMP_USAGE = _IMP_algebra.IMP_USAGE
249 _IMP_algebra.IMP_INTERNAL_swigconstant(_IMP_algebra)
250 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
252 _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_algebra)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_algebra.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_algebra)
256 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
258 _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_algebra)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_algebra._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_algebra._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_algebra)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_algebra.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_algebra)
321 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
323 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
324 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
327 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
340 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
343 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
361 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
362 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
364 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
368 return v.get_coordinates()
373 return v.get_sphere()
377 _object_types.append(
"VectorKDMetric")
380 def _object_cast_to_VectorKDMetric(o):
381 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
382 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
383 _object_types.append(
"EuclideanVectorKDMetric")
386 def _object_cast_to_EuclideanVectorKDMetric(o):
387 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
388 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
389 _object_types.append(
"MaxVectorKDMetric")
392 def _object_cast_to_MaxVectorKDMetric(o):
393 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
394 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
395 _object_types.append(
"DynamicNearestNeighbor3D")
398 def _object_cast_to_DynamicNearestNeighbor3D(o):
399 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
400 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
402 _plural_types.append(
"Rotation2Ds")
403 _value_types.append(
"Rotation2D")
406 _plural_types.append(
"Rotation3Ds")
407 _value_types.append(
"Rotation3D")
410 _plural_types.append(
"Reflection3Ds")
411 _value_types.append(
"Reflection3D")
413 Transformation2Ds=list
414 _plural_types.append(
"Transformation2Ds")
415 _value_types.append(
"Transformation2D")
417 Transformation3Ds=list
418 _plural_types.append(
"Transformation3Ds")
419 _value_types.append(
"Transformation3D")
421 SphericalVector3Ds=list
422 _plural_types.append(
"SphericalVector3Ds")
423 _value_types.append(
"SphericalVector3D")
426 _plural_types.append(
"Triangle3Ds")
427 _value_types.append(
"Triangle3D")
430 _plural_types.append(
"Cone3Ds")
431 _value_types.append(
"Cone3D")
434 _plural_types.append(
"Cylinder3Ds")
435 _value_types.append(
"Cylinder3D")
438 _plural_types.append(
"Ellipsoid3Ds")
439 _value_types.append(
"Ellipsoid3D")
442 _plural_types.append(
"Plane3Ds")
443 _value_types.append(
"Plane3D")
446 _plural_types.append(
"Segment3Ds")
447 _value_types.append(
"Segment3D")
450 _plural_types.append(
"SpherePatch3Ds")
451 _value_types.append(
"SpherePatch3D")
453 ConnollySurfacePoints=list
454 _plural_types.append(
"ConnollySurfacePoints")
455 _value_types.append(
"ConnollySurfacePoint")
458 _plural_types.append(
"Sphere1Ds")
459 _value_types.append(
"Sphere1D")
462 _plural_types.append(
"Sphere2Ds")
463 _value_types.append(
"Sphere2D")
466 _plural_types.append(
"Sphere3Ds")
467 _value_types.append(
"Sphere3D")
470 _plural_types.append(
"Sphere4Ds")
471 _value_types.append(
"Sphere4D")
474 _plural_types.append(
"Sphere5Ds")
475 _value_types.append(
"Sphere5D")
478 _plural_types.append(
"Sphere6Ds")
479 _value_types.append(
"Sphere6D")
482 _plural_types.append(
"Sphere1Ds")
483 _value_types.append(
"SphereD<1>")
486 _plural_types.append(
"Sphere2Ds")
487 _value_types.append(
"SphereD<2>")
490 _plural_types.append(
"Sphere3Ds")
491 _value_types.append(
"SphereD<3>")
494 _plural_types.append(
"Sphere4Ds")
495 _value_types.append(
"SphereD<4>")
498 _plural_types.append(
"Sphere5Ds")
499 _value_types.append(
"SphereD<5>")
502 _plural_types.append(
"Sphere6Ds")
503 _value_types.append(
"SphereD<6>")
506 _plural_types.append(
"SphereKDs")
507 _value_types.append(
"SphereKD")
510 _plural_types.append(
"SphereKDs")
511 _value_types.append(
"SphereD<-1>")
514 _plural_types.append(
"BoundingBox1Ds")
515 _value_types.append(
"BoundingBox1D")
518 _plural_types.append(
"BoundingBox2Ds")
519 _value_types.append(
"BoundingBox2D")
522 _plural_types.append(
"BoundingBox3Ds")
523 _value_types.append(
"BoundingBox3D")
526 _plural_types.append(
"BoundingBox4Ds")
527 _value_types.append(
"BoundingBox4D")
530 _plural_types.append(
"BoundingBox5Ds")
531 _value_types.append(
"BoundingBox5D")
534 _plural_types.append(
"BoundingBox6Ds")
535 _value_types.append(
"BoundingBox6D")
538 _plural_types.append(
"BoundingBox1Ds")
539 _value_types.append(
"BoundingBoxD<1>")
542 _plural_types.append(
"BoundingBox2Ds")
543 _value_types.append(
"BoundingBoxD<2>")
546 _plural_types.append(
"BoundingBox3Ds")
547 _value_types.append(
"BoundingBoxD<3>")
550 _plural_types.append(
"BoundingBox4Ds")
551 _value_types.append(
"BoundingBoxD<4>")
554 _plural_types.append(
"BoundingBox5Ds")
555 _value_types.append(
"BoundingBoxD<5>")
558 _plural_types.append(
"BoundingBox6Ds")
559 _value_types.append(
"BoundingBoxD<6>")
562 _plural_types.append(
"BoundingBoxKDs")
563 _value_types.append(
"BoundingBoxKD")
566 _plural_types.append(
"BoundingBoxKDs")
567 _value_types.append(
"BoundingBoxD<-1>")
569 PrincipalComponentAnalysis1Ds=list
570 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
571 _value_types.append(
"PrincipalComponentAnalysis1D")
573 PrincipalComponentAnalysis2Ds=list
574 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
575 _value_types.append(
"PrincipalComponentAnalysis2D")
577 PrincipalComponentAnalysis3Ds=list
578 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
579 _value_types.append(
"PrincipalComponentAnalysis3D")
581 PrincipalComponentAnalysis4Ds=list
582 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
583 _value_types.append(
"PrincipalComponentAnalysis4D")
585 PrincipalComponentAnalysis5Ds=list
586 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
587 _value_types.append(
"PrincipalComponentAnalysis5D")
589 PrincipalComponentAnalysis6Ds=list
590 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
591 _value_types.append(
"PrincipalComponentAnalysis6D")
593 PrincipalComponentAnalysis1Ds=list
594 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
595 _value_types.append(
"PrincipalComponentAnalysisD<1>")
597 PrincipalComponentAnalysis2Ds=list
598 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
599 _value_types.append(
"PrincipalComponentAnalysisD<2>")
601 PrincipalComponentAnalysis3Ds=list
602 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
603 _value_types.append(
"PrincipalComponentAnalysisD<3>")
605 PrincipalComponentAnalysis4Ds=list
606 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
607 _value_types.append(
"PrincipalComponentAnalysisD<4>")
609 PrincipalComponentAnalysis5Ds=list
610 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
611 _value_types.append(
"PrincipalComponentAnalysisD<5>")
613 PrincipalComponentAnalysis6Ds=list
614 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
615 _value_types.append(
"PrincipalComponentAnalysisD<6>")
617 PrincipalComponentAnalysisKDs=list
618 _plural_types.append(
"PrincipalComponentAnalysisKDs")
619 _value_types.append(
"PrincipalComponentAnalysisKD")
621 PrincipalComponentAnalysisKDs=list
622 _plural_types.append(
"PrincipalComponentAnalysisKDs")
623 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
625 _object_types.append(
"NearestNeighbor1D")
628 def _object_cast_to_NearestNeighbor1D(o):
629 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
630 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
631 _object_types.append(
"NearestNeighbor2D")
634 def _object_cast_to_NearestNeighbor2D(o):
635 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
636 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
637 _object_types.append(
"NearestNeighbor3D")
640 def _object_cast_to_NearestNeighbor3D(o):
641 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
642 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
643 _object_types.append(
"NearestNeighbor4D")
646 def _object_cast_to_NearestNeighbor4D(o):
647 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
648 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
649 _object_types.append(
"NearestNeighbor5D")
652 def _object_cast_to_NearestNeighbor5D(o):
653 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
654 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
655 _object_types.append(
"NearestNeighbor6D")
658 def _object_cast_to_NearestNeighbor6D(o):
659 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
660 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
661 _object_types.append(
"NearestNeighborKD")
664 def _object_cast_to_NearestNeighborKD(o):
665 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
666 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
667 ReferenceFrame3Ds=list
668 _plural_types.append(
"ReferenceFrame3Ds")
669 _value_types.append(
"ReferenceFrame3D")
672 _plural_types.append(
"Gaussian3Ds")
673 _value_types.append(
"Gaussian3D")
675 DefaultEmbedding1Ds=list
676 _plural_types.append(
"DefaultEmbedding1Ds")
677 _value_types.append(
"DefaultEmbedding1D")
679 DefaultEmbedding2Ds=list
680 _plural_types.append(
"DefaultEmbedding2Ds")
681 _value_types.append(
"DefaultEmbedding2D")
683 DefaultEmbedding3Ds=list
684 _plural_types.append(
"DefaultEmbedding3Ds")
685 _value_types.append(
"DefaultEmbedding3D")
687 DefaultEmbedding4Ds=list
688 _plural_types.append(
"DefaultEmbedding4Ds")
689 _value_types.append(
"DefaultEmbedding4D")
691 DefaultEmbedding5Ds=list
692 _plural_types.append(
"DefaultEmbedding5Ds")
693 _value_types.append(
"DefaultEmbedding5D")
695 DefaultEmbedding6Ds=list
696 _plural_types.append(
"DefaultEmbedding6Ds")
697 _value_types.append(
"DefaultEmbedding6D")
699 DefaultEmbedding1Ds=list
700 _plural_types.append(
"DefaultEmbedding1Ds")
701 _value_types.append(
"DefaultEmbeddingD<1>")
703 DefaultEmbedding2Ds=list
704 _plural_types.append(
"DefaultEmbedding2Ds")
705 _value_types.append(
"DefaultEmbeddingD<2>")
707 DefaultEmbedding3Ds=list
708 _plural_types.append(
"DefaultEmbedding3Ds")
709 _value_types.append(
"DefaultEmbeddingD<3>")
711 DefaultEmbedding4Ds=list
712 _plural_types.append(
"DefaultEmbedding4Ds")
713 _value_types.append(
"DefaultEmbeddingD<4>")
715 DefaultEmbedding5Ds=list
716 _plural_types.append(
"DefaultEmbedding5Ds")
717 _value_types.append(
"DefaultEmbeddingD<5>")
719 DefaultEmbedding6Ds=list
720 _plural_types.append(
"DefaultEmbedding6Ds")
721 _value_types.append(
"DefaultEmbeddingD<6>")
723 DefaultEmbeddingKDs=list
724 _plural_types.append(
"DefaultEmbeddingKDs")
725 _value_types.append(
"DefaultEmbeddingKD")
727 DefaultEmbeddingKDs=list
728 _plural_types.append(
"DefaultEmbeddingKDs")
729 _value_types.append(
"DefaultEmbeddingD<-1>")
732 _plural_types.append(
"LogEmbedding1Ds")
733 _value_types.append(
"LogEmbedding1D")
736 _plural_types.append(
"LogEmbedding2Ds")
737 _value_types.append(
"LogEmbedding2D")
740 _plural_types.append(
"LogEmbedding3Ds")
741 _value_types.append(
"LogEmbedding3D")
744 _plural_types.append(
"LogEmbedding4Ds")
745 _value_types.append(
"LogEmbedding4D")
748 _plural_types.append(
"LogEmbedding5Ds")
749 _value_types.append(
"LogEmbedding5D")
752 _plural_types.append(
"LogEmbedding6Ds")
753 _value_types.append(
"LogEmbedding6D")
756 _plural_types.append(
"LogEmbedding1Ds")
757 _value_types.append(
"LogEmbeddingD<1>")
760 _plural_types.append(
"LogEmbedding2Ds")
761 _value_types.append(
"LogEmbeddingD<2>")
764 _plural_types.append(
"LogEmbedding3Ds")
765 _value_types.append(
"LogEmbeddingD<3>")
768 _plural_types.append(
"LogEmbedding4Ds")
769 _value_types.append(
"LogEmbeddingD<4>")
772 _plural_types.append(
"LogEmbedding5Ds")
773 _value_types.append(
"LogEmbeddingD<5>")
776 _plural_types.append(
"LogEmbedding6Ds")
777 _value_types.append(
"LogEmbeddingD<6>")
780 _plural_types.append(
"LogEmbeddingKDs")
781 _value_types.append(
"LogEmbeddingKD")
784 _plural_types.append(
"LogEmbeddingKDs")
785 _value_types.append(
"LogEmbeddingD<-1>")
788 _plural_types.append(
"GridIndex1Ds")
789 _value_types.append(
"GridIndex1D")
792 _plural_types.append(
"GridIndex2Ds")
793 _value_types.append(
"GridIndex2D")
796 _plural_types.append(
"GridIndex3Ds")
797 _value_types.append(
"GridIndex3D")
800 _plural_types.append(
"GridIndex4Ds")
801 _value_types.append(
"GridIndex4D")
804 _plural_types.append(
"GridIndex5Ds")
805 _value_types.append(
"GridIndex5D")
808 _plural_types.append(
"GridIndex6Ds")
809 _value_types.append(
"GridIndex6D")
812 _plural_types.append(
"GridIndex1Ds")
813 _value_types.append(
"GridIndexD<1>")
816 _plural_types.append(
"GridIndex2Ds")
817 _value_types.append(
"GridIndexD<2>")
820 _plural_types.append(
"GridIndex3Ds")
821 _value_types.append(
"GridIndexD<3>")
824 _plural_types.append(
"GridIndex4Ds")
825 _value_types.append(
"GridIndexD<4>")
828 _plural_types.append(
"GridIndex5Ds")
829 _value_types.append(
"GridIndexD<5>")
832 _plural_types.append(
"GridIndex6Ds")
833 _value_types.append(
"GridIndexD<6>")
836 _plural_types.append(
"GridIndexKDs")
837 _value_types.append(
"GridIndexKD")
840 _plural_types.append(
"GridIndexKDs")
841 _value_types.append(
"GridIndexD<-1>")
843 ExtendedGridIndex1Ds=list
844 _plural_types.append(
"ExtendedGridIndex1Ds")
845 _value_types.append(
"ExtendedGridIndex1D")
847 ExtendedGridIndex2Ds=list
848 _plural_types.append(
"ExtendedGridIndex2Ds")
849 _value_types.append(
"ExtendedGridIndex2D")
851 ExtendedGridIndex3Ds=list
852 _plural_types.append(
"ExtendedGridIndex3Ds")
853 _value_types.append(
"ExtendedGridIndex3D")
855 ExtendedGridIndex4Ds=list
856 _plural_types.append(
"ExtendedGridIndex4Ds")
857 _value_types.append(
"ExtendedGridIndex4D")
859 ExtendedGridIndex5Ds=list
860 _plural_types.append(
"ExtendedGridIndex5Ds")
861 _value_types.append(
"ExtendedGridIndex5D")
863 ExtendedGridIndex6Ds=list
864 _plural_types.append(
"ExtendedGridIndex6Ds")
865 _value_types.append(
"ExtendedGridIndex6D")
867 ExtendedGridIndex1Ds=list
868 _plural_types.append(
"ExtendedGridIndex1Ds")
869 _value_types.append(
"ExtendedGridIndexD<1>")
871 ExtendedGridIndex2Ds=list
872 _plural_types.append(
"ExtendedGridIndex2Ds")
873 _value_types.append(
"ExtendedGridIndexD<2>")
875 ExtendedGridIndex3Ds=list
876 _plural_types.append(
"ExtendedGridIndex3Ds")
877 _value_types.append(
"ExtendedGridIndexD<3>")
879 ExtendedGridIndex4Ds=list
880 _plural_types.append(
"ExtendedGridIndex4Ds")
881 _value_types.append(
"ExtendedGridIndexD<4>")
883 ExtendedGridIndex5Ds=list
884 _plural_types.append(
"ExtendedGridIndex5Ds")
885 _value_types.append(
"ExtendedGridIndexD<5>")
887 ExtendedGridIndex6Ds=list
888 _plural_types.append(
"ExtendedGridIndex6Ds")
889 _value_types.append(
"ExtendedGridIndexD<6>")
891 ExtendedGridIndexKDs=list
892 _plural_types.append(
"ExtendedGridIndexKDs")
893 _value_types.append(
"ExtendedGridIndexKD")
895 ExtendedGridIndexKDs=list
896 _plural_types.append(
"ExtendedGridIndexKDs")
897 _value_types.append(
"ExtendedGridIndexD<-1>")
899 BoundedGridRange1Ds=list
900 _plural_types.append(
"BoundedGridRange1Ds")
901 _value_types.append(
"BoundedGridRange1D")
903 BoundedGridRange2Ds=list
904 _plural_types.append(
"BoundedGridRange2Ds")
905 _value_types.append(
"BoundedGridRange2D")
907 BoundedGridRange3Ds=list
908 _plural_types.append(
"BoundedGridRange3Ds")
909 _value_types.append(
"BoundedGridRange3D")
911 BoundedGridRange4Ds=list
912 _plural_types.append(
"BoundedGridRange4Ds")
913 _value_types.append(
"BoundedGridRange4D")
915 BoundedGridRange5Ds=list
916 _plural_types.append(
"BoundedGridRange5Ds")
917 _value_types.append(
"BoundedGridRange5D")
919 BoundedGridRange6Ds=list
920 _plural_types.append(
"BoundedGridRange6Ds")
921 _value_types.append(
"BoundedGridRange6D")
923 BoundedGridRange1Ds=list
924 _plural_types.append(
"BoundedGridRange1Ds")
925 _value_types.append(
"BoundedGridRangeD<1>")
927 BoundedGridRange2Ds=list
928 _plural_types.append(
"BoundedGridRange2Ds")
929 _value_types.append(
"BoundedGridRangeD<2>")
931 BoundedGridRange3Ds=list
932 _plural_types.append(
"BoundedGridRange3Ds")
933 _value_types.append(
"BoundedGridRangeD<3>")
935 BoundedGridRange4Ds=list
936 _plural_types.append(
"BoundedGridRange4Ds")
937 _value_types.append(
"BoundedGridRangeD<4>")
939 BoundedGridRange5Ds=list
940 _plural_types.append(
"BoundedGridRange5Ds")
941 _value_types.append(
"BoundedGridRangeD<5>")
943 BoundedGridRange6Ds=list
944 _plural_types.append(
"BoundedGridRange6Ds")
945 _value_types.append(
"BoundedGridRangeD<6>")
947 BoundedGridRangeKDs=list
948 _plural_types.append(
"BoundedGridRangeKDs")
949 _value_types.append(
"BoundedGridRangeKD")
951 BoundedGridRangeKDs=list
952 _plural_types.append(
"BoundedGridRangeKDs")
953 _value_types.append(
"BoundedGridRangeD<-1>")
955 UnboundedGridRange1Ds=list
956 _plural_types.append(
"UnboundedGridRange1Ds")
957 _value_types.append(
"UnboundedGridRange1D")
959 UnboundedGridRange2Ds=list
960 _plural_types.append(
"UnboundedGridRange2Ds")
961 _value_types.append(
"UnboundedGridRange2D")
963 UnboundedGridRange3Ds=list
964 _plural_types.append(
"UnboundedGridRange3Ds")
965 _value_types.append(
"UnboundedGridRange3D")
967 UnboundedGridRange4Ds=list
968 _plural_types.append(
"UnboundedGridRange4Ds")
969 _value_types.append(
"UnboundedGridRange4D")
971 UnboundedGridRange5Ds=list
972 _plural_types.append(
"UnboundedGridRange5Ds")
973 _value_types.append(
"UnboundedGridRange5D")
975 UnboundedGridRange6Ds=list
976 _plural_types.append(
"UnboundedGridRange6Ds")
977 _value_types.append(
"UnboundedGridRange6D")
979 UnboundedGridRange1Ds=list
980 _plural_types.append(
"UnboundedGridRange1Ds")
981 _value_types.append(
"UnboundedGridRangeD<1>")
983 UnboundedGridRange2Ds=list
984 _plural_types.append(
"UnboundedGridRange2Ds")
985 _value_types.append(
"UnboundedGridRangeD<2>")
987 UnboundedGridRange3Ds=list
988 _plural_types.append(
"UnboundedGridRange3Ds")
989 _value_types.append(
"UnboundedGridRangeD<3>")
991 UnboundedGridRange4Ds=list
992 _plural_types.append(
"UnboundedGridRange4Ds")
993 _value_types.append(
"UnboundedGridRangeD<4>")
995 UnboundedGridRange5Ds=list
996 _plural_types.append(
"UnboundedGridRange5Ds")
997 _value_types.append(
"UnboundedGridRangeD<5>")
999 UnboundedGridRange6Ds=list
1000 _plural_types.append(
"UnboundedGridRange6Ds")
1001 _value_types.append(
"UnboundedGridRangeD<6>")
1003 UnboundedGridRangeKDs=list
1004 _plural_types.append(
"UnboundedGridRangeKDs")
1005 _value_types.append(
"UnboundedGridRangeKD")
1007 UnboundedGridRangeKDs=list
1008 _plural_types.append(
"UnboundedGridRangeKDs")
1009 _value_types.append(
"UnboundedGridRangeD<-1>")
1012 _plural_types.append(
"LinearFit2Ds")
1013 _value_types.append(
"LinearFit2D")
1015 ParabolicFit2Ds=list
1016 _plural_types.append(
"ParabolicFit2Ds")
1017 _value_types.append(
"ParabolicFit2D")
1020 _plural_types.append(
"FixedXYZs")
1021 _value_types.append(
"FixedXYZ")
1023 class _GeometricPrimitive1D(object):
1024 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1025 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1027 def __init__(self, *args, **kwargs):
1028 raise AttributeError(
"No constructor defined")
1029 __repr__ = _swig_repr
1030 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1031 __del__ =
lambda self:
None
1032 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1033 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1035 class _GeometricPrimitive2D(object):
1036 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1039 def __init__(self, *args, **kwargs):
1040 raise AttributeError(
"No constructor defined")
1041 __repr__ = _swig_repr
1042 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1043 __del__ =
lambda self:
None
1044 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1045 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1047 class _GeometricPrimitive3D(object):
1048 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1051 def __init__(self, *args, **kwargs):
1052 raise AttributeError(
"No constructor defined")
1053 __repr__ = _swig_repr
1054 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1055 __del__ =
lambda self:
None
1056 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1057 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1059 class _GeometricPrimitive4D(object):
1060 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1063 def __init__(self, *args, **kwargs):
1064 raise AttributeError(
"No constructor defined")
1065 __repr__ = _swig_repr
1066 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1067 __del__ =
lambda self:
None
1068 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1069 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1071 class _GeometricPrimitive5D(object):
1072 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1073 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1075 def __init__(self, *args, **kwargs):
1076 raise AttributeError(
"No constructor defined")
1077 __repr__ = _swig_repr
1078 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1079 __del__ =
lambda self:
None
1080 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1081 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1083 class _GeometricPrimitive6D(object):
1084 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1087 def __init__(self, *args, **kwargs):
1088 raise AttributeError(
"No constructor defined")
1089 __repr__ = _swig_repr
1090 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1091 __del__ =
lambda self:
None
1092 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1093 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1095 class _GeometricPrimitiveKD(object):
1096 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1099 def __init__(self, *args, **kwargs):
1100 raise AttributeError(
"No constructor defined")
1101 __repr__ = _swig_repr
1102 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1103 __del__ =
lambda self:
None
1104 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1105 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1108 _plural_types.append(
"Vector1Ds")
1109 _value_types.append(
"Vector1D")
1112 _plural_types.append(
"Vector2Ds")
1113 _value_types.append(
"Vector2D")
1116 _plural_types.append(
"Vector3Ds")
1117 _value_types.append(
"Vector3D")
1120 _plural_types.append(
"Vector4Ds")
1121 _value_types.append(
"Vector4D")
1124 _plural_types.append(
"Vector5Ds")
1125 _value_types.append(
"Vector5D")
1128 _plural_types.append(
"Vector6Ds")
1129 _value_types.append(
"Vector6D")
1132 _plural_types.append(
"Vector1Ds")
1133 _value_types.append(
"VectorD<1>")
1136 _plural_types.append(
"Vector2Ds")
1137 _value_types.append(
"VectorD<2>")
1140 _plural_types.append(
"Vector3Ds")
1141 _value_types.append(
"VectorD<3>")
1144 _plural_types.append(
"Vector4Ds")
1145 _value_types.append(
"VectorD<4>")
1148 _plural_types.append(
"Vector5Ds")
1149 _value_types.append(
"VectorD<5>")
1152 _plural_types.append(
"Vector6Ds")
1153 _value_types.append(
"VectorD<6>")
1156 _plural_types.append(
"VectorKDs")
1157 _value_types.append(
"VectorKD")
1160 _plural_types.append(
"VectorKDs")
1161 _value_types.append(
"VectorD<-1>")
1163 class _VectorBaseKD(_GeometricPrimitiveKD):
1164 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1166 __repr__ = _swig_repr
1169 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1170 this = _IMP_algebra.new__VectorBaseKD()
1172 self.this.append(this)
1176 def get_scalar_product(self, o):
1177 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1178 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1181 def get_squared_magnitude(self):
1182 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1183 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1186 def get_magnitude(self):
1187 """get_magnitude(_VectorBaseKD self) -> double"""
1188 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1191 def __mul__(self, o):
1192 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1193 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1196 def __iadd__(self, o):
1197 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1198 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1201 def __isub__(self, o):
1202 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1203 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1206 def __idiv__(self, f):
1207 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1208 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1211 def __imul__(self, f):
1212 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1213 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1216 def show(self, *args):
1218 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1219 show(_VectorBaseKD self, _ostream out, std::string delim)
1220 show(_VectorBaseKD self, _ostream out)
1221 show(_VectorBaseKD self)
1223 return _IMP_algebra._VectorBaseKD_show(self, *args)
1226 def get_dimension(self):
1227 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1228 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1230 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1231 __del__ =
lambda self:
None
1232 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1233 _VectorBaseKD_swigregister(_VectorBaseKD)
1235 class _VectorBase1D(_GeometricPrimitive1D):
1236 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1238 __repr__ = _swig_repr
1241 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1242 this = _IMP_algebra.new__VectorBase1D()
1244 self.this.append(this)
1248 def get_scalar_product(self, o):
1249 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1250 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1253 def get_squared_magnitude(self):
1254 """get_squared_magnitude(_VectorBase1D self) -> double"""
1255 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1258 def get_magnitude(self):
1259 """get_magnitude(_VectorBase1D self) -> double"""
1260 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1263 def __mul__(self, o):
1264 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1265 return _IMP_algebra._VectorBase1D___mul__(self, o)
1268 def __iadd__(self, o):
1269 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1270 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1273 def __isub__(self, o):
1274 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1275 return _IMP_algebra._VectorBase1D___isub__(self, o)
1278 def __idiv__(self, f):
1279 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1280 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1283 def __imul__(self, f):
1284 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1285 return _IMP_algebra._VectorBase1D___imul__(self, f)
1288 def show(self, *args):
1290 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1291 show(_VectorBase1D self, _ostream out, std::string delim)
1292 show(_VectorBase1D self, _ostream out)
1293 show(_VectorBase1D self)
1295 return _IMP_algebra._VectorBase1D_show(self, *args)
1298 def get_dimension(self):
1299 """get_dimension(_VectorBase1D self) -> unsigned int"""
1300 return _IMP_algebra._VectorBase1D_get_dimension(self)
1302 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1303 __del__ =
lambda self:
None
1304 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1305 _VectorBase1D_swigregister(_VectorBase1D)
1307 class _VectorBase2D(_GeometricPrimitive2D):
1308 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1309 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1310 __repr__ = _swig_repr
1313 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1314 this = _IMP_algebra.new__VectorBase2D()
1316 self.this.append(this)
1320 def get_scalar_product(self, o):
1321 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1322 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1325 def get_squared_magnitude(self):
1326 """get_squared_magnitude(_VectorBase2D self) -> double"""
1327 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1330 def get_magnitude(self):
1331 """get_magnitude(_VectorBase2D self) -> double"""
1332 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1335 def __mul__(self, o):
1336 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1337 return _IMP_algebra._VectorBase2D___mul__(self, o)
1340 def __iadd__(self, o):
1341 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1342 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1345 def __isub__(self, o):
1346 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1347 return _IMP_algebra._VectorBase2D___isub__(self, o)
1350 def __idiv__(self, f):
1351 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1352 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1355 def __imul__(self, f):
1356 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1357 return _IMP_algebra._VectorBase2D___imul__(self, f)
1360 def show(self, *args):
1362 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1363 show(_VectorBase2D self, _ostream out, std::string delim)
1364 show(_VectorBase2D self, _ostream out)
1365 show(_VectorBase2D self)
1367 return _IMP_algebra._VectorBase2D_show(self, *args)
1370 def get_dimension(self):
1371 """get_dimension(_VectorBase2D self) -> unsigned int"""
1372 return _IMP_algebra._VectorBase2D_get_dimension(self)
1374 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1375 __del__ =
lambda self:
None
1376 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1377 _VectorBase2D_swigregister(_VectorBase2D)
1379 class _VectorBase3D(_GeometricPrimitive3D):
1380 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1382 __repr__ = _swig_repr
1385 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1386 this = _IMP_algebra.new__VectorBase3D()
1388 self.this.append(this)
1392 def get_scalar_product(self, o):
1393 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1394 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1397 def get_squared_magnitude(self):
1398 """get_squared_magnitude(_VectorBase3D self) -> double"""
1399 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1402 def get_magnitude(self):
1403 """get_magnitude(_VectorBase3D self) -> double"""
1404 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1407 def __mul__(self, o):
1408 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1409 return _IMP_algebra._VectorBase3D___mul__(self, o)
1412 def __iadd__(self, o):
1413 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1414 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1417 def __isub__(self, o):
1418 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1419 return _IMP_algebra._VectorBase3D___isub__(self, o)
1422 def __idiv__(self, f):
1423 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1424 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1427 def __imul__(self, f):
1428 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1429 return _IMP_algebra._VectorBase3D___imul__(self, f)
1432 def show(self, *args):
1434 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1435 show(_VectorBase3D self, _ostream out, std::string delim)
1436 show(_VectorBase3D self, _ostream out)
1437 show(_VectorBase3D self)
1439 return _IMP_algebra._VectorBase3D_show(self, *args)
1442 def get_dimension(self):
1443 """get_dimension(_VectorBase3D self) -> unsigned int"""
1444 return _IMP_algebra._VectorBase3D_get_dimension(self)
1446 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1447 __del__ =
lambda self:
None
1448 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1449 _VectorBase3D_swigregister(_VectorBase3D)
1451 class _VectorBase4D(_GeometricPrimitive4D):
1452 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1454 __repr__ = _swig_repr
1457 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1458 this = _IMP_algebra.new__VectorBase4D()
1460 self.this.append(this)
1464 def get_scalar_product(self, o):
1465 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1466 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1469 def get_squared_magnitude(self):
1470 """get_squared_magnitude(_VectorBase4D self) -> double"""
1471 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1474 def get_magnitude(self):
1475 """get_magnitude(_VectorBase4D self) -> double"""
1476 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1479 def __mul__(self, o):
1480 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1481 return _IMP_algebra._VectorBase4D___mul__(self, o)
1484 def __iadd__(self, o):
1485 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1486 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1489 def __isub__(self, o):
1490 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1491 return _IMP_algebra._VectorBase4D___isub__(self, o)
1494 def __idiv__(self, f):
1495 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1496 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1499 def __imul__(self, f):
1500 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1501 return _IMP_algebra._VectorBase4D___imul__(self, f)
1504 def show(self, *args):
1506 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1507 show(_VectorBase4D self, _ostream out, std::string delim)
1508 show(_VectorBase4D self, _ostream out)
1509 show(_VectorBase4D self)
1511 return _IMP_algebra._VectorBase4D_show(self, *args)
1514 def get_dimension(self):
1515 """get_dimension(_VectorBase4D self) -> unsigned int"""
1516 return _IMP_algebra._VectorBase4D_get_dimension(self)
1518 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1519 __del__ =
lambda self:
None
1520 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1521 _VectorBase4D_swigregister(_VectorBase4D)
1523 class _VectorBase5D(_GeometricPrimitive5D):
1524 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1525 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1526 __repr__ = _swig_repr
1529 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1530 this = _IMP_algebra.new__VectorBase5D()
1532 self.this.append(this)
1536 def get_scalar_product(self, o):
1537 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1538 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1541 def get_squared_magnitude(self):
1542 """get_squared_magnitude(_VectorBase5D self) -> double"""
1543 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1546 def get_magnitude(self):
1547 """get_magnitude(_VectorBase5D self) -> double"""
1548 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1551 def __mul__(self, o):
1552 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1553 return _IMP_algebra._VectorBase5D___mul__(self, o)
1556 def __iadd__(self, o):
1557 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1558 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1561 def __isub__(self, o):
1562 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1563 return _IMP_algebra._VectorBase5D___isub__(self, o)
1566 def __idiv__(self, f):
1567 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1568 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1571 def __imul__(self, f):
1572 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1573 return _IMP_algebra._VectorBase5D___imul__(self, f)
1576 def show(self, *args):
1578 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1579 show(_VectorBase5D self, _ostream out, std::string delim)
1580 show(_VectorBase5D self, _ostream out)
1581 show(_VectorBase5D self)
1583 return _IMP_algebra._VectorBase5D_show(self, *args)
1586 def get_dimension(self):
1587 """get_dimension(_VectorBase5D self) -> unsigned int"""
1588 return _IMP_algebra._VectorBase5D_get_dimension(self)
1590 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1591 __del__ =
lambda self:
None
1592 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1593 _VectorBase5D_swigregister(_VectorBase5D)
1595 class _VectorBase6D(_GeometricPrimitive6D):
1596 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1597 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1598 __repr__ = _swig_repr
1601 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1602 this = _IMP_algebra.new__VectorBase6D()
1604 self.this.append(this)
1608 def get_scalar_product(self, o):
1609 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1610 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1613 def get_squared_magnitude(self):
1614 """get_squared_magnitude(_VectorBase6D self) -> double"""
1615 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1618 def get_magnitude(self):
1619 """get_magnitude(_VectorBase6D self) -> double"""
1620 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1623 def __mul__(self, o):
1624 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1625 return _IMP_algebra._VectorBase6D___mul__(self, o)
1628 def __iadd__(self, o):
1629 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1630 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1633 def __isub__(self, o):
1634 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1635 return _IMP_algebra._VectorBase6D___isub__(self, o)
1638 def __idiv__(self, f):
1639 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1640 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1643 def __imul__(self, f):
1644 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1645 return _IMP_algebra._VectorBase6D___imul__(self, f)
1648 def show(self, *args):
1650 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1651 show(_VectorBase6D self, _ostream out, std::string delim)
1652 show(_VectorBase6D self, _ostream out)
1653 show(_VectorBase6D self)
1655 return _IMP_algebra._VectorBase6D_show(self, *args)
1658 def get_dimension(self):
1659 """get_dimension(_VectorBase6D self) -> unsigned int"""
1660 return _IMP_algebra._VectorBase6D_get_dimension(self)
1662 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1663 __del__ =
lambda self:
None
1664 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1665 _VectorBase6D_swigregister(_VectorBase6D)
1669 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1670 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1673 """get_zero_vector_kd(int D) -> VectorKD"""
1674 return _IMP_algebra.get_zero_vector_kd(D)
1678 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1679 get_ones_vector_kd(unsigned int D) -> VectorKD
1681 return _IMP_algebra.get_ones_vector_kd(D, v)
1684 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1685 return _IMP_algebra.get_vector_product(p1, p2)
1688 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1689 return _IMP_algebra.get_orthogonal_vector(v)
1692 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1693 return _IMP_algebra.get_centroid(ps)
1696 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1697 return _IMP_algebra.get_radius_of_gyration(ps)
1698 class Rotation3D(_GeometricPrimitive3D):
1699 """Proxy of C++ IMP::algebra::Rotation3D class"""
1700 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1702 def __init__(self, *args):
1704 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1705 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1706 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1707 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1709 this = _IMP_algebra.new_Rotation3D(*args)
1711 self.this.append(this)
1714 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1715 __del__ =
lambda self:
None
1717 def get_rotated_no_cache(self, o):
1718 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1719 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1722 def get_rotated_one_coordinate_no_cache(self, o, coord):
1723 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1724 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1727 def get_rotated(self, o):
1728 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1729 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1732 def get_rotated_one_coordinate(self, o, coord):
1733 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1734 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1737 def get_rotation_matrix_row(self, i):
1738 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1739 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1742 def show(self, *args):
1744 show(Rotation3D self, _ostream out)
1745 show(Rotation3D self)
1747 return _IMP_algebra.Rotation3D_show(self, *args)
1750 def get_inverse(self):
1751 """get_inverse(Rotation3D self) -> Rotation3D"""
1752 return _IMP_algebra.Rotation3D_get_inverse(self)
1755 def get_quaternion(self):
1756 """get_quaternion(Rotation3D self) -> Vector4D"""
1757 return _IMP_algebra.Rotation3D_get_quaternion(self)
1760 def __mul__(self, *args):
1762 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1763 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1765 return _IMP_algebra.Rotation3D___mul__(self, *args)
1768 def __div__(self, r):
1769 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1770 return _IMP_algebra.Rotation3D___div__(self, r)
1773 def get_derivative(self, o, i):
1774 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1775 return _IMP_algebra.Rotation3D_get_derivative(self, o, i)
1778 def get_is_valid(self):
1779 """get_is_valid(Rotation3D self) -> bool"""
1780 return _IMP_algebra.Rotation3D_get_is_valid(self)
1784 """__str__(Rotation3D self) -> std::string"""
1785 return _IMP_algebra.Rotation3D___str__(self)
1789 """__repr__(Rotation3D self) -> std::string"""
1790 return _IMP_algebra.Rotation3D___repr__(self)
1792 __truediv__ = __div__
1794 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1795 Rotation3D_swigregister(Rotation3D)
1799 """get_identity_rotation_3d() -> Rotation3D"""
1800 return _IMP_algebra.get_identity_rotation_3d()
1803 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1804 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1807 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1808 return _IMP_algebra.get_rotation_about_axis(axis, angle)
1811 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1812 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1816 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1817 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
1819 return _IMP_algebra.get_rotation_from_matrix(*args)
1823 get_random_rotation_3d() -> Rotation3D
1824 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1826 return _IMP_algebra.get_random_rotation_3d(*args)
1829 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1830 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1833 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1834 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1837 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1838 return _IMP_algebra.get_rotation_from_vector4d(v)
1841 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1842 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
1845 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1846 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
1849 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1850 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
1851 class FixedXYZ(_GeometricPrimitive3D):
1852 """Proxy of C++ IMP::algebra::FixedXYZ class"""
1853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1855 def __init__(self, *args):
1857 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1858 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1860 this = _IMP_algebra.new_FixedXYZ(*args)
1862 self.this.append(this)
1867 """get_x(FixedXYZ self) -> double"""
1868 return _IMP_algebra.FixedXYZ_get_x(self)
1872 """get_y(FixedXYZ self) -> double"""
1873 return _IMP_algebra.FixedXYZ_get_y(self)
1877 """get_z(FixedXYZ self) -> double"""
1878 return _IMP_algebra.FixedXYZ_get_z(self)
1881 def show(self, *args):
1883 show(FixedXYZ self, _ostream out)
1886 return _IMP_algebra.FixedXYZ_show(self, *args)
1890 """__str__(FixedXYZ self) -> std::string"""
1891 return _IMP_algebra.FixedXYZ___str__(self)
1895 """__repr__(FixedXYZ self) -> std::string"""
1896 return _IMP_algebra.FixedXYZ___repr__(self)
1898 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1899 __del__ =
lambda self:
None
1900 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1901 FixedXYZ_swigregister(FixedXYZ)
1905 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1906 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
1909 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1910 return _IMP_algebra.get_interpolated(a, b, f)
1913 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1914 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
1917 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1918 return _IMP_algebra.get_axis_and_angle(rot)
1921 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1922 return _IMP_algebra.get_unit_bounding_box_kd(d)
1925 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1926 return _IMP_algebra.get_cube_kd(d, radius)
1929 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1930 return _IMP_algebra.get_edges(arg1)
1931 class Transformation3D(_GeometricPrimitive3D):
1932 """Proxy of C++ IMP::algebra::Transformation3D class"""
1933 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1935 def __init__(self, *args):
1937 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1938 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
1939 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1940 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1942 this = _IMP_algebra.new_Transformation3D(*args)
1944 self.this.append(this)
1947 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1948 __del__ =
lambda self:
None
1950 def get_transformed(self, o):
1951 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1952 return _IMP_algebra.Transformation3D_get_transformed(self, o)
1955 def __mul__(self, *args):
1957 __mul__(Transformation3D self, Vector3D v) -> Vector3D
1958 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1960 return _IMP_algebra.Transformation3D___mul__(self, *args)
1963 def __div__(self, b):
1964 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1965 return _IMP_algebra.Transformation3D___div__(self, b)
1968 def get_rotation(self):
1969 """get_rotation(Transformation3D self) -> Rotation3D"""
1970 return _IMP_algebra.Transformation3D_get_rotation(self)
1973 def get_translation(self):
1974 """get_translation(Transformation3D self) -> Vector3D"""
1975 return _IMP_algebra.Transformation3D_get_translation(self)
1978 def show(self, *args):
1980 show(Transformation3D self, _ostream out)
1981 show(Transformation3D self)
1983 return _IMP_algebra.Transformation3D_show(self, *args)
1986 def get_inverse(self):
1987 """get_inverse(Transformation3D self) -> Transformation3D"""
1988 return _IMP_algebra.Transformation3D_get_inverse(self)
1991 def get_is_valid(self):
1992 """get_is_valid(Transformation3D self) -> bool"""
1993 return _IMP_algebra.Transformation3D_get_is_valid(self)
1997 """__str__(Transformation3D self) -> std::string"""
1998 return _IMP_algebra.Transformation3D___str__(self)
2002 """__repr__(Transformation3D self) -> std::string"""
2003 return _IMP_algebra.Transformation3D___repr__(self)
2005 __truediv__ = __div__
2007 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2008 Transformation3D_swigregister(Transformation3D)
2012 """get_identity_transformation_3d() -> Transformation3D"""
2013 return _IMP_algebra.get_identity_transformation_3d()
2016 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2017 return _IMP_algebra.get_transformation_3d(t2d)
2021 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2022 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2023 get_random_local_transformation(Vector3D origin) -> Transformation3D
2025 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2026 class Rotation2D(_GeometricPrimitive2D):
2027 """Proxy of C++ IMP::algebra::Rotation2D class"""
2028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2030 def __init__(self, *args):
2032 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2033 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2035 this = _IMP_algebra.new_Rotation2D(*args)
2037 self.this.append(this)
2041 def get_rotated(self, *args):
2043 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2044 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2046 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2049 def get_inverse(self):
2050 """get_inverse(Rotation2D self) -> Rotation2D"""
2051 return _IMP_algebra.Rotation2D_get_inverse(self)
2054 def set_angle(self, angle):
2055 """set_angle(Rotation2D self, double angle)"""
2056 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2059 def get_angle(self):
2060 """get_angle(Rotation2D self) -> double"""
2061 return _IMP_algebra.Rotation2D_get_angle(self)
2064 def show(self, *args):
2066 show(Rotation2D self, _ostream out)
2067 show(Rotation2D self)
2069 return _IMP_algebra.Rotation2D_show(self, *args)
2073 """__str__(Rotation2D self) -> std::string"""
2074 return _IMP_algebra.Rotation2D___str__(self)
2078 """__repr__(Rotation2D self) -> std::string"""
2079 return _IMP_algebra.Rotation2D___repr__(self)
2081 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2082 __del__ =
lambda self:
None
2083 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2084 Rotation2D_swigregister(Rotation2D)
2088 """get_identity_rotation_2d() -> Rotation2D"""
2089 return _IMP_algebra.get_identity_rotation_2d()
2092 """get_random_rotation_2d() -> Rotation2D"""
2093 return _IMP_algebra.get_random_rotation_2d()
2096 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2097 return _IMP_algebra.get_rotation_to_x_axis(v)
2098 class Transformation2D(_GeometricPrimitive2D):
2099 """Proxy of C++ IMP::algebra::Transformation2D class"""
2100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2102 def __init__(self, *args):
2104 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2105 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2106 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2107 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2109 this = _IMP_algebra.new_Transformation2D(*args)
2111 self.this.append(this)
2114 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2115 __del__ =
lambda self:
None
2117 def get_transformed(self, o):
2118 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2119 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2122 def __mul__(self, *args):
2124 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2125 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2127 return _IMP_algebra.Transformation2D___mul__(self, *args)
2130 def __div__(self, b):
2131 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2132 return _IMP_algebra.Transformation2D___div__(self, b)
2135 def get_rotation(self):
2136 """get_rotation(Transformation2D self) -> Rotation2D"""
2137 return _IMP_algebra.Transformation2D_get_rotation(self)
2140 def set_rotation(self, angle):
2141 """set_rotation(Transformation2D self, double angle)"""
2142 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2145 def get_translation(self):
2146 """get_translation(Transformation2D self) -> Vector2D"""
2147 return _IMP_algebra.Transformation2D_get_translation(self)
2150 def set_translation(self, v):
2151 """set_translation(Transformation2D self, Vector2D v)"""
2152 return _IMP_algebra.Transformation2D_set_translation(self, v)
2155 def show(self, *args):
2157 show(Transformation2D self, _ostream out)
2158 show(Transformation2D self)
2160 return _IMP_algebra.Transformation2D_show(self, *args)
2163 def get_inverse(self):
2164 """get_inverse(Transformation2D self) -> Transformation2D"""
2165 return _IMP_algebra.Transformation2D_get_inverse(self)
2169 """__str__(Transformation2D self) -> std::string"""
2170 return _IMP_algebra.Transformation2D___str__(self)
2174 """__repr__(Transformation2D self) -> std::string"""
2175 return _IMP_algebra.Transformation2D___repr__(self)
2177 __truediv__ = __div__
2179 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2180 Transformation2D_swigregister(Transformation2D)
2184 """get_identity_transformation_2d() -> Transformation2D"""
2185 return _IMP_algebra.get_identity_transformation_2d()
2189 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2190 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2192 return _IMP_algebra.get_rotation_about_point(*args)
2196 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2197 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2198 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2199 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2201 return _IMP_algebra.compose(*args)
2203 def get_unit_sphere_kd(d):
2204 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2205 return _IMP_algebra.get_unit_sphere_kd(d)
2209 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2210 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2212 return _IMP_algebra.get_enclosing_sphere(*args)
2215 """get_ball_radius_from_volume_3d(double volume) -> double"""
2216 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2219 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2220 return _IMP_algebra.get_surface_area_and_volume(ss)
2223 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2224 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2226 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2230 """get_unit_vector(Vector1D self) -> Vector1D"""
2231 return _IMP_algebra.Vector1D_get_unit_vector(self)
2234 def __div__(self, s):
2235 """__div__(Vector1D self, double s) -> Vector1D"""
2236 return _IMP_algebra.Vector1D___div__(self, s)
2240 """__neg__(Vector1D self) -> Vector1D"""
2241 return _IMP_algebra.Vector1D___neg__(self)
2244 def __sub__(self, o):
2245 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2246 return _IMP_algebra.Vector1D___sub__(self, o)
2249 def __add__(self, ret):
2250 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2251 return _IMP_algebra.Vector1D___add__(self, ret)
2254 def __mul__(self, *args):
2256 __mul__(Vector1D self, double s) -> Vector1D
2257 __mul__(Vector1D self, Vector1D o) -> double
2259 return _IMP_algebra.Vector1D___mul__(self, *args)
2262 def __init__(self, *args):
2264 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2265 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2266 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2268 this = _IMP_algebra.new_Vector1D(*args)
2270 self.this.append(this)
2274 def __getitem__(self, index):
2275 """__getitem__(Vector1D self, unsigned int index) -> double"""
2276 return _IMP_algebra.Vector1D___getitem__(self, index)
2279 def __setitem__(self, index, val):
2280 """__setitem__(Vector1D self, unsigned int index, double val)"""
2281 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2283 def __iadd__(self, *args):
2284 _IMP_algebra.Vector1D___iadd__(self, *args)
2288 def __imul__(self, *args):
2289 _IMP_algebra.Vector1D___imul__(self, *args)
2293 def __idiv__(self, *args):
2294 _IMP_algebra.Vector1D___idiv__(self, *args)
2298 def __isub__(self, *args):
2299 _IMP_algebra.Vector1D___isub__(self, *args)
2305 """__len__(Vector1D self) -> unsigned int"""
2306 return _IMP_algebra.Vector1D___len__(self)
2309 def __rmul__(self, f):
2310 """__rmul__(Vector1D self, double f) -> Vector1D"""
2311 return _IMP_algebra.Vector1D___rmul__(self, f)
2315 """__str__(Vector1D self) -> std::string"""
2316 return _IMP_algebra.Vector1D___str__(self)
2320 """__repr__(Vector1D self) -> std::string"""
2321 return _IMP_algebra.Vector1D___repr__(self)
2324 def __cmp__(self, arg2):
2325 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2326 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2329 def __eq__(self, arg2):
2330 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2331 return _IMP_algebra.Vector1D___eq__(self, arg2)
2333 __truediv__ = __div__
2334 __itruediv__ = __idiv__
2336 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2337 __del__ =
lambda self:
None
2338 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2339 Vector1D_swigregister(Vector1D)
2342 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2346 """get_unit_vector(Vector2D self) -> Vector2D"""
2347 return _IMP_algebra.Vector2D_get_unit_vector(self)
2350 def __div__(self, s):
2351 """__div__(Vector2D self, double s) -> Vector2D"""
2352 return _IMP_algebra.Vector2D___div__(self, s)
2356 """__neg__(Vector2D self) -> Vector2D"""
2357 return _IMP_algebra.Vector2D___neg__(self)
2360 def __sub__(self, o):
2361 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2362 return _IMP_algebra.Vector2D___sub__(self, o)
2365 def __add__(self, ret):
2366 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2367 return _IMP_algebra.Vector2D___add__(self, ret)
2370 def __mul__(self, *args):
2372 __mul__(Vector2D self, double s) -> Vector2D
2373 __mul__(Vector2D self, Vector2D o) -> double
2375 return _IMP_algebra.Vector2D___mul__(self, *args)
2378 def __init__(self, *args):
2380 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2381 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2382 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2384 this = _IMP_algebra.new_Vector2D(*args)
2386 self.this.append(this)
2390 def __getitem__(self, index):
2391 """__getitem__(Vector2D self, unsigned int index) -> double"""
2392 return _IMP_algebra.Vector2D___getitem__(self, index)
2395 def __setitem__(self, index, val):
2396 """__setitem__(Vector2D self, unsigned int index, double val)"""
2397 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2399 def __iadd__(self, *args):
2400 _IMP_algebra.Vector2D___iadd__(self, *args)
2404 def __imul__(self, *args):
2405 _IMP_algebra.Vector2D___imul__(self, *args)
2409 def __idiv__(self, *args):
2410 _IMP_algebra.Vector2D___idiv__(self, *args)
2414 def __isub__(self, *args):
2415 _IMP_algebra.Vector2D___isub__(self, *args)
2421 """__len__(Vector2D self) -> unsigned int"""
2422 return _IMP_algebra.Vector2D___len__(self)
2425 def __rmul__(self, f):
2426 """__rmul__(Vector2D self, double f) -> Vector2D"""
2427 return _IMP_algebra.Vector2D___rmul__(self, f)
2431 """__str__(Vector2D self) -> std::string"""
2432 return _IMP_algebra.Vector2D___str__(self)
2436 """__repr__(Vector2D self) -> std::string"""
2437 return _IMP_algebra.Vector2D___repr__(self)
2440 def __cmp__(self, arg2):
2441 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2442 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2445 def __eq__(self, arg2):
2446 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2447 return _IMP_algebra.Vector2D___eq__(self, arg2)
2449 __truediv__ = __div__
2450 __itruediv__ = __idiv__
2452 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2453 __del__ =
lambda self:
None
2454 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2455 Vector2D_swigregister(Vector2D)
2458 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
2459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2462 """get_unit_vector(Vector3D self) -> Vector3D"""
2463 return _IMP_algebra.Vector3D_get_unit_vector(self)
2466 def __div__(self, s):
2467 """__div__(Vector3D self, double s) -> Vector3D"""
2468 return _IMP_algebra.Vector3D___div__(self, s)
2472 """__neg__(Vector3D self) -> Vector3D"""
2473 return _IMP_algebra.Vector3D___neg__(self)
2476 def __sub__(self, o):
2477 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2478 return _IMP_algebra.Vector3D___sub__(self, o)
2481 def __add__(self, ret):
2482 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2483 return _IMP_algebra.Vector3D___add__(self, ret)
2486 def __mul__(self, *args):
2488 __mul__(Vector3D self, double s) -> Vector3D
2489 __mul__(Vector3D self, Vector3D o) -> double
2491 return _IMP_algebra.Vector3D___mul__(self, *args)
2494 def __init__(self, *args):
2496 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2497 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2498 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2500 this = _IMP_algebra.new_Vector3D(*args)
2502 self.this.append(this)
2506 def __getitem__(self, index):
2507 """__getitem__(Vector3D self, unsigned int index) -> double"""
2508 return _IMP_algebra.Vector3D___getitem__(self, index)
2511 def __setitem__(self, index, val):
2512 """__setitem__(Vector3D self, unsigned int index, double val)"""
2513 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2515 def __iadd__(self, *args):
2516 _IMP_algebra.Vector3D___iadd__(self, *args)
2520 def __imul__(self, *args):
2521 _IMP_algebra.Vector3D___imul__(self, *args)
2525 def __idiv__(self, *args):
2526 _IMP_algebra.Vector3D___idiv__(self, *args)
2530 def __isub__(self, *args):
2531 _IMP_algebra.Vector3D___isub__(self, *args)
2537 """__len__(Vector3D self) -> unsigned int"""
2538 return _IMP_algebra.Vector3D___len__(self)
2541 def __rmul__(self, f):
2542 """__rmul__(Vector3D self, double f) -> Vector3D"""
2543 return _IMP_algebra.Vector3D___rmul__(self, f)
2547 """__str__(Vector3D self) -> std::string"""
2548 return _IMP_algebra.Vector3D___str__(self)
2552 """__repr__(Vector3D self) -> std::string"""
2553 return _IMP_algebra.Vector3D___repr__(self)
2556 def __cmp__(self, arg2):
2557 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2558 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2561 def __eq__(self, arg2):
2562 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2563 return _IMP_algebra.Vector3D___eq__(self, arg2)
2565 __truediv__ = __div__
2566 __itruediv__ = __idiv__
2568 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2569 __del__ =
lambda self:
None
2570 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2571 Vector3D_swigregister(Vector3D)
2574 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2578 """get_unit_vector(Vector4D self) -> Vector4D"""
2579 return _IMP_algebra.Vector4D_get_unit_vector(self)
2582 def __div__(self, s):
2583 """__div__(Vector4D self, double s) -> Vector4D"""
2584 return _IMP_algebra.Vector4D___div__(self, s)
2588 """__neg__(Vector4D self) -> Vector4D"""
2589 return _IMP_algebra.Vector4D___neg__(self)
2592 def __sub__(self, o):
2593 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2594 return _IMP_algebra.Vector4D___sub__(self, o)
2597 def __add__(self, ret):
2598 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2599 return _IMP_algebra.Vector4D___add__(self, ret)
2602 def __mul__(self, *args):
2604 __mul__(Vector4D self, double s) -> Vector4D
2605 __mul__(Vector4D self, Vector4D o) -> double
2607 return _IMP_algebra.Vector4D___mul__(self, *args)
2610 def __init__(self, *args):
2612 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2613 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2614 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2616 this = _IMP_algebra.new_Vector4D(*args)
2618 self.this.append(this)
2622 def __getitem__(self, index):
2623 """__getitem__(Vector4D self, unsigned int index) -> double"""
2624 return _IMP_algebra.Vector4D___getitem__(self, index)
2627 def __setitem__(self, index, val):
2628 """__setitem__(Vector4D self, unsigned int index, double val)"""
2629 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2631 def __iadd__(self, *args):
2632 _IMP_algebra.Vector4D___iadd__(self, *args)
2636 def __imul__(self, *args):
2637 _IMP_algebra.Vector4D___imul__(self, *args)
2641 def __idiv__(self, *args):
2642 _IMP_algebra.Vector4D___idiv__(self, *args)
2646 def __isub__(self, *args):
2647 _IMP_algebra.Vector4D___isub__(self, *args)
2653 """__len__(Vector4D self) -> unsigned int"""
2654 return _IMP_algebra.Vector4D___len__(self)
2657 def __rmul__(self, f):
2658 """__rmul__(Vector4D self, double f) -> Vector4D"""
2659 return _IMP_algebra.Vector4D___rmul__(self, f)
2663 """__str__(Vector4D self) -> std::string"""
2664 return _IMP_algebra.Vector4D___str__(self)
2668 """__repr__(Vector4D self) -> std::string"""
2669 return _IMP_algebra.Vector4D___repr__(self)
2672 def __cmp__(self, arg2):
2673 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2674 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2677 def __eq__(self, arg2):
2678 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2679 return _IMP_algebra.Vector4D___eq__(self, arg2)
2681 __truediv__ = __div__
2682 __itruediv__ = __idiv__
2684 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2685 __del__ =
lambda self:
None
2686 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2687 Vector4D_swigregister(Vector4D)
2690 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2694 """get_unit_vector(Vector5D self) -> Vector5D"""
2695 return _IMP_algebra.Vector5D_get_unit_vector(self)
2698 def __div__(self, s):
2699 """__div__(Vector5D self, double s) -> Vector5D"""
2700 return _IMP_algebra.Vector5D___div__(self, s)
2704 """__neg__(Vector5D self) -> Vector5D"""
2705 return _IMP_algebra.Vector5D___neg__(self)
2708 def __sub__(self, o):
2709 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2710 return _IMP_algebra.Vector5D___sub__(self, o)
2713 def __add__(self, ret):
2714 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2715 return _IMP_algebra.Vector5D___add__(self, ret)
2718 def __mul__(self, *args):
2720 __mul__(Vector5D self, double s) -> Vector5D
2721 __mul__(Vector5D self, Vector5D o) -> double
2723 return _IMP_algebra.Vector5D___mul__(self, *args)
2726 def __init__(self, *args):
2728 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2729 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2730 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2732 this = _IMP_algebra.new_Vector5D(*args)
2734 self.this.append(this)
2738 def __getitem__(self, index):
2739 """__getitem__(Vector5D self, unsigned int index) -> double"""
2740 return _IMP_algebra.Vector5D___getitem__(self, index)
2743 def __setitem__(self, index, val):
2744 """__setitem__(Vector5D self, unsigned int index, double val)"""
2745 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2747 def __iadd__(self, *args):
2748 _IMP_algebra.Vector5D___iadd__(self, *args)
2752 def __imul__(self, *args):
2753 _IMP_algebra.Vector5D___imul__(self, *args)
2757 def __idiv__(self, *args):
2758 _IMP_algebra.Vector5D___idiv__(self, *args)
2762 def __isub__(self, *args):
2763 _IMP_algebra.Vector5D___isub__(self, *args)
2769 """__len__(Vector5D self) -> unsigned int"""
2770 return _IMP_algebra.Vector5D___len__(self)
2773 def __rmul__(self, f):
2774 """__rmul__(Vector5D self, double f) -> Vector5D"""
2775 return _IMP_algebra.Vector5D___rmul__(self, f)
2779 """__str__(Vector5D self) -> std::string"""
2780 return _IMP_algebra.Vector5D___str__(self)
2784 """__repr__(Vector5D self) -> std::string"""
2785 return _IMP_algebra.Vector5D___repr__(self)
2788 def __cmp__(self, arg2):
2789 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2790 return _IMP_algebra.Vector5D___cmp__(self, arg2)
2793 def __eq__(self, arg2):
2794 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2795 return _IMP_algebra.Vector5D___eq__(self, arg2)
2797 __truediv__ = __div__
2798 __itruediv__ = __idiv__
2800 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2801 __del__ =
lambda self:
None
2802 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2803 Vector5D_swigregister(Vector5D)
2806 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2807 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2810 """get_unit_vector(Vector6D self) -> Vector6D"""
2811 return _IMP_algebra.Vector6D_get_unit_vector(self)
2814 def __div__(self, s):
2815 """__div__(Vector6D self, double s) -> Vector6D"""
2816 return _IMP_algebra.Vector6D___div__(self, s)
2820 """__neg__(Vector6D self) -> Vector6D"""
2821 return _IMP_algebra.Vector6D___neg__(self)
2824 def __sub__(self, o):
2825 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2826 return _IMP_algebra.Vector6D___sub__(self, o)
2829 def __add__(self, ret):
2830 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2831 return _IMP_algebra.Vector6D___add__(self, ret)
2834 def __mul__(self, *args):
2836 __mul__(Vector6D self, double s) -> Vector6D
2837 __mul__(Vector6D self, Vector6D o) -> double
2839 return _IMP_algebra.Vector6D___mul__(self, *args)
2842 def __init__(self, *args):
2844 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2845 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2846 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
2848 this = _IMP_algebra.new_Vector6D(*args)
2850 self.this.append(this)
2854 def __getitem__(self, index):
2855 """__getitem__(Vector6D self, unsigned int index) -> double"""
2856 return _IMP_algebra.Vector6D___getitem__(self, index)
2859 def __setitem__(self, index, val):
2860 """__setitem__(Vector6D self, unsigned int index, double val)"""
2861 return _IMP_algebra.Vector6D___setitem__(self, index, val)
2863 def __iadd__(self, *args):
2864 _IMP_algebra.Vector6D___iadd__(self, *args)
2868 def __imul__(self, *args):
2869 _IMP_algebra.Vector6D___imul__(self, *args)
2873 def __idiv__(self, *args):
2874 _IMP_algebra.Vector6D___idiv__(self, *args)
2878 def __isub__(self, *args):
2879 _IMP_algebra.Vector6D___isub__(self, *args)
2885 """__len__(Vector6D self) -> unsigned int"""
2886 return _IMP_algebra.Vector6D___len__(self)
2889 def __rmul__(self, f):
2890 """__rmul__(Vector6D self, double f) -> Vector6D"""
2891 return _IMP_algebra.Vector6D___rmul__(self, f)
2895 """__str__(Vector6D self) -> std::string"""
2896 return _IMP_algebra.Vector6D___str__(self)
2900 """__repr__(Vector6D self) -> std::string"""
2901 return _IMP_algebra.Vector6D___repr__(self)
2904 def __cmp__(self, arg2):
2905 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2906 return _IMP_algebra.Vector6D___cmp__(self, arg2)
2909 def __eq__(self, arg2):
2910 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
2911 return _IMP_algebra.Vector6D___eq__(self, arg2)
2913 __truediv__ = __div__
2914 __itruediv__ = __idiv__
2916 __swig_destroy__ = _IMP_algebra.delete_Vector6D
2917 __del__ =
lambda self:
None
2918 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2919 Vector6D_swigregister(Vector6D)
2922 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2923 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2926 """get_unit_vector(VectorKD self) -> VectorKD"""
2927 return _IMP_algebra.VectorKD_get_unit_vector(self)
2930 def __div__(self, s):
2931 """__div__(VectorKD self, double s) -> VectorKD"""
2932 return _IMP_algebra.VectorKD___div__(self, s)
2936 """__neg__(VectorKD self) -> VectorKD"""
2937 return _IMP_algebra.VectorKD___neg__(self)
2940 def __sub__(self, o):
2941 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2942 return _IMP_algebra.VectorKD___sub__(self, o)
2945 def __add__(self, ret):
2946 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
2947 return _IMP_algebra.VectorKD___add__(self, ret)
2950 def __mul__(self, *args):
2952 __mul__(VectorKD self, double s) -> VectorKD
2953 __mul__(VectorKD self, VectorKD o) -> double
2955 return _IMP_algebra.VectorKD___mul__(self, *args)
2958 def __init__(self, *args):
2960 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2961 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2962 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
2963 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
2964 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
2965 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
2966 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
2967 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
2969 this = _IMP_algebra.new_VectorKD(*args)
2971 self.this.append(this)
2975 def __getitem__(self, index):
2976 """__getitem__(VectorKD self, unsigned int index) -> double"""
2977 return _IMP_algebra.VectorKD___getitem__(self, index)
2980 def __setitem__(self, index, val):
2981 """__setitem__(VectorKD self, unsigned int index, double val)"""
2982 return _IMP_algebra.VectorKD___setitem__(self, index, val)
2984 def __iadd__(self, *args):
2985 _IMP_algebra.VectorKD___iadd__(self, *args)
2989 def __imul__(self, *args):
2990 _IMP_algebra.VectorKD___imul__(self, *args)
2994 def __idiv__(self, *args):
2995 _IMP_algebra.VectorKD___idiv__(self, *args)
2999 def __isub__(self, *args):
3000 _IMP_algebra.VectorKD___isub__(self, *args)
3006 """__len__(VectorKD self) -> unsigned int"""
3007 return _IMP_algebra.VectorKD___len__(self)
3010 def __rmul__(self, f):
3011 """__rmul__(VectorKD self, double f) -> VectorKD"""
3012 return _IMP_algebra.VectorKD___rmul__(self, f)
3016 """__str__(VectorKD self) -> std::string"""
3017 return _IMP_algebra.VectorKD___str__(self)
3021 """__repr__(VectorKD self) -> std::string"""
3022 return _IMP_algebra.VectorKD___repr__(self)
3025 def __cmp__(self, arg2):
3026 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3027 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3030 def __eq__(self, arg2):
3031 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3032 return _IMP_algebra.VectorKD___eq__(self, arg2)
3034 __truediv__ = __div__
3035 __itruediv__ = __idiv__
3037 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3038 __del__ =
lambda self:
None
3039 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3040 VectorKD_swigregister(VectorKD)
3043 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3046 def get_dimension(self):
3047 """get_dimension(BoundingBox1D self) -> unsigned int"""
3048 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3051 def get_corner(self, i):
3052 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3053 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3056 def get_contains(self, *args):
3058 get_contains(BoundingBox1D self, Vector1D o) -> bool
3059 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3061 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3064 def show(self, *args):
3066 show(BoundingBox1D self, _ostream out)
3067 show(BoundingBox1D self)
3069 return _IMP_algebra.BoundingBox1D_show(self, *args)
3073 """__str__(BoundingBox1D self) -> std::string"""
3074 return _IMP_algebra.BoundingBox1D___str__(self)
3078 """__repr__(BoundingBox1D self) -> std::string"""
3079 return _IMP_algebra.BoundingBox1D___repr__(self)
3082 def __cmp__(self, arg2):
3083 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3084 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3087 def __eq__(self, arg2):
3088 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3089 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3092 def __init__(self, *args):
3094 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3095 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3096 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3097 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3098 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3100 this = _IMP_algebra.new_BoundingBox1D(*args)
3102 self.this.append(this)
3106 def __getitem__(self, index):
3107 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3108 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3110 def __iadd__(self, *args):
3111 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3117 """__len__(BoundingBox1D self) -> unsigned int"""
3118 return _IMP_algebra.BoundingBox1D___len__(self)
3121 def __add__(self, *args):
3123 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3124 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3125 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3127 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3129 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3130 __del__ =
lambda self:
None
3131 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3132 BoundingBox1D_swigregister(BoundingBox1D)
3135 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
3136 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3138 def get_dimension(self):
3139 """get_dimension(BoundingBox2D self) -> unsigned int"""
3140 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3143 def get_corner(self, i):
3144 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3145 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3148 def get_contains(self, *args):
3150 get_contains(BoundingBox2D self, Vector2D o) -> bool
3151 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3153 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3156 def show(self, *args):
3158 show(BoundingBox2D self, _ostream out)
3159 show(BoundingBox2D self)
3161 return _IMP_algebra.BoundingBox2D_show(self, *args)
3165 """__str__(BoundingBox2D self) -> std::string"""
3166 return _IMP_algebra.BoundingBox2D___str__(self)
3170 """__repr__(BoundingBox2D self) -> std::string"""
3171 return _IMP_algebra.BoundingBox2D___repr__(self)
3174 def __cmp__(self, arg2):
3175 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3176 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3179 def __eq__(self, arg2):
3180 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3181 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3184 def __init__(self, *args):
3186 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3187 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3188 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3189 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3190 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3192 this = _IMP_algebra.new_BoundingBox2D(*args)
3194 self.this.append(this)
3198 def __getitem__(self, index):
3199 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3200 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3202 def __iadd__(self, *args):
3203 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3209 """__len__(BoundingBox2D self) -> unsigned int"""
3210 return _IMP_algebra.BoundingBox2D___len__(self)
3213 def __add__(self, *args):
3215 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3216 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3217 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3219 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3221 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3222 __del__ =
lambda self:
None
3223 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3224 BoundingBox2D_swigregister(BoundingBox2D)
3227 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
3228 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3230 def get_dimension(self):
3231 """get_dimension(BoundingBox3D self) -> unsigned int"""
3232 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3235 def get_corner(self, i):
3236 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3237 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3240 def get_contains(self, *args):
3242 get_contains(BoundingBox3D self, Vector3D o) -> bool
3243 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3245 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3248 def show(self, *args):
3250 show(BoundingBox3D self, _ostream out)
3251 show(BoundingBox3D self)
3253 return _IMP_algebra.BoundingBox3D_show(self, *args)
3257 """__str__(BoundingBox3D self) -> std::string"""
3258 return _IMP_algebra.BoundingBox3D___str__(self)
3262 """__repr__(BoundingBox3D self) -> std::string"""
3263 return _IMP_algebra.BoundingBox3D___repr__(self)
3266 def __cmp__(self, arg2):
3267 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3268 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3271 def __eq__(self, arg2):
3272 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3273 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3276 def __init__(self, *args):
3278 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3279 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3280 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3281 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3282 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3284 this = _IMP_algebra.new_BoundingBox3D(*args)
3286 self.this.append(this)
3290 def __getitem__(self, index):
3291 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3292 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3294 def __iadd__(self, *args):
3295 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3301 """__len__(BoundingBox3D self) -> unsigned int"""
3302 return _IMP_algebra.BoundingBox3D___len__(self)
3305 def __add__(self, *args):
3307 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3308 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3309 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3311 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3313 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3314 __del__ =
lambda self:
None
3315 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3316 BoundingBox3D_swigregister(BoundingBox3D)
3319 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3322 def get_dimension(self):
3323 """get_dimension(BoundingBox4D self) -> unsigned int"""
3324 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3327 def get_corner(self, i):
3328 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3329 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3332 def get_contains(self, *args):
3334 get_contains(BoundingBox4D self, Vector4D o) -> bool
3335 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3337 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3340 def show(self, *args):
3342 show(BoundingBox4D self, _ostream out)
3343 show(BoundingBox4D self)
3345 return _IMP_algebra.BoundingBox4D_show(self, *args)
3349 """__str__(BoundingBox4D self) -> std::string"""
3350 return _IMP_algebra.BoundingBox4D___str__(self)
3354 """__repr__(BoundingBox4D self) -> std::string"""
3355 return _IMP_algebra.BoundingBox4D___repr__(self)
3358 def __cmp__(self, arg2):
3359 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3360 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3363 def __eq__(self, arg2):
3364 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3365 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3368 def __init__(self, *args):
3370 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3371 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3372 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3373 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3374 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3376 this = _IMP_algebra.new_BoundingBox4D(*args)
3378 self.this.append(this)
3382 def __getitem__(self, index):
3383 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3384 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3386 def __iadd__(self, *args):
3387 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3393 """__len__(BoundingBox4D self) -> unsigned int"""
3394 return _IMP_algebra.BoundingBox4D___len__(self)
3397 def __add__(self, *args):
3399 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3400 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3401 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3403 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3405 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3406 __del__ =
lambda self:
None
3407 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3408 BoundingBox4D_swigregister(BoundingBox4D)
3411 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3414 def get_dimension(self):
3415 """get_dimension(BoundingBox5D self) -> unsigned int"""
3416 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3419 def get_corner(self, i):
3420 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3421 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3424 def get_contains(self, *args):
3426 get_contains(BoundingBox5D self, Vector5D o) -> bool
3427 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3429 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3432 def show(self, *args):
3434 show(BoundingBox5D self, _ostream out)
3435 show(BoundingBox5D self)
3437 return _IMP_algebra.BoundingBox5D_show(self, *args)
3441 """__str__(BoundingBox5D self) -> std::string"""
3442 return _IMP_algebra.BoundingBox5D___str__(self)
3446 """__repr__(BoundingBox5D self) -> std::string"""
3447 return _IMP_algebra.BoundingBox5D___repr__(self)
3450 def __cmp__(self, arg2):
3451 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3452 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3455 def __eq__(self, arg2):
3456 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3457 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3460 def __init__(self, *args):
3462 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3463 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3464 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3465 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3466 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3468 this = _IMP_algebra.new_BoundingBox5D(*args)
3470 self.this.append(this)
3474 def __getitem__(self, index):
3475 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3476 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3478 def __iadd__(self, *args):
3479 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3485 """__len__(BoundingBox5D self) -> unsigned int"""
3486 return _IMP_algebra.BoundingBox5D___len__(self)
3489 def __add__(self, *args):
3491 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3492 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3493 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3495 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3497 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3498 __del__ =
lambda self:
None
3499 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3500 BoundingBox5D_swigregister(BoundingBox5D)
3503 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3504 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3506 def get_dimension(self):
3507 """get_dimension(BoundingBox6D self) -> unsigned int"""
3508 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3511 def get_corner(self, i):
3512 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3513 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3516 def get_contains(self, *args):
3518 get_contains(BoundingBox6D self, Vector6D o) -> bool
3519 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3521 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3524 def show(self, *args):
3526 show(BoundingBox6D self, _ostream out)
3527 show(BoundingBox6D self)
3529 return _IMP_algebra.BoundingBox6D_show(self, *args)
3533 """__str__(BoundingBox6D self) -> std::string"""
3534 return _IMP_algebra.BoundingBox6D___str__(self)
3538 """__repr__(BoundingBox6D self) -> std::string"""
3539 return _IMP_algebra.BoundingBox6D___repr__(self)
3542 def __cmp__(self, arg2):
3543 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3544 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3547 def __eq__(self, arg2):
3548 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3549 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3552 def __init__(self, *args):
3554 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3555 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3556 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3557 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3558 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3560 this = _IMP_algebra.new_BoundingBox6D(*args)
3562 self.this.append(this)
3566 def __getitem__(self, index):
3567 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3568 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3570 def __iadd__(self, *args):
3571 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3577 """__len__(BoundingBox6D self) -> unsigned int"""
3578 return _IMP_algebra.BoundingBox6D___len__(self)
3581 def __add__(self, *args):
3583 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3584 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3585 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3587 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3589 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3590 __del__ =
lambda self:
None
3591 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3592 BoundingBox6D_swigregister(BoundingBox6D)
3595 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3598 def get_dimension(self):
3599 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3600 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3603 def get_corner(self, i):
3604 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3605 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3608 def get_contains(self, *args):
3610 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3611 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3613 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3616 def show(self, *args):
3618 show(BoundingBoxKD self, _ostream out)
3619 show(BoundingBoxKD self)
3621 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3625 """__str__(BoundingBoxKD self) -> std::string"""
3626 return _IMP_algebra.BoundingBoxKD___str__(self)
3630 """__repr__(BoundingBoxKD self) -> std::string"""
3631 return _IMP_algebra.BoundingBoxKD___repr__(self)
3634 def __cmp__(self, arg2):
3635 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3636 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3639 def __eq__(self, arg2):
3640 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3641 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3644 def __init__(self, *args):
3646 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3647 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3648 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3649 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3650 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3652 this = _IMP_algebra.new_BoundingBoxKD(*args)
3654 self.this.append(this)
3658 def __getitem__(self, index):
3659 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3660 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3662 def __iadd__(self, *args):
3663 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3669 """__len__(BoundingBoxKD self) -> unsigned int"""
3670 return _IMP_algebra.BoundingBoxKD___len__(self)
3673 def __add__(self, *args):
3675 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3676 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3677 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3679 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3681 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3682 __del__ =
lambda self:
None
3683 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3684 BoundingBoxKD_swigregister(BoundingBoxKD)
3686 class Sphere1D(_GeometricPrimitive1D):
3687 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3690 def __init__(self, *args):
3692 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3693 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3695 this = _IMP_algebra.new_Sphere1D(*args)
3697 self.this.append(this)
3701 def get_radius(self):
3702 """get_radius(Sphere1D self) -> double"""
3703 return _IMP_algebra.Sphere1D_get_radius(self)
3706 def get_center(self):
3707 """get_center(Sphere1D self) -> Vector1D"""
3708 return _IMP_algebra.Sphere1D_get_center(self)
3711 def get_contains(self, *args):
3713 get_contains(Sphere1D self, Sphere1D o) -> bool
3714 get_contains(Sphere1D self, Vector1D p) -> bool
3716 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3719 def show(self, *args):
3721 show(Sphere1D self, _ostream out)
3724 return _IMP_algebra.Sphere1D_show(self, *args)
3727 def get_dimension(self):
3728 """get_dimension(Sphere1D self) -> unsigned int"""
3729 return _IMP_algebra.Sphere1D_get_dimension(self)
3733 """__str__(Sphere1D self) -> std::string"""
3734 return _IMP_algebra.Sphere1D___str__(self)
3738 """__repr__(Sphere1D self) -> std::string"""
3739 return _IMP_algebra.Sphere1D___repr__(self)
3742 def __cmp__(self, arg2):
3743 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3744 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3747 def __eq__(self, arg2):
3748 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3749 return _IMP_algebra.Sphere1D___eq__(self, arg2)
3751 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3752 __del__ =
lambda self:
None
3753 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3754 Sphere1D_swigregister(Sphere1D)
3756 class Sphere2D(_GeometricPrimitive2D):
3757 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3758 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3760 def __init__(self, *args):
3762 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3763 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3765 this = _IMP_algebra.new_Sphere2D(*args)
3767 self.this.append(this)
3771 def get_radius(self):
3772 """get_radius(Sphere2D self) -> double"""
3773 return _IMP_algebra.Sphere2D_get_radius(self)
3776 def get_center(self):
3777 """get_center(Sphere2D self) -> Vector2D"""
3778 return _IMP_algebra.Sphere2D_get_center(self)
3781 def get_contains(self, *args):
3783 get_contains(Sphere2D self, Sphere2D o) -> bool
3784 get_contains(Sphere2D self, Vector2D p) -> bool
3786 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3789 def show(self, *args):
3791 show(Sphere2D self, _ostream out)
3794 return _IMP_algebra.Sphere2D_show(self, *args)
3797 def get_dimension(self):
3798 """get_dimension(Sphere2D self) -> unsigned int"""
3799 return _IMP_algebra.Sphere2D_get_dimension(self)
3803 """__str__(Sphere2D self) -> std::string"""
3804 return _IMP_algebra.Sphere2D___str__(self)
3808 """__repr__(Sphere2D self) -> std::string"""
3809 return _IMP_algebra.Sphere2D___repr__(self)
3812 def __cmp__(self, arg2):
3813 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3814 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
3817 def __eq__(self, arg2):
3818 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
3819 return _IMP_algebra.Sphere2D___eq__(self, arg2)
3821 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3822 __del__ =
lambda self:
None
3823 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3824 Sphere2D_swigregister(Sphere2D)
3826 class Sphere3D(_GeometricPrimitive3D):
3827 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3830 def __init__(self, *args):
3832 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3833 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3835 this = _IMP_algebra.new_Sphere3D(*args)
3837 self.this.append(this)
3841 def get_radius(self):
3842 """get_radius(Sphere3D self) -> double"""
3843 return _IMP_algebra.Sphere3D_get_radius(self)
3846 def get_center(self):
3847 """get_center(Sphere3D self) -> Vector3D"""
3848 return _IMP_algebra.Sphere3D_get_center(self)
3851 def get_contains(self, *args):
3853 get_contains(Sphere3D self, Sphere3D o) -> bool
3854 get_contains(Sphere3D self, Vector3D p) -> bool
3856 return _IMP_algebra.Sphere3D_get_contains(self, *args)
3859 def show(self, *args):
3861 show(Sphere3D self, _ostream out)
3864 return _IMP_algebra.Sphere3D_show(self, *args)
3867 def get_dimension(self):
3868 """get_dimension(Sphere3D self) -> unsigned int"""
3869 return _IMP_algebra.Sphere3D_get_dimension(self)
3873 """__str__(Sphere3D self) -> std::string"""
3874 return _IMP_algebra.Sphere3D___str__(self)
3878 """__repr__(Sphere3D self) -> std::string"""
3879 return _IMP_algebra.Sphere3D___repr__(self)
3882 def __cmp__(self, arg2):
3883 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3884 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
3887 def __eq__(self, arg2):
3888 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
3889 return _IMP_algebra.Sphere3D___eq__(self, arg2)
3891 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3892 __del__ =
lambda self:
None
3893 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3894 Sphere3D_swigregister(Sphere3D)
3896 class Sphere4D(_GeometricPrimitive4D):
3897 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3900 def __init__(self, *args):
3902 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3903 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3905 this = _IMP_algebra.new_Sphere4D(*args)
3907 self.this.append(this)
3911 def get_radius(self):
3912 """get_radius(Sphere4D self) -> double"""
3913 return _IMP_algebra.Sphere4D_get_radius(self)
3916 def get_center(self):
3917 """get_center(Sphere4D self) -> Vector4D"""
3918 return _IMP_algebra.Sphere4D_get_center(self)
3921 def get_contains(self, *args):
3923 get_contains(Sphere4D self, Sphere4D o) -> bool
3924 get_contains(Sphere4D self, Vector4D p) -> bool
3926 return _IMP_algebra.Sphere4D_get_contains(self, *args)
3929 def show(self, *args):
3931 show(Sphere4D self, _ostream out)
3934 return _IMP_algebra.Sphere4D_show(self, *args)
3937 def get_dimension(self):
3938 """get_dimension(Sphere4D self) -> unsigned int"""
3939 return _IMP_algebra.Sphere4D_get_dimension(self)
3943 """__str__(Sphere4D self) -> std::string"""
3944 return _IMP_algebra.Sphere4D___str__(self)
3948 """__repr__(Sphere4D self) -> std::string"""
3949 return _IMP_algebra.Sphere4D___repr__(self)
3952 def __cmp__(self, arg2):
3953 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3954 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
3957 def __eq__(self, arg2):
3958 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
3959 return _IMP_algebra.Sphere4D___eq__(self, arg2)
3961 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3962 __del__ =
lambda self:
None
3963 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3964 Sphere4D_swigregister(Sphere4D)
3966 class Sphere5D(_GeometricPrimitive5D):
3967 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3970 def __init__(self, *args):
3972 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3973 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3975 this = _IMP_algebra.new_Sphere5D(*args)
3977 self.this.append(this)
3981 def get_radius(self):
3982 """get_radius(Sphere5D self) -> double"""
3983 return _IMP_algebra.Sphere5D_get_radius(self)
3986 def get_center(self):
3987 """get_center(Sphere5D self) -> Vector5D"""
3988 return _IMP_algebra.Sphere5D_get_center(self)
3991 def get_contains(self, *args):
3993 get_contains(Sphere5D self, Sphere5D o) -> bool
3994 get_contains(Sphere5D self, Vector5D p) -> bool
3996 return _IMP_algebra.Sphere5D_get_contains(self, *args)
3999 def show(self, *args):
4001 show(Sphere5D self, _ostream out)
4004 return _IMP_algebra.Sphere5D_show(self, *args)
4007 def get_dimension(self):
4008 """get_dimension(Sphere5D self) -> unsigned int"""
4009 return _IMP_algebra.Sphere5D_get_dimension(self)
4013 """__str__(Sphere5D self) -> std::string"""
4014 return _IMP_algebra.Sphere5D___str__(self)
4018 """__repr__(Sphere5D self) -> std::string"""
4019 return _IMP_algebra.Sphere5D___repr__(self)
4022 def __cmp__(self, arg2):
4023 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4024 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4027 def __eq__(self, arg2):
4028 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4029 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4031 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4032 __del__ =
lambda self:
None
4033 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4034 Sphere5D_swigregister(Sphere5D)
4036 class Sphere6D(_GeometricPrimitive6D):
4037 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
4038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4040 def __init__(self, *args):
4042 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4043 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4045 this = _IMP_algebra.new_Sphere6D(*args)
4047 self.this.append(this)
4051 def get_radius(self):
4052 """get_radius(Sphere6D self) -> double"""
4053 return _IMP_algebra.Sphere6D_get_radius(self)
4056 def get_center(self):
4057 """get_center(Sphere6D self) -> Vector6D"""
4058 return _IMP_algebra.Sphere6D_get_center(self)
4061 def get_contains(self, *args):
4063 get_contains(Sphere6D self, Sphere6D o) -> bool
4064 get_contains(Sphere6D self, Vector6D p) -> bool
4066 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4069 def show(self, *args):
4071 show(Sphere6D self, _ostream out)
4074 return _IMP_algebra.Sphere6D_show(self, *args)
4077 def get_dimension(self):
4078 """get_dimension(Sphere6D self) -> unsigned int"""
4079 return _IMP_algebra.Sphere6D_get_dimension(self)
4083 """__str__(Sphere6D self) -> std::string"""
4084 return _IMP_algebra.Sphere6D___str__(self)
4088 """__repr__(Sphere6D self) -> std::string"""
4089 return _IMP_algebra.Sphere6D___repr__(self)
4092 def __cmp__(self, arg2):
4093 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4094 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4097 def __eq__(self, arg2):
4098 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4099 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4101 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4102 __del__ =
lambda self:
None
4103 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4104 Sphere6D_swigregister(Sphere6D)
4106 class SphereKD(_GeometricPrimitiveKD):
4107 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
4108 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4110 def __init__(self, *args):
4112 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4113 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4115 this = _IMP_algebra.new_SphereKD(*args)
4117 self.this.append(this)
4121 def get_radius(self):
4122 """get_radius(SphereKD self) -> double"""
4123 return _IMP_algebra.SphereKD_get_radius(self)
4126 def get_center(self):
4127 """get_center(SphereKD self) -> VectorKD"""
4128 return _IMP_algebra.SphereKD_get_center(self)
4131 def get_contains(self, *args):
4133 get_contains(SphereKD self, SphereKD o) -> bool
4134 get_contains(SphereKD self, VectorKD p) -> bool
4136 return _IMP_algebra.SphereKD_get_contains(self, *args)
4139 def show(self, *args):
4141 show(SphereKD self, _ostream out)
4144 return _IMP_algebra.SphereKD_show(self, *args)
4147 def get_dimension(self):
4148 """get_dimension(SphereKD self) -> unsigned int"""
4149 return _IMP_algebra.SphereKD_get_dimension(self)
4153 """__str__(SphereKD self) -> std::string"""
4154 return _IMP_algebra.SphereKD___str__(self)
4158 """__repr__(SphereKD self) -> std::string"""
4159 return _IMP_algebra.SphereKD___repr__(self)
4162 def __cmp__(self, arg2):
4163 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4164 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4167 def __eq__(self, arg2):
4168 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4169 return _IMP_algebra.SphereKD___eq__(self, arg2)
4171 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4172 __del__ =
lambda self:
None
4173 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4174 SphereKD_swigregister(SphereKD)
4176 class ReferenceFrame3D(object):
4177 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
4178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4180 def __init__(self, *args):
4182 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4183 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4185 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4187 self.this.append(this)
4190 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4191 __del__ =
lambda self:
None
4193 def get_transformation_to(self):
4194 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4195 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4198 def get_transformation_from(self):
4199 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4200 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4203 def get_global_coordinates(self, v):
4204 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4205 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4208 def get_local_coordinates(self, v):
4209 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4210 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4213 def get_global_reference_frame(self, v):
4214 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4215 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4218 def get_local_reference_frame(self, v):
4219 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4220 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4223 def show(self, *args):
4225 show(ReferenceFrame3D self, _ostream out)
4226 show(ReferenceFrame3D self)
4228 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4232 """__str__(ReferenceFrame3D self) -> std::string"""
4233 return _IMP_algebra.ReferenceFrame3D___str__(self)
4237 """__repr__(ReferenceFrame3D self) -> std::string"""
4238 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4240 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4241 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4244 def get_transformed(*args):
4246 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4247 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4249 return _IMP_algebra.get_transformed(*args)
4251 def get_transformation_from_first_to_second(a, b):
4252 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4253 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4254 class SphericalVector3D(_GeometricPrimitive3D):
4255 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
4256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4258 def __init__(self, *args):
4260 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4261 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4262 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4263 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4265 this = _IMP_algebra.new_SphericalVector3D(*args)
4267 self.this.append(this)
4271 def get_cartesian_coordinates(self):
4272 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4273 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4276 def show(self, *args):
4278 show(SphericalVector3D self, _ostream out)
4279 show(SphericalVector3D self)
4281 return _IMP_algebra.SphericalVector3D_show(self, *args)
4285 """__str__(SphericalVector3D self) -> std::string"""
4286 return _IMP_algebra.SphericalVector3D___str__(self)
4290 """__repr__(SphericalVector3D self) -> std::string"""
4291 return _IMP_algebra.SphericalVector3D___repr__(self)
4294 def __getitem__(self, index):
4295 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4296 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4299 def __setitem__(self, index, val):
4300 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4301 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4303 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4304 __del__ =
lambda self:
None
4305 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4306 SphericalVector3D_swigregister(SphericalVector3D)
4310 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4311 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4312 class Segment3D(_GeometricPrimitive3D):
4313 """Proxy of C++ IMP::algebra::Segment3D class"""
4314 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4316 def __init__(self, *args):
4318 __init__(IMP::algebra::Segment3D self) -> Segment3D
4319 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4321 this = _IMP_algebra.new_Segment3D(*args)
4323 self.this.append(this)
4326 def get_point(self, i):
4329 return _IMP_algebra.Segment3D_get_point(self, i)
4333 def get_middle_point(self):
4334 """get_middle_point(Segment3D self) -> Vector3D"""
4335 return _IMP_algebra.Segment3D_get_middle_point(self)
4338 def get_direction(self):
4339 """get_direction(Segment3D self) -> Vector3D"""
4340 return _IMP_algebra.Segment3D_get_direction(self)
4343 def get_length(self):
4344 """get_length(Segment3D self) -> double"""
4345 return _IMP_algebra.Segment3D_get_length(self)
4348 def show(self, *args):
4350 show(Segment3D self, _ostream out)
4351 show(Segment3D self)
4353 return _IMP_algebra.Segment3D_show(self, *args)
4357 """__str__(Segment3D self) -> std::string"""
4358 return _IMP_algebra.Segment3D___str__(self)
4362 """__repr__(Segment3D self) -> std::string"""
4363 return _IMP_algebra.Segment3D___repr__(self)
4365 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4366 __del__ =
lambda self:
None
4367 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4368 Segment3D_swigregister(Segment3D)
4371 def get_segment_3d_geometry(g):
4372 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4373 return _IMP_algebra.get_segment_3d_geometry(g)
4376 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4377 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4378 class Triangle3D(_GeometricPrimitive3D):
4379 """Proxy of C++ IMP::algebra::Triangle3D class"""
4380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4382 def __init__(self, *args):
4384 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4385 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4387 this = _IMP_algebra.new_Triangle3D(*args)
4389 self.this.append(this)
4393 def get_point(self, i):
4394 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4395 return _IMP_algebra.Triangle3D_get_point(self, i)
4398 def show(self, *args):
4400 show(Triangle3D self, _ostream out)
4401 show(Triangle3D self)
4403 return _IMP_algebra.Triangle3D_show(self, *args)
4406 def get_edge_lengths(self):
4407 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4408 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4412 """__str__(Triangle3D self) -> std::string"""
4413 return _IMP_algebra.Triangle3D___str__(self)
4417 """__repr__(Triangle3D self) -> std::string"""
4418 return _IMP_algebra.Triangle3D___repr__(self)
4420 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4421 __del__ =
lambda self:
None
4422 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4423 Triangle3D_swigregister(Triangle3D)
4427 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4428 return _IMP_algebra.get_largest_triangle(points)
4431 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4432 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4435 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4436 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4437 class LinearFit2D(_GeometricPrimitive2D):
4438 """Proxy of C++ IMP::algebra::LinearFit2D class"""
4439 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4441 def __init__(self, *args):
4443 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4444 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4446 this = _IMP_algebra.new_LinearFit2D(*args)
4448 self.this.append(this)
4452 def get_fit_error(self):
4453 """get_fit_error(LinearFit2D self) -> double"""
4454 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4458 """get_a(LinearFit2D self) -> double"""
4459 return _IMP_algebra.LinearFit2D_get_a(self)
4463 """get_b(LinearFit2D self) -> double"""
4464 return _IMP_algebra.LinearFit2D_get_b(self)
4467 def show(self, *args):
4469 show(LinearFit2D self, _ostream out)
4470 show(LinearFit2D self)
4472 return _IMP_algebra.LinearFit2D_show(self, *args)
4476 """__str__(LinearFit2D self) -> std::string"""
4477 return _IMP_algebra.LinearFit2D___str__(self)
4481 """__repr__(LinearFit2D self) -> std::string"""
4482 return _IMP_algebra.LinearFit2D___repr__(self)
4484 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4485 __del__ =
lambda self:
None
4486 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4487 LinearFit2D_swigregister(LinearFit2D)
4489 class ParabolicFit2D(_GeometricPrimitive2D):
4490 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
4491 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4493 def __init__(self, data):
4494 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4495 this = _IMP_algebra.new_ParabolicFit2D(data)
4497 self.this.append(this)
4501 def get_fit_error(self):
4502 """get_fit_error(ParabolicFit2D self) -> double"""
4503 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4507 """get_a(ParabolicFit2D self) -> double"""
4508 return _IMP_algebra.ParabolicFit2D_get_a(self)
4512 """get_b(ParabolicFit2D self) -> double"""
4513 return _IMP_algebra.ParabolicFit2D_get_b(self)
4517 """get_c(ParabolicFit2D self) -> double"""
4518 return _IMP_algebra.ParabolicFit2D_get_c(self)
4521 def show(self, *args):
4523 show(ParabolicFit2D self, _ostream out)
4524 show(ParabolicFit2D self)
4526 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4530 """__str__(ParabolicFit2D self) -> std::string"""
4531 return _IMP_algebra.ParabolicFit2D___str__(self)
4535 """__repr__(ParabolicFit2D self) -> std::string"""
4536 return _IMP_algebra.ParabolicFit2D___repr__(self)
4538 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4539 __del__ =
lambda self:
None
4540 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4541 ParabolicFit2D_swigregister(ParabolicFit2D)
4543 class Plane3D(_GeometricPrimitive3D):
4544 """Proxy of C++ IMP::algebra::Plane3D class"""
4545 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4547 def __init__(self, *args):
4549 __init__(IMP::algebra::Plane3D self) -> Plane3D
4550 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4551 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4553 this = _IMP_algebra.new_Plane3D(*args)
4555 self.this.append(this)
4559 def get_point_on_plane(self):
4560 """get_point_on_plane(Plane3D self) -> Vector3D"""
4561 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4564 def get_normal(self):
4565 """get_normal(Plane3D self) -> Vector3D"""
4566 return _IMP_algebra.Plane3D_get_normal(self)
4569 def get_projected(self, p):
4570 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4571 return _IMP_algebra.Plane3D_get_projected(self, p)
4574 def get_is_above(self, p):
4575 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4576 return _IMP_algebra.Plane3D_get_is_above(self, p)
4579 def get_is_below(self, p):
4580 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4581 return _IMP_algebra.Plane3D_get_is_below(self, p)
4584 def get_height(self, p):
4585 """get_height(Plane3D self, Vector3D p) -> double"""
4586 return _IMP_algebra.Plane3D_get_height(self, p)
4589 def show(self, *args):
4591 show(Plane3D self, _ostream out)
4594 return _IMP_algebra.Plane3D_show(self, *args)
4597 def get_opposite(self):
4598 """get_opposite(Plane3D self) -> Plane3D"""
4599 return _IMP_algebra.Plane3D_get_opposite(self)
4602 def get_distance_from_origin(self):
4603 """get_distance_from_origin(Plane3D self) -> double"""
4604 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4608 """__str__(Plane3D self) -> std::string"""
4609 return _IMP_algebra.Plane3D___str__(self)
4613 """__repr__(Plane3D self) -> std::string"""
4614 return _IMP_algebra.Plane3D___repr__(self)
4616 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4617 __del__ =
lambda self:
None
4618 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4619 Plane3D_swigregister(Plane3D)
4623 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4624 return _IMP_algebra.get_reflected(pln, p)
4626 def get_plane_3d_geometry(g):
4627 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4628 return _IMP_algebra.get_plane_3d_geometry(g)
4629 class Reflection3D(_GeometricPrimitive3D):
4630 """Proxy of C++ IMP::algebra::Reflection3D class"""
4631 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4633 def __init__(self, *args):
4635 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4636 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4638 this = _IMP_algebra.new_Reflection3D(*args)
4640 self.this.append(this)
4645 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4646 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4649 def show(self, *args):
4651 show(Reflection3D self, _ostream out)
4652 show(Reflection3D self)
4654 return _IMP_algebra.Reflection3D_show(self, *args)
4658 """__str__(Reflection3D self) -> std::string"""
4659 return _IMP_algebra.Reflection3D___str__(self)
4663 """__repr__(Reflection3D self) -> std::string"""
4664 return _IMP_algebra.Reflection3D___repr__(self)
4666 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4667 __del__ =
lambda self:
None
4668 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4669 Reflection3D_swigregister(Reflection3D)
4671 class Cylinder3D(_GeometricPrimitive3D):
4672 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4675 def __init__(self, *args):
4677 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4678 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4680 this = _IMP_algebra.new_Cylinder3D(*args)
4682 self.this.append(this)
4686 def get_radius(self):
4687 """get_radius(Cylinder3D self) -> double"""
4688 return _IMP_algebra.Cylinder3D_get_radius(self)
4692 """get_segment(Cylinder3D self) -> Segment3D"""
4693 return _IMP_algebra.Cylinder3D_get_segment(self)
4696 def get_surface_point_at(self, relative_height, angle):
4697 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4698 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
4701 def get_inner_point_at(self, relative_height, relative_radius, angle):
4702 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4703 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
4706 def show(self, *args):
4708 show(Cylinder3D self, _ostream out)
4709 show(Cylinder3D self)
4711 return _IMP_algebra.Cylinder3D_show(self, *args)
4715 """__str__(Cylinder3D self) -> std::string"""
4716 return _IMP_algebra.Cylinder3D___str__(self)
4720 """__repr__(Cylinder3D self) -> std::string"""
4721 return _IMP_algebra.Cylinder3D___repr__(self)
4723 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4724 __del__ =
lambda self:
None
4725 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4726 Cylinder3D_swigregister(Cylinder3D)
4729 def get_cylinder_3d_geometry(g):
4730 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4731 return _IMP_algebra.get_cylinder_3d_geometry(g)
4732 class Ellipsoid3D(_GeometricPrimitive3D):
4733 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4734 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4736 def __init__(self, *args):
4738 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4739 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
4740 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4742 this = _IMP_algebra.new_Ellipsoid3D(*args)
4744 self.this.append(this)
4748 def get_radii(self):
4749 """get_radii(Ellipsoid3D self) -> Vector3D"""
4750 return _IMP_algebra.Ellipsoid3D_get_radii(self)
4753 def get_reference_frame(self):
4754 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
4755 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
4758 def show(self, *args):
4760 show(Ellipsoid3D self, _ostream out)
4761 show(Ellipsoid3D self)
4763 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4767 """__str__(Ellipsoid3D self) -> std::string"""
4768 return _IMP_algebra.Ellipsoid3D___str__(self)
4772 """__repr__(Ellipsoid3D self) -> std::string"""
4773 return _IMP_algebra.Ellipsoid3D___repr__(self)
4775 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4776 __del__ =
lambda self:
None
4777 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4778 Ellipsoid3D_swigregister(Ellipsoid3D)
4781 def get_ellipsoid_3d_geometry(g):
4782 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4783 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
4784 class ConnollySurfacePoint(object):
4785 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
4786 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4788 def __init__(self, a0, a1, a2, sp, a, n):
4789 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
4790 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
4792 self.this.append(this)
4797 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
4798 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
4801 def get_surface_point(self):
4802 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
4803 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
4807 """get_area(ConnollySurfacePoint self) -> double"""
4808 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
4811 def get_normal(self):
4812 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
4813 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
4816 def show(self, *args):
4818 show(ConnollySurfacePoint self, _ostream out)
4819 show(ConnollySurfacePoint self)
4821 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
4825 """__str__(ConnollySurfacePoint self) -> std::string"""
4826 return _IMP_algebra.ConnollySurfacePoint___str__(self)
4830 """__repr__(ConnollySurfacePoint self) -> std::string"""
4831 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
4833 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
4834 __del__ =
lambda self:
None
4835 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
4836 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
4840 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
4841 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
4842 class LogEmbedding3D(object):
4843 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
4844 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4846 def __init__(self, *args):
4848 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
4849 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
4850 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
4851 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
4852 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
4854 this = _IMP_algebra.new_LogEmbedding3D(*args)
4856 self.this.append(this)
4860 def set_origin(self, o):
4861 """set_origin(LogEmbedding3D self, Vector3D o)"""
4862 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
4865 def get_origin(self):
4866 """get_origin(LogEmbedding3D self) -> Vector3D"""
4867 return _IMP_algebra.LogEmbedding3D_get_origin(self)
4870 def get_dimension(self):
4871 """get_dimension(LogEmbedding3D self) -> unsigned int"""
4872 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
4875 def set_unit_cell(self, *args):
4877 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
4878 set_unit_cell(LogEmbedding3D self, Vector3D o)
4880 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
4883 def get_unit_cell(self):
4884 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
4885 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
4888 def get_extended_index(self, o):
4889 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
4890 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
4894 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
4895 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
4898 def get_center(self, *args):
4900 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
4901 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
4903 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
4906 def get_bounding_box(self, *args):
4908 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
4909 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
4911 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
4914 def show(self, *args):
4916 show(LogEmbedding3D self, _ostream out)
4917 show(LogEmbedding3D self)
4919 return _IMP_algebra.LogEmbedding3D_show(self, *args)
4923 """__str__(LogEmbedding3D self) -> std::string"""
4924 return _IMP_algebra.LogEmbedding3D___str__(self)
4928 """__repr__(LogEmbedding3D self) -> std::string"""
4929 return _IMP_algebra.LogEmbedding3D___repr__(self)
4932 def __cmp__(self, arg2):
4933 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
4934 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
4937 def __eq__(self, arg2):
4938 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
4939 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
4941 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
4942 __del__ =
lambda self:
None
4943 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
4944 LogEmbedding3D_swigregister(LogEmbedding3D)
4946 class LogEmbeddingKD(object):
4947 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
4948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4950 def __init__(self, *args):
4952 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
4953 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
4954 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
4955 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
4956 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
4958 this = _IMP_algebra.new_LogEmbeddingKD(*args)
4960 self.this.append(this)
4964 def set_origin(self, o):
4965 """set_origin(LogEmbeddingKD self, VectorKD o)"""
4966 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
4969 def get_origin(self):
4970 """get_origin(LogEmbeddingKD self) -> VectorKD"""
4971 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
4974 def get_dimension(self):
4975 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
4976 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
4979 def set_unit_cell(self, *args):
4981 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
4982 set_unit_cell(LogEmbeddingKD self, VectorKD o)
4984 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
4987 def get_unit_cell(self):
4988 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
4989 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
4992 def get_extended_index(self, o):
4993 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
4994 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
4998 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
4999 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5002 def get_center(self, *args):
5004 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5005 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5007 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5010 def get_bounding_box(self, *args):
5012 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5013 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5015 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5018 def show(self, *args):
5020 show(LogEmbeddingKD self, _ostream out)
5021 show(LogEmbeddingKD self)
5023 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5027 """__str__(LogEmbeddingKD self) -> std::string"""
5028 return _IMP_algebra.LogEmbeddingKD___str__(self)
5032 """__repr__(LogEmbeddingKD self) -> std::string"""
5033 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5036 def __cmp__(self, arg2):
5037 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5038 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5041 def __eq__(self, arg2):
5042 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5043 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5045 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5046 __del__ =
lambda self:
None
5047 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5048 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5050 class DenseFloatLogGridKD(object):
5051 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
5052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5054 def __init__(self, sz, le):
5055 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5056 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5058 self.this.append(this)
5062 def add_voxel(self, i, q):
5063 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5064 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5067 def __getitem__(self, *args):
5069 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5070 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5072 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5075 def __setitem__(self, *args):
5077 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5078 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5080 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5083 def get_bounding_box(self, *args):
5085 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5086 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5088 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5093 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5094 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5096 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5099 def get_all_indexes(self):
5100 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5101 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5104 def get_extended_indexes(self, *args):
5106 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5107 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5109 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5112 def get_center(self, *args):
5114 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5115 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5117 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5120 def get_extended_index(self, v):
5121 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5122 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5126 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5127 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5130 def get_origin(self):
5131 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5132 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5135 def get_dimension(self):
5136 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5137 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5140 def get_unit_cell(self):
5141 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5142 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5145 def get_has_index(self, v):
5146 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5147 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5151 """__str__(DenseFloatLogGridKD self) -> std::string"""
5152 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5156 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5157 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5160 def show(self, *args):
5162 show(DenseFloatLogGridKD self, _ostream out)
5163 show(DenseFloatLogGridKD self)
5165 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5167 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5168 __del__ =
lambda self:
None
5169 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5170 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5172 class DenseIntLogGrid3D(object):
5173 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
5174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5176 def __init__(self, sz, le):
5177 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5178 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5180 self.this.append(this)
5184 def add_voxel(self, i, q):
5185 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5186 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5189 def __getitem__(self, *args):
5191 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5192 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5194 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5197 def __setitem__(self, *args):
5199 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5200 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5202 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5205 def get_bounding_box(self, *args):
5207 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5208 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5210 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5215 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5216 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5218 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5221 def get_all_indexes(self):
5222 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5223 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5226 def get_extended_indexes(self, *args):
5228 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5229 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5231 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5234 def get_center(self, *args):
5236 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5237 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5239 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5242 def get_extended_index(self, v):
5243 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5244 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5248 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5249 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5252 def get_origin(self):
5253 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5254 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5257 def get_dimension(self):
5258 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5259 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5262 def get_unit_cell(self):
5263 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5264 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5267 def get_has_index(self, v):
5268 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5269 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5273 """__str__(DenseIntLogGrid3D self) -> std::string"""
5274 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5278 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5279 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5282 def show(self, *args):
5284 show(DenseIntLogGrid3D self, _ostream out)
5285 show(DenseIntLogGrid3D self)
5287 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5289 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5290 __del__ =
lambda self:
None
5291 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5292 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5295 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
5296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5298 def __init__(self, *args):
5300 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5301 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5302 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5304 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5306 self.this.append(this)
5310 def add_voxel(self, i, q):
5311 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5312 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5315 def __getitem__(self, *args):
5317 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5318 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5320 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5323 def __setitem__(self, *args):
5325 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5326 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5328 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5331 def get_bounding_box(self, *args):
5333 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5334 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5336 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5341 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5342 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5344 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5347 def get_all_indexes(self):
5348 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5349 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5352 def get_extended_indexes(self, *args):
5354 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5355 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5357 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5360 def get_center(self, *args):
5362 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5363 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5365 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5368 def get_extended_index(self, v):
5369 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5370 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5374 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5375 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5378 def get_origin(self):
5379 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5380 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5383 def get_dimension(self):
5384 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5385 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5388 def get_unit_cell(self):
5389 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5390 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5393 def get_has_index(self, v):
5394 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5395 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5399 """__str__(DenseDoubleGrid3D self) -> std::string"""
5400 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5404 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5405 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5408 def show(self, *args):
5410 show(DenseDoubleGrid3D self, _ostream out)
5411 show(DenseDoubleGrid3D self)
5413 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5415 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5416 __del__ =
lambda self:
None
5417 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5418 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5421 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
5422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5424 def __init__(self, *args):
5426 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5427 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5428 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5430 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5432 self.this.append(this)
5436 def add_voxel(self, i, q):
5437 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5438 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5441 def __getitem__(self, *args):
5443 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5444 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5446 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5449 def __setitem__(self, *args):
5451 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5452 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5454 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5457 def get_bounding_box(self, *args):
5459 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5460 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5462 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5467 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5468 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5470 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5473 def get_all_indexes(self):
5474 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5475 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5478 def get_extended_indexes(self, *args):
5480 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5481 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5483 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5486 def get_center(self, *args):
5488 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5489 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5491 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5494 def get_extended_index(self, v):
5495 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5496 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5500 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5501 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5504 def get_origin(self):
5505 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5506 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5509 def get_dimension(self):
5510 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5511 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5514 def get_unit_cell(self):
5515 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5516 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5519 def get_has_index(self, v):
5520 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5521 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5525 """__str__(DenseFloatGrid3D self) -> std::string"""
5526 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5530 """__repr__(DenseFloatGrid3D self) -> std::string"""
5531 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5534 def show(self, *args):
5536 show(DenseFloatGrid3D self, _ostream out)
5537 show(DenseFloatGrid3D self)
5539 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5541 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5542 __del__ =
lambda self:
None
5543 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5544 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5547 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
5548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5550 def __init__(self, *args):
5552 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5553 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5554 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5555 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5556 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5558 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5560 self.this.append(this)
5564 def add_voxel(self, i, q):
5565 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5566 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5569 def __getitem__(self, *args):
5571 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5572 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5574 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5577 def __setitem__(self, *args):
5579 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5580 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5582 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5585 def get_bounding_box(self, *args):
5587 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5588 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5590 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5595 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5596 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5598 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5601 def get_all_indexes(self):
5602 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5603 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5606 def get_extended_indexes(self, *args):
5608 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5609 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5611 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5614 def get_center(self, *args):
5616 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5617 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5619 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5622 def get_extended_index(self, v):
5623 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5624 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5628 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5629 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5632 def get_origin(self):
5633 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5634 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5637 def get_dimension(self):
5638 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5639 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5642 def get_unit_cell(self):
5643 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5644 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5647 def get_has_index(self, v):
5648 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5649 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5653 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5654 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5658 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5659 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5662 def show(self, *args):
5664 show(SparseUnboundedIntGrid3D self, _ostream out)
5665 show(SparseUnboundedIntGrid3D self)
5667 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
5669 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
5670 __del__ =
lambda self:
None
5671 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
5672 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
5674 class SparseUnboundedIntGridKD(object):
5675 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
5676 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5678 def __init__(self, *args):
5680 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
5681 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
5682 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
5684 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
5686 self.this.append(this)
5690 def add_voxel(self, i, q):
5691 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
5692 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
5695 def __getitem__(self, *args):
5697 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
5698 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
5700 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
5703 def __setitem__(self, *args):
5705 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
5706 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
5708 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
5711 def get_bounding_box(self, *args):
5713 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5714 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
5716 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
5721 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5722 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5724 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
5727 def get_all_indexes(self):
5728 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5729 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
5732 def get_extended_indexes(self, *args):
5734 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5735 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5737 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
5740 def get_center(self, *args):
5742 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5743 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
5745 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
5748 def get_extended_index(self, v):
5749 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5750 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
5754 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5755 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
5758 def get_origin(self):
5759 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
5760 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
5763 def get_dimension(self):
5764 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
5765 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
5768 def get_unit_cell(self):
5769 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
5770 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
5773 def get_has_index(self, v):
5774 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
5775 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
5779 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
5780 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
5784 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
5785 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
5788 def show(self, *args):
5790 show(SparseUnboundedIntGridKD self, _ostream out)
5791 show(SparseUnboundedIntGridKD self)
5793 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
5795 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
5796 __del__ =
lambda self:
None
5797 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
5798 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
5800 class GridIndex1D(IMP._Value):
5801 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
5802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5804 def __init__(self, *args):
5806 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
5807 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
5808 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
5809 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
5810 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
5811 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
5812 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
5814 this = _IMP_algebra.new_GridIndex1D(*args)
5816 self.this.append(this)
5820 def get_dimension(self):
5821 """get_dimension(GridIndex1D self) -> unsigned int"""
5822 return _IMP_algebra.GridIndex1D_get_dimension(self)
5825 def __getitem__(self, i):
5826 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
5827 return _IMP_algebra.GridIndex1D___getitem__(self, i)
5830 def show(self, *args):
5832 show(GridIndex1D self, _ostream out)
5833 show(GridIndex1D self)
5835 return _IMP_algebra.GridIndex1D_show(self, *args)
5839 """__len__(GridIndex1D self) -> unsigned int"""
5840 return _IMP_algebra.GridIndex1D___len__(self)
5843 def __cmp__(self, o):
5844 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
5845 return _IMP_algebra.GridIndex1D___cmp__(self, o)
5848 def __eq__(self, o):
5849 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
5850 return _IMP_algebra.GridIndex1D___eq__(self, o)
5853 def __ne__(self, o):
5854 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
5855 return _IMP_algebra.GridIndex1D___ne__(self, o)
5858 def __lt__(self, o):
5859 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
5860 return _IMP_algebra.GridIndex1D___lt__(self, o)
5863 def __gt__(self, o):
5864 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
5865 return _IMP_algebra.GridIndex1D___gt__(self, o)
5868 def __ge__(self, o):
5869 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
5870 return _IMP_algebra.GridIndex1D___ge__(self, o)
5873 def __le__(self, o):
5874 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
5875 return _IMP_algebra.GridIndex1D___le__(self, o)
5879 """__hash__(GridIndex1D self) -> std::size_t"""
5880 return _IMP_algebra.GridIndex1D___hash__(self)
5884 """__str__(GridIndex1D self) -> std::string"""
5885 return _IMP_algebra.GridIndex1D___str__(self)
5889 """__repr__(GridIndex1D self) -> std::string"""
5890 return _IMP_algebra.GridIndex1D___repr__(self)
5892 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
5893 __del__ =
lambda self:
None
5894 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
5895 GridIndex1D_swigregister(GridIndex1D)
5897 class GridIndex2D(IMP._Value):
5898 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
5899 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5901 def __init__(self, *args):
5903 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
5904 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
5905 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
5906 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
5907 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
5908 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
5909 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
5911 this = _IMP_algebra.new_GridIndex2D(*args)
5913 self.this.append(this)
5917 def get_dimension(self):
5918 """get_dimension(GridIndex2D self) -> unsigned int"""
5919 return _IMP_algebra.GridIndex2D_get_dimension(self)
5922 def __getitem__(self, i):
5923 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
5924 return _IMP_algebra.GridIndex2D___getitem__(self, i)
5927 def show(self, *args):
5929 show(GridIndex2D self, _ostream out)
5930 show(GridIndex2D self)
5932 return _IMP_algebra.GridIndex2D_show(self, *args)
5936 """__len__(GridIndex2D self) -> unsigned int"""
5937 return _IMP_algebra.GridIndex2D___len__(self)
5940 def __cmp__(self, o):
5941 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
5942 return _IMP_algebra.GridIndex2D___cmp__(self, o)
5945 def __eq__(self, o):
5946 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
5947 return _IMP_algebra.GridIndex2D___eq__(self, o)
5950 def __ne__(self, o):
5951 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
5952 return _IMP_algebra.GridIndex2D___ne__(self, o)
5955 def __lt__(self, o):
5956 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
5957 return _IMP_algebra.GridIndex2D___lt__(self, o)
5960 def __gt__(self, o):
5961 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
5962 return _IMP_algebra.GridIndex2D___gt__(self, o)
5965 def __ge__(self, o):
5966 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
5967 return _IMP_algebra.GridIndex2D___ge__(self, o)
5970 def __le__(self, o):
5971 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
5972 return _IMP_algebra.GridIndex2D___le__(self, o)
5976 """__hash__(GridIndex2D self) -> std::size_t"""
5977 return _IMP_algebra.GridIndex2D___hash__(self)
5981 """__str__(GridIndex2D self) -> std::string"""
5982 return _IMP_algebra.GridIndex2D___str__(self)
5986 """__repr__(GridIndex2D self) -> std::string"""
5987 return _IMP_algebra.GridIndex2D___repr__(self)
5989 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
5990 __del__ =
lambda self:
None
5991 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
5992 GridIndex2D_swigregister(GridIndex2D)
5994 class GridIndex3D(IMP._Value):
5995 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
5996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5998 def __init__(self, *args):
6000 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6001 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6002 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6003 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6004 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6005 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6006 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6008 this = _IMP_algebra.new_GridIndex3D(*args)
6010 self.this.append(this)
6014 def get_dimension(self):
6015 """get_dimension(GridIndex3D self) -> unsigned int"""
6016 return _IMP_algebra.GridIndex3D_get_dimension(self)
6019 def __getitem__(self, i):
6020 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6021 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6024 def show(self, *args):
6026 show(GridIndex3D self, _ostream out)
6027 show(GridIndex3D self)
6029 return _IMP_algebra.GridIndex3D_show(self, *args)
6033 """__len__(GridIndex3D self) -> unsigned int"""
6034 return _IMP_algebra.GridIndex3D___len__(self)
6037 def __cmp__(self, o):
6038 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6039 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6042 def __eq__(self, o):
6043 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6044 return _IMP_algebra.GridIndex3D___eq__(self, o)
6047 def __ne__(self, o):
6048 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6049 return _IMP_algebra.GridIndex3D___ne__(self, o)
6052 def __lt__(self, o):
6053 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6054 return _IMP_algebra.GridIndex3D___lt__(self, o)
6057 def __gt__(self, o):
6058 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6059 return _IMP_algebra.GridIndex3D___gt__(self, o)
6062 def __ge__(self, o):
6063 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6064 return _IMP_algebra.GridIndex3D___ge__(self, o)
6067 def __le__(self, o):
6068 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6069 return _IMP_algebra.GridIndex3D___le__(self, o)
6073 """__hash__(GridIndex3D self) -> std::size_t"""
6074 return _IMP_algebra.GridIndex3D___hash__(self)
6078 """__str__(GridIndex3D self) -> std::string"""
6079 return _IMP_algebra.GridIndex3D___str__(self)
6083 """__repr__(GridIndex3D self) -> std::string"""
6084 return _IMP_algebra.GridIndex3D___repr__(self)
6086 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6087 __del__ =
lambda self:
None
6088 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6089 GridIndex3D_swigregister(GridIndex3D)
6091 class GridIndex4D(IMP._Value):
6092 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
6093 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6095 def __init__(self, *args):
6097 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6098 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6099 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6100 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6101 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6102 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6103 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6105 this = _IMP_algebra.new_GridIndex4D(*args)
6107 self.this.append(this)
6111 def get_dimension(self):
6112 """get_dimension(GridIndex4D self) -> unsigned int"""
6113 return _IMP_algebra.GridIndex4D_get_dimension(self)
6116 def __getitem__(self, i):
6117 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6118 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6121 def show(self, *args):
6123 show(GridIndex4D self, _ostream out)
6124 show(GridIndex4D self)
6126 return _IMP_algebra.GridIndex4D_show(self, *args)
6130 """__len__(GridIndex4D self) -> unsigned int"""
6131 return _IMP_algebra.GridIndex4D___len__(self)
6134 def __cmp__(self, o):
6135 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6136 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6139 def __eq__(self, o):
6140 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6141 return _IMP_algebra.GridIndex4D___eq__(self, o)
6144 def __ne__(self, o):
6145 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6146 return _IMP_algebra.GridIndex4D___ne__(self, o)
6149 def __lt__(self, o):
6150 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6151 return _IMP_algebra.GridIndex4D___lt__(self, o)
6154 def __gt__(self, o):
6155 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6156 return _IMP_algebra.GridIndex4D___gt__(self, o)
6159 def __ge__(self, o):
6160 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6161 return _IMP_algebra.GridIndex4D___ge__(self, o)
6164 def __le__(self, o):
6165 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6166 return _IMP_algebra.GridIndex4D___le__(self, o)
6170 """__hash__(GridIndex4D self) -> std::size_t"""
6171 return _IMP_algebra.GridIndex4D___hash__(self)
6175 """__str__(GridIndex4D self) -> std::string"""
6176 return _IMP_algebra.GridIndex4D___str__(self)
6180 """__repr__(GridIndex4D self) -> std::string"""
6181 return _IMP_algebra.GridIndex4D___repr__(self)
6183 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6184 __del__ =
lambda self:
None
6185 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6186 GridIndex4D_swigregister(GridIndex4D)
6188 class GridIndex5D(IMP._Value):
6189 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
6190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6192 def __init__(self, *args):
6194 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6195 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6196 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6197 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6198 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6199 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6200 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6202 this = _IMP_algebra.new_GridIndex5D(*args)
6204 self.this.append(this)
6208 def get_dimension(self):
6209 """get_dimension(GridIndex5D self) -> unsigned int"""
6210 return _IMP_algebra.GridIndex5D_get_dimension(self)
6213 def __getitem__(self, i):
6214 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6215 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6218 def show(self, *args):
6220 show(GridIndex5D self, _ostream out)
6221 show(GridIndex5D self)
6223 return _IMP_algebra.GridIndex5D_show(self, *args)
6227 """__len__(GridIndex5D self) -> unsigned int"""
6228 return _IMP_algebra.GridIndex5D___len__(self)
6231 def __cmp__(self, o):
6232 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6233 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6236 def __eq__(self, o):
6237 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6238 return _IMP_algebra.GridIndex5D___eq__(self, o)
6241 def __ne__(self, o):
6242 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6243 return _IMP_algebra.GridIndex5D___ne__(self, o)
6246 def __lt__(self, o):
6247 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6248 return _IMP_algebra.GridIndex5D___lt__(self, o)
6251 def __gt__(self, o):
6252 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6253 return _IMP_algebra.GridIndex5D___gt__(self, o)
6256 def __ge__(self, o):
6257 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6258 return _IMP_algebra.GridIndex5D___ge__(self, o)
6261 def __le__(self, o):
6262 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6263 return _IMP_algebra.GridIndex5D___le__(self, o)
6267 """__hash__(GridIndex5D self) -> std::size_t"""
6268 return _IMP_algebra.GridIndex5D___hash__(self)
6272 """__str__(GridIndex5D self) -> std::string"""
6273 return _IMP_algebra.GridIndex5D___str__(self)
6277 """__repr__(GridIndex5D self) -> std::string"""
6278 return _IMP_algebra.GridIndex5D___repr__(self)
6280 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6281 __del__ =
lambda self:
None
6282 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6283 GridIndex5D_swigregister(GridIndex5D)
6285 class GridIndex6D(IMP._Value):
6286 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
6287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6289 def __init__(self, *args):
6291 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6292 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6293 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6294 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6295 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6296 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6297 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6299 this = _IMP_algebra.new_GridIndex6D(*args)
6301 self.this.append(this)
6305 def get_dimension(self):
6306 """get_dimension(GridIndex6D self) -> unsigned int"""
6307 return _IMP_algebra.GridIndex6D_get_dimension(self)
6310 def __getitem__(self, i):
6311 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6312 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6315 def show(self, *args):
6317 show(GridIndex6D self, _ostream out)
6318 show(GridIndex6D self)
6320 return _IMP_algebra.GridIndex6D_show(self, *args)
6324 """__len__(GridIndex6D self) -> unsigned int"""
6325 return _IMP_algebra.GridIndex6D___len__(self)
6328 def __cmp__(self, o):
6329 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6330 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6333 def __eq__(self, o):
6334 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6335 return _IMP_algebra.GridIndex6D___eq__(self, o)
6338 def __ne__(self, o):
6339 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6340 return _IMP_algebra.GridIndex6D___ne__(self, o)
6343 def __lt__(self, o):
6344 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6345 return _IMP_algebra.GridIndex6D___lt__(self, o)
6348 def __gt__(self, o):
6349 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6350 return _IMP_algebra.GridIndex6D___gt__(self, o)
6353 def __ge__(self, o):
6354 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6355 return _IMP_algebra.GridIndex6D___ge__(self, o)
6358 def __le__(self, o):
6359 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6360 return _IMP_algebra.GridIndex6D___le__(self, o)
6364 """__hash__(GridIndex6D self) -> std::size_t"""
6365 return _IMP_algebra.GridIndex6D___hash__(self)
6369 """__str__(GridIndex6D self) -> std::string"""
6370 return _IMP_algebra.GridIndex6D___str__(self)
6374 """__repr__(GridIndex6D self) -> std::string"""
6375 return _IMP_algebra.GridIndex6D___repr__(self)
6377 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6378 __del__ =
lambda self:
None
6379 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6380 GridIndex6D_swigregister(GridIndex6D)
6382 class GridIndexKD(IMP._Value):
6383 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
6384 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6386 def __init__(self, *args):
6388 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6389 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6390 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6391 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6392 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6393 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6394 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6396 this = _IMP_algebra.new_GridIndexKD(*args)
6398 self.this.append(this)
6402 def get_dimension(self):
6403 """get_dimension(GridIndexKD self) -> unsigned int"""
6404 return _IMP_algebra.GridIndexKD_get_dimension(self)
6407 def __getitem__(self, i):
6408 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6409 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6412 def show(self, *args):
6414 show(GridIndexKD self, _ostream out)
6415 show(GridIndexKD self)
6417 return _IMP_algebra.GridIndexKD_show(self, *args)
6421 """__len__(GridIndexKD self) -> unsigned int"""
6422 return _IMP_algebra.GridIndexKD___len__(self)
6425 def __cmp__(self, o):
6426 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6427 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6430 def __eq__(self, o):
6431 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6432 return _IMP_algebra.GridIndexKD___eq__(self, o)
6435 def __ne__(self, o):
6436 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6437 return _IMP_algebra.GridIndexKD___ne__(self, o)
6440 def __lt__(self, o):
6441 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6442 return _IMP_algebra.GridIndexKD___lt__(self, o)
6445 def __gt__(self, o):
6446 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6447 return _IMP_algebra.GridIndexKD___gt__(self, o)
6450 def __ge__(self, o):
6451 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6452 return _IMP_algebra.GridIndexKD___ge__(self, o)
6455 def __le__(self, o):
6456 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6457 return _IMP_algebra.GridIndexKD___le__(self, o)
6461 """__hash__(GridIndexKD self) -> std::size_t"""
6462 return _IMP_algebra.GridIndexKD___hash__(self)
6466 """__str__(GridIndexKD self) -> std::string"""
6467 return _IMP_algebra.GridIndexKD___str__(self)
6471 """__repr__(GridIndexKD self) -> std::string"""
6472 return _IMP_algebra.GridIndexKD___repr__(self)
6474 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6475 __del__ =
lambda self:
None
6476 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6477 GridIndexKD_swigregister(GridIndexKD)
6479 class ExtendedGridIndex1D(IMP._Value):
6480 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
6481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6483 def __init__(self, *args):
6485 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6486 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6487 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6488 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6489 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6490 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6491 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6492 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6494 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6496 self.this.append(this)
6500 def get_dimension(self):
6501 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6502 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6505 def __cmp__(self, o):
6506 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6507 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6510 def __eq__(self, o):
6511 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6512 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6515 def __ne__(self, o):
6516 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6517 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6520 def __lt__(self, o):
6521 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6522 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6525 def __gt__(self, o):
6526 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6527 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6530 def __ge__(self, o):
6531 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6532 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6535 def __le__(self, o):
6536 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6537 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6540 def __setitem__(self, i, v):
6541 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6542 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6545 def __getitem__(self, i):
6546 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6547 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6550 def show(self, *args):
6552 show(ExtendedGridIndex1D self, _ostream out)
6553 show(ExtendedGridIndex1D self)
6555 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6559 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6560 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6564 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6565 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6568 def get_uniform_offset(self, ii):
6569 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6570 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6573 def get_offset(self, i, j, k):
6574 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6575 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6579 """__str__(ExtendedGridIndex1D self) -> std::string"""
6580 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6584 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6585 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6587 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6588 __del__ =
lambda self:
None
6589 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6590 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6592 class ExtendedGridIndex2D(IMP._Value):
6593 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
6594 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6596 def __init__(self, *args):
6598 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6599 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6600 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6601 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6602 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6603 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6604 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6605 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6607 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6609 self.this.append(this)
6613 def get_dimension(self):
6614 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6615 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6618 def __cmp__(self, o):
6619 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6620 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6623 def __eq__(self, o):
6624 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6625 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6628 def __ne__(self, o):
6629 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6630 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6633 def __lt__(self, o):
6634 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6635 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6638 def __gt__(self, o):
6639 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6640 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6643 def __ge__(self, o):
6644 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6645 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6648 def __le__(self, o):
6649 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6650 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6653 def __setitem__(self, i, v):
6654 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
6655 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
6658 def __getitem__(self, i):
6659 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
6660 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
6663 def show(self, *args):
6665 show(ExtendedGridIndex2D self, _ostream out)
6666 show(ExtendedGridIndex2D self)
6668 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
6672 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
6673 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
6677 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
6678 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
6681 def get_uniform_offset(self, ii):
6682 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
6683 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
6686 def get_offset(self, i, j, k):
6687 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
6688 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
6692 """__str__(ExtendedGridIndex2D self) -> std::string"""
6693 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
6697 """__repr__(ExtendedGridIndex2D self) -> std::string"""
6698 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
6700 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
6701 __del__ =
lambda self:
None
6702 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
6703 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
6705 class ExtendedGridIndex3D(IMP._Value):
6706 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
6707 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6709 def __init__(self, *args):
6711 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
6712 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
6713 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
6714 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
6715 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
6716 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
6717 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
6718 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
6720 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
6722 self.this.append(this)
6726 def get_dimension(self):
6727 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
6728 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
6731 def __cmp__(self, o):
6732 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
6733 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
6736 def __eq__(self, o):
6737 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6738 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
6741 def __ne__(self, o):
6742 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6743 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
6746 def __lt__(self, o):
6747 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6748 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
6751 def __gt__(self, o):
6752 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6753 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
6756 def __ge__(self, o):
6757 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6758 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
6761 def __le__(self, o):
6762 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6763 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
6766 def __setitem__(self, i, v):
6767 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
6768 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
6771 def __getitem__(self, i):
6772 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
6773 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
6776 def show(self, *args):
6778 show(ExtendedGridIndex3D self, _ostream out)
6779 show(ExtendedGridIndex3D self)
6781 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
6785 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
6786 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
6790 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
6791 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
6794 def get_uniform_offset(self, ii):
6795 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
6796 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
6799 def get_offset(self, i, j, k):
6800 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
6801 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
6805 """__str__(ExtendedGridIndex3D self) -> std::string"""
6806 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
6810 """__repr__(ExtendedGridIndex3D self) -> std::string"""
6811 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
6813 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
6814 __del__ =
lambda self:
None
6815 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
6816 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
6818 class ExtendedGridIndex4D(IMP._Value):
6819 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
6820 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6822 def __init__(self, *args):
6824 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
6825 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
6826 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
6827 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
6828 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
6829 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
6830 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
6831 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
6833 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
6835 self.this.append(this)
6839 def get_dimension(self):
6840 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
6841 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
6844 def __cmp__(self, o):
6845 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
6846 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
6849 def __eq__(self, o):
6850 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6851 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
6854 def __ne__(self, o):
6855 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6856 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
6859 def __lt__(self, o):
6860 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6861 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
6864 def __gt__(self, o):
6865 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6866 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
6869 def __ge__(self, o):
6870 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6871 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
6874 def __le__(self, o):
6875 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6876 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
6879 def __setitem__(self, i, v):
6880 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
6881 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
6884 def __getitem__(self, i):
6885 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
6886 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
6889 def show(self, *args):
6891 show(ExtendedGridIndex4D self, _ostream out)
6892 show(ExtendedGridIndex4D self)
6894 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
6898 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
6899 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
6903 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
6904 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
6907 def get_uniform_offset(self, ii):
6908 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
6909 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
6912 def get_offset(self, i, j, k):
6913 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
6914 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
6918 """__str__(ExtendedGridIndex4D self) -> std::string"""
6919 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
6923 """__repr__(ExtendedGridIndex4D self) -> std::string"""
6924 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
6926 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
6927 __del__ =
lambda self:
None
6928 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
6929 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
6931 class ExtendedGridIndex5D(IMP._Value):
6932 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
6933 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6935 def __init__(self, *args):
6937 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
6938 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
6939 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
6940 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
6941 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
6942 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
6943 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
6944 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
6946 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
6948 self.this.append(this)
6952 def get_dimension(self):
6953 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
6954 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
6957 def __cmp__(self, o):
6958 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
6959 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
6962 def __eq__(self, o):
6963 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6964 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
6967 def __ne__(self, o):
6968 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6969 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
6972 def __lt__(self, o):
6973 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6974 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
6977 def __gt__(self, o):
6978 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6979 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
6982 def __ge__(self, o):
6983 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6984 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
6987 def __le__(self, o):
6988 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6989 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
6992 def __setitem__(self, i, v):
6993 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
6994 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
6997 def __getitem__(self, i):
6998 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
6999 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7002 def show(self, *args):
7004 show(ExtendedGridIndex5D self, _ostream out)
7005 show(ExtendedGridIndex5D self)
7007 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7011 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7012 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7016 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7017 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7020 def get_uniform_offset(self, ii):
7021 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7022 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7025 def get_offset(self, i, j, k):
7026 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7027 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7031 """__str__(ExtendedGridIndex5D self) -> std::string"""
7032 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7036 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7037 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7039 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7040 __del__ =
lambda self:
None
7041 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7042 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7044 class ExtendedGridIndex6D(IMP._Value):
7045 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
7046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7048 def __init__(self, *args):
7050 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7051 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7052 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7053 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7054 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7055 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7056 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7057 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7059 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7061 self.this.append(this)
7065 def get_dimension(self):
7066 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7067 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7070 def __cmp__(self, o):
7071 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7072 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7075 def __eq__(self, o):
7076 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7077 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7080 def __ne__(self, o):
7081 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7082 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7085 def __lt__(self, o):
7086 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7087 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7090 def __gt__(self, o):
7091 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7092 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7095 def __ge__(self, o):
7096 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7097 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7100 def __le__(self, o):
7101 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7102 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7105 def __setitem__(self, i, v):
7106 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7107 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7110 def __getitem__(self, i):
7111 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7112 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7115 def show(self, *args):
7117 show(ExtendedGridIndex6D self, _ostream out)
7118 show(ExtendedGridIndex6D self)
7120 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7124 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7125 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7129 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7130 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7133 def get_uniform_offset(self, ii):
7134 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7135 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7138 def get_offset(self, i, j, k):
7139 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7140 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7144 """__str__(ExtendedGridIndex6D self) -> std::string"""
7145 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7149 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7150 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7152 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7153 __del__ =
lambda self:
None
7154 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7155 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7157 class ExtendedGridIndexKD(IMP._Value):
7158 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
7159 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7161 def __init__(self, *args):
7163 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7164 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7165 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7166 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7167 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7168 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7169 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7170 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7172 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7174 self.this.append(this)
7178 def get_dimension(self):
7179 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7180 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7183 def __cmp__(self, o):
7184 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7185 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7188 def __eq__(self, o):
7189 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7190 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7193 def __ne__(self, o):
7194 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7195 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7198 def __lt__(self, o):
7199 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7200 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7203 def __gt__(self, o):
7204 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7205 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7208 def __ge__(self, o):
7209 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7210 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7213 def __le__(self, o):
7214 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7215 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7218 def __setitem__(self, i, v):
7219 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7220 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7223 def __getitem__(self, i):
7224 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7225 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7228 def show(self, *args):
7230 show(ExtendedGridIndexKD self, _ostream out)
7231 show(ExtendedGridIndexKD self)
7233 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7237 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7238 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7242 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7243 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7246 def get_uniform_offset(self, ii):
7247 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7248 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7251 def get_offset(self, i, j, k):
7252 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7253 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7257 """__str__(ExtendedGridIndexKD self) -> std::string"""
7258 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7262 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7263 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7265 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7266 __del__ =
lambda self:
None
7267 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7268 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7270 class BoundedGridRange1D(object):
7271 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
7272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7274 def get_is_bounded():
7275 """get_is_bounded() -> bool"""
7276 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7278 get_is_bounded = staticmethod(get_is_bounded)
7280 def __init__(self, *args):
7282 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7283 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7285 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7287 self.this.append(this)
7291 def get_number_of_voxels(self, *args):
7293 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7294 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7296 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7299 def get_end_index(self):
7300 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7301 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7304 def show(self, *args):
7306 show(BoundedGridRange1D self, _ostream out)
7307 show(BoundedGridRange1D self)
7309 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7312 def get_all_indexes(self):
7313 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7314 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7318 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7319 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7322 def get_extended_indexes(self, lb, ub):
7323 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7324 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7328 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7329 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7332 def get_has_index(self, v):
7333 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7334 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7337 def get_minimum_extended_index(self):
7338 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7339 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7342 def get_maximum_extended_index(self):
7343 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7344 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7348 """__str__(BoundedGridRange1D self) -> std::string"""
7349 return _IMP_algebra.BoundedGridRange1D___str__(self)
7353 """__repr__(BoundedGridRange1D self) -> std::string"""
7354 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7357 def __cmp__(self, arg2):
7358 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7359 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7362 def __eq__(self, arg2):
7363 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7364 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7366 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7367 __del__ =
lambda self:
None
7368 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7369 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7371 def BoundedGridRange1D_get_is_bounded():
7372 """BoundedGridRange1D_get_is_bounded() -> bool"""
7373 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7375 class BoundedGridRange2D(object):
7376 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
7377 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7379 def get_is_bounded():
7380 """get_is_bounded() -> bool"""
7381 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7383 get_is_bounded = staticmethod(get_is_bounded)
7385 def __init__(self, *args):
7387 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7388 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7390 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7392 self.this.append(this)
7396 def get_number_of_voxels(self, *args):
7398 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7399 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7401 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7404 def get_end_index(self):
7405 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7406 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7409 def show(self, *args):
7411 show(BoundedGridRange2D self, _ostream out)
7412 show(BoundedGridRange2D self)
7414 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7417 def get_all_indexes(self):
7418 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7419 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7423 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7424 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7427 def get_extended_indexes(self, lb, ub):
7428 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7429 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7433 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7434 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7437 def get_has_index(self, v):
7438 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7439 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7442 def get_minimum_extended_index(self):
7443 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7444 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7447 def get_maximum_extended_index(self):
7448 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7449 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7453 """__str__(BoundedGridRange2D self) -> std::string"""
7454 return _IMP_algebra.BoundedGridRange2D___str__(self)
7458 """__repr__(BoundedGridRange2D self) -> std::string"""
7459 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7462 def __cmp__(self, arg2):
7463 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7464 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7467 def __eq__(self, arg2):
7468 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7469 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7471 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7472 __del__ =
lambda self:
None
7473 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7474 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7476 def BoundedGridRange2D_get_is_bounded():
7477 """BoundedGridRange2D_get_is_bounded() -> bool"""
7478 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7480 class BoundedGridRange3D(object):
7481 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
7482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7484 def get_is_bounded():
7485 """get_is_bounded() -> bool"""
7486 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7488 get_is_bounded = staticmethod(get_is_bounded)
7490 def __init__(self, *args):
7492 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7493 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7495 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7497 self.this.append(this)
7501 def get_number_of_voxels(self, *args):
7503 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7504 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7506 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7509 def get_end_index(self):
7510 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7511 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7514 def show(self, *args):
7516 show(BoundedGridRange3D self, _ostream out)
7517 show(BoundedGridRange3D self)
7519 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7522 def get_all_indexes(self):
7523 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7524 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7528 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7529 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7532 def get_extended_indexes(self, lb, ub):
7533 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7534 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7538 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7539 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7542 def get_has_index(self, v):
7543 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7544 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7547 def get_minimum_extended_index(self):
7548 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7549 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7552 def get_maximum_extended_index(self):
7553 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7554 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7558 """__str__(BoundedGridRange3D self) -> std::string"""
7559 return _IMP_algebra.BoundedGridRange3D___str__(self)
7563 """__repr__(BoundedGridRange3D self) -> std::string"""
7564 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7567 def __cmp__(self, arg2):
7568 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7569 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7572 def __eq__(self, arg2):
7573 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7574 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7576 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7577 __del__ =
lambda self:
None
7578 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7579 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7581 def BoundedGridRange3D_get_is_bounded():
7582 """BoundedGridRange3D_get_is_bounded() -> bool"""
7583 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7585 class BoundedGridRange4D(object):
7586 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
7587 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7589 def get_is_bounded():
7590 """get_is_bounded() -> bool"""
7591 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7593 get_is_bounded = staticmethod(get_is_bounded)
7595 def __init__(self, *args):
7597 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7598 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7600 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7602 self.this.append(this)
7606 def get_number_of_voxels(self, *args):
7608 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7609 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7611 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7614 def get_end_index(self):
7615 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7616 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7619 def show(self, *args):
7621 show(BoundedGridRange4D self, _ostream out)
7622 show(BoundedGridRange4D self)
7624 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7627 def get_all_indexes(self):
7628 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7629 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7633 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7634 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7637 def get_extended_indexes(self, lb, ub):
7638 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7639 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7643 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7644 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
7647 def get_has_index(self, v):
7648 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
7649 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
7652 def get_minimum_extended_index(self):
7653 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7654 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
7657 def get_maximum_extended_index(self):
7658 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7659 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
7663 """__str__(BoundedGridRange4D self) -> std::string"""
7664 return _IMP_algebra.BoundedGridRange4D___str__(self)
7668 """__repr__(BoundedGridRange4D self) -> std::string"""
7669 return _IMP_algebra.BoundedGridRange4D___repr__(self)
7672 def __cmp__(self, arg2):
7673 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
7674 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
7677 def __eq__(self, arg2):
7678 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
7679 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
7681 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
7682 __del__ =
lambda self:
None
7683 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
7684 BoundedGridRange4D_swigregister(BoundedGridRange4D)
7686 def BoundedGridRange4D_get_is_bounded():
7687 """BoundedGridRange4D_get_is_bounded() -> bool"""
7688 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7690 class BoundedGridRange5D(object):
7691 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
7692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7694 def get_is_bounded():
7695 """get_is_bounded() -> bool"""
7696 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
7698 get_is_bounded = staticmethod(get_is_bounded)
7700 def __init__(self, *args):
7702 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
7703 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
7705 this = _IMP_algebra.new_BoundedGridRange5D(*args)
7707 self.this.append(this)
7711 def get_number_of_voxels(self, *args):
7713 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
7714 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
7716 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
7719 def get_end_index(self):
7720 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
7721 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
7724 def show(self, *args):
7726 show(BoundedGridRange5D self, _ostream out)
7727 show(BoundedGridRange5D self)
7729 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
7732 def get_all_indexes(self):
7733 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
7734 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
7738 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
7739 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
7742 def get_extended_indexes(self, lb, ub):
7743 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
7744 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
7748 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
7749 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
7752 def get_has_index(self, v):
7753 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
7754 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
7757 def get_minimum_extended_index(self):
7758 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
7759 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
7762 def get_maximum_extended_index(self):
7763 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
7764 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
7768 """__str__(BoundedGridRange5D self) -> std::string"""
7769 return _IMP_algebra.BoundedGridRange5D___str__(self)
7773 """__repr__(BoundedGridRange5D self) -> std::string"""
7774 return _IMP_algebra.BoundedGridRange5D___repr__(self)
7777 def __cmp__(self, arg2):
7778 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
7779 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
7782 def __eq__(self, arg2):
7783 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
7784 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
7786 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
7787 __del__ =
lambda self:
None
7788 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
7789 BoundedGridRange5D_swigregister(BoundedGridRange5D)
7791 def BoundedGridRange5D_get_is_bounded():
7792 """BoundedGridRange5D_get_is_bounded() -> bool"""
7793 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
7795 class BoundedGridRange6D(object):
7796 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
7797 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7799 def get_is_bounded():
7800 """get_is_bounded() -> bool"""
7801 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
7803 get_is_bounded = staticmethod(get_is_bounded)
7805 def __init__(self, *args):
7807 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
7808 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
7810 this = _IMP_algebra.new_BoundedGridRange6D(*args)
7812 self.this.append(this)
7816 def get_number_of_voxels(self, *args):
7818 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
7819 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
7821 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
7824 def get_end_index(self):
7825 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
7826 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
7829 def show(self, *args):
7831 show(BoundedGridRange6D self, _ostream out)
7832 show(BoundedGridRange6D self)
7834 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
7837 def get_all_indexes(self):
7838 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
7839 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
7843 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
7844 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
7847 def get_extended_indexes(self, lb, ub):
7848 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
7849 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
7853 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
7854 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
7857 def get_has_index(self, v):
7858 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
7859 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
7862 def get_minimum_extended_index(self):
7863 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
7864 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
7867 def get_maximum_extended_index(self):
7868 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
7869 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
7873 """__str__(BoundedGridRange6D self) -> std::string"""
7874 return _IMP_algebra.BoundedGridRange6D___str__(self)
7878 """__repr__(BoundedGridRange6D self) -> std::string"""
7879 return _IMP_algebra.BoundedGridRange6D___repr__(self)
7882 def __cmp__(self, arg2):
7883 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
7884 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
7887 def __eq__(self, arg2):
7888 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
7889 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
7891 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
7892 __del__ =
lambda self:
None
7893 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
7894 BoundedGridRange6D_swigregister(BoundedGridRange6D)
7896 def BoundedGridRange6D_get_is_bounded():
7897 """BoundedGridRange6D_get_is_bounded() -> bool"""
7898 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
7900 class BoundedGridRangeKD(object):
7901 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
7902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7904 def get_is_bounded():
7905 """get_is_bounded() -> bool"""
7906 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
7908 get_is_bounded = staticmethod(get_is_bounded)
7910 def __init__(self, *args):
7912 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
7913 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
7915 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
7917 self.this.append(this)
7921 def get_number_of_voxels(self, *args):
7923 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
7924 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
7926 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
7929 def get_end_index(self):
7930 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
7931 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
7934 def show(self, *args):
7936 show(BoundedGridRangeKD self, _ostream out)
7937 show(BoundedGridRangeKD self)
7939 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
7942 def get_all_indexes(self):
7943 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
7944 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
7948 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
7949 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
7952 def get_extended_indexes(self, lb, ub):
7953 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
7954 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
7958 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
7959 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
7962 def get_has_index(self, v):
7963 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
7964 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
7967 def get_minimum_extended_index(self):
7968 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
7969 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
7972 def get_maximum_extended_index(self):
7973 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
7974 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
7978 """__str__(BoundedGridRangeKD self) -> std::string"""
7979 return _IMP_algebra.BoundedGridRangeKD___str__(self)
7983 """__repr__(BoundedGridRangeKD self) -> std::string"""
7984 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
7987 def __cmp__(self, arg2):
7988 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
7989 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
7992 def __eq__(self, arg2):
7993 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
7994 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
7996 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
7997 __del__ =
lambda self:
None
7998 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
7999 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8001 def BoundedGridRangeKD_get_is_bounded():
8002 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8003 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8005 class UnboundedGridRange1D(object):
8006 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
8007 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8009 def __init__(self, *args):
8011 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8012 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8014 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8016 self.this.append(this)
8020 def set_number_of_voxels(self, arg2):
8021 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8022 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8025 def get_number_of_voxels(self, arg2):
8026 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8027 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8030 def get_is_bounded():
8031 """get_is_bounded() -> bool"""
8032 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8034 get_is_bounded = staticmethod(get_is_bounded)
8036 def get_has_index(self, arg2):
8037 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8038 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8041 def show(self, *args):
8043 show(UnboundedGridRange1D self, _ostream out)
8044 show(UnboundedGridRange1D self)
8046 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8049 def get_extended_indexes(self, lb, ub):
8050 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8051 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8055 """__str__(UnboundedGridRange1D self) -> std::string"""
8056 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8060 """__repr__(UnboundedGridRange1D self) -> std::string"""
8061 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8064 def __cmp__(self, arg2):
8065 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8066 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8069 def __eq__(self, arg2):
8070 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8071 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8073 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8074 __del__ =
lambda self:
None
8075 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8076 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8078 def UnboundedGridRange1D_get_is_bounded():
8079 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8080 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8082 class UnboundedGridRange2D(object):
8083 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
8084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8086 def __init__(self, *args):
8088 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8089 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8091 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8093 self.this.append(this)
8097 def set_number_of_voxels(self, arg2):
8098 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8099 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8102 def get_number_of_voxels(self, arg2):
8103 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8104 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8107 def get_is_bounded():
8108 """get_is_bounded() -> bool"""
8109 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8111 get_is_bounded = staticmethod(get_is_bounded)
8113 def get_has_index(self, arg2):
8114 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8115 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8118 def show(self, *args):
8120 show(UnboundedGridRange2D self, _ostream out)
8121 show(UnboundedGridRange2D self)
8123 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8126 def get_extended_indexes(self, lb, ub):
8127 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8128 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8132 """__str__(UnboundedGridRange2D self) -> std::string"""
8133 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8137 """__repr__(UnboundedGridRange2D self) -> std::string"""
8138 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8141 def __cmp__(self, arg2):
8142 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8143 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8146 def __eq__(self, arg2):
8147 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8148 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8150 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8151 __del__ =
lambda self:
None
8152 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8153 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8155 def UnboundedGridRange2D_get_is_bounded():
8156 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8157 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8159 class UnboundedGridRange3D(object):
8160 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
8161 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8163 def __init__(self, *args):
8165 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8166 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8168 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8170 self.this.append(this)
8174 def set_number_of_voxels(self, arg2):
8175 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8176 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8179 def get_number_of_voxels(self, arg2):
8180 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8181 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8184 def get_is_bounded():
8185 """get_is_bounded() -> bool"""
8186 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8188 get_is_bounded = staticmethod(get_is_bounded)
8190 def get_has_index(self, arg2):
8191 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8192 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8195 def show(self, *args):
8197 show(UnboundedGridRange3D self, _ostream out)
8198 show(UnboundedGridRange3D self)
8200 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8203 def get_extended_indexes(self, lb, ub):
8204 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8205 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8209 """__str__(UnboundedGridRange3D self) -> std::string"""
8210 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8214 """__repr__(UnboundedGridRange3D self) -> std::string"""
8215 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8218 def __cmp__(self, arg2):
8219 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8220 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8223 def __eq__(self, arg2):
8224 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8225 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8227 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8228 __del__ =
lambda self:
None
8229 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8230 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8232 def UnboundedGridRange3D_get_is_bounded():
8233 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8234 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8236 class UnboundedGridRange4D(object):
8237 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
8238 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8240 def __init__(self, *args):
8242 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8243 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8245 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8247 self.this.append(this)
8251 def set_number_of_voxels(self, arg2):
8252 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8253 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8256 def get_number_of_voxels(self, arg2):
8257 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8258 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8261 def get_is_bounded():
8262 """get_is_bounded() -> bool"""
8263 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8265 get_is_bounded = staticmethod(get_is_bounded)
8267 def get_has_index(self, arg2):
8268 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8269 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8272 def show(self, *args):
8274 show(UnboundedGridRange4D self, _ostream out)
8275 show(UnboundedGridRange4D self)
8277 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8280 def get_extended_indexes(self, lb, ub):
8281 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8282 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8286 """__str__(UnboundedGridRange4D self) -> std::string"""
8287 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8291 """__repr__(UnboundedGridRange4D self) -> std::string"""
8292 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8295 def __cmp__(self, arg2):
8296 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8297 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8300 def __eq__(self, arg2):
8301 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8302 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8304 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8305 __del__ =
lambda self:
None
8306 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8307 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8309 def UnboundedGridRange4D_get_is_bounded():
8310 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8311 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8313 class UnboundedGridRange5D(object):
8314 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
8315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8317 def __init__(self, *args):
8319 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8320 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8322 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8324 self.this.append(this)
8328 def set_number_of_voxels(self, arg2):
8329 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8330 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8333 def get_number_of_voxels(self, arg2):
8334 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8335 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8338 def get_is_bounded():
8339 """get_is_bounded() -> bool"""
8340 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8342 get_is_bounded = staticmethod(get_is_bounded)
8344 def get_has_index(self, arg2):
8345 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8346 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8349 def show(self, *args):
8351 show(UnboundedGridRange5D self, _ostream out)
8352 show(UnboundedGridRange5D self)
8354 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8357 def get_extended_indexes(self, lb, ub):
8358 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8359 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8363 """__str__(UnboundedGridRange5D self) -> std::string"""
8364 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8368 """__repr__(UnboundedGridRange5D self) -> std::string"""
8369 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8372 def __cmp__(self, arg2):
8373 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8374 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8377 def __eq__(self, arg2):
8378 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8379 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8381 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8382 __del__ =
lambda self:
None
8383 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8384 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8386 def UnboundedGridRange5D_get_is_bounded():
8387 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8388 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8390 class UnboundedGridRange6D(object):
8391 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
8392 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8394 def __init__(self, *args):
8396 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8397 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8399 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8401 self.this.append(this)
8405 def set_number_of_voxels(self, arg2):
8406 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8407 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8410 def get_number_of_voxels(self, arg2):
8411 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8412 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8415 def get_is_bounded():
8416 """get_is_bounded() -> bool"""
8417 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8419 get_is_bounded = staticmethod(get_is_bounded)
8421 def get_has_index(self, arg2):
8422 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8423 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8426 def show(self, *args):
8428 show(UnboundedGridRange6D self, _ostream out)
8429 show(UnboundedGridRange6D self)
8431 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8434 def get_extended_indexes(self, lb, ub):
8435 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8436 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8440 """__str__(UnboundedGridRange6D self) -> std::string"""
8441 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8445 """__repr__(UnboundedGridRange6D self) -> std::string"""
8446 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8449 def __cmp__(self, arg2):
8450 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8451 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8454 def __eq__(self, arg2):
8455 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8456 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8458 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8459 __del__ =
lambda self:
None
8460 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8461 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8463 def UnboundedGridRange6D_get_is_bounded():
8464 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8465 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8467 class UnboundedGridRangeKD(object):
8468 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
8469 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8471 def __init__(self, *args):
8473 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8474 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8476 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8478 self.this.append(this)
8482 def set_number_of_voxels(self, arg2):
8483 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8484 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8487 def get_number_of_voxels(self, arg2):
8488 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8489 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8492 def get_is_bounded():
8493 """get_is_bounded() -> bool"""
8494 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8496 get_is_bounded = staticmethod(get_is_bounded)
8498 def get_has_index(self, arg2):
8499 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8500 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8503 def show(self, *args):
8505 show(UnboundedGridRangeKD self, _ostream out)
8506 show(UnboundedGridRangeKD self)
8508 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8511 def get_extended_indexes(self, lb, ub):
8512 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8513 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8517 """__str__(UnboundedGridRangeKD self) -> std::string"""
8518 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8522 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8523 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8526 def __cmp__(self, arg2):
8527 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8528 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8531 def __eq__(self, arg2):
8532 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8533 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8535 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8536 __del__ =
lambda self:
None
8537 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8538 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8540 def UnboundedGridRangeKD_get_is_bounded():
8541 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8542 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8544 class DefaultEmbedding1D(object):
8545 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> 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::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8551 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8553 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8555 self.this.append(this)
8559 def set_origin(self, o):
8560 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8561 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8564 def get_origin(self):
8565 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8566 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8569 def get_dimension(self):
8570 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8571 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8574 def set_unit_cell(self, o):
8575 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8576 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8579 def get_inverse_unit_cell(self):
8580 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8581 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8584 def get_unit_cell(self):
8585 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8586 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8589 def get_extended_index(self, o):
8590 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8591 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8595 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8596 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8599 def get_center(self, *args):
8601 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8602 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8604 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8607 def get_bounding_box(self, *args):
8609 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8610 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8612 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8615 def show(self, *args):
8617 show(DefaultEmbedding1D self, _ostream out)
8618 show(DefaultEmbedding1D self)
8620 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8624 """__str__(DefaultEmbedding1D self) -> std::string"""
8625 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8629 """__repr__(DefaultEmbedding1D self) -> std::string"""
8630 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8633 def __cmp__(self, arg2):
8634 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
8635 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
8638 def __eq__(self, arg2):
8639 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
8640 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
8642 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
8643 __del__ =
lambda self:
None
8644 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
8645 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
8647 class DefaultEmbedding2D(object):
8648 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
8649 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8651 def __init__(self, *args):
8653 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
8654 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
8656 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
8658 self.this.append(this)
8662 def set_origin(self, o):
8663 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
8664 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
8667 def get_origin(self):
8668 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
8669 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
8672 def get_dimension(self):
8673 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
8674 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
8677 def set_unit_cell(self, o):
8678 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
8679 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
8682 def get_inverse_unit_cell(self):
8683 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
8684 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
8687 def get_unit_cell(self):
8688 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
8689 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
8692 def get_extended_index(self, o):
8693 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
8694 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
8698 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
8699 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
8702 def get_center(self, *args):
8704 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
8705 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
8707 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
8710 def get_bounding_box(self, *args):
8712 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
8713 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
8715 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
8718 def show(self, *args):
8720 show(DefaultEmbedding2D self, _ostream out)
8721 show(DefaultEmbedding2D self)
8723 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
8727 """__str__(DefaultEmbedding2D self) -> std::string"""
8728 return _IMP_algebra.DefaultEmbedding2D___str__(self)
8732 """__repr__(DefaultEmbedding2D self) -> std::string"""
8733 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
8736 def __cmp__(self, arg2):
8737 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
8738 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
8741 def __eq__(self, arg2):
8742 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
8743 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
8745 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
8746 __del__ =
lambda self:
None
8747 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
8748 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
8750 class DefaultEmbedding3D(object):
8751 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
8752 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8754 def __init__(self, *args):
8756 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
8757 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
8759 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
8761 self.this.append(this)
8765 def set_origin(self, o):
8766 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
8767 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
8770 def get_origin(self):
8771 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
8772 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
8775 def get_dimension(self):
8776 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
8777 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
8780 def set_unit_cell(self, o):
8781 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
8782 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
8785 def get_inverse_unit_cell(self):
8786 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
8787 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
8790 def get_unit_cell(self):
8791 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
8792 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
8795 def get_extended_index(self, o):
8796 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
8797 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
8801 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
8802 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
8805 def get_center(self, *args):
8807 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
8808 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
8810 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
8813 def get_bounding_box(self, *args):
8815 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
8816 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
8818 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
8821 def show(self, *args):
8823 show(DefaultEmbedding3D self, _ostream out)
8824 show(DefaultEmbedding3D self)
8826 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
8830 """__str__(DefaultEmbedding3D self) -> std::string"""
8831 return _IMP_algebra.DefaultEmbedding3D___str__(self)
8835 """__repr__(DefaultEmbedding3D self) -> std::string"""
8836 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
8839 def __cmp__(self, arg2):
8840 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
8841 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
8844 def __eq__(self, arg2):
8845 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
8846 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
8848 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
8849 __del__ =
lambda self:
None
8850 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
8851 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
8853 class DefaultEmbedding4D(object):
8854 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
8855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8857 def __init__(self, *args):
8859 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
8860 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
8862 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
8864 self.this.append(this)
8868 def set_origin(self, o):
8869 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
8870 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
8873 def get_origin(self):
8874 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
8875 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
8878 def get_dimension(self):
8879 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
8880 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
8883 def set_unit_cell(self, o):
8884 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
8885 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
8888 def get_inverse_unit_cell(self):
8889 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
8890 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
8893 def get_unit_cell(self):
8894 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
8895 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
8898 def get_extended_index(self, o):
8899 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
8900 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
8904 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
8905 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
8908 def get_center(self, *args):
8910 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
8911 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
8913 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
8916 def get_bounding_box(self, *args):
8918 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
8919 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
8921 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
8924 def show(self, *args):
8926 show(DefaultEmbedding4D self, _ostream out)
8927 show(DefaultEmbedding4D self)
8929 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
8933 """__str__(DefaultEmbedding4D self) -> std::string"""
8934 return _IMP_algebra.DefaultEmbedding4D___str__(self)
8938 """__repr__(DefaultEmbedding4D self) -> std::string"""
8939 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
8942 def __cmp__(self, arg2):
8943 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
8944 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
8947 def __eq__(self, arg2):
8948 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
8949 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
8951 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
8952 __del__ =
lambda self:
None
8953 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
8954 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
8956 class DefaultEmbedding5D(object):
8957 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
8958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8960 def __init__(self, *args):
8962 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
8963 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
8965 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
8967 self.this.append(this)
8971 def set_origin(self, o):
8972 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
8973 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
8976 def get_origin(self):
8977 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
8978 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
8981 def get_dimension(self):
8982 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
8983 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
8986 def set_unit_cell(self, o):
8987 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
8988 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
8991 def get_inverse_unit_cell(self):
8992 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
8993 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
8996 def get_unit_cell(self):
8997 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
8998 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9001 def get_extended_index(self, o):
9002 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9003 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9007 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9008 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9011 def get_center(self, *args):
9013 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9014 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9016 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9019 def get_bounding_box(self, *args):
9021 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9022 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9024 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9027 def show(self, *args):
9029 show(DefaultEmbedding5D self, _ostream out)
9030 show(DefaultEmbedding5D self)
9032 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9036 """__str__(DefaultEmbedding5D self) -> std::string"""
9037 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9041 """__repr__(DefaultEmbedding5D self) -> std::string"""
9042 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9045 def __cmp__(self, arg2):
9046 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9047 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9050 def __eq__(self, arg2):
9051 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9052 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9054 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9055 __del__ =
lambda self:
None
9056 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9057 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9059 class DefaultEmbedding6D(object):
9060 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
9061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9063 def __init__(self, *args):
9065 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9066 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9068 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9070 self.this.append(this)
9074 def set_origin(self, o):
9075 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9076 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9079 def get_origin(self):
9080 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9081 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9084 def get_dimension(self):
9085 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9086 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9089 def set_unit_cell(self, o):
9090 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9091 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9094 def get_inverse_unit_cell(self):
9095 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9096 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9099 def get_unit_cell(self):
9100 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9101 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9104 def get_extended_index(self, o):
9105 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9106 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9110 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9111 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9114 def get_center(self, *args):
9116 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9117 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9119 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9122 def get_bounding_box(self, *args):
9124 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9125 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9127 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9130 def show(self, *args):
9132 show(DefaultEmbedding6D self, _ostream out)
9133 show(DefaultEmbedding6D self)
9135 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9139 """__str__(DefaultEmbedding6D self) -> std::string"""
9140 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9144 """__repr__(DefaultEmbedding6D self) -> std::string"""
9145 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9148 def __cmp__(self, arg2):
9149 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9150 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9153 def __eq__(self, arg2):
9154 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9155 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9157 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9158 __del__ =
lambda self:
None
9159 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9160 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9162 class DefaultEmbeddingKD(object):
9163 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
9164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9166 def __init__(self, *args):
9168 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9169 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9171 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9173 self.this.append(this)
9177 def set_origin(self, o):
9178 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9179 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9182 def get_origin(self):
9183 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9184 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9187 def get_dimension(self):
9188 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9189 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9192 def set_unit_cell(self, o):
9193 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9194 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9197 def get_inverse_unit_cell(self):
9198 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9199 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9202 def get_unit_cell(self):
9203 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9204 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9207 def get_extended_index(self, o):
9208 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9209 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9213 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9214 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9217 def get_center(self, *args):
9219 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9220 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9222 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9225 def get_bounding_box(self, *args):
9227 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9228 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9230 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9233 def show(self, *args):
9235 show(DefaultEmbeddingKD self, _ostream out)
9236 show(DefaultEmbeddingKD self)
9238 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9242 """__str__(DefaultEmbeddingKD self) -> std::string"""
9243 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9247 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9248 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9251 def __cmp__(self, arg2):
9252 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9253 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9256 def __eq__(self, arg2):
9257 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9258 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9260 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9261 __del__ =
lambda self:
None
9262 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9263 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9265 class LogEmbedding1D(object):
9266 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
9267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9269 def __init__(self, *args):
9271 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9272 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9273 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9274 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9275 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9277 this = _IMP_algebra.new_LogEmbedding1D(*args)
9279 self.this.append(this)
9283 def set_origin(self, o):
9284 """set_origin(LogEmbedding1D self, Vector1D o)"""
9285 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9288 def get_origin(self):
9289 """get_origin(LogEmbedding1D self) -> Vector1D"""
9290 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9293 def get_dimension(self):
9294 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9295 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9298 def set_unit_cell(self, *args):
9300 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9301 set_unit_cell(LogEmbedding1D self, Vector1D o)
9303 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9306 def get_unit_cell(self):
9307 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9308 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9311 def get_extended_index(self, o):
9312 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9313 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9317 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9318 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9321 def get_center(self, *args):
9323 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9324 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9326 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9329 def get_bounding_box(self, *args):
9331 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9332 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9334 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9337 def show(self, *args):
9339 show(LogEmbedding1D self, _ostream out)
9340 show(LogEmbedding1D self)
9342 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9346 """__str__(LogEmbedding1D self) -> std::string"""
9347 return _IMP_algebra.LogEmbedding1D___str__(self)
9351 """__repr__(LogEmbedding1D self) -> std::string"""
9352 return _IMP_algebra.LogEmbedding1D___repr__(self)
9355 def __cmp__(self, arg2):
9356 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9357 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9360 def __eq__(self, arg2):
9361 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9362 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9364 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9365 __del__ =
lambda self:
None
9366 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9367 LogEmbedding1D_swigregister(LogEmbedding1D)
9369 class LogEmbedding2D(object):
9370 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
9371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9373 def __init__(self, *args):
9375 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9376 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9377 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9378 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9379 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9381 this = _IMP_algebra.new_LogEmbedding2D(*args)
9383 self.this.append(this)
9387 def set_origin(self, o):
9388 """set_origin(LogEmbedding2D self, Vector2D o)"""
9389 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9392 def get_origin(self):
9393 """get_origin(LogEmbedding2D self) -> Vector2D"""
9394 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9397 def get_dimension(self):
9398 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9399 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9402 def set_unit_cell(self, *args):
9404 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9405 set_unit_cell(LogEmbedding2D self, Vector2D o)
9407 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9410 def get_unit_cell(self):
9411 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9412 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9415 def get_extended_index(self, o):
9416 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9417 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9421 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9422 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9425 def get_center(self, *args):
9427 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9428 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9430 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9433 def get_bounding_box(self, *args):
9435 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9436 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9438 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9441 def show(self, *args):
9443 show(LogEmbedding2D self, _ostream out)
9444 show(LogEmbedding2D self)
9446 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9450 """__str__(LogEmbedding2D self) -> std::string"""
9451 return _IMP_algebra.LogEmbedding2D___str__(self)
9455 """__repr__(LogEmbedding2D self) -> std::string"""
9456 return _IMP_algebra.LogEmbedding2D___repr__(self)
9459 def __cmp__(self, arg2):
9460 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9461 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9464 def __eq__(self, arg2):
9465 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9466 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9468 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9469 __del__ =
lambda self:
None
9470 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9471 LogEmbedding2D_swigregister(LogEmbedding2D)
9473 class LogEmbedding4D(object):
9474 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
9475 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9477 def __init__(self, *args):
9479 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9480 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9481 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9482 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9483 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9485 this = _IMP_algebra.new_LogEmbedding4D(*args)
9487 self.this.append(this)
9491 def set_origin(self, o):
9492 """set_origin(LogEmbedding4D self, Vector4D o)"""
9493 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9496 def get_origin(self):
9497 """get_origin(LogEmbedding4D self) -> Vector4D"""
9498 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9501 def get_dimension(self):
9502 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9503 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9506 def set_unit_cell(self, *args):
9508 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9509 set_unit_cell(LogEmbedding4D self, Vector4D o)
9511 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9514 def get_unit_cell(self):
9515 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9516 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9519 def get_extended_index(self, o):
9520 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9521 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9525 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9526 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9529 def get_center(self, *args):
9531 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9532 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9534 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9537 def get_bounding_box(self, *args):
9539 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9540 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9542 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9545 def show(self, *args):
9547 show(LogEmbedding4D self, _ostream out)
9548 show(LogEmbedding4D self)
9550 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9554 """__str__(LogEmbedding4D self) -> std::string"""
9555 return _IMP_algebra.LogEmbedding4D___str__(self)
9559 """__repr__(LogEmbedding4D self) -> std::string"""
9560 return _IMP_algebra.LogEmbedding4D___repr__(self)
9563 def __cmp__(self, arg2):
9564 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9565 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9568 def __eq__(self, arg2):
9569 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9570 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9572 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9573 __del__ =
lambda self:
None
9574 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9575 LogEmbedding4D_swigregister(LogEmbedding4D)
9577 class LogEmbedding5D(object):
9578 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
9579 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9581 def __init__(self, *args):
9583 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9584 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9585 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9586 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9587 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9589 this = _IMP_algebra.new_LogEmbedding5D(*args)
9591 self.this.append(this)
9595 def set_origin(self, o):
9596 """set_origin(LogEmbedding5D self, Vector5D o)"""
9597 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9600 def get_origin(self):
9601 """get_origin(LogEmbedding5D self) -> Vector5D"""
9602 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9605 def get_dimension(self):
9606 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9607 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9610 def set_unit_cell(self, *args):
9612 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9613 set_unit_cell(LogEmbedding5D self, Vector5D o)
9615 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9618 def get_unit_cell(self):
9619 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9620 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9623 def get_extended_index(self, o):
9624 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9625 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
9629 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
9630 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
9633 def get_center(self, *args):
9635 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9636 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
9638 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
9641 def get_bounding_box(self, *args):
9643 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9644 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9646 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
9649 def show(self, *args):
9651 show(LogEmbedding5D self, _ostream out)
9652 show(LogEmbedding5D self)
9654 return _IMP_algebra.LogEmbedding5D_show(self, *args)
9658 """__str__(LogEmbedding5D self) -> std::string"""
9659 return _IMP_algebra.LogEmbedding5D___str__(self)
9663 """__repr__(LogEmbedding5D self) -> std::string"""
9664 return _IMP_algebra.LogEmbedding5D___repr__(self)
9667 def __cmp__(self, arg2):
9668 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
9669 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
9672 def __eq__(self, arg2):
9673 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
9674 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
9676 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
9677 __del__ =
lambda self:
None
9678 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
9679 LogEmbedding5D_swigregister(LogEmbedding5D)
9681 class LogEmbedding6D(object):
9682 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
9683 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9685 def __init__(self, *args):
9687 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
9688 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
9689 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
9690 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
9691 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
9693 this = _IMP_algebra.new_LogEmbedding6D(*args)
9695 self.this.append(this)
9699 def set_origin(self, o):
9700 """set_origin(LogEmbedding6D self, Vector6D o)"""
9701 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
9704 def get_origin(self):
9705 """get_origin(LogEmbedding6D self) -> Vector6D"""
9706 return _IMP_algebra.LogEmbedding6D_get_origin(self)
9709 def get_dimension(self):
9710 """get_dimension(LogEmbedding6D self) -> unsigned int"""
9711 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
9714 def set_unit_cell(self, *args):
9716 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
9717 set_unit_cell(LogEmbedding6D self, Vector6D o)
9719 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
9722 def get_unit_cell(self):
9723 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
9724 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
9727 def get_extended_index(self, o):
9728 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9729 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
9733 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
9734 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
9737 def get_center(self, *args):
9739 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9740 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
9742 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
9745 def get_bounding_box(self, *args):
9747 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9748 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9750 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
9753 def show(self, *args):
9755 show(LogEmbedding6D self, _ostream out)
9756 show(LogEmbedding6D self)
9758 return _IMP_algebra.LogEmbedding6D_show(self, *args)
9762 """__str__(LogEmbedding6D self) -> std::string"""
9763 return _IMP_algebra.LogEmbedding6D___str__(self)
9767 """__repr__(LogEmbedding6D self) -> std::string"""
9768 return _IMP_algebra.LogEmbedding6D___repr__(self)
9771 def __cmp__(self, arg2):
9772 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
9773 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
9776 def __eq__(self, arg2):
9777 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
9778 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
9780 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
9781 __del__ =
lambda self:
None
9782 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
9783 LogEmbedding6D_swigregister(LogEmbedding6D)
9785 class SpherePatch3D(_GeometricPrimitive3D):
9786 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
9787 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9789 def __init__(self, *args):
9791 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
9792 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
9794 this = _IMP_algebra.new_SpherePatch3D(*args)
9796 self.this.append(this)
9800 def get_contains(self, p):
9801 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
9802 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
9805 def get_plane(self):
9806 """get_plane(SpherePatch3D self) -> Plane3D"""
9807 return _IMP_algebra.SpherePatch3D_get_plane(self)
9810 def get_sphere(self):
9811 """get_sphere(SpherePatch3D self) -> Sphere3D"""
9812 return _IMP_algebra.SpherePatch3D_get_sphere(self)
9815 def show(self, *args):
9817 show(SpherePatch3D self, _ostream out)
9818 show(SpherePatch3D self)
9820 return _IMP_algebra.SpherePatch3D_show(self, *args)
9823 def get_boundary_point(self):
9824 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
9825 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
9829 """__str__(SpherePatch3D self) -> std::string"""
9830 return _IMP_algebra.SpherePatch3D___str__(self)
9834 """__repr__(SpherePatch3D self) -> std::string"""
9835 return _IMP_algebra.SpherePatch3D___repr__(self)
9837 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
9838 __del__ =
lambda self:
None
9839 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
9840 SpherePatch3D_swigregister(SpherePatch3D)
9845 get_area(Plane3D g) -> double
9846 get_area(SpherePatch3D g) -> double
9848 return _IMP_algebra.get_area(*args)
9850 def get_sphere_patch_3d_geometry(g):
9851 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
9852 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
9853 class Cone3D(_GeometricPrimitive3D):
9854 """Proxy of C++ IMP::algebra::Cone3D class"""
9855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9857 def __init__(self, *args):
9859 __init__(IMP::algebra::Cone3D self) -> Cone3D
9860 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
9862 this = _IMP_algebra.new_Cone3D(*args)
9864 self.this.append(this)
9869 """get_tip(Cone3D self) -> Vector3D"""
9870 return _IMP_algebra.Cone3D_get_tip(self)
9873 def get_direction(self):
9874 """get_direction(Cone3D self) -> Vector3D"""
9875 return _IMP_algebra.Cone3D_get_direction(self)
9878 def get_height(self):
9879 """get_height(Cone3D self) -> double"""
9880 return _IMP_algebra.Cone3D_get_height(self)
9883 def get_angle(self):
9884 """get_angle(Cone3D self) -> double"""
9885 return _IMP_algebra.Cone3D_get_angle(self)
9888 def get_radius(self):
9889 """get_radius(Cone3D self) -> double"""
9890 return _IMP_algebra.Cone3D_get_radius(self)
9893 def get_contains(self, v):
9894 """get_contains(Cone3D self, Vector3D v) -> bool"""
9895 return _IMP_algebra.Cone3D_get_contains(self, v)
9898 def get_base_plane(self):
9899 """get_base_plane(Cone3D self) -> Plane3D"""
9900 return _IMP_algebra.Cone3D_get_base_plane(self)
9903 def show(self, *args):
9905 show(Cone3D self, _ostream out)
9908 return _IMP_algebra.Cone3D_show(self, *args)
9912 """__str__(Cone3D self) -> std::string"""
9913 return _IMP_algebra.Cone3D___str__(self)
9917 """__repr__(Cone3D self) -> std::string"""
9918 return _IMP_algebra.Cone3D___repr__(self)
9920 __swig_destroy__ = _IMP_algebra.delete_Cone3D
9921 __del__ =
lambda self:
None
9922 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
9923 Cone3D_swigregister(Cone3D)
9928 get_surface_area(BoundingBox3D g) -> double
9929 get_surface_area(Sphere3D g) -> double
9930 get_surface_area(Cylinder3D g) -> double
9931 get_surface_area(Ellipsoid3D g) -> double
9932 get_surface_area(Cone3D g) -> double
9934 return _IMP_algebra.get_surface_area(*args)
9938 get_volume(BoundingBox3D g) -> double
9939 get_volume(Sphere3D g) -> double
9940 get_volume(Cylinder3D g) -> double
9941 get_volume(Ellipsoid3D g) -> double
9942 get_volume(Cone3D g) -> double
9944 return _IMP_algebra.get_volume(*args)
9946 def get_cone_3d_geometry(g):
9947 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
9948 return _IMP_algebra.get_cone_3d_geometry(g)
9951 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
9952 return _IMP_algebra.write_pts(vs, out)
9955 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
9956 return _IMP_algebra.read_pts(input)
9959 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
9960 return _IMP_algebra.write_spheres(vs, out)
9963 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
9964 return _IMP_algebra.read_spheres(input)
9967 """get_random_vector_on_unit_sphere() -> Vector3D"""
9968 return _IMP_algebra.get_random_vector_on_unit_sphere()
9971 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
9972 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
9976 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
9977 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
9978 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
9980 return _IMP_algebra.get_random_chain(*args)
9983 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
9984 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
9988 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
9989 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
9991 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
9994 """get_is_big_endian() -> bool"""
9995 return _IMP_algebra.get_is_big_endian()
9998 """get_is_little_endian() -> bool"""
9999 return _IMP_algebra.get_is_little_endian()
10003 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10004 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10006 return _IMP_algebra.get_shortest_segment(*args)
10008 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
10009 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10011 def __init__(self, vs, query_estimate=1):
10013 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10014 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10016 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10018 self.this.append(this)
10022 def get_in_ball(self, id, distance):
10023 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10024 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10027 def set_coordinates(self, id, nc):
10028 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10029 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10032 def get_version_info(self):
10033 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10034 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10038 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10039 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10042 def __repr__(self):
10043 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10044 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10047 return _object_cast_to_DynamicNearestNeighbor3D(o)
10048 get_from = staticmethod(get_from)
10050 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10051 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10054 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
10055 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10057 def __init__(self, name):
10058 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10059 if self.__class__ == VectorKDMetric:
10063 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10065 self.this.append(this)
10068 if self.__class__ != VectorKDMetric:
10069 _director_objects.register(self)
10075 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10076 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10080 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10081 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10085 """__str__(VectorKDMetric self) -> std::string"""
10086 return _IMP_algebra.VectorKDMetric___str__(self)
10089 def __repr__(self):
10090 """__repr__(VectorKDMetric self) -> std::string"""
10091 return _IMP_algebra.VectorKDMetric___repr__(self)
10094 return _object_cast_to_VectorKDMetric(o)
10095 get_from = staticmethod(get_from)
10097 def get_type_name(self):
10098 return self.__class__.__name__
10099 def do_show(self, out):
10101 def get_version_info(self):
10102 if"IMP::algebra" ==
"IMP":
10103 return VersionInfo(self.__module__,
10104 __import__(self.__module__).get_module_version())
10107 __import__(self.__module__).get_module_version())
10109 return _object_cast_to_VectorKDMetric(o)
10110 get_from = staticmethod(get_from)
10112 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10113 __del__ =
lambda self:
None
10114 def __disown__(self):
10116 _IMP_algebra.disown_VectorKDMetric(self)
10117 return weakref_proxy(self)
10119 def do_destroy(self):
10120 """do_destroy(VectorKDMetric self)"""
10121 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10123 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10124 VectorKDMetric_swigregister(VectorKDMetric)
10126 class EuclideanVectorKDMetric(VectorKDMetric):
10127 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
10128 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10130 def __init__(self, *args):
10132 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10133 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10135 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10137 self.this.append(this)
10141 def get_version_info(self):
10142 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10143 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10147 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10148 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10151 def __repr__(self):
10152 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10153 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10156 return _object_cast_to_EuclideanVectorKDMetric(o)
10157 get_from = staticmethod(get_from)
10159 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10160 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10162 class MaxVectorKDMetric(VectorKDMetric):
10163 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
10164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10166 def __init__(self, *args):
10168 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10169 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10171 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10173 self.this.append(this)
10177 def get_version_info(self):
10178 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10179 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10183 """__str__(MaxVectorKDMetric self) -> std::string"""
10184 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10187 def __repr__(self):
10188 """__repr__(MaxVectorKDMetric self) -> std::string"""
10189 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10192 return _object_cast_to_MaxVectorKDMetric(o)
10193 get_from = staticmethod(get_from)
10195 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10196 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10198 class Gaussian3D(_GeometricPrimitive3D):
10199 """Proxy of C++ IMP::algebra::Gaussian3D class"""
10200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10202 def __init__(self, *args):
10204 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10205 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10207 this = _IMP_algebra.new_Gaussian3D(*args)
10209 self.this.append(this)
10213 def get_reference_frame(self):
10214 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10215 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10218 def get_variances(self):
10219 """get_variances(Gaussian3D self) -> Vector3D"""
10220 return _IMP_algebra.Gaussian3D_get_variances(self)
10223 def get_center(self):
10224 """get_center(Gaussian3D self) -> Vector3D"""
10225 return _IMP_algebra.Gaussian3D_get_center(self)
10228 def show(self, *args):
10230 show(Gaussian3D self, _ostream out)
10231 show(Gaussian3D self)
10233 return _IMP_algebra.Gaussian3D_show(self, *args)
10237 """__str__(Gaussian3D self) -> std::string"""
10238 return _IMP_algebra.Gaussian3D___str__(self)
10241 def __repr__(self):
10242 """__repr__(Gaussian3D self) -> std::string"""
10243 return _IMP_algebra.Gaussian3D___repr__(self)
10245 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10246 __del__ =
lambda self:
None
10247 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10248 Gaussian3D_swigregister(Gaussian3D)
10252 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
10253 return _IMP_algebra.get_covariance(g)
10256 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10257 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10260 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseFloatGrid3D"""
10261 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10263 def _pass_matrix_xf(m):
10264 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
10265 return _IMP_algebra._pass_matrix_xf(m)
10267 def _pass_matrix_xd(m):
10268 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
10269 return _IMP_algebra._pass_matrix_xd(m)
10271 def _pass_matrix_3d(m):
10272 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
10273 return _IMP_algebra._pass_matrix_3d(m)
10275 def _pass_array_xd(m):
10276 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
10277 return _IMP_algebra._pass_array_xd(m)
10279 def _pass_vector_xd(m):
10280 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
10281 return _IMP_algebra._pass_vector_xd(m)
10283 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
10284 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10286 def __init__(self, *args):
10288 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10289 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10291 this = _IMP_algebra.new_NearestNeighbor1D(*args)
10293 self.this.append(this)
10297 def set_query_log(self, fname):
10298 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10299 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10302 def get_nearest_neighbor(self, *args):
10304 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10305 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10307 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10310 def get_nearest_neighbors(self, *args):
10312 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10313 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10315 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10318 def get_in_ball(self, *args):
10320 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10321 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10323 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10326 def get_version_info(self):
10327 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10328 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10332 """__str__(NearestNeighbor1D self) -> std::string"""
10333 return _IMP_algebra.NearestNeighbor1D___str__(self)
10336 def __repr__(self):
10337 """__repr__(NearestNeighbor1D self) -> std::string"""
10338 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10341 return _object_cast_to_NearestNeighborD(o)
10342 get_from = staticmethod(get_from)
10344 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10345 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10348 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
10349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10351 def __init__(self, *args):
10353 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10354 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10356 this = _IMP_algebra.new_NearestNeighbor2D(*args)
10358 self.this.append(this)
10362 def set_query_log(self, fname):
10363 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10364 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10367 def get_nearest_neighbor(self, *args):
10369 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10370 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10372 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10375 def get_nearest_neighbors(self, *args):
10377 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10378 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10380 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10383 def get_in_ball(self, *args):
10385 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10386 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10388 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10391 def get_version_info(self):
10392 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10393 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10397 """__str__(NearestNeighbor2D self) -> std::string"""
10398 return _IMP_algebra.NearestNeighbor2D___str__(self)
10401 def __repr__(self):
10402 """__repr__(NearestNeighbor2D self) -> std::string"""
10403 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10406 return _object_cast_to_NearestNeighborD(o)
10407 get_from = staticmethod(get_from)
10409 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10410 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10413 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
10414 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10416 def __init__(self, *args):
10418 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10419 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10421 this = _IMP_algebra.new_NearestNeighbor3D(*args)
10423 self.this.append(this)
10427 def set_query_log(self, fname):
10428 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10429 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10432 def get_nearest_neighbor(self, *args):
10434 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10435 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10437 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10440 def get_nearest_neighbors(self, *args):
10442 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10443 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10445 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10448 def get_in_ball(self, *args):
10450 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10451 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10453 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10456 def get_version_info(self):
10457 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10458 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10462 """__str__(NearestNeighbor3D self) -> std::string"""
10463 return _IMP_algebra.NearestNeighbor3D___str__(self)
10466 def __repr__(self):
10467 """__repr__(NearestNeighbor3D self) -> std::string"""
10468 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10471 return _object_cast_to_NearestNeighborD(o)
10472 get_from = staticmethod(get_from)
10474 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10475 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10478 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
10479 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10481 def __init__(self, *args):
10483 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10484 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10486 this = _IMP_algebra.new_NearestNeighbor4D(*args)
10488 self.this.append(this)
10492 def set_query_log(self, fname):
10493 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10494 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10497 def get_nearest_neighbor(self, *args):
10499 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10500 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10502 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10505 def get_nearest_neighbors(self, *args):
10507 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10508 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10510 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10513 def get_in_ball(self, *args):
10515 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10516 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10518 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10521 def get_version_info(self):
10522 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10523 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10527 """__str__(NearestNeighbor4D self) -> std::string"""
10528 return _IMP_algebra.NearestNeighbor4D___str__(self)
10531 def __repr__(self):
10532 """__repr__(NearestNeighbor4D self) -> std::string"""
10533 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10536 return _object_cast_to_NearestNeighborD(o)
10537 get_from = staticmethod(get_from)
10539 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10540 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10543 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
10544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10546 def __init__(self, *args):
10548 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10549 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10551 this = _IMP_algebra.new_NearestNeighbor5D(*args)
10553 self.this.append(this)
10557 def set_query_log(self, fname):
10558 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10559 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10562 def get_nearest_neighbor(self, *args):
10564 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10565 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10567 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10570 def get_nearest_neighbors(self, *args):
10572 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10573 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10575 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10578 def get_in_ball(self, *args):
10580 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10581 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10583 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10586 def get_version_info(self):
10587 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10588 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10592 """__str__(NearestNeighbor5D self) -> std::string"""
10593 return _IMP_algebra.NearestNeighbor5D___str__(self)
10596 def __repr__(self):
10597 """__repr__(NearestNeighbor5D self) -> std::string"""
10598 return _IMP_algebra.NearestNeighbor5D___repr__(self)
10601 return _object_cast_to_NearestNeighborD(o)
10602 get_from = staticmethod(get_from)
10604 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
10605 NearestNeighbor5D_swigregister(NearestNeighbor5D)
10608 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
10609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10611 def __init__(self, *args):
10613 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
10614 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
10616 this = _IMP_algebra.new_NearestNeighbor6D(*args)
10618 self.this.append(this)
10622 def set_query_log(self, fname):
10623 """set_query_log(NearestNeighbor6D self, std::string fname)"""
10624 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
10627 def get_nearest_neighbor(self, *args):
10629 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
10630 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
10632 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
10635 def get_nearest_neighbors(self, *args):
10637 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
10638 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
10640 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
10643 def get_in_ball(self, *args):
10645 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
10646 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
10648 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
10651 def get_version_info(self):
10652 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
10653 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
10657 """__str__(NearestNeighbor6D self) -> std::string"""
10658 return _IMP_algebra.NearestNeighbor6D___str__(self)
10661 def __repr__(self):
10662 """__repr__(NearestNeighbor6D self) -> std::string"""
10663 return _IMP_algebra.NearestNeighbor6D___repr__(self)
10666 return _object_cast_to_NearestNeighborD(o)
10667 get_from = staticmethod(get_from)
10669 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
10670 NearestNeighbor6D_swigregister(NearestNeighbor6D)
10673 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
10674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10676 def __init__(self, *args):
10678 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
10679 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
10681 this = _IMP_algebra.new_NearestNeighborKD(*args)
10683 self.this.append(this)
10687 def set_query_log(self, fname):
10688 """set_query_log(NearestNeighborKD self, std::string fname)"""
10689 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
10692 def get_nearest_neighbor(self, *args):
10694 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
10695 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
10697 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
10700 def get_nearest_neighbors(self, *args):
10702 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
10703 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
10705 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
10708 def get_in_ball(self, *args):
10710 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
10711 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
10713 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
10716 def get_version_info(self):
10717 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
10718 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
10722 """__str__(NearestNeighborKD self) -> std::string"""
10723 return _IMP_algebra.NearestNeighborKD___str__(self)
10726 def __repr__(self):
10727 """__repr__(NearestNeighborKD self) -> std::string"""
10728 return _IMP_algebra.NearestNeighborKD___repr__(self)
10731 return _object_cast_to_NearestNeighborD(o)
10732 get_from = staticmethod(get_from)
10734 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
10735 NearestNeighborKD_swigregister(NearestNeighborKD)
10739 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
10740 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
10741 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
10742 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
10743 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10745 def __init__(self, *args):
10747 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
10748 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
10750 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
10752 self.this.append(this)
10757 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
10758 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
10761 def get_principal_component(self, i):
10762 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
10763 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
10766 def get_principal_values(self):
10767 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
10768 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
10771 def get_principal_value(self, i):
10772 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
10773 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
10777 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
10778 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
10781 def set_centroid(self, cntr):
10782 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
10783 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
10786 def show(self, *args):
10788 show(PrincipalComponentAnalysis1D self, _ostream out)
10789 show(PrincipalComponentAnalysis1D self)
10791 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
10794 def __cmp__(self, o):
10795 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
10796 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
10799 def __eq__(self, o):
10800 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
10801 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
10804 def __ne__(self, o):
10805 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
10806 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
10809 def __lt__(self, o):
10810 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
10811 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
10814 def __gt__(self, o):
10815 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
10816 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
10819 def __ge__(self, o):
10820 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
10821 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
10824 def __le__(self, o):
10825 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
10826 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
10830 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
10831 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
10834 def __repr__(self):
10835 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
10836 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
10838 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
10839 __del__ =
lambda self:
None
10840 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
10841 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
10843 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
10844 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
10845 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10847 def __init__(self, *args):
10849 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
10850 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
10852 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
10854 self.this.append(this)
10859 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
10860 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
10863 def get_principal_component(self, i):
10864 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
10865 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
10868 def get_principal_values(self):
10869 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
10870 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
10873 def get_principal_value(self, i):
10874 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
10875 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
10879 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
10880 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
10883 def set_centroid(self, cntr):
10884 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
10885 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
10888 def show(self, *args):
10890 show(PrincipalComponentAnalysis2D self, _ostream out)
10891 show(PrincipalComponentAnalysis2D self)
10893 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
10896 def __cmp__(self, o):
10897 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
10898 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
10901 def __eq__(self, o):
10902 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
10903 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
10906 def __ne__(self, o):
10907 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
10908 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
10911 def __lt__(self, o):
10912 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
10913 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
10916 def __gt__(self, o):
10917 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
10918 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
10921 def __ge__(self, o):
10922 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
10923 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
10926 def __le__(self, o):
10927 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
10928 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
10932 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
10933 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
10936 def __repr__(self):
10937 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
10938 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
10940 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
10941 __del__ =
lambda self:
None
10942 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
10943 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
10945 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
10946 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
10947 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10949 def __init__(self, *args):
10951 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
10952 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
10954 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
10956 self.this.append(this)
10961 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
10962 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
10965 def get_principal_component(self, i):
10966 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
10967 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
10970 def get_principal_values(self):
10971 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
10972 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
10975 def get_principal_value(self, i):
10976 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
10977 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
10981 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
10982 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
10985 def set_centroid(self, cntr):
10986 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
10987 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
10990 def show(self, *args):
10992 show(PrincipalComponentAnalysis3D self, _ostream out)
10993 show(PrincipalComponentAnalysis3D self)
10995 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
10998 def __cmp__(self, o):
10999 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11000 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11003 def __eq__(self, o):
11004 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11005 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11008 def __ne__(self, o):
11009 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11010 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11013 def __lt__(self, o):
11014 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11015 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11018 def __gt__(self, o):
11019 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11020 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11023 def __ge__(self, o):
11024 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11025 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11028 def __le__(self, o):
11029 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11030 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11034 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11035 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11038 def __repr__(self):
11039 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11040 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11042 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11043 __del__ =
lambda self:
None
11044 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11045 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11047 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11048 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
11049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11051 def __init__(self, *args):
11053 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11054 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11056 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11058 self.this.append(this)
11063 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11064 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11067 def get_principal_component(self, i):
11068 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11069 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11072 def get_principal_values(self):
11073 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11074 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11077 def get_principal_value(self, i):
11078 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11079 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11083 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11084 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11087 def set_centroid(self, cntr):
11088 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11089 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11092 def show(self, *args):
11094 show(PrincipalComponentAnalysis4D self, _ostream out)
11095 show(PrincipalComponentAnalysis4D self)
11097 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11100 def __cmp__(self, o):
11101 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11102 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11105 def __eq__(self, o):
11106 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11107 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11110 def __ne__(self, o):
11111 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11112 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11115 def __lt__(self, o):
11116 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11117 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11120 def __gt__(self, o):
11121 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11122 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11125 def __ge__(self, o):
11126 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11127 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11130 def __le__(self, o):
11131 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11132 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11136 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11137 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11140 def __repr__(self):
11141 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11142 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11144 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11145 __del__ =
lambda self:
None
11146 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11147 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11149 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11150 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
11151 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11153 def __init__(self, *args):
11155 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11156 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11158 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11160 self.this.append(this)
11165 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11166 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11169 def get_principal_component(self, i):
11170 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11171 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11174 def get_principal_values(self):
11175 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11176 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11179 def get_principal_value(self, i):
11180 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11181 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11185 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11186 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11189 def set_centroid(self, cntr):
11190 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11191 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11194 def show(self, *args):
11196 show(PrincipalComponentAnalysis5D self, _ostream out)
11197 show(PrincipalComponentAnalysis5D self)
11199 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11202 def __cmp__(self, o):
11203 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11204 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11207 def __eq__(self, o):
11208 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11209 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11212 def __ne__(self, o):
11213 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11214 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11217 def __lt__(self, o):
11218 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11219 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11222 def __gt__(self, o):
11223 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11224 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11227 def __ge__(self, o):
11228 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11229 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11232 def __le__(self, o):
11233 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11234 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11238 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11239 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11242 def __repr__(self):
11243 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11244 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11246 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11247 __del__ =
lambda self:
None
11248 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11249 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11251 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11252 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
11253 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11255 def __init__(self, *args):
11257 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11258 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11260 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11262 self.this.append(this)
11267 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11268 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11271 def get_principal_component(self, i):
11272 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11273 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11276 def get_principal_values(self):
11277 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11278 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11281 def get_principal_value(self, i):
11282 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11283 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11287 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11288 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11291 def set_centroid(self, cntr):
11292 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11293 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11296 def show(self, *args):
11298 show(PrincipalComponentAnalysis6D self, _ostream out)
11299 show(PrincipalComponentAnalysis6D self)
11301 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11304 def __cmp__(self, o):
11305 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11306 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11309 def __eq__(self, o):
11310 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11311 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11314 def __ne__(self, o):
11315 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11316 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11319 def __lt__(self, o):
11320 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11321 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11324 def __gt__(self, o):
11325 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11326 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11329 def __ge__(self, o):
11330 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11331 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11334 def __le__(self, o):
11335 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11336 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11340 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11341 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11344 def __repr__(self):
11345 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11346 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11348 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11349 __del__ =
lambda self:
None
11350 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11351 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11353 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11354 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
11355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11357 def __init__(self, *args):
11359 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11360 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11362 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11364 self.this.append(this)
11369 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11370 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11373 def get_principal_component(self, i):
11374 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11375 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11378 def get_principal_values(self):
11379 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11380 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11383 def get_principal_value(self, i):
11384 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11385 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11389 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11390 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11393 def set_centroid(self, cntr):
11394 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11395 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11398 def show(self, *args):
11400 show(PrincipalComponentAnalysisKD self, _ostream out)
11401 show(PrincipalComponentAnalysisKD self)
11403 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11406 def __cmp__(self, o):
11407 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11408 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11411 def __eq__(self, o):
11412 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11413 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11416 def __ne__(self, o):
11417 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11418 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11421 def __lt__(self, o):
11422 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11423 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11426 def __gt__(self, o):
11427 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11428 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11431 def __ge__(self, o):
11432 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11433 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11436 def __le__(self, o):
11437 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11438 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11442 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11443 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11446 def __repr__(self):
11447 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11448 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11450 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11451 __del__ =
lambda self:
None
11452 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11453 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11458 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11459 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11460 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11461 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11462 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11463 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11464 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11466 return _IMP_algebra.get_principal_components(*args)
11470 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11471 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11472 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11473 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11474 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11475 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11476 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11478 return _IMP_algebra.get_vertices(*args)
11482 get_distance(Rotation3D r0, Rotation3D r1) -> double
11483 get_distance(Segment3D s, Vector3D p) -> double
11484 get_distance(Segment3D a, Segment3D b) -> double
11485 get_distance(Plane3D pln, Vector3D p) -> double
11486 get_distance(Vector1D a, Vector1D b) -> double
11487 get_distance(Vector2D a, Vector2D b) -> double
11488 get_distance(Vector3D a, Vector3D b) -> double
11489 get_distance(Vector4D a, Vector4D b) -> double
11490 get_distance(Vector5D a, Vector5D b) -> double
11491 get_distance(Vector6D a, Vector6D b) -> double
11492 get_distance(VectorKD a, VectorKD b) -> double
11493 get_distance(Sphere1D a, Sphere1D b) -> double
11494 get_distance(Sphere2D a, Sphere2D b) -> double
11495 get_distance(Sphere3D a, Sphere3D b) -> double
11496 get_distance(Sphere4D a, Sphere4D b) -> double
11497 get_distance(Sphere5D a, Sphere5D b) -> double
11498 get_distance(Sphere6D a, Sphere6D b) -> double
11499 get_distance(SphereKD a, SphereKD b) -> double
11501 return _IMP_algebra.get_distance(*args)
11505 get_squared_distance(Vector1D a, Vector1D b) -> double
11506 get_squared_distance(Vector2D a, Vector2D b) -> double
11507 get_squared_distance(Vector3D a, Vector3D b) -> double
11508 get_squared_distance(Vector4D a, Vector4D b) -> double
11509 get_squared_distance(Vector5D a, Vector5D b) -> double
11510 get_squared_distance(Vector6D a, Vector6D b) -> double
11511 get_squared_distance(VectorKD a, VectorKD b) -> double
11513 return _IMP_algebra.get_squared_distance(*args)
11515 def get_basis_vector_1d(coordinate):
11516 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11517 return _IMP_algebra.get_basis_vector_1d(coordinate)
11519 def get_basis_vector_2d(coordinate):
11520 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11521 return _IMP_algebra.get_basis_vector_2d(coordinate)
11523 def get_basis_vector_3d(coordinate):
11524 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11525 return _IMP_algebra.get_basis_vector_3d(coordinate)
11527 def get_basis_vector_4d(coordinate):
11528 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11529 return _IMP_algebra.get_basis_vector_4d(coordinate)
11531 def get_basis_vector_5d(coordinate):
11532 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11533 return _IMP_algebra.get_basis_vector_5d(coordinate)
11535 def get_basis_vector_6d(coordinate):
11536 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11537 return _IMP_algebra.get_basis_vector_6d(coordinate)
11539 def get_zero_vector_1d():
11540 """get_zero_vector_1d() -> Vector1D"""
11541 return _IMP_algebra.get_zero_vector_1d()
11543 def get_zero_vector_2d():
11544 """get_zero_vector_2d() -> Vector2D"""
11545 return _IMP_algebra.get_zero_vector_2d()
11547 def get_zero_vector_3d():
11548 """get_zero_vector_3d() -> Vector3D"""
11549 return _IMP_algebra.get_zero_vector_3d()
11551 def get_zero_vector_4d():
11552 """get_zero_vector_4d() -> Vector4D"""
11553 return _IMP_algebra.get_zero_vector_4d()
11555 def get_zero_vector_5d():
11556 """get_zero_vector_5d() -> Vector5D"""
11557 return _IMP_algebra.get_zero_vector_5d()
11559 def get_zero_vector_6d():
11560 """get_zero_vector_6d() -> Vector6D"""
11561 return _IMP_algebra.get_zero_vector_6d()
11563 def get_ones_vector_1d(v=1):
11565 get_ones_vector_1d(double v=1) -> Vector1D
11566 get_ones_vector_1d() -> Vector1D
11568 return _IMP_algebra.get_ones_vector_1d(v)
11570 def get_ones_vector_2d(v=1):
11572 get_ones_vector_2d(double v=1) -> Vector2D
11573 get_ones_vector_2d() -> Vector2D
11575 return _IMP_algebra.get_ones_vector_2d(v)
11577 def get_ones_vector_3d(v=1):
11579 get_ones_vector_3d(double v=1) -> Vector3D
11580 get_ones_vector_3d() -> Vector3D
11582 return _IMP_algebra.get_ones_vector_3d(v)
11584 def get_ones_vector_4d(v=1):
11586 get_ones_vector_4d(double v=1) -> Vector4D
11587 get_ones_vector_4d() -> Vector4D
11589 return _IMP_algebra.get_ones_vector_4d(v)
11591 def get_ones_vector_5d(v=1):
11593 get_ones_vector_5d(double v=1) -> Vector5D
11594 get_ones_vector_5d() -> Vector5D
11596 return _IMP_algebra.get_ones_vector_5d(v)
11598 def get_ones_vector_6d(v=1):
11600 get_ones_vector_6d(double v=1) -> Vector6D
11601 get_ones_vector_6d() -> Vector6D
11603 return _IMP_algebra.get_ones_vector_6d(v)
11605 def get_unit_bounding_box_1d():
11606 """get_unit_bounding_box_1d() -> BoundingBox1D"""
11607 return _IMP_algebra.get_unit_bounding_box_1d()
11609 def get_unit_bounding_box_2d():
11610 """get_unit_bounding_box_2d() -> BoundingBox2D"""
11611 return _IMP_algebra.get_unit_bounding_box_2d()
11613 def get_unit_bounding_box_3d():
11614 """get_unit_bounding_box_3d() -> BoundingBox3D"""
11615 return _IMP_algebra.get_unit_bounding_box_3d()
11617 def get_unit_bounding_box_4d():
11618 """get_unit_bounding_box_4d() -> BoundingBox4D"""
11619 return _IMP_algebra.get_unit_bounding_box_4d()
11621 def get_unit_bounding_box_5d():
11622 """get_unit_bounding_box_5d() -> BoundingBox5D"""
11623 return _IMP_algebra.get_unit_bounding_box_5d()
11625 def get_unit_bounding_box_6d():
11626 """get_unit_bounding_box_6d() -> BoundingBox6D"""
11627 return _IMP_algebra.get_unit_bounding_box_6d()
11629 def get_cube_1d(radius):
11630 """get_cube_1d(double radius) -> BoundingBox1D"""
11631 return _IMP_algebra.get_cube_1d(radius)
11633 def get_cube_2d(radius):
11634 """get_cube_2d(double radius) -> BoundingBox2D"""
11635 return _IMP_algebra.get_cube_2d(radius)
11637 def get_cube_3d(radius):
11638 """get_cube_3d(double radius) -> BoundingBox3D"""
11639 return _IMP_algebra.get_cube_3d(radius)
11641 def get_cube_4d(radius):
11642 """get_cube_4d(double radius) -> BoundingBox4D"""
11643 return _IMP_algebra.get_cube_4d(radius)
11645 def get_cube_5d(radius):
11646 """get_cube_5d(double radius) -> BoundingBox5D"""
11647 return _IMP_algebra.get_cube_5d(radius)
11649 def get_cube_6d(radius):
11650 """get_cube_6d(double radius) -> BoundingBox6D"""
11651 return _IMP_algebra.get_cube_6d(radius)
11653 def get_unit_sphere_1d():
11654 """get_unit_sphere_1d() -> Sphere1D"""
11655 return _IMP_algebra.get_unit_sphere_1d()
11657 def get_unit_sphere_2d():
11658 """get_unit_sphere_2d() -> Sphere2D"""
11659 return _IMP_algebra.get_unit_sphere_2d()
11661 def get_unit_sphere_3d():
11662 """get_unit_sphere_3d() -> Sphere3D"""
11663 return _IMP_algebra.get_unit_sphere_3d()
11665 def get_unit_sphere_4d():
11666 """get_unit_sphere_4d() -> Sphere4D"""
11667 return _IMP_algebra.get_unit_sphere_4d()
11669 def get_unit_sphere_5d():
11670 """get_unit_sphere_5d() -> Sphere5D"""
11671 return _IMP_algebra.get_unit_sphere_5d()
11673 def get_unit_sphere_6d():
11674 """get_unit_sphere_6d() -> Sphere6D"""
11675 return _IMP_algebra.get_unit_sphere_6d()
11679 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
11680 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
11681 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
11682 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
11683 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
11684 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
11685 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
11686 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
11687 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
11688 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
11689 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
11690 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
11691 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
11692 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
11694 return _IMP_algebra.get_interiors_intersect(*args)
11698 get_random_vector_on(Sphere1D a) -> Vector1D
11699 get_random_vector_on(Sphere2D a) -> Vector2D
11700 get_random_vector_on(Sphere3D a) -> Vector3D
11701 get_random_vector_on(Sphere4D a) -> Vector4D
11702 get_random_vector_on(Sphere5D a) -> Vector5D
11703 get_random_vector_on(Sphere6D a) -> Vector6D
11704 get_random_vector_on(SphereKD a) -> VectorKD
11705 get_random_vector_on(BoundingBox1D a) -> Vector1D
11706 get_random_vector_on(BoundingBox2D a) -> Vector2D
11707 get_random_vector_on(BoundingBox3D a) -> Vector3D
11708 get_random_vector_on(BoundingBox4D a) -> Vector4D
11709 get_random_vector_on(BoundingBox5D a) -> Vector5D
11710 get_random_vector_on(BoundingBox6D a) -> Vector6D
11711 get_random_vector_on(BoundingBoxKD a) -> VectorKD
11713 return _IMP_algebra.get_random_vector_on(*args)
11717 get_random_vector_in(Cylinder3D c) -> Vector3D
11718 get_random_vector_in(Sphere1D a) -> Vector1D
11719 get_random_vector_in(Sphere2D a) -> Vector2D
11720 get_random_vector_in(Sphere3D a) -> Vector3D
11721 get_random_vector_in(Sphere4D a) -> Vector4D
11722 get_random_vector_in(Sphere5D a) -> Vector5D
11723 get_random_vector_in(Sphere6D a) -> Vector6D
11724 get_random_vector_in(SphereKD a) -> VectorKD
11725 get_random_vector_in(BoundingBox1D a) -> Vector1D
11726 get_random_vector_in(BoundingBox2D a) -> Vector2D
11727 get_random_vector_in(BoundingBox3D a) -> Vector3D
11728 get_random_vector_in(BoundingBox4D a) -> Vector4D
11729 get_random_vector_in(BoundingBox5D a) -> Vector5D
11730 get_random_vector_in(BoundingBox6D a) -> Vector6D
11731 get_random_vector_in(BoundingBoxKD a) -> VectorKD
11733 return _IMP_algebra.get_random_vector_in(*args)
11737 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
11738 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
11739 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
11740 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
11741 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
11742 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
11743 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
11745 return _IMP_algebra.get_intersection(*args)
11749 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
11750 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
11751 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
11752 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
11753 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
11754 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
11755 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
11757 return _IMP_algebra.get_union(*args)
11759 def get_bounding_box(*args):
11761 get_bounding_box(Segment3D g) -> BoundingBox3D
11762 get_bounding_box(Plane3D g) -> BoundingBox3D
11763 get_bounding_box(Cylinder3D g) -> BoundingBox3D
11764 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
11765 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
11766 get_bounding_box(Cone3D g) -> BoundingBox3D
11767 get_bounding_box(Sphere1D a) -> BoundingBox1D
11768 get_bounding_box(Sphere2D a) -> BoundingBox2D
11769 get_bounding_box(Sphere3D a) -> BoundingBox3D
11770 get_bounding_box(Sphere4D a) -> BoundingBox4D
11771 get_bounding_box(Sphere5D a) -> BoundingBox5D
11772 get_bounding_box(Sphere6D a) -> BoundingBox6D
11773 get_bounding_box(SphereKD a) -> BoundingBoxKD
11775 return _IMP_algebra.get_bounding_box(*args)
11779 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
11780 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
11781 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
11782 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
11783 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
11784 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
11785 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
11786 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
11787 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
11788 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
11789 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
11791 return _IMP_algebra.get_uniform_surface_cover(*args)
11795 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
11796 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
11797 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
11798 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
11799 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
11800 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
11801 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
11803 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
11804 class _AxisAnglePair(object):
11805 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
11806 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11807 __repr__ = _swig_repr
11809 def __init__(self, *args):
11811 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
11812 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
11813 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
11815 this = _IMP_algebra.new__AxisAnglePair(*args)
11817 self.this.append(this)
11820 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
11821 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
11824 def __repr__(self):
11825 return str((self.first, self.second))
11826 def __getitem__(self, index):
11827 if not (index % 2):
11831 def __setitem__(self, index, val):
11832 if not (index % 2):
11836 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
11837 __del__ =
lambda self:
None
11838 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
11839 _AxisAnglePair_swigregister(_AxisAnglePair)
11843 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
11844 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
11847 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
11848 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
11851 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
11852 return _IMP_algebra.get_rmsd(v0, v1)
11854 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
11855 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
11856 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
11859 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
11860 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
11861 LinearFit=LinearFit2D
11862 ParabolicFit=ParabolicFit2D
11865 def get_module_version():
11866 """get_module_version() -> std::string const"""
11867 return _IMP_algebra.get_module_version()
11870 """get_example_path(std::string fname) -> std::string"""
11871 return _IMP_algebra.get_example_path(fname)
11874 """get_data_path(std::string fname) -> std::string"""
11875 return _IMP_algebra.get_data_path(fname)
11876 from .
import _version_check
11877 _version_check.check_version(get_module_version())
11878 __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)
Generates a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
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)
Returns 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()
Builds 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)
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
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)
Returns the centroid of a set of vectors.
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)
Builds a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
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)
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()
Returns 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()
Builds an identity rotation in 2D.