10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_algebra')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_algebra')
25 _IMP_algebra = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
43 _IMP_algebra = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_ALGEBRA_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
126 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
131 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
132 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
134 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
139 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
140 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
142 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
151 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
152 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
156 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
157 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
161 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
162 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
166 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
167 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
171 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
172 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
177 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
182 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
187 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
192 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
197 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
202 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
208 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
214 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
215 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
223 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
224 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
225 IMP_SILENT = _IMP_algebra.IMP_SILENT
226 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
227 IMP_TERSE = _IMP_algebra.IMP_TERSE
228 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
229 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
230 IMP_NONE = _IMP_algebra.IMP_NONE
231 IMP_USAGE = _IMP_algebra.IMP_USAGE
232 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_algebra._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_algebra._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
307 return v.get_coordinates()
312 return v.get_sphere()
317 _object_types.append(
"VectorKDMetric")
320 def _object_cast_to_VectorKDMetric(o):
321 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
322 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
324 _object_types.append(
"EuclideanVectorKDMetric")
327 def _object_cast_to_EuclideanVectorKDMetric(o):
328 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
329 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
331 _object_types.append(
"MaxVectorKDMetric")
334 def _object_cast_to_MaxVectorKDMetric(o):
335 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
336 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
338 _object_types.append(
"DynamicNearestNeighbor3D")
341 def _object_cast_to_DynamicNearestNeighbor3D(o):
342 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
343 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
346 _plural_types.append(
"Rotation2Ds")
347 _value_types.append(
"Rotation2D")
351 _plural_types.append(
"Rotation3Ds")
352 _value_types.append(
"Rotation3D")
356 _plural_types.append(
"Reflection3Ds")
357 _value_types.append(
"Reflection3D")
360 Transformation2Ds=list
361 _plural_types.append(
"Transformation2Ds")
362 _value_types.append(
"Transformation2D")
365 Transformation3Ds=list
366 _plural_types.append(
"Transformation3Ds")
367 _value_types.append(
"Transformation3D")
370 SphericalVector3Ds=list
371 _plural_types.append(
"SphericalVector3Ds")
372 _value_types.append(
"SphericalVector3D")
376 _plural_types.append(
"Triangle3Ds")
377 _value_types.append(
"Triangle3D")
381 _plural_types.append(
"Cone3Ds")
382 _value_types.append(
"Cone3D")
386 _plural_types.append(
"Cylinder3Ds")
387 _value_types.append(
"Cylinder3D")
391 _plural_types.append(
"Ellipsoid3Ds")
392 _value_types.append(
"Ellipsoid3D")
396 _plural_types.append(
"Line3Ds")
397 _value_types.append(
"Line3D")
401 _plural_types.append(
"Plane3Ds")
402 _value_types.append(
"Plane3D")
406 _plural_types.append(
"Segment3Ds")
407 _value_types.append(
"Segment3D")
411 _plural_types.append(
"SpherePatch3Ds")
412 _value_types.append(
"SpherePatch3D")
415 ConnollySurfacePoints=list
416 _plural_types.append(
"ConnollySurfacePoints")
417 _value_types.append(
"ConnollySurfacePoint")
421 _plural_types.append(
"Sphere1Ds")
422 _value_types.append(
"Sphere1D")
426 _plural_types.append(
"Sphere2Ds")
427 _value_types.append(
"Sphere2D")
431 _plural_types.append(
"Sphere3Ds")
432 _value_types.append(
"Sphere3D")
436 _plural_types.append(
"Sphere4Ds")
437 _value_types.append(
"Sphere4D")
441 _plural_types.append(
"Sphere5Ds")
442 _value_types.append(
"Sphere5D")
446 _plural_types.append(
"Sphere6Ds")
447 _value_types.append(
"Sphere6D")
451 _plural_types.append(
"Sphere1Ds")
452 _value_types.append(
"SphereD<1>")
456 _plural_types.append(
"Sphere2Ds")
457 _value_types.append(
"SphereD<2>")
461 _plural_types.append(
"Sphere3Ds")
462 _value_types.append(
"SphereD<3>")
466 _plural_types.append(
"Sphere4Ds")
467 _value_types.append(
"SphereD<4>")
471 _plural_types.append(
"Sphere5Ds")
472 _value_types.append(
"SphereD<5>")
476 _plural_types.append(
"Sphere6Ds")
477 _value_types.append(
"SphereD<6>")
481 _plural_types.append(
"SphereKDs")
482 _value_types.append(
"SphereKD")
486 _plural_types.append(
"SphereKDs")
487 _value_types.append(
"SphereD<-1>")
491 _plural_types.append(
"BoundingBox1Ds")
492 _value_types.append(
"BoundingBox1D")
496 _plural_types.append(
"BoundingBox2Ds")
497 _value_types.append(
"BoundingBox2D")
501 _plural_types.append(
"BoundingBox3Ds")
502 _value_types.append(
"BoundingBox3D")
506 _plural_types.append(
"BoundingBox4Ds")
507 _value_types.append(
"BoundingBox4D")
511 _plural_types.append(
"BoundingBox5Ds")
512 _value_types.append(
"BoundingBox5D")
516 _plural_types.append(
"BoundingBox6Ds")
517 _value_types.append(
"BoundingBox6D")
521 _plural_types.append(
"BoundingBox1Ds")
522 _value_types.append(
"BoundingBoxD<1>")
526 _plural_types.append(
"BoundingBox2Ds")
527 _value_types.append(
"BoundingBoxD<2>")
531 _plural_types.append(
"BoundingBox3Ds")
532 _value_types.append(
"BoundingBoxD<3>")
536 _plural_types.append(
"BoundingBox4Ds")
537 _value_types.append(
"BoundingBoxD<4>")
541 _plural_types.append(
"BoundingBox5Ds")
542 _value_types.append(
"BoundingBoxD<5>")
546 _plural_types.append(
"BoundingBox6Ds")
547 _value_types.append(
"BoundingBoxD<6>")
551 _plural_types.append(
"BoundingBoxKDs")
552 _value_types.append(
"BoundingBoxKD")
556 _plural_types.append(
"BoundingBoxKDs")
557 _value_types.append(
"BoundingBoxD<-1>")
560 PrincipalComponentAnalysis1Ds=list
561 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
562 _value_types.append(
"PrincipalComponentAnalysis1D")
565 PrincipalComponentAnalysis2Ds=list
566 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
567 _value_types.append(
"PrincipalComponentAnalysis2D")
570 PrincipalComponentAnalysis3Ds=list
571 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
572 _value_types.append(
"PrincipalComponentAnalysis3D")
575 PrincipalComponentAnalysis4Ds=list
576 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
577 _value_types.append(
"PrincipalComponentAnalysis4D")
580 PrincipalComponentAnalysis5Ds=list
581 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
582 _value_types.append(
"PrincipalComponentAnalysis5D")
585 PrincipalComponentAnalysis6Ds=list
586 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
587 _value_types.append(
"PrincipalComponentAnalysis6D")
590 PrincipalComponentAnalysis1Ds=list
591 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
592 _value_types.append(
"PrincipalComponentAnalysisD<1>")
595 PrincipalComponentAnalysis2Ds=list
596 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
597 _value_types.append(
"PrincipalComponentAnalysisD<2>")
600 PrincipalComponentAnalysis3Ds=list
601 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
602 _value_types.append(
"PrincipalComponentAnalysisD<3>")
605 PrincipalComponentAnalysis4Ds=list
606 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
607 _value_types.append(
"PrincipalComponentAnalysisD<4>")
610 PrincipalComponentAnalysis5Ds=list
611 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
612 _value_types.append(
"PrincipalComponentAnalysisD<5>")
615 PrincipalComponentAnalysis6Ds=list
616 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
617 _value_types.append(
"PrincipalComponentAnalysisD<6>")
620 PrincipalComponentAnalysisKDs=list
621 _plural_types.append(
"PrincipalComponentAnalysisKDs")
622 _value_types.append(
"PrincipalComponentAnalysisKD")
625 PrincipalComponentAnalysisKDs=list
626 _plural_types.append(
"PrincipalComponentAnalysisKDs")
627 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
630 _object_types.append(
"NearestNeighbor1D")
633 def _object_cast_to_NearestNeighbor1D(o):
634 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
635 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
637 _object_types.append(
"NearestNeighbor2D")
640 def _object_cast_to_NearestNeighbor2D(o):
641 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
642 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
644 _object_types.append(
"NearestNeighbor3D")
647 def _object_cast_to_NearestNeighbor3D(o):
648 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
649 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
651 _object_types.append(
"NearestNeighbor4D")
654 def _object_cast_to_NearestNeighbor4D(o):
655 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
656 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
658 _object_types.append(
"NearestNeighbor5D")
661 def _object_cast_to_NearestNeighbor5D(o):
662 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
663 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
665 _object_types.append(
"NearestNeighbor6D")
668 def _object_cast_to_NearestNeighbor6D(o):
669 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
670 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
672 _object_types.append(
"NearestNeighborKD")
675 def _object_cast_to_NearestNeighborKD(o):
676 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
677 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
679 ReferenceFrame3Ds=list
680 _plural_types.append(
"ReferenceFrame3Ds")
681 _value_types.append(
"ReferenceFrame3D")
685 _plural_types.append(
"Gaussian3Ds")
686 _value_types.append(
"Gaussian3D")
689 DefaultEmbedding1Ds=list
690 _plural_types.append(
"DefaultEmbedding1Ds")
691 _value_types.append(
"DefaultEmbedding1D")
694 DefaultEmbedding2Ds=list
695 _plural_types.append(
"DefaultEmbedding2Ds")
696 _value_types.append(
"DefaultEmbedding2D")
699 DefaultEmbedding3Ds=list
700 _plural_types.append(
"DefaultEmbedding3Ds")
701 _value_types.append(
"DefaultEmbedding3D")
704 DefaultEmbedding4Ds=list
705 _plural_types.append(
"DefaultEmbedding4Ds")
706 _value_types.append(
"DefaultEmbedding4D")
709 DefaultEmbedding5Ds=list
710 _plural_types.append(
"DefaultEmbedding5Ds")
711 _value_types.append(
"DefaultEmbedding5D")
714 DefaultEmbedding6Ds=list
715 _plural_types.append(
"DefaultEmbedding6Ds")
716 _value_types.append(
"DefaultEmbedding6D")
719 DefaultEmbedding1Ds=list
720 _plural_types.append(
"DefaultEmbedding1Ds")
721 _value_types.append(
"DefaultEmbeddingD<1>")
724 DefaultEmbedding2Ds=list
725 _plural_types.append(
"DefaultEmbedding2Ds")
726 _value_types.append(
"DefaultEmbeddingD<2>")
729 DefaultEmbedding3Ds=list
730 _plural_types.append(
"DefaultEmbedding3Ds")
731 _value_types.append(
"DefaultEmbeddingD<3>")
734 DefaultEmbedding4Ds=list
735 _plural_types.append(
"DefaultEmbedding4Ds")
736 _value_types.append(
"DefaultEmbeddingD<4>")
739 DefaultEmbedding5Ds=list
740 _plural_types.append(
"DefaultEmbedding5Ds")
741 _value_types.append(
"DefaultEmbeddingD<5>")
744 DefaultEmbedding6Ds=list
745 _plural_types.append(
"DefaultEmbedding6Ds")
746 _value_types.append(
"DefaultEmbeddingD<6>")
749 DefaultEmbeddingKDs=list
750 _plural_types.append(
"DefaultEmbeddingKDs")
751 _value_types.append(
"DefaultEmbeddingKD")
754 DefaultEmbeddingKDs=list
755 _plural_types.append(
"DefaultEmbeddingKDs")
756 _value_types.append(
"DefaultEmbeddingD<-1>")
760 _plural_types.append(
"LogEmbedding1Ds")
761 _value_types.append(
"LogEmbedding1D")
765 _plural_types.append(
"LogEmbedding2Ds")
766 _value_types.append(
"LogEmbedding2D")
770 _plural_types.append(
"LogEmbedding3Ds")
771 _value_types.append(
"LogEmbedding3D")
775 _plural_types.append(
"LogEmbedding4Ds")
776 _value_types.append(
"LogEmbedding4D")
780 _plural_types.append(
"LogEmbedding5Ds")
781 _value_types.append(
"LogEmbedding5D")
785 _plural_types.append(
"LogEmbedding6Ds")
786 _value_types.append(
"LogEmbedding6D")
790 _plural_types.append(
"LogEmbedding1Ds")
791 _value_types.append(
"LogEmbeddingD<1>")
795 _plural_types.append(
"LogEmbedding2Ds")
796 _value_types.append(
"LogEmbeddingD<2>")
800 _plural_types.append(
"LogEmbedding3Ds")
801 _value_types.append(
"LogEmbeddingD<3>")
805 _plural_types.append(
"LogEmbedding4Ds")
806 _value_types.append(
"LogEmbeddingD<4>")
810 _plural_types.append(
"LogEmbedding5Ds")
811 _value_types.append(
"LogEmbeddingD<5>")
815 _plural_types.append(
"LogEmbedding6Ds")
816 _value_types.append(
"LogEmbeddingD<6>")
820 _plural_types.append(
"LogEmbeddingKDs")
821 _value_types.append(
"LogEmbeddingKD")
825 _plural_types.append(
"LogEmbeddingKDs")
826 _value_types.append(
"LogEmbeddingD<-1>")
830 _plural_types.append(
"GridIndex1Ds")
831 _value_types.append(
"GridIndex1D")
835 _plural_types.append(
"GridIndex2Ds")
836 _value_types.append(
"GridIndex2D")
840 _plural_types.append(
"GridIndex3Ds")
841 _value_types.append(
"GridIndex3D")
845 _plural_types.append(
"GridIndex4Ds")
846 _value_types.append(
"GridIndex4D")
850 _plural_types.append(
"GridIndex5Ds")
851 _value_types.append(
"GridIndex5D")
855 _plural_types.append(
"GridIndex6Ds")
856 _value_types.append(
"GridIndex6D")
860 _plural_types.append(
"GridIndex1Ds")
861 _value_types.append(
"GridIndexD<1>")
865 _plural_types.append(
"GridIndex2Ds")
866 _value_types.append(
"GridIndexD<2>")
870 _plural_types.append(
"GridIndex3Ds")
871 _value_types.append(
"GridIndexD<3>")
875 _plural_types.append(
"GridIndex4Ds")
876 _value_types.append(
"GridIndexD<4>")
880 _plural_types.append(
"GridIndex5Ds")
881 _value_types.append(
"GridIndexD<5>")
885 _plural_types.append(
"GridIndex6Ds")
886 _value_types.append(
"GridIndexD<6>")
890 _plural_types.append(
"GridIndexKDs")
891 _value_types.append(
"GridIndexKD")
895 _plural_types.append(
"GridIndexKDs")
896 _value_types.append(
"GridIndexD<-1>")
899 ExtendedGridIndex1Ds=list
900 _plural_types.append(
"ExtendedGridIndex1Ds")
901 _value_types.append(
"ExtendedGridIndex1D")
904 ExtendedGridIndex2Ds=list
905 _plural_types.append(
"ExtendedGridIndex2Ds")
906 _value_types.append(
"ExtendedGridIndex2D")
909 ExtendedGridIndex3Ds=list
910 _plural_types.append(
"ExtendedGridIndex3Ds")
911 _value_types.append(
"ExtendedGridIndex3D")
914 ExtendedGridIndex4Ds=list
915 _plural_types.append(
"ExtendedGridIndex4Ds")
916 _value_types.append(
"ExtendedGridIndex4D")
919 ExtendedGridIndex5Ds=list
920 _plural_types.append(
"ExtendedGridIndex5Ds")
921 _value_types.append(
"ExtendedGridIndex5D")
924 ExtendedGridIndex6Ds=list
925 _plural_types.append(
"ExtendedGridIndex6Ds")
926 _value_types.append(
"ExtendedGridIndex6D")
929 ExtendedGridIndex1Ds=list
930 _plural_types.append(
"ExtendedGridIndex1Ds")
931 _value_types.append(
"ExtendedGridIndexD<1>")
934 ExtendedGridIndex2Ds=list
935 _plural_types.append(
"ExtendedGridIndex2Ds")
936 _value_types.append(
"ExtendedGridIndexD<2>")
939 ExtendedGridIndex3Ds=list
940 _plural_types.append(
"ExtendedGridIndex3Ds")
941 _value_types.append(
"ExtendedGridIndexD<3>")
944 ExtendedGridIndex4Ds=list
945 _plural_types.append(
"ExtendedGridIndex4Ds")
946 _value_types.append(
"ExtendedGridIndexD<4>")
949 ExtendedGridIndex5Ds=list
950 _plural_types.append(
"ExtendedGridIndex5Ds")
951 _value_types.append(
"ExtendedGridIndexD<5>")
954 ExtendedGridIndex6Ds=list
955 _plural_types.append(
"ExtendedGridIndex6Ds")
956 _value_types.append(
"ExtendedGridIndexD<6>")
959 ExtendedGridIndexKDs=list
960 _plural_types.append(
"ExtendedGridIndexKDs")
961 _value_types.append(
"ExtendedGridIndexKD")
964 ExtendedGridIndexKDs=list
965 _plural_types.append(
"ExtendedGridIndexKDs")
966 _value_types.append(
"ExtendedGridIndexD<-1>")
969 BoundedGridRange1Ds=list
970 _plural_types.append(
"BoundedGridRange1Ds")
971 _value_types.append(
"BoundedGridRange1D")
974 BoundedGridRange2Ds=list
975 _plural_types.append(
"BoundedGridRange2Ds")
976 _value_types.append(
"BoundedGridRange2D")
979 BoundedGridRange3Ds=list
980 _plural_types.append(
"BoundedGridRange3Ds")
981 _value_types.append(
"BoundedGridRange3D")
984 BoundedGridRange4Ds=list
985 _plural_types.append(
"BoundedGridRange4Ds")
986 _value_types.append(
"BoundedGridRange4D")
989 BoundedGridRange5Ds=list
990 _plural_types.append(
"BoundedGridRange5Ds")
991 _value_types.append(
"BoundedGridRange5D")
994 BoundedGridRange6Ds=list
995 _plural_types.append(
"BoundedGridRange6Ds")
996 _value_types.append(
"BoundedGridRange6D")
999 BoundedGridRange1Ds=list
1000 _plural_types.append(
"BoundedGridRange1Ds")
1001 _value_types.append(
"BoundedGridRangeD<1>")
1004 BoundedGridRange2Ds=list
1005 _plural_types.append(
"BoundedGridRange2Ds")
1006 _value_types.append(
"BoundedGridRangeD<2>")
1009 BoundedGridRange3Ds=list
1010 _plural_types.append(
"BoundedGridRange3Ds")
1011 _value_types.append(
"BoundedGridRangeD<3>")
1014 BoundedGridRange4Ds=list
1015 _plural_types.append(
"BoundedGridRange4Ds")
1016 _value_types.append(
"BoundedGridRangeD<4>")
1019 BoundedGridRange5Ds=list
1020 _plural_types.append(
"BoundedGridRange5Ds")
1021 _value_types.append(
"BoundedGridRangeD<5>")
1024 BoundedGridRange6Ds=list
1025 _plural_types.append(
"BoundedGridRange6Ds")
1026 _value_types.append(
"BoundedGridRangeD<6>")
1029 BoundedGridRangeKDs=list
1030 _plural_types.append(
"BoundedGridRangeKDs")
1031 _value_types.append(
"BoundedGridRangeKD")
1034 BoundedGridRangeKDs=list
1035 _plural_types.append(
"BoundedGridRangeKDs")
1036 _value_types.append(
"BoundedGridRangeD<-1>")
1039 UnboundedGridRange1Ds=list
1040 _plural_types.append(
"UnboundedGridRange1Ds")
1041 _value_types.append(
"UnboundedGridRange1D")
1044 UnboundedGridRange2Ds=list
1045 _plural_types.append(
"UnboundedGridRange2Ds")
1046 _value_types.append(
"UnboundedGridRange2D")
1049 UnboundedGridRange3Ds=list
1050 _plural_types.append(
"UnboundedGridRange3Ds")
1051 _value_types.append(
"UnboundedGridRange3D")
1054 UnboundedGridRange4Ds=list
1055 _plural_types.append(
"UnboundedGridRange4Ds")
1056 _value_types.append(
"UnboundedGridRange4D")
1059 UnboundedGridRange5Ds=list
1060 _plural_types.append(
"UnboundedGridRange5Ds")
1061 _value_types.append(
"UnboundedGridRange5D")
1064 UnboundedGridRange6Ds=list
1065 _plural_types.append(
"UnboundedGridRange6Ds")
1066 _value_types.append(
"UnboundedGridRange6D")
1069 UnboundedGridRange1Ds=list
1070 _plural_types.append(
"UnboundedGridRange1Ds")
1071 _value_types.append(
"UnboundedGridRangeD<1>")
1074 UnboundedGridRange2Ds=list
1075 _plural_types.append(
"UnboundedGridRange2Ds")
1076 _value_types.append(
"UnboundedGridRangeD<2>")
1079 UnboundedGridRange3Ds=list
1080 _plural_types.append(
"UnboundedGridRange3Ds")
1081 _value_types.append(
"UnboundedGridRangeD<3>")
1084 UnboundedGridRange4Ds=list
1085 _plural_types.append(
"UnboundedGridRange4Ds")
1086 _value_types.append(
"UnboundedGridRangeD<4>")
1089 UnboundedGridRange5Ds=list
1090 _plural_types.append(
"UnboundedGridRange5Ds")
1091 _value_types.append(
"UnboundedGridRangeD<5>")
1094 UnboundedGridRange6Ds=list
1095 _plural_types.append(
"UnboundedGridRange6Ds")
1096 _value_types.append(
"UnboundedGridRangeD<6>")
1099 UnboundedGridRangeKDs=list
1100 _plural_types.append(
"UnboundedGridRangeKDs")
1101 _value_types.append(
"UnboundedGridRangeKD")
1104 UnboundedGridRangeKDs=list
1105 _plural_types.append(
"UnboundedGridRangeKDs")
1106 _value_types.append(
"UnboundedGridRangeD<-1>")
1110 _plural_types.append(
"LinearFit2Ds")
1111 _value_types.append(
"LinearFit2D")
1114 ParabolicFit2Ds=list
1115 _plural_types.append(
"ParabolicFit2Ds")
1116 _value_types.append(
"ParabolicFit2D")
1120 _plural_types.append(
"FixedXYZs")
1121 _value_types.append(
"FixedXYZ")
1123 class _GeometricPrimitive1D(object):
1124 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1128 def __init__(self, *args, **kwargs):
1129 raise AttributeError(
"No constructor defined")
1130 __repr__ = _swig_repr
1131 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1132 __del__ =
lambda self:
None
1133 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1134 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1136 class _GeometricPrimitive2D(object):
1137 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1141 def __init__(self, *args, **kwargs):
1142 raise AttributeError(
"No constructor defined")
1143 __repr__ = _swig_repr
1144 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1145 __del__ =
lambda self:
None
1146 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1147 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1149 class _GeometricPrimitive3D(object):
1150 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1152 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1154 def __init__(self, *args, **kwargs):
1155 raise AttributeError(
"No constructor defined")
1156 __repr__ = _swig_repr
1157 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1158 __del__ =
lambda self:
None
1159 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1160 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1162 class _GeometricPrimitive4D(object):
1163 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1167 def __init__(self, *args, **kwargs):
1168 raise AttributeError(
"No constructor defined")
1169 __repr__ = _swig_repr
1170 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1171 __del__ =
lambda self:
None
1172 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1173 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1175 class _GeometricPrimitive5D(object):
1176 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1180 def __init__(self, *args, **kwargs):
1181 raise AttributeError(
"No constructor defined")
1182 __repr__ = _swig_repr
1183 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1184 __del__ =
lambda self:
None
1185 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1186 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1188 class _GeometricPrimitive6D(object):
1189 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1193 def __init__(self, *args, **kwargs):
1194 raise AttributeError(
"No constructor defined")
1195 __repr__ = _swig_repr
1196 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1197 __del__ =
lambda self:
None
1198 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1199 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1201 class _GeometricPrimitiveKD(object):
1202 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1206 def __init__(self, *args, **kwargs):
1207 raise AttributeError(
"No constructor defined")
1208 __repr__ = _swig_repr
1209 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1210 __del__ =
lambda self:
None
1211 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1212 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1216 _plural_types.append(
"Vector1Ds")
1217 _value_types.append(
"Vector1D")
1221 _plural_types.append(
"Vector2Ds")
1222 _value_types.append(
"Vector2D")
1226 _plural_types.append(
"Vector3Ds")
1227 _value_types.append(
"Vector3D")
1231 _plural_types.append(
"Vector4Ds")
1232 _value_types.append(
"Vector4D")
1236 _plural_types.append(
"Vector5Ds")
1237 _value_types.append(
"Vector5D")
1241 _plural_types.append(
"Vector6Ds")
1242 _value_types.append(
"Vector6D")
1246 _plural_types.append(
"Vector1Ds")
1247 _value_types.append(
"VectorD<1>")
1251 _plural_types.append(
"Vector2Ds")
1252 _value_types.append(
"VectorD<2>")
1256 _plural_types.append(
"Vector3Ds")
1257 _value_types.append(
"VectorD<3>")
1261 _plural_types.append(
"Vector4Ds")
1262 _value_types.append(
"VectorD<4>")
1266 _plural_types.append(
"Vector5Ds")
1267 _value_types.append(
"VectorD<5>")
1271 _plural_types.append(
"Vector6Ds")
1272 _value_types.append(
"VectorD<6>")
1276 _plural_types.append(
"VectorKDs")
1277 _value_types.append(
"VectorKD")
1281 _plural_types.append(
"VectorKDs")
1282 _value_types.append(
"VectorD<-1>")
1284 class _VectorBaseKD(_GeometricPrimitiveKD):
1285 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1288 __repr__ = _swig_repr
1291 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1292 this = _IMP_algebra.new__VectorBaseKD()
1294 self.this.append(this)
1295 except __builtin__.Exception:
1298 def get_scalar_product(self, o):
1299 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1300 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1303 def get_squared_magnitude(self):
1304 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1305 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1308 def get_magnitude(self):
1309 """get_magnitude(_VectorBaseKD self) -> double"""
1310 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1313 def __mul__(self, o):
1314 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1315 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1318 def __iadd__(self, o):
1319 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1320 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1323 def __isub__(self, o):
1324 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1325 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1328 def __idiv__(self, f):
1329 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1330 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1333 def __imul__(self, f):
1334 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1335 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1338 def show(self, *args):
1340 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1341 show(_VectorBaseKD self, _ostream out, std::string delim)
1342 show(_VectorBaseKD self, _ostream out)
1343 show(_VectorBaseKD self)
1345 return _IMP_algebra._VectorBaseKD_show(self, *args)
1348 def get_dimension(self):
1349 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1350 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1352 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1353 __del__ =
lambda self:
None
1354 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1355 _VectorBaseKD_swigregister(_VectorBaseKD)
1357 class _VectorBase1D(_GeometricPrimitive1D):
1358 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1361 __repr__ = _swig_repr
1364 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1365 this = _IMP_algebra.new__VectorBase1D()
1367 self.this.append(this)
1368 except __builtin__.Exception:
1371 def get_scalar_product(self, o):
1372 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1373 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1376 def get_squared_magnitude(self):
1377 """get_squared_magnitude(_VectorBase1D self) -> double"""
1378 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1381 def get_magnitude(self):
1382 """get_magnitude(_VectorBase1D self) -> double"""
1383 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1386 def __mul__(self, o):
1387 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1388 return _IMP_algebra._VectorBase1D___mul__(self, o)
1391 def __iadd__(self, o):
1392 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1393 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1396 def __isub__(self, o):
1397 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1398 return _IMP_algebra._VectorBase1D___isub__(self, o)
1401 def __idiv__(self, f):
1402 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1403 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1406 def __imul__(self, f):
1407 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1408 return _IMP_algebra._VectorBase1D___imul__(self, f)
1411 def show(self, *args):
1413 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1414 show(_VectorBase1D self, _ostream out, std::string delim)
1415 show(_VectorBase1D self, _ostream out)
1416 show(_VectorBase1D self)
1418 return _IMP_algebra._VectorBase1D_show(self, *args)
1421 def get_dimension(self):
1422 """get_dimension(_VectorBase1D self) -> unsigned int"""
1423 return _IMP_algebra._VectorBase1D_get_dimension(self)
1425 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1426 __del__ =
lambda self:
None
1427 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1428 _VectorBase1D_swigregister(_VectorBase1D)
1430 class _VectorBase2D(_GeometricPrimitive2D):
1431 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1434 __repr__ = _swig_repr
1437 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1438 this = _IMP_algebra.new__VectorBase2D()
1440 self.this.append(this)
1441 except __builtin__.Exception:
1444 def get_scalar_product(self, o):
1445 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1446 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1449 def get_squared_magnitude(self):
1450 """get_squared_magnitude(_VectorBase2D self) -> double"""
1451 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1454 def get_magnitude(self):
1455 """get_magnitude(_VectorBase2D self) -> double"""
1456 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1459 def __mul__(self, o):
1460 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1461 return _IMP_algebra._VectorBase2D___mul__(self, o)
1464 def __iadd__(self, o):
1465 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1466 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1469 def __isub__(self, o):
1470 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1471 return _IMP_algebra._VectorBase2D___isub__(self, o)
1474 def __idiv__(self, f):
1475 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1476 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1479 def __imul__(self, f):
1480 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1481 return _IMP_algebra._VectorBase2D___imul__(self, f)
1484 def show(self, *args):
1486 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1487 show(_VectorBase2D self, _ostream out, std::string delim)
1488 show(_VectorBase2D self, _ostream out)
1489 show(_VectorBase2D self)
1491 return _IMP_algebra._VectorBase2D_show(self, *args)
1494 def get_dimension(self):
1495 """get_dimension(_VectorBase2D self) -> unsigned int"""
1496 return _IMP_algebra._VectorBase2D_get_dimension(self)
1498 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1499 __del__ =
lambda self:
None
1500 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1501 _VectorBase2D_swigregister(_VectorBase2D)
1503 class _VectorBase3D(_GeometricPrimitive3D):
1504 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1507 __repr__ = _swig_repr
1510 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1511 this = _IMP_algebra.new__VectorBase3D()
1513 self.this.append(this)
1514 except __builtin__.Exception:
1517 def get_scalar_product(self, o):
1518 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1519 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1522 def get_squared_magnitude(self):
1523 """get_squared_magnitude(_VectorBase3D self) -> double"""
1524 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1527 def get_magnitude(self):
1528 """get_magnitude(_VectorBase3D self) -> double"""
1529 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1532 def __mul__(self, o):
1533 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1534 return _IMP_algebra._VectorBase3D___mul__(self, o)
1537 def __iadd__(self, o):
1538 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1539 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1542 def __isub__(self, o):
1543 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1544 return _IMP_algebra._VectorBase3D___isub__(self, o)
1547 def __idiv__(self, f):
1548 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1549 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1552 def __imul__(self, f):
1553 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1554 return _IMP_algebra._VectorBase3D___imul__(self, f)
1557 def show(self, *args):
1559 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1560 show(_VectorBase3D self, _ostream out, std::string delim)
1561 show(_VectorBase3D self, _ostream out)
1562 show(_VectorBase3D self)
1564 return _IMP_algebra._VectorBase3D_show(self, *args)
1567 def get_dimension(self):
1568 """get_dimension(_VectorBase3D self) -> unsigned int"""
1569 return _IMP_algebra._VectorBase3D_get_dimension(self)
1571 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1572 __del__ =
lambda self:
None
1573 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1574 _VectorBase3D_swigregister(_VectorBase3D)
1576 class _VectorBase4D(_GeometricPrimitive4D):
1577 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1579 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1580 __repr__ = _swig_repr
1583 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1584 this = _IMP_algebra.new__VectorBase4D()
1586 self.this.append(this)
1587 except __builtin__.Exception:
1590 def get_scalar_product(self, o):
1591 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1592 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1595 def get_squared_magnitude(self):
1596 """get_squared_magnitude(_VectorBase4D self) -> double"""
1597 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1600 def get_magnitude(self):
1601 """get_magnitude(_VectorBase4D self) -> double"""
1602 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1605 def __mul__(self, o):
1606 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1607 return _IMP_algebra._VectorBase4D___mul__(self, o)
1610 def __iadd__(self, o):
1611 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1612 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1615 def __isub__(self, o):
1616 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1617 return _IMP_algebra._VectorBase4D___isub__(self, o)
1620 def __idiv__(self, f):
1621 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1622 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1625 def __imul__(self, f):
1626 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1627 return _IMP_algebra._VectorBase4D___imul__(self, f)
1630 def show(self, *args):
1632 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1633 show(_VectorBase4D self, _ostream out, std::string delim)
1634 show(_VectorBase4D self, _ostream out)
1635 show(_VectorBase4D self)
1637 return _IMP_algebra._VectorBase4D_show(self, *args)
1640 def get_dimension(self):
1641 """get_dimension(_VectorBase4D self) -> unsigned int"""
1642 return _IMP_algebra._VectorBase4D_get_dimension(self)
1644 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1645 __del__ =
lambda self:
None
1646 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1647 _VectorBase4D_swigregister(_VectorBase4D)
1649 class _VectorBase5D(_GeometricPrimitive5D):
1650 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1652 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1653 __repr__ = _swig_repr
1656 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1657 this = _IMP_algebra.new__VectorBase5D()
1659 self.this.append(this)
1660 except __builtin__.Exception:
1663 def get_scalar_product(self, o):
1664 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1665 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1668 def get_squared_magnitude(self):
1669 """get_squared_magnitude(_VectorBase5D self) -> double"""
1670 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1673 def get_magnitude(self):
1674 """get_magnitude(_VectorBase5D self) -> double"""
1675 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1678 def __mul__(self, o):
1679 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1680 return _IMP_algebra._VectorBase5D___mul__(self, o)
1683 def __iadd__(self, o):
1684 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1685 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1688 def __isub__(self, o):
1689 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1690 return _IMP_algebra._VectorBase5D___isub__(self, o)
1693 def __idiv__(self, f):
1694 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1695 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1698 def __imul__(self, f):
1699 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1700 return _IMP_algebra._VectorBase5D___imul__(self, f)
1703 def show(self, *args):
1705 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1706 show(_VectorBase5D self, _ostream out, std::string delim)
1707 show(_VectorBase5D self, _ostream out)
1708 show(_VectorBase5D self)
1710 return _IMP_algebra._VectorBase5D_show(self, *args)
1713 def get_dimension(self):
1714 """get_dimension(_VectorBase5D self) -> unsigned int"""
1715 return _IMP_algebra._VectorBase5D_get_dimension(self)
1717 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1718 __del__ =
lambda self:
None
1719 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1720 _VectorBase5D_swigregister(_VectorBase5D)
1722 class _VectorBase6D(_GeometricPrimitive6D):
1723 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1726 __repr__ = _swig_repr
1729 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1730 this = _IMP_algebra.new__VectorBase6D()
1732 self.this.append(this)
1733 except __builtin__.Exception:
1736 def get_scalar_product(self, o):
1737 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1738 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1741 def get_squared_magnitude(self):
1742 """get_squared_magnitude(_VectorBase6D self) -> double"""
1743 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1746 def get_magnitude(self):
1747 """get_magnitude(_VectorBase6D self) -> double"""
1748 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1751 def __mul__(self, o):
1752 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1753 return _IMP_algebra._VectorBase6D___mul__(self, o)
1756 def __iadd__(self, o):
1757 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1758 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1761 def __isub__(self, o):
1762 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1763 return _IMP_algebra._VectorBase6D___isub__(self, o)
1766 def __idiv__(self, f):
1767 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1768 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1771 def __imul__(self, f):
1772 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1773 return _IMP_algebra._VectorBase6D___imul__(self, f)
1776 def show(self, *args):
1778 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1779 show(_VectorBase6D self, _ostream out, std::string delim)
1780 show(_VectorBase6D self, _ostream out)
1781 show(_VectorBase6D self)
1783 return _IMP_algebra._VectorBase6D_show(self, *args)
1786 def get_dimension(self):
1787 """get_dimension(_VectorBase6D self) -> unsigned int"""
1788 return _IMP_algebra._VectorBase6D_get_dimension(self)
1790 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1791 __del__ =
lambda self:
None
1792 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1793 _VectorBase6D_swigregister(_VectorBase6D)
1797 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1798 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1801 """get_zero_vector_kd(int D) -> VectorKD"""
1802 return _IMP_algebra.get_zero_vector_kd(D)
1806 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1807 get_ones_vector_kd(unsigned int D) -> VectorKD
1809 return _IMP_algebra.get_ones_vector_kd(D, v)
1812 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1813 return _IMP_algebra.get_vector_product(p1, p2)
1816 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1817 return _IMP_algebra.get_orthogonal_vector(v)
1820 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1821 return _IMP_algebra.get_centroid(ps)
1824 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1825 return _IMP_algebra.get_radius_of_gyration(ps)
1826 class Rotation3D(_GeometricPrimitive3D):
1827 """Proxy of C++ IMP::algebra::Rotation3D class."""
1829 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1831 def __init__(self, *args):
1833 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1834 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1835 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1836 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1837 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1839 this = _IMP_algebra.new_Rotation3D(*args)
1841 self.this.append(this)
1842 except __builtin__.Exception:
1844 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1845 __del__ =
lambda self:
None
1847 def get_rotated_no_cache(self, o):
1848 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1849 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1852 def get_rotated_one_coordinate_no_cache(self, o, coord):
1853 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1854 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1857 def get_rotated(self, o):
1858 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1859 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1862 def get_rotated_one_coordinate(self, o, coord):
1863 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1864 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1867 def get_rotation_matrix_row(self, i):
1868 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1869 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1872 def show(self, *args):
1874 show(Rotation3D self, _ostream out)
1875 show(Rotation3D self)
1877 return _IMP_algebra.Rotation3D_show(self, *args)
1880 def get_inverse(self):
1881 """get_inverse(Rotation3D self) -> Rotation3D"""
1882 return _IMP_algebra.Rotation3D_get_inverse(self)
1885 def get_quaternion(self):
1886 """get_quaternion(Rotation3D self) -> Vector4D"""
1887 return _IMP_algebra.Rotation3D_get_quaternion(self)
1890 def __mul__(self, *args):
1892 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1893 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1895 return _IMP_algebra.Rotation3D___mul__(self, *args)
1898 def __div__(self, r):
1899 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1900 return _IMP_algebra.Rotation3D___div__(self, r)
1903 def get_derivative(self, v, i, projected=True):
1905 get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool projected=True) -> Vector3D
1906 get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1908 return _IMP_algebra.Rotation3D_get_derivative(self, v, i, projected)
1911 def get_gradient(self, v, projected=True):
1913 get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool projected=True) -> Eigen::MatrixXd
1914 get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
1916 return _IMP_algebra.Rotation3D_get_gradient(self, v, projected)
1919 def get_is_valid(self):
1920 """get_is_valid(Rotation3D self) -> bool"""
1921 return _IMP_algebra.Rotation3D_get_is_valid(self)
1925 """__str__(Rotation3D self) -> std::string"""
1926 return _IMP_algebra.Rotation3D___str__(self)
1930 """__repr__(Rotation3D self) -> std::string"""
1931 return _IMP_algebra.Rotation3D___repr__(self)
1934 __truediv__ = __div__
1936 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1937 Rotation3D_swigregister(Rotation3D)
1942 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1943 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1945 return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, projected)
1949 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1950 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1952 return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, projected)
1955 """get_identity_rotation_3d() -> Rotation3D"""
1956 return _IMP_algebra.get_identity_rotation_3d()
1959 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1960 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1963 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1964 return _IMP_algebra.get_rotation_about_axis(axis, angle)
1967 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1968 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1972 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1973 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
1975 return _IMP_algebra.get_rotation_from_matrix(*args)
1979 get_random_rotation_3d() -> Rotation3D
1980 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1982 return _IMP_algebra.get_random_rotation_3d(*args)
1985 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1986 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1989 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1990 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1993 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1994 return _IMP_algebra.get_rotation_from_vector4d(v)
1997 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1998 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2001 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2002 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2005 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2006 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2007 class FixedXYZ(_GeometricPrimitive3D):
2008 """Proxy of C++ IMP::algebra::FixedXYZ class."""
2010 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2012 def __init__(self, *args):
2014 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2015 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2017 this = _IMP_algebra.new_FixedXYZ(*args)
2019 self.this.append(this)
2020 except __builtin__.Exception:
2024 """get_x(FixedXYZ self) -> double"""
2025 return _IMP_algebra.FixedXYZ_get_x(self)
2029 """get_y(FixedXYZ self) -> double"""
2030 return _IMP_algebra.FixedXYZ_get_y(self)
2034 """get_z(FixedXYZ self) -> double"""
2035 return _IMP_algebra.FixedXYZ_get_z(self)
2038 def show(self, *args):
2040 show(FixedXYZ self, _ostream out)
2043 return _IMP_algebra.FixedXYZ_show(self, *args)
2047 """__str__(FixedXYZ self) -> std::string"""
2048 return _IMP_algebra.FixedXYZ___str__(self)
2052 """__repr__(FixedXYZ self) -> std::string"""
2053 return _IMP_algebra.FixedXYZ___repr__(self)
2055 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2056 __del__ =
lambda self:
None
2057 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2058 FixedXYZ_swigregister(FixedXYZ)
2062 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2063 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2066 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2067 return _IMP_algebra.get_interpolated(a, b, f)
2070 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2071 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2074 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2075 return _IMP_algebra.get_axis_and_angle(rot)
2078 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2079 return _IMP_algebra.get_unit_bounding_box_kd(d)
2082 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2083 return _IMP_algebra.get_cube_kd(d, radius)
2086 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2087 return _IMP_algebra.get_edges(arg1)
2088 class Transformation3D(_GeometricPrimitive3D):
2089 """Proxy of C++ IMP::algebra::Transformation3D class."""
2091 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2093 def __init__(self, *args):
2095 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2096 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2097 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2098 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2100 this = _IMP_algebra.new_Transformation3D(*args)
2102 self.this.append(this)
2103 except __builtin__.Exception:
2105 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2106 __del__ =
lambda self:
None
2108 def get_transformed(self, o):
2109 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2110 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2113 def __mul__(self, *args):
2115 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2116 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2118 return _IMP_algebra.Transformation3D___mul__(self, *args)
2121 def __div__(self, b):
2122 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2123 return _IMP_algebra.Transformation3D___div__(self, b)
2126 def get_rotation(self):
2127 """get_rotation(Transformation3D self) -> Rotation3D"""
2128 return _IMP_algebra.Transformation3D_get_rotation(self)
2131 def get_translation(self):
2132 """get_translation(Transformation3D self) -> Vector3D"""
2133 return _IMP_algebra.Transformation3D_get_translation(self)
2136 def show(self, *args):
2138 show(Transformation3D self, _ostream out)
2139 show(Transformation3D self)
2141 return _IMP_algebra.Transformation3D_show(self, *args)
2144 def get_inverse(self):
2145 """get_inverse(Transformation3D self) -> Transformation3D"""
2146 return _IMP_algebra.Transformation3D_get_inverse(self)
2149 def get_is_valid(self):
2150 """get_is_valid(Transformation3D self) -> bool"""
2151 return _IMP_algebra.Transformation3D_get_is_valid(self)
2155 """__str__(Transformation3D self) -> std::string"""
2156 return _IMP_algebra.Transformation3D___str__(self)
2160 """__repr__(Transformation3D self) -> std::string"""
2161 return _IMP_algebra.Transformation3D___repr__(self)
2164 __truediv__ = __div__
2166 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2167 Transformation3D_swigregister(Transformation3D)
2171 """get_identity_transformation_3d() -> Transformation3D"""
2172 return _IMP_algebra.get_identity_transformation_3d()
2175 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2176 return _IMP_algebra.get_transformation_3d(t2d)
2180 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2181 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2182 get_random_local_transformation(Vector3D origin) -> Transformation3D
2184 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2185 class Rotation2D(_GeometricPrimitive2D):
2186 """Proxy of C++ IMP::algebra::Rotation2D class."""
2188 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2190 def __init__(self, *args):
2192 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2193 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2195 this = _IMP_algebra.new_Rotation2D(*args)
2197 self.this.append(this)
2198 except __builtin__.Exception:
2201 def get_rotated(self, *args):
2203 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2204 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2206 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2209 def get_inverse(self):
2210 """get_inverse(Rotation2D self) -> Rotation2D"""
2211 return _IMP_algebra.Rotation2D_get_inverse(self)
2214 def set_angle(self, angle):
2215 """set_angle(Rotation2D self, double angle)"""
2216 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2220 """get_angle(Rotation2D self) -> double"""
2221 return _IMP_algebra.Rotation2D_get_angle(self)
2224 def show(self, *args):
2226 show(Rotation2D self, _ostream out)
2227 show(Rotation2D self)
2229 return _IMP_algebra.Rotation2D_show(self, *args)
2233 """__str__(Rotation2D self) -> std::string"""
2234 return _IMP_algebra.Rotation2D___str__(self)
2238 """__repr__(Rotation2D self) -> std::string"""
2239 return _IMP_algebra.Rotation2D___repr__(self)
2241 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2242 __del__ =
lambda self:
None
2243 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2244 Rotation2D_swigregister(Rotation2D)
2248 """get_identity_rotation_2d() -> Rotation2D"""
2249 return _IMP_algebra.get_identity_rotation_2d()
2252 """get_random_rotation_2d() -> Rotation2D"""
2253 return _IMP_algebra.get_random_rotation_2d()
2256 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2257 return _IMP_algebra.get_rotation_to_x_axis(v)
2258 class Transformation2D(_GeometricPrimitive2D):
2259 """Proxy of C++ IMP::algebra::Transformation2D class."""
2261 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2263 def __init__(self, *args):
2265 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2266 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2267 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2268 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2270 this = _IMP_algebra.new_Transformation2D(*args)
2272 self.this.append(this)
2273 except __builtin__.Exception:
2275 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2276 __del__ =
lambda self:
None
2278 def get_transformed(self, o):
2279 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2280 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2283 def __mul__(self, *args):
2285 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2286 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2288 return _IMP_algebra.Transformation2D___mul__(self, *args)
2291 def __div__(self, b):
2292 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2293 return _IMP_algebra.Transformation2D___div__(self, b)
2296 def get_rotation(self):
2297 """get_rotation(Transformation2D self) -> Rotation2D"""
2298 return _IMP_algebra.Transformation2D_get_rotation(self)
2301 def set_rotation(self, angle):
2302 """set_rotation(Transformation2D self, double angle)"""
2303 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2306 def get_translation(self):
2307 """get_translation(Transformation2D self) -> Vector2D"""
2308 return _IMP_algebra.Transformation2D_get_translation(self)
2311 def set_translation(self, v):
2312 """set_translation(Transformation2D self, Vector2D v)"""
2313 return _IMP_algebra.Transformation2D_set_translation(self, v)
2316 def show(self, *args):
2318 show(Transformation2D self, _ostream out)
2319 show(Transformation2D self)
2321 return _IMP_algebra.Transformation2D_show(self, *args)
2324 def get_inverse(self):
2325 """get_inverse(Transformation2D self) -> Transformation2D"""
2326 return _IMP_algebra.Transformation2D_get_inverse(self)
2330 """__str__(Transformation2D self) -> std::string"""
2331 return _IMP_algebra.Transformation2D___str__(self)
2335 """__repr__(Transformation2D self) -> std::string"""
2336 return _IMP_algebra.Transformation2D___repr__(self)
2339 __truediv__ = __div__
2341 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2342 Transformation2D_swigregister(Transformation2D)
2346 """get_identity_transformation_2d() -> Transformation2D"""
2347 return _IMP_algebra.get_identity_transformation_2d()
2351 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2352 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2354 return _IMP_algebra.get_rotation_about_point(*args)
2358 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2359 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2360 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2361 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2363 return _IMP_algebra.compose(*args)
2365 def get_unit_sphere_kd(d):
2366 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2367 return _IMP_algebra.get_unit_sphere_kd(d)
2371 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2372 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2374 return _IMP_algebra.get_enclosing_sphere(*args)
2377 """get_ball_radius_from_volume_3d(double volume) -> double"""
2378 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2381 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2382 return _IMP_algebra.get_surface_area_and_volume(ss)
2385 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2386 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2388 """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2393 """get_unit_vector(Vector1D self) -> Vector1D"""
2394 return _IMP_algebra.Vector1D_get_unit_vector(self)
2397 def __div__(self, s):
2398 """__div__(Vector1D self, double s) -> Vector1D"""
2399 return _IMP_algebra.Vector1D___div__(self, s)
2403 """__neg__(Vector1D self) -> Vector1D"""
2404 return _IMP_algebra.Vector1D___neg__(self)
2407 def __sub__(self, o):
2408 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2409 return _IMP_algebra.Vector1D___sub__(self, o)
2412 def __add__(self, ret):
2413 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2414 return _IMP_algebra.Vector1D___add__(self, ret)
2417 def __mul__(self, *args):
2419 __mul__(Vector1D self, double s) -> Vector1D
2420 __mul__(Vector1D self, Vector1D o) -> double
2422 return _IMP_algebra.Vector1D___mul__(self, *args)
2425 def __init__(self, *args):
2427 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2428 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2429 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2431 this = _IMP_algebra.new_Vector1D(*args)
2433 self.this.append(this)
2434 except __builtin__.Exception:
2437 def __getitem__(self, index):
2438 """__getitem__(Vector1D self, unsigned int index) -> double"""
2439 return _IMP_algebra.Vector1D___getitem__(self, index)
2442 def __setitem__(self, index, val):
2443 """__setitem__(Vector1D self, unsigned int index, double val)"""
2444 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2447 def __iadd__(self, *args):
2448 _IMP_algebra.Vector1D___iadd__(self, *args)
2453 def __imul__(self, *args):
2454 _IMP_algebra.Vector1D___imul__(self, *args)
2459 def __idiv__(self, *args):
2460 _IMP_algebra.Vector1D___idiv__(self, *args)
2465 def __isub__(self, *args):
2466 _IMP_algebra.Vector1D___isub__(self, *args)
2472 """__len__(Vector1D self) -> unsigned int"""
2473 return _IMP_algebra.Vector1D___len__(self)
2476 def __rmul__(self, f):
2477 """__rmul__(Vector1D self, double f) -> Vector1D"""
2478 return _IMP_algebra.Vector1D___rmul__(self, f)
2482 """__str__(Vector1D self) -> std::string"""
2483 return _IMP_algebra.Vector1D___str__(self)
2487 """__repr__(Vector1D self) -> std::string"""
2488 return _IMP_algebra.Vector1D___repr__(self)
2491 def __cmp__(self, arg2):
2492 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2493 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2496 def __eq__(self, arg2):
2497 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2498 return _IMP_algebra.Vector1D___eq__(self, arg2)
2501 __truediv__ = __div__
2502 __itruediv__ = __idiv__
2504 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2505 __del__ =
lambda self:
None
2506 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2507 Vector1D_swigregister(Vector1D)
2510 """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2515 """get_unit_vector(Vector2D self) -> Vector2D"""
2516 return _IMP_algebra.Vector2D_get_unit_vector(self)
2519 def __div__(self, s):
2520 """__div__(Vector2D self, double s) -> Vector2D"""
2521 return _IMP_algebra.Vector2D___div__(self, s)
2525 """__neg__(Vector2D self) -> Vector2D"""
2526 return _IMP_algebra.Vector2D___neg__(self)
2529 def __sub__(self, o):
2530 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2531 return _IMP_algebra.Vector2D___sub__(self, o)
2534 def __add__(self, ret):
2535 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2536 return _IMP_algebra.Vector2D___add__(self, ret)
2539 def __mul__(self, *args):
2541 __mul__(Vector2D self, double s) -> Vector2D
2542 __mul__(Vector2D self, Vector2D o) -> double
2544 return _IMP_algebra.Vector2D___mul__(self, *args)
2547 def __init__(self, *args):
2549 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2550 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2551 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2553 this = _IMP_algebra.new_Vector2D(*args)
2555 self.this.append(this)
2556 except __builtin__.Exception:
2559 def __getitem__(self, index):
2560 """__getitem__(Vector2D self, unsigned int index) -> double"""
2561 return _IMP_algebra.Vector2D___getitem__(self, index)
2564 def __setitem__(self, index, val):
2565 """__setitem__(Vector2D self, unsigned int index, double val)"""
2566 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2569 def __iadd__(self, *args):
2570 _IMP_algebra.Vector2D___iadd__(self, *args)
2575 def __imul__(self, *args):
2576 _IMP_algebra.Vector2D___imul__(self, *args)
2581 def __idiv__(self, *args):
2582 _IMP_algebra.Vector2D___idiv__(self, *args)
2587 def __isub__(self, *args):
2588 _IMP_algebra.Vector2D___isub__(self, *args)
2594 """__len__(Vector2D self) -> unsigned int"""
2595 return _IMP_algebra.Vector2D___len__(self)
2598 def __rmul__(self, f):
2599 """__rmul__(Vector2D self, double f) -> Vector2D"""
2600 return _IMP_algebra.Vector2D___rmul__(self, f)
2604 """__str__(Vector2D self) -> std::string"""
2605 return _IMP_algebra.Vector2D___str__(self)
2609 """__repr__(Vector2D self) -> std::string"""
2610 return _IMP_algebra.Vector2D___repr__(self)
2613 def __cmp__(self, arg2):
2614 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2615 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2618 def __eq__(self, arg2):
2619 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2620 return _IMP_algebra.Vector2D___eq__(self, arg2)
2623 __truediv__ = __div__
2624 __itruediv__ = __idiv__
2626 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2627 __del__ =
lambda self:
None
2628 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2629 Vector2D_swigregister(Vector2D)
2632 """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2634 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2637 """get_unit_vector(Vector3D self) -> Vector3D"""
2638 return _IMP_algebra.Vector3D_get_unit_vector(self)
2641 def __div__(self, s):
2642 """__div__(Vector3D self, double s) -> Vector3D"""
2643 return _IMP_algebra.Vector3D___div__(self, s)
2647 """__neg__(Vector3D self) -> Vector3D"""
2648 return _IMP_algebra.Vector3D___neg__(self)
2651 def __sub__(self, o):
2652 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2653 return _IMP_algebra.Vector3D___sub__(self, o)
2656 def __add__(self, ret):
2657 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2658 return _IMP_algebra.Vector3D___add__(self, ret)
2661 def __mul__(self, *args):
2663 __mul__(Vector3D self, double s) -> Vector3D
2664 __mul__(Vector3D self, Vector3D o) -> double
2666 return _IMP_algebra.Vector3D___mul__(self, *args)
2669 def __init__(self, *args):
2671 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2672 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2673 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2675 this = _IMP_algebra.new_Vector3D(*args)
2677 self.this.append(this)
2678 except __builtin__.Exception:
2681 def __getitem__(self, index):
2682 """__getitem__(Vector3D self, unsigned int index) -> double"""
2683 return _IMP_algebra.Vector3D___getitem__(self, index)
2686 def __setitem__(self, index, val):
2687 """__setitem__(Vector3D self, unsigned int index, double val)"""
2688 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2691 def __iadd__(self, *args):
2692 _IMP_algebra.Vector3D___iadd__(self, *args)
2697 def __imul__(self, *args):
2698 _IMP_algebra.Vector3D___imul__(self, *args)
2703 def __idiv__(self, *args):
2704 _IMP_algebra.Vector3D___idiv__(self, *args)
2709 def __isub__(self, *args):
2710 _IMP_algebra.Vector3D___isub__(self, *args)
2716 """__len__(Vector3D self) -> unsigned int"""
2717 return _IMP_algebra.Vector3D___len__(self)
2720 def __rmul__(self, f):
2721 """__rmul__(Vector3D self, double f) -> Vector3D"""
2722 return _IMP_algebra.Vector3D___rmul__(self, f)
2726 """__str__(Vector3D self) -> std::string"""
2727 return _IMP_algebra.Vector3D___str__(self)
2731 """__repr__(Vector3D self) -> std::string"""
2732 return _IMP_algebra.Vector3D___repr__(self)
2735 def __cmp__(self, arg2):
2736 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2737 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2740 def __eq__(self, arg2):
2741 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2742 return _IMP_algebra.Vector3D___eq__(self, arg2)
2745 __truediv__ = __div__
2746 __itruediv__ = __idiv__
2748 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2749 __del__ =
lambda self:
None
2750 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2751 Vector3D_swigregister(Vector3D)
2754 """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2756 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2759 """get_unit_vector(Vector4D self) -> Vector4D"""
2760 return _IMP_algebra.Vector4D_get_unit_vector(self)
2763 def __div__(self, s):
2764 """__div__(Vector4D self, double s) -> Vector4D"""
2765 return _IMP_algebra.Vector4D___div__(self, s)
2769 """__neg__(Vector4D self) -> Vector4D"""
2770 return _IMP_algebra.Vector4D___neg__(self)
2773 def __sub__(self, o):
2774 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2775 return _IMP_algebra.Vector4D___sub__(self, o)
2778 def __add__(self, ret):
2779 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2780 return _IMP_algebra.Vector4D___add__(self, ret)
2783 def __mul__(self, *args):
2785 __mul__(Vector4D self, double s) -> Vector4D
2786 __mul__(Vector4D self, Vector4D o) -> double
2788 return _IMP_algebra.Vector4D___mul__(self, *args)
2791 def __init__(self, *args):
2793 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2794 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2795 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2797 this = _IMP_algebra.new_Vector4D(*args)
2799 self.this.append(this)
2800 except __builtin__.Exception:
2803 def __getitem__(self, index):
2804 """__getitem__(Vector4D self, unsigned int index) -> double"""
2805 return _IMP_algebra.Vector4D___getitem__(self, index)
2808 def __setitem__(self, index, val):
2809 """__setitem__(Vector4D self, unsigned int index, double val)"""
2810 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2813 def __iadd__(self, *args):
2814 _IMP_algebra.Vector4D___iadd__(self, *args)
2819 def __imul__(self, *args):
2820 _IMP_algebra.Vector4D___imul__(self, *args)
2825 def __idiv__(self, *args):
2826 _IMP_algebra.Vector4D___idiv__(self, *args)
2831 def __isub__(self, *args):
2832 _IMP_algebra.Vector4D___isub__(self, *args)
2838 """__len__(Vector4D self) -> unsigned int"""
2839 return _IMP_algebra.Vector4D___len__(self)
2842 def __rmul__(self, f):
2843 """__rmul__(Vector4D self, double f) -> Vector4D"""
2844 return _IMP_algebra.Vector4D___rmul__(self, f)
2848 """__str__(Vector4D self) -> std::string"""
2849 return _IMP_algebra.Vector4D___str__(self)
2853 """__repr__(Vector4D self) -> std::string"""
2854 return _IMP_algebra.Vector4D___repr__(self)
2857 def __cmp__(self, arg2):
2858 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2859 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2862 def __eq__(self, arg2):
2863 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2864 return _IMP_algebra.Vector4D___eq__(self, arg2)
2867 __truediv__ = __div__
2868 __itruediv__ = __idiv__
2870 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2871 __del__ =
lambda self:
None
2872 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2873 Vector4D_swigregister(Vector4D)
2876 """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2881 """get_unit_vector(Vector5D self) -> Vector5D"""
2882 return _IMP_algebra.Vector5D_get_unit_vector(self)
2885 def __div__(self, s):
2886 """__div__(Vector5D self, double s) -> Vector5D"""
2887 return _IMP_algebra.Vector5D___div__(self, s)
2891 """__neg__(Vector5D self) -> Vector5D"""
2892 return _IMP_algebra.Vector5D___neg__(self)
2895 def __sub__(self, o):
2896 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2897 return _IMP_algebra.Vector5D___sub__(self, o)
2900 def __add__(self, ret):
2901 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2902 return _IMP_algebra.Vector5D___add__(self, ret)
2905 def __mul__(self, *args):
2907 __mul__(Vector5D self, double s) -> Vector5D
2908 __mul__(Vector5D self, Vector5D o) -> double
2910 return _IMP_algebra.Vector5D___mul__(self, *args)
2913 def __init__(self, *args):
2915 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2916 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2917 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2919 this = _IMP_algebra.new_Vector5D(*args)
2921 self.this.append(this)
2922 except __builtin__.Exception:
2925 def __getitem__(self, index):
2926 """__getitem__(Vector5D self, unsigned int index) -> double"""
2927 return _IMP_algebra.Vector5D___getitem__(self, index)
2930 def __setitem__(self, index, val):
2931 """__setitem__(Vector5D self, unsigned int index, double val)"""
2932 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2935 def __iadd__(self, *args):
2936 _IMP_algebra.Vector5D___iadd__(self, *args)
2941 def __imul__(self, *args):
2942 _IMP_algebra.Vector5D___imul__(self, *args)
2947 def __idiv__(self, *args):
2948 _IMP_algebra.Vector5D___idiv__(self, *args)
2953 def __isub__(self, *args):
2954 _IMP_algebra.Vector5D___isub__(self, *args)
2960 """__len__(Vector5D self) -> unsigned int"""
2961 return _IMP_algebra.Vector5D___len__(self)
2964 def __rmul__(self, f):
2965 """__rmul__(Vector5D self, double f) -> Vector5D"""
2966 return _IMP_algebra.Vector5D___rmul__(self, f)
2970 """__str__(Vector5D self) -> std::string"""
2971 return _IMP_algebra.Vector5D___str__(self)
2975 """__repr__(Vector5D self) -> std::string"""
2976 return _IMP_algebra.Vector5D___repr__(self)
2979 def __cmp__(self, arg2):
2980 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2981 return _IMP_algebra.Vector5D___cmp__(self, arg2)
2984 def __eq__(self, arg2):
2985 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2986 return _IMP_algebra.Vector5D___eq__(self, arg2)
2989 __truediv__ = __div__
2990 __itruediv__ = __idiv__
2992 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2993 __del__ =
lambda self:
None
2994 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2995 Vector5D_swigregister(Vector5D)
2998 """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
3000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3003 """get_unit_vector(Vector6D self) -> Vector6D"""
3004 return _IMP_algebra.Vector6D_get_unit_vector(self)
3007 def __div__(self, s):
3008 """__div__(Vector6D self, double s) -> Vector6D"""
3009 return _IMP_algebra.Vector6D___div__(self, s)
3013 """__neg__(Vector6D self) -> Vector6D"""
3014 return _IMP_algebra.Vector6D___neg__(self)
3017 def __sub__(self, o):
3018 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3019 return _IMP_algebra.Vector6D___sub__(self, o)
3022 def __add__(self, ret):
3023 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3024 return _IMP_algebra.Vector6D___add__(self, ret)
3027 def __mul__(self, *args):
3029 __mul__(Vector6D self, double s) -> Vector6D
3030 __mul__(Vector6D self, Vector6D o) -> double
3032 return _IMP_algebra.Vector6D___mul__(self, *args)
3035 def __init__(self, *args):
3037 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3038 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3039 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3041 this = _IMP_algebra.new_Vector6D(*args)
3043 self.this.append(this)
3044 except __builtin__.Exception:
3047 def __getitem__(self, index):
3048 """__getitem__(Vector6D self, unsigned int index) -> double"""
3049 return _IMP_algebra.Vector6D___getitem__(self, index)
3052 def __setitem__(self, index, val):
3053 """__setitem__(Vector6D self, unsigned int index, double val)"""
3054 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3057 def __iadd__(self, *args):
3058 _IMP_algebra.Vector6D___iadd__(self, *args)
3063 def __imul__(self, *args):
3064 _IMP_algebra.Vector6D___imul__(self, *args)
3069 def __idiv__(self, *args):
3070 _IMP_algebra.Vector6D___idiv__(self, *args)
3075 def __isub__(self, *args):
3076 _IMP_algebra.Vector6D___isub__(self, *args)
3082 """__len__(Vector6D self) -> unsigned int"""
3083 return _IMP_algebra.Vector6D___len__(self)
3086 def __rmul__(self, f):
3087 """__rmul__(Vector6D self, double f) -> Vector6D"""
3088 return _IMP_algebra.Vector6D___rmul__(self, f)
3092 """__str__(Vector6D self) -> std::string"""
3093 return _IMP_algebra.Vector6D___str__(self)
3097 """__repr__(Vector6D self) -> std::string"""
3098 return _IMP_algebra.Vector6D___repr__(self)
3101 def __cmp__(self, arg2):
3102 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3103 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3106 def __eq__(self, arg2):
3107 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3108 return _IMP_algebra.Vector6D___eq__(self, arg2)
3111 __truediv__ = __div__
3112 __itruediv__ = __idiv__
3114 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3115 __del__ =
lambda self:
None
3116 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3117 Vector6D_swigregister(Vector6D)
3120 """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3122 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3125 """get_unit_vector(VectorKD self) -> VectorKD"""
3126 return _IMP_algebra.VectorKD_get_unit_vector(self)
3129 def __div__(self, s):
3130 """__div__(VectorKD self, double s) -> VectorKD"""
3131 return _IMP_algebra.VectorKD___div__(self, s)
3135 """__neg__(VectorKD self) -> VectorKD"""
3136 return _IMP_algebra.VectorKD___neg__(self)
3139 def __sub__(self, o):
3140 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3141 return _IMP_algebra.VectorKD___sub__(self, o)
3144 def __add__(self, ret):
3145 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3146 return _IMP_algebra.VectorKD___add__(self, ret)
3149 def __mul__(self, *args):
3151 __mul__(VectorKD self, double s) -> VectorKD
3152 __mul__(VectorKD self, VectorKD o) -> double
3154 return _IMP_algebra.VectorKD___mul__(self, *args)
3157 def __init__(self, *args):
3159 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3160 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3161 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3162 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3163 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3164 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3165 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3166 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3168 this = _IMP_algebra.new_VectorKD(*args)
3170 self.this.append(this)
3171 except __builtin__.Exception:
3174 def __getitem__(self, index):
3175 """__getitem__(VectorKD self, unsigned int index) -> double"""
3176 return _IMP_algebra.VectorKD___getitem__(self, index)
3179 def __setitem__(self, index, val):
3180 """__setitem__(VectorKD self, unsigned int index, double val)"""
3181 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3184 def __iadd__(self, *args):
3185 _IMP_algebra.VectorKD___iadd__(self, *args)
3190 def __imul__(self, *args):
3191 _IMP_algebra.VectorKD___imul__(self, *args)
3196 def __idiv__(self, *args):
3197 _IMP_algebra.VectorKD___idiv__(self, *args)
3202 def __isub__(self, *args):
3203 _IMP_algebra.VectorKD___isub__(self, *args)
3209 """__len__(VectorKD self) -> unsigned int"""
3210 return _IMP_algebra.VectorKD___len__(self)
3213 def __rmul__(self, f):
3214 """__rmul__(VectorKD self, double f) -> VectorKD"""
3215 return _IMP_algebra.VectorKD___rmul__(self, f)
3219 """__str__(VectorKD self) -> std::string"""
3220 return _IMP_algebra.VectorKD___str__(self)
3224 """__repr__(VectorKD self) -> std::string"""
3225 return _IMP_algebra.VectorKD___repr__(self)
3228 def __cmp__(self, arg2):
3229 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3230 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3233 def __eq__(self, arg2):
3234 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3235 return _IMP_algebra.VectorKD___eq__(self, arg2)
3238 __truediv__ = __div__
3239 __itruediv__ = __idiv__
3241 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3242 __del__ =
lambda self:
None
3243 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3244 VectorKD_swigregister(VectorKD)
3247 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3249 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3251 def get_dimension(self):
3252 """get_dimension(BoundingBox1D self) -> unsigned int"""
3253 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3256 def get_corner(self, i):
3257 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3258 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3261 def get_contains(self, *args):
3263 get_contains(BoundingBox1D self, Vector1D o) -> bool
3264 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3266 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3269 def show(self, *args):
3271 show(BoundingBox1D self, _ostream out)
3272 show(BoundingBox1D self)
3274 return _IMP_algebra.BoundingBox1D_show(self, *args)
3278 """__str__(BoundingBox1D self) -> std::string"""
3279 return _IMP_algebra.BoundingBox1D___str__(self)
3283 """__repr__(BoundingBox1D self) -> std::string"""
3284 return _IMP_algebra.BoundingBox1D___repr__(self)
3287 def __cmp__(self, arg2):
3288 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3289 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3292 def __eq__(self, arg2):
3293 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3294 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3297 def __init__(self, *args):
3299 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3300 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3301 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3302 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3303 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3305 this = _IMP_algebra.new_BoundingBox1D(*args)
3307 self.this.append(this)
3308 except __builtin__.Exception:
3311 def __getitem__(self, index):
3312 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3313 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3316 def __iadd__(self, *args):
3317 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3323 """__len__(BoundingBox1D self) -> unsigned int"""
3324 return _IMP_algebra.BoundingBox1D___len__(self)
3327 def __add__(self, *args):
3329 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3330 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3331 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3333 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3335 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3336 __del__ =
lambda self:
None
3337 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3338 BoundingBox1D_swigregister(BoundingBox1D)
3341 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3345 def get_dimension(self):
3346 """get_dimension(BoundingBox2D self) -> unsigned int"""
3347 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3350 def get_corner(self, i):
3351 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3352 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3355 def get_contains(self, *args):
3357 get_contains(BoundingBox2D self, Vector2D o) -> bool
3358 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3360 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3363 def show(self, *args):
3365 show(BoundingBox2D self, _ostream out)
3366 show(BoundingBox2D self)
3368 return _IMP_algebra.BoundingBox2D_show(self, *args)
3372 """__str__(BoundingBox2D self) -> std::string"""
3373 return _IMP_algebra.BoundingBox2D___str__(self)
3377 """__repr__(BoundingBox2D self) -> std::string"""
3378 return _IMP_algebra.BoundingBox2D___repr__(self)
3381 def __cmp__(self, arg2):
3382 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3383 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3386 def __eq__(self, arg2):
3387 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3388 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3391 def __init__(self, *args):
3393 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3394 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3395 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3396 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3397 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3399 this = _IMP_algebra.new_BoundingBox2D(*args)
3401 self.this.append(this)
3402 except __builtin__.Exception:
3405 def __getitem__(self, index):
3406 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3407 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3410 def __iadd__(self, *args):
3411 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3417 """__len__(BoundingBox2D self) -> unsigned int"""
3418 return _IMP_algebra.BoundingBox2D___len__(self)
3421 def __add__(self, *args):
3423 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3424 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3425 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3427 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3429 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3430 __del__ =
lambda self:
None
3431 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3432 BoundingBox2D_swigregister(BoundingBox2D)
3435 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3439 def get_dimension(self):
3440 """get_dimension(BoundingBox3D self) -> unsigned int"""
3441 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3444 def get_corner(self, i):
3445 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3446 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3449 def get_contains(self, *args):
3451 get_contains(BoundingBox3D self, Vector3D o) -> bool
3452 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3454 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3457 def show(self, *args):
3459 show(BoundingBox3D self, _ostream out)
3460 show(BoundingBox3D self)
3462 return _IMP_algebra.BoundingBox3D_show(self, *args)
3466 """__str__(BoundingBox3D self) -> std::string"""
3467 return _IMP_algebra.BoundingBox3D___str__(self)
3471 """__repr__(BoundingBox3D self) -> std::string"""
3472 return _IMP_algebra.BoundingBox3D___repr__(self)
3475 def __cmp__(self, arg2):
3476 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3477 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3480 def __eq__(self, arg2):
3481 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3482 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3485 def __init__(self, *args):
3487 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3488 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3489 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3490 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3491 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3493 this = _IMP_algebra.new_BoundingBox3D(*args)
3495 self.this.append(this)
3496 except __builtin__.Exception:
3499 def __getitem__(self, index):
3500 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3501 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3504 def __iadd__(self, *args):
3505 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3511 """__len__(BoundingBox3D self) -> unsigned int"""
3512 return _IMP_algebra.BoundingBox3D___len__(self)
3515 def __add__(self, *args):
3517 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3518 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3519 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3521 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3523 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3524 __del__ =
lambda self:
None
3525 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3526 BoundingBox3D_swigregister(BoundingBox3D)
3529 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3533 def get_dimension(self):
3534 """get_dimension(BoundingBox4D self) -> unsigned int"""
3535 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3538 def get_corner(self, i):
3539 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3540 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3543 def get_contains(self, *args):
3545 get_contains(BoundingBox4D self, Vector4D o) -> bool
3546 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3548 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3551 def show(self, *args):
3553 show(BoundingBox4D self, _ostream out)
3554 show(BoundingBox4D self)
3556 return _IMP_algebra.BoundingBox4D_show(self, *args)
3560 """__str__(BoundingBox4D self) -> std::string"""
3561 return _IMP_algebra.BoundingBox4D___str__(self)
3565 """__repr__(BoundingBox4D self) -> std::string"""
3566 return _IMP_algebra.BoundingBox4D___repr__(self)
3569 def __cmp__(self, arg2):
3570 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3571 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3574 def __eq__(self, arg2):
3575 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3576 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3579 def __init__(self, *args):
3581 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3582 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3583 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3584 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3585 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3587 this = _IMP_algebra.new_BoundingBox4D(*args)
3589 self.this.append(this)
3590 except __builtin__.Exception:
3593 def __getitem__(self, index):
3594 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3595 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3598 def __iadd__(self, *args):
3599 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3605 """__len__(BoundingBox4D self) -> unsigned int"""
3606 return _IMP_algebra.BoundingBox4D___len__(self)
3609 def __add__(self, *args):
3611 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3612 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3613 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3615 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3617 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3618 __del__ =
lambda self:
None
3619 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3620 BoundingBox4D_swigregister(BoundingBox4D)
3623 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3625 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3627 def get_dimension(self):
3628 """get_dimension(BoundingBox5D self) -> unsigned int"""
3629 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3632 def get_corner(self, i):
3633 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3634 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3637 def get_contains(self, *args):
3639 get_contains(BoundingBox5D self, Vector5D o) -> bool
3640 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3642 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3645 def show(self, *args):
3647 show(BoundingBox5D self, _ostream out)
3648 show(BoundingBox5D self)
3650 return _IMP_algebra.BoundingBox5D_show(self, *args)
3654 """__str__(BoundingBox5D self) -> std::string"""
3655 return _IMP_algebra.BoundingBox5D___str__(self)
3659 """__repr__(BoundingBox5D self) -> std::string"""
3660 return _IMP_algebra.BoundingBox5D___repr__(self)
3663 def __cmp__(self, arg2):
3664 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3665 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3668 def __eq__(self, arg2):
3669 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3670 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3673 def __init__(self, *args):
3675 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3676 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3677 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3678 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3679 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3681 this = _IMP_algebra.new_BoundingBox5D(*args)
3683 self.this.append(this)
3684 except __builtin__.Exception:
3687 def __getitem__(self, index):
3688 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3689 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3692 def __iadd__(self, *args):
3693 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3699 """__len__(BoundingBox5D self) -> unsigned int"""
3700 return _IMP_algebra.BoundingBox5D___len__(self)
3703 def __add__(self, *args):
3705 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3706 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3707 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3709 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3711 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3712 __del__ =
lambda self:
None
3713 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3714 BoundingBox5D_swigregister(BoundingBox5D)
3717 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3721 def get_dimension(self):
3722 """get_dimension(BoundingBox6D self) -> unsigned int"""
3723 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3726 def get_corner(self, i):
3727 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3728 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3731 def get_contains(self, *args):
3733 get_contains(BoundingBox6D self, Vector6D o) -> bool
3734 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3736 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3739 def show(self, *args):
3741 show(BoundingBox6D self, _ostream out)
3742 show(BoundingBox6D self)
3744 return _IMP_algebra.BoundingBox6D_show(self, *args)
3748 """__str__(BoundingBox6D self) -> std::string"""
3749 return _IMP_algebra.BoundingBox6D___str__(self)
3753 """__repr__(BoundingBox6D self) -> std::string"""
3754 return _IMP_algebra.BoundingBox6D___repr__(self)
3757 def __cmp__(self, arg2):
3758 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3759 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3762 def __eq__(self, arg2):
3763 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3764 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3767 def __init__(self, *args):
3769 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3770 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3771 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3772 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3773 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3775 this = _IMP_algebra.new_BoundingBox6D(*args)
3777 self.this.append(this)
3778 except __builtin__.Exception:
3781 def __getitem__(self, index):
3782 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3783 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3786 def __iadd__(self, *args):
3787 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3793 """__len__(BoundingBox6D self) -> unsigned int"""
3794 return _IMP_algebra.BoundingBox6D___len__(self)
3797 def __add__(self, *args):
3799 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3800 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3801 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3803 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3805 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3806 __del__ =
lambda self:
None
3807 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3808 BoundingBox6D_swigregister(BoundingBox6D)
3811 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3815 def get_dimension(self):
3816 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3817 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3820 def get_corner(self, i):
3821 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3822 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3825 def get_contains(self, *args):
3827 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3828 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3830 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3833 def show(self, *args):
3835 show(BoundingBoxKD self, _ostream out)
3836 show(BoundingBoxKD self)
3838 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3842 """__str__(BoundingBoxKD self) -> std::string"""
3843 return _IMP_algebra.BoundingBoxKD___str__(self)
3847 """__repr__(BoundingBoxKD self) -> std::string"""
3848 return _IMP_algebra.BoundingBoxKD___repr__(self)
3851 def __cmp__(self, arg2):
3852 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3853 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3856 def __eq__(self, arg2):
3857 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3858 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3861 def __init__(self, *args):
3863 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3864 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3865 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3866 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3867 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3869 this = _IMP_algebra.new_BoundingBoxKD(*args)
3871 self.this.append(this)
3872 except __builtin__.Exception:
3875 def __getitem__(self, index):
3876 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3877 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3880 def __iadd__(self, *args):
3881 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3887 """__len__(BoundingBoxKD self) -> unsigned int"""
3888 return _IMP_algebra.BoundingBoxKD___len__(self)
3891 def __add__(self, *args):
3893 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3894 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3895 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3897 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3899 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3900 __del__ =
lambda self:
None
3901 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3902 BoundingBoxKD_swigregister(BoundingBoxKD)
3904 class Sphere1D(_GeometricPrimitive1D):
3905 """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3909 def __init__(self, *args):
3911 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3912 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3914 this = _IMP_algebra.new_Sphere1D(*args)
3916 self.this.append(this)
3917 except __builtin__.Exception:
3920 def get_radius(self):
3921 """get_radius(Sphere1D self) -> double"""
3922 return _IMP_algebra.Sphere1D_get_radius(self)
3925 def get_center(self):
3926 """get_center(Sphere1D self) -> Vector1D"""
3927 return _IMP_algebra.Sphere1D_get_center(self)
3930 def get_contains(self, *args):
3932 get_contains(Sphere1D self, Sphere1D o) -> bool
3933 get_contains(Sphere1D self, Vector1D p) -> bool
3935 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3938 def show(self, *args):
3940 show(Sphere1D self, _ostream out)
3943 return _IMP_algebra.Sphere1D_show(self, *args)
3946 def get_dimension(self):
3947 """get_dimension(Sphere1D self) -> unsigned int"""
3948 return _IMP_algebra.Sphere1D_get_dimension(self)
3952 """__str__(Sphere1D self) -> std::string"""
3953 return _IMP_algebra.Sphere1D___str__(self)
3957 """__repr__(Sphere1D self) -> std::string"""
3958 return _IMP_algebra.Sphere1D___repr__(self)
3961 def __cmp__(self, arg2):
3962 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3963 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3966 def __eq__(self, arg2):
3967 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3968 return _IMP_algebra.Sphere1D___eq__(self, arg2)
3970 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3971 __del__ =
lambda self:
None
3972 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3973 Sphere1D_swigregister(Sphere1D)
3975 class Sphere2D(_GeometricPrimitive2D):
3976 """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3978 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3980 def __init__(self, *args):
3982 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3983 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3985 this = _IMP_algebra.new_Sphere2D(*args)
3987 self.this.append(this)
3988 except __builtin__.Exception:
3991 def get_radius(self):
3992 """get_radius(Sphere2D self) -> double"""
3993 return _IMP_algebra.Sphere2D_get_radius(self)
3996 def get_center(self):
3997 """get_center(Sphere2D self) -> Vector2D"""
3998 return _IMP_algebra.Sphere2D_get_center(self)
4001 def get_contains(self, *args):
4003 get_contains(Sphere2D self, Sphere2D o) -> bool
4004 get_contains(Sphere2D self, Vector2D p) -> bool
4006 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4009 def show(self, *args):
4011 show(Sphere2D self, _ostream out)
4014 return _IMP_algebra.Sphere2D_show(self, *args)
4017 def get_dimension(self):
4018 """get_dimension(Sphere2D self) -> unsigned int"""
4019 return _IMP_algebra.Sphere2D_get_dimension(self)
4023 """__str__(Sphere2D self) -> std::string"""
4024 return _IMP_algebra.Sphere2D___str__(self)
4028 """__repr__(Sphere2D self) -> std::string"""
4029 return _IMP_algebra.Sphere2D___repr__(self)
4032 def __cmp__(self, arg2):
4033 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4034 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4037 def __eq__(self, arg2):
4038 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4039 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4041 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4042 __del__ =
lambda self:
None
4043 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4044 Sphere2D_swigregister(Sphere2D)
4046 class Sphere3D(_GeometricPrimitive3D):
4047 """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4051 def __init__(self, *args):
4053 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4054 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4056 this = _IMP_algebra.new_Sphere3D(*args)
4058 self.this.append(this)
4059 except __builtin__.Exception:
4062 def get_radius(self):
4063 """get_radius(Sphere3D self) -> double"""
4064 return _IMP_algebra.Sphere3D_get_radius(self)
4067 def get_center(self):
4068 """get_center(Sphere3D self) -> Vector3D"""
4069 return _IMP_algebra.Sphere3D_get_center(self)
4072 def get_contains(self, *args):
4074 get_contains(Sphere3D self, Sphere3D o) -> bool
4075 get_contains(Sphere3D self, Vector3D p) -> bool
4077 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4080 def show(self, *args):
4082 show(Sphere3D self, _ostream out)
4085 return _IMP_algebra.Sphere3D_show(self, *args)
4088 def get_dimension(self):
4089 """get_dimension(Sphere3D self) -> unsigned int"""
4090 return _IMP_algebra.Sphere3D_get_dimension(self)
4094 """__str__(Sphere3D self) -> std::string"""
4095 return _IMP_algebra.Sphere3D___str__(self)
4099 """__repr__(Sphere3D self) -> std::string"""
4100 return _IMP_algebra.Sphere3D___repr__(self)
4103 def __cmp__(self, arg2):
4104 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4105 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4108 def __eq__(self, arg2):
4109 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4110 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4112 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4113 __del__ =
lambda self:
None
4114 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4115 Sphere3D_swigregister(Sphere3D)
4117 class Sphere4D(_GeometricPrimitive4D):
4118 """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4122 def __init__(self, *args):
4124 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4125 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4127 this = _IMP_algebra.new_Sphere4D(*args)
4129 self.this.append(this)
4130 except __builtin__.Exception:
4133 def get_radius(self):
4134 """get_radius(Sphere4D self) -> double"""
4135 return _IMP_algebra.Sphere4D_get_radius(self)
4138 def get_center(self):
4139 """get_center(Sphere4D self) -> Vector4D"""
4140 return _IMP_algebra.Sphere4D_get_center(self)
4143 def get_contains(self, *args):
4145 get_contains(Sphere4D self, Sphere4D o) -> bool
4146 get_contains(Sphere4D self, Vector4D p) -> bool
4148 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4151 def show(self, *args):
4153 show(Sphere4D self, _ostream out)
4156 return _IMP_algebra.Sphere4D_show(self, *args)
4159 def get_dimension(self):
4160 """get_dimension(Sphere4D self) -> unsigned int"""
4161 return _IMP_algebra.Sphere4D_get_dimension(self)
4165 """__str__(Sphere4D self) -> std::string"""
4166 return _IMP_algebra.Sphere4D___str__(self)
4170 """__repr__(Sphere4D self) -> std::string"""
4171 return _IMP_algebra.Sphere4D___repr__(self)
4174 def __cmp__(self, arg2):
4175 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4176 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4179 def __eq__(self, arg2):
4180 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4181 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4183 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4184 __del__ =
lambda self:
None
4185 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4186 Sphere4D_swigregister(Sphere4D)
4188 class Sphere5D(_GeometricPrimitive5D):
4189 """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4193 def __init__(self, *args):
4195 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4196 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4198 this = _IMP_algebra.new_Sphere5D(*args)
4200 self.this.append(this)
4201 except __builtin__.Exception:
4204 def get_radius(self):
4205 """get_radius(Sphere5D self) -> double"""
4206 return _IMP_algebra.Sphere5D_get_radius(self)
4209 def get_center(self):
4210 """get_center(Sphere5D self) -> Vector5D"""
4211 return _IMP_algebra.Sphere5D_get_center(self)
4214 def get_contains(self, *args):
4216 get_contains(Sphere5D self, Sphere5D o) -> bool
4217 get_contains(Sphere5D self, Vector5D p) -> bool
4219 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4222 def show(self, *args):
4224 show(Sphere5D self, _ostream out)
4227 return _IMP_algebra.Sphere5D_show(self, *args)
4230 def get_dimension(self):
4231 """get_dimension(Sphere5D self) -> unsigned int"""
4232 return _IMP_algebra.Sphere5D_get_dimension(self)
4236 """__str__(Sphere5D self) -> std::string"""
4237 return _IMP_algebra.Sphere5D___str__(self)
4241 """__repr__(Sphere5D self) -> std::string"""
4242 return _IMP_algebra.Sphere5D___repr__(self)
4245 def __cmp__(self, arg2):
4246 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4247 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4250 def __eq__(self, arg2):
4251 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4252 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4254 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4255 __del__ =
lambda self:
None
4256 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4257 Sphere5D_swigregister(Sphere5D)
4259 class Sphere6D(_GeometricPrimitive6D):
4260 """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4262 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4264 def __init__(self, *args):
4266 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4267 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4269 this = _IMP_algebra.new_Sphere6D(*args)
4271 self.this.append(this)
4272 except __builtin__.Exception:
4275 def get_radius(self):
4276 """get_radius(Sphere6D self) -> double"""
4277 return _IMP_algebra.Sphere6D_get_radius(self)
4280 def get_center(self):
4281 """get_center(Sphere6D self) -> Vector6D"""
4282 return _IMP_algebra.Sphere6D_get_center(self)
4285 def get_contains(self, *args):
4287 get_contains(Sphere6D self, Sphere6D o) -> bool
4288 get_contains(Sphere6D self, Vector6D p) -> bool
4290 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4293 def show(self, *args):
4295 show(Sphere6D self, _ostream out)
4298 return _IMP_algebra.Sphere6D_show(self, *args)
4301 def get_dimension(self):
4302 """get_dimension(Sphere6D self) -> unsigned int"""
4303 return _IMP_algebra.Sphere6D_get_dimension(self)
4307 """__str__(Sphere6D self) -> std::string"""
4308 return _IMP_algebra.Sphere6D___str__(self)
4312 """__repr__(Sphere6D self) -> std::string"""
4313 return _IMP_algebra.Sphere6D___repr__(self)
4316 def __cmp__(self, arg2):
4317 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4318 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4321 def __eq__(self, arg2):
4322 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4323 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4325 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4326 __del__ =
lambda self:
None
4327 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4328 Sphere6D_swigregister(Sphere6D)
4330 class SphereKD(_GeometricPrimitiveKD):
4331 """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4333 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4335 def __init__(self, *args):
4337 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4338 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4340 this = _IMP_algebra.new_SphereKD(*args)
4342 self.this.append(this)
4343 except __builtin__.Exception:
4346 def get_radius(self):
4347 """get_radius(SphereKD self) -> double"""
4348 return _IMP_algebra.SphereKD_get_radius(self)
4351 def get_center(self):
4352 """get_center(SphereKD self) -> VectorKD"""
4353 return _IMP_algebra.SphereKD_get_center(self)
4356 def get_contains(self, *args):
4358 get_contains(SphereKD self, SphereKD o) -> bool
4359 get_contains(SphereKD self, VectorKD p) -> bool
4361 return _IMP_algebra.SphereKD_get_contains(self, *args)
4364 def show(self, *args):
4366 show(SphereKD self, _ostream out)
4369 return _IMP_algebra.SphereKD_show(self, *args)
4372 def get_dimension(self):
4373 """get_dimension(SphereKD self) -> unsigned int"""
4374 return _IMP_algebra.SphereKD_get_dimension(self)
4378 """__str__(SphereKD self) -> std::string"""
4379 return _IMP_algebra.SphereKD___str__(self)
4383 """__repr__(SphereKD self) -> std::string"""
4384 return _IMP_algebra.SphereKD___repr__(self)
4387 def __cmp__(self, arg2):
4388 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4389 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4392 def __eq__(self, arg2):
4393 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4394 return _IMP_algebra.SphereKD___eq__(self, arg2)
4396 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4397 __del__ =
lambda self:
None
4398 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4399 SphereKD_swigregister(SphereKD)
4401 class ReferenceFrame3D(object):
4402 """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4406 def __init__(self, *args):
4408 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4409 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4411 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4413 self.this.append(this)
4414 except __builtin__.Exception:
4416 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4417 __del__ =
lambda self:
None
4419 def get_transformation_to(self):
4420 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4421 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4424 def get_transformation_from(self):
4425 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4426 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4429 def get_global_coordinates(self, v):
4430 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4431 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4434 def get_local_coordinates(self, v):
4435 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4436 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4439 def get_global_reference_frame(self, v):
4440 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4441 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4444 def get_local_reference_frame(self, v):
4445 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4446 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4449 def show(self, *args):
4451 show(ReferenceFrame3D self, _ostream out)
4452 show(ReferenceFrame3D self)
4454 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4458 """__str__(ReferenceFrame3D self) -> std::string"""
4459 return _IMP_algebra.ReferenceFrame3D___str__(self)
4463 """__repr__(ReferenceFrame3D self) -> std::string"""
4464 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4466 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4467 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4470 def get_transformed(*args):
4472 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4473 get_transformed(Line3D l, Transformation3D tr) -> Line3D
4474 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4476 return _IMP_algebra.get_transformed(*args)
4478 def get_transformation_from_first_to_second(a, b):
4479 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4480 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4481 class SphericalVector3D(_GeometricPrimitive3D):
4482 """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4486 def __init__(self, *args):
4488 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4489 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4490 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4491 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4493 this = _IMP_algebra.new_SphericalVector3D(*args)
4495 self.this.append(this)
4496 except __builtin__.Exception:
4499 def get_cartesian_coordinates(self):
4500 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4501 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4504 def show(self, *args):
4506 show(SphericalVector3D self, _ostream out)
4507 show(SphericalVector3D self)
4509 return _IMP_algebra.SphericalVector3D_show(self, *args)
4513 """__str__(SphericalVector3D self) -> std::string"""
4514 return _IMP_algebra.SphericalVector3D___str__(self)
4518 """__repr__(SphericalVector3D self) -> std::string"""
4519 return _IMP_algebra.SphericalVector3D___repr__(self)
4522 def __getitem__(self, index):
4523 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4524 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4527 def __setitem__(self, index, val):
4528 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4529 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4531 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4532 __del__ =
lambda self:
None
4533 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4534 SphericalVector3D_swigregister(SphericalVector3D)
4538 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4539 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4540 class Line3D(_GeometricPrimitive3D):
4541 """Proxy of C++ IMP::algebra::Line3D class."""
4543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4545 def __init__(self, *args):
4547 __init__(IMP::algebra::Line3D self) -> Line3D
4548 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4549 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4551 this = _IMP_algebra.new_Line3D(*args)
4553 self.this.append(this)
4554 except __builtin__.Exception:
4557 def get_direction(self):
4558 """get_direction(Line3D self) -> Vector3D"""
4559 return _IMP_algebra.Line3D_get_direction(self)
4562 def get_point_on_line(self):
4563 """get_point_on_line(Line3D self) -> Vector3D"""
4564 return _IMP_algebra.Line3D_get_point_on_line(self)
4567 def get_moment(self, *args):
4569 get_moment(Line3D self) -> Vector3D
4570 get_moment(Line3D self, Vector3D v) -> Vector3D
4572 return _IMP_algebra.Line3D_get_moment(self, *args)
4575 def get_reciprocal_product(self, l):
4576 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4577 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4580 def get_opposite(self):
4581 """get_opposite(Line3D self) -> Line3D"""
4582 return _IMP_algebra.Line3D_get_opposite(self)
4585 def get_segment_starting_at(self, v, d):
4586 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4587 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4590 def show(self, *args):
4592 show(Line3D self, _ostream out)
4595 return _IMP_algebra.Line3D_show(self, *args)
4599 """__str__(Line3D self) -> std::string"""
4600 return _IMP_algebra.Line3D___str__(self)
4604 """__repr__(Line3D self) -> std::string"""
4605 return _IMP_algebra.Line3D___repr__(self)
4607 __swig_destroy__ = _IMP_algebra.delete_Line3D
4608 __del__ =
lambda self:
None
4609 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4610 Line3D_swigregister(Line3D)
4613 def get_line_3d_geometry(g):
4614 """get_line_3d_geometry(Line3D g) -> Line3D"""
4615 return _IMP_algebra.get_line_3d_geometry(g)
4619 get_projected(Line3D l, Vector3D p) -> Vector3D
4620 get_projected(Line3D l, Segment3D s) -> Segment3D
4622 return _IMP_algebra.get_projected(*args)
4625 """get_angle(Line3D a, Line3D b) -> double"""
4626 return _IMP_algebra.get_angle(a, b)
4629 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4630 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4631 class Segment3D(_GeometricPrimitive3D):
4632 """Proxy of C++ IMP::algebra::Segment3D class."""
4634 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4636 def __init__(self, *args):
4638 __init__(IMP::algebra::Segment3D self) -> Segment3D
4639 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4641 this = _IMP_algebra.new_Segment3D(*args)
4643 self.this.append(this)
4644 except __builtin__.Exception:
4647 def get_point(self, i):
4650 return _IMP_algebra.Segment3D_get_point(self, i)
4654 def get_middle_point(self):
4655 """get_middle_point(Segment3D self) -> Vector3D"""
4656 return _IMP_algebra.Segment3D_get_middle_point(self)
4659 def get_direction(self):
4660 """get_direction(Segment3D self) -> Vector3D"""
4661 return _IMP_algebra.Segment3D_get_direction(self)
4664 def get_length(self):
4665 """get_length(Segment3D self) -> double"""
4666 return _IMP_algebra.Segment3D_get_length(self)
4669 def show(self, *args):
4671 show(Segment3D self, _ostream out)
4672 show(Segment3D self)
4674 return _IMP_algebra.Segment3D_show(self, *args)
4678 """__str__(Segment3D self) -> std::string"""
4679 return _IMP_algebra.Segment3D___str__(self)
4683 """__repr__(Segment3D self) -> std::string"""
4684 return _IMP_algebra.Segment3D___repr__(self)
4686 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4687 __del__ =
lambda self:
None
4688 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4689 Segment3D_swigregister(Segment3D)
4692 def get_segment_3d_geometry(g):
4693 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4694 return _IMP_algebra.get_segment_3d_geometry(g)
4697 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4698 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4699 class Triangle3D(_GeometricPrimitive3D):
4700 """Proxy of C++ IMP::algebra::Triangle3D class."""
4702 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4704 def __init__(self, *args):
4706 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4707 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4709 this = _IMP_algebra.new_Triangle3D(*args)
4711 self.this.append(this)
4712 except __builtin__.Exception:
4715 def get_point(self, i):
4716 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4717 return _IMP_algebra.Triangle3D_get_point(self, i)
4720 def show(self, *args):
4722 show(Triangle3D self, _ostream out)
4723 show(Triangle3D self)
4725 return _IMP_algebra.Triangle3D_show(self, *args)
4728 def get_edge_lengths(self):
4729 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4730 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4734 """__str__(Triangle3D self) -> std::string"""
4735 return _IMP_algebra.Triangle3D___str__(self)
4739 """__repr__(Triangle3D self) -> std::string"""
4740 return _IMP_algebra.Triangle3D___repr__(self)
4742 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4743 __del__ =
lambda self:
None
4744 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4745 Triangle3D_swigregister(Triangle3D)
4749 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4750 return _IMP_algebra.get_largest_triangle(points)
4753 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4754 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4757 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4758 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4759 class LinearFit2D(_GeometricPrimitive2D):
4760 """Proxy of C++ IMP::algebra::LinearFit2D class."""
4762 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4764 def __init__(self, *args):
4766 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4767 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4769 this = _IMP_algebra.new_LinearFit2D(*args)
4771 self.this.append(this)
4772 except __builtin__.Exception:
4775 def get_fit_error(self):
4776 """get_fit_error(LinearFit2D self) -> double"""
4777 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4781 """get_a(LinearFit2D self) -> double"""
4782 return _IMP_algebra.LinearFit2D_get_a(self)
4786 """get_b(LinearFit2D self) -> double"""
4787 return _IMP_algebra.LinearFit2D_get_b(self)
4790 def show(self, *args):
4792 show(LinearFit2D self, _ostream out)
4793 show(LinearFit2D self)
4795 return _IMP_algebra.LinearFit2D_show(self, *args)
4799 """__str__(LinearFit2D self) -> std::string"""
4800 return _IMP_algebra.LinearFit2D___str__(self)
4804 """__repr__(LinearFit2D self) -> std::string"""
4805 return _IMP_algebra.LinearFit2D___repr__(self)
4807 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4808 __del__ =
lambda self:
None
4809 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4810 LinearFit2D_swigregister(LinearFit2D)
4812 class ParabolicFit2D(_GeometricPrimitive2D):
4813 """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4815 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4817 def __init__(self, data):
4818 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4819 this = _IMP_algebra.new_ParabolicFit2D(data)
4821 self.this.append(this)
4822 except __builtin__.Exception:
4825 def get_fit_error(self):
4826 """get_fit_error(ParabolicFit2D self) -> double"""
4827 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4831 """get_a(ParabolicFit2D self) -> double"""
4832 return _IMP_algebra.ParabolicFit2D_get_a(self)
4836 """get_b(ParabolicFit2D self) -> double"""
4837 return _IMP_algebra.ParabolicFit2D_get_b(self)
4841 """get_c(ParabolicFit2D self) -> double"""
4842 return _IMP_algebra.ParabolicFit2D_get_c(self)
4845 def show(self, *args):
4847 show(ParabolicFit2D self, _ostream out)
4848 show(ParabolicFit2D self)
4850 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4854 """__str__(ParabolicFit2D self) -> std::string"""
4855 return _IMP_algebra.ParabolicFit2D___str__(self)
4859 """__repr__(ParabolicFit2D self) -> std::string"""
4860 return _IMP_algebra.ParabolicFit2D___repr__(self)
4862 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4863 __del__ =
lambda self:
None
4864 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4865 ParabolicFit2D_swigregister(ParabolicFit2D)
4867 class Plane3D(_GeometricPrimitive3D):
4868 """Proxy of C++ IMP::algebra::Plane3D class."""
4870 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4872 def __init__(self, *args):
4874 __init__(IMP::algebra::Plane3D self) -> Plane3D
4875 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4876 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4878 this = _IMP_algebra.new_Plane3D(*args)
4880 self.this.append(this)
4881 except __builtin__.Exception:
4884 def get_point_on_plane(self):
4885 """get_point_on_plane(Plane3D self) -> Vector3D"""
4886 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4889 def get_normal(self):
4890 """get_normal(Plane3D self) -> Vector3D"""
4891 return _IMP_algebra.Plane3D_get_normal(self)
4895 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4896 return _IMP_algebra.Plane3D_get_projected(self, p)
4899 def get_is_above(self, p):
4900 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4901 return _IMP_algebra.Plane3D_get_is_above(self, p)
4904 def get_is_below(self, p):
4905 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4906 return _IMP_algebra.Plane3D_get_is_below(self, p)
4910 """get_height(Plane3D self, Vector3D p) -> double"""
4911 return _IMP_algebra.Plane3D_get_height(self, p)
4914 def show(self, *args):
4916 show(Plane3D self, _ostream out)
4919 return _IMP_algebra.Plane3D_show(self, *args)
4922 def get_opposite(self):
4923 """get_opposite(Plane3D self) -> Plane3D"""
4924 return _IMP_algebra.Plane3D_get_opposite(self)
4927 def get_distance_from_origin(self):
4928 """get_distance_from_origin(Plane3D self) -> double"""
4929 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4933 """__str__(Plane3D self) -> std::string"""
4934 return _IMP_algebra.Plane3D___str__(self)
4938 """__repr__(Plane3D self) -> std::string"""
4939 return _IMP_algebra.Plane3D___repr__(self)
4941 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4942 __del__ =
lambda self:
None
4943 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4944 Plane3D_swigregister(Plane3D)
4948 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4949 return _IMP_algebra.get_reflected(pln, p)
4951 def get_plane_3d_geometry(g):
4952 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4953 return _IMP_algebra.get_plane_3d_geometry(g)
4954 class Reflection3D(_GeometricPrimitive3D):
4955 """Proxy of C++ IMP::algebra::Reflection3D class."""
4957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4959 def __init__(self, *args):
4961 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4962 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4964 this = _IMP_algebra.new_Reflection3D(*args)
4966 self.this.append(this)
4967 except __builtin__.Exception:
4971 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4972 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4975 def show(self, *args):
4977 show(Reflection3D self, _ostream out)
4978 show(Reflection3D self)
4980 return _IMP_algebra.Reflection3D_show(self, *args)
4984 """__str__(Reflection3D self) -> std::string"""
4985 return _IMP_algebra.Reflection3D___str__(self)
4989 """__repr__(Reflection3D self) -> std::string"""
4990 return _IMP_algebra.Reflection3D___repr__(self)
4992 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4993 __del__ =
lambda self:
None
4994 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4995 Reflection3D_swigregister(Reflection3D)
4997 class Cylinder3D(_GeometricPrimitive3D):
4998 """Proxy of C++ IMP::algebra::Cylinder3D class."""
5000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5002 def __init__(self, *args):
5004 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5005 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5007 this = _IMP_algebra.new_Cylinder3D(*args)
5009 self.this.append(this)
5010 except __builtin__.Exception:
5013 def get_radius(self):
5014 """get_radius(Cylinder3D self) -> double"""
5015 return _IMP_algebra.Cylinder3D_get_radius(self)
5019 """get_segment(Cylinder3D self) -> Segment3D"""
5020 return _IMP_algebra.Cylinder3D_get_segment(self)
5023 def get_surface_point_at(self, relative_height, angle):
5024 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5025 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5028 def get_inner_point_at(self, relative_height, relative_radius, angle):
5029 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5030 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5033 def show(self, *args):
5035 show(Cylinder3D self, _ostream out)
5036 show(Cylinder3D self)
5038 return _IMP_algebra.Cylinder3D_show(self, *args)
5042 """__str__(Cylinder3D self) -> std::string"""
5043 return _IMP_algebra.Cylinder3D___str__(self)
5047 """__repr__(Cylinder3D self) -> std::string"""
5048 return _IMP_algebra.Cylinder3D___repr__(self)
5050 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5051 __del__ =
lambda self:
None
5052 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5053 Cylinder3D_swigregister(Cylinder3D)
5056 def get_cylinder_3d_geometry(g):
5057 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5058 return _IMP_algebra.get_cylinder_3d_geometry(g)
5059 class Ellipsoid3D(_GeometricPrimitive3D):
5060 """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5062 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5064 def __init__(self, *args):
5066 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5067 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5068 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5070 this = _IMP_algebra.new_Ellipsoid3D(*args)
5072 self.this.append(this)
5073 except __builtin__.Exception:
5076 def get_radii(self):
5077 """get_radii(Ellipsoid3D self) -> Vector3D"""
5078 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5081 def get_reference_frame(self):
5082 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5083 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5086 def show(self, *args):
5088 show(Ellipsoid3D self, _ostream out)
5089 show(Ellipsoid3D self)
5091 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5095 """__str__(Ellipsoid3D self) -> std::string"""
5096 return _IMP_algebra.Ellipsoid3D___str__(self)
5100 """__repr__(Ellipsoid3D self) -> std::string"""
5101 return _IMP_algebra.Ellipsoid3D___repr__(self)
5103 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5104 __del__ =
lambda self:
None
5105 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5106 Ellipsoid3D_swigregister(Ellipsoid3D)
5109 def get_ellipsoid_3d_geometry(g):
5110 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5111 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5112 class ConnollySurfacePoint(object):
5113 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5117 def __init__(self, a0, a1, a2, sp, a, n):
5118 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5119 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5121 self.this.append(this)
5122 except __builtin__.Exception:
5126 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5127 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5130 def get_surface_point(self):
5131 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5132 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5136 """get_area(ConnollySurfacePoint self) -> double"""
5137 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5140 def get_normal(self):
5141 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5142 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5145 def show(self, *args):
5147 show(ConnollySurfacePoint self, _ostream out)
5148 show(ConnollySurfacePoint self)
5150 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5154 """__str__(ConnollySurfacePoint self) -> std::string"""
5155 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5159 """__repr__(ConnollySurfacePoint self) -> std::string"""
5160 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5162 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5163 __del__ =
lambda self:
None
5164 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5165 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5169 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5170 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5171 class LogEmbedding3D(object):
5172 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5176 def __init__(self, *args):
5178 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5179 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5180 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5181 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5182 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5184 this = _IMP_algebra.new_LogEmbedding3D(*args)
5186 self.this.append(this)
5187 except __builtin__.Exception:
5190 def set_origin(self, o):
5191 """set_origin(LogEmbedding3D self, Vector3D o)"""
5192 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5195 def get_origin(self):
5196 """get_origin(LogEmbedding3D self) -> Vector3D"""
5197 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5200 def get_dimension(self):
5201 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5202 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5205 def set_unit_cell(self, *args):
5207 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5208 set_unit_cell(LogEmbedding3D self, Vector3D o)
5210 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5213 def get_unit_cell(self):
5214 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5215 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5218 def get_extended_index(self, o):
5219 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5220 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5224 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5225 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5228 def get_center(self, *args):
5230 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5231 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5233 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5236 def get_bounding_box(self, *args):
5238 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5239 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5241 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5244 def show(self, *args):
5246 show(LogEmbedding3D self, _ostream out)
5247 show(LogEmbedding3D self)
5249 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5253 """__str__(LogEmbedding3D self) -> std::string"""
5254 return _IMP_algebra.LogEmbedding3D___str__(self)
5258 """__repr__(LogEmbedding3D self) -> std::string"""
5259 return _IMP_algebra.LogEmbedding3D___repr__(self)
5262 def __cmp__(self, arg2):
5263 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5264 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5267 def __eq__(self, arg2):
5268 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5269 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5271 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5272 __del__ =
lambda self:
None
5273 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5274 LogEmbedding3D_swigregister(LogEmbedding3D)
5276 class LogEmbeddingKD(object):
5277 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5279 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5281 def __init__(self, *args):
5283 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5284 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5285 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5286 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5287 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5289 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5291 self.this.append(this)
5292 except __builtin__.Exception:
5295 def set_origin(self, o):
5296 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5297 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5300 def get_origin(self):
5301 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5302 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5305 def get_dimension(self):
5306 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5307 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5310 def set_unit_cell(self, *args):
5312 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5313 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5315 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5318 def get_unit_cell(self):
5319 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5320 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5323 def get_extended_index(self, o):
5324 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5325 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5329 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5330 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5333 def get_center(self, *args):
5335 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5336 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5338 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5341 def get_bounding_box(self, *args):
5343 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5344 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5346 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5349 def show(self, *args):
5351 show(LogEmbeddingKD self, _ostream out)
5352 show(LogEmbeddingKD self)
5354 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5358 """__str__(LogEmbeddingKD self) -> std::string"""
5359 return _IMP_algebra.LogEmbeddingKD___str__(self)
5363 """__repr__(LogEmbeddingKD self) -> std::string"""
5364 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5367 def __cmp__(self, arg2):
5368 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5369 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5372 def __eq__(self, arg2):
5373 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5374 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5376 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5377 __del__ =
lambda self:
None
5378 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5379 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5381 class DenseFloatLogGridKD(object):
5382 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5384 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5386 def __init__(self, sz, le):
5387 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5388 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5390 self.this.append(this)
5391 except __builtin__.Exception:
5394 def add_voxel(self, i, q):
5395 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5396 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5399 def __getitem__(self, *args):
5401 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5402 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5404 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5407 def __setitem__(self, *args):
5409 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5410 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5412 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5415 def get_bounding_box(self, *args):
5417 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5418 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5420 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5425 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5426 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5428 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5431 def get_all_indexes(self):
5432 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5433 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5436 def get_extended_indexes(self, *args):
5438 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5439 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5441 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5444 def get_center(self, *args):
5446 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5447 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5449 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5452 def get_extended_index(self, v):
5453 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5454 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5458 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5459 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5462 def get_origin(self):
5463 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5464 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5467 def get_dimension(self):
5468 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5469 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5472 def get_unit_cell(self):
5473 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5474 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5477 def get_has_index(self, v):
5478 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5479 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5483 """__str__(DenseFloatLogGridKD self) -> std::string"""
5484 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5488 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5489 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5492 def show(self, *args):
5494 show(DenseFloatLogGridKD self, _ostream out)
5495 show(DenseFloatLogGridKD self)
5497 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5499 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5500 __del__ =
lambda self:
None
5501 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5502 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5504 class DenseIntLogGrid3D(object):
5505 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5509 def __init__(self, sz, le):
5510 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5511 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5513 self.this.append(this)
5514 except __builtin__.Exception:
5517 def add_voxel(self, i, q):
5518 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5519 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5522 def __getitem__(self, *args):
5524 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5525 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5527 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5530 def __setitem__(self, *args):
5532 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5533 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5535 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5538 def get_bounding_box(self, *args):
5540 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5541 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5543 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5548 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5549 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5551 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5554 def get_all_indexes(self):
5555 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5556 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5559 def get_extended_indexes(self, *args):
5561 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5562 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5564 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5567 def get_center(self, *args):
5569 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5570 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5572 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5575 def get_extended_index(self, v):
5576 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5577 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5581 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5582 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5585 def get_origin(self):
5586 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5587 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5590 def get_dimension(self):
5591 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5592 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5595 def get_unit_cell(self):
5596 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5597 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5600 def get_has_index(self, v):
5601 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5602 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5606 """__str__(DenseIntLogGrid3D self) -> std::string"""
5607 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5611 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5612 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5615 def show(self, *args):
5617 show(DenseIntLogGrid3D self, _ostream out)
5618 show(DenseIntLogGrid3D self)
5620 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5622 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5623 __del__ =
lambda self:
None
5624 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5625 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5628 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5632 def __init__(self, *args):
5634 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5635 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5636 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5638 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5640 self.this.append(this)
5641 except __builtin__.Exception:
5644 def add_voxel(self, i, q):
5645 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5646 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5649 def __getitem__(self, *args):
5651 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5652 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5654 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5657 def __setitem__(self, *args):
5659 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5660 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5662 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5665 def get_bounding_box(self, *args):
5667 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5668 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5670 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5675 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5676 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5678 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5681 def get_all_indexes(self):
5682 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5683 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5686 def get_extended_indexes(self, *args):
5688 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5689 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5691 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5694 def get_center(self, *args):
5696 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5697 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5699 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5702 def get_extended_index(self, v):
5703 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5704 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5708 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5709 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5712 def get_origin(self):
5713 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5714 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5717 def get_dimension(self):
5718 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5719 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5722 def get_unit_cell(self):
5723 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5724 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5727 def get_has_index(self, v):
5728 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5729 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5733 """__str__(DenseDoubleGrid3D self) -> std::string"""
5734 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5738 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5739 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5742 def show(self, *args):
5744 show(DenseDoubleGrid3D self, _ostream out)
5745 show(DenseDoubleGrid3D self)
5747 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5749 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5750 __del__ =
lambda self:
None
5751 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5752 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5755 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5757 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5759 def __init__(self, *args):
5761 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5762 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5763 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5765 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5767 self.this.append(this)
5768 except __builtin__.Exception:
5771 def add_voxel(self, i, q):
5772 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5773 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5776 def __getitem__(self, *args):
5778 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5779 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5781 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5784 def __setitem__(self, *args):
5786 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5787 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5789 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5792 def get_bounding_box(self, *args):
5794 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5795 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5797 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5802 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5803 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5805 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5808 def get_all_indexes(self):
5809 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5810 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5813 def get_extended_indexes(self, *args):
5815 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5816 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5818 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5821 def get_center(self, *args):
5823 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5824 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5826 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5829 def get_extended_index(self, v):
5830 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5831 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5835 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5836 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5839 def get_origin(self):
5840 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5841 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5844 def get_dimension(self):
5845 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5846 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5849 def get_unit_cell(self):
5850 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5851 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5854 def get_has_index(self, v):
5855 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5856 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5860 """__str__(DenseFloatGrid3D self) -> std::string"""
5861 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5865 """__repr__(DenseFloatGrid3D self) -> std::string"""
5866 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5869 def show(self, *args):
5871 show(DenseFloatGrid3D self, _ostream out)
5872 show(DenseFloatGrid3D self)
5874 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5876 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5877 __del__ =
lambda self:
None
5878 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5879 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5882 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5886 def __init__(self, *args):
5888 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5889 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5890 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5891 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5892 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5894 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5896 self.this.append(this)
5897 except __builtin__.Exception:
5900 def add_voxel(self, i, q):
5901 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5902 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5905 def __getitem__(self, *args):
5907 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5908 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5910 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5913 def __setitem__(self, *args):
5915 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5916 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5918 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5921 def get_bounding_box(self, *args):
5923 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5924 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5926 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5931 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5932 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5934 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5937 def get_all_indexes(self):
5938 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5939 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5942 def get_extended_indexes(self, *args):
5944 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5945 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5947 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5950 def get_center(self, *args):
5952 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5953 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5955 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5958 def get_extended_index(self, v):
5959 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5960 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5964 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5965 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5968 def get_origin(self):
5969 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5970 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5973 def get_dimension(self):
5974 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5975 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5978 def get_unit_cell(self):
5979 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5980 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5983 def get_has_index(self, v):
5984 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5985 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5989 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5990 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5994 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5995 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5998 def show(self, *args):
6000 show(SparseUnboundedIntGrid3D self, _ostream out)
6001 show(SparseUnboundedIntGrid3D self)
6003 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6005 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6006 __del__ =
lambda self:
None
6007 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6008 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6010 class SparseUnboundedIntGridKD(object):
6011 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
6013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6015 def __init__(self, *args):
6017 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6018 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6019 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6021 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6023 self.this.append(this)
6024 except __builtin__.Exception:
6027 def add_voxel(self, i, q):
6028 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6029 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6032 def __getitem__(self, *args):
6034 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6035 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6037 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6040 def __setitem__(self, *args):
6042 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6043 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6045 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6048 def get_bounding_box(self, *args):
6050 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6051 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6053 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6058 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6059 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6061 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6064 def get_all_indexes(self):
6065 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6066 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6069 def get_extended_indexes(self, *args):
6071 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6072 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6074 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6077 def get_center(self, *args):
6079 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6080 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6082 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6085 def get_extended_index(self, v):
6086 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6087 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6091 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6092 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6095 def get_origin(self):
6096 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6097 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6100 def get_dimension(self):
6101 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6102 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6105 def get_unit_cell(self):
6106 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6107 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6110 def get_has_index(self, v):
6111 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6112 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6116 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6117 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6121 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6122 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6125 def show(self, *args):
6127 show(SparseUnboundedIntGridKD self, _ostream out)
6128 show(SparseUnboundedIntGridKD self)
6130 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6132 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6133 __del__ =
lambda self:
None
6134 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6135 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6137 class GridIndex1D(IMP._Value):
6138 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6142 def __init__(self, *args):
6144 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6145 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6146 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6147 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6148 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6149 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6150 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6152 this = _IMP_algebra.new_GridIndex1D(*args)
6154 self.this.append(this)
6155 except __builtin__.Exception:
6158 def get_dimension(self):
6159 """get_dimension(GridIndex1D self) -> unsigned int"""
6160 return _IMP_algebra.GridIndex1D_get_dimension(self)
6163 def __getitem__(self, i):
6164 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6165 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6168 def show(self, *args):
6170 show(GridIndex1D self, _ostream out)
6171 show(GridIndex1D self)
6173 return _IMP_algebra.GridIndex1D_show(self, *args)
6177 """__len__(GridIndex1D self) -> unsigned int"""
6178 return _IMP_algebra.GridIndex1D___len__(self)
6181 def __cmp__(self, o):
6182 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6183 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6186 def __eq__(self, o):
6187 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6188 return _IMP_algebra.GridIndex1D___eq__(self, o)
6191 def __ne__(self, o):
6192 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6193 return _IMP_algebra.GridIndex1D___ne__(self, o)
6196 def __lt__(self, o):
6197 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6198 return _IMP_algebra.GridIndex1D___lt__(self, o)
6201 def __gt__(self, o):
6202 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6203 return _IMP_algebra.GridIndex1D___gt__(self, o)
6206 def __ge__(self, o):
6207 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6208 return _IMP_algebra.GridIndex1D___ge__(self, o)
6211 def __le__(self, o):
6212 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6213 return _IMP_algebra.GridIndex1D___le__(self, o)
6217 """__hash__(GridIndex1D self) -> std::size_t"""
6218 return _IMP_algebra.GridIndex1D___hash__(self)
6222 """__str__(GridIndex1D self) -> std::string"""
6223 return _IMP_algebra.GridIndex1D___str__(self)
6227 """__repr__(GridIndex1D self) -> std::string"""
6228 return _IMP_algebra.GridIndex1D___repr__(self)
6230 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6231 __del__ =
lambda self:
None
6232 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6233 GridIndex1D_swigregister(GridIndex1D)
6235 class GridIndex2D(IMP._Value):
6236 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6238 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6240 def __init__(self, *args):
6242 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6243 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6244 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6245 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6246 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6247 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6248 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6250 this = _IMP_algebra.new_GridIndex2D(*args)
6252 self.this.append(this)
6253 except __builtin__.Exception:
6256 def get_dimension(self):
6257 """get_dimension(GridIndex2D self) -> unsigned int"""
6258 return _IMP_algebra.GridIndex2D_get_dimension(self)
6261 def __getitem__(self, i):
6262 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6263 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6266 def show(self, *args):
6268 show(GridIndex2D self, _ostream out)
6269 show(GridIndex2D self)
6271 return _IMP_algebra.GridIndex2D_show(self, *args)
6275 """__len__(GridIndex2D self) -> unsigned int"""
6276 return _IMP_algebra.GridIndex2D___len__(self)
6279 def __cmp__(self, o):
6280 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6281 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6284 def __eq__(self, o):
6285 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6286 return _IMP_algebra.GridIndex2D___eq__(self, o)
6289 def __ne__(self, o):
6290 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6291 return _IMP_algebra.GridIndex2D___ne__(self, o)
6294 def __lt__(self, o):
6295 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6296 return _IMP_algebra.GridIndex2D___lt__(self, o)
6299 def __gt__(self, o):
6300 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6301 return _IMP_algebra.GridIndex2D___gt__(self, o)
6304 def __ge__(self, o):
6305 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6306 return _IMP_algebra.GridIndex2D___ge__(self, o)
6309 def __le__(self, o):
6310 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6311 return _IMP_algebra.GridIndex2D___le__(self, o)
6315 """__hash__(GridIndex2D self) -> std::size_t"""
6316 return _IMP_algebra.GridIndex2D___hash__(self)
6320 """__str__(GridIndex2D self) -> std::string"""
6321 return _IMP_algebra.GridIndex2D___str__(self)
6325 """__repr__(GridIndex2D self) -> std::string"""
6326 return _IMP_algebra.GridIndex2D___repr__(self)
6328 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6329 __del__ =
lambda self:
None
6330 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6331 GridIndex2D_swigregister(GridIndex2D)
6333 class GridIndex3D(IMP._Value):
6334 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6338 def __init__(self, *args):
6340 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6341 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6342 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6343 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6344 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6345 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6346 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6348 this = _IMP_algebra.new_GridIndex3D(*args)
6350 self.this.append(this)
6351 except __builtin__.Exception:
6354 def get_dimension(self):
6355 """get_dimension(GridIndex3D self) -> unsigned int"""
6356 return _IMP_algebra.GridIndex3D_get_dimension(self)
6359 def __getitem__(self, i):
6360 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6361 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6364 def show(self, *args):
6366 show(GridIndex3D self, _ostream out)
6367 show(GridIndex3D self)
6369 return _IMP_algebra.GridIndex3D_show(self, *args)
6373 """__len__(GridIndex3D self) -> unsigned int"""
6374 return _IMP_algebra.GridIndex3D___len__(self)
6377 def __cmp__(self, o):
6378 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6379 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6382 def __eq__(self, o):
6383 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6384 return _IMP_algebra.GridIndex3D___eq__(self, o)
6387 def __ne__(self, o):
6388 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6389 return _IMP_algebra.GridIndex3D___ne__(self, o)
6392 def __lt__(self, o):
6393 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6394 return _IMP_algebra.GridIndex3D___lt__(self, o)
6397 def __gt__(self, o):
6398 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6399 return _IMP_algebra.GridIndex3D___gt__(self, o)
6402 def __ge__(self, o):
6403 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6404 return _IMP_algebra.GridIndex3D___ge__(self, o)
6407 def __le__(self, o):
6408 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6409 return _IMP_algebra.GridIndex3D___le__(self, o)
6413 """__hash__(GridIndex3D self) -> std::size_t"""
6414 return _IMP_algebra.GridIndex3D___hash__(self)
6418 """__str__(GridIndex3D self) -> std::string"""
6419 return _IMP_algebra.GridIndex3D___str__(self)
6423 """__repr__(GridIndex3D self) -> std::string"""
6424 return _IMP_algebra.GridIndex3D___repr__(self)
6426 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6427 __del__ =
lambda self:
None
6428 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6429 GridIndex3D_swigregister(GridIndex3D)
6431 class GridIndex4D(IMP._Value):
6432 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6434 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6436 def __init__(self, *args):
6438 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6439 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6440 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6441 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6442 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6443 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6444 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6446 this = _IMP_algebra.new_GridIndex4D(*args)
6448 self.this.append(this)
6449 except __builtin__.Exception:
6452 def get_dimension(self):
6453 """get_dimension(GridIndex4D self) -> unsigned int"""
6454 return _IMP_algebra.GridIndex4D_get_dimension(self)
6457 def __getitem__(self, i):
6458 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6459 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6462 def show(self, *args):
6464 show(GridIndex4D self, _ostream out)
6465 show(GridIndex4D self)
6467 return _IMP_algebra.GridIndex4D_show(self, *args)
6471 """__len__(GridIndex4D self) -> unsigned int"""
6472 return _IMP_algebra.GridIndex4D___len__(self)
6475 def __cmp__(self, o):
6476 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6477 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6480 def __eq__(self, o):
6481 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6482 return _IMP_algebra.GridIndex4D___eq__(self, o)
6485 def __ne__(self, o):
6486 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6487 return _IMP_algebra.GridIndex4D___ne__(self, o)
6490 def __lt__(self, o):
6491 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6492 return _IMP_algebra.GridIndex4D___lt__(self, o)
6495 def __gt__(self, o):
6496 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6497 return _IMP_algebra.GridIndex4D___gt__(self, o)
6500 def __ge__(self, o):
6501 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6502 return _IMP_algebra.GridIndex4D___ge__(self, o)
6505 def __le__(self, o):
6506 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6507 return _IMP_algebra.GridIndex4D___le__(self, o)
6511 """__hash__(GridIndex4D self) -> std::size_t"""
6512 return _IMP_algebra.GridIndex4D___hash__(self)
6516 """__str__(GridIndex4D self) -> std::string"""
6517 return _IMP_algebra.GridIndex4D___str__(self)
6521 """__repr__(GridIndex4D self) -> std::string"""
6522 return _IMP_algebra.GridIndex4D___repr__(self)
6524 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6525 __del__ =
lambda self:
None
6526 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6527 GridIndex4D_swigregister(GridIndex4D)
6529 class GridIndex5D(IMP._Value):
6530 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6532 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6534 def __init__(self, *args):
6536 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6537 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6538 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6539 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6540 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6541 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6542 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6544 this = _IMP_algebra.new_GridIndex5D(*args)
6546 self.this.append(this)
6547 except __builtin__.Exception:
6550 def get_dimension(self):
6551 """get_dimension(GridIndex5D self) -> unsigned int"""
6552 return _IMP_algebra.GridIndex5D_get_dimension(self)
6555 def __getitem__(self, i):
6556 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6557 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6560 def show(self, *args):
6562 show(GridIndex5D self, _ostream out)
6563 show(GridIndex5D self)
6565 return _IMP_algebra.GridIndex5D_show(self, *args)
6569 """__len__(GridIndex5D self) -> unsigned int"""
6570 return _IMP_algebra.GridIndex5D___len__(self)
6573 def __cmp__(self, o):
6574 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6575 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6578 def __eq__(self, o):
6579 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6580 return _IMP_algebra.GridIndex5D___eq__(self, o)
6583 def __ne__(self, o):
6584 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6585 return _IMP_algebra.GridIndex5D___ne__(self, o)
6588 def __lt__(self, o):
6589 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6590 return _IMP_algebra.GridIndex5D___lt__(self, o)
6593 def __gt__(self, o):
6594 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6595 return _IMP_algebra.GridIndex5D___gt__(self, o)
6598 def __ge__(self, o):
6599 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6600 return _IMP_algebra.GridIndex5D___ge__(self, o)
6603 def __le__(self, o):
6604 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6605 return _IMP_algebra.GridIndex5D___le__(self, o)
6609 """__hash__(GridIndex5D self) -> std::size_t"""
6610 return _IMP_algebra.GridIndex5D___hash__(self)
6614 """__str__(GridIndex5D self) -> std::string"""
6615 return _IMP_algebra.GridIndex5D___str__(self)
6619 """__repr__(GridIndex5D self) -> std::string"""
6620 return _IMP_algebra.GridIndex5D___repr__(self)
6622 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6623 __del__ =
lambda self:
None
6624 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6625 GridIndex5D_swigregister(GridIndex5D)
6627 class GridIndex6D(IMP._Value):
6628 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6632 def __init__(self, *args):
6634 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6635 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6636 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6637 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6638 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6639 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6640 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6642 this = _IMP_algebra.new_GridIndex6D(*args)
6644 self.this.append(this)
6645 except __builtin__.Exception:
6648 def get_dimension(self):
6649 """get_dimension(GridIndex6D self) -> unsigned int"""
6650 return _IMP_algebra.GridIndex6D_get_dimension(self)
6653 def __getitem__(self, i):
6654 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6655 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6658 def show(self, *args):
6660 show(GridIndex6D self, _ostream out)
6661 show(GridIndex6D self)
6663 return _IMP_algebra.GridIndex6D_show(self, *args)
6667 """__len__(GridIndex6D self) -> unsigned int"""
6668 return _IMP_algebra.GridIndex6D___len__(self)
6671 def __cmp__(self, o):
6672 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6673 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6676 def __eq__(self, o):
6677 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6678 return _IMP_algebra.GridIndex6D___eq__(self, o)
6681 def __ne__(self, o):
6682 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6683 return _IMP_algebra.GridIndex6D___ne__(self, o)
6686 def __lt__(self, o):
6687 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6688 return _IMP_algebra.GridIndex6D___lt__(self, o)
6691 def __gt__(self, o):
6692 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6693 return _IMP_algebra.GridIndex6D___gt__(self, o)
6696 def __ge__(self, o):
6697 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6698 return _IMP_algebra.GridIndex6D___ge__(self, o)
6701 def __le__(self, o):
6702 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6703 return _IMP_algebra.GridIndex6D___le__(self, o)
6707 """__hash__(GridIndex6D self) -> std::size_t"""
6708 return _IMP_algebra.GridIndex6D___hash__(self)
6712 """__str__(GridIndex6D self) -> std::string"""
6713 return _IMP_algebra.GridIndex6D___str__(self)
6717 """__repr__(GridIndex6D self) -> std::string"""
6718 return _IMP_algebra.GridIndex6D___repr__(self)
6720 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6721 __del__ =
lambda self:
None
6722 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6723 GridIndex6D_swigregister(GridIndex6D)
6725 class GridIndexKD(IMP._Value):
6726 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6728 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6730 def __init__(self, *args):
6732 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6733 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6734 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6735 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6736 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6737 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6738 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6740 this = _IMP_algebra.new_GridIndexKD(*args)
6742 self.this.append(this)
6743 except __builtin__.Exception:
6746 def get_dimension(self):
6747 """get_dimension(GridIndexKD self) -> unsigned int"""
6748 return _IMP_algebra.GridIndexKD_get_dimension(self)
6751 def __getitem__(self, i):
6752 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6753 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6756 def show(self, *args):
6758 show(GridIndexKD self, _ostream out)
6759 show(GridIndexKD self)
6761 return _IMP_algebra.GridIndexKD_show(self, *args)
6765 """__len__(GridIndexKD self) -> unsigned int"""
6766 return _IMP_algebra.GridIndexKD___len__(self)
6769 def __cmp__(self, o):
6770 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6771 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6774 def __eq__(self, o):
6775 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6776 return _IMP_algebra.GridIndexKD___eq__(self, o)
6779 def __ne__(self, o):
6780 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6781 return _IMP_algebra.GridIndexKD___ne__(self, o)
6784 def __lt__(self, o):
6785 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6786 return _IMP_algebra.GridIndexKD___lt__(self, o)
6789 def __gt__(self, o):
6790 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6791 return _IMP_algebra.GridIndexKD___gt__(self, o)
6794 def __ge__(self, o):
6795 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6796 return _IMP_algebra.GridIndexKD___ge__(self, o)
6799 def __le__(self, o):
6800 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6801 return _IMP_algebra.GridIndexKD___le__(self, o)
6805 """__hash__(GridIndexKD self) -> std::size_t"""
6806 return _IMP_algebra.GridIndexKD___hash__(self)
6810 """__str__(GridIndexKD self) -> std::string"""
6811 return _IMP_algebra.GridIndexKD___str__(self)
6815 """__repr__(GridIndexKD self) -> std::string"""
6816 return _IMP_algebra.GridIndexKD___repr__(self)
6818 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6819 __del__ =
lambda self:
None
6820 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6821 GridIndexKD_swigregister(GridIndexKD)
6823 class ExtendedGridIndex1D(IMP._Value):
6824 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6828 def __init__(self, *args):
6830 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6831 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6832 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6833 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6834 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6835 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6836 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6837 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6839 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6841 self.this.append(this)
6842 except __builtin__.Exception:
6845 def get_dimension(self):
6846 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6847 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6850 def __cmp__(self, o):
6851 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6852 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6855 def __eq__(self, o):
6856 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6857 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6860 def __ne__(self, o):
6861 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6862 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6865 def __lt__(self, o):
6866 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6867 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6870 def __gt__(self, o):
6871 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6872 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6875 def __ge__(self, o):
6876 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6877 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6880 def __le__(self, o):
6881 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6882 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6885 def __setitem__(self, i, v):
6886 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6887 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6890 def __getitem__(self, i):
6891 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6892 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6895 def show(self, *args):
6897 show(ExtendedGridIndex1D self, _ostream out)
6898 show(ExtendedGridIndex1D self)
6900 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6904 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6905 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6909 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6910 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6913 def get_uniform_offset(self, ii):
6914 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6915 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6918 def get_offset(self, i, j, k):
6919 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6920 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6924 """__str__(ExtendedGridIndex1D self) -> std::string"""
6925 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6929 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6930 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6932 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6933 __del__ =
lambda self:
None
6934 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6935 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6937 class ExtendedGridIndex2D(IMP._Value):
6938 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6940 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6942 def __init__(self, *args):
6944 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6945 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6946 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6947 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6948 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6949 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6950 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6951 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6953 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6955 self.this.append(this)
6956 except __builtin__.Exception:
6959 def get_dimension(self):
6960 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6961 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6964 def __cmp__(self, o):
6965 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6966 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6969 def __eq__(self, o):
6970 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6971 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6974 def __ne__(self, o):
6975 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6976 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6979 def __lt__(self, o):
6980 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6981 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6984 def __gt__(self, o):
6985 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6986 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6989 def __ge__(self, o):
6990 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6991 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6994 def __le__(self, o):
6995 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6996 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6999 def __setitem__(self, i, v):
7000 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7001 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7004 def __getitem__(self, i):
7005 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7006 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7009 def show(self, *args):
7011 show(ExtendedGridIndex2D self, _ostream out)
7012 show(ExtendedGridIndex2D self)
7014 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7018 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7019 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7023 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7024 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7027 def get_uniform_offset(self, ii):
7028 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7029 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7032 def get_offset(self, i, j, k):
7033 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7034 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7038 """__str__(ExtendedGridIndex2D self) -> std::string"""
7039 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7043 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7044 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7046 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7047 __del__ =
lambda self:
None
7048 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7049 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7051 class ExtendedGridIndex3D(IMP._Value):
7052 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7054 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7056 def __init__(self, *args):
7058 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7059 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7060 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7061 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7062 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7063 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7064 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7065 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7067 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7069 self.this.append(this)
7070 except __builtin__.Exception:
7073 def get_dimension(self):
7074 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7075 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7078 def __cmp__(self, o):
7079 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7080 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7083 def __eq__(self, o):
7084 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7085 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7088 def __ne__(self, o):
7089 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7090 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7093 def __lt__(self, o):
7094 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7095 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7098 def __gt__(self, o):
7099 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7100 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7103 def __ge__(self, o):
7104 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7105 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7108 def __le__(self, o):
7109 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7110 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7113 def __setitem__(self, i, v):
7114 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7115 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7118 def __getitem__(self, i):
7119 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7120 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7123 def show(self, *args):
7125 show(ExtendedGridIndex3D self, _ostream out)
7126 show(ExtendedGridIndex3D self)
7128 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7132 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7133 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7137 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7138 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7141 def get_uniform_offset(self, ii):
7142 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7143 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7146 def get_offset(self, i, j, k):
7147 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7148 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7152 """__str__(ExtendedGridIndex3D self) -> std::string"""
7153 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7157 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7158 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7160 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7161 __del__ =
lambda self:
None
7162 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7163 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7165 class ExtendedGridIndex4D(IMP._Value):
7166 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7168 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7170 def __init__(self, *args):
7172 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7173 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7174 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7175 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7176 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7177 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7178 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7179 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7181 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7183 self.this.append(this)
7184 except __builtin__.Exception:
7187 def get_dimension(self):
7188 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7189 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7192 def __cmp__(self, o):
7193 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7194 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7197 def __eq__(self, o):
7198 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7199 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7202 def __ne__(self, o):
7203 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7204 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7207 def __lt__(self, o):
7208 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7209 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7212 def __gt__(self, o):
7213 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7214 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7217 def __ge__(self, o):
7218 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7219 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7222 def __le__(self, o):
7223 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7224 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7227 def __setitem__(self, i, v):
7228 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7229 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7232 def __getitem__(self, i):
7233 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7234 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7237 def show(self, *args):
7239 show(ExtendedGridIndex4D self, _ostream out)
7240 show(ExtendedGridIndex4D self)
7242 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7246 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7247 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7251 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7252 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7255 def get_uniform_offset(self, ii):
7256 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7257 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7260 def get_offset(self, i, j, k):
7261 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7262 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7266 """__str__(ExtendedGridIndex4D self) -> std::string"""
7267 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7271 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7272 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7274 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7275 __del__ =
lambda self:
None
7276 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7277 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7279 class ExtendedGridIndex5D(IMP._Value):
7280 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7284 def __init__(self, *args):
7286 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7287 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7288 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7289 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7290 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7291 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7292 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7293 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7295 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7297 self.this.append(this)
7298 except __builtin__.Exception:
7301 def get_dimension(self):
7302 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7303 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7306 def __cmp__(self, o):
7307 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7308 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7311 def __eq__(self, o):
7312 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7313 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7316 def __ne__(self, o):
7317 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7318 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7321 def __lt__(self, o):
7322 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7323 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7326 def __gt__(self, o):
7327 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7328 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7331 def __ge__(self, o):
7332 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7333 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7336 def __le__(self, o):
7337 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7338 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7341 def __setitem__(self, i, v):
7342 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7343 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7346 def __getitem__(self, i):
7347 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7348 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7351 def show(self, *args):
7353 show(ExtendedGridIndex5D self, _ostream out)
7354 show(ExtendedGridIndex5D self)
7356 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7360 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7361 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7365 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7366 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7369 def get_uniform_offset(self, ii):
7370 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7371 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7374 def get_offset(self, i, j, k):
7375 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7376 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7380 """__str__(ExtendedGridIndex5D self) -> std::string"""
7381 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7385 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7386 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7388 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7389 __del__ =
lambda self:
None
7390 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7391 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7393 class ExtendedGridIndex6D(IMP._Value):
7394 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7398 def __init__(self, *args):
7400 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7401 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7402 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7403 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7404 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7405 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7406 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7407 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7409 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7411 self.this.append(this)
7412 except __builtin__.Exception:
7415 def get_dimension(self):
7416 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7417 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7420 def __cmp__(self, o):
7421 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7422 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7425 def __eq__(self, o):
7426 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7427 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7430 def __ne__(self, o):
7431 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7432 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7435 def __lt__(self, o):
7436 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7437 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7440 def __gt__(self, o):
7441 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7442 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7445 def __ge__(self, o):
7446 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7447 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7450 def __le__(self, o):
7451 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7452 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7455 def __setitem__(self, i, v):
7456 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7457 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7460 def __getitem__(self, i):
7461 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7462 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7465 def show(self, *args):
7467 show(ExtendedGridIndex6D self, _ostream out)
7468 show(ExtendedGridIndex6D self)
7470 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7474 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7475 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7479 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7480 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7483 def get_uniform_offset(self, ii):
7484 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7485 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7488 def get_offset(self, i, j, k):
7489 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7490 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7494 """__str__(ExtendedGridIndex6D self) -> std::string"""
7495 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7499 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7500 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7502 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7503 __del__ =
lambda self:
None
7504 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7505 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7507 class ExtendedGridIndexKD(IMP._Value):
7508 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7512 def __init__(self, *args):
7514 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7515 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7516 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7517 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7518 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7519 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7520 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7521 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7523 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7525 self.this.append(this)
7526 except __builtin__.Exception:
7529 def get_dimension(self):
7530 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7531 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7534 def __cmp__(self, o):
7535 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7536 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7539 def __eq__(self, o):
7540 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7541 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7544 def __ne__(self, o):
7545 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7546 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7549 def __lt__(self, o):
7550 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7551 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7554 def __gt__(self, o):
7555 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7556 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7559 def __ge__(self, o):
7560 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7561 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7564 def __le__(self, o):
7565 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7566 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7569 def __setitem__(self, i, v):
7570 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7571 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7574 def __getitem__(self, i):
7575 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7576 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7579 def show(self, *args):
7581 show(ExtendedGridIndexKD self, _ostream out)
7582 show(ExtendedGridIndexKD self)
7584 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7588 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7589 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7593 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7594 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7597 def get_uniform_offset(self, ii):
7598 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7599 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7602 def get_offset(self, i, j, k):
7603 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7604 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7608 """__str__(ExtendedGridIndexKD self) -> std::string"""
7609 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7613 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7614 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7616 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7617 __del__ =
lambda self:
None
7618 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7619 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7621 class BoundedGridRange1D(object):
7622 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7626 def get_is_bounded():
7627 """get_is_bounded() -> bool"""
7628 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7630 get_is_bounded = staticmethod(get_is_bounded)
7632 def __init__(self, *args):
7634 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7635 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7637 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7639 self.this.append(this)
7640 except __builtin__.Exception:
7643 def get_number_of_voxels(self, *args):
7645 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7646 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7648 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7651 def get_end_index(self):
7652 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7653 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7656 def show(self, *args):
7658 show(BoundedGridRange1D self, _ostream out)
7659 show(BoundedGridRange1D self)
7661 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7664 def get_all_indexes(self):
7665 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7666 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7670 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7671 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7674 def get_extended_indexes(self, lb, ub):
7675 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7676 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7680 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7681 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7684 def get_has_index(self, v):
7685 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7686 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7689 def get_minimum_extended_index(self):
7690 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7691 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7694 def get_maximum_extended_index(self):
7695 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7696 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7700 """__str__(BoundedGridRange1D self) -> std::string"""
7701 return _IMP_algebra.BoundedGridRange1D___str__(self)
7705 """__repr__(BoundedGridRange1D self) -> std::string"""
7706 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7709 def __cmp__(self, arg2):
7710 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7711 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7714 def __eq__(self, arg2):
7715 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7716 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7718 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7719 __del__ =
lambda self:
None
7720 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7721 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7723 def BoundedGridRange1D_get_is_bounded():
7724 """BoundedGridRange1D_get_is_bounded() -> bool"""
7725 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7727 class BoundedGridRange2D(object):
7728 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7732 def get_is_bounded():
7733 """get_is_bounded() -> bool"""
7734 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7736 get_is_bounded = staticmethod(get_is_bounded)
7738 def __init__(self, *args):
7740 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7741 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7743 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7745 self.this.append(this)
7746 except __builtin__.Exception:
7749 def get_number_of_voxels(self, *args):
7751 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7752 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7754 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7757 def get_end_index(self):
7758 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7759 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7762 def show(self, *args):
7764 show(BoundedGridRange2D self, _ostream out)
7765 show(BoundedGridRange2D self)
7767 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7770 def get_all_indexes(self):
7771 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7772 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7776 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7777 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7780 def get_extended_indexes(self, lb, ub):
7781 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7782 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7786 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7787 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7790 def get_has_index(self, v):
7791 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7792 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7795 def get_minimum_extended_index(self):
7796 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7797 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7800 def get_maximum_extended_index(self):
7801 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7802 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7806 """__str__(BoundedGridRange2D self) -> std::string"""
7807 return _IMP_algebra.BoundedGridRange2D___str__(self)
7811 """__repr__(BoundedGridRange2D self) -> std::string"""
7812 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7815 def __cmp__(self, arg2):
7816 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7817 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7820 def __eq__(self, arg2):
7821 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7822 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7824 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7825 __del__ =
lambda self:
None
7826 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7827 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7829 def BoundedGridRange2D_get_is_bounded():
7830 """BoundedGridRange2D_get_is_bounded() -> bool"""
7831 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7833 class BoundedGridRange3D(object):
7834 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7836 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7838 def get_is_bounded():
7839 """get_is_bounded() -> bool"""
7840 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7842 get_is_bounded = staticmethod(get_is_bounded)
7844 def __init__(self, *args):
7846 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7847 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7849 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7851 self.this.append(this)
7852 except __builtin__.Exception:
7855 def get_number_of_voxels(self, *args):
7857 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7858 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7860 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7863 def get_end_index(self):
7864 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7865 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7868 def show(self, *args):
7870 show(BoundedGridRange3D self, _ostream out)
7871 show(BoundedGridRange3D self)
7873 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7876 def get_all_indexes(self):
7877 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7878 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7882 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7883 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7886 def get_extended_indexes(self, lb, ub):
7887 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7888 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7892 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7893 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7896 def get_has_index(self, v):
7897 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7898 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7901 def get_minimum_extended_index(self):
7902 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7903 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7906 def get_maximum_extended_index(self):
7907 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7908 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7912 """__str__(BoundedGridRange3D self) -> std::string"""
7913 return _IMP_algebra.BoundedGridRange3D___str__(self)
7917 """__repr__(BoundedGridRange3D self) -> std::string"""
7918 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7921 def __cmp__(self, arg2):
7922 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7923 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7926 def __eq__(self, arg2):
7927 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7928 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7930 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7931 __del__ =
lambda self:
None
7932 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7933 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7935 def BoundedGridRange3D_get_is_bounded():
7936 """BoundedGridRange3D_get_is_bounded() -> bool"""
7937 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7939 class BoundedGridRange4D(object):
7940 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7942 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7944 def get_is_bounded():
7945 """get_is_bounded() -> bool"""
7946 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7948 get_is_bounded = staticmethod(get_is_bounded)
7950 def __init__(self, *args):
7952 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7953 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7955 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7957 self.this.append(this)
7958 except __builtin__.Exception:
7961 def get_number_of_voxels(self, *args):
7963 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7964 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7966 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7969 def get_end_index(self):
7970 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7971 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7974 def show(self, *args):
7976 show(BoundedGridRange4D self, _ostream out)
7977 show(BoundedGridRange4D self)
7979 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7982 def get_all_indexes(self):
7983 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7984 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7988 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7989 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7992 def get_extended_indexes(self, lb, ub):
7993 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7994 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7998 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7999 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8002 def get_has_index(self, v):
8003 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8004 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8007 def get_minimum_extended_index(self):
8008 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8009 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8012 def get_maximum_extended_index(self):
8013 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8014 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8018 """__str__(BoundedGridRange4D self) -> std::string"""
8019 return _IMP_algebra.BoundedGridRange4D___str__(self)
8023 """__repr__(BoundedGridRange4D self) -> std::string"""
8024 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8027 def __cmp__(self, arg2):
8028 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8029 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8032 def __eq__(self, arg2):
8033 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8034 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8036 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8037 __del__ =
lambda self:
None
8038 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8039 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8041 def BoundedGridRange4D_get_is_bounded():
8042 """BoundedGridRange4D_get_is_bounded() -> bool"""
8043 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8045 class BoundedGridRange5D(object):
8046 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8050 def get_is_bounded():
8051 """get_is_bounded() -> bool"""
8052 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8054 get_is_bounded = staticmethod(get_is_bounded)
8056 def __init__(self, *args):
8058 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8059 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8061 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8063 self.this.append(this)
8064 except __builtin__.Exception:
8067 def get_number_of_voxels(self, *args):
8069 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8070 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8072 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8075 def get_end_index(self):
8076 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8077 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8080 def show(self, *args):
8082 show(BoundedGridRange5D self, _ostream out)
8083 show(BoundedGridRange5D self)
8085 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8088 def get_all_indexes(self):
8089 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8090 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8094 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8095 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8098 def get_extended_indexes(self, lb, ub):
8099 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8100 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8104 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8105 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8108 def get_has_index(self, v):
8109 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8110 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8113 def get_minimum_extended_index(self):
8114 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8115 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8118 def get_maximum_extended_index(self):
8119 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8120 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8124 """__str__(BoundedGridRange5D self) -> std::string"""
8125 return _IMP_algebra.BoundedGridRange5D___str__(self)
8129 """__repr__(BoundedGridRange5D self) -> std::string"""
8130 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8133 def __cmp__(self, arg2):
8134 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8135 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8138 def __eq__(self, arg2):
8139 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8140 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8142 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8143 __del__ =
lambda self:
None
8144 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8145 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8147 def BoundedGridRange5D_get_is_bounded():
8148 """BoundedGridRange5D_get_is_bounded() -> bool"""
8149 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8151 class BoundedGridRange6D(object):
8152 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8156 def get_is_bounded():
8157 """get_is_bounded() -> bool"""
8158 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8160 get_is_bounded = staticmethod(get_is_bounded)
8162 def __init__(self, *args):
8164 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8165 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8167 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8169 self.this.append(this)
8170 except __builtin__.Exception:
8173 def get_number_of_voxels(self, *args):
8175 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8176 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8178 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8181 def get_end_index(self):
8182 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8183 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8186 def show(self, *args):
8188 show(BoundedGridRange6D self, _ostream out)
8189 show(BoundedGridRange6D self)
8191 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8194 def get_all_indexes(self):
8195 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8196 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8200 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8201 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8204 def get_extended_indexes(self, lb, ub):
8205 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8206 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8210 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8211 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8214 def get_has_index(self, v):
8215 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8216 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8219 def get_minimum_extended_index(self):
8220 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8221 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8224 def get_maximum_extended_index(self):
8225 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8226 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8230 """__str__(BoundedGridRange6D self) -> std::string"""
8231 return _IMP_algebra.BoundedGridRange6D___str__(self)
8235 """__repr__(BoundedGridRange6D self) -> std::string"""
8236 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8239 def __cmp__(self, arg2):
8240 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8241 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8244 def __eq__(self, arg2):
8245 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8246 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8248 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8249 __del__ =
lambda self:
None
8250 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8251 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8253 def BoundedGridRange6D_get_is_bounded():
8254 """BoundedGridRange6D_get_is_bounded() -> bool"""
8255 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8257 class BoundedGridRangeKD(object):
8258 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8260 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8262 def get_is_bounded():
8263 """get_is_bounded() -> bool"""
8264 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8266 get_is_bounded = staticmethod(get_is_bounded)
8268 def __init__(self, *args):
8270 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8271 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8273 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8275 self.this.append(this)
8276 except __builtin__.Exception:
8279 def get_number_of_voxels(self, *args):
8281 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8282 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8284 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8287 def get_end_index(self):
8288 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8289 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8292 def show(self, *args):
8294 show(BoundedGridRangeKD self, _ostream out)
8295 show(BoundedGridRangeKD self)
8297 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8300 def get_all_indexes(self):
8301 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8302 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8306 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8307 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8310 def get_extended_indexes(self, lb, ub):
8311 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8312 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8316 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8317 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8320 def get_has_index(self, v):
8321 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8322 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8325 def get_minimum_extended_index(self):
8326 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8327 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8330 def get_maximum_extended_index(self):
8331 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8332 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8336 """__str__(BoundedGridRangeKD self) -> std::string"""
8337 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8341 """__repr__(BoundedGridRangeKD self) -> std::string"""
8342 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8345 def __cmp__(self, arg2):
8346 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8347 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8350 def __eq__(self, arg2):
8351 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8352 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8354 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8355 __del__ =
lambda self:
None
8356 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8357 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8359 def BoundedGridRangeKD_get_is_bounded():
8360 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8361 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8363 class UnboundedGridRange1D(object):
8364 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8366 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8368 def __init__(self, *args):
8370 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8371 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8373 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8375 self.this.append(this)
8376 except __builtin__.Exception:
8379 def set_number_of_voxels(self, arg2):
8380 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8381 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8384 def get_number_of_voxels(self, arg2):
8385 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8386 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8389 def get_is_bounded():
8390 """get_is_bounded() -> bool"""
8391 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8393 get_is_bounded = staticmethod(get_is_bounded)
8395 def get_has_index(self, arg2):
8396 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8397 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8400 def show(self, *args):
8402 show(UnboundedGridRange1D self, _ostream out)
8403 show(UnboundedGridRange1D self)
8405 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8408 def get_extended_indexes(self, lb, ub):
8409 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8410 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8414 """__str__(UnboundedGridRange1D self) -> std::string"""
8415 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8419 """__repr__(UnboundedGridRange1D self) -> std::string"""
8420 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8423 def __cmp__(self, arg2):
8424 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8425 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8428 def __eq__(self, arg2):
8429 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8430 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8432 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8433 __del__ =
lambda self:
None
8434 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8435 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8437 def UnboundedGridRange1D_get_is_bounded():
8438 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8439 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8441 class UnboundedGridRange2D(object):
8442 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8444 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8446 def __init__(self, *args):
8448 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8449 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8451 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8453 self.this.append(this)
8454 except __builtin__.Exception:
8457 def set_number_of_voxels(self, arg2):
8458 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8459 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8462 def get_number_of_voxels(self, arg2):
8463 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8464 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8467 def get_is_bounded():
8468 """get_is_bounded() -> bool"""
8469 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8471 get_is_bounded = staticmethod(get_is_bounded)
8473 def get_has_index(self, arg2):
8474 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8475 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8478 def show(self, *args):
8480 show(UnboundedGridRange2D self, _ostream out)
8481 show(UnboundedGridRange2D self)
8483 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8486 def get_extended_indexes(self, lb, ub):
8487 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8488 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8492 """__str__(UnboundedGridRange2D self) -> std::string"""
8493 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8497 """__repr__(UnboundedGridRange2D self) -> std::string"""
8498 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8501 def __cmp__(self, arg2):
8502 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8503 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8506 def __eq__(self, arg2):
8507 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8508 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8510 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8511 __del__ =
lambda self:
None
8512 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8513 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8515 def UnboundedGridRange2D_get_is_bounded():
8516 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8517 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8519 class UnboundedGridRange3D(object):
8520 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8522 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8524 def __init__(self, *args):
8526 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8527 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8529 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8531 self.this.append(this)
8532 except __builtin__.Exception:
8535 def set_number_of_voxels(self, arg2):
8536 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8537 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8540 def get_number_of_voxels(self, arg2):
8541 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8542 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8545 def get_is_bounded():
8546 """get_is_bounded() -> bool"""
8547 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8549 get_is_bounded = staticmethod(get_is_bounded)
8551 def get_has_index(self, arg2):
8552 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8553 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8556 def show(self, *args):
8558 show(UnboundedGridRange3D self, _ostream out)
8559 show(UnboundedGridRange3D self)
8561 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8564 def get_extended_indexes(self, lb, ub):
8565 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8566 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8570 """__str__(UnboundedGridRange3D self) -> std::string"""
8571 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8575 """__repr__(UnboundedGridRange3D self) -> std::string"""
8576 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8579 def __cmp__(self, arg2):
8580 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8581 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8584 def __eq__(self, arg2):
8585 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8586 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8588 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8589 __del__ =
lambda self:
None
8590 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8591 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8593 def UnboundedGridRange3D_get_is_bounded():
8594 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8595 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8597 class UnboundedGridRange4D(object):
8598 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8600 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8602 def __init__(self, *args):
8604 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8605 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8607 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8609 self.this.append(this)
8610 except __builtin__.Exception:
8613 def set_number_of_voxels(self, arg2):
8614 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8615 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8618 def get_number_of_voxels(self, arg2):
8619 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8620 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8623 def get_is_bounded():
8624 """get_is_bounded() -> bool"""
8625 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8627 get_is_bounded = staticmethod(get_is_bounded)
8629 def get_has_index(self, arg2):
8630 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8631 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8634 def show(self, *args):
8636 show(UnboundedGridRange4D self, _ostream out)
8637 show(UnboundedGridRange4D self)
8639 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8642 def get_extended_indexes(self, lb, ub):
8643 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8644 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8648 """__str__(UnboundedGridRange4D self) -> std::string"""
8649 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8653 """__repr__(UnboundedGridRange4D self) -> std::string"""
8654 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8657 def __cmp__(self, arg2):
8658 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8659 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8662 def __eq__(self, arg2):
8663 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8664 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8666 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8667 __del__ =
lambda self:
None
8668 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8669 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8671 def UnboundedGridRange4D_get_is_bounded():
8672 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8673 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8675 class UnboundedGridRange5D(object):
8676 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8678 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8680 def __init__(self, *args):
8682 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8683 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8685 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8687 self.this.append(this)
8688 except __builtin__.Exception:
8691 def set_number_of_voxels(self, arg2):
8692 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8693 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8696 def get_number_of_voxels(self, arg2):
8697 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8698 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8701 def get_is_bounded():
8702 """get_is_bounded() -> bool"""
8703 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8705 get_is_bounded = staticmethod(get_is_bounded)
8707 def get_has_index(self, arg2):
8708 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8709 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8712 def show(self, *args):
8714 show(UnboundedGridRange5D self, _ostream out)
8715 show(UnboundedGridRange5D self)
8717 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8720 def get_extended_indexes(self, lb, ub):
8721 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8722 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8726 """__str__(UnboundedGridRange5D self) -> std::string"""
8727 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8731 """__repr__(UnboundedGridRange5D self) -> std::string"""
8732 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8735 def __cmp__(self, arg2):
8736 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8737 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8740 def __eq__(self, arg2):
8741 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8742 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8744 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8745 __del__ =
lambda self:
None
8746 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8747 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8749 def UnboundedGridRange5D_get_is_bounded():
8750 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8751 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8753 class UnboundedGridRange6D(object):
8754 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8756 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8758 def __init__(self, *args):
8760 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8761 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8763 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8765 self.this.append(this)
8766 except __builtin__.Exception:
8769 def set_number_of_voxels(self, arg2):
8770 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8771 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8774 def get_number_of_voxels(self, arg2):
8775 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8776 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8779 def get_is_bounded():
8780 """get_is_bounded() -> bool"""
8781 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8783 get_is_bounded = staticmethod(get_is_bounded)
8785 def get_has_index(self, arg2):
8786 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8787 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8790 def show(self, *args):
8792 show(UnboundedGridRange6D self, _ostream out)
8793 show(UnboundedGridRange6D self)
8795 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8798 def get_extended_indexes(self, lb, ub):
8799 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8800 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8804 """__str__(UnboundedGridRange6D self) -> std::string"""
8805 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8809 """__repr__(UnboundedGridRange6D self) -> std::string"""
8810 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8813 def __cmp__(self, arg2):
8814 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8815 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8818 def __eq__(self, arg2):
8819 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8820 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8822 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8823 __del__ =
lambda self:
None
8824 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8825 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8827 def UnboundedGridRange6D_get_is_bounded():
8828 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8829 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8831 class UnboundedGridRangeKD(object):
8832 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8836 def __init__(self, *args):
8838 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8839 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8841 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8843 self.this.append(this)
8844 except __builtin__.Exception:
8847 def set_number_of_voxels(self, arg2):
8848 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8849 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8852 def get_number_of_voxels(self, arg2):
8853 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8854 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8857 def get_is_bounded():
8858 """get_is_bounded() -> bool"""
8859 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8861 get_is_bounded = staticmethod(get_is_bounded)
8863 def get_has_index(self, arg2):
8864 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8865 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8868 def show(self, *args):
8870 show(UnboundedGridRangeKD self, _ostream out)
8871 show(UnboundedGridRangeKD self)
8873 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8876 def get_extended_indexes(self, lb, ub):
8877 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8878 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8882 """__str__(UnboundedGridRangeKD self) -> std::string"""
8883 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8887 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8888 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8891 def __cmp__(self, arg2):
8892 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8893 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8896 def __eq__(self, arg2):
8897 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8898 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8900 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8901 __del__ =
lambda self:
None
8902 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8903 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8905 def UnboundedGridRangeKD_get_is_bounded():
8906 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8907 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8909 class DefaultEmbedding1D(object):
8910 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8912 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8914 def __init__(self, *args):
8916 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8917 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8919 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8921 self.this.append(this)
8922 except __builtin__.Exception:
8925 def set_origin(self, o):
8926 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8927 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8930 def get_origin(self):
8931 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8932 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8935 def get_dimension(self):
8936 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8937 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8940 def set_unit_cell(self, o):
8941 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8942 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8945 def get_inverse_unit_cell(self):
8946 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8947 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8950 def get_unit_cell(self):
8951 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8952 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8955 def get_extended_index(self, o):
8956 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8957 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8961 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8962 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8965 def get_center(self, *args):
8967 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8968 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8970 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8973 def get_bounding_box(self, *args):
8975 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8976 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8978 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8981 def show(self, *args):
8983 show(DefaultEmbedding1D self, _ostream out)
8984 show(DefaultEmbedding1D self)
8986 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8990 """__str__(DefaultEmbedding1D self) -> std::string"""
8991 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8995 """__repr__(DefaultEmbedding1D self) -> std::string"""
8996 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8999 def __cmp__(self, arg2):
9000 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9001 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9004 def __eq__(self, arg2):
9005 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9006 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9008 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9009 __del__ =
lambda self:
None
9010 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9011 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9013 class DefaultEmbedding2D(object):
9014 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
9016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9018 def __init__(self, *args):
9020 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9021 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9023 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9025 self.this.append(this)
9026 except __builtin__.Exception:
9029 def set_origin(self, o):
9030 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9031 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9034 def get_origin(self):
9035 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9036 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9039 def get_dimension(self):
9040 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9041 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9044 def set_unit_cell(self, o):
9045 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9046 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9049 def get_inverse_unit_cell(self):
9050 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9051 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9054 def get_unit_cell(self):
9055 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9056 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9059 def get_extended_index(self, o):
9060 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9061 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9065 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9066 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9069 def get_center(self, *args):
9071 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9072 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9074 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9077 def get_bounding_box(self, *args):
9079 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9080 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9082 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9085 def show(self, *args):
9087 show(DefaultEmbedding2D self, _ostream out)
9088 show(DefaultEmbedding2D self)
9090 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9094 """__str__(DefaultEmbedding2D self) -> std::string"""
9095 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9099 """__repr__(DefaultEmbedding2D self) -> std::string"""
9100 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9103 def __cmp__(self, arg2):
9104 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9105 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9108 def __eq__(self, arg2):
9109 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9110 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9112 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9113 __del__ =
lambda self:
None
9114 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9115 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9117 class DefaultEmbedding3D(object):
9118 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9122 def __init__(self, *args):
9124 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9125 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9127 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9129 self.this.append(this)
9130 except __builtin__.Exception:
9133 def set_origin(self, o):
9134 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9135 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9138 def get_origin(self):
9139 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9140 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9143 def get_dimension(self):
9144 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9145 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9148 def set_unit_cell(self, o):
9149 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9150 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9153 def get_inverse_unit_cell(self):
9154 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9155 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9158 def get_unit_cell(self):
9159 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9160 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9163 def get_extended_index(self, o):
9164 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9165 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9169 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9170 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9173 def get_center(self, *args):
9175 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9176 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9178 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9181 def get_bounding_box(self, *args):
9183 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9184 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9186 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9189 def show(self, *args):
9191 show(DefaultEmbedding3D self, _ostream out)
9192 show(DefaultEmbedding3D self)
9194 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9198 """__str__(DefaultEmbedding3D self) -> std::string"""
9199 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9203 """__repr__(DefaultEmbedding3D self) -> std::string"""
9204 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9207 def __cmp__(self, arg2):
9208 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9209 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9212 def __eq__(self, arg2):
9213 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9214 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9216 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9217 __del__ =
lambda self:
None
9218 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9219 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9221 class DefaultEmbedding4D(object):
9222 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9226 def __init__(self, *args):
9228 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9229 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9231 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9233 self.this.append(this)
9234 except __builtin__.Exception:
9237 def set_origin(self, o):
9238 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9239 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9242 def get_origin(self):
9243 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9244 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9247 def get_dimension(self):
9248 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9249 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9252 def set_unit_cell(self, o):
9253 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9254 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9257 def get_inverse_unit_cell(self):
9258 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9259 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9262 def get_unit_cell(self):
9263 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9264 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9267 def get_extended_index(self, o):
9268 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9269 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9273 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9274 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9277 def get_center(self, *args):
9279 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9280 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9282 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9285 def get_bounding_box(self, *args):
9287 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9288 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9290 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9293 def show(self, *args):
9295 show(DefaultEmbedding4D self, _ostream out)
9296 show(DefaultEmbedding4D self)
9298 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9302 """__str__(DefaultEmbedding4D self) -> std::string"""
9303 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9307 """__repr__(DefaultEmbedding4D self) -> std::string"""
9308 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9311 def __cmp__(self, arg2):
9312 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9313 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9316 def __eq__(self, arg2):
9317 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9318 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9320 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9321 __del__ =
lambda self:
None
9322 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9323 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9325 class DefaultEmbedding5D(object):
9326 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9328 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9330 def __init__(self, *args):
9332 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9333 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9335 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9337 self.this.append(this)
9338 except __builtin__.Exception:
9341 def set_origin(self, o):
9342 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9343 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9346 def get_origin(self):
9347 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9348 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9351 def get_dimension(self):
9352 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9353 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9356 def set_unit_cell(self, o):
9357 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9358 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9361 def get_inverse_unit_cell(self):
9362 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9363 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9366 def get_unit_cell(self):
9367 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9368 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9371 def get_extended_index(self, o):
9372 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9373 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9377 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9378 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9381 def get_center(self, *args):
9383 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9384 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9386 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9389 def get_bounding_box(self, *args):
9391 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9392 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9394 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9397 def show(self, *args):
9399 show(DefaultEmbedding5D self, _ostream out)
9400 show(DefaultEmbedding5D self)
9402 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9406 """__str__(DefaultEmbedding5D self) -> std::string"""
9407 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9411 """__repr__(DefaultEmbedding5D self) -> std::string"""
9412 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9415 def __cmp__(self, arg2):
9416 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9417 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9420 def __eq__(self, arg2):
9421 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9422 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9424 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9425 __del__ =
lambda self:
None
9426 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9427 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9429 class DefaultEmbedding6D(object):
9430 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9432 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9434 def __init__(self, *args):
9436 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9437 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9439 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9441 self.this.append(this)
9442 except __builtin__.Exception:
9445 def set_origin(self, o):
9446 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9447 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9450 def get_origin(self):
9451 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9452 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9455 def get_dimension(self):
9456 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9457 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9460 def set_unit_cell(self, o):
9461 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9462 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9465 def get_inverse_unit_cell(self):
9466 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9467 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9470 def get_unit_cell(self):
9471 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9472 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9475 def get_extended_index(self, o):
9476 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9477 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9481 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9482 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9485 def get_center(self, *args):
9487 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9488 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9490 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9493 def get_bounding_box(self, *args):
9495 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9496 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9498 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9501 def show(self, *args):
9503 show(DefaultEmbedding6D self, _ostream out)
9504 show(DefaultEmbedding6D self)
9506 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9510 """__str__(DefaultEmbedding6D self) -> std::string"""
9511 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9515 """__repr__(DefaultEmbedding6D self) -> std::string"""
9516 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9519 def __cmp__(self, arg2):
9520 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9521 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9524 def __eq__(self, arg2):
9525 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9526 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9528 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9529 __del__ =
lambda self:
None
9530 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9531 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9533 class DefaultEmbeddingKD(object):
9534 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9538 def __init__(self, *args):
9540 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9541 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9543 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9545 self.this.append(this)
9546 except __builtin__.Exception:
9549 def set_origin(self, o):
9550 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9551 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9554 def get_origin(self):
9555 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9556 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9559 def get_dimension(self):
9560 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9561 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9564 def set_unit_cell(self, o):
9565 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9566 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9569 def get_inverse_unit_cell(self):
9570 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9571 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9574 def get_unit_cell(self):
9575 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9576 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9579 def get_extended_index(self, o):
9580 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9581 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9585 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9586 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9589 def get_center(self, *args):
9591 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9592 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9594 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9597 def get_bounding_box(self, *args):
9599 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9600 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9602 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9605 def show(self, *args):
9607 show(DefaultEmbeddingKD self, _ostream out)
9608 show(DefaultEmbeddingKD self)
9610 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9614 """__str__(DefaultEmbeddingKD self) -> std::string"""
9615 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9619 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9620 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9623 def __cmp__(self, arg2):
9624 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9625 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9628 def __eq__(self, arg2):
9629 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9630 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9632 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9633 __del__ =
lambda self:
None
9634 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9635 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9637 class LogEmbedding1D(object):
9638 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9642 def __init__(self, *args):
9644 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9645 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9646 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9647 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9648 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9650 this = _IMP_algebra.new_LogEmbedding1D(*args)
9652 self.this.append(this)
9653 except __builtin__.Exception:
9656 def set_origin(self, o):
9657 """set_origin(LogEmbedding1D self, Vector1D o)"""
9658 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9661 def get_origin(self):
9662 """get_origin(LogEmbedding1D self) -> Vector1D"""
9663 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9666 def get_dimension(self):
9667 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9668 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9671 def set_unit_cell(self, *args):
9673 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9674 set_unit_cell(LogEmbedding1D self, Vector1D o)
9676 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9679 def get_unit_cell(self):
9680 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9681 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9684 def get_extended_index(self, o):
9685 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9686 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9690 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9691 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9694 def get_center(self, *args):
9696 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9697 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9699 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9702 def get_bounding_box(self, *args):
9704 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9705 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9707 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9710 def show(self, *args):
9712 show(LogEmbedding1D self, _ostream out)
9713 show(LogEmbedding1D self)
9715 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9719 """__str__(LogEmbedding1D self) -> std::string"""
9720 return _IMP_algebra.LogEmbedding1D___str__(self)
9724 """__repr__(LogEmbedding1D self) -> std::string"""
9725 return _IMP_algebra.LogEmbedding1D___repr__(self)
9728 def __cmp__(self, arg2):
9729 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9730 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9733 def __eq__(self, arg2):
9734 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9735 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9737 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9738 __del__ =
lambda self:
None
9739 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9740 LogEmbedding1D_swigregister(LogEmbedding1D)
9742 class LogEmbedding2D(object):
9743 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9745 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9747 def __init__(self, *args):
9749 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9750 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9751 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9752 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9753 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9755 this = _IMP_algebra.new_LogEmbedding2D(*args)
9757 self.this.append(this)
9758 except __builtin__.Exception:
9761 def set_origin(self, o):
9762 """set_origin(LogEmbedding2D self, Vector2D o)"""
9763 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9766 def get_origin(self):
9767 """get_origin(LogEmbedding2D self) -> Vector2D"""
9768 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9771 def get_dimension(self):
9772 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9773 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9776 def set_unit_cell(self, *args):
9778 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9779 set_unit_cell(LogEmbedding2D self, Vector2D o)
9781 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9784 def get_unit_cell(self):
9785 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9786 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9789 def get_extended_index(self, o):
9790 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9791 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9795 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9796 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9799 def get_center(self, *args):
9801 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9802 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9804 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9807 def get_bounding_box(self, *args):
9809 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9810 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9812 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9815 def show(self, *args):
9817 show(LogEmbedding2D self, _ostream out)
9818 show(LogEmbedding2D self)
9820 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9824 """__str__(LogEmbedding2D self) -> std::string"""
9825 return _IMP_algebra.LogEmbedding2D___str__(self)
9829 """__repr__(LogEmbedding2D self) -> std::string"""
9830 return _IMP_algebra.LogEmbedding2D___repr__(self)
9833 def __cmp__(self, arg2):
9834 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9835 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9838 def __eq__(self, arg2):
9839 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9840 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9842 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9843 __del__ =
lambda self:
None
9844 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9845 LogEmbedding2D_swigregister(LogEmbedding2D)
9847 class LogEmbedding4D(object):
9848 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9850 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9852 def __init__(self, *args):
9854 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9855 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9856 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9857 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9858 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9860 this = _IMP_algebra.new_LogEmbedding4D(*args)
9862 self.this.append(this)
9863 except __builtin__.Exception:
9866 def set_origin(self, o):
9867 """set_origin(LogEmbedding4D self, Vector4D o)"""
9868 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9871 def get_origin(self):
9872 """get_origin(LogEmbedding4D self) -> Vector4D"""
9873 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9876 def get_dimension(self):
9877 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9878 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9881 def set_unit_cell(self, *args):
9883 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9884 set_unit_cell(LogEmbedding4D self, Vector4D o)
9886 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9889 def get_unit_cell(self):
9890 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9891 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9894 def get_extended_index(self, o):
9895 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9896 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9900 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9901 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9904 def get_center(self, *args):
9906 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9907 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9909 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9912 def get_bounding_box(self, *args):
9914 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9915 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9917 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9920 def show(self, *args):
9922 show(LogEmbedding4D self, _ostream out)
9923 show(LogEmbedding4D self)
9925 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9929 """__str__(LogEmbedding4D self) -> std::string"""
9930 return _IMP_algebra.LogEmbedding4D___str__(self)
9934 """__repr__(LogEmbedding4D self) -> std::string"""
9935 return _IMP_algebra.LogEmbedding4D___repr__(self)
9938 def __cmp__(self, arg2):
9939 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9940 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9943 def __eq__(self, arg2):
9944 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9945 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9947 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9948 __del__ =
lambda self:
None
9949 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9950 LogEmbedding4D_swigregister(LogEmbedding4D)
9952 class LogEmbedding5D(object):
9953 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9955 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9957 def __init__(self, *args):
9959 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9960 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9961 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9962 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9963 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9965 this = _IMP_algebra.new_LogEmbedding5D(*args)
9967 self.this.append(this)
9968 except __builtin__.Exception:
9971 def set_origin(self, o):
9972 """set_origin(LogEmbedding5D self, Vector5D o)"""
9973 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9976 def get_origin(self):
9977 """get_origin(LogEmbedding5D self) -> Vector5D"""
9978 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9981 def get_dimension(self):
9982 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9983 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9986 def set_unit_cell(self, *args):
9988 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9989 set_unit_cell(LogEmbedding5D self, Vector5D o)
9991 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9994 def get_unit_cell(self):
9995 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9996 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9999 def get_extended_index(self, o):
10000 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10001 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10005 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10006 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10009 def get_center(self, *args):
10011 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10012 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10014 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10017 def get_bounding_box(self, *args):
10019 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10020 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10022 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10025 def show(self, *args):
10027 show(LogEmbedding5D self, _ostream out)
10028 show(LogEmbedding5D self)
10030 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10034 """__str__(LogEmbedding5D self) -> std::string"""
10035 return _IMP_algebra.LogEmbedding5D___str__(self)
10038 def __repr__(self):
10039 """__repr__(LogEmbedding5D self) -> std::string"""
10040 return _IMP_algebra.LogEmbedding5D___repr__(self)
10043 def __cmp__(self, arg2):
10044 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10045 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10048 def __eq__(self, arg2):
10049 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10050 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10052 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10053 __del__ =
lambda self:
None
10054 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10055 LogEmbedding5D_swigregister(LogEmbedding5D)
10057 class LogEmbedding6D(object):
10058 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10062 def __init__(self, *args):
10064 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10065 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10066 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10067 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10068 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10070 this = _IMP_algebra.new_LogEmbedding6D(*args)
10072 self.this.append(this)
10073 except __builtin__.Exception:
10076 def set_origin(self, o):
10077 """set_origin(LogEmbedding6D self, Vector6D o)"""
10078 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10081 def get_origin(self):
10082 """get_origin(LogEmbedding6D self) -> Vector6D"""
10083 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10086 def get_dimension(self):
10087 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10088 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10091 def set_unit_cell(self, *args):
10093 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10094 set_unit_cell(LogEmbedding6D self, Vector6D o)
10096 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10099 def get_unit_cell(self):
10100 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10101 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10104 def get_extended_index(self, o):
10105 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10106 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10110 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10111 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10114 def get_center(self, *args):
10116 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10117 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10119 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10122 def get_bounding_box(self, *args):
10124 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10125 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10127 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10130 def show(self, *args):
10132 show(LogEmbedding6D self, _ostream out)
10133 show(LogEmbedding6D self)
10135 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10139 """__str__(LogEmbedding6D self) -> std::string"""
10140 return _IMP_algebra.LogEmbedding6D___str__(self)
10143 def __repr__(self):
10144 """__repr__(LogEmbedding6D self) -> std::string"""
10145 return _IMP_algebra.LogEmbedding6D___repr__(self)
10148 def __cmp__(self, arg2):
10149 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10150 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10153 def __eq__(self, arg2):
10154 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10155 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10157 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10158 __del__ =
lambda self:
None
10159 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10160 LogEmbedding6D_swigregister(LogEmbedding6D)
10162 class SpherePatch3D(_GeometricPrimitive3D):
10163 """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10167 def __init__(self, *args):
10169 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10170 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10172 this = _IMP_algebra.new_SpherePatch3D(*args)
10174 self.this.append(this)
10175 except __builtin__.Exception:
10178 def get_contains(self, p):
10179 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10180 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10183 def get_plane(self):
10184 """get_plane(SpherePatch3D self) -> Plane3D"""
10185 return _IMP_algebra.SpherePatch3D_get_plane(self)
10188 def get_sphere(self):
10189 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10190 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10193 def show(self, *args):
10195 show(SpherePatch3D self, _ostream out)
10196 show(SpherePatch3D self)
10198 return _IMP_algebra.SpherePatch3D_show(self, *args)
10201 def get_boundary_point(self):
10202 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10203 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10207 """__str__(SpherePatch3D self) -> std::string"""
10208 return _IMP_algebra.SpherePatch3D___str__(self)
10211 def __repr__(self):
10212 """__repr__(SpherePatch3D self) -> std::string"""
10213 return _IMP_algebra.SpherePatch3D___repr__(self)
10215 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10216 __del__ =
lambda self:
None
10217 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10218 SpherePatch3D_swigregister(SpherePatch3D)
10223 get_area(Plane3D g) -> double
10224 get_area(SpherePatch3D g) -> double
10226 return _IMP_algebra.get_area(*args)
10228 def get_sphere_patch_3d_geometry(g):
10229 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10230 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10231 class Cone3D(_GeometricPrimitive3D):
10232 """Proxy of C++ IMP::algebra::Cone3D class."""
10234 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10236 def __init__(self, *args):
10238 __init__(IMP::algebra::Cone3D self) -> Cone3D
10239 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10241 this = _IMP_algebra.new_Cone3D(*args)
10243 self.this.append(this)
10244 except __builtin__.Exception:
10248 """get_tip(Cone3D self) -> Vector3D"""
10249 return _IMP_algebra.Cone3D_get_tip(self)
10252 def get_direction(self):
10253 """get_direction(Cone3D self) -> Vector3D"""
10254 return _IMP_algebra.Cone3D_get_direction(self)
10258 """get_height(Cone3D self) -> double"""
10259 return _IMP_algebra.Cone3D_get_height(self)
10263 """get_angle(Cone3D self) -> double"""
10264 return _IMP_algebra.Cone3D_get_angle(self)
10267 def get_radius(self):
10268 """get_radius(Cone3D self) -> double"""
10269 return _IMP_algebra.Cone3D_get_radius(self)
10272 def get_contains(self, v):
10273 """get_contains(Cone3D self, Vector3D v) -> bool"""
10274 return _IMP_algebra.Cone3D_get_contains(self, v)
10277 def get_base_plane(self):
10278 """get_base_plane(Cone3D self) -> Plane3D"""
10279 return _IMP_algebra.Cone3D_get_base_plane(self)
10282 def show(self, *args):
10284 show(Cone3D self, _ostream out)
10287 return _IMP_algebra.Cone3D_show(self, *args)
10291 """__str__(Cone3D self) -> std::string"""
10292 return _IMP_algebra.Cone3D___str__(self)
10295 def __repr__(self):
10296 """__repr__(Cone3D self) -> std::string"""
10297 return _IMP_algebra.Cone3D___repr__(self)
10299 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10300 __del__ =
lambda self:
None
10301 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10302 Cone3D_swigregister(Cone3D)
10307 get_surface_area(BoundingBox3D g) -> double
10308 get_surface_area(Sphere3D g) -> double
10309 get_surface_area(Cylinder3D g) -> double
10310 get_surface_area(Ellipsoid3D g) -> double
10311 get_surface_area(Cone3D g) -> double
10313 return _IMP_algebra.get_surface_area(*args)
10317 get_volume(BoundingBox3D g) -> double
10318 get_volume(Sphere3D g) -> double
10319 get_volume(Cylinder3D g) -> double
10320 get_volume(Ellipsoid3D g) -> double
10321 get_volume(Cone3D g) -> double
10323 return _IMP_algebra.get_volume(*args)
10325 def get_cone_3d_geometry(g):
10326 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10327 return _IMP_algebra.get_cone_3d_geometry(g)
10330 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10331 return _IMP_algebra.write_pts(vs, out)
10334 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10335 return _IMP_algebra.read_pts(input)
10338 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10339 return _IMP_algebra.write_spheres(vs, out)
10342 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10343 return _IMP_algebra.read_spheres(input)
10346 """get_random_vector_on_unit_sphere() -> Vector3D"""
10347 return _IMP_algebra.get_random_vector_on_unit_sphere()
10350 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10351 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10355 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10356 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10357 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10359 return _IMP_algebra.get_random_chain(*args)
10362 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10363 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10367 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10368 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10370 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10373 """get_is_big_endian() -> bool"""
10374 return _IMP_algebra.get_is_big_endian()
10377 """get_is_little_endian() -> bool"""
10378 return _IMP_algebra.get_is_little_endian()
10382 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10383 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10385 return _IMP_algebra.get_shortest_segment(*args)
10387 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10391 def __init__(self, vs, query_estimate=1):
10393 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10394 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10396 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10398 self.this.append(this)
10399 except __builtin__.Exception:
10402 def get_in_ball(self, id, distance):
10403 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10404 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10407 def set_coordinates(self, id, nc):
10408 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10409 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10412 def get_version_info(self):
10413 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10414 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10418 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10419 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10422 def __repr__(self):
10423 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10424 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10429 return _object_cast_to_DynamicNearestNeighbor3D(o)
10431 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10432 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10435 """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10439 def __init__(self, name):
10440 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10441 if self.__class__ == VectorKDMetric:
10445 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10447 self.this.append(this)
10448 except __builtin__.Exception:
10451 if self.__class__ != VectorKDMetric:
10452 _director_objects.register(self)
10458 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10459 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10463 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10464 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10468 """__str__(VectorKDMetric self) -> std::string"""
10469 return _IMP_algebra.VectorKDMetric___str__(self)
10472 def __repr__(self):
10473 """__repr__(VectorKDMetric self) -> std::string"""
10474 return _IMP_algebra.VectorKDMetric___repr__(self)
10479 return _object_cast_to_VectorKDMetric(o)
10482 def get_type_name(self):
10483 return self.__class__.__name__
10484 def do_show(self, out):
10486 def get_version_info(self):
10487 if"IMP::algebra" ==
"IMP":
10488 return VersionInfo(self.__module__,
10489 __import__(self.__module__).get_module_version())
10492 __import__(self.__module__).get_module_version())
10495 return _object_cast_to_VectorKDMetric(o)
10497 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10498 __del__ =
lambda self:
None
10499 def __disown__(self):
10501 _IMP_algebra.disown_VectorKDMetric(self)
10502 return weakref_proxy(self)
10504 def do_destroy(self):
10505 """do_destroy(VectorKDMetric self)"""
10506 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10508 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10509 VectorKDMetric_swigregister(VectorKDMetric)
10511 class EuclideanVectorKDMetric(VectorKDMetric):
10512 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10516 def __init__(self, *args):
10518 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10519 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10521 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10523 self.this.append(this)
10524 except __builtin__.Exception:
10527 def get_version_info(self):
10528 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10529 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10533 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10534 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10537 def __repr__(self):
10538 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10539 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10544 return _object_cast_to_EuclideanVectorKDMetric(o)
10546 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10547 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10549 class MaxVectorKDMetric(VectorKDMetric):
10550 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10554 def __init__(self, *args):
10556 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10557 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10559 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10561 self.this.append(this)
10562 except __builtin__.Exception:
10565 def get_version_info(self):
10566 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10567 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10571 """__str__(MaxVectorKDMetric self) -> std::string"""
10572 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10575 def __repr__(self):
10576 """__repr__(MaxVectorKDMetric self) -> std::string"""
10577 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10582 return _object_cast_to_MaxVectorKDMetric(o)
10584 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10585 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10587 class Gaussian3D(_GeometricPrimitive3D):
10588 """Proxy of C++ IMP::algebra::Gaussian3D class."""
10590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10592 def __init__(self, *args):
10594 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10595 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10597 this = _IMP_algebra.new_Gaussian3D(*args)
10599 self.this.append(this)
10600 except __builtin__.Exception:
10603 def get_reference_frame(self):
10604 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10605 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10608 def get_variances(self):
10609 """get_variances(Gaussian3D self) -> Vector3D"""
10610 return _IMP_algebra.Gaussian3D_get_variances(self)
10613 def get_center(self):
10614 """get_center(Gaussian3D self) -> Vector3D"""
10615 return _IMP_algebra.Gaussian3D_get_center(self)
10618 def show(self, *args):
10620 show(Gaussian3D self, _ostream out)
10621 show(Gaussian3D self)
10623 return _IMP_algebra.Gaussian3D_show(self, *args)
10627 """__str__(Gaussian3D self) -> std::string"""
10628 return _IMP_algebra.Gaussian3D___str__(self)
10631 def __repr__(self):
10632 """__repr__(Gaussian3D self) -> std::string"""
10633 return _IMP_algebra.Gaussian3D___repr__(self)
10635 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10636 __del__ =
lambda self:
None
10637 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10638 Gaussian3D_swigregister(Gaussian3D)
10642 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
10643 return _IMP_algebra.get_covariance(g)
10646 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10647 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10650 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10651 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10655 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10656 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10658 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10660 def _pass_matrix_xf(m):
10661 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
10662 return _IMP_algebra._pass_matrix_xf(m)
10664 def _pass_matrix_xd(m):
10665 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
10666 return _IMP_algebra._pass_matrix_xd(m)
10668 def _pass_matrix_3d(m):
10669 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
10670 return _IMP_algebra._pass_matrix_3d(m)
10672 def _pass_array_xd(m):
10673 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
10674 return _IMP_algebra._pass_array_xd(m)
10676 def _pass_vector_xd(m):
10677 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
10678 return _IMP_algebra._pass_vector_xd(m)
10680 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10682 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10684 def __init__(self, vs, epsilon=0):
10686 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10687 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10689 this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10691 self.this.append(this)
10692 except __builtin__.Exception:
10695 def set_query_log(self, fname):
10696 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10697 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10700 def get_nearest_neighbor(self, *args):
10702 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10703 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10705 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10708 def get_nearest_neighbors(self, *args):
10710 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10711 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10713 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10716 def get_in_ball(self, *args):
10718 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10719 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10721 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10724 def get_version_info(self):
10725 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10726 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10730 """__str__(NearestNeighbor1D self) -> std::string"""
10731 return _IMP_algebra.NearestNeighbor1D___str__(self)
10734 def __repr__(self):
10735 """__repr__(NearestNeighbor1D self) -> std::string"""
10736 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10741 return _object_cast_to_NearestNeighborD(o)
10743 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10744 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10747 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10749 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10751 def __init__(self, vs, epsilon=0):
10753 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10754 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10756 this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10758 self.this.append(this)
10759 except __builtin__.Exception:
10762 def set_query_log(self, fname):
10763 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10764 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10767 def get_nearest_neighbor(self, *args):
10769 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10770 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10772 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10775 def get_nearest_neighbors(self, *args):
10777 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10778 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10780 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10783 def get_in_ball(self, *args):
10785 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10786 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10788 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10791 def get_version_info(self):
10792 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10793 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10797 """__str__(NearestNeighbor2D self) -> std::string"""
10798 return _IMP_algebra.NearestNeighbor2D___str__(self)
10801 def __repr__(self):
10802 """__repr__(NearestNeighbor2D self) -> std::string"""
10803 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10808 return _object_cast_to_NearestNeighborD(o)
10810 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10811 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10814 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10818 def __init__(self, vs, epsilon=0):
10820 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10821 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10823 this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10825 self.this.append(this)
10826 except __builtin__.Exception:
10829 def set_query_log(self, fname):
10830 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10831 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10834 def get_nearest_neighbor(self, *args):
10836 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10837 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10839 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10842 def get_nearest_neighbors(self, *args):
10844 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10845 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10847 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10850 def get_in_ball(self, *args):
10852 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10853 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10855 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10858 def get_version_info(self):
10859 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10860 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10864 """__str__(NearestNeighbor3D self) -> std::string"""
10865 return _IMP_algebra.NearestNeighbor3D___str__(self)
10868 def __repr__(self):
10869 """__repr__(NearestNeighbor3D self) -> std::string"""
10870 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10875 return _object_cast_to_NearestNeighborD(o)
10877 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10878 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10881 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10883 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10885 def __init__(self, vs, epsilon=0):
10887 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10888 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10890 this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10892 self.this.append(this)
10893 except __builtin__.Exception:
10896 def set_query_log(self, fname):
10897 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10898 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10901 def get_nearest_neighbor(self, *args):
10903 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10904 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10906 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10909 def get_nearest_neighbors(self, *args):
10911 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10912 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10914 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10917 def get_in_ball(self, *args):
10919 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10920 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10922 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10925 def get_version_info(self):
10926 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10927 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10931 """__str__(NearestNeighbor4D self) -> std::string"""
10932 return _IMP_algebra.NearestNeighbor4D___str__(self)
10935 def __repr__(self):
10936 """__repr__(NearestNeighbor4D self) -> std::string"""
10937 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10942 return _object_cast_to_NearestNeighborD(o)
10944 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10945 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10948 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10950 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10952 def __init__(self, vs, epsilon=0):
10954 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10955 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10957 this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10959 self.this.append(this)
10960 except __builtin__.Exception:
10963 def set_query_log(self, fname):
10964 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10965 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10968 def get_nearest_neighbor(self, *args):
10970 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10971 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10973 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10976 def get_nearest_neighbors(self, *args):
10978 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10979 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10981 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10984 def get_in_ball(self, *args):
10986 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10987 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10989 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10992 def get_version_info(self):
10993 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10994 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10998 """__str__(NearestNeighbor5D self) -> std::string"""
10999 return _IMP_algebra.NearestNeighbor5D___str__(self)
11002 def __repr__(self):
11003 """__repr__(NearestNeighbor5D self) -> std::string"""
11004 return _IMP_algebra.NearestNeighbor5D___repr__(self)
11009 return _object_cast_to_NearestNeighborD(o)
11011 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11012 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11015 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
11017 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11019 def __init__(self, vs, epsilon=0):
11021 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11022 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11024 this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11026 self.this.append(this)
11027 except __builtin__.Exception:
11030 def set_query_log(self, fname):
11031 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11032 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11035 def get_nearest_neighbor(self, *args):
11037 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11038 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11040 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11043 def get_nearest_neighbors(self, *args):
11045 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11046 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11048 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11051 def get_in_ball(self, *args):
11053 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11054 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11056 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11059 def get_version_info(self):
11060 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11061 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11065 """__str__(NearestNeighbor6D self) -> std::string"""
11066 return _IMP_algebra.NearestNeighbor6D___str__(self)
11069 def __repr__(self):
11070 """__repr__(NearestNeighbor6D self) -> std::string"""
11071 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11076 return _object_cast_to_NearestNeighborD(o)
11078 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11079 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11082 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11086 def __init__(self, vs, epsilon=0):
11088 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11089 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11091 this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11093 self.this.append(this)
11094 except __builtin__.Exception:
11097 def set_query_log(self, fname):
11098 """set_query_log(NearestNeighborKD self, std::string fname)"""
11099 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11102 def get_nearest_neighbor(self, *args):
11104 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11105 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11107 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11110 def get_nearest_neighbors(self, *args):
11112 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11113 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11115 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11118 def get_in_ball(self, *args):
11120 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11121 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11123 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11126 def get_version_info(self):
11127 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11128 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11132 """__str__(NearestNeighborKD self) -> std::string"""
11133 return _IMP_algebra.NearestNeighborKD___str__(self)
11136 def __repr__(self):
11137 """__repr__(NearestNeighborKD self) -> std::string"""
11138 return _IMP_algebra.NearestNeighborKD___repr__(self)
11143 return _object_cast_to_NearestNeighborD(o)
11145 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11146 NearestNeighborKD_swigregister(NearestNeighborKD)
11150 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11151 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11152 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11153 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11157 def __init__(self, *args):
11159 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11160 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11162 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11164 self.this.append(this)
11165 except __builtin__.Exception:
11169 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11170 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11173 def get_principal_component(self, i):
11174 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11175 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11178 def get_principal_values(self):
11179 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11180 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11183 def get_principal_value(self, i):
11184 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11185 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11189 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11190 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11193 def set_centroid(self, cntr):
11194 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11195 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11198 def show(self, *args):
11200 show(PrincipalComponentAnalysis1D self, _ostream out)
11201 show(PrincipalComponentAnalysis1D self)
11203 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11206 def __cmp__(self, o):
11207 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11208 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11211 def __eq__(self, o):
11212 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11213 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11216 def __ne__(self, o):
11217 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11218 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11221 def __lt__(self, o):
11222 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11223 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11226 def __gt__(self, o):
11227 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11228 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11231 def __ge__(self, o):
11232 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11233 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11236 def __le__(self, o):
11237 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11238 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11242 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11243 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11246 def __repr__(self):
11247 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11248 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11250 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11251 __del__ =
lambda self:
None
11252 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11253 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11255 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11256 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11258 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11260 def __init__(self, *args):
11262 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11263 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11265 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11267 self.this.append(this)
11268 except __builtin__.Exception:
11272 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11273 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11276 def get_principal_component(self, i):
11277 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11278 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11281 def get_principal_values(self):
11282 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11283 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11286 def get_principal_value(self, i):
11287 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11288 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11292 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11293 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11296 def set_centroid(self, cntr):
11297 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11298 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11301 def show(self, *args):
11303 show(PrincipalComponentAnalysis2D self, _ostream out)
11304 show(PrincipalComponentAnalysis2D self)
11306 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11309 def __cmp__(self, o):
11310 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11311 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11314 def __eq__(self, o):
11315 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11316 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11319 def __ne__(self, o):
11320 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11321 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11324 def __lt__(self, o):
11325 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11326 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11329 def __gt__(self, o):
11330 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11331 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11334 def __ge__(self, o):
11335 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11336 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11339 def __le__(self, o):
11340 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11341 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11345 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11346 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11349 def __repr__(self):
11350 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11351 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11353 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11354 __del__ =
lambda self:
None
11355 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11356 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11358 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11359 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11361 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11363 def __init__(self, *args):
11365 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11366 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11368 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11370 self.this.append(this)
11371 except __builtin__.Exception:
11375 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11376 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11379 def get_principal_component(self, i):
11380 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11381 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11384 def get_principal_values(self):
11385 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11386 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11389 def get_principal_value(self, i):
11390 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11391 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11395 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11396 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11399 def set_centroid(self, cntr):
11400 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11401 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11404 def show(self, *args):
11406 show(PrincipalComponentAnalysis3D self, _ostream out)
11407 show(PrincipalComponentAnalysis3D self)
11409 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11412 def __cmp__(self, o):
11413 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11414 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11417 def __eq__(self, o):
11418 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11419 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11422 def __ne__(self, o):
11423 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11424 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11427 def __lt__(self, o):
11428 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11429 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11432 def __gt__(self, o):
11433 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11434 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11437 def __ge__(self, o):
11438 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11439 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11442 def __le__(self, o):
11443 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11444 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11448 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11449 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11452 def __repr__(self):
11453 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11454 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11456 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11457 __del__ =
lambda self:
None
11458 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11459 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11461 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11462 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11466 def __init__(self, *args):
11468 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11469 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11471 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11473 self.this.append(this)
11474 except __builtin__.Exception:
11478 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11479 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11482 def get_principal_component(self, i):
11483 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11484 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11487 def get_principal_values(self):
11488 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11489 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11492 def get_principal_value(self, i):
11493 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11494 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11498 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11499 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11502 def set_centroid(self, cntr):
11503 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11504 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11507 def show(self, *args):
11509 show(PrincipalComponentAnalysis4D self, _ostream out)
11510 show(PrincipalComponentAnalysis4D self)
11512 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11515 def __cmp__(self, o):
11516 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11517 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11520 def __eq__(self, o):
11521 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11522 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11525 def __ne__(self, o):
11526 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11527 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11530 def __lt__(self, o):
11531 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11532 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11535 def __gt__(self, o):
11536 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11537 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11540 def __ge__(self, o):
11541 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11542 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11545 def __le__(self, o):
11546 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11547 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11551 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11552 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11555 def __repr__(self):
11556 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11557 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11559 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11560 __del__ =
lambda self:
None
11561 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11562 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11564 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11565 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11567 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11569 def __init__(self, *args):
11571 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11572 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11574 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11576 self.this.append(this)
11577 except __builtin__.Exception:
11581 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11582 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11585 def get_principal_component(self, i):
11586 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11587 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11590 def get_principal_values(self):
11591 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11592 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11595 def get_principal_value(self, i):
11596 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11597 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11601 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11602 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11605 def set_centroid(self, cntr):
11606 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11607 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11610 def show(self, *args):
11612 show(PrincipalComponentAnalysis5D self, _ostream out)
11613 show(PrincipalComponentAnalysis5D self)
11615 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11618 def __cmp__(self, o):
11619 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11620 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11623 def __eq__(self, o):
11624 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11625 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11628 def __ne__(self, o):
11629 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11630 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11633 def __lt__(self, o):
11634 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11635 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11638 def __gt__(self, o):
11639 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11640 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11643 def __ge__(self, o):
11644 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11645 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11648 def __le__(self, o):
11649 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11650 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11654 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11655 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11658 def __repr__(self):
11659 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11660 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11662 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11663 __del__ =
lambda self:
None
11664 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11665 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11667 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11668 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11670 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11672 def __init__(self, *args):
11674 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11675 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11677 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11679 self.this.append(this)
11680 except __builtin__.Exception:
11684 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11685 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11688 def get_principal_component(self, i):
11689 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11690 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11693 def get_principal_values(self):
11694 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11695 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11698 def get_principal_value(self, i):
11699 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11700 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11704 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11705 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11708 def set_centroid(self, cntr):
11709 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11710 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11713 def show(self, *args):
11715 show(PrincipalComponentAnalysis6D self, _ostream out)
11716 show(PrincipalComponentAnalysis6D self)
11718 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11721 def __cmp__(self, o):
11722 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11723 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11726 def __eq__(self, o):
11727 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11728 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11731 def __ne__(self, o):
11732 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11733 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11736 def __lt__(self, o):
11737 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11738 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11741 def __gt__(self, o):
11742 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11743 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11746 def __ge__(self, o):
11747 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11748 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11751 def __le__(self, o):
11752 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11753 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11757 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11758 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11761 def __repr__(self):
11762 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11763 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11765 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11766 __del__ =
lambda self:
None
11767 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11768 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11770 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11771 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11775 def __init__(self, *args):
11777 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11778 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11780 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11782 self.this.append(this)
11783 except __builtin__.Exception:
11787 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11788 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11791 def get_principal_component(self, i):
11792 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11793 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11796 def get_principal_values(self):
11797 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11798 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11801 def get_principal_value(self, i):
11802 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11803 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11807 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11808 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11811 def set_centroid(self, cntr):
11812 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11813 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11816 def show(self, *args):
11818 show(PrincipalComponentAnalysisKD self, _ostream out)
11819 show(PrincipalComponentAnalysisKD self)
11821 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11824 def __cmp__(self, o):
11825 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11826 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11829 def __eq__(self, o):
11830 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11831 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11834 def __ne__(self, o):
11835 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11836 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11839 def __lt__(self, o):
11840 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11841 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11844 def __gt__(self, o):
11845 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11846 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11849 def __ge__(self, o):
11850 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11851 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11854 def __le__(self, o):
11855 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11856 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11860 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11861 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11864 def __repr__(self):
11865 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11866 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11868 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11869 __del__ =
lambda self:
None
11870 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11871 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11876 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11877 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11878 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11879 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11880 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11881 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11882 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11884 return _IMP_algebra.get_principal_components(*args)
11888 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11889 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11890 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11891 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11892 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11893 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11894 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11896 return _IMP_algebra.get_vertices(*args)
11900 get_distance(Rotation3D r0, Rotation3D r1) -> double
11901 get_distance(Line3D s, Vector3D p) -> double
11902 get_distance(Line3D a, Line3D b) -> double
11903 get_distance(Segment3D s, Vector3D p) -> double
11904 get_distance(Segment3D a, Segment3D b) -> double
11905 get_distance(Plane3D pln, Vector3D p) -> double
11906 get_distance(Vector1D a, Vector1D b) -> double
11907 get_distance(Vector2D a, Vector2D b) -> double
11908 get_distance(Vector3D a, Vector3D b) -> double
11909 get_distance(Vector4D a, Vector4D b) -> double
11910 get_distance(Vector5D a, Vector5D b) -> double
11911 get_distance(Vector6D a, Vector6D b) -> double
11912 get_distance(VectorKD a, VectorKD b) -> double
11913 get_distance(Sphere1D a, Sphere1D b) -> double
11914 get_distance(Sphere2D a, Sphere2D b) -> double
11915 get_distance(Sphere3D a, Sphere3D b) -> double
11916 get_distance(Sphere4D a, Sphere4D b) -> double
11917 get_distance(Sphere5D a, Sphere5D b) -> double
11918 get_distance(Sphere6D a, Sphere6D b) -> double
11919 get_distance(SphereKD a, SphereKD b) -> double
11921 return _IMP_algebra.get_distance(*args)
11925 get_squared_distance(Vector1D a, Vector1D b) -> double
11926 get_squared_distance(Vector2D a, Vector2D b) -> double
11927 get_squared_distance(Vector3D a, Vector3D b) -> double
11928 get_squared_distance(Vector4D a, Vector4D b) -> double
11929 get_squared_distance(Vector5D a, Vector5D b) -> double
11930 get_squared_distance(Vector6D a, Vector6D b) -> double
11931 get_squared_distance(VectorKD a, VectorKD b) -> double
11933 return _IMP_algebra.get_squared_distance(*args)
11935 def get_basis_vector_1d(coordinate):
11936 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11937 return _IMP_algebra.get_basis_vector_1d(coordinate)
11939 def get_basis_vector_2d(coordinate):
11940 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11941 return _IMP_algebra.get_basis_vector_2d(coordinate)
11943 def get_basis_vector_3d(coordinate):
11944 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11945 return _IMP_algebra.get_basis_vector_3d(coordinate)
11947 def get_basis_vector_4d(coordinate):
11948 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11949 return _IMP_algebra.get_basis_vector_4d(coordinate)
11951 def get_basis_vector_5d(coordinate):
11952 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11953 return _IMP_algebra.get_basis_vector_5d(coordinate)
11955 def get_basis_vector_6d(coordinate):
11956 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11957 return _IMP_algebra.get_basis_vector_6d(coordinate)
11959 def get_zero_vector_1d():
11960 """get_zero_vector_1d() -> Vector1D"""
11961 return _IMP_algebra.get_zero_vector_1d()
11963 def get_zero_vector_2d():
11964 """get_zero_vector_2d() -> Vector2D"""
11965 return _IMP_algebra.get_zero_vector_2d()
11967 def get_zero_vector_3d():
11968 """get_zero_vector_3d() -> Vector3D"""
11969 return _IMP_algebra.get_zero_vector_3d()
11971 def get_zero_vector_4d():
11972 """get_zero_vector_4d() -> Vector4D"""
11973 return _IMP_algebra.get_zero_vector_4d()
11975 def get_zero_vector_5d():
11976 """get_zero_vector_5d() -> Vector5D"""
11977 return _IMP_algebra.get_zero_vector_5d()
11979 def get_zero_vector_6d():
11980 """get_zero_vector_6d() -> Vector6D"""
11981 return _IMP_algebra.get_zero_vector_6d()
11983 def get_ones_vector_1d(v=1):
11985 get_ones_vector_1d(double v=1) -> Vector1D
11986 get_ones_vector_1d() -> Vector1D
11988 return _IMP_algebra.get_ones_vector_1d(v)
11990 def get_ones_vector_2d(v=1):
11992 get_ones_vector_2d(double v=1) -> Vector2D
11993 get_ones_vector_2d() -> Vector2D
11995 return _IMP_algebra.get_ones_vector_2d(v)
11997 def get_ones_vector_3d(v=1):
11999 get_ones_vector_3d(double v=1) -> Vector3D
12000 get_ones_vector_3d() -> Vector3D
12002 return _IMP_algebra.get_ones_vector_3d(v)
12004 def get_ones_vector_4d(v=1):
12006 get_ones_vector_4d(double v=1) -> Vector4D
12007 get_ones_vector_4d() -> Vector4D
12009 return _IMP_algebra.get_ones_vector_4d(v)
12011 def get_ones_vector_5d(v=1):
12013 get_ones_vector_5d(double v=1) -> Vector5D
12014 get_ones_vector_5d() -> Vector5D
12016 return _IMP_algebra.get_ones_vector_5d(v)
12018 def get_ones_vector_6d(v=1):
12020 get_ones_vector_6d(double v=1) -> Vector6D
12021 get_ones_vector_6d() -> Vector6D
12023 return _IMP_algebra.get_ones_vector_6d(v)
12025 def get_unit_bounding_box_1d():
12026 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12027 return _IMP_algebra.get_unit_bounding_box_1d()
12029 def get_unit_bounding_box_2d():
12030 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12031 return _IMP_algebra.get_unit_bounding_box_2d()
12033 def get_unit_bounding_box_3d():
12034 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12035 return _IMP_algebra.get_unit_bounding_box_3d()
12037 def get_unit_bounding_box_4d():
12038 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12039 return _IMP_algebra.get_unit_bounding_box_4d()
12041 def get_unit_bounding_box_5d():
12042 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12043 return _IMP_algebra.get_unit_bounding_box_5d()
12045 def get_unit_bounding_box_6d():
12046 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12047 return _IMP_algebra.get_unit_bounding_box_6d()
12049 def get_cube_1d(radius):
12050 """get_cube_1d(double radius) -> BoundingBox1D"""
12051 return _IMP_algebra.get_cube_1d(radius)
12053 def get_cube_2d(radius):
12054 """get_cube_2d(double radius) -> BoundingBox2D"""
12055 return _IMP_algebra.get_cube_2d(radius)
12057 def get_cube_3d(radius):
12058 """get_cube_3d(double radius) -> BoundingBox3D"""
12059 return _IMP_algebra.get_cube_3d(radius)
12061 def get_cube_4d(radius):
12062 """get_cube_4d(double radius) -> BoundingBox4D"""
12063 return _IMP_algebra.get_cube_4d(radius)
12065 def get_cube_5d(radius):
12066 """get_cube_5d(double radius) -> BoundingBox5D"""
12067 return _IMP_algebra.get_cube_5d(radius)
12069 def get_cube_6d(radius):
12070 """get_cube_6d(double radius) -> BoundingBox6D"""
12071 return _IMP_algebra.get_cube_6d(radius)
12073 def get_unit_sphere_1d():
12074 """get_unit_sphere_1d() -> Sphere1D"""
12075 return _IMP_algebra.get_unit_sphere_1d()
12077 def get_unit_sphere_2d():
12078 """get_unit_sphere_2d() -> Sphere2D"""
12079 return _IMP_algebra.get_unit_sphere_2d()
12081 def get_unit_sphere_3d():
12082 """get_unit_sphere_3d() -> Sphere3D"""
12083 return _IMP_algebra.get_unit_sphere_3d()
12085 def get_unit_sphere_4d():
12086 """get_unit_sphere_4d() -> Sphere4D"""
12087 return _IMP_algebra.get_unit_sphere_4d()
12089 def get_unit_sphere_5d():
12090 """get_unit_sphere_5d() -> Sphere5D"""
12091 return _IMP_algebra.get_unit_sphere_5d()
12093 def get_unit_sphere_6d():
12094 """get_unit_sphere_6d() -> Sphere6D"""
12095 return _IMP_algebra.get_unit_sphere_6d()
12099 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12100 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12101 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12102 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12103 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12104 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12105 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12106 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12107 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12108 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12109 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12110 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12111 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12112 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12114 return _IMP_algebra.get_interiors_intersect(*args)
12118 get_random_vector_on(Sphere1D a) -> Vector1D
12119 get_random_vector_on(Sphere2D a) -> Vector2D
12120 get_random_vector_on(Sphere3D a) -> Vector3D
12121 get_random_vector_on(Sphere4D a) -> Vector4D
12122 get_random_vector_on(Sphere5D a) -> Vector5D
12123 get_random_vector_on(Sphere6D a) -> Vector6D
12124 get_random_vector_on(SphereKD a) -> VectorKD
12125 get_random_vector_on(BoundingBox1D a) -> Vector1D
12126 get_random_vector_on(BoundingBox2D a) -> Vector2D
12127 get_random_vector_on(BoundingBox3D a) -> Vector3D
12128 get_random_vector_on(BoundingBox4D a) -> Vector4D
12129 get_random_vector_on(BoundingBox5D a) -> Vector5D
12130 get_random_vector_on(BoundingBox6D a) -> Vector6D
12131 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12133 return _IMP_algebra.get_random_vector_on(*args)
12137 get_random_vector_in(Cylinder3D c) -> Vector3D
12138 get_random_vector_in(Sphere1D a) -> Vector1D
12139 get_random_vector_in(Sphere2D a) -> Vector2D
12140 get_random_vector_in(Sphere3D a) -> Vector3D
12141 get_random_vector_in(Sphere4D a) -> Vector4D
12142 get_random_vector_in(Sphere5D a) -> Vector5D
12143 get_random_vector_in(Sphere6D a) -> Vector6D
12144 get_random_vector_in(SphereKD a) -> VectorKD
12145 get_random_vector_in(BoundingBox1D a) -> Vector1D
12146 get_random_vector_in(BoundingBox2D a) -> Vector2D
12147 get_random_vector_in(BoundingBox3D a) -> Vector3D
12148 get_random_vector_in(BoundingBox4D a) -> Vector4D
12149 get_random_vector_in(BoundingBox5D a) -> Vector5D
12150 get_random_vector_in(BoundingBox6D a) -> Vector6D
12151 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12153 return _IMP_algebra.get_random_vector_in(*args)
12157 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12158 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12159 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12160 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12161 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12162 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12163 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12165 return _IMP_algebra.get_intersection(*args)
12169 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12170 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12171 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12172 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12173 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12174 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12175 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12177 return _IMP_algebra.get_union(*args)
12179 def get_bounding_box(*args):
12181 get_bounding_box(Line3D g) -> BoundingBox3D
12182 get_bounding_box(Segment3D g) -> BoundingBox3D
12183 get_bounding_box(Plane3D g) -> BoundingBox3D
12184 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12185 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12186 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12187 get_bounding_box(Cone3D g) -> BoundingBox3D
12188 get_bounding_box(Sphere1D a) -> BoundingBox1D
12189 get_bounding_box(Sphere2D a) -> BoundingBox2D
12190 get_bounding_box(Sphere3D a) -> BoundingBox3D
12191 get_bounding_box(Sphere4D a) -> BoundingBox4D
12192 get_bounding_box(Sphere5D a) -> BoundingBox5D
12193 get_bounding_box(Sphere6D a) -> BoundingBox6D
12194 get_bounding_box(SphereKD a) -> BoundingBoxKD
12196 return _IMP_algebra.get_bounding_box(*args)
12200 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12201 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12202 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12203 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12204 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12205 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12206 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12207 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12208 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12209 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12210 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12212 return _IMP_algebra.get_uniform_surface_cover(*args)
12216 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12217 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12218 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12219 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12220 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12221 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12222 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12224 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12225 class _AxisAnglePair(object):
12226 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12228 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12229 __repr__ = _swig_repr
12231 def __init__(self, *args):
12233 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12234 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12235 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12237 this = _IMP_algebra.new__AxisAnglePair(*args)
12239 self.this.append(this)
12240 except __builtin__.Exception:
12242 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12243 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12246 def __repr__(self):
12247 return str((self.first, self.second))
12248 def __getitem__(self, index):
12249 if not (index % 2):
12253 def __setitem__(self, index, val):
12254 if not (index % 2):
12258 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12259 __del__ =
lambda self:
None
12260 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12261 _AxisAnglePair_swigregister(_AxisAnglePair)
12265 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12266 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12269 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12270 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12273 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12274 return _IMP_algebra.get_rmsd(v0, v1)
12276 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12277 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12278 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12281 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12282 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12284 LinearFit=LinearFit2D
12285 ParabolicFit=ParabolicFit2D
12288 def get_module_version():
12289 """get_module_version() -> std::string const"""
12290 return _IMP_algebra.get_module_version()
12293 """get_example_path(std::string fname) -> std::string"""
12294 return _IMP_algebra.get_example_path(fname)
12297 """get_data_path(std::string fname) -> std::string"""
12298 return _IMP_algebra.get_data_path(fname)
12300 from .
import _version_check
12301 _version_check.check_version(get_module_version())
12302 __version__ = get_module_version()
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
SphereD< 3 > Sphere3D
Typedef for Python.
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Make CGAL functionality available to IMP.
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.
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_second(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to second quaternion.
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.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Version and module information for Objects.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
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.
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_first(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to first quaternion.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
SphereD<-1 > SphereKD
Typedef for Python.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.