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, o, i):
1904 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1905 return _IMP_algebra.Rotation3D_get_derivative(self, o, i)
1908 def get_is_valid(self):
1909 """get_is_valid(Rotation3D self) -> bool"""
1910 return _IMP_algebra.Rotation3D_get_is_valid(self)
1914 """__str__(Rotation3D self) -> std::string"""
1915 return _IMP_algebra.Rotation3D___str__(self)
1919 """__repr__(Rotation3D self) -> std::string"""
1920 return _IMP_algebra.Rotation3D___repr__(self)
1923 __truediv__ = __div__
1925 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1926 Rotation3D_swigregister(Rotation3D)
1930 """get_identity_rotation_3d() -> Rotation3D"""
1931 return _IMP_algebra.get_identity_rotation_3d()
1934 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1935 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1938 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1939 return _IMP_algebra.get_rotation_about_axis(axis, angle)
1942 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1943 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1947 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1948 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
1950 return _IMP_algebra.get_rotation_from_matrix(*args)
1954 get_random_rotation_3d() -> Rotation3D
1955 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1957 return _IMP_algebra.get_random_rotation_3d(*args)
1960 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1961 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1964 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1965 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1968 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1969 return _IMP_algebra.get_rotation_from_vector4d(v)
1972 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1973 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
1976 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1977 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
1980 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1981 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
1982 class FixedXYZ(_GeometricPrimitive3D):
1983 """Proxy of C++ IMP::algebra::FixedXYZ class."""
1985 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1987 def __init__(self, *args):
1989 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1990 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1992 this = _IMP_algebra.new_FixedXYZ(*args)
1994 self.this.append(this)
1995 except __builtin__.Exception:
1999 """get_x(FixedXYZ self) -> double"""
2000 return _IMP_algebra.FixedXYZ_get_x(self)
2004 """get_y(FixedXYZ self) -> double"""
2005 return _IMP_algebra.FixedXYZ_get_y(self)
2009 """get_z(FixedXYZ self) -> double"""
2010 return _IMP_algebra.FixedXYZ_get_z(self)
2013 def show(self, *args):
2015 show(FixedXYZ self, _ostream out)
2018 return _IMP_algebra.FixedXYZ_show(self, *args)
2022 """__str__(FixedXYZ self) -> std::string"""
2023 return _IMP_algebra.FixedXYZ___str__(self)
2027 """__repr__(FixedXYZ self) -> std::string"""
2028 return _IMP_algebra.FixedXYZ___repr__(self)
2030 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2031 __del__ =
lambda self:
None
2032 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2033 FixedXYZ_swigregister(FixedXYZ)
2037 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2038 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2041 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2042 return _IMP_algebra.get_interpolated(a, b, f)
2045 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2046 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2049 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2050 return _IMP_algebra.get_axis_and_angle(rot)
2053 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2054 return _IMP_algebra.get_unit_bounding_box_kd(d)
2057 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2058 return _IMP_algebra.get_cube_kd(d, radius)
2061 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2062 return _IMP_algebra.get_edges(arg1)
2063 class Transformation3D(_GeometricPrimitive3D):
2064 """Proxy of C++ IMP::algebra::Transformation3D class."""
2066 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2068 def __init__(self, *args):
2070 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2071 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2072 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2073 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2075 this = _IMP_algebra.new_Transformation3D(*args)
2077 self.this.append(this)
2078 except __builtin__.Exception:
2080 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2081 __del__ =
lambda self:
None
2083 def get_transformed(self, o):
2084 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2085 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2088 def __mul__(self, *args):
2090 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2091 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2093 return _IMP_algebra.Transformation3D___mul__(self, *args)
2096 def __div__(self, b):
2097 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2098 return _IMP_algebra.Transformation3D___div__(self, b)
2101 def get_rotation(self):
2102 """get_rotation(Transformation3D self) -> Rotation3D"""
2103 return _IMP_algebra.Transformation3D_get_rotation(self)
2106 def get_translation(self):
2107 """get_translation(Transformation3D self) -> Vector3D"""
2108 return _IMP_algebra.Transformation3D_get_translation(self)
2111 def show(self, *args):
2113 show(Transformation3D self, _ostream out)
2114 show(Transformation3D self)
2116 return _IMP_algebra.Transformation3D_show(self, *args)
2119 def get_inverse(self):
2120 """get_inverse(Transformation3D self) -> Transformation3D"""
2121 return _IMP_algebra.Transformation3D_get_inverse(self)
2124 def get_is_valid(self):
2125 """get_is_valid(Transformation3D self) -> bool"""
2126 return _IMP_algebra.Transformation3D_get_is_valid(self)
2130 """__str__(Transformation3D self) -> std::string"""
2131 return _IMP_algebra.Transformation3D___str__(self)
2135 """__repr__(Transformation3D self) -> std::string"""
2136 return _IMP_algebra.Transformation3D___repr__(self)
2139 __truediv__ = __div__
2141 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2142 Transformation3D_swigregister(Transformation3D)
2146 """get_identity_transformation_3d() -> Transformation3D"""
2147 return _IMP_algebra.get_identity_transformation_3d()
2150 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2151 return _IMP_algebra.get_transformation_3d(t2d)
2155 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2156 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2157 get_random_local_transformation(Vector3D origin) -> Transformation3D
2159 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2160 class Rotation2D(_GeometricPrimitive2D):
2161 """Proxy of C++ IMP::algebra::Rotation2D class."""
2163 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2165 def __init__(self, *args):
2167 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2168 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2170 this = _IMP_algebra.new_Rotation2D(*args)
2172 self.this.append(this)
2173 except __builtin__.Exception:
2176 def get_rotated(self, *args):
2178 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2179 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2181 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2184 def get_inverse(self):
2185 """get_inverse(Rotation2D self) -> Rotation2D"""
2186 return _IMP_algebra.Rotation2D_get_inverse(self)
2189 def set_angle(self, angle):
2190 """set_angle(Rotation2D self, double angle)"""
2191 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2195 """get_angle(Rotation2D self) -> double"""
2196 return _IMP_algebra.Rotation2D_get_angle(self)
2199 def show(self, *args):
2201 show(Rotation2D self, _ostream out)
2202 show(Rotation2D self)
2204 return _IMP_algebra.Rotation2D_show(self, *args)
2208 """__str__(Rotation2D self) -> std::string"""
2209 return _IMP_algebra.Rotation2D___str__(self)
2213 """__repr__(Rotation2D self) -> std::string"""
2214 return _IMP_algebra.Rotation2D___repr__(self)
2216 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2217 __del__ =
lambda self:
None
2218 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2219 Rotation2D_swigregister(Rotation2D)
2223 """get_identity_rotation_2d() -> Rotation2D"""
2224 return _IMP_algebra.get_identity_rotation_2d()
2227 """get_random_rotation_2d() -> Rotation2D"""
2228 return _IMP_algebra.get_random_rotation_2d()
2231 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2232 return _IMP_algebra.get_rotation_to_x_axis(v)
2233 class Transformation2D(_GeometricPrimitive2D):
2234 """Proxy of C++ IMP::algebra::Transformation2D class."""
2236 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2238 def __init__(self, *args):
2240 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2241 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2242 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2243 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2245 this = _IMP_algebra.new_Transformation2D(*args)
2247 self.this.append(this)
2248 except __builtin__.Exception:
2250 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2251 __del__ =
lambda self:
None
2253 def get_transformed(self, o):
2254 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2255 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2258 def __mul__(self, *args):
2260 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2261 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2263 return _IMP_algebra.Transformation2D___mul__(self, *args)
2266 def __div__(self, b):
2267 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2268 return _IMP_algebra.Transformation2D___div__(self, b)
2271 def get_rotation(self):
2272 """get_rotation(Transformation2D self) -> Rotation2D"""
2273 return _IMP_algebra.Transformation2D_get_rotation(self)
2276 def set_rotation(self, angle):
2277 """set_rotation(Transformation2D self, double angle)"""
2278 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2281 def get_translation(self):
2282 """get_translation(Transformation2D self) -> Vector2D"""
2283 return _IMP_algebra.Transformation2D_get_translation(self)
2286 def set_translation(self, v):
2287 """set_translation(Transformation2D self, Vector2D v)"""
2288 return _IMP_algebra.Transformation2D_set_translation(self, v)
2291 def show(self, *args):
2293 show(Transformation2D self, _ostream out)
2294 show(Transformation2D self)
2296 return _IMP_algebra.Transformation2D_show(self, *args)
2299 def get_inverse(self):
2300 """get_inverse(Transformation2D self) -> Transformation2D"""
2301 return _IMP_algebra.Transformation2D_get_inverse(self)
2305 """__str__(Transformation2D self) -> std::string"""
2306 return _IMP_algebra.Transformation2D___str__(self)
2310 """__repr__(Transformation2D self) -> std::string"""
2311 return _IMP_algebra.Transformation2D___repr__(self)
2314 __truediv__ = __div__
2316 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2317 Transformation2D_swigregister(Transformation2D)
2321 """get_identity_transformation_2d() -> Transformation2D"""
2322 return _IMP_algebra.get_identity_transformation_2d()
2326 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2327 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2329 return _IMP_algebra.get_rotation_about_point(*args)
2333 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2334 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2335 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2336 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2338 return _IMP_algebra.compose(*args)
2340 def get_unit_sphere_kd(d):
2341 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2342 return _IMP_algebra.get_unit_sphere_kd(d)
2346 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2347 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2349 return _IMP_algebra.get_enclosing_sphere(*args)
2352 """get_ball_radius_from_volume_3d(double volume) -> double"""
2353 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2356 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2357 return _IMP_algebra.get_surface_area_and_volume(ss)
2360 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2361 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2363 """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2365 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2368 """get_unit_vector(Vector1D self) -> Vector1D"""
2369 return _IMP_algebra.Vector1D_get_unit_vector(self)
2372 def __div__(self, s):
2373 """__div__(Vector1D self, double s) -> Vector1D"""
2374 return _IMP_algebra.Vector1D___div__(self, s)
2378 """__neg__(Vector1D self) -> Vector1D"""
2379 return _IMP_algebra.Vector1D___neg__(self)
2382 def __sub__(self, o):
2383 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2384 return _IMP_algebra.Vector1D___sub__(self, o)
2387 def __add__(self, ret):
2388 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2389 return _IMP_algebra.Vector1D___add__(self, ret)
2392 def __mul__(self, *args):
2394 __mul__(Vector1D self, double s) -> Vector1D
2395 __mul__(Vector1D self, Vector1D o) -> double
2397 return _IMP_algebra.Vector1D___mul__(self, *args)
2400 def __init__(self, *args):
2402 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2403 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2404 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2406 this = _IMP_algebra.new_Vector1D(*args)
2408 self.this.append(this)
2409 except __builtin__.Exception:
2412 def __getitem__(self, index):
2413 """__getitem__(Vector1D self, unsigned int index) -> double"""
2414 return _IMP_algebra.Vector1D___getitem__(self, index)
2417 def __setitem__(self, index, val):
2418 """__setitem__(Vector1D self, unsigned int index, double val)"""
2419 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2422 def __iadd__(self, *args):
2423 _IMP_algebra.Vector1D___iadd__(self, *args)
2428 def __imul__(self, *args):
2429 _IMP_algebra.Vector1D___imul__(self, *args)
2434 def __idiv__(self, *args):
2435 _IMP_algebra.Vector1D___idiv__(self, *args)
2440 def __isub__(self, *args):
2441 _IMP_algebra.Vector1D___isub__(self, *args)
2447 """__len__(Vector1D self) -> unsigned int"""
2448 return _IMP_algebra.Vector1D___len__(self)
2451 def __rmul__(self, f):
2452 """__rmul__(Vector1D self, double f) -> Vector1D"""
2453 return _IMP_algebra.Vector1D___rmul__(self, f)
2457 """__str__(Vector1D self) -> std::string"""
2458 return _IMP_algebra.Vector1D___str__(self)
2462 """__repr__(Vector1D self) -> std::string"""
2463 return _IMP_algebra.Vector1D___repr__(self)
2466 def __cmp__(self, arg2):
2467 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2468 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2471 def __eq__(self, arg2):
2472 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2473 return _IMP_algebra.Vector1D___eq__(self, arg2)
2476 __truediv__ = __div__
2477 __itruediv__ = __idiv__
2479 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2480 __del__ =
lambda self:
None
2481 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2482 Vector1D_swigregister(Vector1D)
2485 """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2490 """get_unit_vector(Vector2D self) -> Vector2D"""
2491 return _IMP_algebra.Vector2D_get_unit_vector(self)
2494 def __div__(self, s):
2495 """__div__(Vector2D self, double s) -> Vector2D"""
2496 return _IMP_algebra.Vector2D___div__(self, s)
2500 """__neg__(Vector2D self) -> Vector2D"""
2501 return _IMP_algebra.Vector2D___neg__(self)
2504 def __sub__(self, o):
2505 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2506 return _IMP_algebra.Vector2D___sub__(self, o)
2509 def __add__(self, ret):
2510 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2511 return _IMP_algebra.Vector2D___add__(self, ret)
2514 def __mul__(self, *args):
2516 __mul__(Vector2D self, double s) -> Vector2D
2517 __mul__(Vector2D self, Vector2D o) -> double
2519 return _IMP_algebra.Vector2D___mul__(self, *args)
2522 def __init__(self, *args):
2524 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2525 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2526 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2528 this = _IMP_algebra.new_Vector2D(*args)
2530 self.this.append(this)
2531 except __builtin__.Exception:
2534 def __getitem__(self, index):
2535 """__getitem__(Vector2D self, unsigned int index) -> double"""
2536 return _IMP_algebra.Vector2D___getitem__(self, index)
2539 def __setitem__(self, index, val):
2540 """__setitem__(Vector2D self, unsigned int index, double val)"""
2541 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2544 def __iadd__(self, *args):
2545 _IMP_algebra.Vector2D___iadd__(self, *args)
2550 def __imul__(self, *args):
2551 _IMP_algebra.Vector2D___imul__(self, *args)
2556 def __idiv__(self, *args):
2557 _IMP_algebra.Vector2D___idiv__(self, *args)
2562 def __isub__(self, *args):
2563 _IMP_algebra.Vector2D___isub__(self, *args)
2569 """__len__(Vector2D self) -> unsigned int"""
2570 return _IMP_algebra.Vector2D___len__(self)
2573 def __rmul__(self, f):
2574 """__rmul__(Vector2D self, double f) -> Vector2D"""
2575 return _IMP_algebra.Vector2D___rmul__(self, f)
2579 """__str__(Vector2D self) -> std::string"""
2580 return _IMP_algebra.Vector2D___str__(self)
2584 """__repr__(Vector2D self) -> std::string"""
2585 return _IMP_algebra.Vector2D___repr__(self)
2588 def __cmp__(self, arg2):
2589 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2590 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2593 def __eq__(self, arg2):
2594 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2595 return _IMP_algebra.Vector2D___eq__(self, arg2)
2598 __truediv__ = __div__
2599 __itruediv__ = __idiv__
2601 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2602 __del__ =
lambda self:
None
2603 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2604 Vector2D_swigregister(Vector2D)
2607 """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2612 """get_unit_vector(Vector3D self) -> Vector3D"""
2613 return _IMP_algebra.Vector3D_get_unit_vector(self)
2616 def __div__(self, s):
2617 """__div__(Vector3D self, double s) -> Vector3D"""
2618 return _IMP_algebra.Vector3D___div__(self, s)
2622 """__neg__(Vector3D self) -> Vector3D"""
2623 return _IMP_algebra.Vector3D___neg__(self)
2626 def __sub__(self, o):
2627 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2628 return _IMP_algebra.Vector3D___sub__(self, o)
2631 def __add__(self, ret):
2632 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2633 return _IMP_algebra.Vector3D___add__(self, ret)
2636 def __mul__(self, *args):
2638 __mul__(Vector3D self, double s) -> Vector3D
2639 __mul__(Vector3D self, Vector3D o) -> double
2641 return _IMP_algebra.Vector3D___mul__(self, *args)
2644 def __init__(self, *args):
2646 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2647 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2648 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2650 this = _IMP_algebra.new_Vector3D(*args)
2652 self.this.append(this)
2653 except __builtin__.Exception:
2656 def __getitem__(self, index):
2657 """__getitem__(Vector3D self, unsigned int index) -> double"""
2658 return _IMP_algebra.Vector3D___getitem__(self, index)
2661 def __setitem__(self, index, val):
2662 """__setitem__(Vector3D self, unsigned int index, double val)"""
2663 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2666 def __iadd__(self, *args):
2667 _IMP_algebra.Vector3D___iadd__(self, *args)
2672 def __imul__(self, *args):
2673 _IMP_algebra.Vector3D___imul__(self, *args)
2678 def __idiv__(self, *args):
2679 _IMP_algebra.Vector3D___idiv__(self, *args)
2684 def __isub__(self, *args):
2685 _IMP_algebra.Vector3D___isub__(self, *args)
2691 """__len__(Vector3D self) -> unsigned int"""
2692 return _IMP_algebra.Vector3D___len__(self)
2695 def __rmul__(self, f):
2696 """__rmul__(Vector3D self, double f) -> Vector3D"""
2697 return _IMP_algebra.Vector3D___rmul__(self, f)
2701 """__str__(Vector3D self) -> std::string"""
2702 return _IMP_algebra.Vector3D___str__(self)
2706 """__repr__(Vector3D self) -> std::string"""
2707 return _IMP_algebra.Vector3D___repr__(self)
2710 def __cmp__(self, arg2):
2711 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2712 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2715 def __eq__(self, arg2):
2716 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2717 return _IMP_algebra.Vector3D___eq__(self, arg2)
2720 __truediv__ = __div__
2721 __itruediv__ = __idiv__
2723 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2724 __del__ =
lambda self:
None
2725 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2726 Vector3D_swigregister(Vector3D)
2729 """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2734 """get_unit_vector(Vector4D self) -> Vector4D"""
2735 return _IMP_algebra.Vector4D_get_unit_vector(self)
2738 def __div__(self, s):
2739 """__div__(Vector4D self, double s) -> Vector4D"""
2740 return _IMP_algebra.Vector4D___div__(self, s)
2744 """__neg__(Vector4D self) -> Vector4D"""
2745 return _IMP_algebra.Vector4D___neg__(self)
2748 def __sub__(self, o):
2749 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2750 return _IMP_algebra.Vector4D___sub__(self, o)
2753 def __add__(self, ret):
2754 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2755 return _IMP_algebra.Vector4D___add__(self, ret)
2758 def __mul__(self, *args):
2760 __mul__(Vector4D self, double s) -> Vector4D
2761 __mul__(Vector4D self, Vector4D o) -> double
2763 return _IMP_algebra.Vector4D___mul__(self, *args)
2766 def __init__(self, *args):
2768 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2769 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2770 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2772 this = _IMP_algebra.new_Vector4D(*args)
2774 self.this.append(this)
2775 except __builtin__.Exception:
2778 def __getitem__(self, index):
2779 """__getitem__(Vector4D self, unsigned int index) -> double"""
2780 return _IMP_algebra.Vector4D___getitem__(self, index)
2783 def __setitem__(self, index, val):
2784 """__setitem__(Vector4D self, unsigned int index, double val)"""
2785 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2788 def __iadd__(self, *args):
2789 _IMP_algebra.Vector4D___iadd__(self, *args)
2794 def __imul__(self, *args):
2795 _IMP_algebra.Vector4D___imul__(self, *args)
2800 def __idiv__(self, *args):
2801 _IMP_algebra.Vector4D___idiv__(self, *args)
2806 def __isub__(self, *args):
2807 _IMP_algebra.Vector4D___isub__(self, *args)
2813 """__len__(Vector4D self) -> unsigned int"""
2814 return _IMP_algebra.Vector4D___len__(self)
2817 def __rmul__(self, f):
2818 """__rmul__(Vector4D self, double f) -> Vector4D"""
2819 return _IMP_algebra.Vector4D___rmul__(self, f)
2823 """__str__(Vector4D self) -> std::string"""
2824 return _IMP_algebra.Vector4D___str__(self)
2828 """__repr__(Vector4D self) -> std::string"""
2829 return _IMP_algebra.Vector4D___repr__(self)
2832 def __cmp__(self, arg2):
2833 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2834 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2837 def __eq__(self, arg2):
2838 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2839 return _IMP_algebra.Vector4D___eq__(self, arg2)
2842 __truediv__ = __div__
2843 __itruediv__ = __idiv__
2845 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2846 __del__ =
lambda self:
None
2847 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2848 Vector4D_swigregister(Vector4D)
2851 """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2856 """get_unit_vector(Vector5D self) -> Vector5D"""
2857 return _IMP_algebra.Vector5D_get_unit_vector(self)
2860 def __div__(self, s):
2861 """__div__(Vector5D self, double s) -> Vector5D"""
2862 return _IMP_algebra.Vector5D___div__(self, s)
2866 """__neg__(Vector5D self) -> Vector5D"""
2867 return _IMP_algebra.Vector5D___neg__(self)
2870 def __sub__(self, o):
2871 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2872 return _IMP_algebra.Vector5D___sub__(self, o)
2875 def __add__(self, ret):
2876 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2877 return _IMP_algebra.Vector5D___add__(self, ret)
2880 def __mul__(self, *args):
2882 __mul__(Vector5D self, double s) -> Vector5D
2883 __mul__(Vector5D self, Vector5D o) -> double
2885 return _IMP_algebra.Vector5D___mul__(self, *args)
2888 def __init__(self, *args):
2890 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2891 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2892 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2894 this = _IMP_algebra.new_Vector5D(*args)
2896 self.this.append(this)
2897 except __builtin__.Exception:
2900 def __getitem__(self, index):
2901 """__getitem__(Vector5D self, unsigned int index) -> double"""
2902 return _IMP_algebra.Vector5D___getitem__(self, index)
2905 def __setitem__(self, index, val):
2906 """__setitem__(Vector5D self, unsigned int index, double val)"""
2907 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2910 def __iadd__(self, *args):
2911 _IMP_algebra.Vector5D___iadd__(self, *args)
2916 def __imul__(self, *args):
2917 _IMP_algebra.Vector5D___imul__(self, *args)
2922 def __idiv__(self, *args):
2923 _IMP_algebra.Vector5D___idiv__(self, *args)
2928 def __isub__(self, *args):
2929 _IMP_algebra.Vector5D___isub__(self, *args)
2935 """__len__(Vector5D self) -> unsigned int"""
2936 return _IMP_algebra.Vector5D___len__(self)
2939 def __rmul__(self, f):
2940 """__rmul__(Vector5D self, double f) -> Vector5D"""
2941 return _IMP_algebra.Vector5D___rmul__(self, f)
2945 """__str__(Vector5D self) -> std::string"""
2946 return _IMP_algebra.Vector5D___str__(self)
2950 """__repr__(Vector5D self) -> std::string"""
2951 return _IMP_algebra.Vector5D___repr__(self)
2954 def __cmp__(self, arg2):
2955 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2956 return _IMP_algebra.Vector5D___cmp__(self, arg2)
2959 def __eq__(self, arg2):
2960 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2961 return _IMP_algebra.Vector5D___eq__(self, arg2)
2964 __truediv__ = __div__
2965 __itruediv__ = __idiv__
2967 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2968 __del__ =
lambda self:
None
2969 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2970 Vector5D_swigregister(Vector5D)
2973 """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
2975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2978 """get_unit_vector(Vector6D self) -> Vector6D"""
2979 return _IMP_algebra.Vector6D_get_unit_vector(self)
2982 def __div__(self, s):
2983 """__div__(Vector6D self, double s) -> Vector6D"""
2984 return _IMP_algebra.Vector6D___div__(self, s)
2988 """__neg__(Vector6D self) -> Vector6D"""
2989 return _IMP_algebra.Vector6D___neg__(self)
2992 def __sub__(self, o):
2993 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2994 return _IMP_algebra.Vector6D___sub__(self, o)
2997 def __add__(self, ret):
2998 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2999 return _IMP_algebra.Vector6D___add__(self, ret)
3002 def __mul__(self, *args):
3004 __mul__(Vector6D self, double s) -> Vector6D
3005 __mul__(Vector6D self, Vector6D o) -> double
3007 return _IMP_algebra.Vector6D___mul__(self, *args)
3010 def __init__(self, *args):
3012 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3013 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3014 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3016 this = _IMP_algebra.new_Vector6D(*args)
3018 self.this.append(this)
3019 except __builtin__.Exception:
3022 def __getitem__(self, index):
3023 """__getitem__(Vector6D self, unsigned int index) -> double"""
3024 return _IMP_algebra.Vector6D___getitem__(self, index)
3027 def __setitem__(self, index, val):
3028 """__setitem__(Vector6D self, unsigned int index, double val)"""
3029 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3032 def __iadd__(self, *args):
3033 _IMP_algebra.Vector6D___iadd__(self, *args)
3038 def __imul__(self, *args):
3039 _IMP_algebra.Vector6D___imul__(self, *args)
3044 def __idiv__(self, *args):
3045 _IMP_algebra.Vector6D___idiv__(self, *args)
3050 def __isub__(self, *args):
3051 _IMP_algebra.Vector6D___isub__(self, *args)
3057 """__len__(Vector6D self) -> unsigned int"""
3058 return _IMP_algebra.Vector6D___len__(self)
3061 def __rmul__(self, f):
3062 """__rmul__(Vector6D self, double f) -> Vector6D"""
3063 return _IMP_algebra.Vector6D___rmul__(self, f)
3067 """__str__(Vector6D self) -> std::string"""
3068 return _IMP_algebra.Vector6D___str__(self)
3072 """__repr__(Vector6D self) -> std::string"""
3073 return _IMP_algebra.Vector6D___repr__(self)
3076 def __cmp__(self, arg2):
3077 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3078 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3081 def __eq__(self, arg2):
3082 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3083 return _IMP_algebra.Vector6D___eq__(self, arg2)
3086 __truediv__ = __div__
3087 __itruediv__ = __idiv__
3089 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3090 __del__ =
lambda self:
None
3091 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3092 Vector6D_swigregister(Vector6D)
3095 """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3100 """get_unit_vector(VectorKD self) -> VectorKD"""
3101 return _IMP_algebra.VectorKD_get_unit_vector(self)
3104 def __div__(self, s):
3105 """__div__(VectorKD self, double s) -> VectorKD"""
3106 return _IMP_algebra.VectorKD___div__(self, s)
3110 """__neg__(VectorKD self) -> VectorKD"""
3111 return _IMP_algebra.VectorKD___neg__(self)
3114 def __sub__(self, o):
3115 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3116 return _IMP_algebra.VectorKD___sub__(self, o)
3119 def __add__(self, ret):
3120 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3121 return _IMP_algebra.VectorKD___add__(self, ret)
3124 def __mul__(self, *args):
3126 __mul__(VectorKD self, double s) -> VectorKD
3127 __mul__(VectorKD self, VectorKD o) -> double
3129 return _IMP_algebra.VectorKD___mul__(self, *args)
3132 def __init__(self, *args):
3134 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3135 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3136 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3137 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3138 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3139 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3140 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3141 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3143 this = _IMP_algebra.new_VectorKD(*args)
3145 self.this.append(this)
3146 except __builtin__.Exception:
3149 def __getitem__(self, index):
3150 """__getitem__(VectorKD self, unsigned int index) -> double"""
3151 return _IMP_algebra.VectorKD___getitem__(self, index)
3154 def __setitem__(self, index, val):
3155 """__setitem__(VectorKD self, unsigned int index, double val)"""
3156 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3159 def __iadd__(self, *args):
3160 _IMP_algebra.VectorKD___iadd__(self, *args)
3165 def __imul__(self, *args):
3166 _IMP_algebra.VectorKD___imul__(self, *args)
3171 def __idiv__(self, *args):
3172 _IMP_algebra.VectorKD___idiv__(self, *args)
3177 def __isub__(self, *args):
3178 _IMP_algebra.VectorKD___isub__(self, *args)
3184 """__len__(VectorKD self) -> unsigned int"""
3185 return _IMP_algebra.VectorKD___len__(self)
3188 def __rmul__(self, f):
3189 """__rmul__(VectorKD self, double f) -> VectorKD"""
3190 return _IMP_algebra.VectorKD___rmul__(self, f)
3194 """__str__(VectorKD self) -> std::string"""
3195 return _IMP_algebra.VectorKD___str__(self)
3199 """__repr__(VectorKD self) -> std::string"""
3200 return _IMP_algebra.VectorKD___repr__(self)
3203 def __cmp__(self, arg2):
3204 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3205 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3208 def __eq__(self, arg2):
3209 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3210 return _IMP_algebra.VectorKD___eq__(self, arg2)
3213 __truediv__ = __div__
3214 __itruediv__ = __idiv__
3216 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3217 __del__ =
lambda self:
None
3218 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3219 VectorKD_swigregister(VectorKD)
3222 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3226 def get_dimension(self):
3227 """get_dimension(BoundingBox1D self) -> unsigned int"""
3228 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3231 def get_corner(self, i):
3232 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3233 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3236 def get_contains(self, *args):
3238 get_contains(BoundingBox1D self, Vector1D o) -> bool
3239 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3241 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3244 def show(self, *args):
3246 show(BoundingBox1D self, _ostream out)
3247 show(BoundingBox1D self)
3249 return _IMP_algebra.BoundingBox1D_show(self, *args)
3253 """__str__(BoundingBox1D self) -> std::string"""
3254 return _IMP_algebra.BoundingBox1D___str__(self)
3258 """__repr__(BoundingBox1D self) -> std::string"""
3259 return _IMP_algebra.BoundingBox1D___repr__(self)
3262 def __cmp__(self, arg2):
3263 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3264 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3267 def __eq__(self, arg2):
3268 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3269 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3272 def __init__(self, *args):
3274 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3275 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3276 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3277 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3278 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3280 this = _IMP_algebra.new_BoundingBox1D(*args)
3282 self.this.append(this)
3283 except __builtin__.Exception:
3286 def __getitem__(self, index):
3287 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3288 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3291 def __iadd__(self, *args):
3292 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3298 """__len__(BoundingBox1D self) -> unsigned int"""
3299 return _IMP_algebra.BoundingBox1D___len__(self)
3302 def __add__(self, *args):
3304 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3305 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3306 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3308 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3310 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3311 __del__ =
lambda self:
None
3312 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3313 BoundingBox1D_swigregister(BoundingBox1D)
3316 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3320 def get_dimension(self):
3321 """get_dimension(BoundingBox2D self) -> unsigned int"""
3322 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3325 def get_corner(self, i):
3326 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3327 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3330 def get_contains(self, *args):
3332 get_contains(BoundingBox2D self, Vector2D o) -> bool
3333 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3335 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3338 def show(self, *args):
3340 show(BoundingBox2D self, _ostream out)
3341 show(BoundingBox2D self)
3343 return _IMP_algebra.BoundingBox2D_show(self, *args)
3347 """__str__(BoundingBox2D self) -> std::string"""
3348 return _IMP_algebra.BoundingBox2D___str__(self)
3352 """__repr__(BoundingBox2D self) -> std::string"""
3353 return _IMP_algebra.BoundingBox2D___repr__(self)
3356 def __cmp__(self, arg2):
3357 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3358 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3361 def __eq__(self, arg2):
3362 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3363 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3366 def __init__(self, *args):
3368 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3369 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3370 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3371 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3372 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3374 this = _IMP_algebra.new_BoundingBox2D(*args)
3376 self.this.append(this)
3377 except __builtin__.Exception:
3380 def __getitem__(self, index):
3381 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3382 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3385 def __iadd__(self, *args):
3386 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3392 """__len__(BoundingBox2D self) -> unsigned int"""
3393 return _IMP_algebra.BoundingBox2D___len__(self)
3396 def __add__(self, *args):
3398 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3399 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3400 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3402 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3404 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3405 __del__ =
lambda self:
None
3406 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3407 BoundingBox2D_swigregister(BoundingBox2D)
3410 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3414 def get_dimension(self):
3415 """get_dimension(BoundingBox3D self) -> unsigned int"""
3416 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3419 def get_corner(self, i):
3420 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3421 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3424 def get_contains(self, *args):
3426 get_contains(BoundingBox3D self, Vector3D o) -> bool
3427 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3429 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3432 def show(self, *args):
3434 show(BoundingBox3D self, _ostream out)
3435 show(BoundingBox3D self)
3437 return _IMP_algebra.BoundingBox3D_show(self, *args)
3441 """__str__(BoundingBox3D self) -> std::string"""
3442 return _IMP_algebra.BoundingBox3D___str__(self)
3446 """__repr__(BoundingBox3D self) -> std::string"""
3447 return _IMP_algebra.BoundingBox3D___repr__(self)
3450 def __cmp__(self, arg2):
3451 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3452 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3455 def __eq__(self, arg2):
3456 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3457 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3460 def __init__(self, *args):
3462 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3463 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3464 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3465 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3466 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3468 this = _IMP_algebra.new_BoundingBox3D(*args)
3470 self.this.append(this)
3471 except __builtin__.Exception:
3474 def __getitem__(self, index):
3475 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3476 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3479 def __iadd__(self, *args):
3480 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3486 """__len__(BoundingBox3D self) -> unsigned int"""
3487 return _IMP_algebra.BoundingBox3D___len__(self)
3490 def __add__(self, *args):
3492 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3493 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3494 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3496 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3498 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3499 __del__ =
lambda self:
None
3500 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3501 BoundingBox3D_swigregister(BoundingBox3D)
3504 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3508 def get_dimension(self):
3509 """get_dimension(BoundingBox4D self) -> unsigned int"""
3510 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3513 def get_corner(self, i):
3514 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3515 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3518 def get_contains(self, *args):
3520 get_contains(BoundingBox4D self, Vector4D o) -> bool
3521 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3523 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3526 def show(self, *args):
3528 show(BoundingBox4D self, _ostream out)
3529 show(BoundingBox4D self)
3531 return _IMP_algebra.BoundingBox4D_show(self, *args)
3535 """__str__(BoundingBox4D self) -> std::string"""
3536 return _IMP_algebra.BoundingBox4D___str__(self)
3540 """__repr__(BoundingBox4D self) -> std::string"""
3541 return _IMP_algebra.BoundingBox4D___repr__(self)
3544 def __cmp__(self, arg2):
3545 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3546 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3549 def __eq__(self, arg2):
3550 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3551 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3554 def __init__(self, *args):
3556 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3557 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3558 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3559 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3560 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3562 this = _IMP_algebra.new_BoundingBox4D(*args)
3564 self.this.append(this)
3565 except __builtin__.Exception:
3568 def __getitem__(self, index):
3569 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3570 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3573 def __iadd__(self, *args):
3574 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3580 """__len__(BoundingBox4D self) -> unsigned int"""
3581 return _IMP_algebra.BoundingBox4D___len__(self)
3584 def __add__(self, *args):
3586 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3587 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3588 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3590 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3592 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3593 __del__ =
lambda self:
None
3594 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3595 BoundingBox4D_swigregister(BoundingBox4D)
3598 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3600 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3602 def get_dimension(self):
3603 """get_dimension(BoundingBox5D self) -> unsigned int"""
3604 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3607 def get_corner(self, i):
3608 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3609 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3612 def get_contains(self, *args):
3614 get_contains(BoundingBox5D self, Vector5D o) -> bool
3615 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3617 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3620 def show(self, *args):
3622 show(BoundingBox5D self, _ostream out)
3623 show(BoundingBox5D self)
3625 return _IMP_algebra.BoundingBox5D_show(self, *args)
3629 """__str__(BoundingBox5D self) -> std::string"""
3630 return _IMP_algebra.BoundingBox5D___str__(self)
3634 """__repr__(BoundingBox5D self) -> std::string"""
3635 return _IMP_algebra.BoundingBox5D___repr__(self)
3638 def __cmp__(self, arg2):
3639 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3640 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3643 def __eq__(self, arg2):
3644 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3645 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3648 def __init__(self, *args):
3650 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3651 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3652 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3653 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3654 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3656 this = _IMP_algebra.new_BoundingBox5D(*args)
3658 self.this.append(this)
3659 except __builtin__.Exception:
3662 def __getitem__(self, index):
3663 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3664 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3667 def __iadd__(self, *args):
3668 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3674 """__len__(BoundingBox5D self) -> unsigned int"""
3675 return _IMP_algebra.BoundingBox5D___len__(self)
3678 def __add__(self, *args):
3680 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3681 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3682 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3684 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3686 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3687 __del__ =
lambda self:
None
3688 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3689 BoundingBox5D_swigregister(BoundingBox5D)
3692 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3694 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3696 def get_dimension(self):
3697 """get_dimension(BoundingBox6D self) -> unsigned int"""
3698 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3701 def get_corner(self, i):
3702 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3703 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3706 def get_contains(self, *args):
3708 get_contains(BoundingBox6D self, Vector6D o) -> bool
3709 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3711 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3714 def show(self, *args):
3716 show(BoundingBox6D self, _ostream out)
3717 show(BoundingBox6D self)
3719 return _IMP_algebra.BoundingBox6D_show(self, *args)
3723 """__str__(BoundingBox6D self) -> std::string"""
3724 return _IMP_algebra.BoundingBox6D___str__(self)
3728 """__repr__(BoundingBox6D self) -> std::string"""
3729 return _IMP_algebra.BoundingBox6D___repr__(self)
3732 def __cmp__(self, arg2):
3733 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3734 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3737 def __eq__(self, arg2):
3738 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3739 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3742 def __init__(self, *args):
3744 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3745 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3746 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3747 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3748 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3750 this = _IMP_algebra.new_BoundingBox6D(*args)
3752 self.this.append(this)
3753 except __builtin__.Exception:
3756 def __getitem__(self, index):
3757 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3758 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3761 def __iadd__(self, *args):
3762 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3768 """__len__(BoundingBox6D self) -> unsigned int"""
3769 return _IMP_algebra.BoundingBox6D___len__(self)
3772 def __add__(self, *args):
3774 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3775 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3776 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3778 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3780 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3781 __del__ =
lambda self:
None
3782 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3783 BoundingBox6D_swigregister(BoundingBox6D)
3786 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3788 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3790 def get_dimension(self):
3791 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3792 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3795 def get_corner(self, i):
3796 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3797 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3800 def get_contains(self, *args):
3802 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3803 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3805 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3808 def show(self, *args):
3810 show(BoundingBoxKD self, _ostream out)
3811 show(BoundingBoxKD self)
3813 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3817 """__str__(BoundingBoxKD self) -> std::string"""
3818 return _IMP_algebra.BoundingBoxKD___str__(self)
3822 """__repr__(BoundingBoxKD self) -> std::string"""
3823 return _IMP_algebra.BoundingBoxKD___repr__(self)
3826 def __cmp__(self, arg2):
3827 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3828 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3831 def __eq__(self, arg2):
3832 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3833 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3836 def __init__(self, *args):
3838 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3839 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3840 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3841 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3842 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3844 this = _IMP_algebra.new_BoundingBoxKD(*args)
3846 self.this.append(this)
3847 except __builtin__.Exception:
3850 def __getitem__(self, index):
3851 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3852 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3855 def __iadd__(self, *args):
3856 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3862 """__len__(BoundingBoxKD self) -> unsigned int"""
3863 return _IMP_algebra.BoundingBoxKD___len__(self)
3866 def __add__(self, *args):
3868 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3869 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3870 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3872 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3874 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3875 __del__ =
lambda self:
None
3876 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3877 BoundingBoxKD_swigregister(BoundingBoxKD)
3879 class Sphere1D(_GeometricPrimitive1D):
3880 """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3882 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3884 def __init__(self, *args):
3886 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3887 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3889 this = _IMP_algebra.new_Sphere1D(*args)
3891 self.this.append(this)
3892 except __builtin__.Exception:
3895 def get_radius(self):
3896 """get_radius(Sphere1D self) -> double"""
3897 return _IMP_algebra.Sphere1D_get_radius(self)
3900 def get_center(self):
3901 """get_center(Sphere1D self) -> Vector1D"""
3902 return _IMP_algebra.Sphere1D_get_center(self)
3905 def get_contains(self, *args):
3907 get_contains(Sphere1D self, Sphere1D o) -> bool
3908 get_contains(Sphere1D self, Vector1D p) -> bool
3910 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3913 def show(self, *args):
3915 show(Sphere1D self, _ostream out)
3918 return _IMP_algebra.Sphere1D_show(self, *args)
3921 def get_dimension(self):
3922 """get_dimension(Sphere1D self) -> unsigned int"""
3923 return _IMP_algebra.Sphere1D_get_dimension(self)
3927 """__str__(Sphere1D self) -> std::string"""
3928 return _IMP_algebra.Sphere1D___str__(self)
3932 """__repr__(Sphere1D self) -> std::string"""
3933 return _IMP_algebra.Sphere1D___repr__(self)
3936 def __cmp__(self, arg2):
3937 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3938 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3941 def __eq__(self, arg2):
3942 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3943 return _IMP_algebra.Sphere1D___eq__(self, arg2)
3945 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3946 __del__ =
lambda self:
None
3947 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3948 Sphere1D_swigregister(Sphere1D)
3950 class Sphere2D(_GeometricPrimitive2D):
3951 """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3953 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3955 def __init__(self, *args):
3957 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3958 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3960 this = _IMP_algebra.new_Sphere2D(*args)
3962 self.this.append(this)
3963 except __builtin__.Exception:
3966 def get_radius(self):
3967 """get_radius(Sphere2D self) -> double"""
3968 return _IMP_algebra.Sphere2D_get_radius(self)
3971 def get_center(self):
3972 """get_center(Sphere2D self) -> Vector2D"""
3973 return _IMP_algebra.Sphere2D_get_center(self)
3976 def get_contains(self, *args):
3978 get_contains(Sphere2D self, Sphere2D o) -> bool
3979 get_contains(Sphere2D self, Vector2D p) -> bool
3981 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3984 def show(self, *args):
3986 show(Sphere2D self, _ostream out)
3989 return _IMP_algebra.Sphere2D_show(self, *args)
3992 def get_dimension(self):
3993 """get_dimension(Sphere2D self) -> unsigned int"""
3994 return _IMP_algebra.Sphere2D_get_dimension(self)
3998 """__str__(Sphere2D self) -> std::string"""
3999 return _IMP_algebra.Sphere2D___str__(self)
4003 """__repr__(Sphere2D self) -> std::string"""
4004 return _IMP_algebra.Sphere2D___repr__(self)
4007 def __cmp__(self, arg2):
4008 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4009 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4012 def __eq__(self, arg2):
4013 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4014 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4016 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4017 __del__ =
lambda self:
None
4018 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4019 Sphere2D_swigregister(Sphere2D)
4021 class Sphere3D(_GeometricPrimitive3D):
4022 """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4026 def __init__(self, *args):
4028 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4029 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4031 this = _IMP_algebra.new_Sphere3D(*args)
4033 self.this.append(this)
4034 except __builtin__.Exception:
4037 def get_radius(self):
4038 """get_radius(Sphere3D self) -> double"""
4039 return _IMP_algebra.Sphere3D_get_radius(self)
4042 def get_center(self):
4043 """get_center(Sphere3D self) -> Vector3D"""
4044 return _IMP_algebra.Sphere3D_get_center(self)
4047 def get_contains(self, *args):
4049 get_contains(Sphere3D self, Sphere3D o) -> bool
4050 get_contains(Sphere3D self, Vector3D p) -> bool
4052 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4055 def show(self, *args):
4057 show(Sphere3D self, _ostream out)
4060 return _IMP_algebra.Sphere3D_show(self, *args)
4063 def get_dimension(self):
4064 """get_dimension(Sphere3D self) -> unsigned int"""
4065 return _IMP_algebra.Sphere3D_get_dimension(self)
4069 """__str__(Sphere3D self) -> std::string"""
4070 return _IMP_algebra.Sphere3D___str__(self)
4074 """__repr__(Sphere3D self) -> std::string"""
4075 return _IMP_algebra.Sphere3D___repr__(self)
4078 def __cmp__(self, arg2):
4079 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4080 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4083 def __eq__(self, arg2):
4084 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4085 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4087 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4088 __del__ =
lambda self:
None
4089 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4090 Sphere3D_swigregister(Sphere3D)
4092 class Sphere4D(_GeometricPrimitive4D):
4093 """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4097 def __init__(self, *args):
4099 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4100 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4102 this = _IMP_algebra.new_Sphere4D(*args)
4104 self.this.append(this)
4105 except __builtin__.Exception:
4108 def get_radius(self):
4109 """get_radius(Sphere4D self) -> double"""
4110 return _IMP_algebra.Sphere4D_get_radius(self)
4113 def get_center(self):
4114 """get_center(Sphere4D self) -> Vector4D"""
4115 return _IMP_algebra.Sphere4D_get_center(self)
4118 def get_contains(self, *args):
4120 get_contains(Sphere4D self, Sphere4D o) -> bool
4121 get_contains(Sphere4D self, Vector4D p) -> bool
4123 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4126 def show(self, *args):
4128 show(Sphere4D self, _ostream out)
4131 return _IMP_algebra.Sphere4D_show(self, *args)
4134 def get_dimension(self):
4135 """get_dimension(Sphere4D self) -> unsigned int"""
4136 return _IMP_algebra.Sphere4D_get_dimension(self)
4140 """__str__(Sphere4D self) -> std::string"""
4141 return _IMP_algebra.Sphere4D___str__(self)
4145 """__repr__(Sphere4D self) -> std::string"""
4146 return _IMP_algebra.Sphere4D___repr__(self)
4149 def __cmp__(self, arg2):
4150 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4151 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4154 def __eq__(self, arg2):
4155 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4156 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4158 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4159 __del__ =
lambda self:
None
4160 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4161 Sphere4D_swigregister(Sphere4D)
4163 class Sphere5D(_GeometricPrimitive5D):
4164 """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4166 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4168 def __init__(self, *args):
4170 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4171 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4173 this = _IMP_algebra.new_Sphere5D(*args)
4175 self.this.append(this)
4176 except __builtin__.Exception:
4179 def get_radius(self):
4180 """get_radius(Sphere5D self) -> double"""
4181 return _IMP_algebra.Sphere5D_get_radius(self)
4184 def get_center(self):
4185 """get_center(Sphere5D self) -> Vector5D"""
4186 return _IMP_algebra.Sphere5D_get_center(self)
4189 def get_contains(self, *args):
4191 get_contains(Sphere5D self, Sphere5D o) -> bool
4192 get_contains(Sphere5D self, Vector5D p) -> bool
4194 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4197 def show(self, *args):
4199 show(Sphere5D self, _ostream out)
4202 return _IMP_algebra.Sphere5D_show(self, *args)
4205 def get_dimension(self):
4206 """get_dimension(Sphere5D self) -> unsigned int"""
4207 return _IMP_algebra.Sphere5D_get_dimension(self)
4211 """__str__(Sphere5D self) -> std::string"""
4212 return _IMP_algebra.Sphere5D___str__(self)
4216 """__repr__(Sphere5D self) -> std::string"""
4217 return _IMP_algebra.Sphere5D___repr__(self)
4220 def __cmp__(self, arg2):
4221 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4222 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4225 def __eq__(self, arg2):
4226 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4227 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4229 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4230 __del__ =
lambda self:
None
4231 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4232 Sphere5D_swigregister(Sphere5D)
4234 class Sphere6D(_GeometricPrimitive6D):
4235 """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4239 def __init__(self, *args):
4241 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4242 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4244 this = _IMP_algebra.new_Sphere6D(*args)
4246 self.this.append(this)
4247 except __builtin__.Exception:
4250 def get_radius(self):
4251 """get_radius(Sphere6D self) -> double"""
4252 return _IMP_algebra.Sphere6D_get_radius(self)
4255 def get_center(self):
4256 """get_center(Sphere6D self) -> Vector6D"""
4257 return _IMP_algebra.Sphere6D_get_center(self)
4260 def get_contains(self, *args):
4262 get_contains(Sphere6D self, Sphere6D o) -> bool
4263 get_contains(Sphere6D self, Vector6D p) -> bool
4265 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4268 def show(self, *args):
4270 show(Sphere6D self, _ostream out)
4273 return _IMP_algebra.Sphere6D_show(self, *args)
4276 def get_dimension(self):
4277 """get_dimension(Sphere6D self) -> unsigned int"""
4278 return _IMP_algebra.Sphere6D_get_dimension(self)
4282 """__str__(Sphere6D self) -> std::string"""
4283 return _IMP_algebra.Sphere6D___str__(self)
4287 """__repr__(Sphere6D self) -> std::string"""
4288 return _IMP_algebra.Sphere6D___repr__(self)
4291 def __cmp__(self, arg2):
4292 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4293 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4296 def __eq__(self, arg2):
4297 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4298 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4300 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4301 __del__ =
lambda self:
None
4302 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4303 Sphere6D_swigregister(Sphere6D)
4305 class SphereKD(_GeometricPrimitiveKD):
4306 """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4310 def __init__(self, *args):
4312 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4313 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4315 this = _IMP_algebra.new_SphereKD(*args)
4317 self.this.append(this)
4318 except __builtin__.Exception:
4321 def get_radius(self):
4322 """get_radius(SphereKD self) -> double"""
4323 return _IMP_algebra.SphereKD_get_radius(self)
4326 def get_center(self):
4327 """get_center(SphereKD self) -> VectorKD"""
4328 return _IMP_algebra.SphereKD_get_center(self)
4331 def get_contains(self, *args):
4333 get_contains(SphereKD self, SphereKD o) -> bool
4334 get_contains(SphereKD self, VectorKD p) -> bool
4336 return _IMP_algebra.SphereKD_get_contains(self, *args)
4339 def show(self, *args):
4341 show(SphereKD self, _ostream out)
4344 return _IMP_algebra.SphereKD_show(self, *args)
4347 def get_dimension(self):
4348 """get_dimension(SphereKD self) -> unsigned int"""
4349 return _IMP_algebra.SphereKD_get_dimension(self)
4353 """__str__(SphereKD self) -> std::string"""
4354 return _IMP_algebra.SphereKD___str__(self)
4358 """__repr__(SphereKD self) -> std::string"""
4359 return _IMP_algebra.SphereKD___repr__(self)
4362 def __cmp__(self, arg2):
4363 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4364 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4367 def __eq__(self, arg2):
4368 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4369 return _IMP_algebra.SphereKD___eq__(self, arg2)
4371 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4372 __del__ =
lambda self:
None
4373 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4374 SphereKD_swigregister(SphereKD)
4376 class ReferenceFrame3D(object):
4377 """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4381 def __init__(self, *args):
4383 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4384 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4386 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4388 self.this.append(this)
4389 except __builtin__.Exception:
4391 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4392 __del__ =
lambda self:
None
4394 def get_transformation_to(self):
4395 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4396 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4399 def get_transformation_from(self):
4400 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4401 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4404 def get_global_coordinates(self, v):
4405 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4406 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4409 def get_local_coordinates(self, v):
4410 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4411 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4414 def get_global_reference_frame(self, v):
4415 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4416 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4419 def get_local_reference_frame(self, v):
4420 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4421 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4424 def show(self, *args):
4426 show(ReferenceFrame3D self, _ostream out)
4427 show(ReferenceFrame3D self)
4429 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4433 """__str__(ReferenceFrame3D self) -> std::string"""
4434 return _IMP_algebra.ReferenceFrame3D___str__(self)
4438 """__repr__(ReferenceFrame3D self) -> std::string"""
4439 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4441 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4442 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4445 def get_transformed(*args):
4447 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4448 get_transformed(Line3D l, Transformation3D tr) -> Line3D
4449 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4451 return _IMP_algebra.get_transformed(*args)
4453 def get_transformation_from_first_to_second(a, b):
4454 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4455 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4456 class SphericalVector3D(_GeometricPrimitive3D):
4457 """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4461 def __init__(self, *args):
4463 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4464 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4465 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4466 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4468 this = _IMP_algebra.new_SphericalVector3D(*args)
4470 self.this.append(this)
4471 except __builtin__.Exception:
4474 def get_cartesian_coordinates(self):
4475 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4476 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4479 def show(self, *args):
4481 show(SphericalVector3D self, _ostream out)
4482 show(SphericalVector3D self)
4484 return _IMP_algebra.SphericalVector3D_show(self, *args)
4488 """__str__(SphericalVector3D self) -> std::string"""
4489 return _IMP_algebra.SphericalVector3D___str__(self)
4493 """__repr__(SphericalVector3D self) -> std::string"""
4494 return _IMP_algebra.SphericalVector3D___repr__(self)
4497 def __getitem__(self, index):
4498 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4499 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4502 def __setitem__(self, index, val):
4503 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4504 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4506 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4507 __del__ =
lambda self:
None
4508 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4509 SphericalVector3D_swigregister(SphericalVector3D)
4513 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4514 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4515 class Line3D(_GeometricPrimitive3D):
4516 """Proxy of C++ IMP::algebra::Line3D class."""
4518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4520 def __init__(self, *args):
4522 __init__(IMP::algebra::Line3D self) -> Line3D
4523 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4524 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4526 this = _IMP_algebra.new_Line3D(*args)
4528 self.this.append(this)
4529 except __builtin__.Exception:
4532 def get_direction(self):
4533 """get_direction(Line3D self) -> Vector3D"""
4534 return _IMP_algebra.Line3D_get_direction(self)
4537 def get_point_on_line(self):
4538 """get_point_on_line(Line3D self) -> Vector3D"""
4539 return _IMP_algebra.Line3D_get_point_on_line(self)
4542 def get_moment(self, *args):
4544 get_moment(Line3D self) -> Vector3D
4545 get_moment(Line3D self, Vector3D v) -> Vector3D
4547 return _IMP_algebra.Line3D_get_moment(self, *args)
4550 def get_reciprocal_product(self, l):
4551 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4552 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4555 def get_opposite(self):
4556 """get_opposite(Line3D self) -> Line3D"""
4557 return _IMP_algebra.Line3D_get_opposite(self)
4560 def get_segment_starting_at(self, v, d):
4561 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4562 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4565 def show(self, *args):
4567 show(Line3D self, _ostream out)
4570 return _IMP_algebra.Line3D_show(self, *args)
4574 """__str__(Line3D self) -> std::string"""
4575 return _IMP_algebra.Line3D___str__(self)
4579 """__repr__(Line3D self) -> std::string"""
4580 return _IMP_algebra.Line3D___repr__(self)
4582 __swig_destroy__ = _IMP_algebra.delete_Line3D
4583 __del__ =
lambda self:
None
4584 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4585 Line3D_swigregister(Line3D)
4588 def get_line_3d_geometry(g):
4589 """get_line_3d_geometry(Line3D g) -> Line3D"""
4590 return _IMP_algebra.get_line_3d_geometry(g)
4594 get_projected(Line3D l, Vector3D p) -> Vector3D
4595 get_projected(Line3D l, Segment3D s) -> Segment3D
4597 return _IMP_algebra.get_projected(*args)
4600 """get_angle(Line3D a, Line3D b) -> double"""
4601 return _IMP_algebra.get_angle(a, b)
4604 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4605 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4606 class Segment3D(_GeometricPrimitive3D):
4607 """Proxy of C++ IMP::algebra::Segment3D class."""
4609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4611 def __init__(self, *args):
4613 __init__(IMP::algebra::Segment3D self) -> Segment3D
4614 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4616 this = _IMP_algebra.new_Segment3D(*args)
4618 self.this.append(this)
4619 except __builtin__.Exception:
4622 def get_point(self, i):
4625 return _IMP_algebra.Segment3D_get_point(self, i)
4629 def get_middle_point(self):
4630 """get_middle_point(Segment3D self) -> Vector3D"""
4631 return _IMP_algebra.Segment3D_get_middle_point(self)
4634 def get_direction(self):
4635 """get_direction(Segment3D self) -> Vector3D"""
4636 return _IMP_algebra.Segment3D_get_direction(self)
4639 def get_length(self):
4640 """get_length(Segment3D self) -> double"""
4641 return _IMP_algebra.Segment3D_get_length(self)
4644 def show(self, *args):
4646 show(Segment3D self, _ostream out)
4647 show(Segment3D self)
4649 return _IMP_algebra.Segment3D_show(self, *args)
4653 """__str__(Segment3D self) -> std::string"""
4654 return _IMP_algebra.Segment3D___str__(self)
4658 """__repr__(Segment3D self) -> std::string"""
4659 return _IMP_algebra.Segment3D___repr__(self)
4661 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4662 __del__ =
lambda self:
None
4663 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4664 Segment3D_swigregister(Segment3D)
4667 def get_segment_3d_geometry(g):
4668 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4669 return _IMP_algebra.get_segment_3d_geometry(g)
4672 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4673 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4674 class Triangle3D(_GeometricPrimitive3D):
4675 """Proxy of C++ IMP::algebra::Triangle3D class."""
4677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4679 def __init__(self, *args):
4681 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4682 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4684 this = _IMP_algebra.new_Triangle3D(*args)
4686 self.this.append(this)
4687 except __builtin__.Exception:
4690 def get_point(self, i):
4691 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4692 return _IMP_algebra.Triangle3D_get_point(self, i)
4695 def show(self, *args):
4697 show(Triangle3D self, _ostream out)
4698 show(Triangle3D self)
4700 return _IMP_algebra.Triangle3D_show(self, *args)
4703 def get_edge_lengths(self):
4704 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4705 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4709 """__str__(Triangle3D self) -> std::string"""
4710 return _IMP_algebra.Triangle3D___str__(self)
4714 """__repr__(Triangle3D self) -> std::string"""
4715 return _IMP_algebra.Triangle3D___repr__(self)
4717 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4718 __del__ =
lambda self:
None
4719 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4720 Triangle3D_swigregister(Triangle3D)
4724 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4725 return _IMP_algebra.get_largest_triangle(points)
4728 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4729 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4732 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4733 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4734 class LinearFit2D(_GeometricPrimitive2D):
4735 """Proxy of C++ IMP::algebra::LinearFit2D class."""
4737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4739 def __init__(self, *args):
4741 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4742 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4744 this = _IMP_algebra.new_LinearFit2D(*args)
4746 self.this.append(this)
4747 except __builtin__.Exception:
4750 def get_fit_error(self):
4751 """get_fit_error(LinearFit2D self) -> double"""
4752 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4756 """get_a(LinearFit2D self) -> double"""
4757 return _IMP_algebra.LinearFit2D_get_a(self)
4761 """get_b(LinearFit2D self) -> double"""
4762 return _IMP_algebra.LinearFit2D_get_b(self)
4765 def show(self, *args):
4767 show(LinearFit2D self, _ostream out)
4768 show(LinearFit2D self)
4770 return _IMP_algebra.LinearFit2D_show(self, *args)
4774 """__str__(LinearFit2D self) -> std::string"""
4775 return _IMP_algebra.LinearFit2D___str__(self)
4779 """__repr__(LinearFit2D self) -> std::string"""
4780 return _IMP_algebra.LinearFit2D___repr__(self)
4782 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4783 __del__ =
lambda self:
None
4784 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4785 LinearFit2D_swigregister(LinearFit2D)
4787 class ParabolicFit2D(_GeometricPrimitive2D):
4788 """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4792 def __init__(self, data):
4793 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4794 this = _IMP_algebra.new_ParabolicFit2D(data)
4796 self.this.append(this)
4797 except __builtin__.Exception:
4800 def get_fit_error(self):
4801 """get_fit_error(ParabolicFit2D self) -> double"""
4802 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4806 """get_a(ParabolicFit2D self) -> double"""
4807 return _IMP_algebra.ParabolicFit2D_get_a(self)
4811 """get_b(ParabolicFit2D self) -> double"""
4812 return _IMP_algebra.ParabolicFit2D_get_b(self)
4816 """get_c(ParabolicFit2D self) -> double"""
4817 return _IMP_algebra.ParabolicFit2D_get_c(self)
4820 def show(self, *args):
4822 show(ParabolicFit2D self, _ostream out)
4823 show(ParabolicFit2D self)
4825 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4829 """__str__(ParabolicFit2D self) -> std::string"""
4830 return _IMP_algebra.ParabolicFit2D___str__(self)
4834 """__repr__(ParabolicFit2D self) -> std::string"""
4835 return _IMP_algebra.ParabolicFit2D___repr__(self)
4837 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4838 __del__ =
lambda self:
None
4839 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4840 ParabolicFit2D_swigregister(ParabolicFit2D)
4842 class Plane3D(_GeometricPrimitive3D):
4843 """Proxy of C++ IMP::algebra::Plane3D class."""
4845 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4847 def __init__(self, *args):
4849 __init__(IMP::algebra::Plane3D self) -> Plane3D
4850 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4851 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4853 this = _IMP_algebra.new_Plane3D(*args)
4855 self.this.append(this)
4856 except __builtin__.Exception:
4859 def get_point_on_plane(self):
4860 """get_point_on_plane(Plane3D self) -> Vector3D"""
4861 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4864 def get_normal(self):
4865 """get_normal(Plane3D self) -> Vector3D"""
4866 return _IMP_algebra.Plane3D_get_normal(self)
4870 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4871 return _IMP_algebra.Plane3D_get_projected(self, p)
4874 def get_is_above(self, p):
4875 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4876 return _IMP_algebra.Plane3D_get_is_above(self, p)
4879 def get_is_below(self, p):
4880 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4881 return _IMP_algebra.Plane3D_get_is_below(self, p)
4885 """get_height(Plane3D self, Vector3D p) -> double"""
4886 return _IMP_algebra.Plane3D_get_height(self, p)
4889 def show(self, *args):
4891 show(Plane3D self, _ostream out)
4894 return _IMP_algebra.Plane3D_show(self, *args)
4897 def get_opposite(self):
4898 """get_opposite(Plane3D self) -> Plane3D"""
4899 return _IMP_algebra.Plane3D_get_opposite(self)
4902 def get_distance_from_origin(self):
4903 """get_distance_from_origin(Plane3D self) -> double"""
4904 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4908 """__str__(Plane3D self) -> std::string"""
4909 return _IMP_algebra.Plane3D___str__(self)
4913 """__repr__(Plane3D self) -> std::string"""
4914 return _IMP_algebra.Plane3D___repr__(self)
4916 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4917 __del__ =
lambda self:
None
4918 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4919 Plane3D_swigregister(Plane3D)
4923 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4924 return _IMP_algebra.get_reflected(pln, p)
4926 def get_plane_3d_geometry(g):
4927 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4928 return _IMP_algebra.get_plane_3d_geometry(g)
4929 class Reflection3D(_GeometricPrimitive3D):
4930 """Proxy of C++ IMP::algebra::Reflection3D class."""
4932 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4934 def __init__(self, *args):
4936 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4937 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4939 this = _IMP_algebra.new_Reflection3D(*args)
4941 self.this.append(this)
4942 except __builtin__.Exception:
4946 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4947 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4950 def show(self, *args):
4952 show(Reflection3D self, _ostream out)
4953 show(Reflection3D self)
4955 return _IMP_algebra.Reflection3D_show(self, *args)
4959 """__str__(Reflection3D self) -> std::string"""
4960 return _IMP_algebra.Reflection3D___str__(self)
4964 """__repr__(Reflection3D self) -> std::string"""
4965 return _IMP_algebra.Reflection3D___repr__(self)
4967 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4968 __del__ =
lambda self:
None
4969 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4970 Reflection3D_swigregister(Reflection3D)
4972 class Cylinder3D(_GeometricPrimitive3D):
4973 """Proxy of C++ IMP::algebra::Cylinder3D class."""
4975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4977 def __init__(self, *args):
4979 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4980 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4982 this = _IMP_algebra.new_Cylinder3D(*args)
4984 self.this.append(this)
4985 except __builtin__.Exception:
4988 def get_radius(self):
4989 """get_radius(Cylinder3D self) -> double"""
4990 return _IMP_algebra.Cylinder3D_get_radius(self)
4994 """get_segment(Cylinder3D self) -> Segment3D"""
4995 return _IMP_algebra.Cylinder3D_get_segment(self)
4998 def get_surface_point_at(self, relative_height, angle):
4999 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5000 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5003 def get_inner_point_at(self, relative_height, relative_radius, angle):
5004 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5005 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5008 def show(self, *args):
5010 show(Cylinder3D self, _ostream out)
5011 show(Cylinder3D self)
5013 return _IMP_algebra.Cylinder3D_show(self, *args)
5017 """__str__(Cylinder3D self) -> std::string"""
5018 return _IMP_algebra.Cylinder3D___str__(self)
5022 """__repr__(Cylinder3D self) -> std::string"""
5023 return _IMP_algebra.Cylinder3D___repr__(self)
5025 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5026 __del__ =
lambda self:
None
5027 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5028 Cylinder3D_swigregister(Cylinder3D)
5031 def get_cylinder_3d_geometry(g):
5032 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5033 return _IMP_algebra.get_cylinder_3d_geometry(g)
5034 class Ellipsoid3D(_GeometricPrimitive3D):
5035 """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5039 def __init__(self, *args):
5041 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5042 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5043 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5045 this = _IMP_algebra.new_Ellipsoid3D(*args)
5047 self.this.append(this)
5048 except __builtin__.Exception:
5051 def get_radii(self):
5052 """get_radii(Ellipsoid3D self) -> Vector3D"""
5053 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5056 def get_reference_frame(self):
5057 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5058 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5061 def show(self, *args):
5063 show(Ellipsoid3D self, _ostream out)
5064 show(Ellipsoid3D self)
5066 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5070 """__str__(Ellipsoid3D self) -> std::string"""
5071 return _IMP_algebra.Ellipsoid3D___str__(self)
5075 """__repr__(Ellipsoid3D self) -> std::string"""
5076 return _IMP_algebra.Ellipsoid3D___repr__(self)
5078 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5079 __del__ =
lambda self:
None
5080 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5081 Ellipsoid3D_swigregister(Ellipsoid3D)
5084 def get_ellipsoid_3d_geometry(g):
5085 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5086 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5087 class ConnollySurfacePoint(object):
5088 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5090 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5092 def __init__(self, a0, a1, a2, sp, a, n):
5093 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5094 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5096 self.this.append(this)
5097 except __builtin__.Exception:
5101 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5102 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5105 def get_surface_point(self):
5106 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5107 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5111 """get_area(ConnollySurfacePoint self) -> double"""
5112 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5115 def get_normal(self):
5116 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5117 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5120 def show(self, *args):
5122 show(ConnollySurfacePoint self, _ostream out)
5123 show(ConnollySurfacePoint self)
5125 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5129 """__str__(ConnollySurfacePoint self) -> std::string"""
5130 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5134 """__repr__(ConnollySurfacePoint self) -> std::string"""
5135 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5137 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5138 __del__ =
lambda self:
None
5139 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5140 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5144 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5145 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5146 class LogEmbedding3D(object):
5147 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5149 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5151 def __init__(self, *args):
5153 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5154 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5155 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5156 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5157 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5159 this = _IMP_algebra.new_LogEmbedding3D(*args)
5161 self.this.append(this)
5162 except __builtin__.Exception:
5165 def set_origin(self, o):
5166 """set_origin(LogEmbedding3D self, Vector3D o)"""
5167 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5170 def get_origin(self):
5171 """get_origin(LogEmbedding3D self) -> Vector3D"""
5172 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5175 def get_dimension(self):
5176 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5177 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5180 def set_unit_cell(self, *args):
5182 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5183 set_unit_cell(LogEmbedding3D self, Vector3D o)
5185 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5188 def get_unit_cell(self):
5189 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5190 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5193 def get_extended_index(self, o):
5194 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5195 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5199 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5200 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5203 def get_center(self, *args):
5205 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5206 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5208 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5211 def get_bounding_box(self, *args):
5213 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5214 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5216 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5219 def show(self, *args):
5221 show(LogEmbedding3D self, _ostream out)
5222 show(LogEmbedding3D self)
5224 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5228 """__str__(LogEmbedding3D self) -> std::string"""
5229 return _IMP_algebra.LogEmbedding3D___str__(self)
5233 """__repr__(LogEmbedding3D self) -> std::string"""
5234 return _IMP_algebra.LogEmbedding3D___repr__(self)
5237 def __cmp__(self, arg2):
5238 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5239 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5242 def __eq__(self, arg2):
5243 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5244 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5246 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5247 __del__ =
lambda self:
None
5248 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5249 LogEmbedding3D_swigregister(LogEmbedding3D)
5251 class LogEmbeddingKD(object):
5252 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5254 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5256 def __init__(self, *args):
5258 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5259 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5260 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5261 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5262 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5264 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5266 self.this.append(this)
5267 except __builtin__.Exception:
5270 def set_origin(self, o):
5271 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5272 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5275 def get_origin(self):
5276 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5277 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5280 def get_dimension(self):
5281 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5282 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5285 def set_unit_cell(self, *args):
5287 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5288 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5290 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5293 def get_unit_cell(self):
5294 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5295 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5298 def get_extended_index(self, o):
5299 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5300 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5304 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5305 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5308 def get_center(self, *args):
5310 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5311 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5313 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5316 def get_bounding_box(self, *args):
5318 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5319 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5321 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5324 def show(self, *args):
5326 show(LogEmbeddingKD self, _ostream out)
5327 show(LogEmbeddingKD self)
5329 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5333 """__str__(LogEmbeddingKD self) -> std::string"""
5334 return _IMP_algebra.LogEmbeddingKD___str__(self)
5338 """__repr__(LogEmbeddingKD self) -> std::string"""
5339 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5342 def __cmp__(self, arg2):
5343 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5344 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5347 def __eq__(self, arg2):
5348 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5349 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5351 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5352 __del__ =
lambda self:
None
5353 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5354 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5356 class DenseFloatLogGridKD(object):
5357 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5361 def __init__(self, sz, le):
5362 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5363 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5365 self.this.append(this)
5366 except __builtin__.Exception:
5369 def add_voxel(self, i, q):
5370 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5371 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5374 def __getitem__(self, *args):
5376 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5377 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5379 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5382 def __setitem__(self, *args):
5384 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5385 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5387 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5390 def get_bounding_box(self, *args):
5392 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5393 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5395 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5400 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5401 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5403 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5406 def get_all_indexes(self):
5407 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5408 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5411 def get_extended_indexes(self, *args):
5413 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5414 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5416 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5419 def get_center(self, *args):
5421 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5422 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5424 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5427 def get_extended_index(self, v):
5428 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5429 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5433 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5434 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5437 def get_origin(self):
5438 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5439 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5442 def get_dimension(self):
5443 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5444 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5447 def get_unit_cell(self):
5448 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5449 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5452 def get_has_index(self, v):
5453 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5454 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5458 """__str__(DenseFloatLogGridKD self) -> std::string"""
5459 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5463 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5464 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5467 def show(self, *args):
5469 show(DenseFloatLogGridKD self, _ostream out)
5470 show(DenseFloatLogGridKD self)
5472 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5474 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5475 __del__ =
lambda self:
None
5476 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5477 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5479 class DenseIntLogGrid3D(object):
5480 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5484 def __init__(self, sz, le):
5485 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5486 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5488 self.this.append(this)
5489 except __builtin__.Exception:
5492 def add_voxel(self, i, q):
5493 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5494 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5497 def __getitem__(self, *args):
5499 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5500 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5502 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5505 def __setitem__(self, *args):
5507 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5508 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5510 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5513 def get_bounding_box(self, *args):
5515 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5516 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5518 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5523 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5524 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5526 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5529 def get_all_indexes(self):
5530 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5531 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5534 def get_extended_indexes(self, *args):
5536 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5537 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5539 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5542 def get_center(self, *args):
5544 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5545 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5547 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5550 def get_extended_index(self, v):
5551 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5552 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5556 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5557 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5560 def get_origin(self):
5561 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5562 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5565 def get_dimension(self):
5566 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5567 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5570 def get_unit_cell(self):
5571 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5572 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5575 def get_has_index(self, v):
5576 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5577 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5581 """__str__(DenseIntLogGrid3D self) -> std::string"""
5582 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5586 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5587 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5590 def show(self, *args):
5592 show(DenseIntLogGrid3D self, _ostream out)
5593 show(DenseIntLogGrid3D self)
5595 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5597 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5598 __del__ =
lambda self:
None
5599 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5600 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5603 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5605 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5607 def __init__(self, *args):
5609 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5610 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5611 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5613 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5615 self.this.append(this)
5616 except __builtin__.Exception:
5619 def add_voxel(self, i, q):
5620 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5621 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5624 def __getitem__(self, *args):
5626 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5627 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5629 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5632 def __setitem__(self, *args):
5634 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5635 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5637 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5640 def get_bounding_box(self, *args):
5642 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5643 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5645 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5650 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5651 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5653 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5656 def get_all_indexes(self):
5657 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5658 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5661 def get_extended_indexes(self, *args):
5663 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5664 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5666 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5669 def get_center(self, *args):
5671 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5672 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5674 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5677 def get_extended_index(self, v):
5678 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5679 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5683 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5684 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5687 def get_origin(self):
5688 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5689 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5692 def get_dimension(self):
5693 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5694 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5697 def get_unit_cell(self):
5698 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5699 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5702 def get_has_index(self, v):
5703 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5704 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5708 """__str__(DenseDoubleGrid3D self) -> std::string"""
5709 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5713 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5714 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5717 def show(self, *args):
5719 show(DenseDoubleGrid3D self, _ostream out)
5720 show(DenseDoubleGrid3D self)
5722 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5724 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5725 __del__ =
lambda self:
None
5726 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5727 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5730 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5732 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5734 def __init__(self, *args):
5736 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5737 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5738 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5740 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5742 self.this.append(this)
5743 except __builtin__.Exception:
5746 def add_voxel(self, i, q):
5747 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5748 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5751 def __getitem__(self, *args):
5753 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5754 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5756 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5759 def __setitem__(self, *args):
5761 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5762 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5764 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5767 def get_bounding_box(self, *args):
5769 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5770 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5772 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5777 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5778 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5780 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5783 def get_all_indexes(self):
5784 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5785 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5788 def get_extended_indexes(self, *args):
5790 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5791 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5793 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5796 def get_center(self, *args):
5798 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5799 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5801 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5804 def get_extended_index(self, v):
5805 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5806 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5810 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5811 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5814 def get_origin(self):
5815 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5816 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5819 def get_dimension(self):
5820 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5821 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5824 def get_unit_cell(self):
5825 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5826 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5829 def get_has_index(self, v):
5830 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5831 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5835 """__str__(DenseFloatGrid3D self) -> std::string"""
5836 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5840 """__repr__(DenseFloatGrid3D self) -> std::string"""
5841 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5844 def show(self, *args):
5846 show(DenseFloatGrid3D self, _ostream out)
5847 show(DenseFloatGrid3D self)
5849 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5851 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5852 __del__ =
lambda self:
None
5853 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5854 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5857 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5861 def __init__(self, *args):
5863 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5864 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5865 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5866 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5867 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5869 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5871 self.this.append(this)
5872 except __builtin__.Exception:
5875 def add_voxel(self, i, q):
5876 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5877 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5880 def __getitem__(self, *args):
5882 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5883 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5885 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5888 def __setitem__(self, *args):
5890 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5891 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5893 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5896 def get_bounding_box(self, *args):
5898 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5899 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5901 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5906 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5907 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5909 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5912 def get_all_indexes(self):
5913 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5914 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5917 def get_extended_indexes(self, *args):
5919 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5920 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5922 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5925 def get_center(self, *args):
5927 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5928 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5930 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5933 def get_extended_index(self, v):
5934 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5935 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5939 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5940 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5943 def get_origin(self):
5944 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5945 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5948 def get_dimension(self):
5949 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5950 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5953 def get_unit_cell(self):
5954 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5955 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5958 def get_has_index(self, v):
5959 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5960 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5964 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5965 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5969 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5970 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5973 def show(self, *args):
5975 show(SparseUnboundedIntGrid3D self, _ostream out)
5976 show(SparseUnboundedIntGrid3D self)
5978 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
5980 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
5981 __del__ =
lambda self:
None
5982 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
5983 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
5985 class SparseUnboundedIntGridKD(object):
5986 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
5988 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5990 def __init__(self, *args):
5992 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
5993 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
5994 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
5996 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
5998 self.this.append(this)
5999 except __builtin__.Exception:
6002 def add_voxel(self, i, q):
6003 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6004 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6007 def __getitem__(self, *args):
6009 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6010 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6012 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6015 def __setitem__(self, *args):
6017 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6018 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6020 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6023 def get_bounding_box(self, *args):
6025 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6026 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6028 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6033 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6034 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6036 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6039 def get_all_indexes(self):
6040 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6041 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6044 def get_extended_indexes(self, *args):
6046 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6047 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6049 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6052 def get_center(self, *args):
6054 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6055 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6057 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6060 def get_extended_index(self, v):
6061 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6062 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6066 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6067 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6070 def get_origin(self):
6071 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6072 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6075 def get_dimension(self):
6076 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6077 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6080 def get_unit_cell(self):
6081 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6082 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6085 def get_has_index(self, v):
6086 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6087 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6091 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6092 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6096 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6097 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6100 def show(self, *args):
6102 show(SparseUnboundedIntGridKD self, _ostream out)
6103 show(SparseUnboundedIntGridKD self)
6105 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6107 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6108 __del__ =
lambda self:
None
6109 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6110 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6112 class GridIndex1D(IMP._Value):
6113 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6117 def __init__(self, *args):
6119 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6120 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6121 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6122 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6123 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6124 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6125 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6127 this = _IMP_algebra.new_GridIndex1D(*args)
6129 self.this.append(this)
6130 except __builtin__.Exception:
6133 def get_dimension(self):
6134 """get_dimension(GridIndex1D self) -> unsigned int"""
6135 return _IMP_algebra.GridIndex1D_get_dimension(self)
6138 def __getitem__(self, i):
6139 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6140 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6143 def show(self, *args):
6145 show(GridIndex1D self, _ostream out)
6146 show(GridIndex1D self)
6148 return _IMP_algebra.GridIndex1D_show(self, *args)
6152 """__len__(GridIndex1D self) -> unsigned int"""
6153 return _IMP_algebra.GridIndex1D___len__(self)
6156 def __cmp__(self, o):
6157 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6158 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6161 def __eq__(self, o):
6162 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6163 return _IMP_algebra.GridIndex1D___eq__(self, o)
6166 def __ne__(self, o):
6167 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6168 return _IMP_algebra.GridIndex1D___ne__(self, o)
6171 def __lt__(self, o):
6172 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6173 return _IMP_algebra.GridIndex1D___lt__(self, o)
6176 def __gt__(self, o):
6177 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6178 return _IMP_algebra.GridIndex1D___gt__(self, o)
6181 def __ge__(self, o):
6182 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6183 return _IMP_algebra.GridIndex1D___ge__(self, o)
6186 def __le__(self, o):
6187 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6188 return _IMP_algebra.GridIndex1D___le__(self, o)
6192 """__hash__(GridIndex1D self) -> std::size_t"""
6193 return _IMP_algebra.GridIndex1D___hash__(self)
6197 """__str__(GridIndex1D self) -> std::string"""
6198 return _IMP_algebra.GridIndex1D___str__(self)
6202 """__repr__(GridIndex1D self) -> std::string"""
6203 return _IMP_algebra.GridIndex1D___repr__(self)
6205 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6206 __del__ =
lambda self:
None
6207 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6208 GridIndex1D_swigregister(GridIndex1D)
6210 class GridIndex2D(IMP._Value):
6211 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6215 def __init__(self, *args):
6217 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6218 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6219 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6220 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6221 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6222 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6223 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6225 this = _IMP_algebra.new_GridIndex2D(*args)
6227 self.this.append(this)
6228 except __builtin__.Exception:
6231 def get_dimension(self):
6232 """get_dimension(GridIndex2D self) -> unsigned int"""
6233 return _IMP_algebra.GridIndex2D_get_dimension(self)
6236 def __getitem__(self, i):
6237 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6238 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6241 def show(self, *args):
6243 show(GridIndex2D self, _ostream out)
6244 show(GridIndex2D self)
6246 return _IMP_algebra.GridIndex2D_show(self, *args)
6250 """__len__(GridIndex2D self) -> unsigned int"""
6251 return _IMP_algebra.GridIndex2D___len__(self)
6254 def __cmp__(self, o):
6255 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6256 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6259 def __eq__(self, o):
6260 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6261 return _IMP_algebra.GridIndex2D___eq__(self, o)
6264 def __ne__(self, o):
6265 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6266 return _IMP_algebra.GridIndex2D___ne__(self, o)
6269 def __lt__(self, o):
6270 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6271 return _IMP_algebra.GridIndex2D___lt__(self, o)
6274 def __gt__(self, o):
6275 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6276 return _IMP_algebra.GridIndex2D___gt__(self, o)
6279 def __ge__(self, o):
6280 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6281 return _IMP_algebra.GridIndex2D___ge__(self, o)
6284 def __le__(self, o):
6285 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6286 return _IMP_algebra.GridIndex2D___le__(self, o)
6290 """__hash__(GridIndex2D self) -> std::size_t"""
6291 return _IMP_algebra.GridIndex2D___hash__(self)
6295 """__str__(GridIndex2D self) -> std::string"""
6296 return _IMP_algebra.GridIndex2D___str__(self)
6300 """__repr__(GridIndex2D self) -> std::string"""
6301 return _IMP_algebra.GridIndex2D___repr__(self)
6303 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6304 __del__ =
lambda self:
None
6305 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6306 GridIndex2D_swigregister(GridIndex2D)
6308 class GridIndex3D(IMP._Value):
6309 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6313 def __init__(self, *args):
6315 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6316 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6317 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6318 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6319 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6320 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6321 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6323 this = _IMP_algebra.new_GridIndex3D(*args)
6325 self.this.append(this)
6326 except __builtin__.Exception:
6329 def get_dimension(self):
6330 """get_dimension(GridIndex3D self) -> unsigned int"""
6331 return _IMP_algebra.GridIndex3D_get_dimension(self)
6334 def __getitem__(self, i):
6335 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6336 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6339 def show(self, *args):
6341 show(GridIndex3D self, _ostream out)
6342 show(GridIndex3D self)
6344 return _IMP_algebra.GridIndex3D_show(self, *args)
6348 """__len__(GridIndex3D self) -> unsigned int"""
6349 return _IMP_algebra.GridIndex3D___len__(self)
6352 def __cmp__(self, o):
6353 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6354 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6357 def __eq__(self, o):
6358 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6359 return _IMP_algebra.GridIndex3D___eq__(self, o)
6362 def __ne__(self, o):
6363 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6364 return _IMP_algebra.GridIndex3D___ne__(self, o)
6367 def __lt__(self, o):
6368 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6369 return _IMP_algebra.GridIndex3D___lt__(self, o)
6372 def __gt__(self, o):
6373 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6374 return _IMP_algebra.GridIndex3D___gt__(self, o)
6377 def __ge__(self, o):
6378 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6379 return _IMP_algebra.GridIndex3D___ge__(self, o)
6382 def __le__(self, o):
6383 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6384 return _IMP_algebra.GridIndex3D___le__(self, o)
6388 """__hash__(GridIndex3D self) -> std::size_t"""
6389 return _IMP_algebra.GridIndex3D___hash__(self)
6393 """__str__(GridIndex3D self) -> std::string"""
6394 return _IMP_algebra.GridIndex3D___str__(self)
6398 """__repr__(GridIndex3D self) -> std::string"""
6399 return _IMP_algebra.GridIndex3D___repr__(self)
6401 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6402 __del__ =
lambda self:
None
6403 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6404 GridIndex3D_swigregister(GridIndex3D)
6406 class GridIndex4D(IMP._Value):
6407 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6409 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6411 def __init__(self, *args):
6413 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6414 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6415 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6416 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6417 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6418 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6419 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6421 this = _IMP_algebra.new_GridIndex4D(*args)
6423 self.this.append(this)
6424 except __builtin__.Exception:
6427 def get_dimension(self):
6428 """get_dimension(GridIndex4D self) -> unsigned int"""
6429 return _IMP_algebra.GridIndex4D_get_dimension(self)
6432 def __getitem__(self, i):
6433 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6434 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6437 def show(self, *args):
6439 show(GridIndex4D self, _ostream out)
6440 show(GridIndex4D self)
6442 return _IMP_algebra.GridIndex4D_show(self, *args)
6446 """__len__(GridIndex4D self) -> unsigned int"""
6447 return _IMP_algebra.GridIndex4D___len__(self)
6450 def __cmp__(self, o):
6451 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6452 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6455 def __eq__(self, o):
6456 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6457 return _IMP_algebra.GridIndex4D___eq__(self, o)
6460 def __ne__(self, o):
6461 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6462 return _IMP_algebra.GridIndex4D___ne__(self, o)
6465 def __lt__(self, o):
6466 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6467 return _IMP_algebra.GridIndex4D___lt__(self, o)
6470 def __gt__(self, o):
6471 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6472 return _IMP_algebra.GridIndex4D___gt__(self, o)
6475 def __ge__(self, o):
6476 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6477 return _IMP_algebra.GridIndex4D___ge__(self, o)
6480 def __le__(self, o):
6481 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6482 return _IMP_algebra.GridIndex4D___le__(self, o)
6486 """__hash__(GridIndex4D self) -> std::size_t"""
6487 return _IMP_algebra.GridIndex4D___hash__(self)
6491 """__str__(GridIndex4D self) -> std::string"""
6492 return _IMP_algebra.GridIndex4D___str__(self)
6496 """__repr__(GridIndex4D self) -> std::string"""
6497 return _IMP_algebra.GridIndex4D___repr__(self)
6499 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6500 __del__ =
lambda self:
None
6501 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6502 GridIndex4D_swigregister(GridIndex4D)
6504 class GridIndex5D(IMP._Value):
6505 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6509 def __init__(self, *args):
6511 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6512 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6513 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6514 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6515 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6516 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6517 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6519 this = _IMP_algebra.new_GridIndex5D(*args)
6521 self.this.append(this)
6522 except __builtin__.Exception:
6525 def get_dimension(self):
6526 """get_dimension(GridIndex5D self) -> unsigned int"""
6527 return _IMP_algebra.GridIndex5D_get_dimension(self)
6530 def __getitem__(self, i):
6531 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6532 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6535 def show(self, *args):
6537 show(GridIndex5D self, _ostream out)
6538 show(GridIndex5D self)
6540 return _IMP_algebra.GridIndex5D_show(self, *args)
6544 """__len__(GridIndex5D self) -> unsigned int"""
6545 return _IMP_algebra.GridIndex5D___len__(self)
6548 def __cmp__(self, o):
6549 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6550 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6553 def __eq__(self, o):
6554 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6555 return _IMP_algebra.GridIndex5D___eq__(self, o)
6558 def __ne__(self, o):
6559 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6560 return _IMP_algebra.GridIndex5D___ne__(self, o)
6563 def __lt__(self, o):
6564 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6565 return _IMP_algebra.GridIndex5D___lt__(self, o)
6568 def __gt__(self, o):
6569 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6570 return _IMP_algebra.GridIndex5D___gt__(self, o)
6573 def __ge__(self, o):
6574 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6575 return _IMP_algebra.GridIndex5D___ge__(self, o)
6578 def __le__(self, o):
6579 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6580 return _IMP_algebra.GridIndex5D___le__(self, o)
6584 """__hash__(GridIndex5D self) -> std::size_t"""
6585 return _IMP_algebra.GridIndex5D___hash__(self)
6589 """__str__(GridIndex5D self) -> std::string"""
6590 return _IMP_algebra.GridIndex5D___str__(self)
6594 """__repr__(GridIndex5D self) -> std::string"""
6595 return _IMP_algebra.GridIndex5D___repr__(self)
6597 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6598 __del__ =
lambda self:
None
6599 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6600 GridIndex5D_swigregister(GridIndex5D)
6602 class GridIndex6D(IMP._Value):
6603 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6605 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6607 def __init__(self, *args):
6609 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6610 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6611 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6612 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6613 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6614 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6615 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6617 this = _IMP_algebra.new_GridIndex6D(*args)
6619 self.this.append(this)
6620 except __builtin__.Exception:
6623 def get_dimension(self):
6624 """get_dimension(GridIndex6D self) -> unsigned int"""
6625 return _IMP_algebra.GridIndex6D_get_dimension(self)
6628 def __getitem__(self, i):
6629 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6630 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6633 def show(self, *args):
6635 show(GridIndex6D self, _ostream out)
6636 show(GridIndex6D self)
6638 return _IMP_algebra.GridIndex6D_show(self, *args)
6642 """__len__(GridIndex6D self) -> unsigned int"""
6643 return _IMP_algebra.GridIndex6D___len__(self)
6646 def __cmp__(self, o):
6647 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6648 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6651 def __eq__(self, o):
6652 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6653 return _IMP_algebra.GridIndex6D___eq__(self, o)
6656 def __ne__(self, o):
6657 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6658 return _IMP_algebra.GridIndex6D___ne__(self, o)
6661 def __lt__(self, o):
6662 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6663 return _IMP_algebra.GridIndex6D___lt__(self, o)
6666 def __gt__(self, o):
6667 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6668 return _IMP_algebra.GridIndex6D___gt__(self, o)
6671 def __ge__(self, o):
6672 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6673 return _IMP_algebra.GridIndex6D___ge__(self, o)
6676 def __le__(self, o):
6677 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6678 return _IMP_algebra.GridIndex6D___le__(self, o)
6682 """__hash__(GridIndex6D self) -> std::size_t"""
6683 return _IMP_algebra.GridIndex6D___hash__(self)
6687 """__str__(GridIndex6D self) -> std::string"""
6688 return _IMP_algebra.GridIndex6D___str__(self)
6692 """__repr__(GridIndex6D self) -> std::string"""
6693 return _IMP_algebra.GridIndex6D___repr__(self)
6695 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6696 __del__ =
lambda self:
None
6697 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6698 GridIndex6D_swigregister(GridIndex6D)
6700 class GridIndexKD(IMP._Value):
6701 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6705 def __init__(self, *args):
6707 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6708 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6709 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6710 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6711 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6712 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6713 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6715 this = _IMP_algebra.new_GridIndexKD(*args)
6717 self.this.append(this)
6718 except __builtin__.Exception:
6721 def get_dimension(self):
6722 """get_dimension(GridIndexKD self) -> unsigned int"""
6723 return _IMP_algebra.GridIndexKD_get_dimension(self)
6726 def __getitem__(self, i):
6727 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6728 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6731 def show(self, *args):
6733 show(GridIndexKD self, _ostream out)
6734 show(GridIndexKD self)
6736 return _IMP_algebra.GridIndexKD_show(self, *args)
6740 """__len__(GridIndexKD self) -> unsigned int"""
6741 return _IMP_algebra.GridIndexKD___len__(self)
6744 def __cmp__(self, o):
6745 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6746 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6749 def __eq__(self, o):
6750 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6751 return _IMP_algebra.GridIndexKD___eq__(self, o)
6754 def __ne__(self, o):
6755 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6756 return _IMP_algebra.GridIndexKD___ne__(self, o)
6759 def __lt__(self, o):
6760 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6761 return _IMP_algebra.GridIndexKD___lt__(self, o)
6764 def __gt__(self, o):
6765 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6766 return _IMP_algebra.GridIndexKD___gt__(self, o)
6769 def __ge__(self, o):
6770 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6771 return _IMP_algebra.GridIndexKD___ge__(self, o)
6774 def __le__(self, o):
6775 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6776 return _IMP_algebra.GridIndexKD___le__(self, o)
6780 """__hash__(GridIndexKD self) -> std::size_t"""
6781 return _IMP_algebra.GridIndexKD___hash__(self)
6785 """__str__(GridIndexKD self) -> std::string"""
6786 return _IMP_algebra.GridIndexKD___str__(self)
6790 """__repr__(GridIndexKD self) -> std::string"""
6791 return _IMP_algebra.GridIndexKD___repr__(self)
6793 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6794 __del__ =
lambda self:
None
6795 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6796 GridIndexKD_swigregister(GridIndexKD)
6798 class ExtendedGridIndex1D(IMP._Value):
6799 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6801 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6803 def __init__(self, *args):
6805 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6806 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6807 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6808 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6809 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6810 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6811 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6812 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6814 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6816 self.this.append(this)
6817 except __builtin__.Exception:
6820 def get_dimension(self):
6821 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6822 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6825 def __cmp__(self, o):
6826 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6827 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6830 def __eq__(self, o):
6831 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6832 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6835 def __ne__(self, o):
6836 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6837 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6840 def __lt__(self, o):
6841 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6842 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6845 def __gt__(self, o):
6846 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6847 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6850 def __ge__(self, o):
6851 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6852 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6855 def __le__(self, o):
6856 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6857 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6860 def __setitem__(self, i, v):
6861 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6862 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6865 def __getitem__(self, i):
6866 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6867 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6870 def show(self, *args):
6872 show(ExtendedGridIndex1D self, _ostream out)
6873 show(ExtendedGridIndex1D self)
6875 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6879 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6880 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6884 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6885 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6888 def get_uniform_offset(self, ii):
6889 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6890 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6893 def get_offset(self, i, j, k):
6894 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6895 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6899 """__str__(ExtendedGridIndex1D self) -> std::string"""
6900 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6904 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6905 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6907 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6908 __del__ =
lambda self:
None
6909 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6910 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6912 class ExtendedGridIndex2D(IMP._Value):
6913 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6917 def __init__(self, *args):
6919 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6920 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6921 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6922 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6923 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6924 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6925 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6926 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6928 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6930 self.this.append(this)
6931 except __builtin__.Exception:
6934 def get_dimension(self):
6935 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6936 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6939 def __cmp__(self, o):
6940 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6941 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6944 def __eq__(self, o):
6945 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6946 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6949 def __ne__(self, o):
6950 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6951 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6954 def __lt__(self, o):
6955 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6956 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6959 def __gt__(self, o):
6960 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6961 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6964 def __ge__(self, o):
6965 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6966 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6969 def __le__(self, o):
6970 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6971 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6974 def __setitem__(self, i, v):
6975 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
6976 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
6979 def __getitem__(self, i):
6980 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
6981 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
6984 def show(self, *args):
6986 show(ExtendedGridIndex2D self, _ostream out)
6987 show(ExtendedGridIndex2D self)
6989 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
6993 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
6994 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
6998 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
6999 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7002 def get_uniform_offset(self, ii):
7003 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7004 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7007 def get_offset(self, i, j, k):
7008 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7009 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7013 """__str__(ExtendedGridIndex2D self) -> std::string"""
7014 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7018 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7019 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7021 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7022 __del__ =
lambda self:
None
7023 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7024 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7026 class ExtendedGridIndex3D(IMP._Value):
7027 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7029 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7031 def __init__(self, *args):
7033 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7034 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7035 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7036 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7037 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7038 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7039 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7040 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7042 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7044 self.this.append(this)
7045 except __builtin__.Exception:
7048 def get_dimension(self):
7049 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7050 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7053 def __cmp__(self, o):
7054 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7055 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7058 def __eq__(self, o):
7059 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7060 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7063 def __ne__(self, o):
7064 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7065 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7068 def __lt__(self, o):
7069 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7070 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7073 def __gt__(self, o):
7074 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7075 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7078 def __ge__(self, o):
7079 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7080 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7083 def __le__(self, o):
7084 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7085 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7088 def __setitem__(self, i, v):
7089 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7090 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7093 def __getitem__(self, i):
7094 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7095 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7098 def show(self, *args):
7100 show(ExtendedGridIndex3D self, _ostream out)
7101 show(ExtendedGridIndex3D self)
7103 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7107 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7108 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7112 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7113 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7116 def get_uniform_offset(self, ii):
7117 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7118 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7121 def get_offset(self, i, j, k):
7122 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7123 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7127 """__str__(ExtendedGridIndex3D self) -> std::string"""
7128 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7132 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7133 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7135 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7136 __del__ =
lambda self:
None
7137 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7138 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7140 class ExtendedGridIndex4D(IMP._Value):
7141 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7145 def __init__(self, *args):
7147 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7148 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7149 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7150 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7151 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7152 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7153 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7154 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7156 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7158 self.this.append(this)
7159 except __builtin__.Exception:
7162 def get_dimension(self):
7163 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7164 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7167 def __cmp__(self, o):
7168 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7169 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7172 def __eq__(self, o):
7173 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7174 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7177 def __ne__(self, o):
7178 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7179 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7182 def __lt__(self, o):
7183 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7184 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7187 def __gt__(self, o):
7188 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7189 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7192 def __ge__(self, o):
7193 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7194 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7197 def __le__(self, o):
7198 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7199 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7202 def __setitem__(self, i, v):
7203 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7204 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7207 def __getitem__(self, i):
7208 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7209 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7212 def show(self, *args):
7214 show(ExtendedGridIndex4D self, _ostream out)
7215 show(ExtendedGridIndex4D self)
7217 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7221 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7222 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7226 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7227 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7230 def get_uniform_offset(self, ii):
7231 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7232 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7235 def get_offset(self, i, j, k):
7236 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7237 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7241 """__str__(ExtendedGridIndex4D self) -> std::string"""
7242 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7246 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7247 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7249 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7250 __del__ =
lambda self:
None
7251 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7252 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7254 class ExtendedGridIndex5D(IMP._Value):
7255 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7257 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7259 def __init__(self, *args):
7261 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7262 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7263 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7264 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7265 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7266 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7267 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7268 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7270 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7272 self.this.append(this)
7273 except __builtin__.Exception:
7276 def get_dimension(self):
7277 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7278 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7281 def __cmp__(self, o):
7282 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7283 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7286 def __eq__(self, o):
7287 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7288 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7291 def __ne__(self, o):
7292 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7293 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7296 def __lt__(self, o):
7297 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7298 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7301 def __gt__(self, o):
7302 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7303 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7306 def __ge__(self, o):
7307 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7308 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7311 def __le__(self, o):
7312 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7313 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7316 def __setitem__(self, i, v):
7317 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7318 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7321 def __getitem__(self, i):
7322 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7323 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7326 def show(self, *args):
7328 show(ExtendedGridIndex5D self, _ostream out)
7329 show(ExtendedGridIndex5D self)
7331 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7335 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7336 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7340 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7341 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7344 def get_uniform_offset(self, ii):
7345 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7346 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7349 def get_offset(self, i, j, k):
7350 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7351 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7355 """__str__(ExtendedGridIndex5D self) -> std::string"""
7356 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7360 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7361 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7363 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7364 __del__ =
lambda self:
None
7365 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7366 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7368 class ExtendedGridIndex6D(IMP._Value):
7369 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7373 def __init__(self, *args):
7375 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7376 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7377 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7378 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7379 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7380 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7381 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7382 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7384 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7386 self.this.append(this)
7387 except __builtin__.Exception:
7390 def get_dimension(self):
7391 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7392 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7395 def __cmp__(self, o):
7396 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7397 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7400 def __eq__(self, o):
7401 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7402 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7405 def __ne__(self, o):
7406 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7407 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7410 def __lt__(self, o):
7411 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7412 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7415 def __gt__(self, o):
7416 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7417 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7420 def __ge__(self, o):
7421 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7422 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7425 def __le__(self, o):
7426 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7427 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7430 def __setitem__(self, i, v):
7431 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7432 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7435 def __getitem__(self, i):
7436 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7437 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7440 def show(self, *args):
7442 show(ExtendedGridIndex6D self, _ostream out)
7443 show(ExtendedGridIndex6D self)
7445 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7449 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7450 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7454 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7455 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7458 def get_uniform_offset(self, ii):
7459 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7460 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7463 def get_offset(self, i, j, k):
7464 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7465 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7469 """__str__(ExtendedGridIndex6D self) -> std::string"""
7470 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7474 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7475 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7477 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7478 __del__ =
lambda self:
None
7479 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7480 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7482 class ExtendedGridIndexKD(IMP._Value):
7483 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7485 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7487 def __init__(self, *args):
7489 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7490 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7491 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7492 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7493 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7494 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7495 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7496 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7498 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7500 self.this.append(this)
7501 except __builtin__.Exception:
7504 def get_dimension(self):
7505 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7506 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7509 def __cmp__(self, o):
7510 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7511 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7514 def __eq__(self, o):
7515 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7516 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7519 def __ne__(self, o):
7520 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7521 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7524 def __lt__(self, o):
7525 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7526 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7529 def __gt__(self, o):
7530 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7531 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7534 def __ge__(self, o):
7535 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7536 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7539 def __le__(self, o):
7540 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7541 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7544 def __setitem__(self, i, v):
7545 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7546 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7549 def __getitem__(self, i):
7550 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7551 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7554 def show(self, *args):
7556 show(ExtendedGridIndexKD self, _ostream out)
7557 show(ExtendedGridIndexKD self)
7559 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7563 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7564 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7568 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7569 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7572 def get_uniform_offset(self, ii):
7573 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7574 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7577 def get_offset(self, i, j, k):
7578 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7579 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7583 """__str__(ExtendedGridIndexKD self) -> std::string"""
7584 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7588 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7589 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7591 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7592 __del__ =
lambda self:
None
7593 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7594 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7596 class BoundedGridRange1D(object):
7597 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7599 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7601 def get_is_bounded():
7602 """get_is_bounded() -> bool"""
7603 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7605 get_is_bounded = staticmethod(get_is_bounded)
7607 def __init__(self, *args):
7609 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7610 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7612 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7614 self.this.append(this)
7615 except __builtin__.Exception:
7618 def get_number_of_voxels(self, *args):
7620 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7621 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7623 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7626 def get_end_index(self):
7627 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7628 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7631 def show(self, *args):
7633 show(BoundedGridRange1D self, _ostream out)
7634 show(BoundedGridRange1D self)
7636 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7639 def get_all_indexes(self):
7640 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7641 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7645 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7646 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7649 def get_extended_indexes(self, lb, ub):
7650 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7651 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7655 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7656 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7659 def get_has_index(self, v):
7660 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7661 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7664 def get_minimum_extended_index(self):
7665 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7666 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7669 def get_maximum_extended_index(self):
7670 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7671 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7675 """__str__(BoundedGridRange1D self) -> std::string"""
7676 return _IMP_algebra.BoundedGridRange1D___str__(self)
7680 """__repr__(BoundedGridRange1D self) -> std::string"""
7681 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7684 def __cmp__(self, arg2):
7685 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7686 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7689 def __eq__(self, arg2):
7690 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7691 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7693 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7694 __del__ =
lambda self:
None
7695 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7696 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7698 def BoundedGridRange1D_get_is_bounded():
7699 """BoundedGridRange1D_get_is_bounded() -> bool"""
7700 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7702 class BoundedGridRange2D(object):
7703 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7707 def get_is_bounded():
7708 """get_is_bounded() -> bool"""
7709 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7711 get_is_bounded = staticmethod(get_is_bounded)
7713 def __init__(self, *args):
7715 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7716 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7718 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7720 self.this.append(this)
7721 except __builtin__.Exception:
7724 def get_number_of_voxels(self, *args):
7726 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7727 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7729 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7732 def get_end_index(self):
7733 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7734 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7737 def show(self, *args):
7739 show(BoundedGridRange2D self, _ostream out)
7740 show(BoundedGridRange2D self)
7742 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7745 def get_all_indexes(self):
7746 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7747 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7751 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7752 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7755 def get_extended_indexes(self, lb, ub):
7756 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7757 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7761 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7762 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7765 def get_has_index(self, v):
7766 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7767 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7770 def get_minimum_extended_index(self):
7771 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7772 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7775 def get_maximum_extended_index(self):
7776 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7777 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7781 """__str__(BoundedGridRange2D self) -> std::string"""
7782 return _IMP_algebra.BoundedGridRange2D___str__(self)
7786 """__repr__(BoundedGridRange2D self) -> std::string"""
7787 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7790 def __cmp__(self, arg2):
7791 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7792 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7795 def __eq__(self, arg2):
7796 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7797 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7799 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7800 __del__ =
lambda self:
None
7801 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7802 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7804 def BoundedGridRange2D_get_is_bounded():
7805 """BoundedGridRange2D_get_is_bounded() -> bool"""
7806 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7808 class BoundedGridRange3D(object):
7809 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7813 def get_is_bounded():
7814 """get_is_bounded() -> bool"""
7815 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7817 get_is_bounded = staticmethod(get_is_bounded)
7819 def __init__(self, *args):
7821 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7822 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7824 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7826 self.this.append(this)
7827 except __builtin__.Exception:
7830 def get_number_of_voxels(self, *args):
7832 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7833 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7835 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7838 def get_end_index(self):
7839 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7840 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7843 def show(self, *args):
7845 show(BoundedGridRange3D self, _ostream out)
7846 show(BoundedGridRange3D self)
7848 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7851 def get_all_indexes(self):
7852 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7853 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7857 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7858 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7861 def get_extended_indexes(self, lb, ub):
7862 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7863 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7867 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7868 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7871 def get_has_index(self, v):
7872 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7873 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7876 def get_minimum_extended_index(self):
7877 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7878 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7881 def get_maximum_extended_index(self):
7882 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7883 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7887 """__str__(BoundedGridRange3D self) -> std::string"""
7888 return _IMP_algebra.BoundedGridRange3D___str__(self)
7892 """__repr__(BoundedGridRange3D self) -> std::string"""
7893 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7896 def __cmp__(self, arg2):
7897 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7898 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7901 def __eq__(self, arg2):
7902 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7903 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7905 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7906 __del__ =
lambda self:
None
7907 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7908 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7910 def BoundedGridRange3D_get_is_bounded():
7911 """BoundedGridRange3D_get_is_bounded() -> bool"""
7912 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7914 class BoundedGridRange4D(object):
7915 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7919 def get_is_bounded():
7920 """get_is_bounded() -> bool"""
7921 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7923 get_is_bounded = staticmethod(get_is_bounded)
7925 def __init__(self, *args):
7927 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7928 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7930 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7932 self.this.append(this)
7933 except __builtin__.Exception:
7936 def get_number_of_voxels(self, *args):
7938 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7939 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7941 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7944 def get_end_index(self):
7945 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7946 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7949 def show(self, *args):
7951 show(BoundedGridRange4D self, _ostream out)
7952 show(BoundedGridRange4D self)
7954 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7957 def get_all_indexes(self):
7958 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7959 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7963 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7964 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7967 def get_extended_indexes(self, lb, ub):
7968 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7969 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7973 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7974 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
7977 def get_has_index(self, v):
7978 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
7979 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
7982 def get_minimum_extended_index(self):
7983 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7984 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
7987 def get_maximum_extended_index(self):
7988 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7989 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
7993 """__str__(BoundedGridRange4D self) -> std::string"""
7994 return _IMP_algebra.BoundedGridRange4D___str__(self)
7998 """__repr__(BoundedGridRange4D self) -> std::string"""
7999 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8002 def __cmp__(self, arg2):
8003 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8004 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8007 def __eq__(self, arg2):
8008 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8009 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8011 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8012 __del__ =
lambda self:
None
8013 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8014 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8016 def BoundedGridRange4D_get_is_bounded():
8017 """BoundedGridRange4D_get_is_bounded() -> bool"""
8018 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8020 class BoundedGridRange5D(object):
8021 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8023 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8025 def get_is_bounded():
8026 """get_is_bounded() -> bool"""
8027 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8029 get_is_bounded = staticmethod(get_is_bounded)
8031 def __init__(self, *args):
8033 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8034 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8036 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8038 self.this.append(this)
8039 except __builtin__.Exception:
8042 def get_number_of_voxels(self, *args):
8044 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8045 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8047 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8050 def get_end_index(self):
8051 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8052 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8055 def show(self, *args):
8057 show(BoundedGridRange5D self, _ostream out)
8058 show(BoundedGridRange5D self)
8060 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8063 def get_all_indexes(self):
8064 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8065 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8069 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8070 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8073 def get_extended_indexes(self, lb, ub):
8074 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8075 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8079 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8080 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8083 def get_has_index(self, v):
8084 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8085 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8088 def get_minimum_extended_index(self):
8089 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8090 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8093 def get_maximum_extended_index(self):
8094 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8095 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8099 """__str__(BoundedGridRange5D self) -> std::string"""
8100 return _IMP_algebra.BoundedGridRange5D___str__(self)
8104 """__repr__(BoundedGridRange5D self) -> std::string"""
8105 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8108 def __cmp__(self, arg2):
8109 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8110 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8113 def __eq__(self, arg2):
8114 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8115 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8117 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8118 __del__ =
lambda self:
None
8119 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8120 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8122 def BoundedGridRange5D_get_is_bounded():
8123 """BoundedGridRange5D_get_is_bounded() -> bool"""
8124 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8126 class BoundedGridRange6D(object):
8127 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8131 def get_is_bounded():
8132 """get_is_bounded() -> bool"""
8133 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8135 get_is_bounded = staticmethod(get_is_bounded)
8137 def __init__(self, *args):
8139 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8140 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8142 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8144 self.this.append(this)
8145 except __builtin__.Exception:
8148 def get_number_of_voxels(self, *args):
8150 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8151 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8153 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8156 def get_end_index(self):
8157 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8158 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8161 def show(self, *args):
8163 show(BoundedGridRange6D self, _ostream out)
8164 show(BoundedGridRange6D self)
8166 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8169 def get_all_indexes(self):
8170 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8171 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8175 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8176 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8179 def get_extended_indexes(self, lb, ub):
8180 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8181 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8185 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8186 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8189 def get_has_index(self, v):
8190 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8191 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8194 def get_minimum_extended_index(self):
8195 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8196 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8199 def get_maximum_extended_index(self):
8200 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8201 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8205 """__str__(BoundedGridRange6D self) -> std::string"""
8206 return _IMP_algebra.BoundedGridRange6D___str__(self)
8210 """__repr__(BoundedGridRange6D self) -> std::string"""
8211 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8214 def __cmp__(self, arg2):
8215 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8216 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8219 def __eq__(self, arg2):
8220 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8221 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8223 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8224 __del__ =
lambda self:
None
8225 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8226 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8228 def BoundedGridRange6D_get_is_bounded():
8229 """BoundedGridRange6D_get_is_bounded() -> bool"""
8230 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8232 class BoundedGridRangeKD(object):
8233 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8237 def get_is_bounded():
8238 """get_is_bounded() -> bool"""
8239 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8241 get_is_bounded = staticmethod(get_is_bounded)
8243 def __init__(self, *args):
8245 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8246 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8248 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8250 self.this.append(this)
8251 except __builtin__.Exception:
8254 def get_number_of_voxels(self, *args):
8256 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8257 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8259 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8262 def get_end_index(self):
8263 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8264 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8267 def show(self, *args):
8269 show(BoundedGridRangeKD self, _ostream out)
8270 show(BoundedGridRangeKD self)
8272 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8275 def get_all_indexes(self):
8276 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8277 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8281 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8282 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8285 def get_extended_indexes(self, lb, ub):
8286 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8287 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8291 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8292 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8295 def get_has_index(self, v):
8296 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8297 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8300 def get_minimum_extended_index(self):
8301 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8302 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8305 def get_maximum_extended_index(self):
8306 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8307 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8311 """__str__(BoundedGridRangeKD self) -> std::string"""
8312 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8316 """__repr__(BoundedGridRangeKD self) -> std::string"""
8317 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8320 def __cmp__(self, arg2):
8321 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8322 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8325 def __eq__(self, arg2):
8326 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8327 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8329 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8330 __del__ =
lambda self:
None
8331 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8332 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8334 def BoundedGridRangeKD_get_is_bounded():
8335 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8336 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8338 class UnboundedGridRange1D(object):
8339 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8341 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8343 def __init__(self, *args):
8345 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8346 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8348 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8350 self.this.append(this)
8351 except __builtin__.Exception:
8354 def set_number_of_voxels(self, arg2):
8355 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8356 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8359 def get_number_of_voxels(self, arg2):
8360 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8361 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8364 def get_is_bounded():
8365 """get_is_bounded() -> bool"""
8366 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8368 get_is_bounded = staticmethod(get_is_bounded)
8370 def get_has_index(self, arg2):
8371 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8372 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8375 def show(self, *args):
8377 show(UnboundedGridRange1D self, _ostream out)
8378 show(UnboundedGridRange1D self)
8380 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8383 def get_extended_indexes(self, lb, ub):
8384 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8385 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8389 """__str__(UnboundedGridRange1D self) -> std::string"""
8390 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8394 """__repr__(UnboundedGridRange1D self) -> std::string"""
8395 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8398 def __cmp__(self, arg2):
8399 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8400 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8403 def __eq__(self, arg2):
8404 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8405 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8407 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8408 __del__ =
lambda self:
None
8409 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8410 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8412 def UnboundedGridRange1D_get_is_bounded():
8413 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8414 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8416 class UnboundedGridRange2D(object):
8417 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8419 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8421 def __init__(self, *args):
8423 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8424 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8426 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8428 self.this.append(this)
8429 except __builtin__.Exception:
8432 def set_number_of_voxels(self, arg2):
8433 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8434 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8437 def get_number_of_voxels(self, arg2):
8438 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8439 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8442 def get_is_bounded():
8443 """get_is_bounded() -> bool"""
8444 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8446 get_is_bounded = staticmethod(get_is_bounded)
8448 def get_has_index(self, arg2):
8449 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8450 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8453 def show(self, *args):
8455 show(UnboundedGridRange2D self, _ostream out)
8456 show(UnboundedGridRange2D self)
8458 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8461 def get_extended_indexes(self, lb, ub):
8462 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8463 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8467 """__str__(UnboundedGridRange2D self) -> std::string"""
8468 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8472 """__repr__(UnboundedGridRange2D self) -> std::string"""
8473 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8476 def __cmp__(self, arg2):
8477 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8478 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8481 def __eq__(self, arg2):
8482 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8483 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8485 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8486 __del__ =
lambda self:
None
8487 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8488 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8490 def UnboundedGridRange2D_get_is_bounded():
8491 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8492 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8494 class UnboundedGridRange3D(object):
8495 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8499 def __init__(self, *args):
8501 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8502 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8504 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8506 self.this.append(this)
8507 except __builtin__.Exception:
8510 def set_number_of_voxels(self, arg2):
8511 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8512 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8515 def get_number_of_voxels(self, arg2):
8516 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8517 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8520 def get_is_bounded():
8521 """get_is_bounded() -> bool"""
8522 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8524 get_is_bounded = staticmethod(get_is_bounded)
8526 def get_has_index(self, arg2):
8527 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8528 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8531 def show(self, *args):
8533 show(UnboundedGridRange3D self, _ostream out)
8534 show(UnboundedGridRange3D self)
8536 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8539 def get_extended_indexes(self, lb, ub):
8540 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8541 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8545 """__str__(UnboundedGridRange3D self) -> std::string"""
8546 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8550 """__repr__(UnboundedGridRange3D self) -> std::string"""
8551 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8554 def __cmp__(self, arg2):
8555 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8556 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8559 def __eq__(self, arg2):
8560 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8561 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8563 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8564 __del__ =
lambda self:
None
8565 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8566 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8568 def UnboundedGridRange3D_get_is_bounded():
8569 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8570 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8572 class UnboundedGridRange4D(object):
8573 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8577 def __init__(self, *args):
8579 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8580 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8582 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8584 self.this.append(this)
8585 except __builtin__.Exception:
8588 def set_number_of_voxels(self, arg2):
8589 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8590 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8593 def get_number_of_voxels(self, arg2):
8594 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8595 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8598 def get_is_bounded():
8599 """get_is_bounded() -> bool"""
8600 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8602 get_is_bounded = staticmethod(get_is_bounded)
8604 def get_has_index(self, arg2):
8605 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8606 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8609 def show(self, *args):
8611 show(UnboundedGridRange4D self, _ostream out)
8612 show(UnboundedGridRange4D self)
8614 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8617 def get_extended_indexes(self, lb, ub):
8618 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8619 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8623 """__str__(UnboundedGridRange4D self) -> std::string"""
8624 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8628 """__repr__(UnboundedGridRange4D self) -> std::string"""
8629 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8632 def __cmp__(self, arg2):
8633 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8634 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8637 def __eq__(self, arg2):
8638 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8639 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8641 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8642 __del__ =
lambda self:
None
8643 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8644 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8646 def UnboundedGridRange4D_get_is_bounded():
8647 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8648 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8650 class UnboundedGridRange5D(object):
8651 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8653 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8655 def __init__(self, *args):
8657 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8658 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8660 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8662 self.this.append(this)
8663 except __builtin__.Exception:
8666 def set_number_of_voxels(self, arg2):
8667 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8668 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8671 def get_number_of_voxels(self, arg2):
8672 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8673 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8676 def get_is_bounded():
8677 """get_is_bounded() -> bool"""
8678 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8680 get_is_bounded = staticmethod(get_is_bounded)
8682 def get_has_index(self, arg2):
8683 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8684 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8687 def show(self, *args):
8689 show(UnboundedGridRange5D self, _ostream out)
8690 show(UnboundedGridRange5D self)
8692 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8695 def get_extended_indexes(self, lb, ub):
8696 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8697 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8701 """__str__(UnboundedGridRange5D self) -> std::string"""
8702 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8706 """__repr__(UnboundedGridRange5D self) -> std::string"""
8707 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8710 def __cmp__(self, arg2):
8711 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8712 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8715 def __eq__(self, arg2):
8716 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8717 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8719 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8720 __del__ =
lambda self:
None
8721 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8722 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8724 def UnboundedGridRange5D_get_is_bounded():
8725 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8726 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8728 class UnboundedGridRange6D(object):
8729 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8733 def __init__(self, *args):
8735 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8736 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8738 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8740 self.this.append(this)
8741 except __builtin__.Exception:
8744 def set_number_of_voxels(self, arg2):
8745 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8746 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8749 def get_number_of_voxels(self, arg2):
8750 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8751 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8754 def get_is_bounded():
8755 """get_is_bounded() -> bool"""
8756 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8758 get_is_bounded = staticmethod(get_is_bounded)
8760 def get_has_index(self, arg2):
8761 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8762 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8765 def show(self, *args):
8767 show(UnboundedGridRange6D self, _ostream out)
8768 show(UnboundedGridRange6D self)
8770 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8773 def get_extended_indexes(self, lb, ub):
8774 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8775 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8779 """__str__(UnboundedGridRange6D self) -> std::string"""
8780 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8784 """__repr__(UnboundedGridRange6D self) -> std::string"""
8785 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8788 def __cmp__(self, arg2):
8789 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8790 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8793 def __eq__(self, arg2):
8794 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8795 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8797 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8798 __del__ =
lambda self:
None
8799 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8800 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8802 def UnboundedGridRange6D_get_is_bounded():
8803 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8804 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8806 class UnboundedGridRangeKD(object):
8807 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8811 def __init__(self, *args):
8813 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8814 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8816 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8818 self.this.append(this)
8819 except __builtin__.Exception:
8822 def set_number_of_voxels(self, arg2):
8823 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8824 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8827 def get_number_of_voxels(self, arg2):
8828 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8829 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8832 def get_is_bounded():
8833 """get_is_bounded() -> bool"""
8834 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8836 get_is_bounded = staticmethod(get_is_bounded)
8838 def get_has_index(self, arg2):
8839 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8840 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8843 def show(self, *args):
8845 show(UnboundedGridRangeKD self, _ostream out)
8846 show(UnboundedGridRangeKD self)
8848 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8851 def get_extended_indexes(self, lb, ub):
8852 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8853 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8857 """__str__(UnboundedGridRangeKD self) -> std::string"""
8858 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8862 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8863 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8866 def __cmp__(self, arg2):
8867 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8868 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8871 def __eq__(self, arg2):
8872 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8873 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8875 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8876 __del__ =
lambda self:
None
8877 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8878 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8880 def UnboundedGridRangeKD_get_is_bounded():
8881 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8882 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8884 class DefaultEmbedding1D(object):
8885 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8887 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8889 def __init__(self, *args):
8891 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8892 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8894 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8896 self.this.append(this)
8897 except __builtin__.Exception:
8900 def set_origin(self, o):
8901 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8902 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8905 def get_origin(self):
8906 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8907 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8910 def get_dimension(self):
8911 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8912 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8915 def set_unit_cell(self, o):
8916 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8917 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8920 def get_inverse_unit_cell(self):
8921 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8922 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8925 def get_unit_cell(self):
8926 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8927 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8930 def get_extended_index(self, o):
8931 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8932 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8936 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8937 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8940 def get_center(self, *args):
8942 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8943 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8945 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8948 def get_bounding_box(self, *args):
8950 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8951 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8953 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8956 def show(self, *args):
8958 show(DefaultEmbedding1D self, _ostream out)
8959 show(DefaultEmbedding1D self)
8961 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8965 """__str__(DefaultEmbedding1D self) -> std::string"""
8966 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8970 """__repr__(DefaultEmbedding1D self) -> std::string"""
8971 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8974 def __cmp__(self, arg2):
8975 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
8976 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
8979 def __eq__(self, arg2):
8980 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
8981 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
8983 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
8984 __del__ =
lambda self:
None
8985 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
8986 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
8988 class DefaultEmbedding2D(object):
8989 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
8991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8993 def __init__(self, *args):
8995 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
8996 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
8998 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9000 self.this.append(this)
9001 except __builtin__.Exception:
9004 def set_origin(self, o):
9005 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9006 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9009 def get_origin(self):
9010 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9011 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9014 def get_dimension(self):
9015 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9016 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9019 def set_unit_cell(self, o):
9020 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9021 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9024 def get_inverse_unit_cell(self):
9025 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9026 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9029 def get_unit_cell(self):
9030 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9031 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9034 def get_extended_index(self, o):
9035 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9036 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9040 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9041 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9044 def get_center(self, *args):
9046 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9047 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9049 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9052 def get_bounding_box(self, *args):
9054 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9055 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9057 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9060 def show(self, *args):
9062 show(DefaultEmbedding2D self, _ostream out)
9063 show(DefaultEmbedding2D self)
9065 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9069 """__str__(DefaultEmbedding2D self) -> std::string"""
9070 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9074 """__repr__(DefaultEmbedding2D self) -> std::string"""
9075 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9078 def __cmp__(self, arg2):
9079 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9080 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9083 def __eq__(self, arg2):
9084 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9085 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9087 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9088 __del__ =
lambda self:
None
9089 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9090 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9092 class DefaultEmbedding3D(object):
9093 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9097 def __init__(self, *args):
9099 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9100 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9102 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9104 self.this.append(this)
9105 except __builtin__.Exception:
9108 def set_origin(self, o):
9109 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9110 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9113 def get_origin(self):
9114 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9115 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9118 def get_dimension(self):
9119 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9120 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9123 def set_unit_cell(self, o):
9124 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9125 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9128 def get_inverse_unit_cell(self):
9129 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9130 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9133 def get_unit_cell(self):
9134 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9135 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9138 def get_extended_index(self, o):
9139 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9140 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9144 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9145 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9148 def get_center(self, *args):
9150 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9151 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9153 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9156 def get_bounding_box(self, *args):
9158 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9159 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9161 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9164 def show(self, *args):
9166 show(DefaultEmbedding3D self, _ostream out)
9167 show(DefaultEmbedding3D self)
9169 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9173 """__str__(DefaultEmbedding3D self) -> std::string"""
9174 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9178 """__repr__(DefaultEmbedding3D self) -> std::string"""
9179 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9182 def __cmp__(self, arg2):
9183 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9184 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9187 def __eq__(self, arg2):
9188 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9189 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9191 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9192 __del__ =
lambda self:
None
9193 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9194 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9196 class DefaultEmbedding4D(object):
9197 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9201 def __init__(self, *args):
9203 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9204 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9206 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9208 self.this.append(this)
9209 except __builtin__.Exception:
9212 def set_origin(self, o):
9213 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9214 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9217 def get_origin(self):
9218 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9219 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9222 def get_dimension(self):
9223 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9224 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9227 def set_unit_cell(self, o):
9228 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9229 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9232 def get_inverse_unit_cell(self):
9233 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9234 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9237 def get_unit_cell(self):
9238 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9239 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9242 def get_extended_index(self, o):
9243 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9244 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9248 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9249 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9252 def get_center(self, *args):
9254 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9255 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9257 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9260 def get_bounding_box(self, *args):
9262 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9263 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9265 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9268 def show(self, *args):
9270 show(DefaultEmbedding4D self, _ostream out)
9271 show(DefaultEmbedding4D self)
9273 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9277 """__str__(DefaultEmbedding4D self) -> std::string"""
9278 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9282 """__repr__(DefaultEmbedding4D self) -> std::string"""
9283 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9286 def __cmp__(self, arg2):
9287 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9288 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9291 def __eq__(self, arg2):
9292 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9293 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9295 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9296 __del__ =
lambda self:
None
9297 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9298 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9300 class DefaultEmbedding5D(object):
9301 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9305 def __init__(self, *args):
9307 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9308 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9310 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9312 self.this.append(this)
9313 except __builtin__.Exception:
9316 def set_origin(self, o):
9317 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9318 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9321 def get_origin(self):
9322 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9323 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9326 def get_dimension(self):
9327 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9328 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9331 def set_unit_cell(self, o):
9332 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9333 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9336 def get_inverse_unit_cell(self):
9337 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9338 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9341 def get_unit_cell(self):
9342 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9343 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9346 def get_extended_index(self, o):
9347 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9348 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9352 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9353 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9356 def get_center(self, *args):
9358 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9359 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9361 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9364 def get_bounding_box(self, *args):
9366 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9367 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9369 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9372 def show(self, *args):
9374 show(DefaultEmbedding5D self, _ostream out)
9375 show(DefaultEmbedding5D self)
9377 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9381 """__str__(DefaultEmbedding5D self) -> std::string"""
9382 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9386 """__repr__(DefaultEmbedding5D self) -> std::string"""
9387 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9390 def __cmp__(self, arg2):
9391 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9392 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9395 def __eq__(self, arg2):
9396 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9397 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9399 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9400 __del__ =
lambda self:
None
9401 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9402 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9404 class DefaultEmbedding6D(object):
9405 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9409 def __init__(self, *args):
9411 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9412 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9414 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9416 self.this.append(this)
9417 except __builtin__.Exception:
9420 def set_origin(self, o):
9421 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9422 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9425 def get_origin(self):
9426 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9427 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9430 def get_dimension(self):
9431 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9432 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9435 def set_unit_cell(self, o):
9436 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9437 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9440 def get_inverse_unit_cell(self):
9441 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9442 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9445 def get_unit_cell(self):
9446 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9447 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9450 def get_extended_index(self, o):
9451 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9452 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9456 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9457 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9460 def get_center(self, *args):
9462 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9463 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9465 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9468 def get_bounding_box(self, *args):
9470 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9471 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9473 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9476 def show(self, *args):
9478 show(DefaultEmbedding6D self, _ostream out)
9479 show(DefaultEmbedding6D self)
9481 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9485 """__str__(DefaultEmbedding6D self) -> std::string"""
9486 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9490 """__repr__(DefaultEmbedding6D self) -> std::string"""
9491 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9494 def __cmp__(self, arg2):
9495 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9496 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9499 def __eq__(self, arg2):
9500 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9501 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9503 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9504 __del__ =
lambda self:
None
9505 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9506 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9508 class DefaultEmbeddingKD(object):
9509 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9513 def __init__(self, *args):
9515 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9516 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9518 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9520 self.this.append(this)
9521 except __builtin__.Exception:
9524 def set_origin(self, o):
9525 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9526 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9529 def get_origin(self):
9530 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9531 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9534 def get_dimension(self):
9535 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9536 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9539 def set_unit_cell(self, o):
9540 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9541 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9544 def get_inverse_unit_cell(self):
9545 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9546 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9549 def get_unit_cell(self):
9550 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9551 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9554 def get_extended_index(self, o):
9555 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9556 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9560 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9561 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9564 def get_center(self, *args):
9566 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9567 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9569 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9572 def get_bounding_box(self, *args):
9574 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9575 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9577 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9580 def show(self, *args):
9582 show(DefaultEmbeddingKD self, _ostream out)
9583 show(DefaultEmbeddingKD self)
9585 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9589 """__str__(DefaultEmbeddingKD self) -> std::string"""
9590 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9594 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9595 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9598 def __cmp__(self, arg2):
9599 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9600 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9603 def __eq__(self, arg2):
9604 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9605 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9607 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9608 __del__ =
lambda self:
None
9609 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9610 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9612 class LogEmbedding1D(object):
9613 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9615 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9617 def __init__(self, *args):
9619 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9620 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9621 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9622 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9623 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9625 this = _IMP_algebra.new_LogEmbedding1D(*args)
9627 self.this.append(this)
9628 except __builtin__.Exception:
9631 def set_origin(self, o):
9632 """set_origin(LogEmbedding1D self, Vector1D o)"""
9633 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9636 def get_origin(self):
9637 """get_origin(LogEmbedding1D self) -> Vector1D"""
9638 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9641 def get_dimension(self):
9642 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9643 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9646 def set_unit_cell(self, *args):
9648 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9649 set_unit_cell(LogEmbedding1D self, Vector1D o)
9651 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9654 def get_unit_cell(self):
9655 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9656 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9659 def get_extended_index(self, o):
9660 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9661 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9665 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9666 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9669 def get_center(self, *args):
9671 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9672 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9674 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9677 def get_bounding_box(self, *args):
9679 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9680 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9682 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9685 def show(self, *args):
9687 show(LogEmbedding1D self, _ostream out)
9688 show(LogEmbedding1D self)
9690 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9694 """__str__(LogEmbedding1D self) -> std::string"""
9695 return _IMP_algebra.LogEmbedding1D___str__(self)
9699 """__repr__(LogEmbedding1D self) -> std::string"""
9700 return _IMP_algebra.LogEmbedding1D___repr__(self)
9703 def __cmp__(self, arg2):
9704 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9705 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9708 def __eq__(self, arg2):
9709 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9710 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9712 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9713 __del__ =
lambda self:
None
9714 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9715 LogEmbedding1D_swigregister(LogEmbedding1D)
9717 class LogEmbedding2D(object):
9718 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9722 def __init__(self, *args):
9724 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9725 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9726 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9727 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9728 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9730 this = _IMP_algebra.new_LogEmbedding2D(*args)
9732 self.this.append(this)
9733 except __builtin__.Exception:
9736 def set_origin(self, o):
9737 """set_origin(LogEmbedding2D self, Vector2D o)"""
9738 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9741 def get_origin(self):
9742 """get_origin(LogEmbedding2D self) -> Vector2D"""
9743 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9746 def get_dimension(self):
9747 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9748 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9751 def set_unit_cell(self, *args):
9753 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9754 set_unit_cell(LogEmbedding2D self, Vector2D o)
9756 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9759 def get_unit_cell(self):
9760 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9761 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9764 def get_extended_index(self, o):
9765 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9766 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9770 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9771 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9774 def get_center(self, *args):
9776 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9777 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9779 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9782 def get_bounding_box(self, *args):
9784 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9785 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9787 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9790 def show(self, *args):
9792 show(LogEmbedding2D self, _ostream out)
9793 show(LogEmbedding2D self)
9795 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9799 """__str__(LogEmbedding2D self) -> std::string"""
9800 return _IMP_algebra.LogEmbedding2D___str__(self)
9804 """__repr__(LogEmbedding2D self) -> std::string"""
9805 return _IMP_algebra.LogEmbedding2D___repr__(self)
9808 def __cmp__(self, arg2):
9809 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9810 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9813 def __eq__(self, arg2):
9814 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9815 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9817 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9818 __del__ =
lambda self:
None
9819 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9820 LogEmbedding2D_swigregister(LogEmbedding2D)
9822 class LogEmbedding4D(object):
9823 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9825 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9827 def __init__(self, *args):
9829 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9830 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9831 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9832 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9833 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9835 this = _IMP_algebra.new_LogEmbedding4D(*args)
9837 self.this.append(this)
9838 except __builtin__.Exception:
9841 def set_origin(self, o):
9842 """set_origin(LogEmbedding4D self, Vector4D o)"""
9843 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9846 def get_origin(self):
9847 """get_origin(LogEmbedding4D self) -> Vector4D"""
9848 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9851 def get_dimension(self):
9852 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9853 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9856 def set_unit_cell(self, *args):
9858 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9859 set_unit_cell(LogEmbedding4D self, Vector4D o)
9861 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9864 def get_unit_cell(self):
9865 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9866 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9869 def get_extended_index(self, o):
9870 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9871 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9875 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9876 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9879 def get_center(self, *args):
9881 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9882 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9884 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9887 def get_bounding_box(self, *args):
9889 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9890 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9892 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9895 def show(self, *args):
9897 show(LogEmbedding4D self, _ostream out)
9898 show(LogEmbedding4D self)
9900 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9904 """__str__(LogEmbedding4D self) -> std::string"""
9905 return _IMP_algebra.LogEmbedding4D___str__(self)
9909 """__repr__(LogEmbedding4D self) -> std::string"""
9910 return _IMP_algebra.LogEmbedding4D___repr__(self)
9913 def __cmp__(self, arg2):
9914 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9915 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9918 def __eq__(self, arg2):
9919 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9920 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9922 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9923 __del__ =
lambda self:
None
9924 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9925 LogEmbedding4D_swigregister(LogEmbedding4D)
9927 class LogEmbedding5D(object):
9928 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9930 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9932 def __init__(self, *args):
9934 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9935 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9936 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9937 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9938 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9940 this = _IMP_algebra.new_LogEmbedding5D(*args)
9942 self.this.append(this)
9943 except __builtin__.Exception:
9946 def set_origin(self, o):
9947 """set_origin(LogEmbedding5D self, Vector5D o)"""
9948 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9951 def get_origin(self):
9952 """get_origin(LogEmbedding5D self) -> Vector5D"""
9953 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9956 def get_dimension(self):
9957 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9958 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9961 def set_unit_cell(self, *args):
9963 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9964 set_unit_cell(LogEmbedding5D self, Vector5D o)
9966 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9969 def get_unit_cell(self):
9970 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9971 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9974 def get_extended_index(self, o):
9975 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9976 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
9980 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
9981 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
9984 def get_center(self, *args):
9986 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9987 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
9989 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
9992 def get_bounding_box(self, *args):
9994 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9995 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9997 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10000 def show(self, *args):
10002 show(LogEmbedding5D self, _ostream out)
10003 show(LogEmbedding5D self)
10005 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10009 """__str__(LogEmbedding5D self) -> std::string"""
10010 return _IMP_algebra.LogEmbedding5D___str__(self)
10013 def __repr__(self):
10014 """__repr__(LogEmbedding5D self) -> std::string"""
10015 return _IMP_algebra.LogEmbedding5D___repr__(self)
10018 def __cmp__(self, arg2):
10019 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10020 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10023 def __eq__(self, arg2):
10024 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10025 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10027 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10028 __del__ =
lambda self:
None
10029 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10030 LogEmbedding5D_swigregister(LogEmbedding5D)
10032 class LogEmbedding6D(object):
10033 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10035 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10037 def __init__(self, *args):
10039 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10040 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10041 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10042 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10043 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10045 this = _IMP_algebra.new_LogEmbedding6D(*args)
10047 self.this.append(this)
10048 except __builtin__.Exception:
10051 def set_origin(self, o):
10052 """set_origin(LogEmbedding6D self, Vector6D o)"""
10053 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10056 def get_origin(self):
10057 """get_origin(LogEmbedding6D self) -> Vector6D"""
10058 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10061 def get_dimension(self):
10062 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10063 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10066 def set_unit_cell(self, *args):
10068 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10069 set_unit_cell(LogEmbedding6D self, Vector6D o)
10071 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10074 def get_unit_cell(self):
10075 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10076 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10079 def get_extended_index(self, o):
10080 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10081 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10085 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10086 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10089 def get_center(self, *args):
10091 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10092 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10094 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10097 def get_bounding_box(self, *args):
10099 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10100 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10102 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10105 def show(self, *args):
10107 show(LogEmbedding6D self, _ostream out)
10108 show(LogEmbedding6D self)
10110 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10114 """__str__(LogEmbedding6D self) -> std::string"""
10115 return _IMP_algebra.LogEmbedding6D___str__(self)
10118 def __repr__(self):
10119 """__repr__(LogEmbedding6D self) -> std::string"""
10120 return _IMP_algebra.LogEmbedding6D___repr__(self)
10123 def __cmp__(self, arg2):
10124 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10125 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10128 def __eq__(self, arg2):
10129 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10130 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10132 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10133 __del__ =
lambda self:
None
10134 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10135 LogEmbedding6D_swigregister(LogEmbedding6D)
10137 class SpherePatch3D(_GeometricPrimitive3D):
10138 """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10142 def __init__(self, *args):
10144 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10145 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10147 this = _IMP_algebra.new_SpherePatch3D(*args)
10149 self.this.append(this)
10150 except __builtin__.Exception:
10153 def get_contains(self, p):
10154 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10155 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10158 def get_plane(self):
10159 """get_plane(SpherePatch3D self) -> Plane3D"""
10160 return _IMP_algebra.SpherePatch3D_get_plane(self)
10163 def get_sphere(self):
10164 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10165 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10168 def show(self, *args):
10170 show(SpherePatch3D self, _ostream out)
10171 show(SpherePatch3D self)
10173 return _IMP_algebra.SpherePatch3D_show(self, *args)
10176 def get_boundary_point(self):
10177 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10178 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10182 """__str__(SpherePatch3D self) -> std::string"""
10183 return _IMP_algebra.SpherePatch3D___str__(self)
10186 def __repr__(self):
10187 """__repr__(SpherePatch3D self) -> std::string"""
10188 return _IMP_algebra.SpherePatch3D___repr__(self)
10190 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10191 __del__ =
lambda self:
None
10192 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10193 SpherePatch3D_swigregister(SpherePatch3D)
10198 get_area(Plane3D g) -> double
10199 get_area(SpherePatch3D g) -> double
10201 return _IMP_algebra.get_area(*args)
10203 def get_sphere_patch_3d_geometry(g):
10204 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10205 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10206 class Cone3D(_GeometricPrimitive3D):
10207 """Proxy of C++ IMP::algebra::Cone3D class."""
10209 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10211 def __init__(self, *args):
10213 __init__(IMP::algebra::Cone3D self) -> Cone3D
10214 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10216 this = _IMP_algebra.new_Cone3D(*args)
10218 self.this.append(this)
10219 except __builtin__.Exception:
10223 """get_tip(Cone3D self) -> Vector3D"""
10224 return _IMP_algebra.Cone3D_get_tip(self)
10227 def get_direction(self):
10228 """get_direction(Cone3D self) -> Vector3D"""
10229 return _IMP_algebra.Cone3D_get_direction(self)
10233 """get_height(Cone3D self) -> double"""
10234 return _IMP_algebra.Cone3D_get_height(self)
10238 """get_angle(Cone3D self) -> double"""
10239 return _IMP_algebra.Cone3D_get_angle(self)
10242 def get_radius(self):
10243 """get_radius(Cone3D self) -> double"""
10244 return _IMP_algebra.Cone3D_get_radius(self)
10247 def get_contains(self, v):
10248 """get_contains(Cone3D self, Vector3D v) -> bool"""
10249 return _IMP_algebra.Cone3D_get_contains(self, v)
10252 def get_base_plane(self):
10253 """get_base_plane(Cone3D self) -> Plane3D"""
10254 return _IMP_algebra.Cone3D_get_base_plane(self)
10257 def show(self, *args):
10259 show(Cone3D self, _ostream out)
10262 return _IMP_algebra.Cone3D_show(self, *args)
10266 """__str__(Cone3D self) -> std::string"""
10267 return _IMP_algebra.Cone3D___str__(self)
10270 def __repr__(self):
10271 """__repr__(Cone3D self) -> std::string"""
10272 return _IMP_algebra.Cone3D___repr__(self)
10274 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10275 __del__ =
lambda self:
None
10276 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10277 Cone3D_swigregister(Cone3D)
10282 get_surface_area(BoundingBox3D g) -> double
10283 get_surface_area(Sphere3D g) -> double
10284 get_surface_area(Cylinder3D g) -> double
10285 get_surface_area(Ellipsoid3D g) -> double
10286 get_surface_area(Cone3D g) -> double
10288 return _IMP_algebra.get_surface_area(*args)
10292 get_volume(BoundingBox3D g) -> double
10293 get_volume(Sphere3D g) -> double
10294 get_volume(Cylinder3D g) -> double
10295 get_volume(Ellipsoid3D g) -> double
10296 get_volume(Cone3D g) -> double
10298 return _IMP_algebra.get_volume(*args)
10300 def get_cone_3d_geometry(g):
10301 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10302 return _IMP_algebra.get_cone_3d_geometry(g)
10305 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10306 return _IMP_algebra.write_pts(vs, out)
10309 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10310 return _IMP_algebra.read_pts(input)
10313 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10314 return _IMP_algebra.write_spheres(vs, out)
10317 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10318 return _IMP_algebra.read_spheres(input)
10321 """get_random_vector_on_unit_sphere() -> Vector3D"""
10322 return _IMP_algebra.get_random_vector_on_unit_sphere()
10325 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10326 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10330 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10331 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10332 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10334 return _IMP_algebra.get_random_chain(*args)
10337 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10338 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10342 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10343 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10345 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10348 """get_is_big_endian() -> bool"""
10349 return _IMP_algebra.get_is_big_endian()
10352 """get_is_little_endian() -> bool"""
10353 return _IMP_algebra.get_is_little_endian()
10357 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10358 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10360 return _IMP_algebra.get_shortest_segment(*args)
10362 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10364 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10366 def __init__(self, vs, query_estimate=1):
10368 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10369 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10371 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10373 self.this.append(this)
10374 except __builtin__.Exception:
10377 def get_in_ball(self, id, distance):
10378 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10379 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10382 def set_coordinates(self, id, nc):
10383 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10384 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10387 def get_version_info(self):
10388 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10389 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10393 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10394 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10397 def __repr__(self):
10398 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10399 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10404 return _object_cast_to_DynamicNearestNeighbor3D(o)
10406 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10407 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10410 """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10414 def __init__(self, name):
10415 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10416 if self.__class__ == VectorKDMetric:
10420 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10422 self.this.append(this)
10423 except __builtin__.Exception:
10426 if self.__class__ != VectorKDMetric:
10427 _director_objects.register(self)
10433 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10434 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10438 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10439 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10443 """__str__(VectorKDMetric self) -> std::string"""
10444 return _IMP_algebra.VectorKDMetric___str__(self)
10447 def __repr__(self):
10448 """__repr__(VectorKDMetric self) -> std::string"""
10449 return _IMP_algebra.VectorKDMetric___repr__(self)
10454 return _object_cast_to_VectorKDMetric(o)
10457 def get_type_name(self):
10458 return self.__class__.__name__
10459 def do_show(self, out):
10461 def get_version_info(self):
10462 if"IMP::algebra" ==
"IMP":
10463 return VersionInfo(self.__module__,
10464 __import__(self.__module__).get_module_version())
10467 __import__(self.__module__).get_module_version())
10470 return _object_cast_to_VectorKDMetric(o)
10472 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10473 __del__ =
lambda self:
None
10474 def __disown__(self):
10476 _IMP_algebra.disown_VectorKDMetric(self)
10477 return weakref_proxy(self)
10479 def do_destroy(self):
10480 """do_destroy(VectorKDMetric self)"""
10481 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10483 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10484 VectorKDMetric_swigregister(VectorKDMetric)
10486 class EuclideanVectorKDMetric(VectorKDMetric):
10487 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10491 def __init__(self, *args):
10493 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10494 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10496 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10498 self.this.append(this)
10499 except __builtin__.Exception:
10502 def get_version_info(self):
10503 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10504 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10508 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10509 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10512 def __repr__(self):
10513 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10514 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10519 return _object_cast_to_EuclideanVectorKDMetric(o)
10521 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10522 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10524 class MaxVectorKDMetric(VectorKDMetric):
10525 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10527 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10529 def __init__(self, *args):
10531 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10532 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10534 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10536 self.this.append(this)
10537 except __builtin__.Exception:
10540 def get_version_info(self):
10541 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10542 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10546 """__str__(MaxVectorKDMetric self) -> std::string"""
10547 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10550 def __repr__(self):
10551 """__repr__(MaxVectorKDMetric self) -> std::string"""
10552 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10557 return _object_cast_to_MaxVectorKDMetric(o)
10559 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10560 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10562 class Gaussian3D(_GeometricPrimitive3D):
10563 """Proxy of C++ IMP::algebra::Gaussian3D class."""
10565 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10567 def __init__(self, *args):
10569 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10570 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10572 this = _IMP_algebra.new_Gaussian3D(*args)
10574 self.this.append(this)
10575 except __builtin__.Exception:
10578 def get_reference_frame(self):
10579 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10580 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10583 def get_variances(self):
10584 """get_variances(Gaussian3D self) -> Vector3D"""
10585 return _IMP_algebra.Gaussian3D_get_variances(self)
10588 def get_center(self):
10589 """get_center(Gaussian3D self) -> Vector3D"""
10590 return _IMP_algebra.Gaussian3D_get_center(self)
10593 def show(self, *args):
10595 show(Gaussian3D self, _ostream out)
10596 show(Gaussian3D self)
10598 return _IMP_algebra.Gaussian3D_show(self, *args)
10602 """__str__(Gaussian3D self) -> std::string"""
10603 return _IMP_algebra.Gaussian3D___str__(self)
10606 def __repr__(self):
10607 """__repr__(Gaussian3D self) -> std::string"""
10608 return _IMP_algebra.Gaussian3D___repr__(self)
10610 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10611 __del__ =
lambda self:
None
10612 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10613 Gaussian3D_swigregister(Gaussian3D)
10617 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
10618 return _IMP_algebra.get_covariance(g)
10621 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10622 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10625 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10626 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10630 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10631 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10633 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10635 def _pass_matrix_xf(m):
10636 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
10637 return _IMP_algebra._pass_matrix_xf(m)
10639 def _pass_matrix_xd(m):
10640 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
10641 return _IMP_algebra._pass_matrix_xd(m)
10643 def _pass_matrix_3d(m):
10644 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
10645 return _IMP_algebra._pass_matrix_3d(m)
10647 def _pass_array_xd(m):
10648 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
10649 return _IMP_algebra._pass_array_xd(m)
10651 def _pass_vector_xd(m):
10652 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
10653 return _IMP_algebra._pass_vector_xd(m)
10655 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10659 def __init__(self, vs, epsilon=0):
10661 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10662 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10664 this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10666 self.this.append(this)
10667 except __builtin__.Exception:
10670 def set_query_log(self, fname):
10671 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10672 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10675 def get_nearest_neighbor(self, *args):
10677 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10678 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10680 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10683 def get_nearest_neighbors(self, *args):
10685 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10686 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10688 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10691 def get_in_ball(self, *args):
10693 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10694 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10696 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10699 def get_version_info(self):
10700 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10701 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10705 """__str__(NearestNeighbor1D self) -> std::string"""
10706 return _IMP_algebra.NearestNeighbor1D___str__(self)
10709 def __repr__(self):
10710 """__repr__(NearestNeighbor1D self) -> std::string"""
10711 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10716 return _object_cast_to_NearestNeighborD(o)
10718 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10719 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10722 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10726 def __init__(self, vs, epsilon=0):
10728 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10729 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10731 this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10733 self.this.append(this)
10734 except __builtin__.Exception:
10737 def set_query_log(self, fname):
10738 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10739 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10742 def get_nearest_neighbor(self, *args):
10744 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10745 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10747 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10750 def get_nearest_neighbors(self, *args):
10752 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10753 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10755 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10758 def get_in_ball(self, *args):
10760 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10761 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10763 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10766 def get_version_info(self):
10767 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10768 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10772 """__str__(NearestNeighbor2D self) -> std::string"""
10773 return _IMP_algebra.NearestNeighbor2D___str__(self)
10776 def __repr__(self):
10777 """__repr__(NearestNeighbor2D self) -> std::string"""
10778 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10783 return _object_cast_to_NearestNeighborD(o)
10785 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10786 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10789 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10791 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10793 def __init__(self, vs, epsilon=0):
10795 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10796 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10798 this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10800 self.this.append(this)
10801 except __builtin__.Exception:
10804 def set_query_log(self, fname):
10805 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10806 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10809 def get_nearest_neighbor(self, *args):
10811 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10812 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10814 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10817 def get_nearest_neighbors(self, *args):
10819 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10820 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10822 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10825 def get_in_ball(self, *args):
10827 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10828 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10830 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10833 def get_version_info(self):
10834 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10835 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10839 """__str__(NearestNeighbor3D self) -> std::string"""
10840 return _IMP_algebra.NearestNeighbor3D___str__(self)
10843 def __repr__(self):
10844 """__repr__(NearestNeighbor3D self) -> std::string"""
10845 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10850 return _object_cast_to_NearestNeighborD(o)
10852 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10853 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10856 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10860 def __init__(self, vs, epsilon=0):
10862 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10863 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10865 this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10867 self.this.append(this)
10868 except __builtin__.Exception:
10871 def set_query_log(self, fname):
10872 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10873 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10876 def get_nearest_neighbor(self, *args):
10878 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10879 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10881 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10884 def get_nearest_neighbors(self, *args):
10886 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10887 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10889 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10892 def get_in_ball(self, *args):
10894 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10895 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10897 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10900 def get_version_info(self):
10901 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10902 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10906 """__str__(NearestNeighbor4D self) -> std::string"""
10907 return _IMP_algebra.NearestNeighbor4D___str__(self)
10910 def __repr__(self):
10911 """__repr__(NearestNeighbor4D self) -> std::string"""
10912 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10917 return _object_cast_to_NearestNeighborD(o)
10919 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10920 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10923 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10925 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10927 def __init__(self, vs, epsilon=0):
10929 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10930 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10932 this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10934 self.this.append(this)
10935 except __builtin__.Exception:
10938 def set_query_log(self, fname):
10939 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10940 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10943 def get_nearest_neighbor(self, *args):
10945 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10946 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10948 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10951 def get_nearest_neighbors(self, *args):
10953 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10954 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10956 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10959 def get_in_ball(self, *args):
10961 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10962 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10964 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10967 def get_version_info(self):
10968 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10969 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10973 """__str__(NearestNeighbor5D self) -> std::string"""
10974 return _IMP_algebra.NearestNeighbor5D___str__(self)
10977 def __repr__(self):
10978 """__repr__(NearestNeighbor5D self) -> std::string"""
10979 return _IMP_algebra.NearestNeighbor5D___repr__(self)
10984 return _object_cast_to_NearestNeighborD(o)
10986 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
10987 NearestNeighbor5D_swigregister(NearestNeighbor5D)
10990 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
10992 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10994 def __init__(self, vs, epsilon=0):
10996 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
10997 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
10999 this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11001 self.this.append(this)
11002 except __builtin__.Exception:
11005 def set_query_log(self, fname):
11006 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11007 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11010 def get_nearest_neighbor(self, *args):
11012 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11013 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11015 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11018 def get_nearest_neighbors(self, *args):
11020 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11021 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11023 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11026 def get_in_ball(self, *args):
11028 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11029 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11031 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11034 def get_version_info(self):
11035 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11036 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11040 """__str__(NearestNeighbor6D self) -> std::string"""
11041 return _IMP_algebra.NearestNeighbor6D___str__(self)
11044 def __repr__(self):
11045 """__repr__(NearestNeighbor6D self) -> std::string"""
11046 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11051 return _object_cast_to_NearestNeighborD(o)
11053 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11054 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11057 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11059 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11061 def __init__(self, vs, epsilon=0):
11063 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11064 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11066 this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11068 self.this.append(this)
11069 except __builtin__.Exception:
11072 def set_query_log(self, fname):
11073 """set_query_log(NearestNeighborKD self, std::string fname)"""
11074 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11077 def get_nearest_neighbor(self, *args):
11079 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11080 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11082 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11085 def get_nearest_neighbors(self, *args):
11087 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11088 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11090 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11093 def get_in_ball(self, *args):
11095 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11096 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11098 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11101 def get_version_info(self):
11102 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11103 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11107 """__str__(NearestNeighborKD self) -> std::string"""
11108 return _IMP_algebra.NearestNeighborKD___str__(self)
11111 def __repr__(self):
11112 """__repr__(NearestNeighborKD self) -> std::string"""
11113 return _IMP_algebra.NearestNeighborKD___repr__(self)
11118 return _object_cast_to_NearestNeighborD(o)
11120 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11121 NearestNeighborKD_swigregister(NearestNeighborKD)
11125 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11126 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11127 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11128 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11130 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11132 def __init__(self, *args):
11134 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11135 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11137 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11139 self.this.append(this)
11140 except __builtin__.Exception:
11144 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11145 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11148 def get_principal_component(self, i):
11149 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11150 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11153 def get_principal_values(self):
11154 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11155 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11158 def get_principal_value(self, i):
11159 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11160 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11164 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11165 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11168 def set_centroid(self, cntr):
11169 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11170 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11173 def show(self, *args):
11175 show(PrincipalComponentAnalysis1D self, _ostream out)
11176 show(PrincipalComponentAnalysis1D self)
11178 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11181 def __cmp__(self, o):
11182 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11183 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11186 def __eq__(self, o):
11187 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11188 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11191 def __ne__(self, o):
11192 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11193 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11196 def __lt__(self, o):
11197 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11198 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11201 def __gt__(self, o):
11202 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11203 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11206 def __ge__(self, o):
11207 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11208 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11211 def __le__(self, o):
11212 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11213 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11217 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11218 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11221 def __repr__(self):
11222 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11223 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11225 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11226 __del__ =
lambda self:
None
11227 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11228 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11230 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11231 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11233 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11235 def __init__(self, *args):
11237 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11238 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11240 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11242 self.this.append(this)
11243 except __builtin__.Exception:
11247 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11248 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11251 def get_principal_component(self, i):
11252 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11253 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11256 def get_principal_values(self):
11257 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11258 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11261 def get_principal_value(self, i):
11262 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11263 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11267 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11268 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11271 def set_centroid(self, cntr):
11272 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11273 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11276 def show(self, *args):
11278 show(PrincipalComponentAnalysis2D self, _ostream out)
11279 show(PrincipalComponentAnalysis2D self)
11281 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11284 def __cmp__(self, o):
11285 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11286 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11289 def __eq__(self, o):
11290 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11291 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11294 def __ne__(self, o):
11295 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11296 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11299 def __lt__(self, o):
11300 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11301 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11304 def __gt__(self, o):
11305 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11306 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11309 def __ge__(self, o):
11310 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11311 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11314 def __le__(self, o):
11315 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11316 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11320 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11321 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11324 def __repr__(self):
11325 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11326 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11328 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11329 __del__ =
lambda self:
None
11330 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11331 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11333 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11334 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11338 def __init__(self, *args):
11340 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11341 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11343 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11345 self.this.append(this)
11346 except __builtin__.Exception:
11350 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11351 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11354 def get_principal_component(self, i):
11355 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11356 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11359 def get_principal_values(self):
11360 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11361 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11364 def get_principal_value(self, i):
11365 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11366 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11370 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11371 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11374 def set_centroid(self, cntr):
11375 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11376 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11379 def show(self, *args):
11381 show(PrincipalComponentAnalysis3D self, _ostream out)
11382 show(PrincipalComponentAnalysis3D self)
11384 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11387 def __cmp__(self, o):
11388 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11389 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11392 def __eq__(self, o):
11393 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11394 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11397 def __ne__(self, o):
11398 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11399 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11402 def __lt__(self, o):
11403 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11404 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11407 def __gt__(self, o):
11408 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11409 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11412 def __ge__(self, o):
11413 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11414 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11417 def __le__(self, o):
11418 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11419 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11423 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11424 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11427 def __repr__(self):
11428 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11429 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11431 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11432 __del__ =
lambda self:
None
11433 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11434 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11436 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11437 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11439 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11441 def __init__(self, *args):
11443 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11444 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11446 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11448 self.this.append(this)
11449 except __builtin__.Exception:
11453 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11454 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11457 def get_principal_component(self, i):
11458 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11459 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11462 def get_principal_values(self):
11463 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11464 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11467 def get_principal_value(self, i):
11468 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11469 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11473 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11474 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11477 def set_centroid(self, cntr):
11478 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11479 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11482 def show(self, *args):
11484 show(PrincipalComponentAnalysis4D self, _ostream out)
11485 show(PrincipalComponentAnalysis4D self)
11487 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11490 def __cmp__(self, o):
11491 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11492 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11495 def __eq__(self, o):
11496 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11497 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11500 def __ne__(self, o):
11501 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11502 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11505 def __lt__(self, o):
11506 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11507 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11510 def __gt__(self, o):
11511 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11512 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11515 def __ge__(self, o):
11516 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11517 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11520 def __le__(self, o):
11521 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11522 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11526 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11527 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11530 def __repr__(self):
11531 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11532 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11534 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11535 __del__ =
lambda self:
None
11536 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11537 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11539 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11540 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11544 def __init__(self, *args):
11546 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11547 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11549 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11551 self.this.append(this)
11552 except __builtin__.Exception:
11556 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11557 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11560 def get_principal_component(self, i):
11561 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11562 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11565 def get_principal_values(self):
11566 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11567 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11570 def get_principal_value(self, i):
11571 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11572 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11576 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11577 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11580 def set_centroid(self, cntr):
11581 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11582 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11585 def show(self, *args):
11587 show(PrincipalComponentAnalysis5D self, _ostream out)
11588 show(PrincipalComponentAnalysis5D self)
11590 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11593 def __cmp__(self, o):
11594 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11595 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11598 def __eq__(self, o):
11599 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11600 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11603 def __ne__(self, o):
11604 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11605 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11608 def __lt__(self, o):
11609 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11610 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11613 def __gt__(self, o):
11614 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11615 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11618 def __ge__(self, o):
11619 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11620 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11623 def __le__(self, o):
11624 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11625 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11629 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11630 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11633 def __repr__(self):
11634 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11635 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11637 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11638 __del__ =
lambda self:
None
11639 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11640 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11642 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11643 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11647 def __init__(self, *args):
11649 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11650 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11652 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11654 self.this.append(this)
11655 except __builtin__.Exception:
11659 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11660 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11663 def get_principal_component(self, i):
11664 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11665 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11668 def get_principal_values(self):
11669 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11670 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11673 def get_principal_value(self, i):
11674 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11675 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11679 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11680 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11683 def set_centroid(self, cntr):
11684 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11685 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11688 def show(self, *args):
11690 show(PrincipalComponentAnalysis6D self, _ostream out)
11691 show(PrincipalComponentAnalysis6D self)
11693 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11696 def __cmp__(self, o):
11697 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11698 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11701 def __eq__(self, o):
11702 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11703 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11706 def __ne__(self, o):
11707 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11708 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11711 def __lt__(self, o):
11712 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11713 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11716 def __gt__(self, o):
11717 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11718 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11721 def __ge__(self, o):
11722 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11723 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11726 def __le__(self, o):
11727 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11728 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11732 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11733 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11736 def __repr__(self):
11737 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11738 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11740 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11741 __del__ =
lambda self:
None
11742 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11743 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11745 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11746 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11750 def __init__(self, *args):
11752 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11753 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11755 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11757 self.this.append(this)
11758 except __builtin__.Exception:
11762 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11763 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11766 def get_principal_component(self, i):
11767 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11768 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11771 def get_principal_values(self):
11772 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11773 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11776 def get_principal_value(self, i):
11777 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11778 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11782 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11783 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11786 def set_centroid(self, cntr):
11787 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11788 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11791 def show(self, *args):
11793 show(PrincipalComponentAnalysisKD self, _ostream out)
11794 show(PrincipalComponentAnalysisKD self)
11796 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11799 def __cmp__(self, o):
11800 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11801 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11804 def __eq__(self, o):
11805 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11806 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11809 def __ne__(self, o):
11810 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11811 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11814 def __lt__(self, o):
11815 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11816 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11819 def __gt__(self, o):
11820 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11821 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11824 def __ge__(self, o):
11825 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11826 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11829 def __le__(self, o):
11830 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11831 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11835 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11836 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11839 def __repr__(self):
11840 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11841 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11843 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11844 __del__ =
lambda self:
None
11845 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11846 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11851 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11852 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11853 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11854 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11855 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11856 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11857 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11859 return _IMP_algebra.get_principal_components(*args)
11863 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11864 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11865 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11866 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11867 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11868 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11869 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11871 return _IMP_algebra.get_vertices(*args)
11875 get_distance(Rotation3D r0, Rotation3D r1) -> double
11876 get_distance(Line3D s, Vector3D p) -> double
11877 get_distance(Line3D a, Line3D b) -> double
11878 get_distance(Segment3D s, Vector3D p) -> double
11879 get_distance(Segment3D a, Segment3D b) -> double
11880 get_distance(Plane3D pln, Vector3D p) -> double
11881 get_distance(Vector1D a, Vector1D b) -> double
11882 get_distance(Vector2D a, Vector2D b) -> double
11883 get_distance(Vector3D a, Vector3D b) -> double
11884 get_distance(Vector4D a, Vector4D b) -> double
11885 get_distance(Vector5D a, Vector5D b) -> double
11886 get_distance(Vector6D a, Vector6D b) -> double
11887 get_distance(VectorKD a, VectorKD b) -> double
11888 get_distance(Sphere1D a, Sphere1D b) -> double
11889 get_distance(Sphere2D a, Sphere2D b) -> double
11890 get_distance(Sphere3D a, Sphere3D b) -> double
11891 get_distance(Sphere4D a, Sphere4D b) -> double
11892 get_distance(Sphere5D a, Sphere5D b) -> double
11893 get_distance(Sphere6D a, Sphere6D b) -> double
11894 get_distance(SphereKD a, SphereKD b) -> double
11896 return _IMP_algebra.get_distance(*args)
11900 get_squared_distance(Vector1D a, Vector1D b) -> double
11901 get_squared_distance(Vector2D a, Vector2D b) -> double
11902 get_squared_distance(Vector3D a, Vector3D b) -> double
11903 get_squared_distance(Vector4D a, Vector4D b) -> double
11904 get_squared_distance(Vector5D a, Vector5D b) -> double
11905 get_squared_distance(Vector6D a, Vector6D b) -> double
11906 get_squared_distance(VectorKD a, VectorKD b) -> double
11908 return _IMP_algebra.get_squared_distance(*args)
11910 def get_basis_vector_1d(coordinate):
11911 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11912 return _IMP_algebra.get_basis_vector_1d(coordinate)
11914 def get_basis_vector_2d(coordinate):
11915 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11916 return _IMP_algebra.get_basis_vector_2d(coordinate)
11918 def get_basis_vector_3d(coordinate):
11919 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11920 return _IMP_algebra.get_basis_vector_3d(coordinate)
11922 def get_basis_vector_4d(coordinate):
11923 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11924 return _IMP_algebra.get_basis_vector_4d(coordinate)
11926 def get_basis_vector_5d(coordinate):
11927 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11928 return _IMP_algebra.get_basis_vector_5d(coordinate)
11930 def get_basis_vector_6d(coordinate):
11931 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11932 return _IMP_algebra.get_basis_vector_6d(coordinate)
11934 def get_zero_vector_1d():
11935 """get_zero_vector_1d() -> Vector1D"""
11936 return _IMP_algebra.get_zero_vector_1d()
11938 def get_zero_vector_2d():
11939 """get_zero_vector_2d() -> Vector2D"""
11940 return _IMP_algebra.get_zero_vector_2d()
11942 def get_zero_vector_3d():
11943 """get_zero_vector_3d() -> Vector3D"""
11944 return _IMP_algebra.get_zero_vector_3d()
11946 def get_zero_vector_4d():
11947 """get_zero_vector_4d() -> Vector4D"""
11948 return _IMP_algebra.get_zero_vector_4d()
11950 def get_zero_vector_5d():
11951 """get_zero_vector_5d() -> Vector5D"""
11952 return _IMP_algebra.get_zero_vector_5d()
11954 def get_zero_vector_6d():
11955 """get_zero_vector_6d() -> Vector6D"""
11956 return _IMP_algebra.get_zero_vector_6d()
11958 def get_ones_vector_1d(v=1):
11960 get_ones_vector_1d(double v=1) -> Vector1D
11961 get_ones_vector_1d() -> Vector1D
11963 return _IMP_algebra.get_ones_vector_1d(v)
11965 def get_ones_vector_2d(v=1):
11967 get_ones_vector_2d(double v=1) -> Vector2D
11968 get_ones_vector_2d() -> Vector2D
11970 return _IMP_algebra.get_ones_vector_2d(v)
11972 def get_ones_vector_3d(v=1):
11974 get_ones_vector_3d(double v=1) -> Vector3D
11975 get_ones_vector_3d() -> Vector3D
11977 return _IMP_algebra.get_ones_vector_3d(v)
11979 def get_ones_vector_4d(v=1):
11981 get_ones_vector_4d(double v=1) -> Vector4D
11982 get_ones_vector_4d() -> Vector4D
11984 return _IMP_algebra.get_ones_vector_4d(v)
11986 def get_ones_vector_5d(v=1):
11988 get_ones_vector_5d(double v=1) -> Vector5D
11989 get_ones_vector_5d() -> Vector5D
11991 return _IMP_algebra.get_ones_vector_5d(v)
11993 def get_ones_vector_6d(v=1):
11995 get_ones_vector_6d(double v=1) -> Vector6D
11996 get_ones_vector_6d() -> Vector6D
11998 return _IMP_algebra.get_ones_vector_6d(v)
12000 def get_unit_bounding_box_1d():
12001 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12002 return _IMP_algebra.get_unit_bounding_box_1d()
12004 def get_unit_bounding_box_2d():
12005 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12006 return _IMP_algebra.get_unit_bounding_box_2d()
12008 def get_unit_bounding_box_3d():
12009 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12010 return _IMP_algebra.get_unit_bounding_box_3d()
12012 def get_unit_bounding_box_4d():
12013 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12014 return _IMP_algebra.get_unit_bounding_box_4d()
12016 def get_unit_bounding_box_5d():
12017 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12018 return _IMP_algebra.get_unit_bounding_box_5d()
12020 def get_unit_bounding_box_6d():
12021 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12022 return _IMP_algebra.get_unit_bounding_box_6d()
12024 def get_cube_1d(radius):
12025 """get_cube_1d(double radius) -> BoundingBox1D"""
12026 return _IMP_algebra.get_cube_1d(radius)
12028 def get_cube_2d(radius):
12029 """get_cube_2d(double radius) -> BoundingBox2D"""
12030 return _IMP_algebra.get_cube_2d(radius)
12032 def get_cube_3d(radius):
12033 """get_cube_3d(double radius) -> BoundingBox3D"""
12034 return _IMP_algebra.get_cube_3d(radius)
12036 def get_cube_4d(radius):
12037 """get_cube_4d(double radius) -> BoundingBox4D"""
12038 return _IMP_algebra.get_cube_4d(radius)
12040 def get_cube_5d(radius):
12041 """get_cube_5d(double radius) -> BoundingBox5D"""
12042 return _IMP_algebra.get_cube_5d(radius)
12044 def get_cube_6d(radius):
12045 """get_cube_6d(double radius) -> BoundingBox6D"""
12046 return _IMP_algebra.get_cube_6d(radius)
12048 def get_unit_sphere_1d():
12049 """get_unit_sphere_1d() -> Sphere1D"""
12050 return _IMP_algebra.get_unit_sphere_1d()
12052 def get_unit_sphere_2d():
12053 """get_unit_sphere_2d() -> Sphere2D"""
12054 return _IMP_algebra.get_unit_sphere_2d()
12056 def get_unit_sphere_3d():
12057 """get_unit_sphere_3d() -> Sphere3D"""
12058 return _IMP_algebra.get_unit_sphere_3d()
12060 def get_unit_sphere_4d():
12061 """get_unit_sphere_4d() -> Sphere4D"""
12062 return _IMP_algebra.get_unit_sphere_4d()
12064 def get_unit_sphere_5d():
12065 """get_unit_sphere_5d() -> Sphere5D"""
12066 return _IMP_algebra.get_unit_sphere_5d()
12068 def get_unit_sphere_6d():
12069 """get_unit_sphere_6d() -> Sphere6D"""
12070 return _IMP_algebra.get_unit_sphere_6d()
12074 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12075 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12076 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12077 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12078 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12079 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12080 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12081 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12082 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12083 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12084 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12085 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12086 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12087 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12089 return _IMP_algebra.get_interiors_intersect(*args)
12093 get_random_vector_on(Sphere1D a) -> Vector1D
12094 get_random_vector_on(Sphere2D a) -> Vector2D
12095 get_random_vector_on(Sphere3D a) -> Vector3D
12096 get_random_vector_on(Sphere4D a) -> Vector4D
12097 get_random_vector_on(Sphere5D a) -> Vector5D
12098 get_random_vector_on(Sphere6D a) -> Vector6D
12099 get_random_vector_on(SphereKD a) -> VectorKD
12100 get_random_vector_on(BoundingBox1D a) -> Vector1D
12101 get_random_vector_on(BoundingBox2D a) -> Vector2D
12102 get_random_vector_on(BoundingBox3D a) -> Vector3D
12103 get_random_vector_on(BoundingBox4D a) -> Vector4D
12104 get_random_vector_on(BoundingBox5D a) -> Vector5D
12105 get_random_vector_on(BoundingBox6D a) -> Vector6D
12106 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12108 return _IMP_algebra.get_random_vector_on(*args)
12112 get_random_vector_in(Cylinder3D c) -> Vector3D
12113 get_random_vector_in(Sphere1D a) -> Vector1D
12114 get_random_vector_in(Sphere2D a) -> Vector2D
12115 get_random_vector_in(Sphere3D a) -> Vector3D
12116 get_random_vector_in(Sphere4D a) -> Vector4D
12117 get_random_vector_in(Sphere5D a) -> Vector5D
12118 get_random_vector_in(Sphere6D a) -> Vector6D
12119 get_random_vector_in(SphereKD a) -> VectorKD
12120 get_random_vector_in(BoundingBox1D a) -> Vector1D
12121 get_random_vector_in(BoundingBox2D a) -> Vector2D
12122 get_random_vector_in(BoundingBox3D a) -> Vector3D
12123 get_random_vector_in(BoundingBox4D a) -> Vector4D
12124 get_random_vector_in(BoundingBox5D a) -> Vector5D
12125 get_random_vector_in(BoundingBox6D a) -> Vector6D
12126 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12128 return _IMP_algebra.get_random_vector_in(*args)
12132 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12133 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12134 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12135 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12136 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12137 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12138 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12140 return _IMP_algebra.get_intersection(*args)
12144 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12145 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12146 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12147 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12148 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12149 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12150 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12152 return _IMP_algebra.get_union(*args)
12154 def get_bounding_box(*args):
12156 get_bounding_box(Line3D g) -> BoundingBox3D
12157 get_bounding_box(Segment3D g) -> BoundingBox3D
12158 get_bounding_box(Plane3D g) -> BoundingBox3D
12159 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12160 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12161 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12162 get_bounding_box(Cone3D g) -> BoundingBox3D
12163 get_bounding_box(Sphere1D a) -> BoundingBox1D
12164 get_bounding_box(Sphere2D a) -> BoundingBox2D
12165 get_bounding_box(Sphere3D a) -> BoundingBox3D
12166 get_bounding_box(Sphere4D a) -> BoundingBox4D
12167 get_bounding_box(Sphere5D a) -> BoundingBox5D
12168 get_bounding_box(Sphere6D a) -> BoundingBox6D
12169 get_bounding_box(SphereKD a) -> BoundingBoxKD
12171 return _IMP_algebra.get_bounding_box(*args)
12175 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12176 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12177 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12178 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12179 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12180 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12181 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12182 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12183 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12184 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12185 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12187 return _IMP_algebra.get_uniform_surface_cover(*args)
12191 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12192 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12193 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12194 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12195 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12196 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12197 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12199 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12200 class _AxisAnglePair(object):
12201 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12203 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12204 __repr__ = _swig_repr
12206 def __init__(self, *args):
12208 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12209 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12210 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12212 this = _IMP_algebra.new__AxisAnglePair(*args)
12214 self.this.append(this)
12215 except __builtin__.Exception:
12217 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12218 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12221 def __repr__(self):
12222 return str((self.first, self.second))
12223 def __getitem__(self, index):
12224 if not (index % 2):
12228 def __setitem__(self, index, val):
12229 if not (index % 2):
12233 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12234 __del__ =
lambda self:
None
12235 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12236 _AxisAnglePair_swigregister(_AxisAnglePair)
12240 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12241 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12244 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12245 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12248 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12249 return _IMP_algebra.get_rmsd(v0, v1)
12251 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12252 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12253 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12256 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12257 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12259 LinearFit=LinearFit2D
12260 ParabolicFit=ParabolicFit2D
12263 def get_module_version():
12264 """get_module_version() -> std::string const"""
12265 return _IMP_algebra.get_module_version()
12268 """get_example_path(std::string fname) -> std::string"""
12269 return _IMP_algebra.get_example_path(fname)
12272 """get_data_path(std::string fname) -> std::string"""
12273 return _IMP_algebra.get_data_path(fname)
12275 from .
import _version_check
12276 _version_check.check_version(get_module_version())
12277 __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.
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.
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.