11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
34 _IMP_algebra = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_ALGEBRA_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
127 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
132 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
133 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
135 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
140 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
141 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
143 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
152 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
153 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
157 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
158 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
162 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
163 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
167 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
168 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
172 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
173 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
178 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
183 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
188 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
193 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
198 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
203 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
209 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
215 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
216 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
225 _IMP_algebra.IMP_DEBUG_swigconstant(_IMP_algebra)
226 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
228 _IMP_algebra.IMP_RELEASE_swigconstant(_IMP_algebra)
229 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
231 _IMP_algebra.IMP_SILENT_swigconstant(_IMP_algebra)
232 IMP_SILENT = _IMP_algebra.IMP_SILENT
234 _IMP_algebra.IMP_PROGRESS_swigconstant(_IMP_algebra)
235 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
237 _IMP_algebra.IMP_TERSE_swigconstant(_IMP_algebra)
238 IMP_TERSE = _IMP_algebra.IMP_TERSE
240 _IMP_algebra.IMP_VERBOSE_swigconstant(_IMP_algebra)
241 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
243 _IMP_algebra.IMP_MEMORY_swigconstant(_IMP_algebra)
244 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
246 _IMP_algebra.IMP_NONE_swigconstant(_IMP_algebra)
247 IMP_NONE = _IMP_algebra.IMP_NONE
249 _IMP_algebra.IMP_USAGE_swigconstant(_IMP_algebra)
250 IMP_USAGE = _IMP_algebra.IMP_USAGE
252 _IMP_algebra.IMP_INTERNAL_swigconstant(_IMP_algebra)
253 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
255 _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_algebra)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
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_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_algebra)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_algebra.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_algebra.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_algebra)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_algebra.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_algebra.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_algebra)
271 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
273 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_algebra._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_algebra._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
328 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
330 _IMP_algebra.IMP_C_OPEN_BINARY_swigconstant(_IMP_algebra)
331 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
334 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_algebra.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_algebra)
347 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
349 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
350 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
353 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
371 _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_algebra)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
375 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
377 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
382 return v.get_coordinates()
387 return v.get_sphere()
392 _object_types.append(
"VectorKDMetric")
395 def _object_cast_to_VectorKDMetric(o):
396 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
397 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
399 _object_types.append(
"EuclideanVectorKDMetric")
402 def _object_cast_to_EuclideanVectorKDMetric(o):
403 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
404 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
406 _object_types.append(
"MaxVectorKDMetric")
409 def _object_cast_to_MaxVectorKDMetric(o):
410 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
411 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
413 _object_types.append(
"DynamicNearestNeighbor3D")
416 def _object_cast_to_DynamicNearestNeighbor3D(o):
417 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
418 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
421 _plural_types.append(
"Rotation2Ds")
422 _value_types.append(
"Rotation2D")
426 _plural_types.append(
"Rotation3Ds")
427 _value_types.append(
"Rotation3D")
431 _plural_types.append(
"Reflection3Ds")
432 _value_types.append(
"Reflection3D")
435 Transformation2Ds=list
436 _plural_types.append(
"Transformation2Ds")
437 _value_types.append(
"Transformation2D")
440 Transformation3Ds=list
441 _plural_types.append(
"Transformation3Ds")
442 _value_types.append(
"Transformation3D")
445 SphericalVector3Ds=list
446 _plural_types.append(
"SphericalVector3Ds")
447 _value_types.append(
"SphericalVector3D")
451 _plural_types.append(
"Triangle3Ds")
452 _value_types.append(
"Triangle3D")
456 _plural_types.append(
"Cone3Ds")
457 _value_types.append(
"Cone3D")
461 _plural_types.append(
"Cylinder3Ds")
462 _value_types.append(
"Cylinder3D")
466 _plural_types.append(
"Ellipsoid3Ds")
467 _value_types.append(
"Ellipsoid3D")
471 _plural_types.append(
"Line3Ds")
472 _value_types.append(
"Line3D")
476 _plural_types.append(
"Plane3Ds")
477 _value_types.append(
"Plane3D")
481 _plural_types.append(
"Segment3Ds")
482 _value_types.append(
"Segment3D")
486 _plural_types.append(
"SpherePatch3Ds")
487 _value_types.append(
"SpherePatch3D")
490 ConnollySurfacePoints=list
491 _plural_types.append(
"ConnollySurfacePoints")
492 _value_types.append(
"ConnollySurfacePoint")
496 _plural_types.append(
"Sphere1Ds")
497 _value_types.append(
"Sphere1D")
501 _plural_types.append(
"Sphere2Ds")
502 _value_types.append(
"Sphere2D")
506 _plural_types.append(
"Sphere3Ds")
507 _value_types.append(
"Sphere3D")
511 _plural_types.append(
"Sphere4Ds")
512 _value_types.append(
"Sphere4D")
516 _plural_types.append(
"Sphere5Ds")
517 _value_types.append(
"Sphere5D")
521 _plural_types.append(
"Sphere6Ds")
522 _value_types.append(
"Sphere6D")
526 _plural_types.append(
"Sphere1Ds")
527 _value_types.append(
"SphereD<1>")
531 _plural_types.append(
"Sphere2Ds")
532 _value_types.append(
"SphereD<2>")
536 _plural_types.append(
"Sphere3Ds")
537 _value_types.append(
"SphereD<3>")
541 _plural_types.append(
"Sphere4Ds")
542 _value_types.append(
"SphereD<4>")
546 _plural_types.append(
"Sphere5Ds")
547 _value_types.append(
"SphereD<5>")
551 _plural_types.append(
"Sphere6Ds")
552 _value_types.append(
"SphereD<6>")
556 _plural_types.append(
"SphereKDs")
557 _value_types.append(
"SphereKD")
561 _plural_types.append(
"SphereKDs")
562 _value_types.append(
"SphereD<-1>")
566 _plural_types.append(
"UnitSimplex1Ds")
567 _value_types.append(
"UnitSimplex1D")
571 _plural_types.append(
"UnitSimplex2Ds")
572 _value_types.append(
"UnitSimplex2D")
576 _plural_types.append(
"UnitSimplex3Ds")
577 _value_types.append(
"UnitSimplex3D")
581 _plural_types.append(
"UnitSimplex4Ds")
582 _value_types.append(
"UnitSimplex4D")
586 _plural_types.append(
"UnitSimplex5Ds")
587 _value_types.append(
"UnitSimplex5D")
591 _plural_types.append(
"UnitSimplex6Ds")
592 _value_types.append(
"UnitSimplex6D")
596 _plural_types.append(
"UnitSimplex1Ds")
597 _value_types.append(
"UnitSimplexD<1>")
601 _plural_types.append(
"UnitSimplex2Ds")
602 _value_types.append(
"UnitSimplexD<2>")
606 _plural_types.append(
"UnitSimplex3Ds")
607 _value_types.append(
"UnitSimplexD<3>")
611 _plural_types.append(
"UnitSimplex4Ds")
612 _value_types.append(
"UnitSimplexD<4>")
616 _plural_types.append(
"UnitSimplex5Ds")
617 _value_types.append(
"UnitSimplexD<5>")
621 _plural_types.append(
"UnitSimplex6Ds")
622 _value_types.append(
"UnitSimplexD<6>")
626 _plural_types.append(
"UnitSimplexKDs")
627 _value_types.append(
"UnitSimplexKD")
631 _plural_types.append(
"UnitSimplexKDs")
632 _value_types.append(
"UnitSimplexD<-1>")
636 _plural_types.append(
"BoundingBox1Ds")
637 _value_types.append(
"BoundingBox1D")
641 _plural_types.append(
"BoundingBox2Ds")
642 _value_types.append(
"BoundingBox2D")
646 _plural_types.append(
"BoundingBox3Ds")
647 _value_types.append(
"BoundingBox3D")
651 _plural_types.append(
"BoundingBox4Ds")
652 _value_types.append(
"BoundingBox4D")
656 _plural_types.append(
"BoundingBox5Ds")
657 _value_types.append(
"BoundingBox5D")
661 _plural_types.append(
"BoundingBox6Ds")
662 _value_types.append(
"BoundingBox6D")
666 _plural_types.append(
"BoundingBox1Ds")
667 _value_types.append(
"BoundingBoxD<1>")
671 _plural_types.append(
"BoundingBox2Ds")
672 _value_types.append(
"BoundingBoxD<2>")
676 _plural_types.append(
"BoundingBox3Ds")
677 _value_types.append(
"BoundingBoxD<3>")
681 _plural_types.append(
"BoundingBox4Ds")
682 _value_types.append(
"BoundingBoxD<4>")
686 _plural_types.append(
"BoundingBox5Ds")
687 _value_types.append(
"BoundingBoxD<5>")
691 _plural_types.append(
"BoundingBox6Ds")
692 _value_types.append(
"BoundingBoxD<6>")
696 _plural_types.append(
"BoundingBoxKDs")
697 _value_types.append(
"BoundingBoxKD")
701 _plural_types.append(
"BoundingBoxKDs")
702 _value_types.append(
"BoundingBoxD<-1>")
705 PrincipalComponentAnalysis1Ds=list
706 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
707 _value_types.append(
"PrincipalComponentAnalysis1D")
710 PrincipalComponentAnalysis2Ds=list
711 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
712 _value_types.append(
"PrincipalComponentAnalysis2D")
715 PrincipalComponentAnalysis3Ds=list
716 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
717 _value_types.append(
"PrincipalComponentAnalysis3D")
720 PrincipalComponentAnalysis4Ds=list
721 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
722 _value_types.append(
"PrincipalComponentAnalysis4D")
725 PrincipalComponentAnalysis5Ds=list
726 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
727 _value_types.append(
"PrincipalComponentAnalysis5D")
730 PrincipalComponentAnalysis6Ds=list
731 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
732 _value_types.append(
"PrincipalComponentAnalysis6D")
735 PrincipalComponentAnalysis1Ds=list
736 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
737 _value_types.append(
"PrincipalComponentAnalysisD<1>")
740 PrincipalComponentAnalysis2Ds=list
741 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
742 _value_types.append(
"PrincipalComponentAnalysisD<2>")
745 PrincipalComponentAnalysis3Ds=list
746 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
747 _value_types.append(
"PrincipalComponentAnalysisD<3>")
750 PrincipalComponentAnalysis4Ds=list
751 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
752 _value_types.append(
"PrincipalComponentAnalysisD<4>")
755 PrincipalComponentAnalysis5Ds=list
756 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
757 _value_types.append(
"PrincipalComponentAnalysisD<5>")
760 PrincipalComponentAnalysis6Ds=list
761 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
762 _value_types.append(
"PrincipalComponentAnalysisD<6>")
765 PrincipalComponentAnalysisKDs=list
766 _plural_types.append(
"PrincipalComponentAnalysisKDs")
767 _value_types.append(
"PrincipalComponentAnalysisKD")
770 PrincipalComponentAnalysisKDs=list
771 _plural_types.append(
"PrincipalComponentAnalysisKDs")
772 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
775 _object_types.append(
"NearestNeighbor1D")
778 def _object_cast_to_NearestNeighbor1D(o):
779 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
780 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
782 _object_types.append(
"NearestNeighbor2D")
785 def _object_cast_to_NearestNeighbor2D(o):
786 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
787 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
789 _object_types.append(
"NearestNeighbor3D")
792 def _object_cast_to_NearestNeighbor3D(o):
793 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
794 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
796 _object_types.append(
"NearestNeighbor4D")
799 def _object_cast_to_NearestNeighbor4D(o):
800 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
801 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
803 _object_types.append(
"NearestNeighbor5D")
806 def _object_cast_to_NearestNeighbor5D(o):
807 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
808 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
810 _object_types.append(
"NearestNeighbor6D")
813 def _object_cast_to_NearestNeighbor6D(o):
814 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
815 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
817 _object_types.append(
"NearestNeighborKD")
820 def _object_cast_to_NearestNeighborKD(o):
821 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
822 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
824 ReferenceFrame3Ds=list
825 _plural_types.append(
"ReferenceFrame3Ds")
826 _value_types.append(
"ReferenceFrame3D")
830 _plural_types.append(
"Gaussian3Ds")
831 _value_types.append(
"Gaussian3D")
834 DefaultEmbedding1Ds=list
835 _plural_types.append(
"DefaultEmbedding1Ds")
836 _value_types.append(
"DefaultEmbedding1D")
839 DefaultEmbedding2Ds=list
840 _plural_types.append(
"DefaultEmbedding2Ds")
841 _value_types.append(
"DefaultEmbedding2D")
844 DefaultEmbedding3Ds=list
845 _plural_types.append(
"DefaultEmbedding3Ds")
846 _value_types.append(
"DefaultEmbedding3D")
849 DefaultEmbedding4Ds=list
850 _plural_types.append(
"DefaultEmbedding4Ds")
851 _value_types.append(
"DefaultEmbedding4D")
854 DefaultEmbedding5Ds=list
855 _plural_types.append(
"DefaultEmbedding5Ds")
856 _value_types.append(
"DefaultEmbedding5D")
859 DefaultEmbedding6Ds=list
860 _plural_types.append(
"DefaultEmbedding6Ds")
861 _value_types.append(
"DefaultEmbedding6D")
864 DefaultEmbedding1Ds=list
865 _plural_types.append(
"DefaultEmbedding1Ds")
866 _value_types.append(
"DefaultEmbeddingD<1>")
869 DefaultEmbedding2Ds=list
870 _plural_types.append(
"DefaultEmbedding2Ds")
871 _value_types.append(
"DefaultEmbeddingD<2>")
874 DefaultEmbedding3Ds=list
875 _plural_types.append(
"DefaultEmbedding3Ds")
876 _value_types.append(
"DefaultEmbeddingD<3>")
879 DefaultEmbedding4Ds=list
880 _plural_types.append(
"DefaultEmbedding4Ds")
881 _value_types.append(
"DefaultEmbeddingD<4>")
884 DefaultEmbedding5Ds=list
885 _plural_types.append(
"DefaultEmbedding5Ds")
886 _value_types.append(
"DefaultEmbeddingD<5>")
889 DefaultEmbedding6Ds=list
890 _plural_types.append(
"DefaultEmbedding6Ds")
891 _value_types.append(
"DefaultEmbeddingD<6>")
894 DefaultEmbeddingKDs=list
895 _plural_types.append(
"DefaultEmbeddingKDs")
896 _value_types.append(
"DefaultEmbeddingKD")
899 DefaultEmbeddingKDs=list
900 _plural_types.append(
"DefaultEmbeddingKDs")
901 _value_types.append(
"DefaultEmbeddingD<-1>")
905 _plural_types.append(
"LogEmbedding1Ds")
906 _value_types.append(
"LogEmbedding1D")
910 _plural_types.append(
"LogEmbedding2Ds")
911 _value_types.append(
"LogEmbedding2D")
915 _plural_types.append(
"LogEmbedding3Ds")
916 _value_types.append(
"LogEmbedding3D")
920 _plural_types.append(
"LogEmbedding4Ds")
921 _value_types.append(
"LogEmbedding4D")
925 _plural_types.append(
"LogEmbedding5Ds")
926 _value_types.append(
"LogEmbedding5D")
930 _plural_types.append(
"LogEmbedding6Ds")
931 _value_types.append(
"LogEmbedding6D")
935 _plural_types.append(
"LogEmbedding1Ds")
936 _value_types.append(
"LogEmbeddingD<1>")
940 _plural_types.append(
"LogEmbedding2Ds")
941 _value_types.append(
"LogEmbeddingD<2>")
945 _plural_types.append(
"LogEmbedding3Ds")
946 _value_types.append(
"LogEmbeddingD<3>")
950 _plural_types.append(
"LogEmbedding4Ds")
951 _value_types.append(
"LogEmbeddingD<4>")
955 _plural_types.append(
"LogEmbedding5Ds")
956 _value_types.append(
"LogEmbeddingD<5>")
960 _plural_types.append(
"LogEmbedding6Ds")
961 _value_types.append(
"LogEmbeddingD<6>")
965 _plural_types.append(
"LogEmbeddingKDs")
966 _value_types.append(
"LogEmbeddingKD")
970 _plural_types.append(
"LogEmbeddingKDs")
971 _value_types.append(
"LogEmbeddingD<-1>")
975 _plural_types.append(
"GridIndex1Ds")
976 _value_types.append(
"GridIndex1D")
980 _plural_types.append(
"GridIndex2Ds")
981 _value_types.append(
"GridIndex2D")
985 _plural_types.append(
"GridIndex3Ds")
986 _value_types.append(
"GridIndex3D")
990 _plural_types.append(
"GridIndex4Ds")
991 _value_types.append(
"GridIndex4D")
995 _plural_types.append(
"GridIndex5Ds")
996 _value_types.append(
"GridIndex5D")
1000 _plural_types.append(
"GridIndex6Ds")
1001 _value_types.append(
"GridIndex6D")
1005 _plural_types.append(
"GridIndex1Ds")
1006 _value_types.append(
"GridIndexD<1>")
1010 _plural_types.append(
"GridIndex2Ds")
1011 _value_types.append(
"GridIndexD<2>")
1015 _plural_types.append(
"GridIndex3Ds")
1016 _value_types.append(
"GridIndexD<3>")
1020 _plural_types.append(
"GridIndex4Ds")
1021 _value_types.append(
"GridIndexD<4>")
1025 _plural_types.append(
"GridIndex5Ds")
1026 _value_types.append(
"GridIndexD<5>")
1030 _plural_types.append(
"GridIndex6Ds")
1031 _value_types.append(
"GridIndexD<6>")
1035 _plural_types.append(
"GridIndexKDs")
1036 _value_types.append(
"GridIndexKD")
1040 _plural_types.append(
"GridIndexKDs")
1041 _value_types.append(
"GridIndexD<-1>")
1044 ExtendedGridIndex1Ds=list
1045 _plural_types.append(
"ExtendedGridIndex1Ds")
1046 _value_types.append(
"ExtendedGridIndex1D")
1049 ExtendedGridIndex2Ds=list
1050 _plural_types.append(
"ExtendedGridIndex2Ds")
1051 _value_types.append(
"ExtendedGridIndex2D")
1054 ExtendedGridIndex3Ds=list
1055 _plural_types.append(
"ExtendedGridIndex3Ds")
1056 _value_types.append(
"ExtendedGridIndex3D")
1059 ExtendedGridIndex4Ds=list
1060 _plural_types.append(
"ExtendedGridIndex4Ds")
1061 _value_types.append(
"ExtendedGridIndex4D")
1064 ExtendedGridIndex5Ds=list
1065 _plural_types.append(
"ExtendedGridIndex5Ds")
1066 _value_types.append(
"ExtendedGridIndex5D")
1069 ExtendedGridIndex6Ds=list
1070 _plural_types.append(
"ExtendedGridIndex6Ds")
1071 _value_types.append(
"ExtendedGridIndex6D")
1074 ExtendedGridIndex1Ds=list
1075 _plural_types.append(
"ExtendedGridIndex1Ds")
1076 _value_types.append(
"ExtendedGridIndexD<1>")
1079 ExtendedGridIndex2Ds=list
1080 _plural_types.append(
"ExtendedGridIndex2Ds")
1081 _value_types.append(
"ExtendedGridIndexD<2>")
1084 ExtendedGridIndex3Ds=list
1085 _plural_types.append(
"ExtendedGridIndex3Ds")
1086 _value_types.append(
"ExtendedGridIndexD<3>")
1089 ExtendedGridIndex4Ds=list
1090 _plural_types.append(
"ExtendedGridIndex4Ds")
1091 _value_types.append(
"ExtendedGridIndexD<4>")
1094 ExtendedGridIndex5Ds=list
1095 _plural_types.append(
"ExtendedGridIndex5Ds")
1096 _value_types.append(
"ExtendedGridIndexD<5>")
1099 ExtendedGridIndex6Ds=list
1100 _plural_types.append(
"ExtendedGridIndex6Ds")
1101 _value_types.append(
"ExtendedGridIndexD<6>")
1104 ExtendedGridIndexKDs=list
1105 _plural_types.append(
"ExtendedGridIndexKDs")
1106 _value_types.append(
"ExtendedGridIndexKD")
1109 ExtendedGridIndexKDs=list
1110 _plural_types.append(
"ExtendedGridIndexKDs")
1111 _value_types.append(
"ExtendedGridIndexD<-1>")
1114 BoundedGridRange1Ds=list
1115 _plural_types.append(
"BoundedGridRange1Ds")
1116 _value_types.append(
"BoundedGridRange1D")
1119 BoundedGridRange2Ds=list
1120 _plural_types.append(
"BoundedGridRange2Ds")
1121 _value_types.append(
"BoundedGridRange2D")
1124 BoundedGridRange3Ds=list
1125 _plural_types.append(
"BoundedGridRange3Ds")
1126 _value_types.append(
"BoundedGridRange3D")
1129 BoundedGridRange4Ds=list
1130 _plural_types.append(
"BoundedGridRange4Ds")
1131 _value_types.append(
"BoundedGridRange4D")
1134 BoundedGridRange5Ds=list
1135 _plural_types.append(
"BoundedGridRange5Ds")
1136 _value_types.append(
"BoundedGridRange5D")
1139 BoundedGridRange6Ds=list
1140 _plural_types.append(
"BoundedGridRange6Ds")
1141 _value_types.append(
"BoundedGridRange6D")
1144 BoundedGridRange1Ds=list
1145 _plural_types.append(
"BoundedGridRange1Ds")
1146 _value_types.append(
"BoundedGridRangeD<1>")
1149 BoundedGridRange2Ds=list
1150 _plural_types.append(
"BoundedGridRange2Ds")
1151 _value_types.append(
"BoundedGridRangeD<2>")
1154 BoundedGridRange3Ds=list
1155 _plural_types.append(
"BoundedGridRange3Ds")
1156 _value_types.append(
"BoundedGridRangeD<3>")
1159 BoundedGridRange4Ds=list
1160 _plural_types.append(
"BoundedGridRange4Ds")
1161 _value_types.append(
"BoundedGridRangeD<4>")
1164 BoundedGridRange5Ds=list
1165 _plural_types.append(
"BoundedGridRange5Ds")
1166 _value_types.append(
"BoundedGridRangeD<5>")
1169 BoundedGridRange6Ds=list
1170 _plural_types.append(
"BoundedGridRange6Ds")
1171 _value_types.append(
"BoundedGridRangeD<6>")
1174 BoundedGridRangeKDs=list
1175 _plural_types.append(
"BoundedGridRangeKDs")
1176 _value_types.append(
"BoundedGridRangeKD")
1179 BoundedGridRangeKDs=list
1180 _plural_types.append(
"BoundedGridRangeKDs")
1181 _value_types.append(
"BoundedGridRangeD<-1>")
1184 UnboundedGridRange1Ds=list
1185 _plural_types.append(
"UnboundedGridRange1Ds")
1186 _value_types.append(
"UnboundedGridRange1D")
1189 UnboundedGridRange2Ds=list
1190 _plural_types.append(
"UnboundedGridRange2Ds")
1191 _value_types.append(
"UnboundedGridRange2D")
1194 UnboundedGridRange3Ds=list
1195 _plural_types.append(
"UnboundedGridRange3Ds")
1196 _value_types.append(
"UnboundedGridRange3D")
1199 UnboundedGridRange4Ds=list
1200 _plural_types.append(
"UnboundedGridRange4Ds")
1201 _value_types.append(
"UnboundedGridRange4D")
1204 UnboundedGridRange5Ds=list
1205 _plural_types.append(
"UnboundedGridRange5Ds")
1206 _value_types.append(
"UnboundedGridRange5D")
1209 UnboundedGridRange6Ds=list
1210 _plural_types.append(
"UnboundedGridRange6Ds")
1211 _value_types.append(
"UnboundedGridRange6D")
1214 UnboundedGridRange1Ds=list
1215 _plural_types.append(
"UnboundedGridRange1Ds")
1216 _value_types.append(
"UnboundedGridRangeD<1>")
1219 UnboundedGridRange2Ds=list
1220 _plural_types.append(
"UnboundedGridRange2Ds")
1221 _value_types.append(
"UnboundedGridRangeD<2>")
1224 UnboundedGridRange3Ds=list
1225 _plural_types.append(
"UnboundedGridRange3Ds")
1226 _value_types.append(
"UnboundedGridRangeD<3>")
1229 UnboundedGridRange4Ds=list
1230 _plural_types.append(
"UnboundedGridRange4Ds")
1231 _value_types.append(
"UnboundedGridRangeD<4>")
1234 UnboundedGridRange5Ds=list
1235 _plural_types.append(
"UnboundedGridRange5Ds")
1236 _value_types.append(
"UnboundedGridRangeD<5>")
1239 UnboundedGridRange6Ds=list
1240 _plural_types.append(
"UnboundedGridRange6Ds")
1241 _value_types.append(
"UnboundedGridRangeD<6>")
1244 UnboundedGridRangeKDs=list
1245 _plural_types.append(
"UnboundedGridRangeKDs")
1246 _value_types.append(
"UnboundedGridRangeKD")
1249 UnboundedGridRangeKDs=list
1250 _plural_types.append(
"UnboundedGridRangeKDs")
1251 _value_types.append(
"UnboundedGridRangeD<-1>")
1255 _plural_types.append(
"LinearFit2Ds")
1256 _value_types.append(
"LinearFit2D")
1259 ParabolicFit2Ds=list
1260 _plural_types.append(
"ParabolicFit2Ds")
1261 _value_types.append(
"ParabolicFit2D")
1265 _plural_types.append(
"FixedXYZs")
1266 _value_types.append(
"FixedXYZ")
1268 class _GeometricPrimitive1D(object):
1269 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1270 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1272 def __init__(self, *args, **kwargs):
1273 raise AttributeError(
"No constructor defined")
1274 __repr__ = _swig_repr
1275 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1276 __del__ =
lambda self:
None
1277 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1278 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1280 class _GeometricPrimitive2D(object):
1281 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1284 def __init__(self, *args, **kwargs):
1285 raise AttributeError(
"No constructor defined")
1286 __repr__ = _swig_repr
1287 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1288 __del__ =
lambda self:
None
1289 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1290 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1292 class _GeometricPrimitive3D(object):
1293 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1294 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1296 def __init__(self, *args, **kwargs):
1297 raise AttributeError(
"No constructor defined")
1298 __repr__ = _swig_repr
1299 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1300 __del__ =
lambda self:
None
1301 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1302 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1304 class _GeometricPrimitive4D(object):
1305 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1308 def __init__(self, *args, **kwargs):
1309 raise AttributeError(
"No constructor defined")
1310 __repr__ = _swig_repr
1311 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1312 __del__ =
lambda self:
None
1313 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1314 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1316 class _GeometricPrimitive5D(object):
1317 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1320 def __init__(self, *args, **kwargs):
1321 raise AttributeError(
"No constructor defined")
1322 __repr__ = _swig_repr
1323 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1324 __del__ =
lambda self:
None
1325 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1326 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1328 class _GeometricPrimitive6D(object):
1329 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1332 def __init__(self, *args, **kwargs):
1333 raise AttributeError(
"No constructor defined")
1334 __repr__ = _swig_repr
1335 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1336 __del__ =
lambda self:
None
1337 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1338 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1340 class _GeometricPrimitiveKD(object):
1341 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1344 def __init__(self, *args, **kwargs):
1345 raise AttributeError(
"No constructor defined")
1346 __repr__ = _swig_repr
1347 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1348 __del__ =
lambda self:
None
1349 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1350 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1354 _plural_types.append(
"Vector1Ds")
1355 _value_types.append(
"Vector1D")
1359 _plural_types.append(
"Vector2Ds")
1360 _value_types.append(
"Vector2D")
1364 _plural_types.append(
"Vector3Ds")
1365 _value_types.append(
"Vector3D")
1369 _plural_types.append(
"Vector4Ds")
1370 _value_types.append(
"Vector4D")
1374 _plural_types.append(
"Vector5Ds")
1375 _value_types.append(
"Vector5D")
1379 _plural_types.append(
"Vector6Ds")
1380 _value_types.append(
"Vector6D")
1384 _plural_types.append(
"Vector1Ds")
1385 _value_types.append(
"VectorD<1>")
1389 _plural_types.append(
"Vector2Ds")
1390 _value_types.append(
"VectorD<2>")
1394 _plural_types.append(
"Vector3Ds")
1395 _value_types.append(
"VectorD<3>")
1399 _plural_types.append(
"Vector4Ds")
1400 _value_types.append(
"VectorD<4>")
1404 _plural_types.append(
"Vector5Ds")
1405 _value_types.append(
"VectorD<5>")
1409 _plural_types.append(
"Vector6Ds")
1410 _value_types.append(
"VectorD<6>")
1414 _plural_types.append(
"VectorKDs")
1415 _value_types.append(
"VectorKD")
1419 _plural_types.append(
"VectorKDs")
1420 _value_types.append(
"VectorD<-1>")
1422 class _VectorBaseKD(_GeometricPrimitiveKD):
1423 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1425 __repr__ = _swig_repr
1428 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1429 this = _IMP_algebra.new__VectorBaseKD()
1431 self.this.append(this)
1435 def get_scalar_product(self, o):
1436 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1437 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1440 def get_squared_magnitude(self):
1441 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1442 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1445 def get_magnitude(self):
1446 """get_magnitude(_VectorBaseKD self) -> double"""
1447 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1450 def __mul__(self, o):
1451 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1452 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1455 def __iadd__(self, o):
1456 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1457 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1460 def __isub__(self, o):
1461 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1462 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1465 def __idiv__(self, f):
1466 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1467 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1470 def __imul__(self, f):
1471 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1472 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1475 def show(self, *args):
1477 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1478 show(_VectorBaseKD self, _ostream out, std::string delim)
1479 show(_VectorBaseKD self, _ostream out)
1480 show(_VectorBaseKD self)
1482 return _IMP_algebra._VectorBaseKD_show(self, *args)
1485 def get_dimension(self):
1486 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1487 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1489 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1490 __del__ =
lambda self:
None
1491 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1492 _VectorBaseKD_swigregister(_VectorBaseKD)
1494 class _VectorBase1D(_GeometricPrimitive1D):
1495 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1497 __repr__ = _swig_repr
1500 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1501 this = _IMP_algebra.new__VectorBase1D()
1503 self.this.append(this)
1507 def get_scalar_product(self, o):
1508 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1509 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1512 def get_squared_magnitude(self):
1513 """get_squared_magnitude(_VectorBase1D self) -> double"""
1514 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1517 def get_magnitude(self):
1518 """get_magnitude(_VectorBase1D self) -> double"""
1519 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1522 def __mul__(self, o):
1523 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1524 return _IMP_algebra._VectorBase1D___mul__(self, o)
1527 def __iadd__(self, o):
1528 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1529 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1532 def __isub__(self, o):
1533 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1534 return _IMP_algebra._VectorBase1D___isub__(self, o)
1537 def __idiv__(self, f):
1538 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1539 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1542 def __imul__(self, f):
1543 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1544 return _IMP_algebra._VectorBase1D___imul__(self, f)
1547 def show(self, *args):
1549 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1550 show(_VectorBase1D self, _ostream out, std::string delim)
1551 show(_VectorBase1D self, _ostream out)
1552 show(_VectorBase1D self)
1554 return _IMP_algebra._VectorBase1D_show(self, *args)
1557 def get_dimension(self):
1558 """get_dimension(_VectorBase1D self) -> unsigned int"""
1559 return _IMP_algebra._VectorBase1D_get_dimension(self)
1561 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1562 __del__ =
lambda self:
None
1563 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1564 _VectorBase1D_swigregister(_VectorBase1D)
1566 class _VectorBase2D(_GeometricPrimitive2D):
1567 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1568 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1569 __repr__ = _swig_repr
1572 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1573 this = _IMP_algebra.new__VectorBase2D()
1575 self.this.append(this)
1579 def get_scalar_product(self, o):
1580 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1581 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1584 def get_squared_magnitude(self):
1585 """get_squared_magnitude(_VectorBase2D self) -> double"""
1586 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1589 def get_magnitude(self):
1590 """get_magnitude(_VectorBase2D self) -> double"""
1591 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1594 def __mul__(self, o):
1595 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1596 return _IMP_algebra._VectorBase2D___mul__(self, o)
1599 def __iadd__(self, o):
1600 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1601 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1604 def __isub__(self, o):
1605 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1606 return _IMP_algebra._VectorBase2D___isub__(self, o)
1609 def __idiv__(self, f):
1610 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1611 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1614 def __imul__(self, f):
1615 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1616 return _IMP_algebra._VectorBase2D___imul__(self, f)
1619 def show(self, *args):
1621 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1622 show(_VectorBase2D self, _ostream out, std::string delim)
1623 show(_VectorBase2D self, _ostream out)
1624 show(_VectorBase2D self)
1626 return _IMP_algebra._VectorBase2D_show(self, *args)
1629 def get_dimension(self):
1630 """get_dimension(_VectorBase2D self) -> unsigned int"""
1631 return _IMP_algebra._VectorBase2D_get_dimension(self)
1633 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1634 __del__ =
lambda self:
None
1635 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1636 _VectorBase2D_swigregister(_VectorBase2D)
1638 class _VectorBase3D(_GeometricPrimitive3D):
1639 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1641 __repr__ = _swig_repr
1644 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1645 this = _IMP_algebra.new__VectorBase3D()
1647 self.this.append(this)
1651 def get_scalar_product(self, o):
1652 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1653 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1656 def get_squared_magnitude(self):
1657 """get_squared_magnitude(_VectorBase3D self) -> double"""
1658 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1661 def get_magnitude(self):
1662 """get_magnitude(_VectorBase3D self) -> double"""
1663 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1666 def __mul__(self, o):
1667 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1668 return _IMP_algebra._VectorBase3D___mul__(self, o)
1671 def __iadd__(self, o):
1672 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1673 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1676 def __isub__(self, o):
1677 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1678 return _IMP_algebra._VectorBase3D___isub__(self, o)
1681 def __idiv__(self, f):
1682 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1683 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1686 def __imul__(self, f):
1687 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1688 return _IMP_algebra._VectorBase3D___imul__(self, f)
1691 def show(self, *args):
1693 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1694 show(_VectorBase3D self, _ostream out, std::string delim)
1695 show(_VectorBase3D self, _ostream out)
1696 show(_VectorBase3D self)
1698 return _IMP_algebra._VectorBase3D_show(self, *args)
1701 def get_dimension(self):
1702 """get_dimension(_VectorBase3D self) -> unsigned int"""
1703 return _IMP_algebra._VectorBase3D_get_dimension(self)
1705 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1706 __del__ =
lambda self:
None
1707 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1708 _VectorBase3D_swigregister(_VectorBase3D)
1710 class _VectorBase4D(_GeometricPrimitive4D):
1711 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1712 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1713 __repr__ = _swig_repr
1716 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1717 this = _IMP_algebra.new__VectorBase4D()
1719 self.this.append(this)
1723 def get_scalar_product(self, o):
1724 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1725 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1728 def get_squared_magnitude(self):
1729 """get_squared_magnitude(_VectorBase4D self) -> double"""
1730 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1733 def get_magnitude(self):
1734 """get_magnitude(_VectorBase4D self) -> double"""
1735 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1738 def __mul__(self, o):
1739 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1740 return _IMP_algebra._VectorBase4D___mul__(self, o)
1743 def __iadd__(self, o):
1744 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1745 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1748 def __isub__(self, o):
1749 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1750 return _IMP_algebra._VectorBase4D___isub__(self, o)
1753 def __idiv__(self, f):
1754 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1755 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1758 def __imul__(self, f):
1759 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1760 return _IMP_algebra._VectorBase4D___imul__(self, f)
1763 def show(self, *args):
1765 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1766 show(_VectorBase4D self, _ostream out, std::string delim)
1767 show(_VectorBase4D self, _ostream out)
1768 show(_VectorBase4D self)
1770 return _IMP_algebra._VectorBase4D_show(self, *args)
1773 def get_dimension(self):
1774 """get_dimension(_VectorBase4D self) -> unsigned int"""
1775 return _IMP_algebra._VectorBase4D_get_dimension(self)
1777 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1778 __del__ =
lambda self:
None
1779 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1780 _VectorBase4D_swigregister(_VectorBase4D)
1782 class _VectorBase5D(_GeometricPrimitive5D):
1783 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1784 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1785 __repr__ = _swig_repr
1788 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1789 this = _IMP_algebra.new__VectorBase5D()
1791 self.this.append(this)
1795 def get_scalar_product(self, o):
1796 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1797 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1800 def get_squared_magnitude(self):
1801 """get_squared_magnitude(_VectorBase5D self) -> double"""
1802 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1805 def get_magnitude(self):
1806 """get_magnitude(_VectorBase5D self) -> double"""
1807 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1810 def __mul__(self, o):
1811 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1812 return _IMP_algebra._VectorBase5D___mul__(self, o)
1815 def __iadd__(self, o):
1816 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1817 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1820 def __isub__(self, o):
1821 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1822 return _IMP_algebra._VectorBase5D___isub__(self, o)
1825 def __idiv__(self, f):
1826 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1827 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1830 def __imul__(self, f):
1831 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1832 return _IMP_algebra._VectorBase5D___imul__(self, f)
1835 def show(self, *args):
1837 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1838 show(_VectorBase5D self, _ostream out, std::string delim)
1839 show(_VectorBase5D self, _ostream out)
1840 show(_VectorBase5D self)
1842 return _IMP_algebra._VectorBase5D_show(self, *args)
1845 def get_dimension(self):
1846 """get_dimension(_VectorBase5D self) -> unsigned int"""
1847 return _IMP_algebra._VectorBase5D_get_dimension(self)
1849 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1850 __del__ =
lambda self:
None
1851 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1852 _VectorBase5D_swigregister(_VectorBase5D)
1854 class _VectorBase6D(_GeometricPrimitive6D):
1855 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1856 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1857 __repr__ = _swig_repr
1860 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1861 this = _IMP_algebra.new__VectorBase6D()
1863 self.this.append(this)
1867 def get_scalar_product(self, o):
1868 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1869 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1872 def get_squared_magnitude(self):
1873 """get_squared_magnitude(_VectorBase6D self) -> double"""
1874 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1877 def get_magnitude(self):
1878 """get_magnitude(_VectorBase6D self) -> double"""
1879 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1882 def __mul__(self, o):
1883 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1884 return _IMP_algebra._VectorBase6D___mul__(self, o)
1887 def __iadd__(self, o):
1888 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1889 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1892 def __isub__(self, o):
1893 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1894 return _IMP_algebra._VectorBase6D___isub__(self, o)
1897 def __idiv__(self, f):
1898 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1899 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1902 def __imul__(self, f):
1903 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1904 return _IMP_algebra._VectorBase6D___imul__(self, f)
1907 def show(self, *args):
1909 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1910 show(_VectorBase6D self, _ostream out, std::string delim)
1911 show(_VectorBase6D self, _ostream out)
1912 show(_VectorBase6D self)
1914 return _IMP_algebra._VectorBase6D_show(self, *args)
1917 def get_dimension(self):
1918 """get_dimension(_VectorBase6D self) -> unsigned int"""
1919 return _IMP_algebra._VectorBase6D_get_dimension(self)
1921 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1922 __del__ =
lambda self:
None
1923 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1924 _VectorBase6D_swigregister(_VectorBase6D)
1928 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1929 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1932 """get_zero_vector_kd(int D) -> VectorKD"""
1933 return _IMP_algebra.get_zero_vector_kd(D)
1937 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1938 get_ones_vector_kd(unsigned int D) -> VectorKD
1940 return _IMP_algebra.get_ones_vector_kd(D, v)
1943 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1944 return _IMP_algebra.get_vector_product(p1, p2)
1947 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1948 return _IMP_algebra.get_orthogonal_vector(v)
1951 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1952 return _IMP_algebra.get_centroid(ps)
1955 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1956 return _IMP_algebra.get_radius_of_gyration(ps)
1957 class Rotation3D(_GeometricPrimitive3D):
1958 """Proxy of C++ IMP::algebra::Rotation3D class"""
1959 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1961 def __init__(self, *args):
1963 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1964 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1965 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1966 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1967 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1969 this = _IMP_algebra.new_Rotation3D(*args)
1971 self.this.append(this)
1974 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1975 __del__ =
lambda self:
None
1977 def get_rotated_no_cache(self, o):
1978 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1979 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1982 def get_rotated_one_coordinate_no_cache(self, o, coord):
1983 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1984 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1987 def get_rotated(self, o):
1988 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1989 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1992 def get_rotated_adjoint(self, v, Dw):
1993 """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
1994 return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
1997 def get_rotated_one_coordinate(self, o, coord):
1998 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1999 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
2002 def get_rotation_matrix_row(self, i):
2003 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
2004 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
2007 def show(self, *args):
2009 show(Rotation3D self, _ostream out)
2010 show(Rotation3D self)
2012 return _IMP_algebra.Rotation3D_show(self, *args)
2015 def get_inverse(self):
2016 """get_inverse(Rotation3D self) -> Rotation3D"""
2017 return _IMP_algebra.Rotation3D_get_inverse(self)
2020 def get_quaternion(self):
2021 """get_quaternion(Rotation3D self) -> Vector4D"""
2022 return _IMP_algebra.Rotation3D_get_quaternion(self)
2025 def __mul__(self, *args):
2027 __mul__(Rotation3D self, Vector3D v) -> Vector3D
2028 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
2030 return _IMP_algebra.Rotation3D___mul__(self, *args)
2033 def __div__(self, r):
2034 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
2035 return _IMP_algebra.Rotation3D___div__(self, r)
2038 def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
2040 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
2041 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2043 return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
2046 def get_derivative(self, v, i, wrt_unnorm=True):
2048 get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
2049 get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2051 return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
2054 def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
2056 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2057 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2059 return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2062 def get_gradient(self, v, wrt_unnorm=True):
2064 get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2065 get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2067 return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2070 def get_is_valid(self):
2071 """get_is_valid(Rotation3D self) -> bool"""
2072 return _IMP_algebra.Rotation3D_get_is_valid(self)
2076 """__str__(Rotation3D self) -> std::string"""
2077 return _IMP_algebra.Rotation3D___str__(self)
2081 """__repr__(Rotation3D self) -> std::string"""
2082 return _IMP_algebra.Rotation3D___repr__(self)
2085 __truediv__ = __div__
2087 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2088 Rotation3D_swigregister(Rotation3D)
2093 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2094 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2096 return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2098 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2100 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2101 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2103 return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2107 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2108 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2110 return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2112 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2114 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2115 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2117 return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2120 """get_identity_rotation_3d() -> Rotation3D"""
2121 return _IMP_algebra.get_identity_rotation_3d()
2124 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2125 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2128 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2129 return _IMP_algebra.get_rotation_about_axis(axis, angle)
2132 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2133 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2137 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2138 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2140 return _IMP_algebra.get_rotation_from_matrix(*args)
2144 get_random_rotation_3d() -> Rotation3D
2145 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2147 return _IMP_algebra.get_random_rotation_3d(*args)
2150 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2151 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2154 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2155 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2158 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2159 return _IMP_algebra.get_rotation_from_vector4d(v)
2162 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2163 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2166 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2167 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2170 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2171 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2172 class FixedXYZ(_GeometricPrimitive3D):
2173 """Proxy of C++ IMP::algebra::FixedXYZ class"""
2174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2176 def __init__(self, *args):
2178 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2179 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2181 this = _IMP_algebra.new_FixedXYZ(*args)
2183 self.this.append(this)
2188 """get_x(FixedXYZ self) -> double"""
2189 return _IMP_algebra.FixedXYZ_get_x(self)
2193 """get_y(FixedXYZ self) -> double"""
2194 return _IMP_algebra.FixedXYZ_get_y(self)
2198 """get_z(FixedXYZ self) -> double"""
2199 return _IMP_algebra.FixedXYZ_get_z(self)
2202 def show(self, *args):
2204 show(FixedXYZ self, _ostream out)
2207 return _IMP_algebra.FixedXYZ_show(self, *args)
2211 """__str__(FixedXYZ self) -> std::string"""
2212 return _IMP_algebra.FixedXYZ___str__(self)
2216 """__repr__(FixedXYZ self) -> std::string"""
2217 return _IMP_algebra.FixedXYZ___repr__(self)
2219 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2220 __del__ =
lambda self:
None
2221 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2222 FixedXYZ_swigregister(FixedXYZ)
2226 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2227 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2230 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2231 return _IMP_algebra.get_interpolated(a, b, f)
2234 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2235 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2238 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2239 return _IMP_algebra.get_axis_and_angle(rot)
2242 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2243 return _IMP_algebra.get_unit_bounding_box_kd(d)
2246 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2247 return _IMP_algebra.get_cube_kd(d, radius)
2250 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2251 return _IMP_algebra.get_edges(arg1)
2252 class Transformation3D(_GeometricPrimitive3D):
2253 """Proxy of C++ IMP::algebra::Transformation3D class"""
2254 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2256 def __init__(self, *args):
2258 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2259 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2260 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2261 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2263 this = _IMP_algebra.new_Transformation3D(*args)
2265 self.this.append(this)
2268 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2269 __del__ =
lambda self:
None
2271 def get_transformed(self, o):
2272 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2273 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2276 def get_transformed_adjoint(self, v, Dw):
2277 """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2278 return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2281 def __mul__(self, *args):
2283 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2284 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2286 return _IMP_algebra.Transformation3D___mul__(self, *args)
2289 def __div__(self, b):
2290 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2291 return _IMP_algebra.Transformation3D___div__(self, b)
2294 def get_rotation(self):
2295 """get_rotation(Transformation3D self) -> Rotation3D"""
2296 return _IMP_algebra.Transformation3D_get_rotation(self)
2299 def get_translation(self):
2300 """get_translation(Transformation3D self) -> Vector3D"""
2301 return _IMP_algebra.Transformation3D_get_translation(self)
2304 def show(self, *args):
2306 show(Transformation3D self, _ostream out)
2307 show(Transformation3D self)
2309 return _IMP_algebra.Transformation3D_show(self, *args)
2312 def get_inverse(self):
2313 """get_inverse(Transformation3D self) -> Transformation3D"""
2314 return _IMP_algebra.Transformation3D_get_inverse(self)
2317 def get_is_valid(self):
2318 """get_is_valid(Transformation3D self) -> bool"""
2319 return _IMP_algebra.Transformation3D_get_is_valid(self)
2323 """__str__(Transformation3D self) -> std::string"""
2324 return _IMP_algebra.Transformation3D___str__(self)
2328 """__repr__(Transformation3D self) -> std::string"""
2329 return _IMP_algebra.Transformation3D___repr__(self)
2332 __truediv__ = __div__
2334 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2335 Transformation3D_swigregister(Transformation3D)
2339 """get_identity_transformation_3d() -> Transformation3D"""
2340 return _IMP_algebra.get_identity_transformation_3d()
2344 compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2345 compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2347 return _IMP_algebra.compose_adjoint(*args)
2350 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2351 return _IMP_algebra.get_transformation_3d(t2d)
2355 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2356 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2357 get_random_local_transformation(Vector3D origin) -> Transformation3D
2359 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2360 class Rotation2D(_GeometricPrimitive2D):
2361 """Proxy of C++ IMP::algebra::Rotation2D class"""
2362 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2364 def __init__(self, *args):
2366 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2367 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2369 this = _IMP_algebra.new_Rotation2D(*args)
2371 self.this.append(this)
2375 def get_rotated(self, *args):
2377 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2378 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2380 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2383 def get_inverse(self):
2384 """get_inverse(Rotation2D self) -> Rotation2D"""
2385 return _IMP_algebra.Rotation2D_get_inverse(self)
2388 def set_angle(self, angle):
2389 """set_angle(Rotation2D self, double angle)"""
2390 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2394 """get_angle(Rotation2D self) -> double"""
2395 return _IMP_algebra.Rotation2D_get_angle(self)
2398 def show(self, *args):
2400 show(Rotation2D self, _ostream out)
2401 show(Rotation2D self)
2403 return _IMP_algebra.Rotation2D_show(self, *args)
2407 """__str__(Rotation2D self) -> std::string"""
2408 return _IMP_algebra.Rotation2D___str__(self)
2412 """__repr__(Rotation2D self) -> std::string"""
2413 return _IMP_algebra.Rotation2D___repr__(self)
2415 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2416 __del__ =
lambda self:
None
2417 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2418 Rotation2D_swigregister(Rotation2D)
2422 """get_identity_rotation_2d() -> Rotation2D"""
2423 return _IMP_algebra.get_identity_rotation_2d()
2426 """get_random_rotation_2d() -> Rotation2D"""
2427 return _IMP_algebra.get_random_rotation_2d()
2430 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2431 return _IMP_algebra.get_rotation_to_x_axis(v)
2432 class Transformation2D(_GeometricPrimitive2D):
2433 """Proxy of C++ IMP::algebra::Transformation2D class"""
2434 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2436 def __init__(self, *args):
2438 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2439 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2440 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2441 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2443 this = _IMP_algebra.new_Transformation2D(*args)
2445 self.this.append(this)
2448 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2449 __del__ =
lambda self:
None
2451 def get_transformed(self, o):
2452 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2453 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2456 def __mul__(self, *args):
2458 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2459 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2461 return _IMP_algebra.Transformation2D___mul__(self, *args)
2464 def __div__(self, b):
2465 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2466 return _IMP_algebra.Transformation2D___div__(self, b)
2469 def get_rotation(self):
2470 """get_rotation(Transformation2D self) -> Rotation2D"""
2471 return _IMP_algebra.Transformation2D_get_rotation(self)
2474 def set_rotation(self, angle):
2475 """set_rotation(Transformation2D self, double angle)"""
2476 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2479 def get_translation(self):
2480 """get_translation(Transformation2D self) -> Vector2D"""
2481 return _IMP_algebra.Transformation2D_get_translation(self)
2484 def set_translation(self, v):
2485 """set_translation(Transformation2D self, Vector2D v)"""
2486 return _IMP_algebra.Transformation2D_set_translation(self, v)
2489 def show(self, *args):
2491 show(Transformation2D self, _ostream out)
2492 show(Transformation2D self)
2494 return _IMP_algebra.Transformation2D_show(self, *args)
2497 def get_inverse(self):
2498 """get_inverse(Transformation2D self) -> Transformation2D"""
2499 return _IMP_algebra.Transformation2D_get_inverse(self)
2503 """__str__(Transformation2D self) -> std::string"""
2504 return _IMP_algebra.Transformation2D___str__(self)
2508 """__repr__(Transformation2D self) -> std::string"""
2509 return _IMP_algebra.Transformation2D___repr__(self)
2512 __truediv__ = __div__
2514 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2515 Transformation2D_swigregister(Transformation2D)
2519 """get_identity_transformation_2d() -> Transformation2D"""
2520 return _IMP_algebra.get_identity_transformation_2d()
2524 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2525 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2527 return _IMP_algebra.get_rotation_about_point(*args)
2531 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2532 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2533 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2534 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2536 return _IMP_algebra.compose(*args)
2538 def get_unit_sphere_kd(d):
2539 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2540 return _IMP_algebra.get_unit_sphere_kd(d)
2544 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2545 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2547 return _IMP_algebra.get_enclosing_sphere(*args)
2550 """get_ball_radius_from_volume_3d(double volume) -> double"""
2551 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2554 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2555 return _IMP_algebra.get_surface_area_and_volume(ss)
2558 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2559 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2561 def get_triangle_3d(s):
2562 """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2563 return _IMP_algebra.get_triangle_3d(s)
2564 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2565 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class"""
2566 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2568 def __init__(self, *args, **kwargs):
2569 raise AttributeError(
"No constructor defined - class is abstract")
2570 __repr__ = _swig_repr
2572 def get_dimension(self):
2573 """get_dimension(_UnitSimplexBaseKD self) -> int"""
2574 return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2577 def get_barycenter(self):
2578 """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2579 return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2582 def get_contains(self, *args):
2584 get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2585 get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2587 return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2589 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2590 __del__ =
lambda self:
None
2591 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2592 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2594 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2595 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class"""
2596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2598 def __init__(self, *args, **kwargs):
2599 raise AttributeError(
"No constructor defined - class is abstract")
2600 __repr__ = _swig_repr
2602 def get_dimension(self):
2603 """get_dimension(_UnitSimplexBase1D self) -> int"""
2604 return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2607 def get_barycenter(self):
2608 """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2609 return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2612 def get_contains(self, *args):
2614 get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2615 get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2617 return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2619 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2620 __del__ =
lambda self:
None
2621 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2622 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2624 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2625 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class"""
2626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2628 def __init__(self, *args, **kwargs):
2629 raise AttributeError(
"No constructor defined - class is abstract")
2630 __repr__ = _swig_repr
2632 def get_dimension(self):
2633 """get_dimension(_UnitSimplexBase2D self) -> int"""
2634 return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2637 def get_barycenter(self):
2638 """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2639 return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2642 def get_contains(self, *args):
2644 get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2645 get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2647 return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2649 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2650 __del__ =
lambda self:
None
2651 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2652 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2654 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2655 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class"""
2656 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2658 def __init__(self, *args, **kwargs):
2659 raise AttributeError(
"No constructor defined - class is abstract")
2660 __repr__ = _swig_repr
2662 def get_dimension(self):
2663 """get_dimension(_UnitSimplexBase3D self) -> int"""
2664 return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2667 def get_barycenter(self):
2668 """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2669 return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2672 def get_contains(self, *args):
2674 get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2675 get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2677 return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2679 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2680 __del__ =
lambda self:
None
2681 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2682 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2684 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2685 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class"""
2686 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2688 def __init__(self, *args, **kwargs):
2689 raise AttributeError(
"No constructor defined - class is abstract")
2690 __repr__ = _swig_repr
2692 def get_dimension(self):
2693 """get_dimension(_UnitSimplexBase4D self) -> int"""
2694 return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2697 def get_barycenter(self):
2698 """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2699 return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2702 def get_contains(self, *args):
2704 get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2705 get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2707 return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2709 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2710 __del__ =
lambda self:
None
2711 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2712 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2714 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2715 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class"""
2716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2718 def __init__(self, *args, **kwargs):
2719 raise AttributeError(
"No constructor defined - class is abstract")
2720 __repr__ = _swig_repr
2722 def get_dimension(self):
2723 """get_dimension(_UnitSimplexBase5D self) -> int"""
2724 return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2727 def get_barycenter(self):
2728 """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2729 return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2732 def get_contains(self, *args):
2734 get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2735 get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2737 return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2739 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2740 __del__ =
lambda self:
None
2741 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2742 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2744 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2745 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class"""
2746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2748 def __init__(self, *args, **kwargs):
2749 raise AttributeError(
"No constructor defined - class is abstract")
2750 __repr__ = _swig_repr
2752 def get_dimension(self):
2753 """get_dimension(_UnitSimplexBase6D self) -> int"""
2754 return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2757 def get_barycenter(self):
2758 """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2759 return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2762 def get_contains(self, *args):
2764 get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2765 get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2767 return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2769 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2770 __del__ =
lambda self:
None
2771 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2772 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2775 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2779 """get_unit_vector(Vector1D self) -> Vector1D"""
2780 return _IMP_algebra.Vector1D_get_unit_vector(self)
2783 def __div__(self, s):
2784 """__div__(Vector1D self, double s) -> Vector1D"""
2785 return _IMP_algebra.Vector1D___div__(self, s)
2789 """__neg__(Vector1D self) -> Vector1D"""
2790 return _IMP_algebra.Vector1D___neg__(self)
2793 def __sub__(self, o):
2794 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2795 return _IMP_algebra.Vector1D___sub__(self, o)
2798 def __add__(self, ret):
2799 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2800 return _IMP_algebra.Vector1D___add__(self, ret)
2803 def __mul__(self, *args):
2805 __mul__(Vector1D self, double s) -> Vector1D
2806 __mul__(Vector1D self, Vector1D o) -> double
2808 return _IMP_algebra.Vector1D___mul__(self, *args)
2811 def __init__(self, *args):
2813 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2814 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2815 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2817 this = _IMP_algebra.new_Vector1D(*args)
2819 self.this.append(this)
2823 def __iadd__(self, *args):
2824 _IMP_algebra.Vector1D___iadd__(self, *args)
2829 def __imul__(self, *args):
2830 _IMP_algebra.Vector1D___imul__(self, *args)
2835 def __idiv__(self, *args):
2836 _IMP_algebra.Vector1D___idiv__(self, *args)
2841 def __isub__(self, *args):
2842 _IMP_algebra.Vector1D___isub__(self, *args)
2848 """__len__(Vector1D self) -> unsigned int"""
2849 return _IMP_algebra.Vector1D___len__(self)
2852 def __rmul__(self, f):
2853 """__rmul__(Vector1D self, double f) -> Vector1D"""
2854 return _IMP_algebra.Vector1D___rmul__(self, f)
2858 """__str__(Vector1D self) -> std::string"""
2859 return _IMP_algebra.Vector1D___str__(self)
2863 """__repr__(Vector1D self) -> std::string"""
2864 return _IMP_algebra.Vector1D___repr__(self)
2867 def __cmp__(self, arg2):
2868 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2869 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2872 def __eq__(self, arg2):
2873 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2874 return _IMP_algebra.Vector1D___eq__(self, arg2)
2877 __truediv__ = __div__
2878 __itruediv__ = __idiv__
2881 def __getitem__(self, index):
2882 """__getitem__(Vector1D self, int index) -> double"""
2883 return _IMP_algebra.Vector1D___getitem__(self, index)
2886 def __setitem__(self, index, val):
2887 """__setitem__(Vector1D self, int index, double val)"""
2888 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2890 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2891 __del__ =
lambda self:
None
2892 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2893 Vector1D_swigregister(Vector1D)
2896 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2897 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2900 """get_unit_vector(Vector2D self) -> Vector2D"""
2901 return _IMP_algebra.Vector2D_get_unit_vector(self)
2904 def __div__(self, s):
2905 """__div__(Vector2D self, double s) -> Vector2D"""
2906 return _IMP_algebra.Vector2D___div__(self, s)
2910 """__neg__(Vector2D self) -> Vector2D"""
2911 return _IMP_algebra.Vector2D___neg__(self)
2914 def __sub__(self, o):
2915 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2916 return _IMP_algebra.Vector2D___sub__(self, o)
2919 def __add__(self, ret):
2920 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2921 return _IMP_algebra.Vector2D___add__(self, ret)
2924 def __mul__(self, *args):
2926 __mul__(Vector2D self, double s) -> Vector2D
2927 __mul__(Vector2D self, Vector2D o) -> double
2929 return _IMP_algebra.Vector2D___mul__(self, *args)
2932 def __init__(self, *args):
2934 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2935 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2936 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2938 this = _IMP_algebra.new_Vector2D(*args)
2940 self.this.append(this)
2944 def __iadd__(self, *args):
2945 _IMP_algebra.Vector2D___iadd__(self, *args)
2950 def __imul__(self, *args):
2951 _IMP_algebra.Vector2D___imul__(self, *args)
2956 def __idiv__(self, *args):
2957 _IMP_algebra.Vector2D___idiv__(self, *args)
2962 def __isub__(self, *args):
2963 _IMP_algebra.Vector2D___isub__(self, *args)
2969 """__len__(Vector2D self) -> unsigned int"""
2970 return _IMP_algebra.Vector2D___len__(self)
2973 def __rmul__(self, f):
2974 """__rmul__(Vector2D self, double f) -> Vector2D"""
2975 return _IMP_algebra.Vector2D___rmul__(self, f)
2979 """__str__(Vector2D self) -> std::string"""
2980 return _IMP_algebra.Vector2D___str__(self)
2984 """__repr__(Vector2D self) -> std::string"""
2985 return _IMP_algebra.Vector2D___repr__(self)
2988 def __cmp__(self, arg2):
2989 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2990 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2993 def __eq__(self, arg2):
2994 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2995 return _IMP_algebra.Vector2D___eq__(self, arg2)
2998 __truediv__ = __div__
2999 __itruediv__ = __idiv__
3002 def __getitem__(self, index):
3003 """__getitem__(Vector2D self, int index) -> double"""
3004 return _IMP_algebra.Vector2D___getitem__(self, index)
3007 def __setitem__(self, index, val):
3008 """__setitem__(Vector2D self, int index, double val)"""
3009 return _IMP_algebra.Vector2D___setitem__(self, index, val)
3011 __swig_destroy__ = _IMP_algebra.delete_Vector2D
3012 __del__ =
lambda self:
None
3013 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
3014 Vector2D_swigregister(Vector2D)
3017 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
3018 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3021 """get_unit_vector(Vector3D self) -> Vector3D"""
3022 return _IMP_algebra.Vector3D_get_unit_vector(self)
3025 def __div__(self, s):
3026 """__div__(Vector3D self, double s) -> Vector3D"""
3027 return _IMP_algebra.Vector3D___div__(self, s)
3031 """__neg__(Vector3D self) -> Vector3D"""
3032 return _IMP_algebra.Vector3D___neg__(self)
3035 def __sub__(self, o):
3036 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
3037 return _IMP_algebra.Vector3D___sub__(self, o)
3040 def __add__(self, ret):
3041 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
3042 return _IMP_algebra.Vector3D___add__(self, ret)
3045 def __mul__(self, *args):
3047 __mul__(Vector3D self, double s) -> Vector3D
3048 __mul__(Vector3D self, Vector3D o) -> double
3050 return _IMP_algebra.Vector3D___mul__(self, *args)
3053 def __init__(self, *args):
3055 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3056 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3057 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3059 this = _IMP_algebra.new_Vector3D(*args)
3061 self.this.append(this)
3065 def __iadd__(self, *args):
3066 _IMP_algebra.Vector3D___iadd__(self, *args)
3071 def __imul__(self, *args):
3072 _IMP_algebra.Vector3D___imul__(self, *args)
3077 def __idiv__(self, *args):
3078 _IMP_algebra.Vector3D___idiv__(self, *args)
3083 def __isub__(self, *args):
3084 _IMP_algebra.Vector3D___isub__(self, *args)
3090 """__len__(Vector3D self) -> unsigned int"""
3091 return _IMP_algebra.Vector3D___len__(self)
3094 def __rmul__(self, f):
3095 """__rmul__(Vector3D self, double f) -> Vector3D"""
3096 return _IMP_algebra.Vector3D___rmul__(self, f)
3100 """__str__(Vector3D self) -> std::string"""
3101 return _IMP_algebra.Vector3D___str__(self)
3105 """__repr__(Vector3D self) -> std::string"""
3106 return _IMP_algebra.Vector3D___repr__(self)
3109 def __cmp__(self, arg2):
3110 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3111 return _IMP_algebra.Vector3D___cmp__(self, arg2)
3114 def __eq__(self, arg2):
3115 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3116 return _IMP_algebra.Vector3D___eq__(self, arg2)
3119 __truediv__ = __div__
3120 __itruediv__ = __idiv__
3123 def __getitem__(self, index):
3124 """__getitem__(Vector3D self, int index) -> double"""
3125 return _IMP_algebra.Vector3D___getitem__(self, index)
3128 def __setitem__(self, index, val):
3129 """__setitem__(Vector3D self, int index, double val)"""
3130 return _IMP_algebra.Vector3D___setitem__(self, index, val)
3132 __swig_destroy__ = _IMP_algebra.delete_Vector3D
3133 __del__ =
lambda self:
None
3134 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3135 Vector3D_swigregister(Vector3D)
3138 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
3139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3142 """get_unit_vector(Vector4D self) -> Vector4D"""
3143 return _IMP_algebra.Vector4D_get_unit_vector(self)
3146 def __div__(self, s):
3147 """__div__(Vector4D self, double s) -> Vector4D"""
3148 return _IMP_algebra.Vector4D___div__(self, s)
3152 """__neg__(Vector4D self) -> Vector4D"""
3153 return _IMP_algebra.Vector4D___neg__(self)
3156 def __sub__(self, o):
3157 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3158 return _IMP_algebra.Vector4D___sub__(self, o)
3161 def __add__(self, ret):
3162 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3163 return _IMP_algebra.Vector4D___add__(self, ret)
3166 def __mul__(self, *args):
3168 __mul__(Vector4D self, double s) -> Vector4D
3169 __mul__(Vector4D self, Vector4D o) -> double
3171 return _IMP_algebra.Vector4D___mul__(self, *args)
3174 def __init__(self, *args):
3176 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3177 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3178 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3180 this = _IMP_algebra.new_Vector4D(*args)
3182 self.this.append(this)
3186 def __iadd__(self, *args):
3187 _IMP_algebra.Vector4D___iadd__(self, *args)
3192 def __imul__(self, *args):
3193 _IMP_algebra.Vector4D___imul__(self, *args)
3198 def __idiv__(self, *args):
3199 _IMP_algebra.Vector4D___idiv__(self, *args)
3204 def __isub__(self, *args):
3205 _IMP_algebra.Vector4D___isub__(self, *args)
3211 """__len__(Vector4D self) -> unsigned int"""
3212 return _IMP_algebra.Vector4D___len__(self)
3215 def __rmul__(self, f):
3216 """__rmul__(Vector4D self, double f) -> Vector4D"""
3217 return _IMP_algebra.Vector4D___rmul__(self, f)
3221 """__str__(Vector4D self) -> std::string"""
3222 return _IMP_algebra.Vector4D___str__(self)
3226 """__repr__(Vector4D self) -> std::string"""
3227 return _IMP_algebra.Vector4D___repr__(self)
3230 def __cmp__(self, arg2):
3231 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3232 return _IMP_algebra.Vector4D___cmp__(self, arg2)
3235 def __eq__(self, arg2):
3236 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3237 return _IMP_algebra.Vector4D___eq__(self, arg2)
3240 __truediv__ = __div__
3241 __itruediv__ = __idiv__
3244 def __getitem__(self, index):
3245 """__getitem__(Vector4D self, int index) -> double"""
3246 return _IMP_algebra.Vector4D___getitem__(self, index)
3249 def __setitem__(self, index, val):
3250 """__setitem__(Vector4D self, int index, double val)"""
3251 return _IMP_algebra.Vector4D___setitem__(self, index, val)
3253 __swig_destroy__ = _IMP_algebra.delete_Vector4D
3254 __del__ =
lambda self:
None
3255 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3256 Vector4D_swigregister(Vector4D)
3259 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
3260 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3263 """get_unit_vector(Vector5D self) -> Vector5D"""
3264 return _IMP_algebra.Vector5D_get_unit_vector(self)
3267 def __div__(self, s):
3268 """__div__(Vector5D self, double s) -> Vector5D"""
3269 return _IMP_algebra.Vector5D___div__(self, s)
3273 """__neg__(Vector5D self) -> Vector5D"""
3274 return _IMP_algebra.Vector5D___neg__(self)
3277 def __sub__(self, o):
3278 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3279 return _IMP_algebra.Vector5D___sub__(self, o)
3282 def __add__(self, ret):
3283 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3284 return _IMP_algebra.Vector5D___add__(self, ret)
3287 def __mul__(self, *args):
3289 __mul__(Vector5D self, double s) -> Vector5D
3290 __mul__(Vector5D self, Vector5D o) -> double
3292 return _IMP_algebra.Vector5D___mul__(self, *args)
3295 def __init__(self, *args):
3297 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3298 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3299 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3301 this = _IMP_algebra.new_Vector5D(*args)
3303 self.this.append(this)
3307 def __iadd__(self, *args):
3308 _IMP_algebra.Vector5D___iadd__(self, *args)
3313 def __imul__(self, *args):
3314 _IMP_algebra.Vector5D___imul__(self, *args)
3319 def __idiv__(self, *args):
3320 _IMP_algebra.Vector5D___idiv__(self, *args)
3325 def __isub__(self, *args):
3326 _IMP_algebra.Vector5D___isub__(self, *args)
3332 """__len__(Vector5D self) -> unsigned int"""
3333 return _IMP_algebra.Vector5D___len__(self)
3336 def __rmul__(self, f):
3337 """__rmul__(Vector5D self, double f) -> Vector5D"""
3338 return _IMP_algebra.Vector5D___rmul__(self, f)
3342 """__str__(Vector5D self) -> std::string"""
3343 return _IMP_algebra.Vector5D___str__(self)
3347 """__repr__(Vector5D self) -> std::string"""
3348 return _IMP_algebra.Vector5D___repr__(self)
3351 def __cmp__(self, arg2):
3352 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3353 return _IMP_algebra.Vector5D___cmp__(self, arg2)
3356 def __eq__(self, arg2):
3357 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3358 return _IMP_algebra.Vector5D___eq__(self, arg2)
3361 __truediv__ = __div__
3362 __itruediv__ = __idiv__
3365 def __getitem__(self, index):
3366 """__getitem__(Vector5D self, int index) -> double"""
3367 return _IMP_algebra.Vector5D___getitem__(self, index)
3370 def __setitem__(self, index, val):
3371 """__setitem__(Vector5D self, int index, double val)"""
3372 return _IMP_algebra.Vector5D___setitem__(self, index, val)
3374 __swig_destroy__ = _IMP_algebra.delete_Vector5D
3375 __del__ =
lambda self:
None
3376 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3377 Vector5D_swigregister(Vector5D)
3380 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
3381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3384 """get_unit_vector(Vector6D self) -> Vector6D"""
3385 return _IMP_algebra.Vector6D_get_unit_vector(self)
3388 def __div__(self, s):
3389 """__div__(Vector6D self, double s) -> Vector6D"""
3390 return _IMP_algebra.Vector6D___div__(self, s)
3394 """__neg__(Vector6D self) -> Vector6D"""
3395 return _IMP_algebra.Vector6D___neg__(self)
3398 def __sub__(self, o):
3399 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3400 return _IMP_algebra.Vector6D___sub__(self, o)
3403 def __add__(self, ret):
3404 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3405 return _IMP_algebra.Vector6D___add__(self, ret)
3408 def __mul__(self, *args):
3410 __mul__(Vector6D self, double s) -> Vector6D
3411 __mul__(Vector6D self, Vector6D o) -> double
3413 return _IMP_algebra.Vector6D___mul__(self, *args)
3416 def __init__(self, *args):
3418 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3419 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3420 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3422 this = _IMP_algebra.new_Vector6D(*args)
3424 self.this.append(this)
3428 def __iadd__(self, *args):
3429 _IMP_algebra.Vector6D___iadd__(self, *args)
3434 def __imul__(self, *args):
3435 _IMP_algebra.Vector6D___imul__(self, *args)
3440 def __idiv__(self, *args):
3441 _IMP_algebra.Vector6D___idiv__(self, *args)
3446 def __isub__(self, *args):
3447 _IMP_algebra.Vector6D___isub__(self, *args)
3453 """__len__(Vector6D self) -> unsigned int"""
3454 return _IMP_algebra.Vector6D___len__(self)
3457 def __rmul__(self, f):
3458 """__rmul__(Vector6D self, double f) -> Vector6D"""
3459 return _IMP_algebra.Vector6D___rmul__(self, f)
3463 """__str__(Vector6D self) -> std::string"""
3464 return _IMP_algebra.Vector6D___str__(self)
3468 """__repr__(Vector6D self) -> std::string"""
3469 return _IMP_algebra.Vector6D___repr__(self)
3472 def __cmp__(self, arg2):
3473 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3474 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3477 def __eq__(self, arg2):
3478 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3479 return _IMP_algebra.Vector6D___eq__(self, arg2)
3482 __truediv__ = __div__
3483 __itruediv__ = __idiv__
3486 def __getitem__(self, index):
3487 """__getitem__(Vector6D self, int index) -> double"""
3488 return _IMP_algebra.Vector6D___getitem__(self, index)
3491 def __setitem__(self, index, val):
3492 """__setitem__(Vector6D self, int index, double val)"""
3493 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3495 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3496 __del__ =
lambda self:
None
3497 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3498 Vector6D_swigregister(Vector6D)
3501 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
3502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3505 """get_unit_vector(VectorKD self) -> VectorKD"""
3506 return _IMP_algebra.VectorKD_get_unit_vector(self)
3509 def __div__(self, s):
3510 """__div__(VectorKD self, double s) -> VectorKD"""
3511 return _IMP_algebra.VectorKD___div__(self, s)
3515 """__neg__(VectorKD self) -> VectorKD"""
3516 return _IMP_algebra.VectorKD___neg__(self)
3519 def __sub__(self, o):
3520 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3521 return _IMP_algebra.VectorKD___sub__(self, o)
3524 def __add__(self, ret):
3525 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3526 return _IMP_algebra.VectorKD___add__(self, ret)
3529 def __mul__(self, *args):
3531 __mul__(VectorKD self, double s) -> VectorKD
3532 __mul__(VectorKD self, VectorKD o) -> double
3534 return _IMP_algebra.VectorKD___mul__(self, *args)
3537 def __init__(self, *args):
3539 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3540 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3541 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3542 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3543 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3544 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3545 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3546 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3548 this = _IMP_algebra.new_VectorKD(*args)
3550 self.this.append(this)
3554 def __iadd__(self, *args):
3555 _IMP_algebra.VectorKD___iadd__(self, *args)
3560 def __imul__(self, *args):
3561 _IMP_algebra.VectorKD___imul__(self, *args)
3566 def __idiv__(self, *args):
3567 _IMP_algebra.VectorKD___idiv__(self, *args)
3572 def __isub__(self, *args):
3573 _IMP_algebra.VectorKD___isub__(self, *args)
3579 """__len__(VectorKD self) -> unsigned int"""
3580 return _IMP_algebra.VectorKD___len__(self)
3583 def __rmul__(self, f):
3584 """__rmul__(VectorKD self, double f) -> VectorKD"""
3585 return _IMP_algebra.VectorKD___rmul__(self, f)
3589 """__str__(VectorKD self) -> std::string"""
3590 return _IMP_algebra.VectorKD___str__(self)
3594 """__repr__(VectorKD self) -> std::string"""
3595 return _IMP_algebra.VectorKD___repr__(self)
3598 def __cmp__(self, arg2):
3599 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3600 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3603 def __eq__(self, arg2):
3604 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3605 return _IMP_algebra.VectorKD___eq__(self, arg2)
3608 __truediv__ = __div__
3609 __itruediv__ = __idiv__
3612 def __getitem__(self, index):
3613 """__getitem__(VectorKD self, int index) -> double"""
3614 return _IMP_algebra.VectorKD___getitem__(self, index)
3617 def __setitem__(self, index, val):
3618 """__setitem__(VectorKD self, int index, double val)"""
3619 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3621 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3622 __del__ =
lambda self:
None
3623 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3624 VectorKD_swigregister(VectorKD)
3627 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3628 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3630 def get_dimension(self):
3631 """get_dimension(BoundingBox1D self) -> unsigned int"""
3632 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3635 def get_corner(self, i):
3636 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3637 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3640 def get_contains(self, *args):
3642 get_contains(BoundingBox1D self, Vector1D o) -> bool
3643 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3645 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3648 def show(self, *args):
3650 show(BoundingBox1D self, _ostream out)
3651 show(BoundingBox1D self)
3653 return _IMP_algebra.BoundingBox1D_show(self, *args)
3657 """__str__(BoundingBox1D self) -> std::string"""
3658 return _IMP_algebra.BoundingBox1D___str__(self)
3662 """__repr__(BoundingBox1D self) -> std::string"""
3663 return _IMP_algebra.BoundingBox1D___repr__(self)
3666 def __cmp__(self, arg2):
3667 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3668 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3671 def __eq__(self, arg2):
3672 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3673 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3676 def __init__(self, *args):
3678 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3679 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3680 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3681 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3682 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3684 this = _IMP_algebra.new_BoundingBox1D(*args)
3686 self.this.append(this)
3690 def __getitem__(self, index):
3691 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3692 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3695 def __iadd__(self, *args):
3696 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3702 """__len__(BoundingBox1D self) -> unsigned int"""
3703 return _IMP_algebra.BoundingBox1D___len__(self)
3706 def __add__(self, *args):
3708 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3709 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3710 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3712 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3714 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3715 __del__ =
lambda self:
None
3716 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3717 BoundingBox1D_swigregister(BoundingBox1D)
3720 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
3721 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3723 def get_dimension(self):
3724 """get_dimension(BoundingBox2D self) -> unsigned int"""
3725 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3728 def get_corner(self, i):
3729 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3730 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3733 def get_contains(self, *args):
3735 get_contains(BoundingBox2D self, Vector2D o) -> bool
3736 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3738 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3741 def show(self, *args):
3743 show(BoundingBox2D self, _ostream out)
3744 show(BoundingBox2D self)
3746 return _IMP_algebra.BoundingBox2D_show(self, *args)
3750 """__str__(BoundingBox2D self) -> std::string"""
3751 return _IMP_algebra.BoundingBox2D___str__(self)
3755 """__repr__(BoundingBox2D self) -> std::string"""
3756 return _IMP_algebra.BoundingBox2D___repr__(self)
3759 def __cmp__(self, arg2):
3760 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3761 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3764 def __eq__(self, arg2):
3765 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3766 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3769 def __init__(self, *args):
3771 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3772 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3773 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3774 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3775 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3777 this = _IMP_algebra.new_BoundingBox2D(*args)
3779 self.this.append(this)
3783 def __getitem__(self, index):
3784 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3785 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3788 def __iadd__(self, *args):
3789 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3795 """__len__(BoundingBox2D self) -> unsigned int"""
3796 return _IMP_algebra.BoundingBox2D___len__(self)
3799 def __add__(self, *args):
3801 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3802 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3803 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3805 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3807 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3808 __del__ =
lambda self:
None
3809 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3810 BoundingBox2D_swigregister(BoundingBox2D)
3813 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
3814 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3816 def get_dimension(self):
3817 """get_dimension(BoundingBox3D self) -> unsigned int"""
3818 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3821 def get_corner(self, i):
3822 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3823 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3826 def get_contains(self, *args):
3828 get_contains(BoundingBox3D self, Vector3D o) -> bool
3829 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3831 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3834 def show(self, *args):
3836 show(BoundingBox3D self, _ostream out)
3837 show(BoundingBox3D self)
3839 return _IMP_algebra.BoundingBox3D_show(self, *args)
3843 """__str__(BoundingBox3D self) -> std::string"""
3844 return _IMP_algebra.BoundingBox3D___str__(self)
3848 """__repr__(BoundingBox3D self) -> std::string"""
3849 return _IMP_algebra.BoundingBox3D___repr__(self)
3852 def __cmp__(self, arg2):
3853 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3854 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3857 def __eq__(self, arg2):
3858 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3859 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3862 def __init__(self, *args):
3864 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3865 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3866 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3867 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3868 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3870 this = _IMP_algebra.new_BoundingBox3D(*args)
3872 self.this.append(this)
3876 def __getitem__(self, index):
3877 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3878 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3881 def __iadd__(self, *args):
3882 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3888 """__len__(BoundingBox3D self) -> unsigned int"""
3889 return _IMP_algebra.BoundingBox3D___len__(self)
3892 def __add__(self, *args):
3894 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3895 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3896 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3898 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3900 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3901 __del__ =
lambda self:
None
3902 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3903 BoundingBox3D_swigregister(BoundingBox3D)
3906 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3909 def get_dimension(self):
3910 """get_dimension(BoundingBox4D self) -> unsigned int"""
3911 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3914 def get_corner(self, i):
3915 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3916 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3919 def get_contains(self, *args):
3921 get_contains(BoundingBox4D self, Vector4D o) -> bool
3922 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3924 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3927 def show(self, *args):
3929 show(BoundingBox4D self, _ostream out)
3930 show(BoundingBox4D self)
3932 return _IMP_algebra.BoundingBox4D_show(self, *args)
3936 """__str__(BoundingBox4D self) -> std::string"""
3937 return _IMP_algebra.BoundingBox4D___str__(self)
3941 """__repr__(BoundingBox4D self) -> std::string"""
3942 return _IMP_algebra.BoundingBox4D___repr__(self)
3945 def __cmp__(self, arg2):
3946 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3947 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3950 def __eq__(self, arg2):
3951 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3952 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3955 def __init__(self, *args):
3957 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3958 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3959 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3960 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3961 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3963 this = _IMP_algebra.new_BoundingBox4D(*args)
3965 self.this.append(this)
3969 def __getitem__(self, index):
3970 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3971 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3974 def __iadd__(self, *args):
3975 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3981 """__len__(BoundingBox4D self) -> unsigned int"""
3982 return _IMP_algebra.BoundingBox4D___len__(self)
3985 def __add__(self, *args):
3987 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3988 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3989 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3991 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3993 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3994 __del__ =
lambda self:
None
3995 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3996 BoundingBox4D_swigregister(BoundingBox4D)
3999 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
4000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4002 def get_dimension(self):
4003 """get_dimension(BoundingBox5D self) -> unsigned int"""
4004 return _IMP_algebra.BoundingBox5D_get_dimension(self)
4007 def get_corner(self, i):
4008 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
4009 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
4012 def get_contains(self, *args):
4014 get_contains(BoundingBox5D self, Vector5D o) -> bool
4015 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
4017 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
4020 def show(self, *args):
4022 show(BoundingBox5D self, _ostream out)
4023 show(BoundingBox5D self)
4025 return _IMP_algebra.BoundingBox5D_show(self, *args)
4029 """__str__(BoundingBox5D self) -> std::string"""
4030 return _IMP_algebra.BoundingBox5D___str__(self)
4034 """__repr__(BoundingBox5D self) -> std::string"""
4035 return _IMP_algebra.BoundingBox5D___repr__(self)
4038 def __cmp__(self, arg2):
4039 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4040 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4043 def __eq__(self, arg2):
4044 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4045 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4048 def __init__(self, *args):
4050 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4051 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4052 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4053 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4054 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4056 this = _IMP_algebra.new_BoundingBox5D(*args)
4058 self.this.append(this)
4062 def __getitem__(self, index):
4063 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4064 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4067 def __iadd__(self, *args):
4068 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4074 """__len__(BoundingBox5D self) -> unsigned int"""
4075 return _IMP_algebra.BoundingBox5D___len__(self)
4078 def __add__(self, *args):
4080 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4081 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4082 __add__(BoundingBox5D self, double o) -> BoundingBox5D
4084 return _IMP_algebra.BoundingBox5D___add__(self, *args)
4086 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4087 __del__ =
lambda self:
None
4088 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4089 BoundingBox5D_swigregister(BoundingBox5D)
4092 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
4093 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4095 def get_dimension(self):
4096 """get_dimension(BoundingBox6D self) -> unsigned int"""
4097 return _IMP_algebra.BoundingBox6D_get_dimension(self)
4100 def get_corner(self, i):
4101 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4102 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4105 def get_contains(self, *args):
4107 get_contains(BoundingBox6D self, Vector6D o) -> bool
4108 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4110 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4113 def show(self, *args):
4115 show(BoundingBox6D self, _ostream out)
4116 show(BoundingBox6D self)
4118 return _IMP_algebra.BoundingBox6D_show(self, *args)
4122 """__str__(BoundingBox6D self) -> std::string"""
4123 return _IMP_algebra.BoundingBox6D___str__(self)
4127 """__repr__(BoundingBox6D self) -> std::string"""
4128 return _IMP_algebra.BoundingBox6D___repr__(self)
4131 def __cmp__(self, arg2):
4132 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4133 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4136 def __eq__(self, arg2):
4137 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4138 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4141 def __init__(self, *args):
4143 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4144 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4145 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4146 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4147 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4149 this = _IMP_algebra.new_BoundingBox6D(*args)
4151 self.this.append(this)
4155 def __getitem__(self, index):
4156 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4157 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4160 def __iadd__(self, *args):
4161 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4167 """__len__(BoundingBox6D self) -> unsigned int"""
4168 return _IMP_algebra.BoundingBox6D___len__(self)
4171 def __add__(self, *args):
4173 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4174 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4175 __add__(BoundingBox6D self, double o) -> BoundingBox6D
4177 return _IMP_algebra.BoundingBox6D___add__(self, *args)
4179 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4180 __del__ =
lambda self:
None
4181 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4182 BoundingBox6D_swigregister(BoundingBox6D)
4185 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
4186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4188 def get_dimension(self):
4189 """get_dimension(BoundingBoxKD self) -> unsigned int"""
4190 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4193 def get_corner(self, i):
4194 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4195 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4198 def get_contains(self, *args):
4200 get_contains(BoundingBoxKD self, VectorKD o) -> bool
4201 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4203 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4206 def show(self, *args):
4208 show(BoundingBoxKD self, _ostream out)
4209 show(BoundingBoxKD self)
4211 return _IMP_algebra.BoundingBoxKD_show(self, *args)
4215 """__str__(BoundingBoxKD self) -> std::string"""
4216 return _IMP_algebra.BoundingBoxKD___str__(self)
4220 """__repr__(BoundingBoxKD self) -> std::string"""
4221 return _IMP_algebra.BoundingBoxKD___repr__(self)
4224 def __cmp__(self, arg2):
4225 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4226 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4229 def __eq__(self, arg2):
4230 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4231 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4234 def __init__(self, *args):
4236 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4237 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4238 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4239 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4240 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4242 this = _IMP_algebra.new_BoundingBoxKD(*args)
4244 self.this.append(this)
4248 def __getitem__(self, index):
4249 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4250 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4253 def __iadd__(self, *args):
4254 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4260 """__len__(BoundingBoxKD self) -> unsigned int"""
4261 return _IMP_algebra.BoundingBoxKD___len__(self)
4264 def __add__(self, *args):
4266 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4267 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4268 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4270 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4272 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4273 __del__ =
lambda self:
None
4274 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4275 BoundingBoxKD_swigregister(BoundingBoxKD)
4277 class Sphere1D(_GeometricPrimitive1D):
4278 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
4279 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4281 def __init__(self, *args):
4283 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4284 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4286 this = _IMP_algebra.new_Sphere1D(*args)
4288 self.this.append(this)
4292 def get_radius(self):
4293 """get_radius(Sphere1D self) -> double"""
4294 return _IMP_algebra.Sphere1D_get_radius(self)
4297 def get_center(self):
4298 """get_center(Sphere1D self) -> Vector1D"""
4299 return _IMP_algebra.Sphere1D_get_center(self)
4302 def get_contains(self, *args):
4304 get_contains(Sphere1D self, Sphere1D o) -> bool
4305 get_contains(Sphere1D self, Vector1D p) -> bool
4307 return _IMP_algebra.Sphere1D_get_contains(self, *args)
4310 def show(self, *args):
4312 show(Sphere1D self, _ostream out)
4315 return _IMP_algebra.Sphere1D_show(self, *args)
4318 def get_dimension(self):
4319 """get_dimension(Sphere1D self) -> unsigned int"""
4320 return _IMP_algebra.Sphere1D_get_dimension(self)
4324 """__str__(Sphere1D self) -> std::string"""
4325 return _IMP_algebra.Sphere1D___str__(self)
4329 """__repr__(Sphere1D self) -> std::string"""
4330 return _IMP_algebra.Sphere1D___repr__(self)
4333 def __cmp__(self, arg2):
4334 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4335 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4338 def __eq__(self, arg2):
4339 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4340 return _IMP_algebra.Sphere1D___eq__(self, arg2)
4342 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4343 __del__ =
lambda self:
None
4344 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4345 Sphere1D_swigregister(Sphere1D)
4347 class Sphere2D(_GeometricPrimitive2D):
4348 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
4349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4351 def __init__(self, *args):
4353 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4354 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4356 this = _IMP_algebra.new_Sphere2D(*args)
4358 self.this.append(this)
4362 def get_radius(self):
4363 """get_radius(Sphere2D self) -> double"""
4364 return _IMP_algebra.Sphere2D_get_radius(self)
4367 def get_center(self):
4368 """get_center(Sphere2D self) -> Vector2D"""
4369 return _IMP_algebra.Sphere2D_get_center(self)
4372 def get_contains(self, *args):
4374 get_contains(Sphere2D self, Sphere2D o) -> bool
4375 get_contains(Sphere2D self, Vector2D p) -> bool
4377 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4380 def show(self, *args):
4382 show(Sphere2D self, _ostream out)
4385 return _IMP_algebra.Sphere2D_show(self, *args)
4388 def get_dimension(self):
4389 """get_dimension(Sphere2D self) -> unsigned int"""
4390 return _IMP_algebra.Sphere2D_get_dimension(self)
4394 """__str__(Sphere2D self) -> std::string"""
4395 return _IMP_algebra.Sphere2D___str__(self)
4399 """__repr__(Sphere2D self) -> std::string"""
4400 return _IMP_algebra.Sphere2D___repr__(self)
4403 def __cmp__(self, arg2):
4404 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4405 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4408 def __eq__(self, arg2):
4409 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4410 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4412 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4413 __del__ =
lambda self:
None
4414 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4415 Sphere2D_swigregister(Sphere2D)
4417 class Sphere3D(_GeometricPrimitive3D):
4418 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
4419 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4421 def __init__(self, *args):
4423 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4424 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4426 this = _IMP_algebra.new_Sphere3D(*args)
4428 self.this.append(this)
4432 def get_radius(self):
4433 """get_radius(Sphere3D self) -> double"""
4434 return _IMP_algebra.Sphere3D_get_radius(self)
4437 def get_center(self):
4438 """get_center(Sphere3D self) -> Vector3D"""
4439 return _IMP_algebra.Sphere3D_get_center(self)
4442 def get_contains(self, *args):
4444 get_contains(Sphere3D self, Sphere3D o) -> bool
4445 get_contains(Sphere3D self, Vector3D p) -> bool
4447 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4450 def show(self, *args):
4452 show(Sphere3D self, _ostream out)
4455 return _IMP_algebra.Sphere3D_show(self, *args)
4458 def get_dimension(self):
4459 """get_dimension(Sphere3D self) -> unsigned int"""
4460 return _IMP_algebra.Sphere3D_get_dimension(self)
4464 """__str__(Sphere3D self) -> std::string"""
4465 return _IMP_algebra.Sphere3D___str__(self)
4469 """__repr__(Sphere3D self) -> std::string"""
4470 return _IMP_algebra.Sphere3D___repr__(self)
4473 def __cmp__(self, arg2):
4474 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4475 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4478 def __eq__(self, arg2):
4479 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4480 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4482 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4483 __del__ =
lambda self:
None
4484 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4485 Sphere3D_swigregister(Sphere3D)
4487 class Sphere4D(_GeometricPrimitive4D):
4488 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
4489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4491 def __init__(self, *args):
4493 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4494 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4496 this = _IMP_algebra.new_Sphere4D(*args)
4498 self.this.append(this)
4502 def get_radius(self):
4503 """get_radius(Sphere4D self) -> double"""
4504 return _IMP_algebra.Sphere4D_get_radius(self)
4507 def get_center(self):
4508 """get_center(Sphere4D self) -> Vector4D"""
4509 return _IMP_algebra.Sphere4D_get_center(self)
4512 def get_contains(self, *args):
4514 get_contains(Sphere4D self, Sphere4D o) -> bool
4515 get_contains(Sphere4D self, Vector4D p) -> bool
4517 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4520 def show(self, *args):
4522 show(Sphere4D self, _ostream out)
4525 return _IMP_algebra.Sphere4D_show(self, *args)
4528 def get_dimension(self):
4529 """get_dimension(Sphere4D self) -> unsigned int"""
4530 return _IMP_algebra.Sphere4D_get_dimension(self)
4534 """__str__(Sphere4D self) -> std::string"""
4535 return _IMP_algebra.Sphere4D___str__(self)
4539 """__repr__(Sphere4D self) -> std::string"""
4540 return _IMP_algebra.Sphere4D___repr__(self)
4543 def __cmp__(self, arg2):
4544 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4545 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4548 def __eq__(self, arg2):
4549 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4550 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4552 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4553 __del__ =
lambda self:
None
4554 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4555 Sphere4D_swigregister(Sphere4D)
4557 class Sphere5D(_GeometricPrimitive5D):
4558 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
4559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4561 def __init__(self, *args):
4563 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4564 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4566 this = _IMP_algebra.new_Sphere5D(*args)
4568 self.this.append(this)
4572 def get_radius(self):
4573 """get_radius(Sphere5D self) -> double"""
4574 return _IMP_algebra.Sphere5D_get_radius(self)
4577 def get_center(self):
4578 """get_center(Sphere5D self) -> Vector5D"""
4579 return _IMP_algebra.Sphere5D_get_center(self)
4582 def get_contains(self, *args):
4584 get_contains(Sphere5D self, Sphere5D o) -> bool
4585 get_contains(Sphere5D self, Vector5D p) -> bool
4587 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4590 def show(self, *args):
4592 show(Sphere5D self, _ostream out)
4595 return _IMP_algebra.Sphere5D_show(self, *args)
4598 def get_dimension(self):
4599 """get_dimension(Sphere5D self) -> unsigned int"""
4600 return _IMP_algebra.Sphere5D_get_dimension(self)
4604 """__str__(Sphere5D self) -> std::string"""
4605 return _IMP_algebra.Sphere5D___str__(self)
4609 """__repr__(Sphere5D self) -> std::string"""
4610 return _IMP_algebra.Sphere5D___repr__(self)
4613 def __cmp__(self, arg2):
4614 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4615 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4618 def __eq__(self, arg2):
4619 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4620 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4622 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4623 __del__ =
lambda self:
None
4624 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4625 Sphere5D_swigregister(Sphere5D)
4627 class Sphere6D(_GeometricPrimitive6D):
4628 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
4629 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4631 def __init__(self, *args):
4633 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4634 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4636 this = _IMP_algebra.new_Sphere6D(*args)
4638 self.this.append(this)
4642 def get_radius(self):
4643 """get_radius(Sphere6D self) -> double"""
4644 return _IMP_algebra.Sphere6D_get_radius(self)
4647 def get_center(self):
4648 """get_center(Sphere6D self) -> Vector6D"""
4649 return _IMP_algebra.Sphere6D_get_center(self)
4652 def get_contains(self, *args):
4654 get_contains(Sphere6D self, Sphere6D o) -> bool
4655 get_contains(Sphere6D self, Vector6D p) -> bool
4657 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4660 def show(self, *args):
4662 show(Sphere6D self, _ostream out)
4665 return _IMP_algebra.Sphere6D_show(self, *args)
4668 def get_dimension(self):
4669 """get_dimension(Sphere6D self) -> unsigned int"""
4670 return _IMP_algebra.Sphere6D_get_dimension(self)
4674 """__str__(Sphere6D self) -> std::string"""
4675 return _IMP_algebra.Sphere6D___str__(self)
4679 """__repr__(Sphere6D self) -> std::string"""
4680 return _IMP_algebra.Sphere6D___repr__(self)
4683 def __cmp__(self, arg2):
4684 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4685 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4688 def __eq__(self, arg2):
4689 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4690 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4692 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4693 __del__ =
lambda self:
None
4694 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4695 Sphere6D_swigregister(Sphere6D)
4697 class SphereKD(_GeometricPrimitiveKD):
4698 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
4699 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4701 def __init__(self, *args):
4703 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4704 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4706 this = _IMP_algebra.new_SphereKD(*args)
4708 self.this.append(this)
4712 def get_radius(self):
4713 """get_radius(SphereKD self) -> double"""
4714 return _IMP_algebra.SphereKD_get_radius(self)
4717 def get_center(self):
4718 """get_center(SphereKD self) -> VectorKD"""
4719 return _IMP_algebra.SphereKD_get_center(self)
4722 def get_contains(self, *args):
4724 get_contains(SphereKD self, SphereKD o) -> bool
4725 get_contains(SphereKD self, VectorKD p) -> bool
4727 return _IMP_algebra.SphereKD_get_contains(self, *args)
4730 def show(self, *args):
4732 show(SphereKD self, _ostream out)
4735 return _IMP_algebra.SphereKD_show(self, *args)
4738 def get_dimension(self):
4739 """get_dimension(SphereKD self) -> unsigned int"""
4740 return _IMP_algebra.SphereKD_get_dimension(self)
4744 """__str__(SphereKD self) -> std::string"""
4745 return _IMP_algebra.SphereKD___str__(self)
4749 """__repr__(SphereKD self) -> std::string"""
4750 return _IMP_algebra.SphereKD___repr__(self)
4753 def __cmp__(self, arg2):
4754 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4755 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4758 def __eq__(self, arg2):
4759 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4760 return _IMP_algebra.SphereKD___eq__(self, arg2)
4762 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4763 __del__ =
lambda self:
None
4764 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4765 SphereKD_swigregister(SphereKD)
4767 class UnitSimplex1D(_UnitSimplexBase1D):
4768 """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class"""
4769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4772 """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
4773 this = _IMP_algebra.new_UnitSimplex1D()
4775 self.this.append(this)
4779 def show(self, *args):
4781 show(UnitSimplex1D self, _ostream out)
4782 show(UnitSimplex1D self)
4784 return _IMP_algebra.UnitSimplex1D_show(self, *args)
4788 """__str__(UnitSimplex1D self) -> std::string"""
4789 return _IMP_algebra.UnitSimplex1D___str__(self)
4793 """__repr__(UnitSimplex1D self) -> std::string"""
4794 return _IMP_algebra.UnitSimplex1D___repr__(self)
4797 def __cmp__(self, arg2):
4798 """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
4799 return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
4802 def __eq__(self, arg2):
4803 """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
4804 return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
4806 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
4807 __del__ =
lambda self:
None
4808 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
4809 UnitSimplex1D_swigregister(UnitSimplex1D)
4811 class UnitSimplex2D(_UnitSimplexBase2D):
4812 """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class"""
4813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4816 """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
4817 this = _IMP_algebra.new_UnitSimplex2D()
4819 self.this.append(this)
4823 def show(self, *args):
4825 show(UnitSimplex2D self, _ostream out)
4826 show(UnitSimplex2D self)
4828 return _IMP_algebra.UnitSimplex2D_show(self, *args)
4832 """__str__(UnitSimplex2D self) -> std::string"""
4833 return _IMP_algebra.UnitSimplex2D___str__(self)
4837 """__repr__(UnitSimplex2D self) -> std::string"""
4838 return _IMP_algebra.UnitSimplex2D___repr__(self)
4841 def __cmp__(self, arg2):
4842 """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
4843 return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
4846 def __eq__(self, arg2):
4847 """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
4848 return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
4850 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
4851 __del__ =
lambda self:
None
4852 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
4853 UnitSimplex2D_swigregister(UnitSimplex2D)
4855 class UnitSimplex3D(_UnitSimplexBase3D):
4856 """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class"""
4857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4860 """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
4861 this = _IMP_algebra.new_UnitSimplex3D()
4863 self.this.append(this)
4867 def show(self, *args):
4869 show(UnitSimplex3D self, _ostream out)
4870 show(UnitSimplex3D self)
4872 return _IMP_algebra.UnitSimplex3D_show(self, *args)
4876 """__str__(UnitSimplex3D self) -> std::string"""
4877 return _IMP_algebra.UnitSimplex3D___str__(self)
4881 """__repr__(UnitSimplex3D self) -> std::string"""
4882 return _IMP_algebra.UnitSimplex3D___repr__(self)
4885 def __cmp__(self, arg2):
4886 """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
4887 return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
4890 def __eq__(self, arg2):
4891 """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
4892 return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
4894 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
4895 __del__ =
lambda self:
None
4896 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
4897 UnitSimplex3D_swigregister(UnitSimplex3D)
4899 class UnitSimplex4D(_UnitSimplexBase4D):
4900 """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class"""
4901 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4904 """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
4905 this = _IMP_algebra.new_UnitSimplex4D()
4907 self.this.append(this)
4911 def show(self, *args):
4913 show(UnitSimplex4D self, _ostream out)
4914 show(UnitSimplex4D self)
4916 return _IMP_algebra.UnitSimplex4D_show(self, *args)
4920 """__str__(UnitSimplex4D self) -> std::string"""
4921 return _IMP_algebra.UnitSimplex4D___str__(self)
4925 """__repr__(UnitSimplex4D self) -> std::string"""
4926 return _IMP_algebra.UnitSimplex4D___repr__(self)
4929 def __cmp__(self, arg2):
4930 """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
4931 return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
4934 def __eq__(self, arg2):
4935 """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
4936 return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
4938 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
4939 __del__ =
lambda self:
None
4940 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
4941 UnitSimplex4D_swigregister(UnitSimplex4D)
4943 class UnitSimplex5D(_UnitSimplexBase5D):
4944 """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class"""
4945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4948 """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
4949 this = _IMP_algebra.new_UnitSimplex5D()
4951 self.this.append(this)
4955 def show(self, *args):
4957 show(UnitSimplex5D self, _ostream out)
4958 show(UnitSimplex5D self)
4960 return _IMP_algebra.UnitSimplex5D_show(self, *args)
4964 """__str__(UnitSimplex5D self) -> std::string"""
4965 return _IMP_algebra.UnitSimplex5D___str__(self)
4969 """__repr__(UnitSimplex5D self) -> std::string"""
4970 return _IMP_algebra.UnitSimplex5D___repr__(self)
4973 def __cmp__(self, arg2):
4974 """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
4975 return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
4978 def __eq__(self, arg2):
4979 """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
4980 return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
4982 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
4983 __del__ =
lambda self:
None
4984 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
4985 UnitSimplex5D_swigregister(UnitSimplex5D)
4987 class UnitSimplex6D(_UnitSimplexBase6D):
4988 """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class"""
4989 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4992 """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
4993 this = _IMP_algebra.new_UnitSimplex6D()
4995 self.this.append(this)
4999 def show(self, *args):
5001 show(UnitSimplex6D self, _ostream out)
5002 show(UnitSimplex6D self)
5004 return _IMP_algebra.UnitSimplex6D_show(self, *args)
5008 """__str__(UnitSimplex6D self) -> std::string"""
5009 return _IMP_algebra.UnitSimplex6D___str__(self)
5013 """__repr__(UnitSimplex6D self) -> std::string"""
5014 return _IMP_algebra.UnitSimplex6D___repr__(self)
5017 def __cmp__(self, arg2):
5018 """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5019 return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5022 def __eq__(self, arg2):
5023 """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5024 return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5026 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5027 __del__ =
lambda self:
None
5028 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5029 UnitSimplex6D_swigregister(UnitSimplex6D)
5031 class UnitSimplexKD(_UnitSimplexBaseKD):
5032 """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class"""
5033 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5034 __repr__ = _swig_repr
5036 def __init__(self, d=1):
5038 __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5039 __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5041 this = _IMP_algebra.new_UnitSimplexKD(d)
5043 self.this.append(this)
5047 def show(self, *args):
5049 show(UnitSimplexKD self, _ostream out)
5050 show(UnitSimplexKD self)
5052 return _IMP_algebra.UnitSimplexKD_show(self, *args)
5054 __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5055 __del__ =
lambda self:
None
5056 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5057 UnitSimplexKD_swigregister(UnitSimplexKD)
5059 class ReferenceFrame3D(object):
5060 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
5061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5063 def __init__(self, *args):
5065 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5066 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5068 this = _IMP_algebra.new_ReferenceFrame3D(*args)
5070 self.this.append(this)
5073 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5074 __del__ =
lambda self:
None
5076 def get_transformation_to(self):
5077 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5078 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5081 def get_transformation_from(self):
5082 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5083 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5086 def get_global_coordinates(self, v):
5087 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5088 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5091 def get_local_coordinates(self, v):
5092 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5093 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5096 def get_global_reference_frame(self, v):
5097 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5098 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5101 def get_local_reference_frame(self, v):
5102 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5103 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
5106 def show(self, *args):
5108 show(ReferenceFrame3D self, _ostream out)
5109 show(ReferenceFrame3D self)
5111 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
5115 """__str__(ReferenceFrame3D self) -> std::string"""
5116 return _IMP_algebra.ReferenceFrame3D___str__(self)
5120 """__repr__(ReferenceFrame3D self) -> std::string"""
5121 return _IMP_algebra.ReferenceFrame3D___repr__(self)
5123 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
5124 ReferenceFrame3D_swigregister(ReferenceFrame3D)
5127 def get_transformed(*args):
5129 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
5130 get_transformed(Line3D l, Transformation3D tr) -> Line3D
5131 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
5133 return _IMP_algebra.get_transformed(*args)
5135 def get_transformation_from_first_to_second(a, b):
5136 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
5137 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
5138 class SphericalVector3D(_GeometricPrimitive3D):
5139 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
5140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5142 def __init__(self, *args):
5144 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
5145 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
5146 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
5147 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
5149 this = _IMP_algebra.new_SphericalVector3D(*args)
5151 self.this.append(this)
5155 def get_cartesian_coordinates(self):
5156 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
5157 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
5160 def show(self, *args):
5162 show(SphericalVector3D self, _ostream out)
5163 show(SphericalVector3D self)
5165 return _IMP_algebra.SphericalVector3D_show(self, *args)
5169 """__str__(SphericalVector3D self) -> std::string"""
5170 return _IMP_algebra.SphericalVector3D___str__(self)
5174 """__repr__(SphericalVector3D self) -> std::string"""
5175 return _IMP_algebra.SphericalVector3D___repr__(self)
5178 def __getitem__(self, index):
5179 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
5180 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
5183 def __setitem__(self, index, val):
5184 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
5185 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
5187 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
5188 __del__ =
lambda self:
None
5189 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
5190 SphericalVector3D_swigregister(SphericalVector3D)
5194 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
5195 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
5196 class Line3D(_GeometricPrimitive3D):
5197 """Proxy of C++ IMP::algebra::Line3D class"""
5198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5200 def __init__(self, *args):
5202 __init__(IMP::algebra::Line3D self) -> Line3D
5203 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
5204 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
5206 this = _IMP_algebra.new_Line3D(*args)
5208 self.this.append(this)
5212 def get_direction(self):
5213 """get_direction(Line3D self) -> Vector3D"""
5214 return _IMP_algebra.Line3D_get_direction(self)
5217 def get_point_on_line(self):
5218 """get_point_on_line(Line3D self) -> Vector3D"""
5219 return _IMP_algebra.Line3D_get_point_on_line(self)
5222 def get_moment(self, *args):
5224 get_moment(Line3D self) -> Vector3D
5225 get_moment(Line3D self, Vector3D v) -> Vector3D
5227 return _IMP_algebra.Line3D_get_moment(self, *args)
5230 def get_reciprocal_product(self, l):
5231 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
5232 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
5235 def get_opposite(self):
5236 """get_opposite(Line3D self) -> Line3D"""
5237 return _IMP_algebra.Line3D_get_opposite(self)
5240 def get_segment_starting_at(self, v, d):
5241 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
5242 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
5245 def show(self, *args):
5247 show(Line3D self, _ostream out)
5250 return _IMP_algebra.Line3D_show(self, *args)
5254 """__str__(Line3D self) -> std::string"""
5255 return _IMP_algebra.Line3D___str__(self)
5259 """__repr__(Line3D self) -> std::string"""
5260 return _IMP_algebra.Line3D___repr__(self)
5262 __swig_destroy__ = _IMP_algebra.delete_Line3D
5263 __del__ =
lambda self:
None
5264 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
5265 Line3D_swigregister(Line3D)
5268 def get_line_3d_geometry(g):
5269 """get_line_3d_geometry(Line3D g) -> Line3D"""
5270 return _IMP_algebra.get_line_3d_geometry(g)
5273 """get_angle(Line3D a, Line3D b) -> double"""
5274 return _IMP_algebra.get_angle(a, b)
5277 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
5278 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
5279 class Segment3D(_GeometricPrimitive3D):
5280 """Proxy of C++ IMP::algebra::Segment3D class"""
5281 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5283 def __init__(self, *args):
5285 __init__(IMP::algebra::Segment3D self) -> Segment3D
5286 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
5288 this = _IMP_algebra.new_Segment3D(*args)
5290 self.this.append(this)
5294 def get_point(self, i):
5297 return _IMP_algebra.Segment3D_get_point(self, i)
5301 def get_middle_point(self):
5302 """get_middle_point(Segment3D self) -> Vector3D"""
5303 return _IMP_algebra.Segment3D_get_middle_point(self)
5306 def get_direction(self):
5307 """get_direction(Segment3D self) -> Vector3D"""
5308 return _IMP_algebra.Segment3D_get_direction(self)
5311 def get_length(self):
5312 """get_length(Segment3D self) -> double"""
5313 return _IMP_algebra.Segment3D_get_length(self)
5316 def show(self, *args):
5318 show(Segment3D self, _ostream out)
5319 show(Segment3D self)
5321 return _IMP_algebra.Segment3D_show(self, *args)
5325 """__str__(Segment3D self) -> std::string"""
5326 return _IMP_algebra.Segment3D___str__(self)
5330 """__repr__(Segment3D self) -> std::string"""
5331 return _IMP_algebra.Segment3D___repr__(self)
5333 __swig_destroy__ = _IMP_algebra.delete_Segment3D
5334 __del__ =
lambda self:
None
5335 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
5336 Segment3D_swigregister(Segment3D)
5339 def get_segment_3d_geometry(g):
5340 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
5341 return _IMP_algebra.get_segment_3d_geometry(g)
5344 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
5345 return _IMP_algebra.get_relative_projection_on_segment(s, p)
5346 class Triangle3D(_GeometricPrimitive3D):
5347 """Proxy of C++ IMP::algebra::Triangle3D class"""
5348 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5350 def __init__(self, *args):
5352 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
5353 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
5355 this = _IMP_algebra.new_Triangle3D(*args)
5357 self.this.append(this)
5361 def get_point(self, i):
5362 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
5363 return _IMP_algebra.Triangle3D_get_point(self, i)
5366 def show(self, *args):
5368 show(Triangle3D self, _ostream out)
5369 show(Triangle3D self)
5371 return _IMP_algebra.Triangle3D_show(self, *args)
5374 def get_edge_lengths(self):
5375 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
5376 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
5380 """__str__(Triangle3D self) -> std::string"""
5381 return _IMP_algebra.Triangle3D___str__(self)
5385 """__repr__(Triangle3D self) -> std::string"""
5386 return _IMP_algebra.Triangle3D___repr__(self)
5388 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
5389 __del__ =
lambda self:
None
5390 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
5391 Triangle3D_swigregister(Triangle3D)
5395 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
5396 return _IMP_algebra.get_largest_triangle(points)
5399 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
5400 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
5403 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
5404 return _IMP_algebra.get_are_colinear(p1, p2, p3)
5405 class LinearFit2D(_GeometricPrimitive2D):
5406 """Proxy of C++ IMP::algebra::LinearFit2D class"""
5407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5409 def __init__(self, *args):
5411 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
5412 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
5414 this = _IMP_algebra.new_LinearFit2D(*args)
5416 self.this.append(this)
5420 def get_fit_error(self):
5421 """get_fit_error(LinearFit2D self) -> double"""
5422 return _IMP_algebra.LinearFit2D_get_fit_error(self)
5426 """get_a(LinearFit2D self) -> double"""
5427 return _IMP_algebra.LinearFit2D_get_a(self)
5431 """get_b(LinearFit2D self) -> double"""
5432 return _IMP_algebra.LinearFit2D_get_b(self)
5435 def show(self, *args):
5437 show(LinearFit2D self, _ostream out)
5438 show(LinearFit2D self)
5440 return _IMP_algebra.LinearFit2D_show(self, *args)
5444 """__str__(LinearFit2D self) -> std::string"""
5445 return _IMP_algebra.LinearFit2D___str__(self)
5449 """__repr__(LinearFit2D self) -> std::string"""
5450 return _IMP_algebra.LinearFit2D___repr__(self)
5452 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
5453 __del__ =
lambda self:
None
5454 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
5455 LinearFit2D_swigregister(LinearFit2D)
5457 class ParabolicFit2D(_GeometricPrimitive2D):
5458 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
5459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5461 def __init__(self, data):
5462 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
5463 this = _IMP_algebra.new_ParabolicFit2D(data)
5465 self.this.append(this)
5469 def get_fit_error(self):
5470 """get_fit_error(ParabolicFit2D self) -> double"""
5471 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
5475 """get_a(ParabolicFit2D self) -> double"""
5476 return _IMP_algebra.ParabolicFit2D_get_a(self)
5480 """get_b(ParabolicFit2D self) -> double"""
5481 return _IMP_algebra.ParabolicFit2D_get_b(self)
5485 """get_c(ParabolicFit2D self) -> double"""
5486 return _IMP_algebra.ParabolicFit2D_get_c(self)
5489 def show(self, *args):
5491 show(ParabolicFit2D self, _ostream out)
5492 show(ParabolicFit2D self)
5494 return _IMP_algebra.ParabolicFit2D_show(self, *args)
5498 """__str__(ParabolicFit2D self) -> std::string"""
5499 return _IMP_algebra.ParabolicFit2D___str__(self)
5503 """__repr__(ParabolicFit2D self) -> std::string"""
5504 return _IMP_algebra.ParabolicFit2D___repr__(self)
5506 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
5507 __del__ =
lambda self:
None
5508 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
5509 ParabolicFit2D_swigregister(ParabolicFit2D)
5511 class Plane3D(_GeometricPrimitive3D):
5512 """Proxy of C++ IMP::algebra::Plane3D class"""
5513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5515 def __init__(self, *args):
5517 __init__(IMP::algebra::Plane3D self) -> Plane3D
5518 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
5519 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
5521 this = _IMP_algebra.new_Plane3D(*args)
5523 self.this.append(this)
5527 def get_point_on_plane(self):
5528 """get_point_on_plane(Plane3D self) -> Vector3D"""
5529 return _IMP_algebra.Plane3D_get_point_on_plane(self)
5532 def get_normal(self):
5533 """get_normal(Plane3D self) -> Vector3D"""
5534 return _IMP_algebra.Plane3D_get_normal(self)
5538 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
5539 return _IMP_algebra.Plane3D_get_projected(self, p)
5542 def get_is_above(self, p):
5543 """get_is_above(Plane3D self, Vector3D p) -> bool"""
5544 return _IMP_algebra.Plane3D_get_is_above(self, p)
5547 def get_is_below(self, p):
5548 """get_is_below(Plane3D self, Vector3D p) -> bool"""
5549 return _IMP_algebra.Plane3D_get_is_below(self, p)
5553 """get_height(Plane3D self, Vector3D p) -> double"""
5554 return _IMP_algebra.Plane3D_get_height(self, p)
5557 def show(self, *args):
5559 show(Plane3D self, _ostream out)
5562 return _IMP_algebra.Plane3D_show(self, *args)
5565 def get_opposite(self):
5566 """get_opposite(Plane3D self) -> Plane3D"""
5567 return _IMP_algebra.Plane3D_get_opposite(self)
5570 def get_distance_from_origin(self):
5571 """get_distance_from_origin(Plane3D self) -> double"""
5572 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
5576 """__str__(Plane3D self) -> std::string"""
5577 return _IMP_algebra.Plane3D___str__(self)
5581 """__repr__(Plane3D self) -> std::string"""
5582 return _IMP_algebra.Plane3D___repr__(self)
5584 __swig_destroy__ = _IMP_algebra.delete_Plane3D
5585 __del__ =
lambda self:
None
5586 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
5587 Plane3D_swigregister(Plane3D)
5591 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
5592 return _IMP_algebra.get_reflected(pln, p)
5594 def get_plane_3d_geometry(g):
5595 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
5596 return _IMP_algebra.get_plane_3d_geometry(g)
5597 class Reflection3D(_GeometricPrimitive3D):
5598 """Proxy of C++ IMP::algebra::Reflection3D class"""
5599 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5601 def __init__(self, *args):
5603 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
5604 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
5606 this = _IMP_algebra.new_Reflection3D(*args)
5608 self.this.append(this)
5613 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
5614 return _IMP_algebra.Reflection3D_get_reflected(self, v)
5617 def show(self, *args):
5619 show(Reflection3D self, _ostream out)
5620 show(Reflection3D self)
5622 return _IMP_algebra.Reflection3D_show(self, *args)
5626 """__str__(Reflection3D self) -> std::string"""
5627 return _IMP_algebra.Reflection3D___str__(self)
5631 """__repr__(Reflection3D self) -> std::string"""
5632 return _IMP_algebra.Reflection3D___repr__(self)
5634 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
5635 __del__ =
lambda self:
None
5636 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
5637 Reflection3D_swigregister(Reflection3D)
5639 class Cylinder3D(_GeometricPrimitive3D):
5640 """Proxy of C++ IMP::algebra::Cylinder3D class"""
5641 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5643 def __init__(self, *args):
5645 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5646 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5648 this = _IMP_algebra.new_Cylinder3D(*args)
5650 self.this.append(this)
5654 def get_radius(self):
5655 """get_radius(Cylinder3D self) -> double"""
5656 return _IMP_algebra.Cylinder3D_get_radius(self)
5660 """get_segment(Cylinder3D self) -> Segment3D"""
5661 return _IMP_algebra.Cylinder3D_get_segment(self)
5664 def get_surface_point_at(self, relative_height, angle):
5665 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5666 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5669 def get_inner_point_at(self, relative_height, relative_radius, angle):
5670 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5671 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5674 def show(self, *args):
5676 show(Cylinder3D self, _ostream out)
5677 show(Cylinder3D self)
5679 return _IMP_algebra.Cylinder3D_show(self, *args)
5683 """__str__(Cylinder3D self) -> std::string"""
5684 return _IMP_algebra.Cylinder3D___str__(self)
5688 """__repr__(Cylinder3D self) -> std::string"""
5689 return _IMP_algebra.Cylinder3D___repr__(self)
5691 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5692 __del__ =
lambda self:
None
5693 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5694 Cylinder3D_swigregister(Cylinder3D)
5697 def get_cylinder_3d_geometry(g):
5698 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5699 return _IMP_algebra.get_cylinder_3d_geometry(g)
5700 class Ellipsoid3D(_GeometricPrimitive3D):
5701 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
5702 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5704 def __init__(self, *args):
5706 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5707 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5708 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5710 this = _IMP_algebra.new_Ellipsoid3D(*args)
5712 self.this.append(this)
5716 def get_radii(self):
5717 """get_radii(Ellipsoid3D self) -> Vector3D"""
5718 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5721 def get_reference_frame(self):
5722 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5723 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5726 def show(self, *args):
5728 show(Ellipsoid3D self, _ostream out)
5729 show(Ellipsoid3D self)
5731 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5735 """__str__(Ellipsoid3D self) -> std::string"""
5736 return _IMP_algebra.Ellipsoid3D___str__(self)
5740 """__repr__(Ellipsoid3D self) -> std::string"""
5741 return _IMP_algebra.Ellipsoid3D___repr__(self)
5743 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5744 __del__ =
lambda self:
None
5745 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5746 Ellipsoid3D_swigregister(Ellipsoid3D)
5749 def get_ellipsoid_3d_geometry(g):
5750 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5751 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5752 class ConnollySurfacePoint(object):
5753 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
5754 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5756 def __init__(self, a0, a1, a2, sp, a, n):
5757 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5758 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5760 self.this.append(this)
5765 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5766 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5769 def get_surface_point(self):
5770 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5771 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5775 """get_area(ConnollySurfacePoint self) -> double"""
5776 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5779 def get_normal(self):
5780 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5781 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5784 def show(self, *args):
5786 show(ConnollySurfacePoint self, _ostream out)
5787 show(ConnollySurfacePoint self)
5789 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5793 """__str__(ConnollySurfacePoint self) -> std::string"""
5794 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5798 """__repr__(ConnollySurfacePoint self) -> std::string"""
5799 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5801 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5802 __del__ =
lambda self:
None
5803 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5804 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5808 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5809 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5810 class LogEmbedding3D(object):
5811 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
5812 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5814 def __init__(self, *args):
5816 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5817 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5818 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5819 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5820 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5822 this = _IMP_algebra.new_LogEmbedding3D(*args)
5824 self.this.append(this)
5828 def set_origin(self, o):
5829 """set_origin(LogEmbedding3D self, Vector3D o)"""
5830 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5833 def get_origin(self):
5834 """get_origin(LogEmbedding3D self) -> Vector3D"""
5835 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5838 def get_dimension(self):
5839 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5840 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5843 def set_unit_cell(self, *args):
5845 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5846 set_unit_cell(LogEmbedding3D self, Vector3D o)
5848 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5851 def get_unit_cell(self):
5852 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5853 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5856 def get_extended_index(self, o):
5857 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5858 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5862 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5863 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5866 def get_center(self, *args):
5868 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5869 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5871 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5874 def get_bounding_box(self, *args):
5876 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5877 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5879 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5882 def show(self, *args):
5884 show(LogEmbedding3D self, _ostream out)
5885 show(LogEmbedding3D self)
5887 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5891 """__str__(LogEmbedding3D self) -> std::string"""
5892 return _IMP_algebra.LogEmbedding3D___str__(self)
5896 """__repr__(LogEmbedding3D self) -> std::string"""
5897 return _IMP_algebra.LogEmbedding3D___repr__(self)
5900 def __cmp__(self, arg2):
5901 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5902 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5905 def __eq__(self, arg2):
5906 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5907 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5909 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5910 __del__ =
lambda self:
None
5911 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5912 LogEmbedding3D_swigregister(LogEmbedding3D)
5914 class LogEmbeddingKD(object):
5915 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
5916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5918 def __init__(self, *args):
5920 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5921 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5922 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5923 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5924 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5926 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5928 self.this.append(this)
5932 def set_origin(self, o):
5933 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5934 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5937 def get_origin(self):
5938 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5939 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5942 def get_dimension(self):
5943 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5944 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5947 def set_unit_cell(self, *args):
5949 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5950 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5952 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5955 def get_unit_cell(self):
5956 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5957 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5960 def get_extended_index(self, o):
5961 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5962 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5966 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5967 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5970 def get_center(self, *args):
5972 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5973 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5975 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5978 def get_bounding_box(self, *args):
5980 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5981 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5983 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5986 def show(self, *args):
5988 show(LogEmbeddingKD self, _ostream out)
5989 show(LogEmbeddingKD self)
5991 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5995 """__str__(LogEmbeddingKD self) -> std::string"""
5996 return _IMP_algebra.LogEmbeddingKD___str__(self)
6000 """__repr__(LogEmbeddingKD self) -> std::string"""
6001 return _IMP_algebra.LogEmbeddingKD___repr__(self)
6004 def __cmp__(self, arg2):
6005 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
6006 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
6009 def __eq__(self, arg2):
6010 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
6011 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
6013 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
6014 __del__ =
lambda self:
None
6015 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
6016 LogEmbeddingKD_swigregister(LogEmbeddingKD)
6018 class DenseFloatLogGridKD(object):
6019 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
6020 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6022 def __init__(self, sz, le):
6023 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
6024 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
6026 self.this.append(this)
6030 def add_voxel(self, i, q):
6031 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
6032 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
6035 def __getitem__(self, *args):
6037 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
6038 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
6040 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
6043 def __setitem__(self, *args):
6045 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
6046 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
6048 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
6051 def get_bounding_box(self, *args):
6053 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6054 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
6056 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
6061 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6062 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6064 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
6067 def get_all_indexes(self):
6068 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6069 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
6072 def get_extended_indexes(self, *args):
6074 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6075 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6077 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
6080 def get_center(self, *args):
6082 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6083 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
6085 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
6088 def get_extended_index(self, v):
6089 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6090 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
6094 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6095 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
6098 def get_origin(self):
6099 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
6100 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
6103 def get_dimension(self):
6104 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
6105 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
6108 def get_unit_cell(self):
6109 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
6110 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
6113 def get_has_index(self, v):
6114 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
6115 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
6119 """__str__(DenseFloatLogGridKD self) -> std::string"""
6120 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
6124 """__repr__(DenseFloatLogGridKD self) -> std::string"""
6125 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
6128 def show(self, *args):
6130 show(DenseFloatLogGridKD self, _ostream out)
6131 show(DenseFloatLogGridKD self)
6133 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
6135 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
6136 __del__ =
lambda self:
None
6137 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
6138 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
6140 class DenseIntLogGrid3D(object):
6141 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
6142 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6144 def __init__(self, sz, le):
6145 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
6146 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
6148 self.this.append(this)
6152 def add_voxel(self, i, q):
6153 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6154 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
6157 def __getitem__(self, *args):
6159 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
6160 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
6162 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
6165 def __setitem__(self, *args):
6167 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
6168 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
6170 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
6173 def get_bounding_box(self, *args):
6175 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6176 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
6178 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
6183 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6184 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6186 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
6189 def get_all_indexes(self):
6190 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6191 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
6194 def get_extended_indexes(self, *args):
6196 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6197 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6199 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
6202 def get_center(self, *args):
6204 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6205 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
6207 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
6210 def get_extended_index(self, v):
6211 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6212 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
6216 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6217 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
6220 def get_origin(self):
6221 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
6222 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
6225 def get_dimension(self):
6226 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
6227 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
6230 def get_unit_cell(self):
6231 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
6232 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
6235 def get_has_index(self, v):
6236 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
6237 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
6241 """__str__(DenseIntLogGrid3D self) -> std::string"""
6242 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
6246 """__repr__(DenseIntLogGrid3D self) -> std::string"""
6247 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
6250 def show(self, *args):
6252 show(DenseIntLogGrid3D self, _ostream out)
6253 show(DenseIntLogGrid3D self)
6255 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
6257 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
6258 __del__ =
lambda self:
None
6259 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
6260 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
6263 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
6264 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6266 def __init__(self, *args):
6268 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
6269 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
6270 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
6272 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
6274 self.this.append(this)
6278 def add_voxel(self, i, q):
6279 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
6280 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
6283 def __getitem__(self, *args):
6285 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
6286 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
6288 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
6291 def __setitem__(self, *args):
6293 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
6294 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
6296 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
6299 def get_bounding_box(self, *args):
6301 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6302 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
6304 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
6309 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6310 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6312 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
6315 def get_all_indexes(self):
6316 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6317 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
6320 def get_extended_indexes(self, *args):
6322 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6323 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6325 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
6328 def get_center(self, *args):
6330 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6331 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
6333 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
6336 def get_extended_index(self, v):
6337 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6338 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
6342 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6343 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
6346 def get_origin(self):
6347 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
6348 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
6351 def get_dimension(self):
6352 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
6353 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
6356 def get_unit_cell(self):
6357 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
6358 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
6361 def get_has_index(self, v):
6362 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
6363 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
6367 """__str__(DenseDoubleGrid3D self) -> std::string"""
6368 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
6372 """__repr__(DenseDoubleGrid3D self) -> std::string"""
6373 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
6376 def show(self, *args):
6378 show(DenseDoubleGrid3D self, _ostream out)
6379 show(DenseDoubleGrid3D self)
6381 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
6383 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
6384 __del__ =
lambda self:
None
6385 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
6386 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
6389 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
6390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6392 def __init__(self, *args):
6394 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
6395 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
6396 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
6398 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
6400 self.this.append(this)
6404 def add_voxel(self, i, q):
6405 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
6406 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
6409 def __getitem__(self, *args):
6411 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
6412 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
6414 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
6417 def __setitem__(self, *args):
6419 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
6420 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
6422 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
6425 def get_bounding_box(self, *args):
6427 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6428 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
6430 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
6435 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6436 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6438 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
6441 def get_all_indexes(self):
6442 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6443 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
6446 def get_extended_indexes(self, *args):
6448 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6449 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6451 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
6454 def get_center(self, *args):
6456 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6457 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
6459 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
6462 def get_extended_index(self, v):
6463 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6464 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
6468 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6469 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
6472 def get_origin(self):
6473 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
6474 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
6477 def get_dimension(self):
6478 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
6479 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
6482 def get_unit_cell(self):
6483 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
6484 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
6487 def get_has_index(self, v):
6488 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
6489 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
6493 """__str__(DenseFloatGrid3D self) -> std::string"""
6494 return _IMP_algebra.DenseFloatGrid3D___str__(self)
6498 """__repr__(DenseFloatGrid3D self) -> std::string"""
6499 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
6502 def show(self, *args):
6504 show(DenseFloatGrid3D self, _ostream out)
6505 show(DenseFloatGrid3D self)
6507 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
6509 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
6510 __del__ =
lambda self:
None
6511 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
6512 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
6515 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
6516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6518 def __init__(self, *args):
6520 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6521 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
6522 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6523 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
6524 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
6526 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
6528 self.this.append(this)
6532 def add_voxel(self, i, q):
6533 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6534 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
6537 def __getitem__(self, *args):
6539 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
6540 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
6542 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
6545 def __setitem__(self, *args):
6547 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
6548 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
6550 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
6553 def get_bounding_box(self, *args):
6555 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6556 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
6558 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
6563 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6564 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6566 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
6569 def get_all_indexes(self):
6570 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6571 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
6574 def get_extended_indexes(self, *args):
6576 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6577 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6579 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
6582 def get_center(self, *args):
6584 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6585 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
6587 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
6590 def get_extended_index(self, v):
6591 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6592 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
6596 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6597 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
6600 def get_origin(self):
6601 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
6602 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
6605 def get_dimension(self):
6606 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
6607 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
6610 def get_unit_cell(self):
6611 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
6612 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
6615 def get_has_index(self, v):
6616 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
6617 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
6621 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
6622 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
6626 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
6627 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6630 def show(self, *args):
6632 show(SparseUnboundedIntGrid3D self, _ostream out)
6633 show(SparseUnboundedIntGrid3D self)
6635 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6637 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6638 __del__ =
lambda self:
None
6639 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6640 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6642 class SparseUnboundedIntGridKD(object):
6643 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
6644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6646 def __init__(self, *args):
6648 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6649 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6650 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6652 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6654 self.this.append(this)
6658 def add_voxel(self, i, q):
6659 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6660 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6663 def __getitem__(self, *args):
6665 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6666 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6668 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6671 def __setitem__(self, *args):
6673 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6674 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6676 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6679 def get_bounding_box(self, *args):
6681 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6682 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6684 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6689 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6690 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6692 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6695 def get_all_indexes(self):
6696 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6697 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6700 def get_extended_indexes(self, *args):
6702 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6703 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6705 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6708 def get_center(self, *args):
6710 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6711 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6713 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6716 def get_extended_index(self, v):
6717 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6718 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6722 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6723 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6726 def get_origin(self):
6727 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6728 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6731 def get_dimension(self):
6732 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6733 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6736 def get_unit_cell(self):
6737 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6738 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6741 def get_has_index(self, v):
6742 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6743 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6747 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6748 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6752 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6753 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6756 def show(self, *args):
6758 show(SparseUnboundedIntGridKD self, _ostream out)
6759 show(SparseUnboundedIntGridKD self)
6761 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6763 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6764 __del__ =
lambda self:
None
6765 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6766 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6768 class GridIndex1D(IMP._Value):
6769 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
6770 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6772 def __init__(self, *args):
6774 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6775 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6776 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6777 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6778 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6779 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6780 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6782 this = _IMP_algebra.new_GridIndex1D(*args)
6784 self.this.append(this)
6788 def get_dimension(self):
6789 """get_dimension(GridIndex1D self) -> unsigned int"""
6790 return _IMP_algebra.GridIndex1D_get_dimension(self)
6793 def __getitem__(self, i):
6794 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6795 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6798 def show(self, *args):
6800 show(GridIndex1D self, _ostream out)
6801 show(GridIndex1D self)
6803 return _IMP_algebra.GridIndex1D_show(self, *args)
6807 """__len__(GridIndex1D self) -> unsigned int"""
6808 return _IMP_algebra.GridIndex1D___len__(self)
6811 def __cmp__(self, o):
6812 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6813 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6816 def __eq__(self, o):
6817 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6818 return _IMP_algebra.GridIndex1D___eq__(self, o)
6821 def __ne__(self, o):
6822 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6823 return _IMP_algebra.GridIndex1D___ne__(self, o)
6826 def __lt__(self, o):
6827 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6828 return _IMP_algebra.GridIndex1D___lt__(self, o)
6831 def __gt__(self, o):
6832 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6833 return _IMP_algebra.GridIndex1D___gt__(self, o)
6836 def __ge__(self, o):
6837 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6838 return _IMP_algebra.GridIndex1D___ge__(self, o)
6841 def __le__(self, o):
6842 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6843 return _IMP_algebra.GridIndex1D___le__(self, o)
6847 """__hash__(GridIndex1D self) -> std::size_t"""
6848 return _IMP_algebra.GridIndex1D___hash__(self)
6852 """__str__(GridIndex1D self) -> std::string"""
6853 return _IMP_algebra.GridIndex1D___str__(self)
6857 """__repr__(GridIndex1D self) -> std::string"""
6858 return _IMP_algebra.GridIndex1D___repr__(self)
6860 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6861 __del__ =
lambda self:
None
6862 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6863 GridIndex1D_swigregister(GridIndex1D)
6865 class GridIndex2D(IMP._Value):
6866 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
6867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6869 def __init__(self, *args):
6871 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6872 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6873 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6874 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6875 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6876 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6877 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6879 this = _IMP_algebra.new_GridIndex2D(*args)
6881 self.this.append(this)
6885 def get_dimension(self):
6886 """get_dimension(GridIndex2D self) -> unsigned int"""
6887 return _IMP_algebra.GridIndex2D_get_dimension(self)
6890 def __getitem__(self, i):
6891 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6892 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6895 def show(self, *args):
6897 show(GridIndex2D self, _ostream out)
6898 show(GridIndex2D self)
6900 return _IMP_algebra.GridIndex2D_show(self, *args)
6904 """__len__(GridIndex2D self) -> unsigned int"""
6905 return _IMP_algebra.GridIndex2D___len__(self)
6908 def __cmp__(self, o):
6909 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6910 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6913 def __eq__(self, o):
6914 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6915 return _IMP_algebra.GridIndex2D___eq__(self, o)
6918 def __ne__(self, o):
6919 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6920 return _IMP_algebra.GridIndex2D___ne__(self, o)
6923 def __lt__(self, o):
6924 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6925 return _IMP_algebra.GridIndex2D___lt__(self, o)
6928 def __gt__(self, o):
6929 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6930 return _IMP_algebra.GridIndex2D___gt__(self, o)
6933 def __ge__(self, o):
6934 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6935 return _IMP_algebra.GridIndex2D___ge__(self, o)
6938 def __le__(self, o):
6939 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6940 return _IMP_algebra.GridIndex2D___le__(self, o)
6944 """__hash__(GridIndex2D self) -> std::size_t"""
6945 return _IMP_algebra.GridIndex2D___hash__(self)
6949 """__str__(GridIndex2D self) -> std::string"""
6950 return _IMP_algebra.GridIndex2D___str__(self)
6954 """__repr__(GridIndex2D self) -> std::string"""
6955 return _IMP_algebra.GridIndex2D___repr__(self)
6957 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6958 __del__ =
lambda self:
None
6959 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6960 GridIndex2D_swigregister(GridIndex2D)
6962 class GridIndex3D(IMP._Value):
6963 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
6964 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6966 def __init__(self, *args):
6968 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6969 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6970 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6971 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6972 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6973 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6974 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6976 this = _IMP_algebra.new_GridIndex3D(*args)
6978 self.this.append(this)
6982 def get_dimension(self):
6983 """get_dimension(GridIndex3D self) -> unsigned int"""
6984 return _IMP_algebra.GridIndex3D_get_dimension(self)
6987 def __getitem__(self, i):
6988 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6989 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6992 def show(self, *args):
6994 show(GridIndex3D self, _ostream out)
6995 show(GridIndex3D self)
6997 return _IMP_algebra.GridIndex3D_show(self, *args)
7001 """__len__(GridIndex3D self) -> unsigned int"""
7002 return _IMP_algebra.GridIndex3D___len__(self)
7005 def __cmp__(self, o):
7006 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
7007 return _IMP_algebra.GridIndex3D___cmp__(self, o)
7010 def __eq__(self, o):
7011 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
7012 return _IMP_algebra.GridIndex3D___eq__(self, o)
7015 def __ne__(self, o):
7016 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
7017 return _IMP_algebra.GridIndex3D___ne__(self, o)
7020 def __lt__(self, o):
7021 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
7022 return _IMP_algebra.GridIndex3D___lt__(self, o)
7025 def __gt__(self, o):
7026 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
7027 return _IMP_algebra.GridIndex3D___gt__(self, o)
7030 def __ge__(self, o):
7031 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
7032 return _IMP_algebra.GridIndex3D___ge__(self, o)
7035 def __le__(self, o):
7036 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
7037 return _IMP_algebra.GridIndex3D___le__(self, o)
7041 """__hash__(GridIndex3D self) -> std::size_t"""
7042 return _IMP_algebra.GridIndex3D___hash__(self)
7046 """__str__(GridIndex3D self) -> std::string"""
7047 return _IMP_algebra.GridIndex3D___str__(self)
7051 """__repr__(GridIndex3D self) -> std::string"""
7052 return _IMP_algebra.GridIndex3D___repr__(self)
7054 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
7055 __del__ =
lambda self:
None
7056 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
7057 GridIndex3D_swigregister(GridIndex3D)
7059 class GridIndex4D(IMP._Value):
7060 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
7061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7063 def __init__(self, *args):
7065 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
7066 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
7067 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
7068 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
7069 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
7070 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
7071 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
7073 this = _IMP_algebra.new_GridIndex4D(*args)
7075 self.this.append(this)
7079 def get_dimension(self):
7080 """get_dimension(GridIndex4D self) -> unsigned int"""
7081 return _IMP_algebra.GridIndex4D_get_dimension(self)
7084 def __getitem__(self, i):
7085 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
7086 return _IMP_algebra.GridIndex4D___getitem__(self, i)
7089 def show(self, *args):
7091 show(GridIndex4D self, _ostream out)
7092 show(GridIndex4D self)
7094 return _IMP_algebra.GridIndex4D_show(self, *args)
7098 """__len__(GridIndex4D self) -> unsigned int"""
7099 return _IMP_algebra.GridIndex4D___len__(self)
7102 def __cmp__(self, o):
7103 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
7104 return _IMP_algebra.GridIndex4D___cmp__(self, o)
7107 def __eq__(self, o):
7108 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
7109 return _IMP_algebra.GridIndex4D___eq__(self, o)
7112 def __ne__(self, o):
7113 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
7114 return _IMP_algebra.GridIndex4D___ne__(self, o)
7117 def __lt__(self, o):
7118 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
7119 return _IMP_algebra.GridIndex4D___lt__(self, o)
7122 def __gt__(self, o):
7123 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
7124 return _IMP_algebra.GridIndex4D___gt__(self, o)
7127 def __ge__(self, o):
7128 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
7129 return _IMP_algebra.GridIndex4D___ge__(self, o)
7132 def __le__(self, o):
7133 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
7134 return _IMP_algebra.GridIndex4D___le__(self, o)
7138 """__hash__(GridIndex4D self) -> std::size_t"""
7139 return _IMP_algebra.GridIndex4D___hash__(self)
7143 """__str__(GridIndex4D self) -> std::string"""
7144 return _IMP_algebra.GridIndex4D___str__(self)
7148 """__repr__(GridIndex4D self) -> std::string"""
7149 return _IMP_algebra.GridIndex4D___repr__(self)
7151 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
7152 __del__ =
lambda self:
None
7153 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
7154 GridIndex4D_swigregister(GridIndex4D)
7156 class GridIndex5D(IMP._Value):
7157 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
7158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7160 def __init__(self, *args):
7162 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
7163 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
7164 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
7165 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
7166 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
7167 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
7168 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
7170 this = _IMP_algebra.new_GridIndex5D(*args)
7172 self.this.append(this)
7176 def get_dimension(self):
7177 """get_dimension(GridIndex5D self) -> unsigned int"""
7178 return _IMP_algebra.GridIndex5D_get_dimension(self)
7181 def __getitem__(self, i):
7182 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
7183 return _IMP_algebra.GridIndex5D___getitem__(self, i)
7186 def show(self, *args):
7188 show(GridIndex5D self, _ostream out)
7189 show(GridIndex5D self)
7191 return _IMP_algebra.GridIndex5D_show(self, *args)
7195 """__len__(GridIndex5D self) -> unsigned int"""
7196 return _IMP_algebra.GridIndex5D___len__(self)
7199 def __cmp__(self, o):
7200 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
7201 return _IMP_algebra.GridIndex5D___cmp__(self, o)
7204 def __eq__(self, o):
7205 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
7206 return _IMP_algebra.GridIndex5D___eq__(self, o)
7209 def __ne__(self, o):
7210 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
7211 return _IMP_algebra.GridIndex5D___ne__(self, o)
7214 def __lt__(self, o):
7215 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
7216 return _IMP_algebra.GridIndex5D___lt__(self, o)
7219 def __gt__(self, o):
7220 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
7221 return _IMP_algebra.GridIndex5D___gt__(self, o)
7224 def __ge__(self, o):
7225 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
7226 return _IMP_algebra.GridIndex5D___ge__(self, o)
7229 def __le__(self, o):
7230 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
7231 return _IMP_algebra.GridIndex5D___le__(self, o)
7235 """__hash__(GridIndex5D self) -> std::size_t"""
7236 return _IMP_algebra.GridIndex5D___hash__(self)
7240 """__str__(GridIndex5D self) -> std::string"""
7241 return _IMP_algebra.GridIndex5D___str__(self)
7245 """__repr__(GridIndex5D self) -> std::string"""
7246 return _IMP_algebra.GridIndex5D___repr__(self)
7248 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
7249 __del__ =
lambda self:
None
7250 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
7251 GridIndex5D_swigregister(GridIndex5D)
7253 class GridIndex6D(IMP._Value):
7254 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
7255 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7257 def __init__(self, *args):
7259 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
7260 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
7261 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
7262 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
7263 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
7264 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
7265 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
7267 this = _IMP_algebra.new_GridIndex6D(*args)
7269 self.this.append(this)
7273 def get_dimension(self):
7274 """get_dimension(GridIndex6D self) -> unsigned int"""
7275 return _IMP_algebra.GridIndex6D_get_dimension(self)
7278 def __getitem__(self, i):
7279 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
7280 return _IMP_algebra.GridIndex6D___getitem__(self, i)
7283 def show(self, *args):
7285 show(GridIndex6D self, _ostream out)
7286 show(GridIndex6D self)
7288 return _IMP_algebra.GridIndex6D_show(self, *args)
7292 """__len__(GridIndex6D self) -> unsigned int"""
7293 return _IMP_algebra.GridIndex6D___len__(self)
7296 def __cmp__(self, o):
7297 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
7298 return _IMP_algebra.GridIndex6D___cmp__(self, o)
7301 def __eq__(self, o):
7302 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
7303 return _IMP_algebra.GridIndex6D___eq__(self, o)
7306 def __ne__(self, o):
7307 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
7308 return _IMP_algebra.GridIndex6D___ne__(self, o)
7311 def __lt__(self, o):
7312 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
7313 return _IMP_algebra.GridIndex6D___lt__(self, o)
7316 def __gt__(self, o):
7317 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
7318 return _IMP_algebra.GridIndex6D___gt__(self, o)
7321 def __ge__(self, o):
7322 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
7323 return _IMP_algebra.GridIndex6D___ge__(self, o)
7326 def __le__(self, o):
7327 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
7328 return _IMP_algebra.GridIndex6D___le__(self, o)
7332 """__hash__(GridIndex6D self) -> std::size_t"""
7333 return _IMP_algebra.GridIndex6D___hash__(self)
7337 """__str__(GridIndex6D self) -> std::string"""
7338 return _IMP_algebra.GridIndex6D___str__(self)
7342 """__repr__(GridIndex6D self) -> std::string"""
7343 return _IMP_algebra.GridIndex6D___repr__(self)
7345 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
7346 __del__ =
lambda self:
None
7347 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
7348 GridIndex6D_swigregister(GridIndex6D)
7350 class GridIndexKD(IMP._Value):
7351 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
7352 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7354 def __init__(self, *args):
7356 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
7357 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
7358 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
7359 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
7360 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
7361 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
7362 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
7364 this = _IMP_algebra.new_GridIndexKD(*args)
7366 self.this.append(this)
7370 def get_dimension(self):
7371 """get_dimension(GridIndexKD self) -> unsigned int"""
7372 return _IMP_algebra.GridIndexKD_get_dimension(self)
7375 def __getitem__(self, i):
7376 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
7377 return _IMP_algebra.GridIndexKD___getitem__(self, i)
7380 def show(self, *args):
7382 show(GridIndexKD self, _ostream out)
7383 show(GridIndexKD self)
7385 return _IMP_algebra.GridIndexKD_show(self, *args)
7389 """__len__(GridIndexKD self) -> unsigned int"""
7390 return _IMP_algebra.GridIndexKD___len__(self)
7393 def __cmp__(self, o):
7394 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
7395 return _IMP_algebra.GridIndexKD___cmp__(self, o)
7398 def __eq__(self, o):
7399 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
7400 return _IMP_algebra.GridIndexKD___eq__(self, o)
7403 def __ne__(self, o):
7404 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
7405 return _IMP_algebra.GridIndexKD___ne__(self, o)
7408 def __lt__(self, o):
7409 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
7410 return _IMP_algebra.GridIndexKD___lt__(self, o)
7413 def __gt__(self, o):
7414 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
7415 return _IMP_algebra.GridIndexKD___gt__(self, o)
7418 def __ge__(self, o):
7419 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
7420 return _IMP_algebra.GridIndexKD___ge__(self, o)
7423 def __le__(self, o):
7424 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
7425 return _IMP_algebra.GridIndexKD___le__(self, o)
7429 """__hash__(GridIndexKD self) -> std::size_t"""
7430 return _IMP_algebra.GridIndexKD___hash__(self)
7434 """__str__(GridIndexKD self) -> std::string"""
7435 return _IMP_algebra.GridIndexKD___str__(self)
7439 """__repr__(GridIndexKD self) -> std::string"""
7440 return _IMP_algebra.GridIndexKD___repr__(self)
7442 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
7443 __del__ =
lambda self:
None
7444 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
7445 GridIndexKD_swigregister(GridIndexKD)
7447 class ExtendedGridIndex1D(IMP._Value):
7448 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
7449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7451 def __init__(self, *args):
7453 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
7454 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
7455 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
7456 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
7457 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
7458 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
7459 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
7460 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
7462 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
7464 self.this.append(this)
7468 def get_dimension(self):
7469 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
7470 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
7473 def __cmp__(self, o):
7474 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
7475 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
7478 def __eq__(self, o):
7479 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7480 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
7483 def __ne__(self, o):
7484 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7485 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
7488 def __lt__(self, o):
7489 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7490 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
7493 def __gt__(self, o):
7494 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7495 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
7498 def __ge__(self, o):
7499 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7500 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
7503 def __le__(self, o):
7504 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7505 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
7508 def __setitem__(self, i, v):
7509 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
7510 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
7513 def __getitem__(self, i):
7514 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
7515 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
7518 def show(self, *args):
7520 show(ExtendedGridIndex1D self, _ostream out)
7521 show(ExtendedGridIndex1D self)
7523 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
7527 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
7528 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
7532 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
7533 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
7536 def get_uniform_offset(self, ii):
7537 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
7538 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
7541 def get_offset(self, i, j, k):
7542 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
7543 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
7547 """__str__(ExtendedGridIndex1D self) -> std::string"""
7548 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
7552 """__repr__(ExtendedGridIndex1D self) -> std::string"""
7553 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
7555 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
7556 __del__ =
lambda self:
None
7557 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
7558 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
7560 class ExtendedGridIndex2D(IMP._Value):
7561 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
7562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7564 def __init__(self, *args):
7566 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
7567 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
7568 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
7569 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
7570 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
7571 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
7572 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
7573 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
7575 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
7577 self.this.append(this)
7581 def get_dimension(self):
7582 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
7583 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
7586 def __cmp__(self, o):
7587 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
7588 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
7591 def __eq__(self, o):
7592 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7593 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
7596 def __ne__(self, o):
7597 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7598 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
7601 def __lt__(self, o):
7602 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7603 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
7606 def __gt__(self, o):
7607 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7608 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
7611 def __ge__(self, o):
7612 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7613 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
7616 def __le__(self, o):
7617 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7618 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7621 def __setitem__(self, i, v):
7622 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7623 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7626 def __getitem__(self, i):
7627 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7628 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7631 def show(self, *args):
7633 show(ExtendedGridIndex2D self, _ostream out)
7634 show(ExtendedGridIndex2D self)
7636 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7640 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7641 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7645 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7646 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7649 def get_uniform_offset(self, ii):
7650 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7651 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7654 def get_offset(self, i, j, k):
7655 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7656 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7660 """__str__(ExtendedGridIndex2D self) -> std::string"""
7661 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7665 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7666 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7668 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7669 __del__ =
lambda self:
None
7670 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7671 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7673 class ExtendedGridIndex3D(IMP._Value):
7674 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
7675 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7677 def __init__(self, *args):
7679 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7680 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7681 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7682 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7683 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7684 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7685 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7686 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7688 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7690 self.this.append(this)
7694 def get_dimension(self):
7695 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7696 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7699 def __cmp__(self, o):
7700 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7701 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7704 def __eq__(self, o):
7705 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7706 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7709 def __ne__(self, o):
7710 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7711 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7714 def __lt__(self, o):
7715 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7716 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7719 def __gt__(self, o):
7720 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7721 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7724 def __ge__(self, o):
7725 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7726 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7729 def __le__(self, o):
7730 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7731 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7734 def __setitem__(self, i, v):
7735 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7736 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7739 def __getitem__(self, i):
7740 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7741 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7744 def show(self, *args):
7746 show(ExtendedGridIndex3D self, _ostream out)
7747 show(ExtendedGridIndex3D self)
7749 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7753 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7754 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7758 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7759 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7762 def get_uniform_offset(self, ii):
7763 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7764 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7767 def get_offset(self, i, j, k):
7768 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7769 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7773 """__str__(ExtendedGridIndex3D self) -> std::string"""
7774 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7778 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7779 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7781 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7782 __del__ =
lambda self:
None
7783 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7784 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7786 class ExtendedGridIndex4D(IMP._Value):
7787 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
7788 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7790 def __init__(self, *args):
7792 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7793 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7794 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7795 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7796 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7797 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7798 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7799 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7801 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7803 self.this.append(this)
7807 def get_dimension(self):
7808 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7809 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7812 def __cmp__(self, o):
7813 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7814 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7817 def __eq__(self, o):
7818 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7819 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7822 def __ne__(self, o):
7823 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7824 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7827 def __lt__(self, o):
7828 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7829 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7832 def __gt__(self, o):
7833 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7834 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7837 def __ge__(self, o):
7838 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7839 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7842 def __le__(self, o):
7843 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7844 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7847 def __setitem__(self, i, v):
7848 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7849 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7852 def __getitem__(self, i):
7853 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7854 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7857 def show(self, *args):
7859 show(ExtendedGridIndex4D self, _ostream out)
7860 show(ExtendedGridIndex4D self)
7862 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7866 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7867 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7871 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7872 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7875 def get_uniform_offset(self, ii):
7876 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7877 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7880 def get_offset(self, i, j, k):
7881 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7882 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7886 """__str__(ExtendedGridIndex4D self) -> std::string"""
7887 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7891 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7892 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7894 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7895 __del__ =
lambda self:
None
7896 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7897 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7899 class ExtendedGridIndex5D(IMP._Value):
7900 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
7901 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7903 def __init__(self, *args):
7905 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7906 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7907 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7908 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7909 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7910 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7911 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7912 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7914 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7916 self.this.append(this)
7920 def get_dimension(self):
7921 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7922 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7925 def __cmp__(self, o):
7926 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7927 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7930 def __eq__(self, o):
7931 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7932 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7935 def __ne__(self, o):
7936 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7937 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7940 def __lt__(self, o):
7941 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7942 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7945 def __gt__(self, o):
7946 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7947 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7950 def __ge__(self, o):
7951 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7952 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7955 def __le__(self, o):
7956 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7957 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7960 def __setitem__(self, i, v):
7961 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7962 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7965 def __getitem__(self, i):
7966 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7967 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7970 def show(self, *args):
7972 show(ExtendedGridIndex5D self, _ostream out)
7973 show(ExtendedGridIndex5D self)
7975 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7979 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7980 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7984 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7985 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7988 def get_uniform_offset(self, ii):
7989 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7990 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7993 def get_offset(self, i, j, k):
7994 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7995 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7999 """__str__(ExtendedGridIndex5D self) -> std::string"""
8000 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
8004 """__repr__(ExtendedGridIndex5D self) -> std::string"""
8005 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
8007 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
8008 __del__ =
lambda self:
None
8009 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
8010 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
8012 class ExtendedGridIndex6D(IMP._Value):
8013 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
8014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8016 def __init__(self, *args):
8018 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
8019 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
8020 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
8021 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
8022 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
8023 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
8024 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
8025 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
8027 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
8029 self.this.append(this)
8033 def get_dimension(self):
8034 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
8035 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
8038 def __cmp__(self, o):
8039 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
8040 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
8043 def __eq__(self, o):
8044 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8045 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
8048 def __ne__(self, o):
8049 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8050 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
8053 def __lt__(self, o):
8054 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8055 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
8058 def __gt__(self, o):
8059 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8060 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
8063 def __ge__(self, o):
8064 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8065 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
8068 def __le__(self, o):
8069 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8070 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
8073 def __setitem__(self, i, v):
8074 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
8075 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
8078 def __getitem__(self, i):
8079 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
8080 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
8083 def show(self, *args):
8085 show(ExtendedGridIndex6D self, _ostream out)
8086 show(ExtendedGridIndex6D self)
8088 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
8092 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
8093 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
8097 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
8098 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
8101 def get_uniform_offset(self, ii):
8102 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
8103 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
8106 def get_offset(self, i, j, k):
8107 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
8108 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
8112 """__str__(ExtendedGridIndex6D self) -> std::string"""
8113 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
8117 """__repr__(ExtendedGridIndex6D self) -> std::string"""
8118 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
8120 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
8121 __del__ =
lambda self:
None
8122 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
8123 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
8125 class ExtendedGridIndexKD(IMP._Value):
8126 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
8127 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8129 def __init__(self, *args):
8131 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
8132 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
8133 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
8134 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
8135 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
8136 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
8137 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
8138 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
8140 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
8142 self.this.append(this)
8146 def get_dimension(self):
8147 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
8148 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
8151 def __cmp__(self, o):
8152 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
8153 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
8156 def __eq__(self, o):
8157 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8158 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
8161 def __ne__(self, o):
8162 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8163 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
8166 def __lt__(self, o):
8167 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8168 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
8171 def __gt__(self, o):
8172 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8173 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
8176 def __ge__(self, o):
8177 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8178 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
8181 def __le__(self, o):
8182 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8183 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
8186 def __setitem__(self, i, v):
8187 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
8188 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
8191 def __getitem__(self, i):
8192 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
8193 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
8196 def show(self, *args):
8198 show(ExtendedGridIndexKD self, _ostream out)
8199 show(ExtendedGridIndexKD self)
8201 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
8205 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
8206 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
8210 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
8211 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
8214 def get_uniform_offset(self, ii):
8215 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
8216 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
8219 def get_offset(self, i, j, k):
8220 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
8221 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
8225 """__str__(ExtendedGridIndexKD self) -> std::string"""
8226 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
8230 """__repr__(ExtendedGridIndexKD self) -> std::string"""
8231 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
8233 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
8234 __del__ =
lambda self:
None
8235 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
8236 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
8238 class BoundedGridRange1D(object):
8239 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
8240 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8242 def get_is_bounded():
8243 """get_is_bounded() -> bool"""
8244 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8246 get_is_bounded = staticmethod(get_is_bounded)
8248 def __init__(self, *args):
8250 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
8251 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
8253 this = _IMP_algebra.new_BoundedGridRange1D(*args)
8255 self.this.append(this)
8259 def get_number_of_voxels(self, *args):
8261 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
8262 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
8264 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
8267 def get_end_index(self):
8268 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8269 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
8272 def show(self, *args):
8274 show(BoundedGridRange1D self, _ostream out)
8275 show(BoundedGridRange1D self)
8277 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
8280 def get_all_indexes(self):
8281 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8282 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
8286 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8287 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
8290 def get_extended_indexes(self, lb, ub):
8291 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8292 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
8296 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
8297 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
8300 def get_has_index(self, v):
8301 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
8302 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
8305 def get_minimum_extended_index(self):
8306 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8307 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
8310 def get_maximum_extended_index(self):
8311 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8312 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
8316 """__str__(BoundedGridRange1D self) -> std::string"""
8317 return _IMP_algebra.BoundedGridRange1D___str__(self)
8321 """__repr__(BoundedGridRange1D self) -> std::string"""
8322 return _IMP_algebra.BoundedGridRange1D___repr__(self)
8325 def __cmp__(self, arg2):
8326 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
8327 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
8330 def __eq__(self, arg2):
8331 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
8332 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
8334 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
8335 __del__ =
lambda self:
None
8336 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
8337 BoundedGridRange1D_swigregister(BoundedGridRange1D)
8339 def BoundedGridRange1D_get_is_bounded():
8340 """BoundedGridRange1D_get_is_bounded() -> bool"""
8341 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8343 class BoundedGridRange2D(object):
8344 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
8345 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8347 def get_is_bounded():
8348 """get_is_bounded() -> bool"""
8349 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8351 get_is_bounded = staticmethod(get_is_bounded)
8353 def __init__(self, *args):
8355 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
8356 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
8358 this = _IMP_algebra.new_BoundedGridRange2D(*args)
8360 self.this.append(this)
8364 def get_number_of_voxels(self, *args):
8366 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
8367 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
8369 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
8372 def get_end_index(self):
8373 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8374 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
8377 def show(self, *args):
8379 show(BoundedGridRange2D self, _ostream out)
8380 show(BoundedGridRange2D self)
8382 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
8385 def get_all_indexes(self):
8386 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8387 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
8391 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8392 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
8395 def get_extended_indexes(self, lb, ub):
8396 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8397 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
8401 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
8402 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
8405 def get_has_index(self, v):
8406 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
8407 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
8410 def get_minimum_extended_index(self):
8411 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8412 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
8415 def get_maximum_extended_index(self):
8416 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8417 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
8421 """__str__(BoundedGridRange2D self) -> std::string"""
8422 return _IMP_algebra.BoundedGridRange2D___str__(self)
8426 """__repr__(BoundedGridRange2D self) -> std::string"""
8427 return _IMP_algebra.BoundedGridRange2D___repr__(self)
8430 def __cmp__(self, arg2):
8431 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
8432 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
8435 def __eq__(self, arg2):
8436 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
8437 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
8439 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
8440 __del__ =
lambda self:
None
8441 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
8442 BoundedGridRange2D_swigregister(BoundedGridRange2D)
8444 def BoundedGridRange2D_get_is_bounded():
8445 """BoundedGridRange2D_get_is_bounded() -> bool"""
8446 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8448 class BoundedGridRange3D(object):
8449 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
8450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8452 def get_is_bounded():
8453 """get_is_bounded() -> bool"""
8454 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8456 get_is_bounded = staticmethod(get_is_bounded)
8458 def __init__(self, *args):
8460 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
8461 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
8463 this = _IMP_algebra.new_BoundedGridRange3D(*args)
8465 self.this.append(this)
8469 def get_number_of_voxels(self, *args):
8471 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
8472 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
8474 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
8477 def get_end_index(self):
8478 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8479 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
8482 def show(self, *args):
8484 show(BoundedGridRange3D self, _ostream out)
8485 show(BoundedGridRange3D self)
8487 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
8490 def get_all_indexes(self):
8491 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8492 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
8496 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8497 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
8500 def get_extended_indexes(self, lb, ub):
8501 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8502 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
8506 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
8507 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
8510 def get_has_index(self, v):
8511 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
8512 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
8515 def get_minimum_extended_index(self):
8516 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8517 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
8520 def get_maximum_extended_index(self):
8521 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8522 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
8526 """__str__(BoundedGridRange3D self) -> std::string"""
8527 return _IMP_algebra.BoundedGridRange3D___str__(self)
8531 """__repr__(BoundedGridRange3D self) -> std::string"""
8532 return _IMP_algebra.BoundedGridRange3D___repr__(self)
8535 def __cmp__(self, arg2):
8536 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
8537 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
8540 def __eq__(self, arg2):
8541 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
8542 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
8544 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
8545 __del__ =
lambda self:
None
8546 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
8547 BoundedGridRange3D_swigregister(BoundedGridRange3D)
8549 def BoundedGridRange3D_get_is_bounded():
8550 """BoundedGridRange3D_get_is_bounded() -> bool"""
8551 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8553 class BoundedGridRange4D(object):
8554 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
8555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8557 def get_is_bounded():
8558 """get_is_bounded() -> bool"""
8559 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8561 get_is_bounded = staticmethod(get_is_bounded)
8563 def __init__(self, *args):
8565 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
8566 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
8568 this = _IMP_algebra.new_BoundedGridRange4D(*args)
8570 self.this.append(this)
8574 def get_number_of_voxels(self, *args):
8576 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
8577 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
8579 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
8582 def get_end_index(self):
8583 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8584 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
8587 def show(self, *args):
8589 show(BoundedGridRange4D self, _ostream out)
8590 show(BoundedGridRange4D self)
8592 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
8595 def get_all_indexes(self):
8596 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8597 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
8601 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8602 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
8605 def get_extended_indexes(self, lb, ub):
8606 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8607 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8611 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8612 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8615 def get_has_index(self, v):
8616 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8617 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8620 def get_minimum_extended_index(self):
8621 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8622 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8625 def get_maximum_extended_index(self):
8626 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8627 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8631 """__str__(BoundedGridRange4D self) -> std::string"""
8632 return _IMP_algebra.BoundedGridRange4D___str__(self)
8636 """__repr__(BoundedGridRange4D self) -> std::string"""
8637 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8640 def __cmp__(self, arg2):
8641 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8642 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8645 def __eq__(self, arg2):
8646 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8647 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8649 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8650 __del__ =
lambda self:
None
8651 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8652 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8654 def BoundedGridRange4D_get_is_bounded():
8655 """BoundedGridRange4D_get_is_bounded() -> bool"""
8656 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8658 class BoundedGridRange5D(object):
8659 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
8660 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8662 def get_is_bounded():
8663 """get_is_bounded() -> bool"""
8664 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8666 get_is_bounded = staticmethod(get_is_bounded)
8668 def __init__(self, *args):
8670 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8671 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8673 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8675 self.this.append(this)
8679 def get_number_of_voxels(self, *args):
8681 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8682 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8684 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8687 def get_end_index(self):
8688 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8689 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8692 def show(self, *args):
8694 show(BoundedGridRange5D self, _ostream out)
8695 show(BoundedGridRange5D self)
8697 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8700 def get_all_indexes(self):
8701 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8702 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8706 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8707 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8710 def get_extended_indexes(self, lb, ub):
8711 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8712 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8716 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8717 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8720 def get_has_index(self, v):
8721 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8722 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8725 def get_minimum_extended_index(self):
8726 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8727 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8730 def get_maximum_extended_index(self):
8731 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8732 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8736 """__str__(BoundedGridRange5D self) -> std::string"""
8737 return _IMP_algebra.BoundedGridRange5D___str__(self)
8741 """__repr__(BoundedGridRange5D self) -> std::string"""
8742 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8745 def __cmp__(self, arg2):
8746 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8747 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8750 def __eq__(self, arg2):
8751 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8752 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8754 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8755 __del__ =
lambda self:
None
8756 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8757 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8759 def BoundedGridRange5D_get_is_bounded():
8760 """BoundedGridRange5D_get_is_bounded() -> bool"""
8761 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8763 class BoundedGridRange6D(object):
8764 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
8765 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8767 def get_is_bounded():
8768 """get_is_bounded() -> bool"""
8769 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8771 get_is_bounded = staticmethod(get_is_bounded)
8773 def __init__(self, *args):
8775 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8776 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8778 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8780 self.this.append(this)
8784 def get_number_of_voxels(self, *args):
8786 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8787 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8789 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8792 def get_end_index(self):
8793 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8794 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8797 def show(self, *args):
8799 show(BoundedGridRange6D self, _ostream out)
8800 show(BoundedGridRange6D self)
8802 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8805 def get_all_indexes(self):
8806 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8807 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8811 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8812 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8815 def get_extended_indexes(self, lb, ub):
8816 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8817 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8821 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8822 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8825 def get_has_index(self, v):
8826 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8827 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8830 def get_minimum_extended_index(self):
8831 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8832 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8835 def get_maximum_extended_index(self):
8836 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8837 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8841 """__str__(BoundedGridRange6D self) -> std::string"""
8842 return _IMP_algebra.BoundedGridRange6D___str__(self)
8846 """__repr__(BoundedGridRange6D self) -> std::string"""
8847 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8850 def __cmp__(self, arg2):
8851 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8852 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8855 def __eq__(self, arg2):
8856 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8857 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8859 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8860 __del__ =
lambda self:
None
8861 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8862 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8864 def BoundedGridRange6D_get_is_bounded():
8865 """BoundedGridRange6D_get_is_bounded() -> bool"""
8866 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8868 class BoundedGridRangeKD(object):
8869 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
8870 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8872 def get_is_bounded():
8873 """get_is_bounded() -> bool"""
8874 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8876 get_is_bounded = staticmethod(get_is_bounded)
8878 def __init__(self, *args):
8880 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8881 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8883 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8885 self.this.append(this)
8889 def get_number_of_voxels(self, *args):
8891 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8892 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8894 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8897 def get_end_index(self):
8898 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8899 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8902 def show(self, *args):
8904 show(BoundedGridRangeKD self, _ostream out)
8905 show(BoundedGridRangeKD self)
8907 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8910 def get_all_indexes(self):
8911 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8912 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8916 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8917 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8920 def get_extended_indexes(self, lb, ub):
8921 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8922 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8926 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8927 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8930 def get_has_index(self, v):
8931 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8932 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8935 def get_minimum_extended_index(self):
8936 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8937 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8940 def get_maximum_extended_index(self):
8941 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8942 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8946 """__str__(BoundedGridRangeKD self) -> std::string"""
8947 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8951 """__repr__(BoundedGridRangeKD self) -> std::string"""
8952 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8955 def __cmp__(self, arg2):
8956 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8957 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8960 def __eq__(self, arg2):
8961 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8962 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8964 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8965 __del__ =
lambda self:
None
8966 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8967 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8969 def BoundedGridRangeKD_get_is_bounded():
8970 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8971 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8973 class UnboundedGridRange1D(object):
8974 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
8975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8977 def __init__(self, *args):
8979 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8980 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8982 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8984 self.this.append(this)
8988 def set_number_of_voxels(self, arg2):
8989 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8990 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8993 def get_number_of_voxels(self, arg2):
8994 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8995 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8998 def get_is_bounded():
8999 """get_is_bounded() -> bool"""
9000 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9002 get_is_bounded = staticmethod(get_is_bounded)
9004 def get_has_index(self, arg2):
9005 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
9006 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
9009 def show(self, *args):
9011 show(UnboundedGridRange1D self, _ostream out)
9012 show(UnboundedGridRange1D self)
9014 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
9017 def get_extended_indexes(self, lb, ub):
9018 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9019 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
9023 """__str__(UnboundedGridRange1D self) -> std::string"""
9024 return _IMP_algebra.UnboundedGridRange1D___str__(self)
9028 """__repr__(UnboundedGridRange1D self) -> std::string"""
9029 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
9032 def __cmp__(self, arg2):
9033 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
9034 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
9037 def __eq__(self, arg2):
9038 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
9039 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
9041 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
9042 __del__ =
lambda self:
None
9043 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
9044 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
9046 def UnboundedGridRange1D_get_is_bounded():
9047 """UnboundedGridRange1D_get_is_bounded() -> bool"""
9048 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9050 class UnboundedGridRange2D(object):
9051 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
9052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9054 def __init__(self, *args):
9056 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
9057 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
9059 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
9061 self.this.append(this)
9065 def set_number_of_voxels(self, arg2):
9066 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
9067 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
9070 def get_number_of_voxels(self, arg2):
9071 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
9072 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
9075 def get_is_bounded():
9076 """get_is_bounded() -> bool"""
9077 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9079 get_is_bounded = staticmethod(get_is_bounded)
9081 def get_has_index(self, arg2):
9082 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
9083 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
9086 def show(self, *args):
9088 show(UnboundedGridRange2D self, _ostream out)
9089 show(UnboundedGridRange2D self)
9091 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
9094 def get_extended_indexes(self, lb, ub):
9095 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
9096 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
9100 """__str__(UnboundedGridRange2D self) -> std::string"""
9101 return _IMP_algebra.UnboundedGridRange2D___str__(self)
9105 """__repr__(UnboundedGridRange2D self) -> std::string"""
9106 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
9109 def __cmp__(self, arg2):
9110 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
9111 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
9114 def __eq__(self, arg2):
9115 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
9116 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
9118 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
9119 __del__ =
lambda self:
None
9120 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
9121 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
9123 def UnboundedGridRange2D_get_is_bounded():
9124 """UnboundedGridRange2D_get_is_bounded() -> bool"""
9125 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9127 class UnboundedGridRange3D(object):
9128 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
9129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9131 def __init__(self, *args):
9133 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
9134 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
9136 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
9138 self.this.append(this)
9142 def set_number_of_voxels(self, arg2):
9143 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
9144 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
9147 def get_number_of_voxels(self, arg2):
9148 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
9149 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
9152 def get_is_bounded():
9153 """get_is_bounded() -> bool"""
9154 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9156 get_is_bounded = staticmethod(get_is_bounded)
9158 def get_has_index(self, arg2):
9159 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
9160 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
9163 def show(self, *args):
9165 show(UnboundedGridRange3D self, _ostream out)
9166 show(UnboundedGridRange3D self)
9168 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
9171 def get_extended_indexes(self, lb, ub):
9172 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
9173 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
9177 """__str__(UnboundedGridRange3D self) -> std::string"""
9178 return _IMP_algebra.UnboundedGridRange3D___str__(self)
9182 """__repr__(UnboundedGridRange3D self) -> std::string"""
9183 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
9186 def __cmp__(self, arg2):
9187 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
9188 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
9191 def __eq__(self, arg2):
9192 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
9193 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
9195 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
9196 __del__ =
lambda self:
None
9197 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
9198 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
9200 def UnboundedGridRange3D_get_is_bounded():
9201 """UnboundedGridRange3D_get_is_bounded() -> bool"""
9202 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9204 class UnboundedGridRange4D(object):
9205 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
9206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9208 def __init__(self, *args):
9210 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
9211 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
9213 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
9215 self.this.append(this)
9219 def set_number_of_voxels(self, arg2):
9220 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
9221 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
9224 def get_number_of_voxels(self, arg2):
9225 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
9226 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
9229 def get_is_bounded():
9230 """get_is_bounded() -> bool"""
9231 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9233 get_is_bounded = staticmethod(get_is_bounded)
9235 def get_has_index(self, arg2):
9236 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
9237 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
9240 def show(self, *args):
9242 show(UnboundedGridRange4D self, _ostream out)
9243 show(UnboundedGridRange4D self)
9245 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
9248 def get_extended_indexes(self, lb, ub):
9249 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
9250 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
9254 """__str__(UnboundedGridRange4D self) -> std::string"""
9255 return _IMP_algebra.UnboundedGridRange4D___str__(self)
9259 """__repr__(UnboundedGridRange4D self) -> std::string"""
9260 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
9263 def __cmp__(self, arg2):
9264 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
9265 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
9268 def __eq__(self, arg2):
9269 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
9270 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
9272 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
9273 __del__ =
lambda self:
None
9274 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
9275 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
9277 def UnboundedGridRange4D_get_is_bounded():
9278 """UnboundedGridRange4D_get_is_bounded() -> bool"""
9279 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9281 class UnboundedGridRange5D(object):
9282 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
9283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9285 def __init__(self, *args):
9287 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
9288 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
9290 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
9292 self.this.append(this)
9296 def set_number_of_voxels(self, arg2):
9297 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
9298 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
9301 def get_number_of_voxels(self, arg2):
9302 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
9303 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
9306 def get_is_bounded():
9307 """get_is_bounded() -> bool"""
9308 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9310 get_is_bounded = staticmethod(get_is_bounded)
9312 def get_has_index(self, arg2):
9313 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
9314 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
9317 def show(self, *args):
9319 show(UnboundedGridRange5D self, _ostream out)
9320 show(UnboundedGridRange5D self)
9322 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
9325 def get_extended_indexes(self, lb, ub):
9326 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
9327 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
9331 """__str__(UnboundedGridRange5D self) -> std::string"""
9332 return _IMP_algebra.UnboundedGridRange5D___str__(self)
9336 """__repr__(UnboundedGridRange5D self) -> std::string"""
9337 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
9340 def __cmp__(self, arg2):
9341 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
9342 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
9345 def __eq__(self, arg2):
9346 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
9347 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
9349 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
9350 __del__ =
lambda self:
None
9351 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
9352 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
9354 def UnboundedGridRange5D_get_is_bounded():
9355 """UnboundedGridRange5D_get_is_bounded() -> bool"""
9356 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9358 class UnboundedGridRange6D(object):
9359 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
9360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9362 def __init__(self, *args):
9364 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
9365 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
9367 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
9369 self.this.append(this)
9373 def set_number_of_voxels(self, arg2):
9374 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
9375 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
9378 def get_number_of_voxels(self, arg2):
9379 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
9380 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
9383 def get_is_bounded():
9384 """get_is_bounded() -> bool"""
9385 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9387 get_is_bounded = staticmethod(get_is_bounded)
9389 def get_has_index(self, arg2):
9390 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
9391 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
9394 def show(self, *args):
9396 show(UnboundedGridRange6D self, _ostream out)
9397 show(UnboundedGridRange6D self)
9399 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
9402 def get_extended_indexes(self, lb, ub):
9403 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
9404 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
9408 """__str__(UnboundedGridRange6D self) -> std::string"""
9409 return _IMP_algebra.UnboundedGridRange6D___str__(self)
9413 """__repr__(UnboundedGridRange6D self) -> std::string"""
9414 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
9417 def __cmp__(self, arg2):
9418 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
9419 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
9422 def __eq__(self, arg2):
9423 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
9424 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
9426 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
9427 __del__ =
lambda self:
None
9428 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
9429 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
9431 def UnboundedGridRange6D_get_is_bounded():
9432 """UnboundedGridRange6D_get_is_bounded() -> bool"""
9433 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9435 class UnboundedGridRangeKD(object):
9436 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
9437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9439 def __init__(self, *args):
9441 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
9442 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
9444 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
9446 self.this.append(this)
9450 def set_number_of_voxels(self, arg2):
9451 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
9452 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
9455 def get_number_of_voxels(self, arg2):
9456 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
9457 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
9460 def get_is_bounded():
9461 """get_is_bounded() -> bool"""
9462 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9464 get_is_bounded = staticmethod(get_is_bounded)
9466 def get_has_index(self, arg2):
9467 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
9468 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
9471 def show(self, *args):
9473 show(UnboundedGridRangeKD self, _ostream out)
9474 show(UnboundedGridRangeKD self)
9476 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
9479 def get_extended_indexes(self, lb, ub):
9480 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
9481 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
9485 """__str__(UnboundedGridRangeKD self) -> std::string"""
9486 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
9490 """__repr__(UnboundedGridRangeKD self) -> std::string"""
9491 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
9494 def __cmp__(self, arg2):
9495 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
9496 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
9499 def __eq__(self, arg2):
9500 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
9501 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
9503 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
9504 __del__ =
lambda self:
None
9505 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
9506 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
9508 def UnboundedGridRangeKD_get_is_bounded():
9509 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
9510 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9512 class DefaultEmbedding1D(object):
9513 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
9514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9516 def __init__(self, *args):
9518 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
9519 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
9521 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
9523 self.this.append(this)
9527 def set_origin(self, o):
9528 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
9529 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
9532 def get_origin(self):
9533 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
9534 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
9537 def get_dimension(self):
9538 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
9539 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
9542 def set_unit_cell(self, o):
9543 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
9544 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
9547 def get_inverse_unit_cell(self):
9548 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9549 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
9552 def get_unit_cell(self):
9553 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9554 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
9557 def get_extended_index(self, o):
9558 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9559 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
9563 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
9564 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
9567 def get_center(self, *args):
9569 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9570 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
9572 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
9575 def get_bounding_box(self, *args):
9577 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9578 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9580 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
9583 def show(self, *args):
9585 show(DefaultEmbedding1D self, _ostream out)
9586 show(DefaultEmbedding1D self)
9588 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
9592 """__str__(DefaultEmbedding1D self) -> std::string"""
9593 return _IMP_algebra.DefaultEmbedding1D___str__(self)
9597 """__repr__(DefaultEmbedding1D self) -> std::string"""
9598 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9601 def __cmp__(self, arg2):
9602 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9603 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9606 def __eq__(self, arg2):
9607 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9608 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9610 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9611 __del__ =
lambda self:
None
9612 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9613 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9615 class DefaultEmbedding2D(object):
9616 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
9617 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9619 def __init__(self, *args):
9621 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9622 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9624 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9626 self.this.append(this)
9630 def set_origin(self, o):
9631 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9632 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9635 def get_origin(self):
9636 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9637 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9640 def get_dimension(self):
9641 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9642 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9645 def set_unit_cell(self, o):
9646 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9647 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9650 def get_inverse_unit_cell(self):
9651 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9652 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9655 def get_unit_cell(self):
9656 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9657 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9660 def get_extended_index(self, o):
9661 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9662 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9666 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9667 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9670 def get_center(self, *args):
9672 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9673 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9675 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9678 def get_bounding_box(self, *args):
9680 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9681 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9683 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9686 def show(self, *args):
9688 show(DefaultEmbedding2D self, _ostream out)
9689 show(DefaultEmbedding2D self)
9691 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9695 """__str__(DefaultEmbedding2D self) -> std::string"""
9696 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9700 """__repr__(DefaultEmbedding2D self) -> std::string"""
9701 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9704 def __cmp__(self, arg2):
9705 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9706 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9709 def __eq__(self, arg2):
9710 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9711 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9713 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9714 __del__ =
lambda self:
None
9715 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9716 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9718 class DefaultEmbedding3D(object):
9719 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
9720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9722 def __init__(self, *args):
9724 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9725 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9727 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9729 self.this.append(this)
9733 def set_origin(self, o):
9734 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9735 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9738 def get_origin(self):
9739 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9740 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9743 def get_dimension(self):
9744 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9745 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9748 def set_unit_cell(self, o):
9749 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9750 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9753 def get_inverse_unit_cell(self):
9754 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9755 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9758 def get_unit_cell(self):
9759 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9760 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9763 def get_extended_index(self, o):
9764 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9765 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9769 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9770 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9773 def get_center(self, *args):
9775 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9776 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9778 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9781 def get_bounding_box(self, *args):
9783 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9784 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9786 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9789 def show(self, *args):
9791 show(DefaultEmbedding3D self, _ostream out)
9792 show(DefaultEmbedding3D self)
9794 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9798 """__str__(DefaultEmbedding3D self) -> std::string"""
9799 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9803 """__repr__(DefaultEmbedding3D self) -> std::string"""
9804 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9807 def __cmp__(self, arg2):
9808 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9809 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9812 def __eq__(self, arg2):
9813 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9814 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9816 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9817 __del__ =
lambda self:
None
9818 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9819 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9821 class DefaultEmbedding4D(object):
9822 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
9823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9825 def __init__(self, *args):
9827 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9828 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9830 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9832 self.this.append(this)
9836 def set_origin(self, o):
9837 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9838 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9841 def get_origin(self):
9842 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9843 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9846 def get_dimension(self):
9847 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9848 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9851 def set_unit_cell(self, o):
9852 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9853 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9856 def get_inverse_unit_cell(self):
9857 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9858 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9861 def get_unit_cell(self):
9862 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9863 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9866 def get_extended_index(self, o):
9867 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9868 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9872 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9873 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9876 def get_center(self, *args):
9878 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9879 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9881 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9884 def get_bounding_box(self, *args):
9886 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9887 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9889 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9892 def show(self, *args):
9894 show(DefaultEmbedding4D self, _ostream out)
9895 show(DefaultEmbedding4D self)
9897 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9901 """__str__(DefaultEmbedding4D self) -> std::string"""
9902 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9906 """__repr__(DefaultEmbedding4D self) -> std::string"""
9907 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9910 def __cmp__(self, arg2):
9911 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9912 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9915 def __eq__(self, arg2):
9916 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9917 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9919 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9920 __del__ =
lambda self:
None
9921 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9922 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9924 class DefaultEmbedding5D(object):
9925 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
9926 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9928 def __init__(self, *args):
9930 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9931 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9933 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9935 self.this.append(this)
9939 def set_origin(self, o):
9940 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9941 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9944 def get_origin(self):
9945 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9946 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9949 def get_dimension(self):
9950 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9951 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9954 def set_unit_cell(self, o):
9955 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9956 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9959 def get_inverse_unit_cell(self):
9960 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9961 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9964 def get_unit_cell(self):
9965 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9966 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9969 def get_extended_index(self, o):
9970 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9971 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9975 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9976 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9979 def get_center(self, *args):
9981 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9982 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9984 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9987 def get_bounding_box(self, *args):
9989 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9990 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9992 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9995 def show(self, *args):
9997 show(DefaultEmbedding5D self, _ostream out)
9998 show(DefaultEmbedding5D self)
10000 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
10004 """__str__(DefaultEmbedding5D self) -> std::string"""
10005 return _IMP_algebra.DefaultEmbedding5D___str__(self)
10008 def __repr__(self):
10009 """__repr__(DefaultEmbedding5D self) -> std::string"""
10010 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
10013 def __cmp__(self, arg2):
10014 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
10015 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
10018 def __eq__(self, arg2):
10019 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
10020 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
10022 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
10023 __del__ =
lambda self:
None
10024 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
10025 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
10027 class DefaultEmbedding6D(object):
10028 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
10029 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10031 def __init__(self, *args):
10033 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
10034 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
10036 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
10038 self.this.append(this)
10042 def set_origin(self, o):
10043 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
10044 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
10047 def get_origin(self):
10048 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
10049 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
10052 def get_dimension(self):
10053 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
10054 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
10057 def set_unit_cell(self, o):
10058 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
10059 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
10062 def get_inverse_unit_cell(self):
10063 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10064 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
10067 def get_unit_cell(self):
10068 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10069 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
10072 def get_extended_index(self, o):
10073 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10074 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
10078 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
10079 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
10082 def get_center(self, *args):
10084 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10085 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
10087 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
10090 def get_bounding_box(self, *args):
10092 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10093 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10095 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
10098 def show(self, *args):
10100 show(DefaultEmbedding6D self, _ostream out)
10101 show(DefaultEmbedding6D self)
10103 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
10107 """__str__(DefaultEmbedding6D self) -> std::string"""
10108 return _IMP_algebra.DefaultEmbedding6D___str__(self)
10111 def __repr__(self):
10112 """__repr__(DefaultEmbedding6D self) -> std::string"""
10113 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
10116 def __cmp__(self, arg2):
10117 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
10118 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
10121 def __eq__(self, arg2):
10122 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
10123 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
10125 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
10126 __del__ =
lambda self:
None
10127 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
10128 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
10130 class DefaultEmbeddingKD(object):
10131 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
10132 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10134 def __init__(self, *args):
10136 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
10137 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
10139 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
10141 self.this.append(this)
10145 def set_origin(self, o):
10146 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
10147 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
10150 def get_origin(self):
10151 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
10152 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
10155 def get_dimension(self):
10156 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
10157 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
10160 def set_unit_cell(self, o):
10161 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
10162 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
10165 def get_inverse_unit_cell(self):
10166 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10167 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
10170 def get_unit_cell(self):
10171 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10172 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
10175 def get_extended_index(self, o):
10176 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
10177 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
10181 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
10182 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
10185 def get_center(self, *args):
10187 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
10188 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
10190 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
10193 def get_bounding_box(self, *args):
10195 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
10196 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
10198 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
10201 def show(self, *args):
10203 show(DefaultEmbeddingKD self, _ostream out)
10204 show(DefaultEmbeddingKD self)
10206 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
10210 """__str__(DefaultEmbeddingKD self) -> std::string"""
10211 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
10214 def __repr__(self):
10215 """__repr__(DefaultEmbeddingKD self) -> std::string"""
10216 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
10219 def __cmp__(self, arg2):
10220 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
10221 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
10224 def __eq__(self, arg2):
10225 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
10226 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
10228 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
10229 __del__ =
lambda self:
None
10230 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
10231 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
10233 class LogEmbedding1D(object):
10234 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
10235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10237 def __init__(self, *args):
10239 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
10240 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
10241 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
10242 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
10243 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
10245 this = _IMP_algebra.new_LogEmbedding1D(*args)
10247 self.this.append(this)
10251 def set_origin(self, o):
10252 """set_origin(LogEmbedding1D self, Vector1D o)"""
10253 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
10256 def get_origin(self):
10257 """get_origin(LogEmbedding1D self) -> Vector1D"""
10258 return _IMP_algebra.LogEmbedding1D_get_origin(self)
10261 def get_dimension(self):
10262 """get_dimension(LogEmbedding1D self) -> unsigned int"""
10263 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
10266 def set_unit_cell(self, *args):
10268 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
10269 set_unit_cell(LogEmbedding1D self, Vector1D o)
10271 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
10274 def get_unit_cell(self):
10275 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
10276 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
10279 def get_extended_index(self, o):
10280 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
10281 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
10285 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
10286 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
10289 def get_center(self, *args):
10291 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
10292 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
10294 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
10297 def get_bounding_box(self, *args):
10299 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
10300 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
10302 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
10305 def show(self, *args):
10307 show(LogEmbedding1D self, _ostream out)
10308 show(LogEmbedding1D self)
10310 return _IMP_algebra.LogEmbedding1D_show(self, *args)
10314 """__str__(LogEmbedding1D self) -> std::string"""
10315 return _IMP_algebra.LogEmbedding1D___str__(self)
10318 def __repr__(self):
10319 """__repr__(LogEmbedding1D self) -> std::string"""
10320 return _IMP_algebra.LogEmbedding1D___repr__(self)
10323 def __cmp__(self, arg2):
10324 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
10325 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
10328 def __eq__(self, arg2):
10329 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
10330 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
10332 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
10333 __del__ =
lambda self:
None
10334 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
10335 LogEmbedding1D_swigregister(LogEmbedding1D)
10337 class LogEmbedding2D(object):
10338 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
10339 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10341 def __init__(self, *args):
10343 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
10344 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
10345 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
10346 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
10347 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
10349 this = _IMP_algebra.new_LogEmbedding2D(*args)
10351 self.this.append(this)
10355 def set_origin(self, o):
10356 """set_origin(LogEmbedding2D self, Vector2D o)"""
10357 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
10360 def get_origin(self):
10361 """get_origin(LogEmbedding2D self) -> Vector2D"""
10362 return _IMP_algebra.LogEmbedding2D_get_origin(self)
10365 def get_dimension(self):
10366 """get_dimension(LogEmbedding2D self) -> unsigned int"""
10367 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
10370 def set_unit_cell(self, *args):
10372 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
10373 set_unit_cell(LogEmbedding2D self, Vector2D o)
10375 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
10378 def get_unit_cell(self):
10379 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
10380 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
10383 def get_extended_index(self, o):
10384 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
10385 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
10389 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
10390 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
10393 def get_center(self, *args):
10395 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
10396 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
10398 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
10401 def get_bounding_box(self, *args):
10403 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
10404 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
10406 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
10409 def show(self, *args):
10411 show(LogEmbedding2D self, _ostream out)
10412 show(LogEmbedding2D self)
10414 return _IMP_algebra.LogEmbedding2D_show(self, *args)
10418 """__str__(LogEmbedding2D self) -> std::string"""
10419 return _IMP_algebra.LogEmbedding2D___str__(self)
10422 def __repr__(self):
10423 """__repr__(LogEmbedding2D self) -> std::string"""
10424 return _IMP_algebra.LogEmbedding2D___repr__(self)
10427 def __cmp__(self, arg2):
10428 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
10429 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
10432 def __eq__(self, arg2):
10433 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
10434 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
10436 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
10437 __del__ =
lambda self:
None
10438 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
10439 LogEmbedding2D_swigregister(LogEmbedding2D)
10441 class LogEmbedding4D(object):
10442 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
10443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10445 def __init__(self, *args):
10447 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
10448 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
10449 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
10450 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
10451 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
10453 this = _IMP_algebra.new_LogEmbedding4D(*args)
10455 self.this.append(this)
10459 def set_origin(self, o):
10460 """set_origin(LogEmbedding4D self, Vector4D o)"""
10461 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
10464 def get_origin(self):
10465 """get_origin(LogEmbedding4D self) -> Vector4D"""
10466 return _IMP_algebra.LogEmbedding4D_get_origin(self)
10469 def get_dimension(self):
10470 """get_dimension(LogEmbedding4D self) -> unsigned int"""
10471 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
10474 def set_unit_cell(self, *args):
10476 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
10477 set_unit_cell(LogEmbedding4D self, Vector4D o)
10479 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
10482 def get_unit_cell(self):
10483 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
10484 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
10487 def get_extended_index(self, o):
10488 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
10489 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
10493 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
10494 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
10497 def get_center(self, *args):
10499 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
10500 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
10502 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
10505 def get_bounding_box(self, *args):
10507 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
10508 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
10510 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
10513 def show(self, *args):
10515 show(LogEmbedding4D self, _ostream out)
10516 show(LogEmbedding4D self)
10518 return _IMP_algebra.LogEmbedding4D_show(self, *args)
10522 """__str__(LogEmbedding4D self) -> std::string"""
10523 return _IMP_algebra.LogEmbedding4D___str__(self)
10526 def __repr__(self):
10527 """__repr__(LogEmbedding4D self) -> std::string"""
10528 return _IMP_algebra.LogEmbedding4D___repr__(self)
10531 def __cmp__(self, arg2):
10532 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
10533 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
10536 def __eq__(self, arg2):
10537 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
10538 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
10540 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
10541 __del__ =
lambda self:
None
10542 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
10543 LogEmbedding4D_swigregister(LogEmbedding4D)
10545 class LogEmbedding5D(object):
10546 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
10547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10549 def __init__(self, *args):
10551 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
10552 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
10553 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
10554 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
10555 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
10557 this = _IMP_algebra.new_LogEmbedding5D(*args)
10559 self.this.append(this)
10563 def set_origin(self, o):
10564 """set_origin(LogEmbedding5D self, Vector5D o)"""
10565 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
10568 def get_origin(self):
10569 """get_origin(LogEmbedding5D self) -> Vector5D"""
10570 return _IMP_algebra.LogEmbedding5D_get_origin(self)
10573 def get_dimension(self):
10574 """get_dimension(LogEmbedding5D self) -> unsigned int"""
10575 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
10578 def set_unit_cell(self, *args):
10580 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
10581 set_unit_cell(LogEmbedding5D self, Vector5D o)
10583 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
10586 def get_unit_cell(self):
10587 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
10588 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10591 def get_extended_index(self, o):
10592 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10593 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10597 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10598 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10601 def get_center(self, *args):
10603 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10604 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10606 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10609 def get_bounding_box(self, *args):
10611 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10612 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10614 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10617 def show(self, *args):
10619 show(LogEmbedding5D self, _ostream out)
10620 show(LogEmbedding5D self)
10622 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10626 """__str__(LogEmbedding5D self) -> std::string"""
10627 return _IMP_algebra.LogEmbedding5D___str__(self)
10630 def __repr__(self):
10631 """__repr__(LogEmbedding5D self) -> std::string"""
10632 return _IMP_algebra.LogEmbedding5D___repr__(self)
10635 def __cmp__(self, arg2):
10636 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10637 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10640 def __eq__(self, arg2):
10641 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10642 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10644 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10645 __del__ =
lambda self:
None
10646 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10647 LogEmbedding5D_swigregister(LogEmbedding5D)
10649 class LogEmbedding6D(object):
10650 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
10651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10653 def __init__(self, *args):
10655 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10656 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10657 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10658 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10659 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10661 this = _IMP_algebra.new_LogEmbedding6D(*args)
10663 self.this.append(this)
10667 def set_origin(self, o):
10668 """set_origin(LogEmbedding6D self, Vector6D o)"""
10669 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10672 def get_origin(self):
10673 """get_origin(LogEmbedding6D self) -> Vector6D"""
10674 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10677 def get_dimension(self):
10678 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10679 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10682 def set_unit_cell(self, *args):
10684 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10685 set_unit_cell(LogEmbedding6D self, Vector6D o)
10687 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10690 def get_unit_cell(self):
10691 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10692 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10695 def get_extended_index(self, o):
10696 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10697 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10701 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10702 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10705 def get_center(self, *args):
10707 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10708 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10710 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10713 def get_bounding_box(self, *args):
10715 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10716 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10718 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10721 def show(self, *args):
10723 show(LogEmbedding6D self, _ostream out)
10724 show(LogEmbedding6D self)
10726 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10730 """__str__(LogEmbedding6D self) -> std::string"""
10731 return _IMP_algebra.LogEmbedding6D___str__(self)
10734 def __repr__(self):
10735 """__repr__(LogEmbedding6D self) -> std::string"""
10736 return _IMP_algebra.LogEmbedding6D___repr__(self)
10739 def __cmp__(self, arg2):
10740 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10741 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10744 def __eq__(self, arg2):
10745 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10746 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10748 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10749 __del__ =
lambda self:
None
10750 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10751 LogEmbedding6D_swigregister(LogEmbedding6D)
10753 class SpherePatch3D(_GeometricPrimitive3D):
10754 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
10755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10757 def __init__(self, *args):
10759 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10760 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10762 this = _IMP_algebra.new_SpherePatch3D(*args)
10764 self.this.append(this)
10768 def get_contains(self, p):
10769 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10770 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10773 def get_plane(self):
10774 """get_plane(SpherePatch3D self) -> Plane3D"""
10775 return _IMP_algebra.SpherePatch3D_get_plane(self)
10778 def get_sphere(self):
10779 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10780 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10783 def show(self, *args):
10785 show(SpherePatch3D self, _ostream out)
10786 show(SpherePatch3D self)
10788 return _IMP_algebra.SpherePatch3D_show(self, *args)
10791 def get_boundary_point(self):
10792 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10793 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10797 """__str__(SpherePatch3D self) -> std::string"""
10798 return _IMP_algebra.SpherePatch3D___str__(self)
10801 def __repr__(self):
10802 """__repr__(SpherePatch3D self) -> std::string"""
10803 return _IMP_algebra.SpherePatch3D___repr__(self)
10805 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10806 __del__ =
lambda self:
None
10807 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10808 SpherePatch3D_swigregister(SpherePatch3D)
10813 get_area(Plane3D g) -> double
10814 get_area(SpherePatch3D g) -> double
10816 return _IMP_algebra.get_area(*args)
10818 def get_sphere_patch_3d_geometry(g):
10819 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10820 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10821 class Cone3D(_GeometricPrimitive3D):
10822 """Proxy of C++ IMP::algebra::Cone3D class"""
10823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10825 def __init__(self, *args):
10827 __init__(IMP::algebra::Cone3D self) -> Cone3D
10828 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10830 this = _IMP_algebra.new_Cone3D(*args)
10832 self.this.append(this)
10837 """get_tip(Cone3D self) -> Vector3D"""
10838 return _IMP_algebra.Cone3D_get_tip(self)
10841 def get_direction(self):
10842 """get_direction(Cone3D self) -> Vector3D"""
10843 return _IMP_algebra.Cone3D_get_direction(self)
10847 """get_height(Cone3D self) -> double"""
10848 return _IMP_algebra.Cone3D_get_height(self)
10852 """get_angle(Cone3D self) -> double"""
10853 return _IMP_algebra.Cone3D_get_angle(self)
10856 def get_radius(self):
10857 """get_radius(Cone3D self) -> double"""
10858 return _IMP_algebra.Cone3D_get_radius(self)
10861 def get_contains(self, v):
10862 """get_contains(Cone3D self, Vector3D v) -> bool"""
10863 return _IMP_algebra.Cone3D_get_contains(self, v)
10866 def get_base_plane(self):
10867 """get_base_plane(Cone3D self) -> Plane3D"""
10868 return _IMP_algebra.Cone3D_get_base_plane(self)
10871 def show(self, *args):
10873 show(Cone3D self, _ostream out)
10876 return _IMP_algebra.Cone3D_show(self, *args)
10880 """__str__(Cone3D self) -> std::string"""
10881 return _IMP_algebra.Cone3D___str__(self)
10884 def __repr__(self):
10885 """__repr__(Cone3D self) -> std::string"""
10886 return _IMP_algebra.Cone3D___repr__(self)
10888 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10889 __del__ =
lambda self:
None
10890 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10891 Cone3D_swigregister(Cone3D)
10896 get_surface_area(BoundingBox3D g) -> double
10897 get_surface_area(Sphere3D g) -> double
10898 get_surface_area(Cylinder3D g) -> double
10899 get_surface_area(Ellipsoid3D g) -> double
10900 get_surface_area(Cone3D g) -> double
10902 return _IMP_algebra.get_surface_area(*args)
10906 get_volume(BoundingBox3D g) -> double
10907 get_volume(Sphere3D g) -> double
10908 get_volume(Cylinder3D g) -> double
10909 get_volume(Ellipsoid3D g) -> double
10910 get_volume(Cone3D g) -> double
10912 return _IMP_algebra.get_volume(*args)
10914 def get_cone_3d_geometry(g):
10915 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10916 return _IMP_algebra.get_cone_3d_geometry(g)
10919 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10920 return _IMP_algebra.write_pts(vs, out)
10923 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10924 return _IMP_algebra.read_pts(input)
10927 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10928 return _IMP_algebra.write_spheres(vs, out)
10931 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10932 return _IMP_algebra.read_spheres(input)
10935 """get_random_vector_on_unit_sphere() -> Vector3D"""
10936 return _IMP_algebra.get_random_vector_on_unit_sphere()
10939 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10940 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10944 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10945 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10946 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10948 return _IMP_algebra.get_random_chain(*args)
10951 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10952 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10956 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10957 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10959 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10962 """get_is_big_endian() -> bool"""
10963 return _IMP_algebra.get_is_big_endian()
10966 """get_is_little_endian() -> bool"""
10967 return _IMP_algebra.get_is_little_endian()
10971 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10972 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10974 return _IMP_algebra.get_shortest_segment(*args)
10976 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
10977 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10979 def __init__(self, vs, query_estimate=1):
10981 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10982 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10984 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10986 self.this.append(this)
10990 def get_in_ball(self, id, distance):
10991 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10992 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10995 def set_coordinates(self, id, nc):
10996 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10997 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
11000 def get_version_info(self):
11001 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
11002 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
11006 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
11007 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
11010 def __repr__(self):
11011 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
11012 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
11017 return _object_cast_to_DynamicNearestNeighbor3D(o)
11019 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
11020 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
11023 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
11024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11026 def __init__(self, name):
11027 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
11028 if self.__class__ == VectorKDMetric:
11032 this = _IMP_algebra.new_VectorKDMetric(_self, name)
11034 self.this.append(this)
11038 if self.__class__ != VectorKDMetric:
11039 _director_objects.register(self)
11045 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
11046 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
11050 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
11051 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
11055 """__str__(VectorKDMetric self) -> std::string"""
11056 return _IMP_algebra.VectorKDMetric___str__(self)
11059 def __repr__(self):
11060 """__repr__(VectorKDMetric self) -> std::string"""
11061 return _IMP_algebra.VectorKDMetric___repr__(self)
11066 return _object_cast_to_VectorKDMetric(o)
11069 def get_type_name(self):
11070 return self.__class__.__name__
11071 def do_show(self, out):
11073 def get_version_info(self):
11074 if"IMP::algebra" ==
"IMP":
11075 return VersionInfo(self.__module__,
11082 return _object_cast_to_VectorKDMetric(o)
11084 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
11085 __del__ =
lambda self:
None
11086 def __disown__(self):
11088 _IMP_algebra.disown_VectorKDMetric(self)
11089 return weakref_proxy(self)
11091 def do_destroy(self):
11092 """do_destroy(VectorKDMetric self)"""
11093 return _IMP_algebra.VectorKDMetric_do_destroy(self)
11095 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
11096 VectorKDMetric_swigregister(VectorKDMetric)
11098 class EuclideanVectorKDMetric(VectorKDMetric):
11099 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
11100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11102 def __init__(self, *args):
11104 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
11105 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
11107 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
11109 self.this.append(this)
11113 def get_version_info(self):
11114 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
11115 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
11119 """__str__(EuclideanVectorKDMetric self) -> std::string"""
11120 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
11123 def __repr__(self):
11124 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
11125 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
11130 return _object_cast_to_EuclideanVectorKDMetric(o)
11132 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
11133 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
11135 class MaxVectorKDMetric(VectorKDMetric):
11136 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
11137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11139 def __init__(self, *args):
11141 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
11142 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
11144 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
11146 self.this.append(this)
11150 def get_version_info(self):
11151 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
11152 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
11156 """__str__(MaxVectorKDMetric self) -> std::string"""
11157 return _IMP_algebra.MaxVectorKDMetric___str__(self)
11160 def __repr__(self):
11161 """__repr__(MaxVectorKDMetric self) -> std::string"""
11162 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
11167 return _object_cast_to_MaxVectorKDMetric(o)
11169 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
11170 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
11172 class Gaussian3D(_GeometricPrimitive3D):
11173 """Proxy of C++ IMP::algebra::Gaussian3D class"""
11174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11176 def __init__(self, *args):
11178 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
11179 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
11181 this = _IMP_algebra.new_Gaussian3D(*args)
11183 self.this.append(this)
11187 def get_reference_frame(self):
11188 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
11189 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
11192 def get_variances(self):
11193 """get_variances(Gaussian3D self) -> Vector3D"""
11194 return _IMP_algebra.Gaussian3D_get_variances(self)
11197 def get_center(self):
11198 """get_center(Gaussian3D self) -> Vector3D"""
11199 return _IMP_algebra.Gaussian3D_get_center(self)
11202 def show(self, *args):
11204 show(Gaussian3D self, _ostream out)
11205 show(Gaussian3D self)
11207 return _IMP_algebra.Gaussian3D_show(self, *args)
11211 """__str__(Gaussian3D self) -> std::string"""
11212 return _IMP_algebra.Gaussian3D___str__(self)
11215 def __repr__(self):
11216 """__repr__(Gaussian3D self) -> std::string"""
11217 return _IMP_algebra.Gaussian3D___repr__(self)
11219 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
11220 __del__ =
lambda self:
None
11221 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
11222 Gaussian3D_swigregister(Gaussian3D)
11226 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
11227 return _IMP_algebra.get_covariance(g)
11230 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
11231 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
11234 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
11235 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
11239 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
11240 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
11242 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
11244 def _pass_matrix_xf(m):
11245 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
11246 return _IMP_algebra._pass_matrix_xf(m)
11248 def _pass_matrix_xd(m):
11249 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
11250 return _IMP_algebra._pass_matrix_xd(m)
11252 def _pass_matrix_3d(m):
11253 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
11254 return _IMP_algebra._pass_matrix_3d(m)
11256 def _pass_array_xd(m):
11257 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
11258 return _IMP_algebra._pass_array_xd(m)
11260 def _pass_vector_xd(m):
11261 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
11262 return _IMP_algebra._pass_vector_xd(m)
11264 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
11265 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11267 def __init__(self, *args):
11269 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
11270 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
11272 this = _IMP_algebra.new_NearestNeighbor1D(*args)
11274 self.this.append(this)
11278 def set_query_log(self, fname):
11279 """set_query_log(NearestNeighbor1D self, std::string fname)"""
11280 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
11283 def get_nearest_neighbor(self, *args):
11285 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
11286 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
11288 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
11291 def get_nearest_neighbors(self, *args):
11293 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
11294 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
11296 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
11299 def get_in_ball(self, *args):
11301 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
11302 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
11304 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
11307 def get_version_info(self):
11308 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
11309 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
11313 """__str__(NearestNeighbor1D self) -> std::string"""
11314 return _IMP_algebra.NearestNeighbor1D___str__(self)
11317 def __repr__(self):
11318 """__repr__(NearestNeighbor1D self) -> std::string"""
11319 return _IMP_algebra.NearestNeighbor1D___repr__(self)
11324 return _object_cast_to_NearestNeighborD(o)
11326 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
11327 NearestNeighbor1D_swigregister(NearestNeighbor1D)
11330 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
11331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11333 def __init__(self, *args):
11335 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
11336 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
11338 this = _IMP_algebra.new_NearestNeighbor2D(*args)
11340 self.this.append(this)
11344 def set_query_log(self, fname):
11345 """set_query_log(NearestNeighbor2D self, std::string fname)"""
11346 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
11349 def get_nearest_neighbor(self, *args):
11351 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
11352 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
11354 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
11357 def get_nearest_neighbors(self, *args):
11359 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
11360 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
11362 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
11365 def get_in_ball(self, *args):
11367 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
11368 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
11370 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
11373 def get_version_info(self):
11374 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
11375 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
11379 """__str__(NearestNeighbor2D self) -> std::string"""
11380 return _IMP_algebra.NearestNeighbor2D___str__(self)
11383 def __repr__(self):
11384 """__repr__(NearestNeighbor2D self) -> std::string"""
11385 return _IMP_algebra.NearestNeighbor2D___repr__(self)
11390 return _object_cast_to_NearestNeighborD(o)
11392 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
11393 NearestNeighbor2D_swigregister(NearestNeighbor2D)
11396 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
11397 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11399 def __init__(self, *args):
11401 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
11402 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
11404 this = _IMP_algebra.new_NearestNeighbor3D(*args)
11406 self.this.append(this)
11410 def set_query_log(self, fname):
11411 """set_query_log(NearestNeighbor3D self, std::string fname)"""
11412 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
11415 def get_nearest_neighbor(self, *args):
11417 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
11418 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
11420 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
11423 def get_nearest_neighbors(self, *args):
11425 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
11426 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
11428 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
11431 def get_in_ball(self, *args):
11433 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
11434 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
11436 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
11439 def get_version_info(self):
11440 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
11441 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
11445 """__str__(NearestNeighbor3D self) -> std::string"""
11446 return _IMP_algebra.NearestNeighbor3D___str__(self)
11449 def __repr__(self):
11450 """__repr__(NearestNeighbor3D self) -> std::string"""
11451 return _IMP_algebra.NearestNeighbor3D___repr__(self)
11456 return _object_cast_to_NearestNeighborD(o)
11458 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
11459 NearestNeighbor3D_swigregister(NearestNeighbor3D)
11462 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
11463 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11465 def __init__(self, *args):
11467 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
11468 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
11470 this = _IMP_algebra.new_NearestNeighbor4D(*args)
11472 self.this.append(this)
11476 def set_query_log(self, fname):
11477 """set_query_log(NearestNeighbor4D self, std::string fname)"""
11478 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
11481 def get_nearest_neighbor(self, *args):
11483 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
11484 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
11486 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
11489 def get_nearest_neighbors(self, *args):
11491 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
11492 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
11494 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
11497 def get_in_ball(self, *args):
11499 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
11500 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
11502 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
11505 def get_version_info(self):
11506 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
11507 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
11511 """__str__(NearestNeighbor4D self) -> std::string"""
11512 return _IMP_algebra.NearestNeighbor4D___str__(self)
11515 def __repr__(self):
11516 """__repr__(NearestNeighbor4D self) -> std::string"""
11517 return _IMP_algebra.NearestNeighbor4D___repr__(self)
11522 return _object_cast_to_NearestNeighborD(o)
11524 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
11525 NearestNeighbor4D_swigregister(NearestNeighbor4D)
11528 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
11529 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11531 def __init__(self, *args):
11533 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
11534 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
11536 this = _IMP_algebra.new_NearestNeighbor5D(*args)
11538 self.this.append(this)
11542 def set_query_log(self, fname):
11543 """set_query_log(NearestNeighbor5D self, std::string fname)"""
11544 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
11547 def get_nearest_neighbor(self, *args):
11549 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
11550 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
11552 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
11555 def get_nearest_neighbors(self, *args):
11557 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
11558 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
11560 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
11563 def get_in_ball(self, *args):
11565 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
11566 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
11568 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
11571 def get_version_info(self):
11572 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
11573 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11577 """__str__(NearestNeighbor5D self) -> std::string"""
11578 return _IMP_algebra.NearestNeighbor5D___str__(self)
11581 def __repr__(self):
11582 """__repr__(NearestNeighbor5D self) -> std::string"""
11583 return _IMP_algebra.NearestNeighbor5D___repr__(self)
11588 return _object_cast_to_NearestNeighborD(o)
11590 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11591 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11594 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
11595 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11597 def __init__(self, *args):
11599 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11600 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11602 this = _IMP_algebra.new_NearestNeighbor6D(*args)
11604 self.this.append(this)
11608 def set_query_log(self, fname):
11609 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11610 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11613 def get_nearest_neighbor(self, *args):
11615 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11616 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11618 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11621 def get_nearest_neighbors(self, *args):
11623 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11624 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11626 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11629 def get_in_ball(self, *args):
11631 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11632 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11634 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11637 def get_version_info(self):
11638 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11639 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11643 """__str__(NearestNeighbor6D self) -> std::string"""
11644 return _IMP_algebra.NearestNeighbor6D___str__(self)
11647 def __repr__(self):
11648 """__repr__(NearestNeighbor6D self) -> std::string"""
11649 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11654 return _object_cast_to_NearestNeighborD(o)
11656 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11657 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11660 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
11661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11663 def __init__(self, *args):
11665 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11666 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11668 this = _IMP_algebra.new_NearestNeighborKD(*args)
11670 self.this.append(this)
11674 def set_query_log(self, fname):
11675 """set_query_log(NearestNeighborKD self, std::string fname)"""
11676 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11679 def get_nearest_neighbor(self, *args):
11681 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11682 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11684 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11687 def get_nearest_neighbors(self, *args):
11689 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11690 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11692 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11695 def get_in_ball(self, *args):
11697 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11698 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11700 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11703 def get_version_info(self):
11704 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11705 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11709 """__str__(NearestNeighborKD self) -> std::string"""
11710 return _IMP_algebra.NearestNeighborKD___str__(self)
11713 def __repr__(self):
11714 """__repr__(NearestNeighborKD self) -> std::string"""
11715 return _IMP_algebra.NearestNeighborKD___repr__(self)
11720 return _object_cast_to_NearestNeighborD(o)
11722 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11723 NearestNeighborKD_swigregister(NearestNeighborKD)
11727 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11728 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11729 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11730 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
11731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11733 def __init__(self, *args):
11735 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11736 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11738 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11740 self.this.append(this)
11745 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11746 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11749 def get_principal_component(self, i):
11750 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11751 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11754 def get_principal_values(self):
11755 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11756 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11759 def get_principal_value(self, i):
11760 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11761 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11765 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11766 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11769 def set_centroid(self, cntr):
11770 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11771 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11774 def show(self, *args):
11776 show(PrincipalComponentAnalysis1D self, _ostream out)
11777 show(PrincipalComponentAnalysis1D self)
11779 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11782 def __cmp__(self, o):
11783 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11784 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11787 def __eq__(self, o):
11788 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11789 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11792 def __ne__(self, o):
11793 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11794 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11797 def __lt__(self, o):
11798 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11799 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11802 def __gt__(self, o):
11803 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11804 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11807 def __ge__(self, o):
11808 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11809 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11812 def __le__(self, o):
11813 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11814 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11818 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11819 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11822 def __repr__(self):
11823 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11824 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11826 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11827 __del__ =
lambda self:
None
11828 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11829 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11831 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11832 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
11833 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11835 def __init__(self, *args):
11837 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11838 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11840 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11842 self.this.append(this)
11847 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11848 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11851 def get_principal_component(self, i):
11852 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11853 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11856 def get_principal_values(self):
11857 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11858 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11861 def get_principal_value(self, i):
11862 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11863 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11867 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11868 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11871 def set_centroid(self, cntr):
11872 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11873 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11876 def show(self, *args):
11878 show(PrincipalComponentAnalysis2D self, _ostream out)
11879 show(PrincipalComponentAnalysis2D self)
11881 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11884 def __cmp__(self, o):
11885 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11886 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11889 def __eq__(self, o):
11890 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11891 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11894 def __ne__(self, o):
11895 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11896 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11899 def __lt__(self, o):
11900 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11901 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11904 def __gt__(self, o):
11905 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11906 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11909 def __ge__(self, o):
11910 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11911 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11914 def __le__(self, o):
11915 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11916 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11920 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11921 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11924 def __repr__(self):
11925 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11926 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11928 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11929 __del__ =
lambda self:
None
11930 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11931 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11933 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11934 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
11935 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11937 def __init__(self, *args):
11939 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11940 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11942 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11944 self.this.append(this)
11949 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11950 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11953 def get_principal_component(self, i):
11954 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11955 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11958 def get_principal_values(self):
11959 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11960 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11963 def get_principal_value(self, i):
11964 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11965 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11969 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11970 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11973 def set_centroid(self, cntr):
11974 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11975 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11978 def show(self, *args):
11980 show(PrincipalComponentAnalysis3D self, _ostream out)
11981 show(PrincipalComponentAnalysis3D self)
11983 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11986 def __cmp__(self, o):
11987 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11988 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11991 def __eq__(self, o):
11992 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11993 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11996 def __ne__(self, o):
11997 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11998 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
12001 def __lt__(self, o):
12002 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12003 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
12006 def __gt__(self, o):
12007 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12008 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
12011 def __ge__(self, o):
12012 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12013 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
12016 def __le__(self, o):
12017 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12018 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
12022 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
12023 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
12026 def __repr__(self):
12027 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
12028 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
12030 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
12031 __del__ =
lambda self:
None
12032 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
12033 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
12035 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
12036 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
12037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12039 def __init__(self, *args):
12041 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
12042 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
12044 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
12046 self.this.append(this)
12051 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
12052 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
12055 def get_principal_component(self, i):
12056 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
12057 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
12060 def get_principal_values(self):
12061 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
12062 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
12065 def get_principal_value(self, i):
12066 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
12067 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
12071 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
12072 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
12075 def set_centroid(self, cntr):
12076 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
12077 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
12080 def show(self, *args):
12082 show(PrincipalComponentAnalysis4D self, _ostream out)
12083 show(PrincipalComponentAnalysis4D self)
12085 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
12088 def __cmp__(self, o):
12089 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
12090 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
12093 def __eq__(self, o):
12094 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12095 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
12098 def __ne__(self, o):
12099 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12100 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
12103 def __lt__(self, o):
12104 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12105 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
12108 def __gt__(self, o):
12109 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12110 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
12113 def __ge__(self, o):
12114 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12115 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
12118 def __le__(self, o):
12119 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12120 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
12124 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
12125 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
12128 def __repr__(self):
12129 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
12130 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
12132 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
12133 __del__ =
lambda self:
None
12134 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
12135 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
12137 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
12138 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
12139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12141 def __init__(self, *args):
12143 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
12144 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
12146 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
12148 self.this.append(this)
12153 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
12154 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
12157 def get_principal_component(self, i):
12158 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
12159 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
12162 def get_principal_values(self):
12163 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
12164 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
12167 def get_principal_value(self, i):
12168 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
12169 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
12173 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
12174 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
12177 def set_centroid(self, cntr):
12178 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
12179 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
12182 def show(self, *args):
12184 show(PrincipalComponentAnalysis5D self, _ostream out)
12185 show(PrincipalComponentAnalysis5D self)
12187 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
12190 def __cmp__(self, o):
12191 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
12192 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
12195 def __eq__(self, o):
12196 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12197 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
12200 def __ne__(self, o):
12201 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12202 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
12205 def __lt__(self, o):
12206 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12207 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
12210 def __gt__(self, o):
12211 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12212 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
12215 def __ge__(self, o):
12216 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12217 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
12220 def __le__(self, o):
12221 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12222 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
12226 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
12227 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
12230 def __repr__(self):
12231 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
12232 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
12234 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
12235 __del__ =
lambda self:
None
12236 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
12237 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
12239 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
12240 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
12241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12243 def __init__(self, *args):
12245 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
12246 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
12248 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
12250 self.this.append(this)
12255 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
12256 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
12259 def get_principal_component(self, i):
12260 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
12261 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
12264 def get_principal_values(self):
12265 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
12266 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
12269 def get_principal_value(self, i):
12270 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
12271 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
12275 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
12276 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
12279 def set_centroid(self, cntr):
12280 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
12281 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
12284 def show(self, *args):
12286 show(PrincipalComponentAnalysis6D self, _ostream out)
12287 show(PrincipalComponentAnalysis6D self)
12289 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
12292 def __cmp__(self, o):
12293 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
12294 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
12297 def __eq__(self, o):
12298 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12299 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
12302 def __ne__(self, o):
12303 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12304 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
12307 def __lt__(self, o):
12308 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12309 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
12312 def __gt__(self, o):
12313 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12314 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
12317 def __ge__(self, o):
12318 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12319 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
12322 def __le__(self, o):
12323 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12324 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
12328 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
12329 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
12332 def __repr__(self):
12333 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
12334 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
12336 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
12337 __del__ =
lambda self:
None
12338 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
12339 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
12341 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
12342 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
12343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12345 def __init__(self, *args):
12347 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
12348 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
12350 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
12352 self.this.append(this)
12357 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
12358 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
12361 def get_principal_component(self, i):
12362 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
12363 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
12366 def get_principal_values(self):
12367 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
12368 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
12371 def get_principal_value(self, i):
12372 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
12373 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
12377 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
12378 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
12381 def set_centroid(self, cntr):
12382 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
12383 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
12386 def show(self, *args):
12388 show(PrincipalComponentAnalysisKD self, _ostream out)
12389 show(PrincipalComponentAnalysisKD self)
12391 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
12394 def __cmp__(self, o):
12395 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
12396 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
12399 def __eq__(self, o):
12400 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12401 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
12404 def __ne__(self, o):
12405 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12406 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
12409 def __lt__(self, o):
12410 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12411 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
12414 def __gt__(self, o):
12415 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12416 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
12419 def __ge__(self, o):
12420 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12421 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
12424 def __le__(self, o):
12425 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12426 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
12430 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
12431 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
12434 def __repr__(self):
12435 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
12436 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
12438 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
12439 __del__ =
lambda self:
None
12440 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
12441 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
12446 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
12447 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
12448 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
12449 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
12450 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
12451 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
12452 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
12454 return _IMP_algebra.get_principal_components(*args)
12458 get_distance(Rotation3D r0, Rotation3D r1) -> double
12459 get_distance(Line3D s, Vector3D p) -> double
12460 get_distance(Line3D a, Line3D b) -> double
12461 get_distance(Segment3D s, Vector3D p) -> double
12462 get_distance(Segment3D a, Segment3D b) -> double
12463 get_distance(Plane3D pln, Vector3D p) -> double
12464 get_distance(Vector1D a, Vector1D b) -> double
12465 get_distance(Vector2D a, Vector2D b) -> double
12466 get_distance(Vector3D a, Vector3D b) -> double
12467 get_distance(Vector4D a, Vector4D b) -> double
12468 get_distance(Vector5D a, Vector5D b) -> double
12469 get_distance(Vector6D a, Vector6D b) -> double
12470 get_distance(VectorKD a, VectorKD b) -> double
12471 get_distance(Sphere1D a, Sphere1D b) -> double
12472 get_distance(Sphere2D a, Sphere2D b) -> double
12473 get_distance(Sphere3D a, Sphere3D b) -> double
12474 get_distance(Sphere4D a, Sphere4D b) -> double
12475 get_distance(Sphere5D a, Sphere5D b) -> double
12476 get_distance(Sphere6D a, Sphere6D b) -> double
12477 get_distance(SphereKD a, SphereKD b) -> double
12479 return _IMP_algebra.get_distance(*args)
12483 get_squared_distance(Vector1D a, Vector1D b) -> double
12484 get_squared_distance(Vector2D a, Vector2D b) -> double
12485 get_squared_distance(Vector3D a, Vector3D b) -> double
12486 get_squared_distance(Vector4D a, Vector4D b) -> double
12487 get_squared_distance(Vector5D a, Vector5D b) -> double
12488 get_squared_distance(Vector6D a, Vector6D b) -> double
12489 get_squared_distance(VectorKD a, VectorKD b) -> double
12491 return _IMP_algebra.get_squared_distance(*args)
12493 def get_basis_vector_1d(coordinate):
12494 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
12495 return _IMP_algebra.get_basis_vector_1d(coordinate)
12497 def get_basis_vector_2d(coordinate):
12498 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
12499 return _IMP_algebra.get_basis_vector_2d(coordinate)
12501 def get_basis_vector_3d(coordinate):
12502 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
12503 return _IMP_algebra.get_basis_vector_3d(coordinate)
12505 def get_basis_vector_4d(coordinate):
12506 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
12507 return _IMP_algebra.get_basis_vector_4d(coordinate)
12509 def get_basis_vector_5d(coordinate):
12510 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
12511 return _IMP_algebra.get_basis_vector_5d(coordinate)
12513 def get_basis_vector_6d(coordinate):
12514 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
12515 return _IMP_algebra.get_basis_vector_6d(coordinate)
12517 def get_zero_vector_1d():
12518 """get_zero_vector_1d() -> Vector1D"""
12519 return _IMP_algebra.get_zero_vector_1d()
12521 def get_zero_vector_2d():
12522 """get_zero_vector_2d() -> Vector2D"""
12523 return _IMP_algebra.get_zero_vector_2d()
12525 def get_zero_vector_3d():
12526 """get_zero_vector_3d() -> Vector3D"""
12527 return _IMP_algebra.get_zero_vector_3d()
12529 def get_zero_vector_4d():
12530 """get_zero_vector_4d() -> Vector4D"""
12531 return _IMP_algebra.get_zero_vector_4d()
12533 def get_zero_vector_5d():
12534 """get_zero_vector_5d() -> Vector5D"""
12535 return _IMP_algebra.get_zero_vector_5d()
12537 def get_zero_vector_6d():
12538 """get_zero_vector_6d() -> Vector6D"""
12539 return _IMP_algebra.get_zero_vector_6d()
12541 def get_ones_vector_1d(v=1):
12543 get_ones_vector_1d(double v=1) -> Vector1D
12544 get_ones_vector_1d() -> Vector1D
12546 return _IMP_algebra.get_ones_vector_1d(v)
12548 def get_ones_vector_2d(v=1):
12550 get_ones_vector_2d(double v=1) -> Vector2D
12551 get_ones_vector_2d() -> Vector2D
12553 return _IMP_algebra.get_ones_vector_2d(v)
12555 def get_ones_vector_3d(v=1):
12557 get_ones_vector_3d(double v=1) -> Vector3D
12558 get_ones_vector_3d() -> Vector3D
12560 return _IMP_algebra.get_ones_vector_3d(v)
12562 def get_ones_vector_4d(v=1):
12564 get_ones_vector_4d(double v=1) -> Vector4D
12565 get_ones_vector_4d() -> Vector4D
12567 return _IMP_algebra.get_ones_vector_4d(v)
12569 def get_ones_vector_5d(v=1):
12571 get_ones_vector_5d(double v=1) -> Vector5D
12572 get_ones_vector_5d() -> Vector5D
12574 return _IMP_algebra.get_ones_vector_5d(v)
12576 def get_ones_vector_6d(v=1):
12578 get_ones_vector_6d(double v=1) -> Vector6D
12579 get_ones_vector_6d() -> Vector6D
12581 return _IMP_algebra.get_ones_vector_6d(v)
12583 def get_unit_bounding_box_1d():
12584 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12585 return _IMP_algebra.get_unit_bounding_box_1d()
12587 def get_unit_bounding_box_2d():
12588 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12589 return _IMP_algebra.get_unit_bounding_box_2d()
12591 def get_unit_bounding_box_3d():
12592 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12593 return _IMP_algebra.get_unit_bounding_box_3d()
12595 def get_unit_bounding_box_4d():
12596 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12597 return _IMP_algebra.get_unit_bounding_box_4d()
12599 def get_unit_bounding_box_5d():
12600 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12601 return _IMP_algebra.get_unit_bounding_box_5d()
12603 def get_unit_bounding_box_6d():
12604 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12605 return _IMP_algebra.get_unit_bounding_box_6d()
12607 def get_cube_1d(radius):
12608 """get_cube_1d(double radius) -> BoundingBox1D"""
12609 return _IMP_algebra.get_cube_1d(radius)
12611 def get_cube_2d(radius):
12612 """get_cube_2d(double radius) -> BoundingBox2D"""
12613 return _IMP_algebra.get_cube_2d(radius)
12615 def get_cube_3d(radius):
12616 """get_cube_3d(double radius) -> BoundingBox3D"""
12617 return _IMP_algebra.get_cube_3d(radius)
12619 def get_cube_4d(radius):
12620 """get_cube_4d(double radius) -> BoundingBox4D"""
12621 return _IMP_algebra.get_cube_4d(radius)
12623 def get_cube_5d(radius):
12624 """get_cube_5d(double radius) -> BoundingBox5D"""
12625 return _IMP_algebra.get_cube_5d(radius)
12627 def get_cube_6d(radius):
12628 """get_cube_6d(double radius) -> BoundingBox6D"""
12629 return _IMP_algebra.get_cube_6d(radius)
12631 def get_unit_sphere_1d():
12632 """get_unit_sphere_1d() -> Sphere1D"""
12633 return _IMP_algebra.get_unit_sphere_1d()
12635 def get_unit_sphere_2d():
12636 """get_unit_sphere_2d() -> Sphere2D"""
12637 return _IMP_algebra.get_unit_sphere_2d()
12639 def get_unit_sphere_3d():
12640 """get_unit_sphere_3d() -> Sphere3D"""
12641 return _IMP_algebra.get_unit_sphere_3d()
12643 def get_unit_sphere_4d():
12644 """get_unit_sphere_4d() -> Sphere4D"""
12645 return _IMP_algebra.get_unit_sphere_4d()
12647 def get_unit_sphere_5d():
12648 """get_unit_sphere_5d() -> Sphere5D"""
12649 return _IMP_algebra.get_unit_sphere_5d()
12651 def get_unit_sphere_6d():
12652 """get_unit_sphere_6d() -> Sphere6D"""
12653 return _IMP_algebra.get_unit_sphere_6d()
12657 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12658 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12659 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12660 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12661 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12662 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12663 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12664 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12665 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12666 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12667 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12668 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12669 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12670 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12672 return _IMP_algebra.get_interiors_intersect(*args)
12676 get_random_vector_on(Sphere1D a) -> Vector1D
12677 get_random_vector_on(Sphere2D a) -> Vector2D
12678 get_random_vector_on(Sphere3D a) -> Vector3D
12679 get_random_vector_on(Sphere4D a) -> Vector4D
12680 get_random_vector_on(Sphere5D a) -> Vector5D
12681 get_random_vector_on(Sphere6D a) -> Vector6D
12682 get_random_vector_on(SphereKD a) -> VectorKD
12683 get_random_vector_on(UnitSimplex1D a) -> Vector1D
12684 get_random_vector_on(UnitSimplex2D a) -> Vector2D
12685 get_random_vector_on(UnitSimplex3D a) -> Vector3D
12686 get_random_vector_on(UnitSimplex4D a) -> Vector4D
12687 get_random_vector_on(UnitSimplex5D a) -> Vector5D
12688 get_random_vector_on(UnitSimplex6D a) -> Vector6D
12689 get_random_vector_on(UnitSimplexKD a) -> VectorKD
12690 get_random_vector_on(BoundingBox1D a) -> Vector1D
12691 get_random_vector_on(BoundingBox2D a) -> Vector2D
12692 get_random_vector_on(BoundingBox3D a) -> Vector3D
12693 get_random_vector_on(BoundingBox4D a) -> Vector4D
12694 get_random_vector_on(BoundingBox5D a) -> Vector5D
12695 get_random_vector_on(BoundingBox6D a) -> Vector6D
12696 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12698 return _IMP_algebra.get_random_vector_on(*args)
12702 get_random_vector_in(Cylinder3D c) -> Vector3D
12703 get_random_vector_in(Sphere1D a) -> Vector1D
12704 get_random_vector_in(Sphere2D a) -> Vector2D
12705 get_random_vector_in(Sphere3D a) -> Vector3D
12706 get_random_vector_in(Sphere4D a) -> Vector4D
12707 get_random_vector_in(Sphere5D a) -> Vector5D
12708 get_random_vector_in(Sphere6D a) -> Vector6D
12709 get_random_vector_in(SphereKD a) -> VectorKD
12710 get_random_vector_in(BoundingBox1D a) -> Vector1D
12711 get_random_vector_in(BoundingBox2D a) -> Vector2D
12712 get_random_vector_in(BoundingBox3D a) -> Vector3D
12713 get_random_vector_in(BoundingBox4D a) -> Vector4D
12714 get_random_vector_in(BoundingBox5D a) -> Vector5D
12715 get_random_vector_in(BoundingBox6D a) -> Vector6D
12716 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12718 return _IMP_algebra.get_random_vector_in(*args)
12722 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12723 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12724 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12725 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12726 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12727 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12728 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12730 return _IMP_algebra.get_intersection(*args)
12734 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12735 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12736 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12737 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12738 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12739 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12740 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12742 return _IMP_algebra.get_union(*args)
12744 def get_bounding_box(*args):
12746 get_bounding_box(Line3D g) -> BoundingBox3D
12747 get_bounding_box(Segment3D g) -> BoundingBox3D
12748 get_bounding_box(Plane3D g) -> BoundingBox3D
12749 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12750 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12751 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12752 get_bounding_box(Cone3D g) -> BoundingBox3D
12753 get_bounding_box(Sphere1D a) -> BoundingBox1D
12754 get_bounding_box(Sphere2D a) -> BoundingBox2D
12755 get_bounding_box(Sphere3D a) -> BoundingBox3D
12756 get_bounding_box(Sphere4D a) -> BoundingBox4D
12757 get_bounding_box(Sphere5D a) -> BoundingBox5D
12758 get_bounding_box(Sphere6D a) -> BoundingBox6D
12759 get_bounding_box(SphereKD a) -> BoundingBoxKD
12761 return _IMP_algebra.get_bounding_box(*args)
12765 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12766 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12767 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12768 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12769 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12770 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12771 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12772 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12773 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12774 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12775 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12777 return _IMP_algebra.get_uniform_surface_cover(*args)
12781 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12782 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12783 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12784 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12785 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12786 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12787 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12789 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12793 get_projected(Line3D l, Vector3D p) -> Vector3D
12794 get_projected(Line3D l, Segment3D s) -> Segment3D
12795 get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
12796 get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
12797 get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
12798 get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
12799 get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
12800 get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
12801 get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
12803 return _IMP_algebra.get_projected(*args)
12807 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12808 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12809 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12810 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12811 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12812 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12813 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12814 get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12815 get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12816 get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12817 get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12818 get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12819 get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12820 get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12822 return _IMP_algebra.get_vertices(*args)
12826 get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
12827 get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
12828 get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
12829 get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
12830 get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
12831 get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
12832 get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
12834 return _IMP_algebra.get_increasing_from_embedded(*args)
12838 get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
12839 get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
12840 get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
12841 get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
12842 get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
12843 get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
12844 get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
12846 return _IMP_algebra.get_embedded_from_increasing(*args)
12847 class _AxisAnglePair(object):
12848 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
12849 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12850 __repr__ = _swig_repr
12852 def __init__(self, *args):
12854 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12855 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12856 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12858 this = _IMP_algebra.new__AxisAnglePair(*args)
12860 self.this.append(this)
12863 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12864 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12867 def __repr__(self):
12868 return str((self.first, self.second))
12869 def __getitem__(self, index):
12870 if not (index % 2):
12874 def __setitem__(self, index, val):
12875 if not (index % 2):
12879 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12880 __del__ =
lambda self:
None
12881 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12882 _AxisAnglePair_swigregister(_AxisAnglePair)
12886 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12887 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12888 class _RotatedVector3DAdjoint(object):
12889 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class"""
12890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12891 __repr__ = _swig_repr
12893 def __init__(self, *args):
12895 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
12896 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
12897 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
12899 this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
12901 self.this.append(this)
12904 first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
12905 second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
12908 def __repr__(self):
12909 return str((self.first, self.second))
12910 def __getitem__(self, index):
12911 if not (index % 2):
12915 def __setitem__(self, index, val):
12916 if not (index % 2):
12920 __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
12921 __del__ =
lambda self:
None
12922 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
12923 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
12925 class _ComposeRotation3DAdjoint(object):
12926 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class"""
12927 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12928 __repr__ = _swig_repr
12930 def __init__(self, *args):
12932 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
12933 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
12934 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
12936 this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
12938 self.this.append(this)
12941 first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
12942 second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
12945 def __repr__(self):
12946 return str((self.first, self.second))
12947 def __getitem__(self, index):
12948 if not (index % 2):
12952 def __setitem__(self, index, val):
12953 if not (index % 2):
12957 __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
12958 __del__ =
lambda self:
None
12959 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
12960 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
12962 class _Transformation3DAdjoint(object):
12963 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class"""
12964 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12965 __repr__ = _swig_repr
12967 def __init__(self, *args):
12969 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
12970 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
12971 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
12973 this = _IMP_algebra.new__Transformation3DAdjoint(*args)
12975 self.this.append(this)
12978 first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
12979 second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
12982 def __repr__(self):
12983 return str((self.first, self.second))
12984 def __getitem__(self, index):
12985 if not (index % 2):
12989 def __setitem__(self, index, val):
12990 if not (index % 2):
12994 __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
12995 __del__ =
lambda self:
None
12996 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
12997 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
12999 class _TransformedVector3DAdjoint(object):
13000 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13001 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13002 __repr__ = _swig_repr
13004 def __init__(self, *args):
13006 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
13007 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
13008 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
13010 this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
13012 self.this.append(this)
13015 first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
13016 second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
13019 def __repr__(self):
13020 return str((self.first, self.second))
13021 def __getitem__(self, index):
13022 if not (index % 2):
13026 def __setitem__(self, index, val):
13027 if not (index % 2):
13031 __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
13032 __del__ =
lambda self:
None
13033 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
13034 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
13036 class _ComposeTransformation3DAdjoint(object):
13037 """Proxy of C++ std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13039 __repr__ = _swig_repr
13041 def __init__(self, *args):
13043 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _ComposeTransformation3DAdjoint
13044 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _Transformation3DAdjoint first, _Transformation3DAdjoint second) -> _ComposeTransformation3DAdjoint
13045 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _ComposeTransformation3DAdjoint p) -> _ComposeTransformation3DAdjoint
13047 this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
13049 self.this.append(this)
13052 first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
13053 second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
13056 def __repr__(self):
13057 return str((self.first, self.second))
13058 def __getitem__(self, index):
13059 if not (index % 2):
13063 def __setitem__(self, index, val):
13064 if not (index % 2):
13068 __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
13069 __del__ =
lambda self:
None
13070 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
13071 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
13075 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13076 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
13079 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13080 return _IMP_algebra.get_rmsd(v0, v1)
13082 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
13083 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13084 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
13087 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13088 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
13090 LinearFit=LinearFit2D
13091 ParabolicFit=ParabolicFit2D
13095 """get_module_version() -> std::string const"""
13096 return _IMP_algebra.get_module_version()
13099 """get_example_path(std::string fname) -> std::string"""
13100 return _IMP_algebra.get_example_path(fname)
13103 """get_data_path(std::string fname) -> std::string"""
13104 return _IMP_algebra.get_data_path(fname)
13106 from .
import _version_check
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
SphereD< 3 > Sphere3D
Typedef for Python.
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
void compose_adjoint(const Rotation3D &A, const Rotation3D &B, Vector4D DC, Rotation3DAdjoint *DA, Rotation3DAdjoint *DB)
Get adjoint of inputs to compose from adjoint of output.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
SphereD< 2 > Sphere2D
Typedef for Python.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Eigen::MatrixXd get_jacobian_of_composed_wrt_first(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get gradient of quaternion product with respect to first quaternion.
VectorD< D > get_basis_vector_kd(int Di, unsigned int coordinate)
Return the basis vector for the given coordinate.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
VectorD< D > get_increasing_from_embedded(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from embedded to increasing coordinates.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
VectorD< D > get_embedded_from_increasing(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from increasing to embedded coordinates.
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Version and module information for Objects.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
Eigen::MatrixXd get_jacobian_of_composed_wrt_second(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get Jacobian of quaternion product with respect to second quaternion.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3D spheres to a file.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
Get a set of balls that approximates the surface of the passed set.
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
SphereD<-1 > SphereKD
Typedef for Python.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
std::string get_module_version()
Return the version of this module, as a string.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.