IMP logo
IMP Reference Guide  2.14.0
The Integrative Modeling Platform
algebra/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2020 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
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():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_algebra')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
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
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_algebra', [dirname(__file__)])
34  except ImportError:
35  import _IMP_algebra
36  return _IMP_algebra
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_algebra', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_algebra = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_algebra
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
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)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
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)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_ALGEBRA_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
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
123 
124  def value(self):
125  """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
126  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
132  incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
133  """
134  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
140  decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
141  """
142  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
143 
144 
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)
148 
149 
150  def equal(self, x):
151  """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
152  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
157  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
162  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
167  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
172  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
173 
174 
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)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
182  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
187  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
188 
189 
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)
193 
194 
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)
198 
199 
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)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
208  __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
215 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
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_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
243 
244 import sys
245 class _DirectorObjects(object):
246  """@internal Simple class to keep references to director objects
247  to prevent premature deletion."""
248  def __init__(self):
249  self._objects = []
250  def register(self, obj):
251  """Take a reference to a director object; will only work for
252  refcounted C++ classes"""
253  if hasattr(obj, 'get_ref_count'):
254  self._objects.append(obj)
255  def cleanup(self):
256  """Only drop our reference and allow cleanup by Python if no other
257  Python references exist (we hold 3 references: one in self._objects,
258  one in x, and one in the argument list for getrefcount) *and* no
259  other C++ references exist (the Python object always holds one)"""
260  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
261  or x.get_ref_count() > 1]
262 # Do in two steps so the references are kept until the end of the
263 # function (deleting references may trigger a fresh call to this method)
264  self._objects = objs
265  def get_object_count(self):
266  """Get number of director objects (useful for testing only)"""
267  return len(self._objects)
268 _director_objects = _DirectorObjects()
269 
270 class _ostream(object):
271  """Proxy of C++ std::ostream class."""
272 
273  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
274 
275  def __init__(self, *args, **kwargs):
276  raise AttributeError("No constructor defined")
277  __repr__ = _swig_repr
278 
279  def write(self, osa_buf):
280  """write(_ostream self, char const * osa_buf)"""
281  return _IMP_algebra._ostream_write(self, osa_buf)
282 
283 _ostream_swigregister = _IMP_algebra._ostream_swigregister
284 _ostream_swigregister(_ostream)
285 
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
290 import IMP
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
297 import IMP.cgal
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
307 
308 def get_vector(v):
309  try:
310  return v.get_coordinates()
311  except:
312  return v
313 def get_sphere(v):
314  try:
315  return v.get_sphere()
316  except:
317  return v
318 
319 
320 _object_types.append("VectorKDMetric")
321 
322 
323 def _object_cast_to_VectorKDMetric(o):
324  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
325  return _IMP_algebra._object_cast_to_VectorKDMetric(o)
326 
327 _object_types.append("EuclideanVectorKDMetric")
328 
329 
330 def _object_cast_to_EuclideanVectorKDMetric(o):
331  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
332  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
333 
334 _object_types.append("MaxVectorKDMetric")
335 
336 
337 def _object_cast_to_MaxVectorKDMetric(o):
338  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
339  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
340 
341 _object_types.append("DynamicNearestNeighbor3D")
342 
343 
344 def _object_cast_to_DynamicNearestNeighbor3D(o):
345  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
346  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
347 
348 Rotation2Ds=list
349 _plural_types.append("Rotation2Ds")
350 _value_types.append("Rotation2D")
351 
352 
353 Rotation3Ds=list
354 _plural_types.append("Rotation3Ds")
355 _value_types.append("Rotation3D")
356 
357 
358 Reflection3Ds=list
359 _plural_types.append("Reflection3Ds")
360 _value_types.append("Reflection3D")
361 
362 
363 Transformation2Ds=list
364 _plural_types.append("Transformation2Ds")
365 _value_types.append("Transformation2D")
366 
367 
368 Transformation3Ds=list
369 _plural_types.append("Transformation3Ds")
370 _value_types.append("Transformation3D")
371 
372 
373 SphericalVector3Ds=list
374 _plural_types.append("SphericalVector3Ds")
375 _value_types.append("SphericalVector3D")
376 
377 
378 Triangle3Ds=list
379 _plural_types.append("Triangle3Ds")
380 _value_types.append("Triangle3D")
381 
382 
383 Cone3Ds=list
384 _plural_types.append("Cone3Ds")
385 _value_types.append("Cone3D")
386 
387 
388 Cylinder3Ds=list
389 _plural_types.append("Cylinder3Ds")
390 _value_types.append("Cylinder3D")
391 
392 
393 Ellipsoid3Ds=list
394 _plural_types.append("Ellipsoid3Ds")
395 _value_types.append("Ellipsoid3D")
396 
397 
398 Line3Ds=list
399 _plural_types.append("Line3Ds")
400 _value_types.append("Line3D")
401 
402 
403 Plane3Ds=list
404 _plural_types.append("Plane3Ds")
405 _value_types.append("Plane3D")
406 
407 
408 Segment3Ds=list
409 _plural_types.append("Segment3Ds")
410 _value_types.append("Segment3D")
411 
412 
413 SpherePatch3Ds=list
414 _plural_types.append("SpherePatch3Ds")
415 _value_types.append("SpherePatch3D")
416 
417 
418 ConnollySurfacePoints=list
419 _plural_types.append("ConnollySurfacePoints")
420 _value_types.append("ConnollySurfacePoint")
421 
422 
423 Sphere1Ds=list
424 _plural_types.append("Sphere1Ds")
425 _value_types.append("Sphere1D")
426 
427 
428 Sphere2Ds=list
429 _plural_types.append("Sphere2Ds")
430 _value_types.append("Sphere2D")
431 
432 
433 Sphere3Ds=list
434 _plural_types.append("Sphere3Ds")
435 _value_types.append("Sphere3D")
436 
437 
438 Sphere4Ds=list
439 _plural_types.append("Sphere4Ds")
440 _value_types.append("Sphere4D")
441 
442 
443 Sphere5Ds=list
444 _plural_types.append("Sphere5Ds")
445 _value_types.append("Sphere5D")
446 
447 
448 Sphere6Ds=list
449 _plural_types.append("Sphere6Ds")
450 _value_types.append("Sphere6D")
451 
452 
453 Sphere1Ds=list
454 _plural_types.append("Sphere1Ds")
455 _value_types.append("SphereD<1>")
456 
457 
458 Sphere2Ds=list
459 _plural_types.append("Sphere2Ds")
460 _value_types.append("SphereD<2>")
461 
462 
463 Sphere3Ds=list
464 _plural_types.append("Sphere3Ds")
465 _value_types.append("SphereD<3>")
466 
467 
468 Sphere4Ds=list
469 _plural_types.append("Sphere4Ds")
470 _value_types.append("SphereD<4>")
471 
472 
473 Sphere5Ds=list
474 _plural_types.append("Sphere5Ds")
475 _value_types.append("SphereD<5>")
476 
477 
478 Sphere6Ds=list
479 _plural_types.append("Sphere6Ds")
480 _value_types.append("SphereD<6>")
481 
482 
483 SphereKDs=list
484 _plural_types.append("SphereKDs")
485 _value_types.append("SphereKD")
486 
487 
488 SphereKDs=list
489 _plural_types.append("SphereKDs")
490 _value_types.append("SphereD<-1>")
491 
492 
493 UnitSimplex1Ds=list
494 _plural_types.append("UnitSimplex1Ds")
495 _value_types.append("UnitSimplex1D")
496 
497 
498 UnitSimplex2Ds=list
499 _plural_types.append("UnitSimplex2Ds")
500 _value_types.append("UnitSimplex2D")
501 
502 
503 UnitSimplex3Ds=list
504 _plural_types.append("UnitSimplex3Ds")
505 _value_types.append("UnitSimplex3D")
506 
507 
508 UnitSimplex4Ds=list
509 _plural_types.append("UnitSimplex4Ds")
510 _value_types.append("UnitSimplex4D")
511 
512 
513 UnitSimplex5Ds=list
514 _plural_types.append("UnitSimplex5Ds")
515 _value_types.append("UnitSimplex5D")
516 
517 
518 UnitSimplex6Ds=list
519 _plural_types.append("UnitSimplex6Ds")
520 _value_types.append("UnitSimplex6D")
521 
522 
523 UnitSimplex1Ds=list
524 _plural_types.append("UnitSimplex1Ds")
525 _value_types.append("UnitSimplexD<1>")
526 
527 
528 UnitSimplex2Ds=list
529 _plural_types.append("UnitSimplex2Ds")
530 _value_types.append("UnitSimplexD<2>")
531 
532 
533 UnitSimplex3Ds=list
534 _plural_types.append("UnitSimplex3Ds")
535 _value_types.append("UnitSimplexD<3>")
536 
537 
538 UnitSimplex4Ds=list
539 _plural_types.append("UnitSimplex4Ds")
540 _value_types.append("UnitSimplexD<4>")
541 
542 
543 UnitSimplex5Ds=list
544 _plural_types.append("UnitSimplex5Ds")
545 _value_types.append("UnitSimplexD<5>")
546 
547 
548 UnitSimplex6Ds=list
549 _plural_types.append("UnitSimplex6Ds")
550 _value_types.append("UnitSimplexD<6>")
551 
552 
553 UnitSimplexKDs=list
554 _plural_types.append("UnitSimplexKDs")
555 _value_types.append("UnitSimplexKD")
556 
557 
558 UnitSimplexKDs=list
559 _plural_types.append("UnitSimplexKDs")
560 _value_types.append("UnitSimplexD<-1>")
561 
562 
563 BoundingBox1Ds=list
564 _plural_types.append("BoundingBox1Ds")
565 _value_types.append("BoundingBox1D")
566 
567 
568 BoundingBox2Ds=list
569 _plural_types.append("BoundingBox2Ds")
570 _value_types.append("BoundingBox2D")
571 
572 
573 BoundingBox3Ds=list
574 _plural_types.append("BoundingBox3Ds")
575 _value_types.append("BoundingBox3D")
576 
577 
578 BoundingBox4Ds=list
579 _plural_types.append("BoundingBox4Ds")
580 _value_types.append("BoundingBox4D")
581 
582 
583 BoundingBox5Ds=list
584 _plural_types.append("BoundingBox5Ds")
585 _value_types.append("BoundingBox5D")
586 
587 
588 BoundingBox6Ds=list
589 _plural_types.append("BoundingBox6Ds")
590 _value_types.append("BoundingBox6D")
591 
592 
593 BoundingBox1Ds=list
594 _plural_types.append("BoundingBox1Ds")
595 _value_types.append("BoundingBoxD<1>")
596 
597 
598 BoundingBox2Ds=list
599 _plural_types.append("BoundingBox2Ds")
600 _value_types.append("BoundingBoxD<2>")
601 
602 
603 BoundingBox3Ds=list
604 _plural_types.append("BoundingBox3Ds")
605 _value_types.append("BoundingBoxD<3>")
606 
607 
608 BoundingBox4Ds=list
609 _plural_types.append("BoundingBox4Ds")
610 _value_types.append("BoundingBoxD<4>")
611 
612 
613 BoundingBox5Ds=list
614 _plural_types.append("BoundingBox5Ds")
615 _value_types.append("BoundingBoxD<5>")
616 
617 
618 BoundingBox6Ds=list
619 _plural_types.append("BoundingBox6Ds")
620 _value_types.append("BoundingBoxD<6>")
621 
622 
623 BoundingBoxKDs=list
624 _plural_types.append("BoundingBoxKDs")
625 _value_types.append("BoundingBoxKD")
626 
627 
628 BoundingBoxKDs=list
629 _plural_types.append("BoundingBoxKDs")
630 _value_types.append("BoundingBoxD<-1>")
631 
632 
633 PrincipalComponentAnalysis1Ds=list
634 _plural_types.append("PrincipalComponentAnalysis1Ds")
635 _value_types.append("PrincipalComponentAnalysis1D")
636 
637 
638 PrincipalComponentAnalysis2Ds=list
639 _plural_types.append("PrincipalComponentAnalysis2Ds")
640 _value_types.append("PrincipalComponentAnalysis2D")
641 
642 
643 PrincipalComponentAnalysis3Ds=list
644 _plural_types.append("PrincipalComponentAnalysis3Ds")
645 _value_types.append("PrincipalComponentAnalysis3D")
646 
647 
648 PrincipalComponentAnalysis4Ds=list
649 _plural_types.append("PrincipalComponentAnalysis4Ds")
650 _value_types.append("PrincipalComponentAnalysis4D")
651 
652 
653 PrincipalComponentAnalysis5Ds=list
654 _plural_types.append("PrincipalComponentAnalysis5Ds")
655 _value_types.append("PrincipalComponentAnalysis5D")
656 
657 
658 PrincipalComponentAnalysis6Ds=list
659 _plural_types.append("PrincipalComponentAnalysis6Ds")
660 _value_types.append("PrincipalComponentAnalysis6D")
661 
662 
663 PrincipalComponentAnalysis1Ds=list
664 _plural_types.append("PrincipalComponentAnalysis1Ds")
665 _value_types.append("PrincipalComponentAnalysisD<1>")
666 
667 
668 PrincipalComponentAnalysis2Ds=list
669 _plural_types.append("PrincipalComponentAnalysis2Ds")
670 _value_types.append("PrincipalComponentAnalysisD<2>")
671 
672 
673 PrincipalComponentAnalysis3Ds=list
674 _plural_types.append("PrincipalComponentAnalysis3Ds")
675 _value_types.append("PrincipalComponentAnalysisD<3>")
676 
677 
678 PrincipalComponentAnalysis4Ds=list
679 _plural_types.append("PrincipalComponentAnalysis4Ds")
680 _value_types.append("PrincipalComponentAnalysisD<4>")
681 
682 
683 PrincipalComponentAnalysis5Ds=list
684 _plural_types.append("PrincipalComponentAnalysis5Ds")
685 _value_types.append("PrincipalComponentAnalysisD<5>")
686 
687 
688 PrincipalComponentAnalysis6Ds=list
689 _plural_types.append("PrincipalComponentAnalysis6Ds")
690 _value_types.append("PrincipalComponentAnalysisD<6>")
691 
692 
693 PrincipalComponentAnalysisKDs=list
694 _plural_types.append("PrincipalComponentAnalysisKDs")
695 _value_types.append("PrincipalComponentAnalysisKD")
696 
697 
698 PrincipalComponentAnalysisKDs=list
699 _plural_types.append("PrincipalComponentAnalysisKDs")
700 _value_types.append("PrincipalComponentAnalysisD<-1>")
701 
702 
703 _object_types.append("NearestNeighbor1D")
704 
705 
706 def _object_cast_to_NearestNeighbor1D(o):
707  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
708  return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
709 
710 _object_types.append("NearestNeighbor2D")
711 
712 
713 def _object_cast_to_NearestNeighbor2D(o):
714  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
715  return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
716 
717 _object_types.append("NearestNeighbor3D")
718 
719 
720 def _object_cast_to_NearestNeighbor3D(o):
721  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
722  return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
723 
724 _object_types.append("NearestNeighbor4D")
725 
726 
727 def _object_cast_to_NearestNeighbor4D(o):
728  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
729  return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
730 
731 _object_types.append("NearestNeighbor5D")
732 
733 
734 def _object_cast_to_NearestNeighbor5D(o):
735  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
736  return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
737 
738 _object_types.append("NearestNeighbor6D")
739 
740 
741 def _object_cast_to_NearestNeighbor6D(o):
742  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
743  return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
744 
745 _object_types.append("NearestNeighborKD")
746 
747 
748 def _object_cast_to_NearestNeighborKD(o):
749  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
750  return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
751 
752 ReferenceFrame3Ds=list
753 _plural_types.append("ReferenceFrame3Ds")
754 _value_types.append("ReferenceFrame3D")
755 
756 
757 Gaussian3Ds=list
758 _plural_types.append("Gaussian3Ds")
759 _value_types.append("Gaussian3D")
760 
761 
762 DefaultEmbedding1Ds=list
763 _plural_types.append("DefaultEmbedding1Ds")
764 _value_types.append("DefaultEmbedding1D")
765 
766 
767 DefaultEmbedding2Ds=list
768 _plural_types.append("DefaultEmbedding2Ds")
769 _value_types.append("DefaultEmbedding2D")
770 
771 
772 DefaultEmbedding3Ds=list
773 _plural_types.append("DefaultEmbedding3Ds")
774 _value_types.append("DefaultEmbedding3D")
775 
776 
777 DefaultEmbedding4Ds=list
778 _plural_types.append("DefaultEmbedding4Ds")
779 _value_types.append("DefaultEmbedding4D")
780 
781 
782 DefaultEmbedding5Ds=list
783 _plural_types.append("DefaultEmbedding5Ds")
784 _value_types.append("DefaultEmbedding5D")
785 
786 
787 DefaultEmbedding6Ds=list
788 _plural_types.append("DefaultEmbedding6Ds")
789 _value_types.append("DefaultEmbedding6D")
790 
791 
792 DefaultEmbedding1Ds=list
793 _plural_types.append("DefaultEmbedding1Ds")
794 _value_types.append("DefaultEmbeddingD<1>")
795 
796 
797 DefaultEmbedding2Ds=list
798 _plural_types.append("DefaultEmbedding2Ds")
799 _value_types.append("DefaultEmbeddingD<2>")
800 
801 
802 DefaultEmbedding3Ds=list
803 _plural_types.append("DefaultEmbedding3Ds")
804 _value_types.append("DefaultEmbeddingD<3>")
805 
806 
807 DefaultEmbedding4Ds=list
808 _plural_types.append("DefaultEmbedding4Ds")
809 _value_types.append("DefaultEmbeddingD<4>")
810 
811 
812 DefaultEmbedding5Ds=list
813 _plural_types.append("DefaultEmbedding5Ds")
814 _value_types.append("DefaultEmbeddingD<5>")
815 
816 
817 DefaultEmbedding6Ds=list
818 _plural_types.append("DefaultEmbedding6Ds")
819 _value_types.append("DefaultEmbeddingD<6>")
820 
821 
822 DefaultEmbeddingKDs=list
823 _plural_types.append("DefaultEmbeddingKDs")
824 _value_types.append("DefaultEmbeddingKD")
825 
826 
827 DefaultEmbeddingKDs=list
828 _plural_types.append("DefaultEmbeddingKDs")
829 _value_types.append("DefaultEmbeddingD<-1>")
830 
831 
832 LogEmbedding1Ds=list
833 _plural_types.append("LogEmbedding1Ds")
834 _value_types.append("LogEmbedding1D")
835 
836 
837 LogEmbedding2Ds=list
838 _plural_types.append("LogEmbedding2Ds")
839 _value_types.append("LogEmbedding2D")
840 
841 
842 LogEmbedding3Ds=list
843 _plural_types.append("LogEmbedding3Ds")
844 _value_types.append("LogEmbedding3D")
845 
846 
847 LogEmbedding4Ds=list
848 _plural_types.append("LogEmbedding4Ds")
849 _value_types.append("LogEmbedding4D")
850 
851 
852 LogEmbedding5Ds=list
853 _plural_types.append("LogEmbedding5Ds")
854 _value_types.append("LogEmbedding5D")
855 
856 
857 LogEmbedding6Ds=list
858 _plural_types.append("LogEmbedding6Ds")
859 _value_types.append("LogEmbedding6D")
860 
861 
862 LogEmbedding1Ds=list
863 _plural_types.append("LogEmbedding1Ds")
864 _value_types.append("LogEmbeddingD<1>")
865 
866 
867 LogEmbedding2Ds=list
868 _plural_types.append("LogEmbedding2Ds")
869 _value_types.append("LogEmbeddingD<2>")
870 
871 
872 LogEmbedding3Ds=list
873 _plural_types.append("LogEmbedding3Ds")
874 _value_types.append("LogEmbeddingD<3>")
875 
876 
877 LogEmbedding4Ds=list
878 _plural_types.append("LogEmbedding4Ds")
879 _value_types.append("LogEmbeddingD<4>")
880 
881 
882 LogEmbedding5Ds=list
883 _plural_types.append("LogEmbedding5Ds")
884 _value_types.append("LogEmbeddingD<5>")
885 
886 
887 LogEmbedding6Ds=list
888 _plural_types.append("LogEmbedding6Ds")
889 _value_types.append("LogEmbeddingD<6>")
890 
891 
892 LogEmbeddingKDs=list
893 _plural_types.append("LogEmbeddingKDs")
894 _value_types.append("LogEmbeddingKD")
895 
896 
897 LogEmbeddingKDs=list
898 _plural_types.append("LogEmbeddingKDs")
899 _value_types.append("LogEmbeddingD<-1>")
900 
901 
902 GridIndex1Ds=list
903 _plural_types.append("GridIndex1Ds")
904 _value_types.append("GridIndex1D")
905 
906 
907 GridIndex2Ds=list
908 _plural_types.append("GridIndex2Ds")
909 _value_types.append("GridIndex2D")
910 
911 
912 GridIndex3Ds=list
913 _plural_types.append("GridIndex3Ds")
914 _value_types.append("GridIndex3D")
915 
916 
917 GridIndex4Ds=list
918 _plural_types.append("GridIndex4Ds")
919 _value_types.append("GridIndex4D")
920 
921 
922 GridIndex5Ds=list
923 _plural_types.append("GridIndex5Ds")
924 _value_types.append("GridIndex5D")
925 
926 
927 GridIndex6Ds=list
928 _plural_types.append("GridIndex6Ds")
929 _value_types.append("GridIndex6D")
930 
931 
932 GridIndex1Ds=list
933 _plural_types.append("GridIndex1Ds")
934 _value_types.append("GridIndexD<1>")
935 
936 
937 GridIndex2Ds=list
938 _plural_types.append("GridIndex2Ds")
939 _value_types.append("GridIndexD<2>")
940 
941 
942 GridIndex3Ds=list
943 _plural_types.append("GridIndex3Ds")
944 _value_types.append("GridIndexD<3>")
945 
946 
947 GridIndex4Ds=list
948 _plural_types.append("GridIndex4Ds")
949 _value_types.append("GridIndexD<4>")
950 
951 
952 GridIndex5Ds=list
953 _plural_types.append("GridIndex5Ds")
954 _value_types.append("GridIndexD<5>")
955 
956 
957 GridIndex6Ds=list
958 _plural_types.append("GridIndex6Ds")
959 _value_types.append("GridIndexD<6>")
960 
961 
962 GridIndexKDs=list
963 _plural_types.append("GridIndexKDs")
964 _value_types.append("GridIndexKD")
965 
966 
967 GridIndexKDs=list
968 _plural_types.append("GridIndexKDs")
969 _value_types.append("GridIndexD<-1>")
970 
971 
972 ExtendedGridIndex1Ds=list
973 _plural_types.append("ExtendedGridIndex1Ds")
974 _value_types.append("ExtendedGridIndex1D")
975 
976 
977 ExtendedGridIndex2Ds=list
978 _plural_types.append("ExtendedGridIndex2Ds")
979 _value_types.append("ExtendedGridIndex2D")
980 
981 
982 ExtendedGridIndex3Ds=list
983 _plural_types.append("ExtendedGridIndex3Ds")
984 _value_types.append("ExtendedGridIndex3D")
985 
986 
987 ExtendedGridIndex4Ds=list
988 _plural_types.append("ExtendedGridIndex4Ds")
989 _value_types.append("ExtendedGridIndex4D")
990 
991 
992 ExtendedGridIndex5Ds=list
993 _plural_types.append("ExtendedGridIndex5Ds")
994 _value_types.append("ExtendedGridIndex5D")
995 
996 
997 ExtendedGridIndex6Ds=list
998 _plural_types.append("ExtendedGridIndex6Ds")
999 _value_types.append("ExtendedGridIndex6D")
1000 
1001 
1002 ExtendedGridIndex1Ds=list
1003 _plural_types.append("ExtendedGridIndex1Ds")
1004 _value_types.append("ExtendedGridIndexD<1>")
1005 
1006 
1007 ExtendedGridIndex2Ds=list
1008 _plural_types.append("ExtendedGridIndex2Ds")
1009 _value_types.append("ExtendedGridIndexD<2>")
1010 
1011 
1012 ExtendedGridIndex3Ds=list
1013 _plural_types.append("ExtendedGridIndex3Ds")
1014 _value_types.append("ExtendedGridIndexD<3>")
1015 
1016 
1017 ExtendedGridIndex4Ds=list
1018 _plural_types.append("ExtendedGridIndex4Ds")
1019 _value_types.append("ExtendedGridIndexD<4>")
1020 
1021 
1022 ExtendedGridIndex5Ds=list
1023 _plural_types.append("ExtendedGridIndex5Ds")
1024 _value_types.append("ExtendedGridIndexD<5>")
1025 
1026 
1027 ExtendedGridIndex6Ds=list
1028 _plural_types.append("ExtendedGridIndex6Ds")
1029 _value_types.append("ExtendedGridIndexD<6>")
1030 
1031 
1032 ExtendedGridIndexKDs=list
1033 _plural_types.append("ExtendedGridIndexKDs")
1034 _value_types.append("ExtendedGridIndexKD")
1035 
1036 
1037 ExtendedGridIndexKDs=list
1038 _plural_types.append("ExtendedGridIndexKDs")
1039 _value_types.append("ExtendedGridIndexD<-1>")
1040 
1041 
1042 BoundedGridRange1Ds=list
1043 _plural_types.append("BoundedGridRange1Ds")
1044 _value_types.append("BoundedGridRange1D")
1045 
1046 
1047 BoundedGridRange2Ds=list
1048 _plural_types.append("BoundedGridRange2Ds")
1049 _value_types.append("BoundedGridRange2D")
1050 
1051 
1052 BoundedGridRange3Ds=list
1053 _plural_types.append("BoundedGridRange3Ds")
1054 _value_types.append("BoundedGridRange3D")
1055 
1056 
1057 BoundedGridRange4Ds=list
1058 _plural_types.append("BoundedGridRange4Ds")
1059 _value_types.append("BoundedGridRange4D")
1060 
1061 
1062 BoundedGridRange5Ds=list
1063 _plural_types.append("BoundedGridRange5Ds")
1064 _value_types.append("BoundedGridRange5D")
1065 
1066 
1067 BoundedGridRange6Ds=list
1068 _plural_types.append("BoundedGridRange6Ds")
1069 _value_types.append("BoundedGridRange6D")
1070 
1071 
1072 BoundedGridRange1Ds=list
1073 _plural_types.append("BoundedGridRange1Ds")
1074 _value_types.append("BoundedGridRangeD<1>")
1075 
1076 
1077 BoundedGridRange2Ds=list
1078 _plural_types.append("BoundedGridRange2Ds")
1079 _value_types.append("BoundedGridRangeD<2>")
1080 
1081 
1082 BoundedGridRange3Ds=list
1083 _plural_types.append("BoundedGridRange3Ds")
1084 _value_types.append("BoundedGridRangeD<3>")
1085 
1086 
1087 BoundedGridRange4Ds=list
1088 _plural_types.append("BoundedGridRange4Ds")
1089 _value_types.append("BoundedGridRangeD<4>")
1090 
1091 
1092 BoundedGridRange5Ds=list
1093 _plural_types.append("BoundedGridRange5Ds")
1094 _value_types.append("BoundedGridRangeD<5>")
1095 
1096 
1097 BoundedGridRange6Ds=list
1098 _plural_types.append("BoundedGridRange6Ds")
1099 _value_types.append("BoundedGridRangeD<6>")
1100 
1101 
1102 BoundedGridRangeKDs=list
1103 _plural_types.append("BoundedGridRangeKDs")
1104 _value_types.append("BoundedGridRangeKD")
1105 
1106 
1107 BoundedGridRangeKDs=list
1108 _plural_types.append("BoundedGridRangeKDs")
1109 _value_types.append("BoundedGridRangeD<-1>")
1110 
1111 
1112 UnboundedGridRange1Ds=list
1113 _plural_types.append("UnboundedGridRange1Ds")
1114 _value_types.append("UnboundedGridRange1D")
1115 
1116 
1117 UnboundedGridRange2Ds=list
1118 _plural_types.append("UnboundedGridRange2Ds")
1119 _value_types.append("UnboundedGridRange2D")
1120 
1121 
1122 UnboundedGridRange3Ds=list
1123 _plural_types.append("UnboundedGridRange3Ds")
1124 _value_types.append("UnboundedGridRange3D")
1125 
1126 
1127 UnboundedGridRange4Ds=list
1128 _plural_types.append("UnboundedGridRange4Ds")
1129 _value_types.append("UnboundedGridRange4D")
1130 
1131 
1132 UnboundedGridRange5Ds=list
1133 _plural_types.append("UnboundedGridRange5Ds")
1134 _value_types.append("UnboundedGridRange5D")
1135 
1136 
1137 UnboundedGridRange6Ds=list
1138 _plural_types.append("UnboundedGridRange6Ds")
1139 _value_types.append("UnboundedGridRange6D")
1140 
1141 
1142 UnboundedGridRange1Ds=list
1143 _plural_types.append("UnboundedGridRange1Ds")
1144 _value_types.append("UnboundedGridRangeD<1>")
1145 
1146 
1147 UnboundedGridRange2Ds=list
1148 _plural_types.append("UnboundedGridRange2Ds")
1149 _value_types.append("UnboundedGridRangeD<2>")
1150 
1151 
1152 UnboundedGridRange3Ds=list
1153 _plural_types.append("UnboundedGridRange3Ds")
1154 _value_types.append("UnboundedGridRangeD<3>")
1155 
1156 
1157 UnboundedGridRange4Ds=list
1158 _plural_types.append("UnboundedGridRange4Ds")
1159 _value_types.append("UnboundedGridRangeD<4>")
1160 
1161 
1162 UnboundedGridRange5Ds=list
1163 _plural_types.append("UnboundedGridRange5Ds")
1164 _value_types.append("UnboundedGridRangeD<5>")
1165 
1166 
1167 UnboundedGridRange6Ds=list
1168 _plural_types.append("UnboundedGridRange6Ds")
1169 _value_types.append("UnboundedGridRangeD<6>")
1170 
1171 
1172 UnboundedGridRangeKDs=list
1173 _plural_types.append("UnboundedGridRangeKDs")
1174 _value_types.append("UnboundedGridRangeKD")
1175 
1176 
1177 UnboundedGridRangeKDs=list
1178 _plural_types.append("UnboundedGridRangeKDs")
1179 _value_types.append("UnboundedGridRangeD<-1>")
1180 
1181 
1182 LinearFit2Ds=list
1183 _plural_types.append("LinearFit2Ds")
1184 _value_types.append("LinearFit2D")
1185 
1186 
1187 ParabolicFit2Ds=list
1188 _plural_types.append("ParabolicFit2Ds")
1189 _value_types.append("ParabolicFit2D")
1190 
1191 
1192 FixedXYZs=list
1193 _plural_types.append("FixedXYZs")
1194 _value_types.append("FixedXYZ")
1195 
1196 class _GeometricPrimitive1D(object):
1197  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1198 
1199  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1200 
1201  def __init__(self, *args, **kwargs):
1202  raise AttributeError("No constructor defined")
1203  __repr__ = _swig_repr
1204  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1205  __del__ = lambda self: None
1206 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1207 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1208 
1209 class _GeometricPrimitive2D(object):
1210  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1211 
1212  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1213 
1214  def __init__(self, *args, **kwargs):
1215  raise AttributeError("No constructor defined")
1216  __repr__ = _swig_repr
1217  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1218  __del__ = lambda self: None
1219 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1220 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1221 
1222 class _GeometricPrimitive3D(object):
1223  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1224 
1225  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1226 
1227  def __init__(self, *args, **kwargs):
1228  raise AttributeError("No constructor defined")
1229  __repr__ = _swig_repr
1230  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1231  __del__ = lambda self: None
1232 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1233 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1234 
1235 class _GeometricPrimitive4D(object):
1236  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1237 
1238  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1239 
1240  def __init__(self, *args, **kwargs):
1241  raise AttributeError("No constructor defined")
1242  __repr__ = _swig_repr
1243  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1244  __del__ = lambda self: None
1245 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1246 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1247 
1248 class _GeometricPrimitive5D(object):
1249  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1250 
1251  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1252 
1253  def __init__(self, *args, **kwargs):
1254  raise AttributeError("No constructor defined")
1255  __repr__ = _swig_repr
1256  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1257  __del__ = lambda self: None
1258 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1259 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1260 
1261 class _GeometricPrimitive6D(object):
1262  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1263 
1264  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1265 
1266  def __init__(self, *args, **kwargs):
1267  raise AttributeError("No constructor defined")
1268  __repr__ = _swig_repr
1269  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1270  __del__ = lambda self: None
1271 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1272 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1273 
1274 class _GeometricPrimitiveKD(object):
1275  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1276 
1277  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1278 
1279  def __init__(self, *args, **kwargs):
1280  raise AttributeError("No constructor defined")
1281  __repr__ = _swig_repr
1282  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1283  __del__ = lambda self: None
1284 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1285 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1286 
1287 
1288 Vector1Ds=list
1289 _plural_types.append("Vector1Ds")
1290 _value_types.append("Vector1D")
1291 
1292 
1293 Vector2Ds=list
1294 _plural_types.append("Vector2Ds")
1295 _value_types.append("Vector2D")
1296 
1297 
1298 Vector3Ds=list
1299 _plural_types.append("Vector3Ds")
1300 _value_types.append("Vector3D")
1301 
1302 
1303 Vector4Ds=list
1304 _plural_types.append("Vector4Ds")
1305 _value_types.append("Vector4D")
1306 
1307 
1308 Vector5Ds=list
1309 _plural_types.append("Vector5Ds")
1310 _value_types.append("Vector5D")
1311 
1312 
1313 Vector6Ds=list
1314 _plural_types.append("Vector6Ds")
1315 _value_types.append("Vector6D")
1316 
1317 
1318 Vector1Ds=list
1319 _plural_types.append("Vector1Ds")
1320 _value_types.append("VectorD<1>")
1321 
1322 
1323 Vector2Ds=list
1324 _plural_types.append("Vector2Ds")
1325 _value_types.append("VectorD<2>")
1326 
1327 
1328 Vector3Ds=list
1329 _plural_types.append("Vector3Ds")
1330 _value_types.append("VectorD<3>")
1331 
1332 
1333 Vector4Ds=list
1334 _plural_types.append("Vector4Ds")
1335 _value_types.append("VectorD<4>")
1336 
1337 
1338 Vector5Ds=list
1339 _plural_types.append("Vector5Ds")
1340 _value_types.append("VectorD<5>")
1341 
1342 
1343 Vector6Ds=list
1344 _plural_types.append("Vector6Ds")
1345 _value_types.append("VectorD<6>")
1346 
1347 
1348 VectorKDs=list
1349 _plural_types.append("VectorKDs")
1350 _value_types.append("VectorKD")
1351 
1352 
1353 VectorKDs=list
1354 _plural_types.append("VectorKDs")
1355 _value_types.append("VectorD<-1>")
1356 
1357 class _VectorBaseKD(_GeometricPrimitiveKD):
1358  """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1359 
1360  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1361  __repr__ = _swig_repr
1362 
1363  def __init__(self):
1364  """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1365  this = _IMP_algebra.new__VectorBaseKD()
1366  try:
1367  self.this.append(this)
1368  except __builtin__.Exception:
1369  self.this = this
1370 
1371  def get_scalar_product(self, o):
1372  """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1373  return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1374 
1375 
1376  def get_squared_magnitude(self):
1377  """get_squared_magnitude(_VectorBaseKD self) -> double"""
1378  return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1379 
1380 
1381  def get_magnitude(self):
1382  """get_magnitude(_VectorBaseKD self) -> double"""
1383  return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1384 
1385 
1386  def __mul__(self, o):
1387  """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1388  return _IMP_algebra._VectorBaseKD___mul__(self, o)
1389 
1390 
1391  def __iadd__(self, o):
1392  """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1393  return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1394 
1395 
1396  def __isub__(self, o):
1397  """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1398  return _IMP_algebra._VectorBaseKD___isub__(self, o)
1399 
1400 
1401  def __idiv__(self, f):
1402  """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1403  return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1404 
1405 
1406  def __imul__(self, f):
1407  """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1408  return _IMP_algebra._VectorBaseKD___imul__(self, f)
1409 
1410 
1411  def show(self, *args):
1412  """
1413  show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1414  show(_VectorBaseKD self, _ostream out, std::string delim)
1415  show(_VectorBaseKD self, _ostream out)
1416  show(_VectorBaseKD self)
1417  """
1418  return _IMP_algebra._VectorBaseKD_show(self, *args)
1419 
1420 
1421  def get_dimension(self):
1422  """get_dimension(_VectorBaseKD self) -> unsigned int"""
1423  return _IMP_algebra._VectorBaseKD_get_dimension(self)
1424 
1425  __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1426  __del__ = lambda self: None
1427 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1428 _VectorBaseKD_swigregister(_VectorBaseKD)
1429 
1430 class _VectorBase1D(_GeometricPrimitive1D):
1431  """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1432 
1433  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1434  __repr__ = _swig_repr
1435 
1436  def __init__(self):
1437  """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1438  this = _IMP_algebra.new__VectorBase1D()
1439  try:
1440  self.this.append(this)
1441  except __builtin__.Exception:
1442  self.this = this
1443 
1444  def get_scalar_product(self, o):
1445  """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1446  return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1447 
1448 
1449  def get_squared_magnitude(self):
1450  """get_squared_magnitude(_VectorBase1D self) -> double"""
1451  return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1452 
1453 
1454  def get_magnitude(self):
1455  """get_magnitude(_VectorBase1D self) -> double"""
1456  return _IMP_algebra._VectorBase1D_get_magnitude(self)
1457 
1458 
1459  def __mul__(self, o):
1460  """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1461  return _IMP_algebra._VectorBase1D___mul__(self, o)
1462 
1463 
1464  def __iadd__(self, o):
1465  """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1466  return _IMP_algebra._VectorBase1D___iadd__(self, o)
1467 
1468 
1469  def __isub__(self, o):
1470  """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1471  return _IMP_algebra._VectorBase1D___isub__(self, o)
1472 
1473 
1474  def __idiv__(self, f):
1475  """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1476  return _IMP_algebra._VectorBase1D___idiv__(self, f)
1477 
1478 
1479  def __imul__(self, f):
1480  """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1481  return _IMP_algebra._VectorBase1D___imul__(self, f)
1482 
1483 
1484  def show(self, *args):
1485  """
1486  show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1487  show(_VectorBase1D self, _ostream out, std::string delim)
1488  show(_VectorBase1D self, _ostream out)
1489  show(_VectorBase1D self)
1490  """
1491  return _IMP_algebra._VectorBase1D_show(self, *args)
1492 
1493 
1494  def get_dimension(self):
1495  """get_dimension(_VectorBase1D self) -> unsigned int"""
1496  return _IMP_algebra._VectorBase1D_get_dimension(self)
1497 
1498  __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1499  __del__ = lambda self: None
1500 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1501 _VectorBase1D_swigregister(_VectorBase1D)
1502 
1503 class _VectorBase2D(_GeometricPrimitive2D):
1504  """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1505 
1506  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1507  __repr__ = _swig_repr
1508 
1509  def __init__(self):
1510  """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1511  this = _IMP_algebra.new__VectorBase2D()
1512  try:
1513  self.this.append(this)
1514  except __builtin__.Exception:
1515  self.this = this
1516 
1517  def get_scalar_product(self, o):
1518  """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1519  return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1520 
1521 
1522  def get_squared_magnitude(self):
1523  """get_squared_magnitude(_VectorBase2D self) -> double"""
1524  return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1525 
1526 
1527  def get_magnitude(self):
1528  """get_magnitude(_VectorBase2D self) -> double"""
1529  return _IMP_algebra._VectorBase2D_get_magnitude(self)
1530 
1531 
1532  def __mul__(self, o):
1533  """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1534  return _IMP_algebra._VectorBase2D___mul__(self, o)
1535 
1536 
1537  def __iadd__(self, o):
1538  """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1539  return _IMP_algebra._VectorBase2D___iadd__(self, o)
1540 
1541 
1542  def __isub__(self, o):
1543  """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1544  return _IMP_algebra._VectorBase2D___isub__(self, o)
1545 
1546 
1547  def __idiv__(self, f):
1548  """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1549  return _IMP_algebra._VectorBase2D___idiv__(self, f)
1550 
1551 
1552  def __imul__(self, f):
1553  """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1554  return _IMP_algebra._VectorBase2D___imul__(self, f)
1555 
1556 
1557  def show(self, *args):
1558  """
1559  show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1560  show(_VectorBase2D self, _ostream out, std::string delim)
1561  show(_VectorBase2D self, _ostream out)
1562  show(_VectorBase2D self)
1563  """
1564  return _IMP_algebra._VectorBase2D_show(self, *args)
1565 
1566 
1567  def get_dimension(self):
1568  """get_dimension(_VectorBase2D self) -> unsigned int"""
1569  return _IMP_algebra._VectorBase2D_get_dimension(self)
1570 
1571  __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1572  __del__ = lambda self: None
1573 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1574 _VectorBase2D_swigregister(_VectorBase2D)
1575 
1576 class _VectorBase3D(_GeometricPrimitive3D):
1577  """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1578 
1579  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1580  __repr__ = _swig_repr
1581 
1582  def __init__(self):
1583  """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1584  this = _IMP_algebra.new__VectorBase3D()
1585  try:
1586  self.this.append(this)
1587  except __builtin__.Exception:
1588  self.this = this
1589 
1590  def get_scalar_product(self, o):
1591  """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1592  return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1593 
1594 
1595  def get_squared_magnitude(self):
1596  """get_squared_magnitude(_VectorBase3D self) -> double"""
1597  return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1598 
1599 
1600  def get_magnitude(self):
1601  """get_magnitude(_VectorBase3D self) -> double"""
1602  return _IMP_algebra._VectorBase3D_get_magnitude(self)
1603 
1604 
1605  def __mul__(self, o):
1606  """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1607  return _IMP_algebra._VectorBase3D___mul__(self, o)
1608 
1609 
1610  def __iadd__(self, o):
1611  """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1612  return _IMP_algebra._VectorBase3D___iadd__(self, o)
1613 
1614 
1615  def __isub__(self, o):
1616  """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1617  return _IMP_algebra._VectorBase3D___isub__(self, o)
1618 
1619 
1620  def __idiv__(self, f):
1621  """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1622  return _IMP_algebra._VectorBase3D___idiv__(self, f)
1623 
1624 
1625  def __imul__(self, f):
1626  """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1627  return _IMP_algebra._VectorBase3D___imul__(self, f)
1628 
1629 
1630  def show(self, *args):
1631  """
1632  show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1633  show(_VectorBase3D self, _ostream out, std::string delim)
1634  show(_VectorBase3D self, _ostream out)
1635  show(_VectorBase3D self)
1636  """
1637  return _IMP_algebra._VectorBase3D_show(self, *args)
1638 
1639 
1640  def get_dimension(self):
1641  """get_dimension(_VectorBase3D self) -> unsigned int"""
1642  return _IMP_algebra._VectorBase3D_get_dimension(self)
1643 
1644  __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1645  __del__ = lambda self: None
1646 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1647 _VectorBase3D_swigregister(_VectorBase3D)
1648 
1649 class _VectorBase4D(_GeometricPrimitive4D):
1650  """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1651 
1652  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1653  __repr__ = _swig_repr
1654 
1655  def __init__(self):
1656  """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1657  this = _IMP_algebra.new__VectorBase4D()
1658  try:
1659  self.this.append(this)
1660  except __builtin__.Exception:
1661  self.this = this
1662 
1663  def get_scalar_product(self, o):
1664  """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1665  return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1666 
1667 
1668  def get_squared_magnitude(self):
1669  """get_squared_magnitude(_VectorBase4D self) -> double"""
1670  return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1671 
1672 
1673  def get_magnitude(self):
1674  """get_magnitude(_VectorBase4D self) -> double"""
1675  return _IMP_algebra._VectorBase4D_get_magnitude(self)
1676 
1677 
1678  def __mul__(self, o):
1679  """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1680  return _IMP_algebra._VectorBase4D___mul__(self, o)
1681 
1682 
1683  def __iadd__(self, o):
1684  """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1685  return _IMP_algebra._VectorBase4D___iadd__(self, o)
1686 
1687 
1688  def __isub__(self, o):
1689  """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1690  return _IMP_algebra._VectorBase4D___isub__(self, o)
1691 
1692 
1693  def __idiv__(self, f):
1694  """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1695  return _IMP_algebra._VectorBase4D___idiv__(self, f)
1696 
1697 
1698  def __imul__(self, f):
1699  """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1700  return _IMP_algebra._VectorBase4D___imul__(self, f)
1701 
1702 
1703  def show(self, *args):
1704  """
1705  show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1706  show(_VectorBase4D self, _ostream out, std::string delim)
1707  show(_VectorBase4D self, _ostream out)
1708  show(_VectorBase4D self)
1709  """
1710  return _IMP_algebra._VectorBase4D_show(self, *args)
1711 
1712 
1713  def get_dimension(self):
1714  """get_dimension(_VectorBase4D self) -> unsigned int"""
1715  return _IMP_algebra._VectorBase4D_get_dimension(self)
1716 
1717  __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1718  __del__ = lambda self: None
1719 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1720 _VectorBase4D_swigregister(_VectorBase4D)
1721 
1722 class _VectorBase5D(_GeometricPrimitive5D):
1723  """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1724 
1725  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1726  __repr__ = _swig_repr
1727 
1728  def __init__(self):
1729  """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1730  this = _IMP_algebra.new__VectorBase5D()
1731  try:
1732  self.this.append(this)
1733  except __builtin__.Exception:
1734  self.this = this
1735 
1736  def get_scalar_product(self, o):
1737  """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1738  return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1739 
1740 
1741  def get_squared_magnitude(self):
1742  """get_squared_magnitude(_VectorBase5D self) -> double"""
1743  return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1744 
1745 
1746  def get_magnitude(self):
1747  """get_magnitude(_VectorBase5D self) -> double"""
1748  return _IMP_algebra._VectorBase5D_get_magnitude(self)
1749 
1750 
1751  def __mul__(self, o):
1752  """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1753  return _IMP_algebra._VectorBase5D___mul__(self, o)
1754 
1755 
1756  def __iadd__(self, o):
1757  """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1758  return _IMP_algebra._VectorBase5D___iadd__(self, o)
1759 
1760 
1761  def __isub__(self, o):
1762  """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1763  return _IMP_algebra._VectorBase5D___isub__(self, o)
1764 
1765 
1766  def __idiv__(self, f):
1767  """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1768  return _IMP_algebra._VectorBase5D___idiv__(self, f)
1769 
1770 
1771  def __imul__(self, f):
1772  """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1773  return _IMP_algebra._VectorBase5D___imul__(self, f)
1774 
1775 
1776  def show(self, *args):
1777  """
1778  show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1779  show(_VectorBase5D self, _ostream out, std::string delim)
1780  show(_VectorBase5D self, _ostream out)
1781  show(_VectorBase5D self)
1782  """
1783  return _IMP_algebra._VectorBase5D_show(self, *args)
1784 
1785 
1786  def get_dimension(self):
1787  """get_dimension(_VectorBase5D self) -> unsigned int"""
1788  return _IMP_algebra._VectorBase5D_get_dimension(self)
1789 
1790  __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1791  __del__ = lambda self: None
1792 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1793 _VectorBase5D_swigregister(_VectorBase5D)
1794 
1795 class _VectorBase6D(_GeometricPrimitive6D):
1796  """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1797 
1798  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1799  __repr__ = _swig_repr
1800 
1801  def __init__(self):
1802  """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1803  this = _IMP_algebra.new__VectorBase6D()
1804  try:
1805  self.this.append(this)
1806  except __builtin__.Exception:
1807  self.this = this
1808 
1809  def get_scalar_product(self, o):
1810  """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1811  return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1812 
1813 
1814  def get_squared_magnitude(self):
1815  """get_squared_magnitude(_VectorBase6D self) -> double"""
1816  return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1817 
1818 
1819  def get_magnitude(self):
1820  """get_magnitude(_VectorBase6D self) -> double"""
1821  return _IMP_algebra._VectorBase6D_get_magnitude(self)
1822 
1823 
1824  def __mul__(self, o):
1825  """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1826  return _IMP_algebra._VectorBase6D___mul__(self, o)
1827 
1828 
1829  def __iadd__(self, o):
1830  """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1831  return _IMP_algebra._VectorBase6D___iadd__(self, o)
1832 
1833 
1834  def __isub__(self, o):
1835  """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1836  return _IMP_algebra._VectorBase6D___isub__(self, o)
1837 
1838 
1839  def __idiv__(self, f):
1840  """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1841  return _IMP_algebra._VectorBase6D___idiv__(self, f)
1842 
1843 
1844  def __imul__(self, f):
1845  """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1846  return _IMP_algebra._VectorBase6D___imul__(self, f)
1847 
1848 
1849  def show(self, *args):
1850  """
1851  show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1852  show(_VectorBase6D self, _ostream out, std::string delim)
1853  show(_VectorBase6D self, _ostream out)
1854  show(_VectorBase6D self)
1855  """
1856  return _IMP_algebra._VectorBase6D_show(self, *args)
1857 
1858 
1859  def get_dimension(self):
1860  """get_dimension(_VectorBase6D self) -> unsigned int"""
1861  return _IMP_algebra._VectorBase6D_get_dimension(self)
1862 
1863  __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1864  __del__ = lambda self: None
1865 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1866 _VectorBase6D_swigregister(_VectorBase6D)
1867 
1868 
1869 def get_basis_vector_kd(D, coordinate):
1870  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1871  return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1872 
1873 def get_zero_vector_kd(D):
1874  """get_zero_vector_kd(int D) -> VectorKD"""
1875  return _IMP_algebra.get_zero_vector_kd(D)
1876 
1877 def get_ones_vector_kd(D, v=1):
1878  """
1879  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1880  get_ones_vector_kd(unsigned int D) -> VectorKD
1881  """
1882  return _IMP_algebra.get_ones_vector_kd(D, v)
1883 
1884 def get_vector_product(p1, p2):
1885  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1886  return _IMP_algebra.get_vector_product(p1, p2)
1887 
1888 def get_orthogonal_vector(v):
1889  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1890  return _IMP_algebra.get_orthogonal_vector(v)
1891 
1892 def get_centroid(ps):
1893  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1894  return _IMP_algebra.get_centroid(ps)
1895 
1896 def get_radius_of_gyration(ps):
1897  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1898  return _IMP_algebra.get_radius_of_gyration(ps)
1899 class Rotation3D(_GeometricPrimitive3D):
1900  """Proxy of C++ IMP::algebra::Rotation3D class."""
1901 
1902  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1903 
1904  def __init__(self, *args):
1905  """
1906  __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1907  __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1908  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1909  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1910  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1911  """
1912  this = _IMP_algebra.new_Rotation3D(*args)
1913  try:
1914  self.this.append(this)
1915  except __builtin__.Exception:
1916  self.this = this
1917  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1918  __del__ = lambda self: None
1919 
1920  def get_rotated_no_cache(self, o):
1921  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1922  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1923 
1924 
1925  def get_rotated_one_coordinate_no_cache(self, o, coord):
1926  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1927  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1928 
1929 
1930  def get_rotated(self, o):
1931  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1932  return _IMP_algebra.Rotation3D_get_rotated(self, o)
1933 
1934 
1935  def get_rotated_adjoint(self, v, Dw):
1936  """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
1937  return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
1938 
1939 
1940  def get_rotated_one_coordinate(self, o, coord):
1941  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1942  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1943 
1944 
1945  def get_rotation_matrix_row(self, i):
1946  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1947  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1948 
1949 
1950  def show(self, *args):
1951  """
1952  show(Rotation3D self, _ostream out)
1953  show(Rotation3D self)
1954  """
1955  return _IMP_algebra.Rotation3D_show(self, *args)
1956 
1957 
1958  def get_inverse(self):
1959  """get_inverse(Rotation3D self) -> Rotation3D"""
1960  return _IMP_algebra.Rotation3D_get_inverse(self)
1961 
1962 
1963  def get_quaternion(self):
1964  """get_quaternion(Rotation3D self) -> Vector4D"""
1965  return _IMP_algebra.Rotation3D_get_quaternion(self)
1966 
1967 
1968  def __mul__(self, *args):
1969  """
1970  __mul__(Rotation3D self, Vector3D v) -> Vector3D
1971  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1972  """
1973  return _IMP_algebra.Rotation3D___mul__(self, *args)
1974 
1975 
1976  def __div__(self, r):
1977  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1978  return _IMP_algebra.Rotation3D___div__(self, r)
1979 
1980 
1981  def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
1982  """
1983  get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
1984  get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1985  """
1986  return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
1987 
1988 
1989  def get_derivative(self, v, i, wrt_unnorm=True):
1990  """
1991  get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
1992  get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1993  """
1994  return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
1995 
1996 
1997  def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
1998  """
1999  get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2000  get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2001  """
2002  return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2003 
2004 
2005  def get_gradient(self, v, wrt_unnorm=True):
2006  """
2007  get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2008  get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2009  """
2010  return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2011 
2012 
2013  def get_is_valid(self):
2014  """get_is_valid(Rotation3D self) -> bool"""
2015  return _IMP_algebra.Rotation3D_get_is_valid(self)
2016 
2017 
2018  def __str__(self):
2019  """__str__(Rotation3D self) -> std::string"""
2020  return _IMP_algebra.Rotation3D___str__(self)
2021 
2022 
2023  def __repr__(self):
2024  """__repr__(Rotation3D self) -> std::string"""
2025  return _IMP_algebra.Rotation3D___repr__(self)
2026 
2027 
2028  __truediv__ = __div__
2029 
2030 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2031 Rotation3D_swigregister(Rotation3D)
2032 
2033 
2034 def get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm=False):
2035  """
2036  get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2037  get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2038  """
2039  return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2040 
2041 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2042  """
2043  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2044  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2045  """
2046  return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2047 
2048 def get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm=False):
2049  """
2050  get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2051  get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2052  """
2053  return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2054 
2055 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2056  """
2057  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2058  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2059  """
2060  return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2061 
2063  """get_identity_rotation_3d() -> Rotation3D"""
2064  return _IMP_algebra.get_identity_rotation_3d()
2065 
2066 def get_rotation_about_normalized_axis(axis_norm, angle):
2067  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2068  return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2069 
2070 def get_rotation_about_axis(axis, angle):
2071  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2072  return _IMP_algebra.get_rotation_about_axis(axis, angle)
2073 
2075  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2076  return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2077 
2078 def get_rotation_from_matrix(*args):
2079  """
2080  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2081  get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2082  """
2083  return _IMP_algebra.get_rotation_from_matrix(*args)
2084 
2085 def get_random_rotation_3d(*args):
2086  """
2087  get_random_rotation_3d() -> Rotation3D
2088  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2089  """
2090  return _IMP_algebra.get_random_rotation_3d(*args)
2091 
2092 def get_uniform_cover_rotations_3d(num_points):
2093  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2094  return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2095 
2097  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2098  return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2099 
2101  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2102  return _IMP_algebra.get_rotation_from_vector4d(v)
2103 
2104 def get_rotation_from_fixed_xyz(xr, yr, zr):
2105  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2106  return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2107 
2108 def get_rotation_from_fixed_zxz(phi, theta, psi):
2109  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2110  return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2111 
2112 def get_rotation_from_fixed_zyz(Rot, Tilt, Psi):
2113  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2114  return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2115 class FixedXYZ(_GeometricPrimitive3D):
2116  """Proxy of C++ IMP::algebra::FixedXYZ class."""
2117 
2118  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2119 
2120  def __init__(self, *args):
2121  """
2122  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2123  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2124  """
2125  this = _IMP_algebra.new_FixedXYZ(*args)
2126  try:
2127  self.this.append(this)
2128  except __builtin__.Exception:
2129  self.this = this
2130 
2131  def get_x(self):
2132  """get_x(FixedXYZ self) -> double"""
2133  return _IMP_algebra.FixedXYZ_get_x(self)
2134 
2135 
2136  def get_y(self):
2137  """get_y(FixedXYZ self) -> double"""
2138  return _IMP_algebra.FixedXYZ_get_y(self)
2139 
2140 
2141  def get_z(self):
2142  """get_z(FixedXYZ self) -> double"""
2143  return _IMP_algebra.FixedXYZ_get_z(self)
2144 
2145 
2146  def show(self, *args):
2147  """
2148  show(FixedXYZ self, _ostream out)
2149  show(FixedXYZ self)
2150  """
2151  return _IMP_algebra.FixedXYZ_show(self, *args)
2152 
2153 
2154  def __str__(self):
2155  """__str__(FixedXYZ self) -> std::string"""
2156  return _IMP_algebra.FixedXYZ___str__(self)
2157 
2158 
2159  def __repr__(self):
2160  """__repr__(FixedXYZ self) -> std::string"""
2161  return _IMP_algebra.FixedXYZ___repr__(self)
2162 
2163  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2164  __del__ = lambda self: None
2165 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2166 FixedXYZ_swigregister(FixedXYZ)
2167 
2168 
2170  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2171  return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2172 
2173 def get_interpolated(a, b, f):
2174  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2175  return _IMP_algebra.get_interpolated(a, b, f)
2176 
2177 def get_rotation_from_x_y_axes(x, y):
2178  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2179  return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2180 
2181 def get_axis_and_angle(rot):
2182  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2183  return _IMP_algebra.get_axis_and_angle(rot)
2184 
2186  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2187  return _IMP_algebra.get_unit_bounding_box_kd(d)
2188 
2189 def get_cube_kd(d, radius):
2190  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2191  return _IMP_algebra.get_cube_kd(d, radius)
2192 
2193 def get_edges(arg1):
2194  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2195  return _IMP_algebra.get_edges(arg1)
2196 class Transformation3D(_GeometricPrimitive3D):
2197  """Proxy of C++ IMP::algebra::Transformation3D class."""
2198 
2199  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2200 
2201  def __init__(self, *args):
2202  """
2203  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2204  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2205  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2206  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2207  """
2208  this = _IMP_algebra.new_Transformation3D(*args)
2209  try:
2210  self.this.append(this)
2211  except __builtin__.Exception:
2212  self.this = this
2213  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2214  __del__ = lambda self: None
2215 
2216  def get_transformed(self, o):
2217  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2218  return _IMP_algebra.Transformation3D_get_transformed(self, o)
2219 
2220 
2221  def get_transformed_adjoint(self, v, Dw):
2222  """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2223  return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2224 
2225 
2226  def __mul__(self, *args):
2227  """
2228  __mul__(Transformation3D self, Vector3D v) -> Vector3D
2229  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2230  """
2231  return _IMP_algebra.Transformation3D___mul__(self, *args)
2232 
2233 
2234  def __div__(self, b):
2235  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2236  return _IMP_algebra.Transformation3D___div__(self, b)
2237 
2238 
2239  def get_rotation(self):
2240  """get_rotation(Transformation3D self) -> Rotation3D"""
2241  return _IMP_algebra.Transformation3D_get_rotation(self)
2242 
2243 
2244  def get_translation(self):
2245  """get_translation(Transformation3D self) -> Vector3D"""
2246  return _IMP_algebra.Transformation3D_get_translation(self)
2247 
2248 
2249  def show(self, *args):
2250  """
2251  show(Transformation3D self, _ostream out)
2252  show(Transformation3D self)
2253  """
2254  return _IMP_algebra.Transformation3D_show(self, *args)
2255 
2256 
2257  def get_inverse(self):
2258  """get_inverse(Transformation3D self) -> Transformation3D"""
2259  return _IMP_algebra.Transformation3D_get_inverse(self)
2260 
2261 
2262  def get_is_valid(self):
2263  """get_is_valid(Transformation3D self) -> bool"""
2264  return _IMP_algebra.Transformation3D_get_is_valid(self)
2265 
2266 
2267  def __str__(self):
2268  """__str__(Transformation3D self) -> std::string"""
2269  return _IMP_algebra.Transformation3D___str__(self)
2270 
2271 
2272  def __repr__(self):
2273  """__repr__(Transformation3D self) -> std::string"""
2274  return _IMP_algebra.Transformation3D___repr__(self)
2275 
2276 
2277  __truediv__ = __div__
2278 
2279 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2280 Transformation3D_swigregister(Transformation3D)
2281 
2282 
2284  """get_identity_transformation_3d() -> Transformation3D"""
2285  return _IMP_algebra.get_identity_transformation_3d()
2286 
2287 def compose_adjoint(*args):
2288  """
2289  compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2290  compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2291  """
2292  return _IMP_algebra.compose_adjoint(*args)
2293 
2294 def get_transformation_3d(t2d):
2295  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2296  return _IMP_algebra.get_transformation_3d(t2d)
2297 
2298 def get_random_local_transformation(origin, max_translation=5., max_angle_in_rad=0.26):
2299  """
2300  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2301  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2302  get_random_local_transformation(Vector3D origin) -> Transformation3D
2303  """
2304  return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2305 class Rotation2D(_GeometricPrimitive2D):
2306  """Proxy of C++ IMP::algebra::Rotation2D class."""
2307 
2308  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2309 
2310  def __init__(self, *args):
2311  """
2312  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2313  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2314  """
2315  this = _IMP_algebra.new_Rotation2D(*args)
2316  try:
2317  self.this.append(this)
2318  except __builtin__.Exception:
2319  self.this = this
2320 
2321  def get_rotated(self, *args):
2322  """
2323  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2324  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2325  """
2326  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2327 
2328 
2329  def get_inverse(self):
2330  """get_inverse(Rotation2D self) -> Rotation2D"""
2331  return _IMP_algebra.Rotation2D_get_inverse(self)
2332 
2333 
2334  def set_angle(self, angle):
2335  """set_angle(Rotation2D self, double angle)"""
2336  return _IMP_algebra.Rotation2D_set_angle(self, angle)
2337 
2338 
2339  def get_angle(self):
2340  """get_angle(Rotation2D self) -> double"""
2341  return _IMP_algebra.Rotation2D_get_angle(self)
2342 
2343 
2344  def show(self, *args):
2345  """
2346  show(Rotation2D self, _ostream out)
2347  show(Rotation2D self)
2348  """
2349  return _IMP_algebra.Rotation2D_show(self, *args)
2350 
2351 
2352  def __str__(self):
2353  """__str__(Rotation2D self) -> std::string"""
2354  return _IMP_algebra.Rotation2D___str__(self)
2355 
2356 
2357  def __repr__(self):
2358  """__repr__(Rotation2D self) -> std::string"""
2359  return _IMP_algebra.Rotation2D___repr__(self)
2360 
2361  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2362  __del__ = lambda self: None
2363 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2364 Rotation2D_swigregister(Rotation2D)
2365 
2366 
2368  """get_identity_rotation_2d() -> Rotation2D"""
2369  return _IMP_algebra.get_identity_rotation_2d()
2370 
2372  """get_random_rotation_2d() -> Rotation2D"""
2373  return _IMP_algebra.get_random_rotation_2d()
2374 
2375 def get_rotation_to_x_axis(v):
2376  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2377  return _IMP_algebra.get_rotation_to_x_axis(v)
2378 class Transformation2D(_GeometricPrimitive2D):
2379  """Proxy of C++ IMP::algebra::Transformation2D class."""
2380 
2381  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2382 
2383  def __init__(self, *args):
2384  """
2385  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2386  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2387  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2388  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2389  """
2390  this = _IMP_algebra.new_Transformation2D(*args)
2391  try:
2392  self.this.append(this)
2393  except __builtin__.Exception:
2394  self.this = this
2395  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2396  __del__ = lambda self: None
2397 
2398  def get_transformed(self, o):
2399  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2400  return _IMP_algebra.Transformation2D_get_transformed(self, o)
2401 
2402 
2403  def __mul__(self, *args):
2404  """
2405  __mul__(Transformation2D self, Vector2D v) -> Vector2D
2406  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2407  """
2408  return _IMP_algebra.Transformation2D___mul__(self, *args)
2409 
2410 
2411  def __div__(self, b):
2412  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2413  return _IMP_algebra.Transformation2D___div__(self, b)
2414 
2415 
2416  def get_rotation(self):
2417  """get_rotation(Transformation2D self) -> Rotation2D"""
2418  return _IMP_algebra.Transformation2D_get_rotation(self)
2419 
2420 
2421  def set_rotation(self, angle):
2422  """set_rotation(Transformation2D self, double angle)"""
2423  return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2424 
2425 
2426  def get_translation(self):
2427  """get_translation(Transformation2D self) -> Vector2D"""
2428  return _IMP_algebra.Transformation2D_get_translation(self)
2429 
2430 
2431  def set_translation(self, v):
2432  """set_translation(Transformation2D self, Vector2D v)"""
2433  return _IMP_algebra.Transformation2D_set_translation(self, v)
2434 
2435 
2436  def show(self, *args):
2437  """
2438  show(Transformation2D self, _ostream out)
2439  show(Transformation2D self)
2440  """
2441  return _IMP_algebra.Transformation2D_show(self, *args)
2442 
2443 
2444  def get_inverse(self):
2445  """get_inverse(Transformation2D self) -> Transformation2D"""
2446  return _IMP_algebra.Transformation2D_get_inverse(self)
2447 
2448 
2449  def __str__(self):
2450  """__str__(Transformation2D self) -> std::string"""
2451  return _IMP_algebra.Transformation2D___str__(self)
2452 
2453 
2454  def __repr__(self):
2455  """__repr__(Transformation2D self) -> std::string"""
2456  return _IMP_algebra.Transformation2D___repr__(self)
2457 
2458 
2459  __truediv__ = __div__
2460 
2461 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2462 Transformation2D_swigregister(Transformation2D)
2463 
2464 
2466  """get_identity_transformation_2d() -> Transformation2D"""
2467  return _IMP_algebra.get_identity_transformation_2d()
2468 
2469 def get_rotation_about_point(*args):
2470  """
2471  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2472  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2473  """
2474  return _IMP_algebra.get_rotation_about_point(*args)
2475 
2476 def compose(*args):
2477  """
2478  compose(Rotation3D a, Rotation3D b) -> Rotation3D
2479  compose(Transformation3D a, Transformation3D b) -> Transformation3D
2480  compose(Rotation2D a, Rotation2D b) -> Rotation2D
2481  compose(Transformation2D a, Transformation2D b) -> Transformation2D
2482  """
2483  return _IMP_algebra.compose(*args)
2484 
2485 def get_unit_sphere_kd(d):
2486  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2487  return _IMP_algebra.get_unit_sphere_kd(d)
2488 
2489 def get_enclosing_sphere(*args):
2490  """
2491  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2492  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2493  """
2494  return _IMP_algebra.get_enclosing_sphere(*args)
2495 
2496 def get_ball_radius_from_volume_3d(volume):
2497  """get_ball_radius_from_volume_3d(double volume) -> double"""
2498  return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2499 
2501  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2502  return _IMP_algebra.get_surface_area_and_volume(ss)
2503 
2504 def get_simplified_from_volume(arg1, maximum_allowed_error_angstroms):
2505  """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2506  return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2507 
2508 def get_triangle_3d(s):
2509  """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2510  return _IMP_algebra.get_triangle_3d(s)
2511 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2512  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class."""
2513 
2514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2515 
2516  def __init__(self, *args, **kwargs):
2517  raise AttributeError("No constructor defined - class is abstract")
2518  __repr__ = _swig_repr
2519 
2520  def get_dimension(self):
2521  """get_dimension(_UnitSimplexBaseKD self) -> int"""
2522  return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2523 
2524 
2525  def get_barycenter(self):
2526  """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2527  return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2528 
2529 
2530  def get_contains(self, *args):
2531  """
2532  get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2533  get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2534  """
2535  return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2536 
2537  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2538  __del__ = lambda self: None
2539 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2540 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2541 
2542 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2543  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class."""
2544 
2545  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2546 
2547  def __init__(self, *args, **kwargs):
2548  raise AttributeError("No constructor defined - class is abstract")
2549  __repr__ = _swig_repr
2550 
2551  def get_dimension(self):
2552  """get_dimension(_UnitSimplexBase1D self) -> int"""
2553  return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2554 
2555 
2556  def get_barycenter(self):
2557  """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2558  return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2559 
2560 
2561  def get_contains(self, *args):
2562  """
2563  get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2564  get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2565  """
2566  return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2567 
2568  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2569  __del__ = lambda self: None
2570 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2571 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2572 
2573 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2574  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class."""
2575 
2576  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2577 
2578  def __init__(self, *args, **kwargs):
2579  raise AttributeError("No constructor defined - class is abstract")
2580  __repr__ = _swig_repr
2581 
2582  def get_dimension(self):
2583  """get_dimension(_UnitSimplexBase2D self) -> int"""
2584  return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2585 
2586 
2587  def get_barycenter(self):
2588  """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2589  return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2590 
2591 
2592  def get_contains(self, *args):
2593  """
2594  get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2595  get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2596  """
2597  return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2598 
2599  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2600  __del__ = lambda self: None
2601 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2602 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2603 
2604 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2605  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class."""
2606 
2607  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2608 
2609  def __init__(self, *args, **kwargs):
2610  raise AttributeError("No constructor defined - class is abstract")
2611  __repr__ = _swig_repr
2612 
2613  def get_dimension(self):
2614  """get_dimension(_UnitSimplexBase3D self) -> int"""
2615  return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2616 
2617 
2618  def get_barycenter(self):
2619  """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2620  return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2621 
2622 
2623  def get_contains(self, *args):
2624  """
2625  get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2626  get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2627  """
2628  return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2629 
2630  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2631  __del__ = lambda self: None
2632 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2633 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2634 
2635 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2636  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class."""
2637 
2638  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2639 
2640  def __init__(self, *args, **kwargs):
2641  raise AttributeError("No constructor defined - class is abstract")
2642  __repr__ = _swig_repr
2643 
2644  def get_dimension(self):
2645  """get_dimension(_UnitSimplexBase4D self) -> int"""
2646  return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2647 
2648 
2649  def get_barycenter(self):
2650  """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2651  return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2652 
2653 
2654  def get_contains(self, *args):
2655  """
2656  get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2657  get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2658  """
2659  return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2660 
2661  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2662  __del__ = lambda self: None
2663 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2664 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2665 
2666 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2667  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class."""
2668 
2669  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2670 
2671  def __init__(self, *args, **kwargs):
2672  raise AttributeError("No constructor defined - class is abstract")
2673  __repr__ = _swig_repr
2674 
2675  def get_dimension(self):
2676  """get_dimension(_UnitSimplexBase5D self) -> int"""
2677  return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2678 
2679 
2680  def get_barycenter(self):
2681  """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2682  return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2683 
2684 
2685  def get_contains(self, *args):
2686  """
2687  get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2688  get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2689  """
2690  return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2691 
2692  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2693  __del__ = lambda self: None
2694 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2695 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2696 
2697 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2698  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class."""
2699 
2700  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2701 
2702  def __init__(self, *args, **kwargs):
2703  raise AttributeError("No constructor defined - class is abstract")
2704  __repr__ = _swig_repr
2705 
2706  def get_dimension(self):
2707  """get_dimension(_UnitSimplexBase6D self) -> int"""
2708  return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2709 
2710 
2711  def get_barycenter(self):
2712  """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2713  return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2714 
2715 
2716  def get_contains(self, *args):
2717  """
2718  get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2719  get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2720  """
2721  return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2722 
2723  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2724  __del__ = lambda self: None
2725 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2726 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2727 
2728 class Vector1D(_VectorBase1D):
2729  """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2730 
2731  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2732 
2733  def get_unit_vector(self):
2734  """get_unit_vector(Vector1D self) -> Vector1D"""
2735  return _IMP_algebra.Vector1D_get_unit_vector(self)
2736 
2737 
2738  def __div__(self, s):
2739  """__div__(Vector1D self, double s) -> Vector1D"""
2740  return _IMP_algebra.Vector1D___div__(self, s)
2741 
2742 
2743  def __neg__(self):
2744  """__neg__(Vector1D self) -> Vector1D"""
2745  return _IMP_algebra.Vector1D___neg__(self)
2746 
2747 
2748  def __sub__(self, o):
2749  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2750  return _IMP_algebra.Vector1D___sub__(self, o)
2751 
2752 
2753  def __add__(self, ret):
2754  """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2755  return _IMP_algebra.Vector1D___add__(self, ret)
2756 
2757 
2758  def __mul__(self, *args):
2759  """
2760  __mul__(Vector1D self, double s) -> Vector1D
2761  __mul__(Vector1D self, Vector1D o) -> double
2762  """
2763  return _IMP_algebra.Vector1D___mul__(self, *args)
2764 
2765 
2766  def __init__(self, *args):
2767  """
2768  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2769  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2770  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2771  """
2772  this = _IMP_algebra.new_Vector1D(*args)
2773  try:
2774  self.this.append(this)
2775  except __builtin__.Exception:
2776  self.this = this
2777 
2778  def __iadd__(self, *args):
2779  _IMP_algebra.Vector1D___iadd__(self, *args)
2780  return self
2781 
2782 
2783 
2784  def __imul__(self, *args):
2785  _IMP_algebra.Vector1D___imul__(self, *args)
2786  return self
2787 
2788 
2789 
2790  def __idiv__(self, *args):
2791  _IMP_algebra.Vector1D___idiv__(self, *args)
2792  return self
2793 
2794 
2795 
2796  def __isub__(self, *args):
2797  _IMP_algebra.Vector1D___isub__(self, *args)
2798  return self
2799 
2800 
2801 
2802  def __len__(self):
2803  """__len__(Vector1D self) -> unsigned int"""
2804  return _IMP_algebra.Vector1D___len__(self)
2805 
2806 
2807  def __rmul__(self, f):
2808  """__rmul__(Vector1D self, double f) -> Vector1D"""
2809  return _IMP_algebra.Vector1D___rmul__(self, f)
2810 
2811 
2812  def __str__(self):
2813  """__str__(Vector1D self) -> std::string"""
2814  return _IMP_algebra.Vector1D___str__(self)
2815 
2816 
2817  def __repr__(self):
2818  """__repr__(Vector1D self) -> std::string"""
2819  return _IMP_algebra.Vector1D___repr__(self)
2820 
2821 
2822  def __cmp__(self, arg2):
2823  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2824  return _IMP_algebra.Vector1D___cmp__(self, arg2)
2825 
2826 
2827  def __eq__(self, arg2):
2828  """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2829  return _IMP_algebra.Vector1D___eq__(self, arg2)
2830 
2831 
2832  __truediv__ = __div__
2833  __itruediv__ = __idiv__
2834 
2835 
2836  def __getitem__(self, index):
2837  """__getitem__(Vector1D self, int index) -> double"""
2838  return _IMP_algebra.Vector1D___getitem__(self, index)
2839 
2840 
2841  def __setitem__(self, index, val):
2842  """__setitem__(Vector1D self, int index, double val)"""
2843  return _IMP_algebra.Vector1D___setitem__(self, index, val)
2844 
2845  __swig_destroy__ = _IMP_algebra.delete_Vector1D
2846  __del__ = lambda self: None
2847 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2848 Vector1D_swigregister(Vector1D)
2849 
2850 class Vector2D(_VectorBase2D):
2851  """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2852 
2853  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2854 
2855  def get_unit_vector(self):
2856  """get_unit_vector(Vector2D self) -> Vector2D"""
2857  return _IMP_algebra.Vector2D_get_unit_vector(self)
2858 
2859 
2860  def __div__(self, s):
2861  """__div__(Vector2D self, double s) -> Vector2D"""
2862  return _IMP_algebra.Vector2D___div__(self, s)
2863 
2864 
2865  def __neg__(self):
2866  """__neg__(Vector2D self) -> Vector2D"""
2867  return _IMP_algebra.Vector2D___neg__(self)
2868 
2869 
2870  def __sub__(self, o):
2871  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2872  return _IMP_algebra.Vector2D___sub__(self, o)
2873 
2874 
2875  def __add__(self, ret):
2876  """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2877  return _IMP_algebra.Vector2D___add__(self, ret)
2878 
2879 
2880  def __mul__(self, *args):
2881  """
2882  __mul__(Vector2D self, double s) -> Vector2D
2883  __mul__(Vector2D self, Vector2D o) -> double
2884  """
2885  return _IMP_algebra.Vector2D___mul__(self, *args)
2886 
2887 
2888  def __init__(self, *args):
2889  """
2890  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2891  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2892  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2893  """
2894  this = _IMP_algebra.new_Vector2D(*args)
2895  try:
2896  self.this.append(this)
2897  except __builtin__.Exception:
2898  self.this = this
2899 
2900  def __iadd__(self, *args):
2901  _IMP_algebra.Vector2D___iadd__(self, *args)
2902  return self
2903 
2904 
2905 
2906  def __imul__(self, *args):
2907  _IMP_algebra.Vector2D___imul__(self, *args)
2908  return self
2909 
2910 
2911 
2912  def __idiv__(self, *args):
2913  _IMP_algebra.Vector2D___idiv__(self, *args)
2914  return self
2915 
2916 
2917 
2918  def __isub__(self, *args):
2919  _IMP_algebra.Vector2D___isub__(self, *args)
2920  return self
2921 
2922 
2923 
2924  def __len__(self):
2925  """__len__(Vector2D self) -> unsigned int"""
2926  return _IMP_algebra.Vector2D___len__(self)
2927 
2928 
2929  def __rmul__(self, f):
2930  """__rmul__(Vector2D self, double f) -> Vector2D"""
2931  return _IMP_algebra.Vector2D___rmul__(self, f)
2932 
2933 
2934  def __str__(self):
2935  """__str__(Vector2D self) -> std::string"""
2936  return _IMP_algebra.Vector2D___str__(self)
2937 
2938 
2939  def __repr__(self):
2940  """__repr__(Vector2D self) -> std::string"""
2941  return _IMP_algebra.Vector2D___repr__(self)
2942 
2943 
2944  def __cmp__(self, arg2):
2945  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2946  return _IMP_algebra.Vector2D___cmp__(self, arg2)
2947 
2948 
2949  def __eq__(self, arg2):
2950  """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2951  return _IMP_algebra.Vector2D___eq__(self, arg2)
2952 
2953 
2954  __truediv__ = __div__
2955  __itruediv__ = __idiv__
2956 
2957 
2958  def __getitem__(self, index):
2959  """__getitem__(Vector2D self, int index) -> double"""
2960  return _IMP_algebra.Vector2D___getitem__(self, index)
2961 
2962 
2963  def __setitem__(self, index, val):
2964  """__setitem__(Vector2D self, int index, double val)"""
2965  return _IMP_algebra.Vector2D___setitem__(self, index, val)
2966 
2967  __swig_destroy__ = _IMP_algebra.delete_Vector2D
2968  __del__ = lambda self: None
2969 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2970 Vector2D_swigregister(Vector2D)
2971 
2972 class Vector3D(_VectorBase3D):
2973  """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2974 
2975  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2976 
2977  def get_unit_vector(self):
2978  """get_unit_vector(Vector3D self) -> Vector3D"""
2979  return _IMP_algebra.Vector3D_get_unit_vector(self)
2980 
2981 
2982  def __div__(self, s):
2983  """__div__(Vector3D self, double s) -> Vector3D"""
2984  return _IMP_algebra.Vector3D___div__(self, s)
2985 
2986 
2987  def __neg__(self):
2988  """__neg__(Vector3D self) -> Vector3D"""
2989  return _IMP_algebra.Vector3D___neg__(self)
2990 
2991 
2992  def __sub__(self, o):
2993  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2994  return _IMP_algebra.Vector3D___sub__(self, o)
2995 
2996 
2997  def __add__(self, ret):
2998  """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2999  return _IMP_algebra.Vector3D___add__(self, ret)
3000 
3001 
3002  def __mul__(self, *args):
3003  """
3004  __mul__(Vector3D self, double s) -> Vector3D
3005  __mul__(Vector3D self, Vector3D o) -> double
3006  """
3007  return _IMP_algebra.Vector3D___mul__(self, *args)
3008 
3009 
3010  def __init__(self, *args):
3011  """
3012  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3013  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3014  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3015  """
3016  this = _IMP_algebra.new_Vector3D(*args)
3017  try:
3018  self.this.append(this)
3019  except __builtin__.Exception:
3020  self.this = this
3021 
3022  def __iadd__(self, *args):
3023  _IMP_algebra.Vector3D___iadd__(self, *args)
3024  return self
3025 
3026 
3027 
3028  def __imul__(self, *args):
3029  _IMP_algebra.Vector3D___imul__(self, *args)
3030  return self
3031 
3032 
3033 
3034  def __idiv__(self, *args):
3035  _IMP_algebra.Vector3D___idiv__(self, *args)
3036  return self
3037 
3038 
3039 
3040  def __isub__(self, *args):
3041  _IMP_algebra.Vector3D___isub__(self, *args)
3042  return self
3043 
3044 
3045 
3046  def __len__(self):
3047  """__len__(Vector3D self) -> unsigned int"""
3048  return _IMP_algebra.Vector3D___len__(self)
3049 
3050 
3051  def __rmul__(self, f):
3052  """__rmul__(Vector3D self, double f) -> Vector3D"""
3053  return _IMP_algebra.Vector3D___rmul__(self, f)
3054 
3055 
3056  def __str__(self):
3057  """__str__(Vector3D self) -> std::string"""
3058  return _IMP_algebra.Vector3D___str__(self)
3059 
3060 
3061  def __repr__(self):
3062  """__repr__(Vector3D self) -> std::string"""
3063  return _IMP_algebra.Vector3D___repr__(self)
3064 
3065 
3066  def __cmp__(self, arg2):
3067  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3068  return _IMP_algebra.Vector3D___cmp__(self, arg2)
3069 
3070 
3071  def __eq__(self, arg2):
3072  """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3073  return _IMP_algebra.Vector3D___eq__(self, arg2)
3074 
3075 
3076  __truediv__ = __div__
3077  __itruediv__ = __idiv__
3078 
3079 
3080  def __getitem__(self, index):
3081  """__getitem__(Vector3D self, int index) -> double"""
3082  return _IMP_algebra.Vector3D___getitem__(self, index)
3083 
3084 
3085  def __setitem__(self, index, val):
3086  """__setitem__(Vector3D self, int index, double val)"""
3087  return _IMP_algebra.Vector3D___setitem__(self, index, val)
3088 
3089  __swig_destroy__ = _IMP_algebra.delete_Vector3D
3090  __del__ = lambda self: None
3091 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3092 Vector3D_swigregister(Vector3D)
3093 
3094 class Vector4D(_VectorBase4D):
3095  """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
3096 
3097  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3098 
3099  def get_unit_vector(self):
3100  """get_unit_vector(Vector4D self) -> Vector4D"""
3101  return _IMP_algebra.Vector4D_get_unit_vector(self)
3102 
3103 
3104  def __div__(self, s):
3105  """__div__(Vector4D self, double s) -> Vector4D"""
3106  return _IMP_algebra.Vector4D___div__(self, s)
3107 
3108 
3109  def __neg__(self):
3110  """__neg__(Vector4D self) -> Vector4D"""
3111  return _IMP_algebra.Vector4D___neg__(self)
3112 
3113 
3114  def __sub__(self, o):
3115  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3116  return _IMP_algebra.Vector4D___sub__(self, o)
3117 
3118 
3119  def __add__(self, ret):
3120  """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3121  return _IMP_algebra.Vector4D___add__(self, ret)
3122 
3123 
3124  def __mul__(self, *args):
3125  """
3126  __mul__(Vector4D self, double s) -> Vector4D
3127  __mul__(Vector4D self, Vector4D o) -> double
3128  """
3129  return _IMP_algebra.Vector4D___mul__(self, *args)
3130 
3131 
3132  def __init__(self, *args):
3133  """
3134  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3135  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3136  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3137  """
3138  this = _IMP_algebra.new_Vector4D(*args)
3139  try:
3140  self.this.append(this)
3141  except __builtin__.Exception:
3142  self.this = this
3143 
3144  def __iadd__(self, *args):
3145  _IMP_algebra.Vector4D___iadd__(self, *args)
3146  return self
3147 
3148 
3149 
3150  def __imul__(self, *args):
3151  _IMP_algebra.Vector4D___imul__(self, *args)
3152  return self
3153 
3154 
3155 
3156  def __idiv__(self, *args):
3157  _IMP_algebra.Vector4D___idiv__(self, *args)
3158  return self
3159 
3160 
3161 
3162  def __isub__(self, *args):
3163  _IMP_algebra.Vector4D___isub__(self, *args)
3164  return self
3165 
3166 
3167 
3168  def __len__(self):
3169  """__len__(Vector4D self) -> unsigned int"""
3170  return _IMP_algebra.Vector4D___len__(self)
3171 
3172 
3173  def __rmul__(self, f):
3174  """__rmul__(Vector4D self, double f) -> Vector4D"""
3175  return _IMP_algebra.Vector4D___rmul__(self, f)
3176 
3177 
3178  def __str__(self):
3179  """__str__(Vector4D self) -> std::string"""
3180  return _IMP_algebra.Vector4D___str__(self)
3181 
3182 
3183  def __repr__(self):
3184  """__repr__(Vector4D self) -> std::string"""
3185  return _IMP_algebra.Vector4D___repr__(self)
3186 
3187 
3188  def __cmp__(self, arg2):
3189  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3190  return _IMP_algebra.Vector4D___cmp__(self, arg2)
3191 
3192 
3193  def __eq__(self, arg2):
3194  """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3195  return _IMP_algebra.Vector4D___eq__(self, arg2)
3196 
3197 
3198  __truediv__ = __div__
3199  __itruediv__ = __idiv__
3200 
3201 
3202  def __getitem__(self, index):
3203  """__getitem__(Vector4D self, int index) -> double"""
3204  return _IMP_algebra.Vector4D___getitem__(self, index)
3205 
3206 
3207  def __setitem__(self, index, val):
3208  """__setitem__(Vector4D self, int index, double val)"""
3209  return _IMP_algebra.Vector4D___setitem__(self, index, val)
3210 
3211  __swig_destroy__ = _IMP_algebra.delete_Vector4D
3212  __del__ = lambda self: None
3213 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3214 Vector4D_swigregister(Vector4D)
3215 
3216 class Vector5D(_VectorBase5D):
3217  """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
3218 
3219  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3220 
3221  def get_unit_vector(self):
3222  """get_unit_vector(Vector5D self) -> Vector5D"""
3223  return _IMP_algebra.Vector5D_get_unit_vector(self)
3224 
3225 
3226  def __div__(self, s):
3227  """__div__(Vector5D self, double s) -> Vector5D"""
3228  return _IMP_algebra.Vector5D___div__(self, s)
3229 
3230 
3231  def __neg__(self):
3232  """__neg__(Vector5D self) -> Vector5D"""
3233  return _IMP_algebra.Vector5D___neg__(self)
3234 
3235 
3236  def __sub__(self, o):
3237  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3238  return _IMP_algebra.Vector5D___sub__(self, o)
3239 
3240 
3241  def __add__(self, ret):
3242  """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3243  return _IMP_algebra.Vector5D___add__(self, ret)
3244 
3245 
3246  def __mul__(self, *args):
3247  """
3248  __mul__(Vector5D self, double s) -> Vector5D
3249  __mul__(Vector5D self, Vector5D o) -> double
3250  """
3251  return _IMP_algebra.Vector5D___mul__(self, *args)
3252 
3253 
3254  def __init__(self, *args):
3255  """
3256  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3257  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3258  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3259  """
3260  this = _IMP_algebra.new_Vector5D(*args)
3261  try:
3262  self.this.append(this)
3263  except __builtin__.Exception:
3264  self.this = this
3265 
3266  def __iadd__(self, *args):
3267  _IMP_algebra.Vector5D___iadd__(self, *args)
3268  return self
3269 
3270 
3271 
3272  def __imul__(self, *args):
3273  _IMP_algebra.Vector5D___imul__(self, *args)
3274  return self
3275 
3276 
3277 
3278  def __idiv__(self, *args):
3279  _IMP_algebra.Vector5D___idiv__(self, *args)
3280  return self
3281 
3282 
3283 
3284  def __isub__(self, *args):
3285  _IMP_algebra.Vector5D___isub__(self, *args)
3286  return self
3287 
3288 
3289 
3290  def __len__(self):
3291  """__len__(Vector5D self) -> unsigned int"""
3292  return _IMP_algebra.Vector5D___len__(self)
3293 
3294 
3295  def __rmul__(self, f):
3296  """__rmul__(Vector5D self, double f) -> Vector5D"""
3297  return _IMP_algebra.Vector5D___rmul__(self, f)
3298 
3299 
3300  def __str__(self):
3301  """__str__(Vector5D self) -> std::string"""
3302  return _IMP_algebra.Vector5D___str__(self)
3303 
3304 
3305  def __repr__(self):
3306  """__repr__(Vector5D self) -> std::string"""
3307  return _IMP_algebra.Vector5D___repr__(self)
3308 
3309 
3310  def __cmp__(self, arg2):
3311  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3312  return _IMP_algebra.Vector5D___cmp__(self, arg2)
3313 
3314 
3315  def __eq__(self, arg2):
3316  """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3317  return _IMP_algebra.Vector5D___eq__(self, arg2)
3318 
3319 
3320  __truediv__ = __div__
3321  __itruediv__ = __idiv__
3322 
3323 
3324  def __getitem__(self, index):
3325  """__getitem__(Vector5D self, int index) -> double"""
3326  return _IMP_algebra.Vector5D___getitem__(self, index)
3327 
3328 
3329  def __setitem__(self, index, val):
3330  """__setitem__(Vector5D self, int index, double val)"""
3331  return _IMP_algebra.Vector5D___setitem__(self, index, val)
3332 
3333  __swig_destroy__ = _IMP_algebra.delete_Vector5D
3334  __del__ = lambda self: None
3335 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3336 Vector5D_swigregister(Vector5D)
3337 
3338 class Vector6D(_VectorBase6D):
3339  """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
3340 
3341  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3342 
3343  def get_unit_vector(self):
3344  """get_unit_vector(Vector6D self) -> Vector6D"""
3345  return _IMP_algebra.Vector6D_get_unit_vector(self)
3346 
3347 
3348  def __div__(self, s):
3349  """__div__(Vector6D self, double s) -> Vector6D"""
3350  return _IMP_algebra.Vector6D___div__(self, s)
3351 
3352 
3353  def __neg__(self):
3354  """__neg__(Vector6D self) -> Vector6D"""
3355  return _IMP_algebra.Vector6D___neg__(self)
3356 
3357 
3358  def __sub__(self, o):
3359  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3360  return _IMP_algebra.Vector6D___sub__(self, o)
3361 
3362 
3363  def __add__(self, ret):
3364  """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3365  return _IMP_algebra.Vector6D___add__(self, ret)
3366 
3367 
3368  def __mul__(self, *args):
3369  """
3370  __mul__(Vector6D self, double s) -> Vector6D
3371  __mul__(Vector6D self, Vector6D o) -> double
3372  """
3373  return _IMP_algebra.Vector6D___mul__(self, *args)
3374 
3375 
3376  def __init__(self, *args):
3377  """
3378  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3379  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3380  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3381  """
3382  this = _IMP_algebra.new_Vector6D(*args)
3383  try:
3384  self.this.append(this)
3385  except __builtin__.Exception:
3386  self.this = this
3387 
3388  def __iadd__(self, *args):
3389  _IMP_algebra.Vector6D___iadd__(self, *args)
3390  return self
3391 
3392 
3393 
3394  def __imul__(self, *args):
3395  _IMP_algebra.Vector6D___imul__(self, *args)
3396  return self
3397 
3398 
3399 
3400  def __idiv__(self, *args):
3401  _IMP_algebra.Vector6D___idiv__(self, *args)
3402  return self
3403 
3404 
3405 
3406  def __isub__(self, *args):
3407  _IMP_algebra.Vector6D___isub__(self, *args)
3408  return self
3409 
3410 
3411 
3412  def __len__(self):
3413  """__len__(Vector6D self) -> unsigned int"""
3414  return _IMP_algebra.Vector6D___len__(self)
3415 
3416 
3417  def __rmul__(self, f):
3418  """__rmul__(Vector6D self, double f) -> Vector6D"""
3419  return _IMP_algebra.Vector6D___rmul__(self, f)
3420 
3421 
3422  def __str__(self):
3423  """__str__(Vector6D self) -> std::string"""
3424  return _IMP_algebra.Vector6D___str__(self)
3425 
3426 
3427  def __repr__(self):
3428  """__repr__(Vector6D self) -> std::string"""
3429  return _IMP_algebra.Vector6D___repr__(self)
3430 
3431 
3432  def __cmp__(self, arg2):
3433  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3434  return _IMP_algebra.Vector6D___cmp__(self, arg2)
3435 
3436 
3437  def __eq__(self, arg2):
3438  """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3439  return _IMP_algebra.Vector6D___eq__(self, arg2)
3440 
3441 
3442  __truediv__ = __div__
3443  __itruediv__ = __idiv__
3444 
3445 
3446  def __getitem__(self, index):
3447  """__getitem__(Vector6D self, int index) -> double"""
3448  return _IMP_algebra.Vector6D___getitem__(self, index)
3449 
3450 
3451  def __setitem__(self, index, val):
3452  """__setitem__(Vector6D self, int index, double val)"""
3453  return _IMP_algebra.Vector6D___setitem__(self, index, val)
3454 
3455  __swig_destroy__ = _IMP_algebra.delete_Vector6D
3456  __del__ = lambda self: None
3457 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3458 Vector6D_swigregister(Vector6D)
3459 
3460 class VectorKD(_VectorBaseKD):
3461  """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3462 
3463  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3464 
3465  def get_unit_vector(self):
3466  """get_unit_vector(VectorKD self) -> VectorKD"""
3467  return _IMP_algebra.VectorKD_get_unit_vector(self)
3468 
3469 
3470  def __div__(self, s):
3471  """__div__(VectorKD self, double s) -> VectorKD"""
3472  return _IMP_algebra.VectorKD___div__(self, s)
3473 
3474 
3475  def __neg__(self):
3476  """__neg__(VectorKD self) -> VectorKD"""
3477  return _IMP_algebra.VectorKD___neg__(self)
3478 
3479 
3480  def __sub__(self, o):
3481  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3482  return _IMP_algebra.VectorKD___sub__(self, o)
3483 
3484 
3485  def __add__(self, ret):
3486  """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3487  return _IMP_algebra.VectorKD___add__(self, ret)
3488 
3489 
3490  def __mul__(self, *args):
3491  """
3492  __mul__(VectorKD self, double s) -> VectorKD
3493  __mul__(VectorKD self, VectorKD o) -> double
3494  """
3495  return _IMP_algebra.VectorKD___mul__(self, *args)
3496 
3497 
3498  def __init__(self, *args):
3499  """
3500  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3501  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3502  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3503  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3504  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3505  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3506  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3507  __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3508  """
3509  this = _IMP_algebra.new_VectorKD(*args)
3510  try:
3511  self.this.append(this)
3512  except __builtin__.Exception:
3513  self.this = this
3514 
3515  def __iadd__(self, *args):
3516  _IMP_algebra.VectorKD___iadd__(self, *args)
3517  return self
3518 
3519 
3520 
3521  def __imul__(self, *args):
3522  _IMP_algebra.VectorKD___imul__(self, *args)
3523  return self
3524 
3525 
3526 
3527  def __idiv__(self, *args):
3528  _IMP_algebra.VectorKD___idiv__(self, *args)
3529  return self
3530 
3531 
3532 
3533  def __isub__(self, *args):
3534  _IMP_algebra.VectorKD___isub__(self, *args)
3535  return self
3536 
3537 
3538 
3539  def __len__(self):
3540  """__len__(VectorKD self) -> unsigned int"""
3541  return _IMP_algebra.VectorKD___len__(self)
3542 
3543 
3544  def __rmul__(self, f):
3545  """__rmul__(VectorKD self, double f) -> VectorKD"""
3546  return _IMP_algebra.VectorKD___rmul__(self, f)
3547 
3548 
3549  def __str__(self):
3550  """__str__(VectorKD self) -> std::string"""
3551  return _IMP_algebra.VectorKD___str__(self)
3552 
3553 
3554  def __repr__(self):
3555  """__repr__(VectorKD self) -> std::string"""
3556  return _IMP_algebra.VectorKD___repr__(self)
3557 
3558 
3559  def __cmp__(self, arg2):
3560  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3561  return _IMP_algebra.VectorKD___cmp__(self, arg2)
3562 
3563 
3564  def __eq__(self, arg2):
3565  """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3566  return _IMP_algebra.VectorKD___eq__(self, arg2)
3567 
3568 
3569  __truediv__ = __div__
3570  __itruediv__ = __idiv__
3571 
3572 
3573  def __getitem__(self, index):
3574  """__getitem__(VectorKD self, int index) -> double"""
3575  return _IMP_algebra.VectorKD___getitem__(self, index)
3576 
3577 
3578  def __setitem__(self, index, val):
3579  """__setitem__(VectorKD self, int index, double val)"""
3580  return _IMP_algebra.VectorKD___setitem__(self, index, val)
3581 
3582  __swig_destroy__ = _IMP_algebra.delete_VectorKD
3583  __del__ = lambda self: None
3584 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3585 VectorKD_swigregister(VectorKD)
3586 
3587 class BoundingBox1D(object):
3588  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3589 
3590  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3591 
3592  def get_dimension(self):
3593  """get_dimension(BoundingBox1D self) -> unsigned int"""
3594  return _IMP_algebra.BoundingBox1D_get_dimension(self)
3595 
3596 
3597  def get_corner(self, i):
3598  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3599  return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3600 
3601 
3602  def get_contains(self, *args):
3603  """
3604  get_contains(BoundingBox1D self, Vector1D o) -> bool
3605  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3606  """
3607  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3608 
3609 
3610  def show(self, *args):
3611  """
3612  show(BoundingBox1D self, _ostream out)
3613  show(BoundingBox1D self)
3614  """
3615  return _IMP_algebra.BoundingBox1D_show(self, *args)
3616 
3617 
3618  def __str__(self):
3619  """__str__(BoundingBox1D self) -> std::string"""
3620  return _IMP_algebra.BoundingBox1D___str__(self)
3621 
3622 
3623  def __repr__(self):
3624  """__repr__(BoundingBox1D self) -> std::string"""
3625  return _IMP_algebra.BoundingBox1D___repr__(self)
3626 
3627 
3628  def __cmp__(self, arg2):
3629  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3630  return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3631 
3632 
3633  def __eq__(self, arg2):
3634  """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3635  return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3636 
3637 
3638  def __init__(self, *args):
3639  """
3640  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3641  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3642  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3643  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3644  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3645  """
3646  this = _IMP_algebra.new_BoundingBox1D(*args)
3647  try:
3648  self.this.append(this)
3649  except __builtin__.Exception:
3650  self.this = this
3651 
3652  def __getitem__(self, index):
3653  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3654  return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3655 
3656 
3657  def __iadd__(self, *args):
3658  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3659  return self
3660 
3661 
3662 
3663  def __len__(self):
3664  """__len__(BoundingBox1D self) -> unsigned int"""
3665  return _IMP_algebra.BoundingBox1D___len__(self)
3666 
3667 
3668  def __add__(self, *args):
3669  """
3670  __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3671  __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3672  __add__(BoundingBox1D self, double o) -> BoundingBox1D
3673  """
3674  return _IMP_algebra.BoundingBox1D___add__(self, *args)
3675 
3676  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3677  __del__ = lambda self: None
3678 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3679 BoundingBox1D_swigregister(BoundingBox1D)
3680 
3681 class BoundingBox2D(object):
3682  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3683 
3684  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3685 
3686  def get_dimension(self):
3687  """get_dimension(BoundingBox2D self) -> unsigned int"""
3688  return _IMP_algebra.BoundingBox2D_get_dimension(self)
3689 
3690 
3691  def get_corner(self, i):
3692  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3693  return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3694 
3695 
3696  def get_contains(self, *args):
3697  """
3698  get_contains(BoundingBox2D self, Vector2D o) -> bool
3699  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3700  """
3701  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3702 
3703 
3704  def show(self, *args):
3705  """
3706  show(BoundingBox2D self, _ostream out)
3707  show(BoundingBox2D self)
3708  """
3709  return _IMP_algebra.BoundingBox2D_show(self, *args)
3710 
3711 
3712  def __str__(self):
3713  """__str__(BoundingBox2D self) -> std::string"""
3714  return _IMP_algebra.BoundingBox2D___str__(self)
3715 
3716 
3717  def __repr__(self):
3718  """__repr__(BoundingBox2D self) -> std::string"""
3719  return _IMP_algebra.BoundingBox2D___repr__(self)
3720 
3721 
3722  def __cmp__(self, arg2):
3723  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3724  return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3725 
3726 
3727  def __eq__(self, arg2):
3728  """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3729  return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3730 
3731 
3732  def __init__(self, *args):
3733  """
3734  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3735  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3736  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3737  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3738  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3739  """
3740  this = _IMP_algebra.new_BoundingBox2D(*args)
3741  try:
3742  self.this.append(this)
3743  except __builtin__.Exception:
3744  self.this = this
3745 
3746  def __getitem__(self, index):
3747  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3748  return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3749 
3750 
3751  def __iadd__(self, *args):
3752  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3753  return self
3754 
3755 
3756 
3757  def __len__(self):
3758  """__len__(BoundingBox2D self) -> unsigned int"""
3759  return _IMP_algebra.BoundingBox2D___len__(self)
3760 
3761 
3762  def __add__(self, *args):
3763  """
3764  __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3765  __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3766  __add__(BoundingBox2D self, double o) -> BoundingBox2D
3767  """
3768  return _IMP_algebra.BoundingBox2D___add__(self, *args)
3769 
3770  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3771  __del__ = lambda self: None
3772 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3773 BoundingBox2D_swigregister(BoundingBox2D)
3774 
3775 class BoundingBox3D(object):
3776  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3777 
3778  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3779 
3780  def get_dimension(self):
3781  """get_dimension(BoundingBox3D self) -> unsigned int"""
3782  return _IMP_algebra.BoundingBox3D_get_dimension(self)
3783 
3784 
3785  def get_corner(self, i):
3786  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3787  return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3788 
3789 
3790  def get_contains(self, *args):
3791  """
3792  get_contains(BoundingBox3D self, Vector3D o) -> bool
3793  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3794  """
3795  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3796 
3797 
3798  def show(self, *args):
3799  """
3800  show(BoundingBox3D self, _ostream out)
3801  show(BoundingBox3D self)
3802  """
3803  return _IMP_algebra.BoundingBox3D_show(self, *args)
3804 
3805 
3806  def __str__(self):
3807  """__str__(BoundingBox3D self) -> std::string"""
3808  return _IMP_algebra.BoundingBox3D___str__(self)
3809 
3810 
3811  def __repr__(self):
3812  """__repr__(BoundingBox3D self) -> std::string"""
3813  return _IMP_algebra.BoundingBox3D___repr__(self)
3814 
3815 
3816  def __cmp__(self, arg2):
3817  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3818  return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3819 
3820 
3821  def __eq__(self, arg2):
3822  """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3823  return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3824 
3825 
3826  def __init__(self, *args):
3827  """
3828  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3829  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3830  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3831  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3832  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3833  """
3834  this = _IMP_algebra.new_BoundingBox3D(*args)
3835  try:
3836  self.this.append(this)
3837  except __builtin__.Exception:
3838  self.this = this
3839 
3840  def __getitem__(self, index):
3841  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3842  return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3843 
3844 
3845  def __iadd__(self, *args):
3846  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3847  return self
3848 
3849 
3850 
3851  def __len__(self):
3852  """__len__(BoundingBox3D self) -> unsigned int"""
3853  return _IMP_algebra.BoundingBox3D___len__(self)
3854 
3855 
3856  def __add__(self, *args):
3857  """
3858  __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3859  __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3860  __add__(BoundingBox3D self, double o) -> BoundingBox3D
3861  """
3862  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3863 
3864  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3865  __del__ = lambda self: None
3866 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3867 BoundingBox3D_swigregister(BoundingBox3D)
3868 
3869 class BoundingBox4D(object):
3870  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3871 
3872  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3873 
3874  def get_dimension(self):
3875  """get_dimension(BoundingBox4D self) -> unsigned int"""
3876  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3877 
3878 
3879  def get_corner(self, i):
3880  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3881  return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3882 
3883 
3884  def get_contains(self, *args):
3885  """
3886  get_contains(BoundingBox4D self, Vector4D o) -> bool
3887  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3888  """
3889  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3890 
3891 
3892  def show(self, *args):
3893  """
3894  show(BoundingBox4D self, _ostream out)
3895  show(BoundingBox4D self)
3896  """
3897  return _IMP_algebra.BoundingBox4D_show(self, *args)
3898 
3899 
3900  def __str__(self):
3901  """__str__(BoundingBox4D self) -> std::string"""
3902  return _IMP_algebra.BoundingBox4D___str__(self)
3903 
3904 
3905  def __repr__(self):
3906  """__repr__(BoundingBox4D self) -> std::string"""
3907  return _IMP_algebra.BoundingBox4D___repr__(self)
3908 
3909 
3910  def __cmp__(self, arg2):
3911  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3912  return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3913 
3914 
3915  def __eq__(self, arg2):
3916  """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3917  return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3918 
3919 
3920  def __init__(self, *args):
3921  """
3922  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3923  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3924  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3925  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3926  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3927  """
3928  this = _IMP_algebra.new_BoundingBox4D(*args)
3929  try:
3930  self.this.append(this)
3931  except __builtin__.Exception:
3932  self.this = this
3933 
3934  def __getitem__(self, index):
3935  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3936  return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3937 
3938 
3939  def __iadd__(self, *args):
3940  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3941  return self
3942 
3943 
3944 
3945  def __len__(self):
3946  """__len__(BoundingBox4D self) -> unsigned int"""
3947  return _IMP_algebra.BoundingBox4D___len__(self)
3948 
3949 
3950  def __add__(self, *args):
3951  """
3952  __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3953  __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3954  __add__(BoundingBox4D self, double o) -> BoundingBox4D
3955  """
3956  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3957 
3958  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3959  __del__ = lambda self: None
3960 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3961 BoundingBox4D_swigregister(BoundingBox4D)
3962 
3963 class BoundingBox5D(object):
3964  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3965 
3966  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3967 
3968  def get_dimension(self):
3969  """get_dimension(BoundingBox5D self) -> unsigned int"""
3970  return _IMP_algebra.BoundingBox5D_get_dimension(self)
3971 
3972 
3973  def get_corner(self, i):
3974  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3975  return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3976 
3977 
3978  def get_contains(self, *args):
3979  """
3980  get_contains(BoundingBox5D self, Vector5D o) -> bool
3981  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3982  """
3983  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3984 
3985 
3986  def show(self, *args):
3987  """
3988  show(BoundingBox5D self, _ostream out)
3989  show(BoundingBox5D self)
3990  """
3991  return _IMP_algebra.BoundingBox5D_show(self, *args)
3992 
3993 
3994  def __str__(self):
3995  """__str__(BoundingBox5D self) -> std::string"""
3996  return _IMP_algebra.BoundingBox5D___str__(self)
3997 
3998 
3999  def __repr__(self):
4000  """__repr__(BoundingBox5D self) -> std::string"""
4001  return _IMP_algebra.BoundingBox5D___repr__(self)
4002 
4003 
4004  def __cmp__(self, arg2):
4005  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4006  return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4007 
4008 
4009  def __eq__(self, arg2):
4010  """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4011  return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4012 
4013 
4014  def __init__(self, *args):
4015  """
4016  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4017  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4018  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4019  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4020  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4021  """
4022  this = _IMP_algebra.new_BoundingBox5D(*args)
4023  try:
4024  self.this.append(this)
4025  except __builtin__.Exception:
4026  self.this = this
4027 
4028  def __getitem__(self, index):
4029  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4030  return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4031 
4032 
4033  def __iadd__(self, *args):
4034  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4035  return self
4036 
4037 
4038 
4039  def __len__(self):
4040  """__len__(BoundingBox5D self) -> unsigned int"""
4041  return _IMP_algebra.BoundingBox5D___len__(self)
4042 
4043 
4044  def __add__(self, *args):
4045  """
4046  __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4047  __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4048  __add__(BoundingBox5D self, double o) -> BoundingBox5D
4049  """
4050  return _IMP_algebra.BoundingBox5D___add__(self, *args)
4051 
4052  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4053  __del__ = lambda self: None
4054 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4055 BoundingBox5D_swigregister(BoundingBox5D)
4056 
4057 class BoundingBox6D(object):
4058  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
4059 
4060  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4061 
4062  def get_dimension(self):
4063  """get_dimension(BoundingBox6D self) -> unsigned int"""
4064  return _IMP_algebra.BoundingBox6D_get_dimension(self)
4065 
4066 
4067  def get_corner(self, i):
4068  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4069  return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4070 
4071 
4072  def get_contains(self, *args):
4073  """
4074  get_contains(BoundingBox6D self, Vector6D o) -> bool
4075  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4076  """
4077  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4078 
4079 
4080  def show(self, *args):
4081  """
4082  show(BoundingBox6D self, _ostream out)
4083  show(BoundingBox6D self)
4084  """
4085  return _IMP_algebra.BoundingBox6D_show(self, *args)
4086 
4087 
4088  def __str__(self):
4089  """__str__(BoundingBox6D self) -> std::string"""
4090  return _IMP_algebra.BoundingBox6D___str__(self)
4091 
4092 
4093  def __repr__(self):
4094  """__repr__(BoundingBox6D self) -> std::string"""
4095  return _IMP_algebra.BoundingBox6D___repr__(self)
4096 
4097 
4098  def __cmp__(self, arg2):
4099  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4100  return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4101 
4102 
4103  def __eq__(self, arg2):
4104  """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4105  return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4106 
4107 
4108  def __init__(self, *args):
4109  """
4110  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4111  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4112  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4113  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4114  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4115  """
4116  this = _IMP_algebra.new_BoundingBox6D(*args)
4117  try:
4118  self.this.append(this)
4119  except __builtin__.Exception:
4120  self.this = this
4121 
4122  def __getitem__(self, index):
4123  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4124  return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4125 
4126 
4127  def __iadd__(self, *args):
4128  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4129  return self
4130 
4131 
4132 
4133  def __len__(self):
4134  """__len__(BoundingBox6D self) -> unsigned int"""
4135  return _IMP_algebra.BoundingBox6D___len__(self)
4136 
4137 
4138  def __add__(self, *args):
4139  """
4140  __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4141  __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4142  __add__(BoundingBox6D self, double o) -> BoundingBox6D
4143  """
4144  return _IMP_algebra.BoundingBox6D___add__(self, *args)
4145 
4146  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4147  __del__ = lambda self: None
4148 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4149 BoundingBox6D_swigregister(BoundingBox6D)
4150 
4151 class BoundingBoxKD(object):
4152  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
4153 
4154  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4155 
4156  def get_dimension(self):
4157  """get_dimension(BoundingBoxKD self) -> unsigned int"""
4158  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4159 
4160 
4161  def get_corner(self, i):
4162  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4163  return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4164 
4165 
4166  def get_contains(self, *args):
4167  """
4168  get_contains(BoundingBoxKD self, VectorKD o) -> bool
4169  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4170  """
4171  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4172 
4173 
4174  def show(self, *args):
4175  """
4176  show(BoundingBoxKD self, _ostream out)
4177  show(BoundingBoxKD self)
4178  """
4179  return _IMP_algebra.BoundingBoxKD_show(self, *args)
4180 
4181 
4182  def __str__(self):
4183  """__str__(BoundingBoxKD self) -> std::string"""
4184  return _IMP_algebra.BoundingBoxKD___str__(self)
4185 
4186 
4187  def __repr__(self):
4188  """__repr__(BoundingBoxKD self) -> std::string"""
4189  return _IMP_algebra.BoundingBoxKD___repr__(self)
4190 
4191 
4192  def __cmp__(self, arg2):
4193  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4194  return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4195 
4196 
4197  def __eq__(self, arg2):
4198  """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4199  return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4200 
4201 
4202  def __init__(self, *args):
4203  """
4204  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4205  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4206  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4207  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4208  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4209  """
4210  this = _IMP_algebra.new_BoundingBoxKD(*args)
4211  try:
4212  self.this.append(this)
4213  except __builtin__.Exception:
4214  self.this = this
4215 
4216  def __getitem__(self, index):
4217  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4218  return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4219 
4220 
4221  def __iadd__(self, *args):
4222  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4223  return self
4224 
4225 
4226 
4227  def __len__(self):
4228  """__len__(BoundingBoxKD self) -> unsigned int"""
4229  return _IMP_algebra.BoundingBoxKD___len__(self)
4230 
4231 
4232  def __add__(self, *args):
4233  """
4234  __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4235  __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4236  __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4237  """
4238  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4239 
4240  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4241  __del__ = lambda self: None
4242 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4243 BoundingBoxKD_swigregister(BoundingBoxKD)
4244 
4245 class Sphere1D(_GeometricPrimitive1D):
4246  """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
4247 
4248  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4249 
4250  def __init__(self, *args):
4251  """
4252  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4253  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4254  """
4255  this = _IMP_algebra.new_Sphere1D(*args)
4256  try:
4257  self.this.append(this)
4258  except __builtin__.Exception:
4259  self.this = this
4260 
4261  def get_radius(self):
4262  """get_radius(Sphere1D self) -> double"""
4263  return _IMP_algebra.Sphere1D_get_radius(self)
4264 
4265 
4266  def get_center(self):
4267  """get_center(Sphere1D self) -> Vector1D"""
4268  return _IMP_algebra.Sphere1D_get_center(self)
4269 
4270 
4271  def get_contains(self, *args):
4272  """
4273  get_contains(Sphere1D self, Sphere1D o) -> bool
4274  get_contains(Sphere1D self, Vector1D p) -> bool
4275  """
4276  return _IMP_algebra.Sphere1D_get_contains(self, *args)
4277 
4278 
4279  def show(self, *args):
4280  """
4281  show(Sphere1D self, _ostream out)
4282  show(Sphere1D self)
4283  """
4284  return _IMP_algebra.Sphere1D_show(self, *args)
4285 
4286 
4287  def get_dimension(self):
4288  """get_dimension(Sphere1D self) -> unsigned int"""
4289  return _IMP_algebra.Sphere1D_get_dimension(self)
4290 
4291 
4292  def __str__(self):
4293  """__str__(Sphere1D self) -> std::string"""
4294  return _IMP_algebra.Sphere1D___str__(self)
4295 
4296 
4297  def __repr__(self):
4298  """__repr__(Sphere1D self) -> std::string"""
4299  return _IMP_algebra.Sphere1D___repr__(self)
4300 
4301 
4302  def __cmp__(self, arg2):
4303  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4304  return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4305 
4306 
4307  def __eq__(self, arg2):
4308  """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4309  return _IMP_algebra.Sphere1D___eq__(self, arg2)
4310 
4311  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4312  __del__ = lambda self: None
4313 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4314 Sphere1D_swigregister(Sphere1D)
4315 
4316 class Sphere2D(_GeometricPrimitive2D):
4317  """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
4318 
4319  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4320 
4321  def __init__(self, *args):
4322  """
4323  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4324  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4325  """
4326  this = _IMP_algebra.new_Sphere2D(*args)
4327  try:
4328  self.this.append(this)
4329  except __builtin__.Exception:
4330  self.this = this
4331 
4332  def get_radius(self):
4333  """get_radius(Sphere2D self) -> double"""
4334  return _IMP_algebra.Sphere2D_get_radius(self)
4335 
4336 
4337  def get_center(self):
4338  """get_center(Sphere2D self) -> Vector2D"""
4339  return _IMP_algebra.Sphere2D_get_center(self)
4340 
4341 
4342  def get_contains(self, *args):
4343  """
4344  get_contains(Sphere2D self, Sphere2D o) -> bool
4345  get_contains(Sphere2D self, Vector2D p) -> bool
4346  """
4347  return _IMP_algebra.Sphere2D_get_contains(self, *args)
4348 
4349 
4350  def show(self, *args):
4351  """
4352  show(Sphere2D self, _ostream out)
4353  show(Sphere2D self)
4354  """
4355  return _IMP_algebra.Sphere2D_show(self, *args)
4356 
4357 
4358  def get_dimension(self):
4359  """get_dimension(Sphere2D self) -> unsigned int"""
4360  return _IMP_algebra.Sphere2D_get_dimension(self)
4361 
4362 
4363  def __str__(self):
4364  """__str__(Sphere2D self) -> std::string"""
4365  return _IMP_algebra.Sphere2D___str__(self)
4366 
4367 
4368  def __repr__(self):
4369  """__repr__(Sphere2D self) -> std::string"""
4370  return _IMP_algebra.Sphere2D___repr__(self)
4371 
4372 
4373  def __cmp__(self, arg2):
4374  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4375  return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4376 
4377 
4378  def __eq__(self, arg2):
4379  """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4380  return _IMP_algebra.Sphere2D___eq__(self, arg2)
4381 
4382  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4383  __del__ = lambda self: None
4384 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4385 Sphere2D_swigregister(Sphere2D)
4386 
4387 class Sphere3D(_GeometricPrimitive3D):
4388  """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4389 
4390  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4391 
4392  def __init__(self, *args):
4393  """
4394  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4395  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4396  """
4397  this = _IMP_algebra.new_Sphere3D(*args)
4398  try:
4399  self.this.append(this)
4400  except __builtin__.Exception:
4401  self.this = this
4402 
4403  def get_radius(self):
4404  """get_radius(Sphere3D self) -> double"""
4405  return _IMP_algebra.Sphere3D_get_radius(self)
4406 
4407 
4408  def get_center(self):
4409  """get_center(Sphere3D self) -> Vector3D"""
4410  return _IMP_algebra.Sphere3D_get_center(self)
4411 
4412 
4413  def get_contains(self, *args):
4414  """
4415  get_contains(Sphere3D self, Sphere3D o) -> bool
4416  get_contains(Sphere3D self, Vector3D p) -> bool
4417  """
4418  return _IMP_algebra.Sphere3D_get_contains(self, *args)
4419 
4420 
4421  def show(self, *args):
4422  """
4423  show(Sphere3D self, _ostream out)
4424  show(Sphere3D self)
4425  """
4426  return _IMP_algebra.Sphere3D_show(self, *args)
4427 
4428 
4429  def get_dimension(self):
4430  """get_dimension(Sphere3D self) -> unsigned int"""
4431  return _IMP_algebra.Sphere3D_get_dimension(self)
4432 
4433 
4434  def __str__(self):
4435  """__str__(Sphere3D self) -> std::string"""
4436  return _IMP_algebra.Sphere3D___str__(self)
4437 
4438 
4439  def __repr__(self):
4440  """__repr__(Sphere3D self) -> std::string"""
4441  return _IMP_algebra.Sphere3D___repr__(self)
4442 
4443 
4444  def __cmp__(self, arg2):
4445  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4446  return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4447 
4448 
4449  def __eq__(self, arg2):
4450  """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4451  return _IMP_algebra.Sphere3D___eq__(self, arg2)
4452 
4453  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4454  __del__ = lambda self: None
4455 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4456 Sphere3D_swigregister(Sphere3D)
4457 
4458 class Sphere4D(_GeometricPrimitive4D):
4459  """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4460 
4461  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4462 
4463  def __init__(self, *args):
4464  """
4465  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4466  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4467  """
4468  this = _IMP_algebra.new_Sphere4D(*args)
4469  try:
4470  self.this.append(this)
4471  except __builtin__.Exception:
4472  self.this = this
4473 
4474  def get_radius(self):
4475  """get_radius(Sphere4D self) -> double"""
4476  return _IMP_algebra.Sphere4D_get_radius(self)
4477 
4478 
4479  def get_center(self):
4480  """get_center(Sphere4D self) -> Vector4D"""
4481  return _IMP_algebra.Sphere4D_get_center(self)
4482 
4483 
4484  def get_contains(self, *args):
4485  """
4486  get_contains(Sphere4D self, Sphere4D o) -> bool
4487  get_contains(Sphere4D self, Vector4D p) -> bool
4488  """
4489  return _IMP_algebra.Sphere4D_get_contains(self, *args)
4490 
4491 
4492  def show(self, *args):
4493  """
4494  show(Sphere4D self, _ostream out)
4495  show(Sphere4D self)
4496  """
4497  return _IMP_algebra.Sphere4D_show(self, *args)
4498 
4499 
4500  def get_dimension(self):
4501  """get_dimension(Sphere4D self) -> unsigned int"""
4502  return _IMP_algebra.Sphere4D_get_dimension(self)
4503 
4504 
4505  def __str__(self):
4506  """__str__(Sphere4D self) -> std::string"""
4507  return _IMP_algebra.Sphere4D___str__(self)
4508 
4509 
4510  def __repr__(self):
4511  """__repr__(Sphere4D self) -> std::string"""
4512  return _IMP_algebra.Sphere4D___repr__(self)
4513 
4514 
4515  def __cmp__(self, arg2):
4516  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4517  return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4518 
4519 
4520  def __eq__(self, arg2):
4521  """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4522  return _IMP_algebra.Sphere4D___eq__(self, arg2)
4523 
4524  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4525  __del__ = lambda self: None
4526 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4527 Sphere4D_swigregister(Sphere4D)
4528 
4529 class Sphere5D(_GeometricPrimitive5D):
4530  """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4531 
4532  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4533 
4534  def __init__(self, *args):
4535  """
4536  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4537  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4538  """
4539  this = _IMP_algebra.new_Sphere5D(*args)
4540  try:
4541  self.this.append(this)
4542  except __builtin__.Exception:
4543  self.this = this
4544 
4545  def get_radius(self):
4546  """get_radius(Sphere5D self) -> double"""
4547  return _IMP_algebra.Sphere5D_get_radius(self)
4548 
4549 
4550  def get_center(self):
4551  """get_center(Sphere5D self) -> Vector5D"""
4552  return _IMP_algebra.Sphere5D_get_center(self)
4553 
4554 
4555  def get_contains(self, *args):
4556  """
4557  get_contains(Sphere5D self, Sphere5D o) -> bool
4558  get_contains(Sphere5D self, Vector5D p) -> bool
4559  """
4560  return _IMP_algebra.Sphere5D_get_contains(self, *args)
4561 
4562 
4563  def show(self, *args):
4564  """
4565  show(Sphere5D self, _ostream out)
4566  show(Sphere5D self)
4567  """
4568  return _IMP_algebra.Sphere5D_show(self, *args)
4569 
4570 
4571  def get_dimension(self):
4572  """get_dimension(Sphere5D self) -> unsigned int"""
4573  return _IMP_algebra.Sphere5D_get_dimension(self)
4574 
4575 
4576  def __str__(self):
4577  """__str__(Sphere5D self) -> std::string"""
4578  return _IMP_algebra.Sphere5D___str__(self)
4579 
4580 
4581  def __repr__(self):
4582  """__repr__(Sphere5D self) -> std::string"""
4583  return _IMP_algebra.Sphere5D___repr__(self)
4584 
4585 
4586  def __cmp__(self, arg2):
4587  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4588  return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4589 
4590 
4591  def __eq__(self, arg2):
4592  """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4593  return _IMP_algebra.Sphere5D___eq__(self, arg2)
4594 
4595  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4596  __del__ = lambda self: None
4597 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4598 Sphere5D_swigregister(Sphere5D)
4599 
4600 class Sphere6D(_GeometricPrimitive6D):
4601  """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4602 
4603  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4604 
4605  def __init__(self, *args):
4606  """
4607  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4608  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4609  """
4610  this = _IMP_algebra.new_Sphere6D(*args)
4611  try:
4612  self.this.append(this)
4613  except __builtin__.Exception:
4614  self.this = this
4615 
4616  def get_radius(self):
4617  """get_radius(Sphere6D self) -> double"""
4618  return _IMP_algebra.Sphere6D_get_radius(self)
4619 
4620 
4621  def get_center(self):
4622  """get_center(Sphere6D self) -> Vector6D"""
4623  return _IMP_algebra.Sphere6D_get_center(self)
4624 
4625 
4626  def get_contains(self, *args):
4627  """
4628  get_contains(Sphere6D self, Sphere6D o) -> bool
4629  get_contains(Sphere6D self, Vector6D p) -> bool
4630  """
4631  return _IMP_algebra.Sphere6D_get_contains(self, *args)
4632 
4633 
4634  def show(self, *args):
4635  """
4636  show(Sphere6D self, _ostream out)
4637  show(Sphere6D self)
4638  """
4639  return _IMP_algebra.Sphere6D_show(self, *args)
4640 
4641 
4642  def get_dimension(self):
4643  """get_dimension(Sphere6D self) -> unsigned int"""
4644  return _IMP_algebra.Sphere6D_get_dimension(self)
4645 
4646 
4647  def __str__(self):
4648  """__str__(Sphere6D self) -> std::string"""
4649  return _IMP_algebra.Sphere6D___str__(self)
4650 
4651 
4652  def __repr__(self):
4653  """__repr__(Sphere6D self) -> std::string"""
4654  return _IMP_algebra.Sphere6D___repr__(self)
4655 
4656 
4657  def __cmp__(self, arg2):
4658  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4659  return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4660 
4661 
4662  def __eq__(self, arg2):
4663  """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4664  return _IMP_algebra.Sphere6D___eq__(self, arg2)
4665 
4666  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4667  __del__ = lambda self: None
4668 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4669 Sphere6D_swigregister(Sphere6D)
4670 
4671 class SphereKD(_GeometricPrimitiveKD):
4672  """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4673 
4674  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4675 
4676  def __init__(self, *args):
4677  """
4678  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4679  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4680  """
4681  this = _IMP_algebra.new_SphereKD(*args)
4682  try:
4683  self.this.append(this)
4684  except __builtin__.Exception:
4685  self.this = this
4686 
4687  def get_radius(self):
4688  """get_radius(SphereKD self) -> double"""
4689  return _IMP_algebra.SphereKD_get_radius(self)
4690 
4691 
4692  def get_center(self):
4693  """get_center(SphereKD self) -> VectorKD"""
4694  return _IMP_algebra.SphereKD_get_center(self)
4695 
4696 
4697  def get_contains(self, *args):
4698  """
4699  get_contains(SphereKD self, SphereKD o) -> bool
4700  get_contains(SphereKD self, VectorKD p) -> bool
4701  """
4702  return _IMP_algebra.SphereKD_get_contains(self, *args)
4703 
4704 
4705  def show(self, *args):
4706  """
4707  show(SphereKD self, _ostream out)
4708  show(SphereKD self)
4709  """
4710  return _IMP_algebra.SphereKD_show(self, *args)
4711 
4712 
4713  def get_dimension(self):
4714  """get_dimension(SphereKD self) -> unsigned int"""
4715  return _IMP_algebra.SphereKD_get_dimension(self)
4716 
4717 
4718  def __str__(self):
4719  """__str__(SphereKD self) -> std::string"""
4720  return _IMP_algebra.SphereKD___str__(self)
4721 
4722 
4723  def __repr__(self):
4724  """__repr__(SphereKD self) -> std::string"""
4725  return _IMP_algebra.SphereKD___repr__(self)
4726 
4727 
4728  def __cmp__(self, arg2):
4729  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4730  return _IMP_algebra.SphereKD___cmp__(self, arg2)
4731 
4732 
4733  def __eq__(self, arg2):
4734  """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4735  return _IMP_algebra.SphereKD___eq__(self, arg2)
4736 
4737  __swig_destroy__ = _IMP_algebra.delete_SphereKD
4738  __del__ = lambda self: None
4739 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4740 SphereKD_swigregister(SphereKD)
4741 
4742 class UnitSimplex1D(_UnitSimplexBase1D):
4743  """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class."""
4744 
4745  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4746 
4747  def __init__(self):
4748  """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
4749  this = _IMP_algebra.new_UnitSimplex1D()
4750  try:
4751  self.this.append(this)
4752  except __builtin__.Exception:
4753  self.this = this
4754 
4755  def show(self, *args):
4756  """
4757  show(UnitSimplex1D self, _ostream out)
4758  show(UnitSimplex1D self)
4759  """
4760  return _IMP_algebra.UnitSimplex1D_show(self, *args)
4761 
4762 
4763  def __str__(self):
4764  """__str__(UnitSimplex1D self) -> std::string"""
4765  return _IMP_algebra.UnitSimplex1D___str__(self)
4766 
4767 
4768  def __repr__(self):
4769  """__repr__(UnitSimplex1D self) -> std::string"""
4770  return _IMP_algebra.UnitSimplex1D___repr__(self)
4771 
4772 
4773  def __cmp__(self, arg2):
4774  """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
4775  return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
4776 
4777 
4778  def __eq__(self, arg2):
4779  """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
4780  return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
4781 
4782  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
4783  __del__ = lambda self: None
4784 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
4785 UnitSimplex1D_swigregister(UnitSimplex1D)
4786 
4787 class UnitSimplex2D(_UnitSimplexBase2D):
4788  """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class."""
4789 
4790  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4791 
4792  def __init__(self):
4793  """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
4794  this = _IMP_algebra.new_UnitSimplex2D()
4795  try:
4796  self.this.append(this)
4797  except __builtin__.Exception:
4798  self.this = this
4799 
4800  def show(self, *args):
4801  """
4802  show(UnitSimplex2D self, _ostream out)
4803  show(UnitSimplex2D self)
4804  """
4805  return _IMP_algebra.UnitSimplex2D_show(self, *args)
4806 
4807 
4808  def __str__(self):
4809  """__str__(UnitSimplex2D self) -> std::string"""
4810  return _IMP_algebra.UnitSimplex2D___str__(self)
4811 
4812 
4813  def __repr__(self):
4814  """__repr__(UnitSimplex2D self) -> std::string"""
4815  return _IMP_algebra.UnitSimplex2D___repr__(self)
4816 
4817 
4818  def __cmp__(self, arg2):
4819  """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
4820  return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
4821 
4822 
4823  def __eq__(self, arg2):
4824  """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
4825  return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
4826 
4827  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
4828  __del__ = lambda self: None
4829 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
4830 UnitSimplex2D_swigregister(UnitSimplex2D)
4831 
4832 class UnitSimplex3D(_UnitSimplexBase3D):
4833  """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class."""
4834 
4835  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4836 
4837  def __init__(self):
4838  """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
4839  this = _IMP_algebra.new_UnitSimplex3D()
4840  try:
4841  self.this.append(this)
4842  except __builtin__.Exception:
4843  self.this = this
4844 
4845  def show(self, *args):
4846  """
4847  show(UnitSimplex3D self, _ostream out)
4848  show(UnitSimplex3D self)
4849  """
4850  return _IMP_algebra.UnitSimplex3D_show(self, *args)
4851 
4852 
4853  def __str__(self):
4854  """__str__(UnitSimplex3D self) -> std::string"""
4855  return _IMP_algebra.UnitSimplex3D___str__(self)
4856 
4857 
4858  def __repr__(self):
4859  """__repr__(UnitSimplex3D self) -> std::string"""
4860  return _IMP_algebra.UnitSimplex3D___repr__(self)
4861 
4862 
4863  def __cmp__(self, arg2):
4864  """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
4865  return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
4866 
4867 
4868  def __eq__(self, arg2):
4869  """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
4870  return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
4871 
4872  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
4873  __del__ = lambda self: None
4874 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
4875 UnitSimplex3D_swigregister(UnitSimplex3D)
4876 
4877 class UnitSimplex4D(_UnitSimplexBase4D):
4878  """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class."""
4879 
4880  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4881 
4882  def __init__(self):
4883  """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
4884  this = _IMP_algebra.new_UnitSimplex4D()
4885  try:
4886  self.this.append(this)
4887  except __builtin__.Exception:
4888  self.this = this
4889 
4890  def show(self, *args):
4891  """
4892  show(UnitSimplex4D self, _ostream out)
4893  show(UnitSimplex4D self)
4894  """
4895  return _IMP_algebra.UnitSimplex4D_show(self, *args)
4896 
4897 
4898  def __str__(self):
4899  """__str__(UnitSimplex4D self) -> std::string"""
4900  return _IMP_algebra.UnitSimplex4D___str__(self)
4901 
4902 
4903  def __repr__(self):
4904  """__repr__(UnitSimplex4D self) -> std::string"""
4905  return _IMP_algebra.UnitSimplex4D___repr__(self)
4906 
4907 
4908  def __cmp__(self, arg2):
4909  """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
4910  return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
4911 
4912 
4913  def __eq__(self, arg2):
4914  """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
4915  return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
4916 
4917  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
4918  __del__ = lambda self: None
4919 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
4920 UnitSimplex4D_swigregister(UnitSimplex4D)
4921 
4922 class UnitSimplex5D(_UnitSimplexBase5D):
4923  """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class."""
4924 
4925  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4926 
4927  def __init__(self):
4928  """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
4929  this = _IMP_algebra.new_UnitSimplex5D()
4930  try:
4931  self.this.append(this)
4932  except __builtin__.Exception:
4933  self.this = this
4934 
4935  def show(self, *args):
4936  """
4937  show(UnitSimplex5D self, _ostream out)
4938  show(UnitSimplex5D self)
4939  """
4940  return _IMP_algebra.UnitSimplex5D_show(self, *args)
4941 
4942 
4943  def __str__(self):
4944  """__str__(UnitSimplex5D self) -> std::string"""
4945  return _IMP_algebra.UnitSimplex5D___str__(self)
4946 
4947 
4948  def __repr__(self):
4949  """__repr__(UnitSimplex5D self) -> std::string"""
4950  return _IMP_algebra.UnitSimplex5D___repr__(self)
4951 
4952 
4953  def __cmp__(self, arg2):
4954  """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
4955  return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
4956 
4957 
4958  def __eq__(self, arg2):
4959  """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
4960  return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
4961 
4962  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
4963  __del__ = lambda self: None
4964 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
4965 UnitSimplex5D_swigregister(UnitSimplex5D)
4966 
4967 class UnitSimplex6D(_UnitSimplexBase6D):
4968  """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class."""
4969 
4970  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4971 
4972  def __init__(self):
4973  """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
4974  this = _IMP_algebra.new_UnitSimplex6D()
4975  try:
4976  self.this.append(this)
4977  except __builtin__.Exception:
4978  self.this = this
4979 
4980  def show(self, *args):
4981  """
4982  show(UnitSimplex6D self, _ostream out)
4983  show(UnitSimplex6D self)
4984  """
4985  return _IMP_algebra.UnitSimplex6D_show(self, *args)
4986 
4987 
4988  def __str__(self):
4989  """__str__(UnitSimplex6D self) -> std::string"""
4990  return _IMP_algebra.UnitSimplex6D___str__(self)
4991 
4992 
4993  def __repr__(self):
4994  """__repr__(UnitSimplex6D self) -> std::string"""
4995  return _IMP_algebra.UnitSimplex6D___repr__(self)
4996 
4997 
4998  def __cmp__(self, arg2):
4999  """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5000  return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5001 
5002 
5003  def __eq__(self, arg2):
5004  """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5005  return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5006 
5007  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5008  __del__ = lambda self: None
5009 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5010 UnitSimplex6D_swigregister(UnitSimplex6D)
5011 
5012 class UnitSimplexKD(_UnitSimplexBaseKD):
5013  """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class."""
5014 
5015  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5016  __repr__ = _swig_repr
5017 
5018  def __init__(self, d=1):
5019  """
5020  __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5021  __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5022  """
5023  this = _IMP_algebra.new_UnitSimplexKD(d)
5024  try:
5025  self.this.append(this)
5026  except __builtin__.Exception:
5027  self.this = this
5028 
5029  def show(self, *args):
5030  """
5031  show(UnitSimplexKD self, _ostream out)
5032  show(UnitSimplexKD self)
5033  """
5034  return _IMP_algebra.UnitSimplexKD_show(self, *args)
5035 
5036  __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5037  __del__ = lambda self: None
5038 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5039 UnitSimplexKD_swigregister(UnitSimplexKD)
5040 
5041 class ReferenceFrame3D(object):
5042  """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
5043 
5044  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5045 
5046  def __init__(self, *args):
5047  """
5048  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5049  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5050  """
5051  this = _IMP_algebra.new_ReferenceFrame3D(*args)
5052  try:
5053  self.this.append(this)
5054  except __builtin__.Exception:
5055  self.this = this
5056  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5057  __del__ = lambda self: None
5058 
5059  def get_transformation_to(self):
5060  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5061  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5062 
5063 
5064  def get_transformation_from(self):
5065  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5066  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5067 
5068 
5069  def get_global_coordinates(self, v):
5070  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5071  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5072 
5073 
5074  def get_local_coordinates(self, v):
5075  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5076  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5077 
5078 
5079  def get_global_reference_frame(self, v):
5080  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5081  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5082 
5083 
5084  def get_local_reference_frame(self, v):
5085  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5086  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
5087 
5088 
5089  def show(self, *args):
5090  """
5091  show(ReferenceFrame3D self, _ostream out)
5092  show(ReferenceFrame3D self)
5093  """
5094  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
5095 
5096 
5097  def __str__(self):
5098  """__str__(ReferenceFrame3D self) -> std::string"""
5099  return _IMP_algebra.ReferenceFrame3D___str__(self)
5100 
5101 
5102  def __repr__(self):
5103  """__repr__(ReferenceFrame3D self) -> std::string"""
5104  return _IMP_algebra.ReferenceFrame3D___repr__(self)
5105 
5106 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
5107 ReferenceFrame3D_swigregister(ReferenceFrame3D)
5108 
5109 
5110 def get_transformed(*args):
5111  """
5112  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
5113  get_transformed(Line3D l, Transformation3D tr) -> Line3D
5114  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
5115  """
5116  return _IMP_algebra.get_transformed(*args)
5117 
5118 def get_transformation_from_first_to_second(a, b):
5119  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
5120  return _IMP_algebra.get_transformation_from_first_to_second(a, b)
5121 class SphericalVector3D(_GeometricPrimitive3D):
5122  """Proxy of C++ IMP::algebra::SphericalVector3D class."""
5123 
5124  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5125 
5126  def __init__(self, *args):
5127  """
5128  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
5129  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
5130  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
5131  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
5132  """
5133  this = _IMP_algebra.new_SphericalVector3D(*args)
5134  try:
5135  self.this.append(this)
5136  except __builtin__.Exception:
5137  self.this = this
5138 
5139  def get_cartesian_coordinates(self):
5140  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
5141  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
5142 
5143 
5144  def show(self, *args):
5145  """
5146  show(SphericalVector3D self, _ostream out)
5147  show(SphericalVector3D self)
5148  """
5149  return _IMP_algebra.SphericalVector3D_show(self, *args)
5150 
5151 
5152  def __str__(self):
5153  """__str__(SphericalVector3D self) -> std::string"""
5154  return _IMP_algebra.SphericalVector3D___str__(self)
5155 
5156 
5157  def __repr__(self):
5158  """__repr__(SphericalVector3D self) -> std::string"""
5159  return _IMP_algebra.SphericalVector3D___repr__(self)
5160 
5161 
5162  def __getitem__(self, index):
5163  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
5164  return _IMP_algebra.SphericalVector3D___getitem__(self, index)
5165 
5166 
5167  def __setitem__(self, index, val):
5168  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
5169  return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
5170 
5171  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
5172  __del__ = lambda self: None
5173 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
5174 SphericalVector3D_swigregister(SphericalVector3D)
5175 
5176 
5177 def get_alignments_from_first_to_second(pca1, pca2):
5178  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
5179  return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
5180 class Line3D(_GeometricPrimitive3D):
5181  """Proxy of C++ IMP::algebra::Line3D class."""
5182 
5183  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5184 
5185  def __init__(self, *args):
5186  """
5187  __init__(IMP::algebra::Line3D self) -> Line3D
5188  __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
5189  __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
5190  """
5191  this = _IMP_algebra.new_Line3D(*args)
5192  try:
5193  self.this.append(this)
5194  except __builtin__.Exception:
5195  self.this = this
5196 
5197  def get_direction(self):
5198  """get_direction(Line3D self) -> Vector3D"""
5199  return _IMP_algebra.Line3D_get_direction(self)
5200 
5201 
5202  def get_point_on_line(self):
5203  """get_point_on_line(Line3D self) -> Vector3D"""
5204  return _IMP_algebra.Line3D_get_point_on_line(self)
5205 
5206 
5207  def get_moment(self, *args):
5208  """
5209  get_moment(Line3D self) -> Vector3D
5210  get_moment(Line3D self, Vector3D v) -> Vector3D
5211  """
5212  return _IMP_algebra.Line3D_get_moment(self, *args)
5213 
5214 
5215  def get_reciprocal_product(self, l):
5216  """get_reciprocal_product(Line3D self, Line3D l) -> double"""
5217  return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
5218 
5219 
5220  def get_opposite(self):
5221  """get_opposite(Line3D self) -> Line3D"""
5222  return _IMP_algebra.Line3D_get_opposite(self)
5223 
5224 
5225  def get_segment_starting_at(self, v, d):
5226  """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
5227  return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
5228 
5229 
5230  def show(self, *args):
5231  """
5232  show(Line3D self, _ostream out)
5233  show(Line3D self)
5234  """
5235  return _IMP_algebra.Line3D_show(self, *args)
5236 
5237 
5238  def __str__(self):
5239  """__str__(Line3D self) -> std::string"""
5240  return _IMP_algebra.Line3D___str__(self)
5241 
5242 
5243  def __repr__(self):
5244  """__repr__(Line3D self) -> std::string"""
5245  return _IMP_algebra.Line3D___repr__(self)
5246 
5247  __swig_destroy__ = _IMP_algebra.delete_Line3D
5248  __del__ = lambda self: None
5249 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
5250 Line3D_swigregister(Line3D)
5251 
5252 
5253 def get_line_3d_geometry(g):
5254  """get_line_3d_geometry(Line3D g) -> Line3D"""
5255  return _IMP_algebra.get_line_3d_geometry(g)
5256 
5257 def get_angle(a, b):
5258  """get_angle(Line3D a, Line3D b) -> double"""
5259  return _IMP_algebra.get_angle(a, b)
5260 
5262  """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
5263  return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
5264 class Segment3D(_GeometricPrimitive3D):
5265  """Proxy of C++ IMP::algebra::Segment3D class."""
5266 
5267  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5268 
5269  def __init__(self, *args):
5270  """
5271  __init__(IMP::algebra::Segment3D self) -> Segment3D
5272  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
5273  """
5274  this = _IMP_algebra.new_Segment3D(*args)
5275  try:
5276  self.this.append(this)
5277  except __builtin__.Exception:
5278  self.this = this
5279 
5280  def get_point(self, i):
5281  if i < 0 or i >= 2:
5282  raise IMP.UsageException("Invalid point index")
5283  return _IMP_algebra.Segment3D_get_point(self, i)
5284 
5285 
5286 
5287  def get_middle_point(self):
5288  """get_middle_point(Segment3D self) -> Vector3D"""
5289  return _IMP_algebra.Segment3D_get_middle_point(self)
5290 
5291 
5292  def get_direction(self):
5293  """get_direction(Segment3D self) -> Vector3D"""
5294  return _IMP_algebra.Segment3D_get_direction(self)
5295 
5296 
5297  def get_length(self):
5298  """get_length(Segment3D self) -> double"""
5299  return _IMP_algebra.Segment3D_get_length(self)
5300 
5301 
5302  def show(self, *args):
5303  """
5304  show(Segment3D self, _ostream out)
5305  show(Segment3D self)
5306  """
5307  return _IMP_algebra.Segment3D_show(self, *args)
5308 
5309 
5310  def __str__(self):
5311  """__str__(Segment3D self) -> std::string"""
5312  return _IMP_algebra.Segment3D___str__(self)
5313 
5314 
5315  def __repr__(self):
5316  """__repr__(Segment3D self) -> std::string"""
5317  return _IMP_algebra.Segment3D___repr__(self)
5318 
5319  __swig_destroy__ = _IMP_algebra.delete_Segment3D
5320  __del__ = lambda self: None
5321 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
5322 Segment3D_swigregister(Segment3D)
5323 
5324 
5325 def get_segment_3d_geometry(g):
5326  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
5327  return _IMP_algebra.get_segment_3d_geometry(g)
5328 
5330  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
5331  return _IMP_algebra.get_relative_projection_on_segment(s, p)
5332 class Triangle3D(_GeometricPrimitive3D):
5333  """Proxy of C++ IMP::algebra::Triangle3D class."""
5334 
5335  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5336 
5337  def __init__(self, *args):
5338  """
5339  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
5340  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
5341  """
5342  this = _IMP_algebra.new_Triangle3D(*args)
5343  try:
5344  self.this.append(this)
5345  except __builtin__.Exception:
5346  self.this = this
5347 
5348  def get_point(self, i):
5349  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
5350  return _IMP_algebra.Triangle3D_get_point(self, i)
5351 
5352 
5353  def show(self, *args):
5354  """
5355  show(Triangle3D self, _ostream out)
5356  show(Triangle3D self)
5357  """
5358  return _IMP_algebra.Triangle3D_show(self, *args)
5359 
5360 
5361  def get_edge_lengths(self):
5362  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
5363  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
5364 
5365 
5366  def __str__(self):
5367  """__str__(Triangle3D self) -> std::string"""
5368  return _IMP_algebra.Triangle3D___str__(self)
5369 
5370 
5371  def __repr__(self):
5372  """__repr__(Triangle3D self) -> std::string"""
5373  return _IMP_algebra.Triangle3D___repr__(self)
5374 
5375  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
5376  __del__ = lambda self: None
5377 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
5378 Triangle3D_swigregister(Triangle3D)
5379 
5380 
5381 def get_largest_triangle(points):
5382  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
5383  return _IMP_algebra.get_largest_triangle(points)
5384 
5385 def get_transformation_from_first_triangle_to_second(first_tri, second_tri):
5386  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
5387  return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
5388 
5389 def get_are_colinear(p1, p2, p3):
5390  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
5391  return _IMP_algebra.get_are_colinear(p1, p2, p3)
5392 class LinearFit2D(_GeometricPrimitive2D):
5393  """Proxy of C++ IMP::algebra::LinearFit2D class."""
5394 
5395  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5396 
5397  def __init__(self, *args):
5398  """
5399  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
5400  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
5401  """
5402  this = _IMP_algebra.new_LinearFit2D(*args)
5403  try:
5404  self.this.append(this)
5405  except __builtin__.Exception:
5406  self.this = this
5407 
5408  def get_fit_error(self):
5409  """get_fit_error(LinearFit2D self) -> double"""
5410  return _IMP_algebra.LinearFit2D_get_fit_error(self)
5411 
5412 
5413  def get_a(self):
5414  """get_a(LinearFit2D self) -> double"""
5415  return _IMP_algebra.LinearFit2D_get_a(self)
5416 
5417 
5418  def get_b(self):
5419  """get_b(LinearFit2D self) -> double"""
5420  return _IMP_algebra.LinearFit2D_get_b(self)
5421 
5422 
5423  def show(self, *args):
5424  """
5425  show(LinearFit2D self, _ostream out)
5426  show(LinearFit2D self)
5427  """
5428  return _IMP_algebra.LinearFit2D_show(self, *args)
5429 
5430 
5431  def __str__(self):
5432  """__str__(LinearFit2D self) -> std::string"""
5433  return _IMP_algebra.LinearFit2D___str__(self)
5434 
5435 
5436  def __repr__(self):
5437  """__repr__(LinearFit2D self) -> std::string"""
5438  return _IMP_algebra.LinearFit2D___repr__(self)
5439 
5440  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
5441  __del__ = lambda self: None
5442 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
5443 LinearFit2D_swigregister(LinearFit2D)
5444 
5445 class ParabolicFit2D(_GeometricPrimitive2D):
5446  """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
5447 
5448  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5449 
5450  def __init__(self, data):
5451  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
5452  this = _IMP_algebra.new_ParabolicFit2D(data)
5453  try:
5454  self.this.append(this)
5455  except __builtin__.Exception:
5456  self.this = this
5457 
5458  def get_fit_error(self):
5459  """get_fit_error(ParabolicFit2D self) -> double"""
5460  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
5461 
5462 
5463  def get_a(self):
5464  """get_a(ParabolicFit2D self) -> double"""
5465  return _IMP_algebra.ParabolicFit2D_get_a(self)
5466 
5467 
5468  def get_b(self):
5469  """get_b(ParabolicFit2D self) -> double"""
5470  return _IMP_algebra.ParabolicFit2D_get_b(self)
5471 
5472 
5473  def get_c(self):
5474  """get_c(ParabolicFit2D self) -> double"""
5475  return _IMP_algebra.ParabolicFit2D_get_c(self)
5476 
5477 
5478  def show(self, *args):
5479  """
5480  show(ParabolicFit2D self, _ostream out)
5481  show(ParabolicFit2D self)
5482  """
5483  return _IMP_algebra.ParabolicFit2D_show(self, *args)
5484 
5485 
5486  def __str__(self):
5487  """__str__(ParabolicFit2D self) -> std::string"""
5488  return _IMP_algebra.ParabolicFit2D___str__(self)
5489 
5490 
5491  def __repr__(self):
5492  """__repr__(ParabolicFit2D self) -> std::string"""
5493  return _IMP_algebra.ParabolicFit2D___repr__(self)
5494 
5495  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
5496  __del__ = lambda self: None
5497 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
5498 ParabolicFit2D_swigregister(ParabolicFit2D)
5499 
5500 class Plane3D(_GeometricPrimitive3D):
5501  """Proxy of C++ IMP::algebra::Plane3D class."""
5502 
5503  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5504 
5505  def __init__(self, *args):
5506  """
5507  __init__(IMP::algebra::Plane3D self) -> Plane3D
5508  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
5509  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
5510  """
5511  this = _IMP_algebra.new_Plane3D(*args)
5512  try:
5513  self.this.append(this)
5514  except __builtin__.Exception:
5515  self.this = this
5516 
5517  def get_point_on_plane(self):
5518  """get_point_on_plane(Plane3D self) -> Vector3D"""
5519  return _IMP_algebra.Plane3D_get_point_on_plane(self)
5520 
5521 
5522  def get_normal(self):
5523  """get_normal(Plane3D self) -> Vector3D"""
5524  return _IMP_algebra.Plane3D_get_normal(self)
5525 
5526 
5527  def get_projected(self, p):
5528  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
5529  return _IMP_algebra.Plane3D_get_projected(self, p)
5530 
5531 
5532  def get_is_above(self, p):
5533  """get_is_above(Plane3D self, Vector3D p) -> bool"""
5534  return _IMP_algebra.Plane3D_get_is_above(self, p)
5535 
5536 
5537  def get_is_below(self, p):
5538  """get_is_below(Plane3D self, Vector3D p) -> bool"""
5539  return _IMP_algebra.Plane3D_get_is_below(self, p)
5540 
5541 
5542  def get_height(self, p):
5543  """get_height(Plane3D self, Vector3D p) -> double"""
5544  return _IMP_algebra.Plane3D_get_height(self, p)
5545 
5546 
5547  def show(self, *args):
5548  """
5549  show(Plane3D self, _ostream out)
5550  show(Plane3D self)
5551  """
5552  return _IMP_algebra.Plane3D_show(self, *args)
5553 
5554 
5555  def get_opposite(self):
5556  """get_opposite(Plane3D self) -> Plane3D"""
5557  return _IMP_algebra.Plane3D_get_opposite(self)
5558 
5559 
5560  def get_distance_from_origin(self):
5561  """get_distance_from_origin(Plane3D self) -> double"""
5562  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
5563 
5564 
5565  def __str__(self):
5566  """__str__(Plane3D self) -> std::string"""
5567  return _IMP_algebra.Plane3D___str__(self)
5568 
5569 
5570  def __repr__(self):
5571  """__repr__(Plane3D self) -> std::string"""
5572  return _IMP_algebra.Plane3D___repr__(self)
5573 
5574  __swig_destroy__ = _IMP_algebra.delete_Plane3D
5575  __del__ = lambda self: None
5576 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
5577 Plane3D_swigregister(Plane3D)
5578 
5579 
5580 def get_reflected(pln, p):
5581  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
5582  return _IMP_algebra.get_reflected(pln, p)
5583 
5584 def get_plane_3d_geometry(g):
5585  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
5586  return _IMP_algebra.get_plane_3d_geometry(g)
5587 class Reflection3D(_GeometricPrimitive3D):
5588  """Proxy of C++ IMP::algebra::Reflection3D class."""
5589 
5590  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5591 
5592  def __init__(self, *args):
5593  """
5594  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
5595  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
5596  """
5597  this = _IMP_algebra.new_Reflection3D(*args)
5598  try:
5599  self.this.append(this)
5600  except __builtin__.Exception:
5601  self.this = this
5602 
5603  def get_reflected(self, v):
5604  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
5605  return _IMP_algebra.Reflection3D_get_reflected(self, v)
5606 
5607 
5608  def show(self, *args):
5609  """
5610  show(Reflection3D self, _ostream out)
5611  show(Reflection3D self)
5612  """
5613  return _IMP_algebra.Reflection3D_show(self, *args)
5614 
5615 
5616  def __str__(self):
5617  """__str__(Reflection3D self) -> std::string"""
5618  return _IMP_algebra.Reflection3D___str__(self)
5619 
5620 
5621  def __repr__(self):
5622  """__repr__(Reflection3D self) -> std::string"""
5623  return _IMP_algebra.Reflection3D___repr__(self)
5624 
5625  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
5626  __del__ = lambda self: None
5627 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
5628 Reflection3D_swigregister(Reflection3D)
5629 
5630 class Cylinder3D(_GeometricPrimitive3D):
5631  """Proxy of C++ IMP::algebra::Cylinder3D class."""
5632 
5633  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5634 
5635  def __init__(self, *args):
5636  """
5637  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5638  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5639  """
5640  this = _IMP_algebra.new_Cylinder3D(*args)
5641  try:
5642  self.this.append(this)
5643  except __builtin__.Exception:
5644  self.this = this
5645 
5646  def get_radius(self):
5647  """get_radius(Cylinder3D self) -> double"""
5648  return _IMP_algebra.Cylinder3D_get_radius(self)
5649 
5650 
5651  def get_segment(self):
5652  """get_segment(Cylinder3D self) -> Segment3D"""
5653  return _IMP_algebra.Cylinder3D_get_segment(self)
5654 
5655 
5656  def get_surface_point_at(self, relative_height, angle):
5657  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5658  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5659 
5660 
5661  def get_inner_point_at(self, relative_height, relative_radius, angle):
5662  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5663  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5664 
5665 
5666  def show(self, *args):
5667  """
5668  show(Cylinder3D self, _ostream out)
5669  show(Cylinder3D self)
5670  """
5671  return _IMP_algebra.Cylinder3D_show(self, *args)
5672 
5673 
5674  def __str__(self):
5675  """__str__(Cylinder3D self) -> std::string"""
5676  return _IMP_algebra.Cylinder3D___str__(self)
5677 
5678 
5679  def __repr__(self):
5680  """__repr__(Cylinder3D self) -> std::string"""
5681  return _IMP_algebra.Cylinder3D___repr__(self)
5682 
5683  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5684  __del__ = lambda self: None
5685 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5686 Cylinder3D_swigregister(Cylinder3D)
5687 
5688 
5689 def get_cylinder_3d_geometry(g):
5690  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5691  return _IMP_algebra.get_cylinder_3d_geometry(g)
5692 class Ellipsoid3D(_GeometricPrimitive3D):
5693  """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5694 
5695  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5696 
5697  def __init__(self, *args):
5698  """
5699  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5700  __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5701  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5702  """
5703  this = _IMP_algebra.new_Ellipsoid3D(*args)
5704  try:
5705  self.this.append(this)
5706  except __builtin__.Exception:
5707  self.this = this
5708 
5709  def get_radii(self):
5710  """get_radii(Ellipsoid3D self) -> Vector3D"""
5711  return _IMP_algebra.Ellipsoid3D_get_radii(self)
5712 
5713 
5714  def get_reference_frame(self):
5715  """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5716  return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5717 
5718 
5719  def show(self, *args):
5720  """
5721  show(Ellipsoid3D self, _ostream out)
5722  show(Ellipsoid3D self)
5723  """
5724  return _IMP_algebra.Ellipsoid3D_show(self, *args)
5725 
5726 
5727  def __str__(self):
5728  """__str__(Ellipsoid3D self) -> std::string"""
5729  return _IMP_algebra.Ellipsoid3D___str__(self)
5730 
5731 
5732  def __repr__(self):
5733  """__repr__(Ellipsoid3D self) -> std::string"""
5734  return _IMP_algebra.Ellipsoid3D___repr__(self)
5735 
5736  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5737  __del__ = lambda self: None
5738 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5739 Ellipsoid3D_swigregister(Ellipsoid3D)
5740 
5741 
5742 def get_ellipsoid_3d_geometry(g):
5743  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5744  return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5745 class ConnollySurfacePoint(object):
5746  """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5747 
5748  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5749 
5750  def __init__(self, a0, a1, a2, sp, a, n):
5751  """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5752  this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5753  try:
5754  self.this.append(this)
5755  except __builtin__.Exception:
5756  self.this = this
5757 
5758  def get_atom(self, i):
5759  """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5760  return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5761 
5762 
5763  def get_surface_point(self):
5764  """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5765  return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5766 
5767 
5768  def get_area(self):
5769  """get_area(ConnollySurfacePoint self) -> double"""
5770  return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5771 
5772 
5773  def get_normal(self):
5774  """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5775  return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5776 
5777 
5778  def show(self, *args):
5779  """
5780  show(ConnollySurfacePoint self, _ostream out)
5781  show(ConnollySurfacePoint self)
5782  """
5783  return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5784 
5785 
5786  def __str__(self):
5787  """__str__(ConnollySurfacePoint self) -> std::string"""
5788  return _IMP_algebra.ConnollySurfacePoint___str__(self)
5789 
5790 
5791  def __repr__(self):
5792  """__repr__(ConnollySurfacePoint self) -> std::string"""
5793  return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5794 
5795  __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5796  __del__ = lambda self: None
5797 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5798 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5799 
5800 
5801 def get_connolly_surface(spheres, density, probe_radius):
5802  """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5803  return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5804 class LogEmbedding3D(object):
5805  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5806 
5807  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5808 
5809  def __init__(self, *args):
5810  """
5811  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5812  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5813  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5814  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5815  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5816  """
5817  this = _IMP_algebra.new_LogEmbedding3D(*args)
5818  try:
5819  self.this.append(this)
5820  except __builtin__.Exception:
5821  self.this = this
5822 
5823  def set_origin(self, o):
5824  """set_origin(LogEmbedding3D self, Vector3D o)"""
5825  return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5826 
5827 
5828  def get_origin(self):
5829  """get_origin(LogEmbedding3D self) -> Vector3D"""
5830  return _IMP_algebra.LogEmbedding3D_get_origin(self)
5831 
5832 
5833  def get_dimension(self):
5834  """get_dimension(LogEmbedding3D self) -> unsigned int"""
5835  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5836 
5837 
5838  def set_unit_cell(self, *args):
5839  """
5840  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5841  set_unit_cell(LogEmbedding3D self, Vector3D o)
5842  """
5843  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5844 
5845 
5846  def get_unit_cell(self):
5847  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5848  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5849 
5850 
5851  def get_extended_index(self, o):
5852  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5853  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5854 
5855 
5856  def get_index(self, o):
5857  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5858  return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5859 
5860 
5861  def get_center(self, *args):
5862  """
5863  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5864  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5865  """
5866  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5867 
5868 
5869  def get_bounding_box(self, *args):
5870  """
5871  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5872  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5873  """
5874  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5875 
5876 
5877  def show(self, *args):
5878  """
5879  show(LogEmbedding3D self, _ostream out)
5880  show(LogEmbedding3D self)
5881  """
5882  return _IMP_algebra.LogEmbedding3D_show(self, *args)
5883 
5884 
5885  def __str__(self):
5886  """__str__(LogEmbedding3D self) -> std::string"""
5887  return _IMP_algebra.LogEmbedding3D___str__(self)
5888 
5889 
5890  def __repr__(self):
5891  """__repr__(LogEmbedding3D self) -> std::string"""
5892  return _IMP_algebra.LogEmbedding3D___repr__(self)
5893 
5894 
5895  def __cmp__(self, arg2):
5896  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5897  return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5898 
5899 
5900  def __eq__(self, arg2):
5901  """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5902  return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5903 
5904  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5905  __del__ = lambda self: None
5906 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5907 LogEmbedding3D_swigregister(LogEmbedding3D)
5908 
5909 class LogEmbeddingKD(object):
5910  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5911 
5912  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5913 
5914  def __init__(self, *args):
5915  """
5916  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5917  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5918  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5919  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5920  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5921  """
5922  this = _IMP_algebra.new_LogEmbeddingKD(*args)
5923  try:
5924  self.this.append(this)
5925  except __builtin__.Exception:
5926  self.this = this
5927 
5928  def set_origin(self, o):
5929  """set_origin(LogEmbeddingKD self, VectorKD o)"""
5930  return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5931 
5932 
5933  def get_origin(self):
5934  """get_origin(LogEmbeddingKD self) -> VectorKD"""
5935  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5936 
5937 
5938  def get_dimension(self):
5939  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5940  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5941 
5942 
5943  def set_unit_cell(self, *args):
5944  """
5945  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5946  set_unit_cell(LogEmbeddingKD self, VectorKD o)
5947  """
5948  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5949 
5950 
5951  def get_unit_cell(self):
5952  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5953  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5954 
5955 
5956  def get_extended_index(self, o):
5957  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5958  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5959 
5960 
5961  def get_index(self, o):
5962  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5963  return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5964 
5965 
5966  def get_center(self, *args):
5967  """
5968  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5969  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5970  """
5971  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5972 
5973 
5974  def get_bounding_box(self, *args):
5975  """
5976  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5977  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5978  """
5979  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5980 
5981 
5982  def show(self, *args):
5983  """
5984  show(LogEmbeddingKD self, _ostream out)
5985  show(LogEmbeddingKD self)
5986  """
5987  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5988 
5989 
5990  def __str__(self):
5991  """__str__(LogEmbeddingKD self) -> std::string"""
5992  return _IMP_algebra.LogEmbeddingKD___str__(self)
5993 
5994 
5995  def __repr__(self):
5996  """__repr__(LogEmbeddingKD self) -> std::string"""
5997  return _IMP_algebra.LogEmbeddingKD___repr__(self)
5998 
5999 
6000  def __cmp__(self, arg2):
6001  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
6002  return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
6003 
6004 
6005  def __eq__(self, arg2):
6006  """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
6007  return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
6008 
6009  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
6010  __del__ = lambda self: None
6011 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
6012 LogEmbeddingKD_swigregister(LogEmbeddingKD)
6013 
6014 class DenseFloatLogGridKD(object):
6015  """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
6016 
6017  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6018 
6019  def __init__(self, sz, le):
6020  """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
6021  this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
6022  try:
6023  self.this.append(this)
6024  except __builtin__.Exception:
6025  self.this = this
6026 
6027  def add_voxel(self, i, q):
6028  """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
6029  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
6030 
6031 
6032  def __getitem__(self, *args):
6033  """
6034  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
6035  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
6036  """
6037  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
6038 
6039 
6040  def __setitem__(self, *args):
6041  """
6042  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
6043  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
6044  """
6045  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
6046 
6047 
6048  def get_bounding_box(self, *args):
6049  """
6050  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6051  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
6052  """
6053  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
6054 
6055 
6056  def get_indexes(self, *args):
6057  """
6058  get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6059  get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6060  """
6061  return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
6062 
6063 
6064  def get_all_indexes(self):
6065  """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6066  return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
6067 
6068 
6069  def get_extended_indexes(self, *args):
6070  """
6071  get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6072  get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6073  """
6074  return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
6075 
6076 
6077  def get_center(self, *args):
6078  """
6079  get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6080  get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
6081  """
6082  return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
6083 
6084 
6085  def get_extended_index(self, v):
6086  """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6087  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
6088 
6089 
6090  def get_index(self, v):
6091  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6092  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
6093 
6094 
6095  def get_origin(self):
6096  """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
6097  return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
6098 
6099 
6100  def get_dimension(self):
6101  """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
6102  return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
6103 
6104 
6105  def get_unit_cell(self):
6106  """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
6107  return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
6108 
6109 
6110  def get_has_index(self, v):
6111  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
6112  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
6113 
6114 
6115  def __str__(self):
6116  """__str__(DenseFloatLogGridKD self) -> std::string"""
6117  return _IMP_algebra.DenseFloatLogGridKD___str__(self)
6118 
6119 
6120  def __repr__(self):
6121  """__repr__(DenseFloatLogGridKD self) -> std::string"""
6122  return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
6123 
6124 
6125  def show(self, *args):
6126  """
6127  show(DenseFloatLogGridKD self, _ostream out)
6128  show(DenseFloatLogGridKD self)
6129  """
6130  return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
6131 
6132  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
6133  __del__ = lambda self: None
6134 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
6135 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
6136 
6137 class DenseIntLogGrid3D(object):
6138  """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
6139 
6140  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6141 
6142  def __init__(self, sz, le):
6143  """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
6144  this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
6145  try:
6146  self.this.append(this)
6147  except __builtin__.Exception:
6148  self.this = this
6149 
6150  def add_voxel(self, i, q):
6151  """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6152  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
6153 
6154 
6155  def __getitem__(self, *args):
6156  """
6157  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
6158  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
6159  """
6160  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
6161 
6162 
6163  def __setitem__(self, *args):
6164  """
6165  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
6166  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
6167  """
6168  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
6169 
6170 
6171  def get_bounding_box(self, *args):
6172  """
6173  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6174  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
6175  """
6176  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
6177 
6178 
6179  def get_indexes(self, *args):
6180  """
6181  get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6182  get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6183  """
6184  return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
6185 
6186 
6187  def get_all_indexes(self):
6188  """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6189  return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
6190 
6191 
6192  def get_extended_indexes(self, *args):
6193  """
6194  get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6195  get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6196  """
6197  return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
6198 
6199 
6200  def get_center(self, *args):
6201  """
6202  get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6203  get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
6204  """
6205  return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
6206 
6207 
6208  def get_extended_index(self, v):
6209  """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6210  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
6211 
6212 
6213  def get_index(self, v):
6214  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6215  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
6216 
6217 
6218  def get_origin(self):
6219  """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
6220  return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
6221 
6222 
6223  def get_dimension(self):
6224  """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
6225  return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
6226 
6227 
6228  def get_unit_cell(self):
6229  """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
6230  return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
6231 
6232 
6233  def get_has_index(self, v):
6234  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
6235  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
6236 
6237 
6238  def __str__(self):
6239  """__str__(DenseIntLogGrid3D self) -> std::string"""
6240  return _IMP_algebra.DenseIntLogGrid3D___str__(self)
6241 
6242 
6243  def __repr__(self):
6244  """__repr__(DenseIntLogGrid3D self) -> std::string"""
6245  return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
6246 
6247 
6248  def show(self, *args):
6249  """
6250  show(DenseIntLogGrid3D self, _ostream out)
6251  show(DenseIntLogGrid3D self)
6252  """
6253  return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
6254 
6255  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
6256  __del__ = lambda self: None
6257 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
6258 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
6259 
6260 class DenseDoubleGrid3D(object):
6261  """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
6262 
6263  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6264 
6265  def __init__(self, *args):
6266  """
6267  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
6268  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
6269  __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
6270  """
6271  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
6272  try:
6273  self.this.append(this)
6274  except __builtin__.Exception:
6275  self.this = this
6276 
6277  def add_voxel(self, i, q):
6278  """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
6279  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
6280 
6281 
6282  def __getitem__(self, *args):
6283  """
6284  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
6285  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
6286  """
6287  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
6288 
6289 
6290  def __setitem__(self, *args):
6291  """
6292  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
6293  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
6294  """
6295  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
6296 
6297 
6298  def get_bounding_box(self, *args):
6299  """
6300  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6301  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
6302  """
6303  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
6304 
6305 
6306  def get_indexes(self, *args):
6307  """
6308  get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6309  get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6310  """
6311  return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
6312 
6313 
6314  def get_all_indexes(self):
6315  """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6316  return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
6317 
6318 
6319  def get_extended_indexes(self, *args):
6320  """
6321  get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6322  get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6323  """
6324  return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
6325 
6326 
6327  def get_center(self, *args):
6328  """
6329  get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6330  get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
6331  """
6332  return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
6333 
6334 
6335  def get_extended_index(self, v):
6336  """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6337  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
6338 
6339 
6340  def get_index(self, v):
6341  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6342  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
6343 
6344 
6345  def get_origin(self):
6346  """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
6347  return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
6348 
6349 
6350  def get_dimension(self):
6351  """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
6352  return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
6353 
6354 
6355  def get_unit_cell(self):
6356  """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
6357  return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
6358 
6359 
6360  def get_has_index(self, v):
6361  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
6362  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
6363 
6364 
6365  def __str__(self):
6366  """__str__(DenseDoubleGrid3D self) -> std::string"""
6367  return _IMP_algebra.DenseDoubleGrid3D___str__(self)
6368 
6369 
6370  def __repr__(self):
6371  """__repr__(DenseDoubleGrid3D self) -> std::string"""
6372  return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
6373 
6374 
6375  def show(self, *args):
6376  """
6377  show(DenseDoubleGrid3D self, _ostream out)
6378  show(DenseDoubleGrid3D self)
6379  """
6380  return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
6381 
6382  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
6383  __del__ = lambda self: None
6384 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
6385 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
6386 
6387 class DenseFloatGrid3D(object):
6388  """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
6389 
6390  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6391 
6392  def __init__(self, *args):
6393  """
6394  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
6395  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
6396  __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
6397  """
6398  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
6399  try:
6400  self.this.append(this)
6401  except __builtin__.Exception:
6402  self.this = this
6403 
6404  def add_voxel(self, i, q):
6405  """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
6406  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
6407 
6408 
6409  def __getitem__(self, *args):
6410  """
6411  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
6412  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
6413  """
6414  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
6415 
6416 
6417  def __setitem__(self, *args):
6418  """
6419  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
6420  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
6421  """
6422  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
6423 
6424 
6425  def get_bounding_box(self, *args):
6426  """
6427  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6428  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
6429  """
6430  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
6431 
6432 
6433  def get_indexes(self, *args):
6434  """
6435  get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6436  get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6437  """
6438  return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
6439 
6440 
6441  def get_all_indexes(self):
6442  """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6443  return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
6444 
6445 
6446  def get_extended_indexes(self, *args):
6447  """
6448  get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6449  get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6450  """
6451  return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
6452 
6453 
6454  def get_center(self, *args):
6455  """
6456  get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6457  get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
6458  """
6459  return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
6460 
6461 
6462  def get_extended_index(self, v):
6463  """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6464  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
6465 
6466 
6467  def get_index(self, v):
6468  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6469  return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
6470 
6471 
6472  def get_origin(self):
6473  """get_origin(DenseFloatGrid3D self) -> Vector3D"""
6474  return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
6475 
6476 
6477  def get_dimension(self):
6478  """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
6479  return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
6480 
6481 
6482  def get_unit_cell(self):
6483  """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
6484  return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
6485 
6486 
6487  def get_has_index(self, v):
6488  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
6489  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
6490 
6491 
6492  def __str__(self):
6493  """__str__(DenseFloatGrid3D self) -> std::string"""
6494  return _IMP_algebra.DenseFloatGrid3D___str__(self)
6495 
6496 
6497  def __repr__(self):
6498  """__repr__(DenseFloatGrid3D self) -> std::string"""
6499  return _IMP_algebra.DenseFloatGrid3D___repr__(self)
6500 
6501 
6502  def show(self, *args):
6503  """
6504  show(DenseFloatGrid3D self, _ostream out)
6505  show(DenseFloatGrid3D self)
6506  """
6507  return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
6508 
6509  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
6510  __del__ = lambda self: None
6511 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
6512 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
6513 
6514 class SparseUnboundedIntGrid3D(object):
6515  """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
6516 
6517  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6518 
6519  def __init__(self, *args):
6520  """
6521  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6522  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
6523  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6524  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
6525  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
6526  """
6527  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
6528  try:
6529  self.this.append(this)
6530  except __builtin__.Exception:
6531  self.this = this
6532 
6533  def add_voxel(self, i, q):
6534  """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6535  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
6536 
6537 
6538  def __getitem__(self, *args):
6539  """
6540  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
6541  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
6542  """
6543  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
6544 
6545 
6546  def __setitem__(self, *args):
6547  """
6548  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
6549  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
6550  """
6551  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
6552 
6553 
6554  def get_bounding_box(self, *args):
6555  """
6556  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6557  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
6558  """
6559  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
6560 
6561 
6562  def get_indexes(self, *args):
6563  """
6564  get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6565  get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6566  """
6567  return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
6568 
6569 
6570  def get_all_indexes(self):
6571  """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6572  return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
6573 
6574 
6575  def get_extended_indexes(self, *args):
6576  """
6577  get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6578  get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6579  """
6580  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
6581 
6582 
6583  def get_center(self, *args):
6584  """
6585  get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6586  get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
6587  """
6588  return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
6589 
6590 
6591  def get_extended_index(self, v):
6592  """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6593  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
6594 
6595 
6596  def get_index(self, v):
6597  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6598  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
6599 
6600 
6601  def get_origin(self):
6602  """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
6603  return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
6604 
6605 
6606  def get_dimension(self):
6607  """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
6608  return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
6609 
6610 
6611  def get_unit_cell(self):
6612  """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
6613  return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
6614 
6615 
6616  def get_has_index(self, v):
6617  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
6618  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
6619 
6620 
6621  def __str__(self):
6622  """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
6623  return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
6624 
6625 
6626  def __repr__(self):
6627  """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
6628  return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6629 
6630 
6631  def show(self, *args):
6632  """
6633  show(SparseUnboundedIntGrid3D self, _ostream out)
6634  show(SparseUnboundedIntGrid3D self)
6635  """
6636  return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6637 
6638  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6639  __del__ = lambda self: None
6640 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6641 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6642 
6643 class SparseUnboundedIntGridKD(object):
6644  """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
6645 
6646  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6647 
6648  def __init__(self, *args):
6649  """
6650  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6651  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6652  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6653  """
6654  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6655  try:
6656  self.this.append(this)
6657  except __builtin__.Exception:
6658  self.this = this
6659 
6660  def add_voxel(self, i, q):
6661  """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6662  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6663 
6664 
6665  def __getitem__(self, *args):
6666  """
6667  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6668  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6669  """
6670  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6671 
6672 
6673  def __setitem__(self, *args):
6674  """
6675  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6676  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6677  """
6678  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6679 
6680 
6681  def get_bounding_box(self, *args):
6682  """
6683  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6684  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6685  """
6686  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6687 
6688 
6689  def get_indexes(self, *args):
6690  """
6691  get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6692  get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6693  """
6694  return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6695 
6696 
6697  def get_all_indexes(self):
6698  """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6699  return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6700 
6701 
6702  def get_extended_indexes(self, *args):
6703  """
6704  get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6705  get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6706  """
6707  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6708 
6709 
6710  def get_center(self, *args):
6711  """
6712  get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6713  get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6714  """
6715  return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6716 
6717 
6718  def get_extended_index(self, v):
6719  """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6720  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6721 
6722 
6723  def get_index(self, v):
6724  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6725  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6726 
6727 
6728  def get_origin(self):
6729  """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6730  return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6731 
6732 
6733  def get_dimension(self):
6734  """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6735  return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6736 
6737 
6738  def get_unit_cell(self):
6739  """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6740  return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6741 
6742 
6743  def get_has_index(self, v):
6744  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6745  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6746 
6747 
6748  def __str__(self):
6749  """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6750  return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6751 
6752 
6753  def __repr__(self):
6754  """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6755  return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6756 
6757 
6758  def show(self, *args):
6759  """
6760  show(SparseUnboundedIntGridKD self, _ostream out)
6761  show(SparseUnboundedIntGridKD self)
6762  """
6763  return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6764 
6765  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6766  __del__ = lambda self: None
6767 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6768 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6769 
6770 class GridIndex1D(IMP._Value):
6771  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6772 
6773  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6774 
6775  def __init__(self, *args):
6776  """
6777  __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6778  __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6779  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6780  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6781  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6782  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6783  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6784  """
6785  this = _IMP_algebra.new_GridIndex1D(*args)
6786  try:
6787  self.this.append(this)
6788  except __builtin__.Exception:
6789  self.this = this
6790 
6791  def get_dimension(self):
6792  """get_dimension(GridIndex1D self) -> unsigned int"""
6793  return _IMP_algebra.GridIndex1D_get_dimension(self)
6794 
6795 
6796  def __getitem__(self, i):
6797  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6798  return _IMP_algebra.GridIndex1D___getitem__(self, i)
6799 
6800 
6801  def show(self, *args):
6802  """
6803  show(GridIndex1D self, _ostream out)
6804  show(GridIndex1D self)
6805  """
6806  return _IMP_algebra.GridIndex1D_show(self, *args)
6807 
6808 
6809  def __len__(self):
6810  """__len__(GridIndex1D self) -> unsigned int"""
6811  return _IMP_algebra.GridIndex1D___len__(self)
6812 
6813 
6814  def __cmp__(self, o):
6815  """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6816  return _IMP_algebra.GridIndex1D___cmp__(self, o)
6817 
6818 
6819  def __eq__(self, o):
6820  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6821  return _IMP_algebra.GridIndex1D___eq__(self, o)
6822 
6823 
6824  def __ne__(self, o):
6825  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6826  return _IMP_algebra.GridIndex1D___ne__(self, o)
6827 
6828 
6829  def __lt__(self, o):
6830  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6831  return _IMP_algebra.GridIndex1D___lt__(self, o)
6832 
6833 
6834  def __gt__(self, o):
6835  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6836  return _IMP_algebra.GridIndex1D___gt__(self, o)
6837 
6838 
6839  def __ge__(self, o):
6840  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6841  return _IMP_algebra.GridIndex1D___ge__(self, o)
6842 
6843 
6844  def __le__(self, o):
6845  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6846  return _IMP_algebra.GridIndex1D___le__(self, o)
6847 
6848 
6849  def __hash__(self):
6850  """__hash__(GridIndex1D self) -> std::size_t"""
6851  return _IMP_algebra.GridIndex1D___hash__(self)
6852 
6853 
6854  def __str__(self):
6855  """__str__(GridIndex1D self) -> std::string"""
6856  return _IMP_algebra.GridIndex1D___str__(self)
6857 
6858 
6859  def __repr__(self):
6860  """__repr__(GridIndex1D self) -> std::string"""
6861  return _IMP_algebra.GridIndex1D___repr__(self)
6862 
6863  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6864  __del__ = lambda self: None
6865 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6866 GridIndex1D_swigregister(GridIndex1D)
6867 
6868 class GridIndex2D(IMP._Value):
6869  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6870 
6871  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6872 
6873  def __init__(self, *args):
6874  """
6875  __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6876  __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6877  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6878  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6879  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6880  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6881  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6882  """
6883  this = _IMP_algebra.new_GridIndex2D(*args)
6884  try:
6885  self.this.append(this)
6886  except __builtin__.Exception:
6887  self.this = this
6888 
6889  def get_dimension(self):
6890  """get_dimension(GridIndex2D self) -> unsigned int"""
6891  return _IMP_algebra.GridIndex2D_get_dimension(self)
6892 
6893 
6894  def __getitem__(self, i):
6895  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6896  return _IMP_algebra.GridIndex2D___getitem__(self, i)
6897 
6898 
6899  def show(self, *args):
6900  """
6901  show(GridIndex2D self, _ostream out)
6902  show(GridIndex2D self)
6903  """
6904  return _IMP_algebra.GridIndex2D_show(self, *args)
6905 
6906 
6907  def __len__(self):
6908  """__len__(GridIndex2D self) -> unsigned int"""
6909  return _IMP_algebra.GridIndex2D___len__(self)
6910 
6911 
6912  def __cmp__(self, o):
6913  """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6914  return _IMP_algebra.GridIndex2D___cmp__(self, o)
6915 
6916 
6917  def __eq__(self, o):
6918  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6919  return _IMP_algebra.GridIndex2D___eq__(self, o)
6920 
6921 
6922  def __ne__(self, o):
6923  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6924  return _IMP_algebra.GridIndex2D___ne__(self, o)
6925 
6926 
6927  def __lt__(self, o):
6928  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6929  return _IMP_algebra.GridIndex2D___lt__(self, o)
6930 
6931 
6932  def __gt__(self, o):
6933  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6934  return _IMP_algebra.GridIndex2D___gt__(self, o)
6935 
6936 
6937  def __ge__(self, o):
6938  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6939  return _IMP_algebra.GridIndex2D___ge__(self, o)
6940 
6941 
6942  def __le__(self, o):
6943  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6944  return _IMP_algebra.GridIndex2D___le__(self, o)
6945 
6946 
6947  def __hash__(self):
6948  """__hash__(GridIndex2D self) -> std::size_t"""
6949  return _IMP_algebra.GridIndex2D___hash__(self)
6950 
6951 
6952  def __str__(self):
6953  """__str__(GridIndex2D self) -> std::string"""
6954  return _IMP_algebra.GridIndex2D___str__(self)
6955 
6956 
6957  def __repr__(self):
6958  """__repr__(GridIndex2D self) -> std::string"""
6959  return _IMP_algebra.GridIndex2D___repr__(self)
6960 
6961  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6962  __del__ = lambda self: None
6963 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6964 GridIndex2D_swigregister(GridIndex2D)
6965 
6966 class GridIndex3D(IMP._Value):
6967  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6968 
6969  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6970 
6971  def __init__(self, *args):
6972  """
6973  __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6974  __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6975  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6976  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6977  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6978  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6979  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6980  """
6981  this = _IMP_algebra.new_GridIndex3D(*args)
6982  try:
6983  self.this.append(this)
6984  except __builtin__.Exception:
6985  self.this = this
6986 
6987  def get_dimension(self):
6988  """get_dimension(GridIndex3D self) -> unsigned int"""
6989  return _IMP_algebra.GridIndex3D_get_dimension(self)
6990 
6991 
6992  def __getitem__(self, i):
6993  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6994  return _IMP_algebra.GridIndex3D___getitem__(self, i)
6995 
6996 
6997  def show(self, *args):
6998  """
6999  show(GridIndex3D self, _ostream out)
7000  show(GridIndex3D self)
7001  """
7002  return _IMP_algebra.GridIndex3D_show(self, *args)
7003 
7004 
7005  def __len__(self):
7006  """__len__(GridIndex3D self) -> unsigned int"""
7007  return _IMP_algebra.GridIndex3D___len__(self)
7008 
7009 
7010  def __cmp__(self, o):
7011  """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
7012  return _IMP_algebra.GridIndex3D___cmp__(self, o)
7013 
7014 
7015  def __eq__(self, o):
7016  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
7017  return _IMP_algebra.GridIndex3D___eq__(self, o)
7018 
7019 
7020  def __ne__(self, o):
7021  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
7022  return _IMP_algebra.GridIndex3D___ne__(self, o)
7023 
7024 
7025  def __lt__(self, o):
7026  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
7027  return _IMP_algebra.GridIndex3D___lt__(self, o)
7028 
7029 
7030  def __gt__(self, o):
7031  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
7032  return _IMP_algebra.GridIndex3D___gt__(self, o)
7033 
7034 
7035  def __ge__(self, o):
7036  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
7037  return _IMP_algebra.GridIndex3D___ge__(self, o)
7038 
7039 
7040  def __le__(self, o):
7041  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
7042  return _IMP_algebra.GridIndex3D___le__(self, o)
7043 
7044 
7045  def __hash__(self):
7046  """__hash__(GridIndex3D self) -> std::size_t"""
7047  return _IMP_algebra.GridIndex3D___hash__(self)
7048 
7049 
7050  def __str__(self):
7051  """__str__(GridIndex3D self) -> std::string"""
7052  return _IMP_algebra.GridIndex3D___str__(self)
7053 
7054 
7055  def __repr__(self):
7056  """__repr__(GridIndex3D self) -> std::string"""
7057  return _IMP_algebra.GridIndex3D___repr__(self)
7058 
7059  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
7060  __del__ = lambda self: None
7061 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
7062 GridIndex3D_swigregister(GridIndex3D)
7063 
7064 class GridIndex4D(IMP._Value):
7065  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
7066 
7067  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7068 
7069  def __init__(self, *args):
7070  """
7071  __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
7072  __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
7073  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
7074  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
7075  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
7076  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
7077  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
7078  """
7079  this = _IMP_algebra.new_GridIndex4D(*args)
7080  try:
7081  self.this.append(this)
7082  except __builtin__.Exception:
7083  self.this = this
7084 
7085  def get_dimension(self):
7086  """get_dimension(GridIndex4D self) -> unsigned int"""
7087  return _IMP_algebra.GridIndex4D_get_dimension(self)
7088 
7089 
7090  def __getitem__(self, i):
7091  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
7092  return _IMP_algebra.GridIndex4D___getitem__(self, i)
7093 
7094 
7095  def show(self, *args):
7096  """
7097  show(GridIndex4D self, _ostream out)
7098  show(GridIndex4D self)
7099  """
7100  return _IMP_algebra.GridIndex4D_show(self, *args)
7101 
7102 
7103  def __len__(self):
7104  """__len__(GridIndex4D self) -> unsigned int"""
7105  return _IMP_algebra.GridIndex4D___len__(self)
7106 
7107 
7108  def __cmp__(self, o):
7109  """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
7110  return _IMP_algebra.GridIndex4D___cmp__(self, o)
7111 
7112 
7113  def __eq__(self, o):
7114  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
7115  return _IMP_algebra.GridIndex4D___eq__(self, o)
7116 
7117 
7118  def __ne__(self, o):
7119  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
7120  return _IMP_algebra.GridIndex4D___ne__(self, o)
7121 
7122 
7123  def __lt__(self, o):
7124  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
7125  return _IMP_algebra.GridIndex4D___lt__(self, o)
7126 
7127 
7128  def __gt__(self, o):
7129  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
7130  return _IMP_algebra.GridIndex4D___gt__(self, o)
7131 
7132 
7133  def __ge__(self, o):
7134  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
7135  return _IMP_algebra.GridIndex4D___ge__(self, o)
7136 
7137 
7138  def __le__(self, o):
7139  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
7140  return _IMP_algebra.GridIndex4D___le__(self, o)
7141 
7142 
7143  def __hash__(self):
7144  """__hash__(GridIndex4D self) -> std::size_t"""
7145  return _IMP_algebra.GridIndex4D___hash__(self)
7146 
7147 
7148  def __str__(self):
7149  """__str__(GridIndex4D self) -> std::string"""
7150  return _IMP_algebra.GridIndex4D___str__(self)
7151 
7152 
7153  def __repr__(self):
7154  """__repr__(GridIndex4D self) -> std::string"""
7155  return _IMP_algebra.GridIndex4D___repr__(self)
7156 
7157  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
7158  __del__ = lambda self: None
7159 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
7160 GridIndex4D_swigregister(GridIndex4D)
7161 
7162 class GridIndex5D(IMP._Value):
7163  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
7164 
7165  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7166 
7167  def __init__(self, *args):
7168  """
7169  __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
7170  __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
7171  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
7172  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
7173  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
7174  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
7175  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
7176  """
7177  this = _IMP_algebra.new_GridIndex5D(*args)
7178  try:
7179  self.this.append(this)
7180  except __builtin__.Exception:
7181  self.this = this
7182 
7183  def get_dimension(self):
7184  """get_dimension(GridIndex5D self) -> unsigned int"""
7185  return _IMP_algebra.GridIndex5D_get_dimension(self)
7186 
7187 
7188  def __getitem__(self, i):
7189  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
7190  return _IMP_algebra.GridIndex5D___getitem__(self, i)
7191 
7192 
7193  def show(self, *args):
7194  """
7195  show(GridIndex5D self, _ostream out)
7196  show(GridIndex5D self)
7197  """
7198  return _IMP_algebra.GridIndex5D_show(self, *args)
7199 
7200 
7201  def __len__(self):
7202  """__len__(GridIndex5D self) -> unsigned int"""
7203  return _IMP_algebra.GridIndex5D___len__(self)
7204 
7205 
7206  def __cmp__(self, o):
7207  """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
7208  return _IMP_algebra.GridIndex5D___cmp__(self, o)
7209 
7210 
7211  def __eq__(self, o):
7212  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
7213  return _IMP_algebra.GridIndex5D___eq__(self, o)
7214 
7215 
7216  def __ne__(self, o):
7217  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
7218  return _IMP_algebra.GridIndex5D___ne__(self, o)
7219 
7220 
7221  def __lt__(self, o):
7222  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
7223  return _IMP_algebra.GridIndex5D___lt__(self, o)
7224 
7225 
7226  def __gt__(self, o):
7227  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
7228  return _IMP_algebra.GridIndex5D___gt__(self, o)
7229 
7230 
7231  def __ge__(self, o):
7232  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
7233  return _IMP_algebra.GridIndex5D___ge__(self, o)
7234 
7235 
7236  def __le__(self, o):
7237  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
7238  return _IMP_algebra.GridIndex5D___le__(self, o)
7239 
7240 
7241  def __hash__(self):
7242  """__hash__(GridIndex5D self) -> std::size_t"""
7243  return _IMP_algebra.GridIndex5D___hash__(self)
7244 
7245 
7246  def __str__(self):
7247  """__str__(GridIndex5D self) -> std::string"""
7248  return _IMP_algebra.GridIndex5D___str__(self)
7249 
7250 
7251  def __repr__(self):
7252  """__repr__(GridIndex5D self) -> std::string"""
7253  return _IMP_algebra.GridIndex5D___repr__(self)
7254 
7255  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
7256  __del__ = lambda self: None
7257 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
7258 GridIndex5D_swigregister(GridIndex5D)
7259 
7260 class GridIndex6D(IMP._Value):
7261  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
7262 
7263  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7264 
7265  def __init__(self, *args):
7266  """
7267  __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
7268  __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
7269  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
7270  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
7271  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
7272  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
7273  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
7274  """
7275  this = _IMP_algebra.new_GridIndex6D(*args)
7276  try:
7277  self.this.append(this)
7278  except __builtin__.Exception:
7279  self.this = this
7280 
7281  def get_dimension(self):
7282  """get_dimension(GridIndex6D self) -> unsigned int"""
7283  return _IMP_algebra.GridIndex6D_get_dimension(self)
7284 
7285 
7286  def __getitem__(self, i):
7287  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
7288  return _IMP_algebra.GridIndex6D___getitem__(self, i)
7289 
7290 
7291  def show(self, *args):
7292  """
7293  show(GridIndex6D self, _ostream out)
7294  show(GridIndex6D self)
7295  """
7296  return _IMP_algebra.GridIndex6D_show(self, *args)
7297 
7298 
7299  def __len__(self):
7300  """__len__(GridIndex6D self) -> unsigned int"""
7301  return _IMP_algebra.GridIndex6D___len__(self)
7302 
7303 
7304  def __cmp__(self, o):
7305  """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
7306  return _IMP_algebra.GridIndex6D___cmp__(self, o)
7307 
7308 
7309  def __eq__(self, o):
7310  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
7311  return _IMP_algebra.GridIndex6D___eq__(self, o)
7312 
7313 
7314  def __ne__(self, o):
7315  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
7316  return _IMP_algebra.GridIndex6D___ne__(self, o)
7317 
7318 
7319  def __lt__(self, o):
7320  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
7321  return _IMP_algebra.GridIndex6D___lt__(self, o)
7322 
7323 
7324  def __gt__(self, o):
7325  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
7326  return _IMP_algebra.GridIndex6D___gt__(self, o)
7327 
7328 
7329  def __ge__(self, o):
7330  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
7331  return _IMP_algebra.GridIndex6D___ge__(self, o)
7332 
7333 
7334  def __le__(self, o):
7335  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
7336  return _IMP_algebra.GridIndex6D___le__(self, o)
7337 
7338 
7339  def __hash__(self):
7340  """__hash__(GridIndex6D self) -> std::size_t"""
7341  return _IMP_algebra.GridIndex6D___hash__(self)
7342 
7343 
7344  def __str__(self):
7345  """__str__(GridIndex6D self) -> std::string"""
7346  return _IMP_algebra.GridIndex6D___str__(self)
7347 
7348 
7349  def __repr__(self):
7350  """__repr__(GridIndex6D self) -> std::string"""
7351  return _IMP_algebra.GridIndex6D___repr__(self)
7352 
7353  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
7354  __del__ = lambda self: None
7355 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
7356 GridIndex6D_swigregister(GridIndex6D)
7357 
7358 class GridIndexKD(IMP._Value):
7359  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
7360 
7361  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7362 
7363  def __init__(self, *args):
7364  """
7365  __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
7366  __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
7367  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
7368  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
7369  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
7370  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
7371  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
7372  """
7373  this = _IMP_algebra.new_GridIndexKD(*args)
7374  try:
7375  self.this.append(this)
7376  except __builtin__.Exception:
7377  self.this = this
7378 
7379  def get_dimension(self):
7380  """get_dimension(GridIndexKD self) -> unsigned int"""
7381  return _IMP_algebra.GridIndexKD_get_dimension(self)
7382 
7383 
7384  def __getitem__(self, i):
7385  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
7386  return _IMP_algebra.GridIndexKD___getitem__(self, i)
7387 
7388 
7389  def show(self, *args):
7390  """
7391  show(GridIndexKD self, _ostream out)
7392  show(GridIndexKD self)
7393  """
7394  return _IMP_algebra.GridIndexKD_show(self, *args)
7395 
7396 
7397  def __len__(self):
7398  """__len__(GridIndexKD self) -> unsigned int"""
7399  return _IMP_algebra.GridIndexKD___len__(self)
7400 
7401 
7402  def __cmp__(self, o):
7403  """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
7404  return _IMP_algebra.GridIndexKD___cmp__(self, o)
7405 
7406 
7407  def __eq__(self, o):
7408  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
7409  return _IMP_algebra.GridIndexKD___eq__(self, o)
7410 
7411 
7412  def __ne__(self, o):
7413  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
7414  return _IMP_algebra.GridIndexKD___ne__(self, o)
7415 
7416 
7417  def __lt__(self, o):
7418  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
7419  return _IMP_algebra.GridIndexKD___lt__(self, o)
7420 
7421 
7422  def __gt__(self, o):
7423  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
7424  return _IMP_algebra.GridIndexKD___gt__(self, o)
7425 
7426 
7427  def __ge__(self, o):
7428  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
7429  return _IMP_algebra.GridIndexKD___ge__(self, o)
7430 
7431 
7432  def __le__(self, o):
7433  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
7434  return _IMP_algebra.GridIndexKD___le__(self, o)
7435 
7436 
7437  def __hash__(self):
7438  """__hash__(GridIndexKD self) -> std::size_t"""
7439  return _IMP_algebra.GridIndexKD___hash__(self)
7440 
7441 
7442  def __str__(self):
7443  """__str__(GridIndexKD self) -> std::string"""
7444  return _IMP_algebra.GridIndexKD___str__(self)
7445 
7446 
7447  def __repr__(self):
7448  """__repr__(GridIndexKD self) -> std::string"""
7449  return _IMP_algebra.GridIndexKD___repr__(self)
7450 
7451  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
7452  __del__ = lambda self: None
7453 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
7454 GridIndexKD_swigregister(GridIndexKD)
7455 
7456 class ExtendedGridIndex1D(IMP._Value):
7457  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
7458 
7459  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7460 
7461  def __init__(self, *args):
7462  """
7463  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
7464  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
7465  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
7466  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
7467  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
7468  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
7469  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
7470  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
7471  """
7472  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
7473  try:
7474  self.this.append(this)
7475  except __builtin__.Exception:
7476  self.this = this
7477 
7478  def get_dimension(self):
7479  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
7480  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
7481 
7482 
7483  def __cmp__(self, o):
7484  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
7485  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
7486 
7487 
7488  def __eq__(self, o):
7489  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7490  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
7491 
7492 
7493  def __ne__(self, o):
7494  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7495  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
7496 
7497 
7498  def __lt__(self, o):
7499  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7500  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
7501 
7502 
7503  def __gt__(self, o):
7504  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7505  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
7506 
7507 
7508  def __ge__(self, o):
7509  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7510  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
7511 
7512 
7513  def __le__(self, o):
7514  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7515  return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
7516 
7517 
7518  def __setitem__(self, i, v):
7519  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
7520  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
7521 
7522 
7523  def __getitem__(self, i):
7524  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
7525  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
7526 
7527 
7528  def show(self, *args):
7529  """
7530  show(ExtendedGridIndex1D self, _ostream out)
7531  show(ExtendedGridIndex1D self)
7532  """
7533  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
7534 
7535 
7536  def __len__(self):
7537  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
7538  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
7539 
7540 
7541  def __hash__(self):
7542  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
7543  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
7544 
7545 
7546  def get_uniform_offset(self, ii):
7547  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
7548  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
7549 
7550 
7551  def get_offset(self, i, j, k):
7552  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
7553  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
7554 
7555 
7556  def __str__(self):
7557  """__str__(ExtendedGridIndex1D self) -> std::string"""
7558  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
7559 
7560 
7561  def __repr__(self):
7562  """__repr__(ExtendedGridIndex1D self) -> std::string"""
7563  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
7564 
7565  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
7566  __del__ = lambda self: None
7567 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
7568 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
7569 
7570 class ExtendedGridIndex2D(IMP._Value):
7571  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
7572 
7573  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7574 
7575  def __init__(self, *args):
7576  """
7577  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
7578  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
7579  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
7580  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
7581  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
7582  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
7583  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
7584  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
7585  """
7586  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
7587  try:
7588  self.this.append(this)
7589  except __builtin__.Exception:
7590  self.this = this
7591 
7592  def get_dimension(self):
7593  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
7594  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
7595 
7596 
7597  def __cmp__(self, o):
7598  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
7599  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
7600 
7601 
7602  def __eq__(self, o):
7603  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7604  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
7605 
7606 
7607  def __ne__(self, o):
7608  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7609  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
7610 
7611 
7612  def __lt__(self, o):
7613  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7614  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
7615 
7616 
7617  def __gt__(self, o):
7618  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7619  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
7620 
7621 
7622  def __ge__(self, o):
7623  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7624  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
7625 
7626 
7627  def __le__(self, o):
7628  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7629  return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7630 
7631 
7632  def __setitem__(self, i, v):
7633  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7634  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7635 
7636 
7637  def __getitem__(self, i):
7638  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7639  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7640 
7641 
7642  def show(self, *args):
7643  """
7644  show(ExtendedGridIndex2D self, _ostream out)
7645  show(ExtendedGridIndex2D self)
7646  """
7647  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7648 
7649 
7650  def __len__(self):
7651  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7652  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7653 
7654 
7655  def __hash__(self):
7656  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7657  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7658 
7659 
7660  def get_uniform_offset(self, ii):
7661  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7662  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7663 
7664 
7665  def get_offset(self, i, j, k):
7666  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7667  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7668 
7669 
7670  def __str__(self):
7671  """__str__(ExtendedGridIndex2D self) -> std::string"""
7672  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7673 
7674 
7675  def __repr__(self):
7676  """__repr__(ExtendedGridIndex2D self) -> std::string"""
7677  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7678 
7679  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7680  __del__ = lambda self: None
7681 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7682 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7683 
7684 class ExtendedGridIndex3D(IMP._Value):
7685  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7686 
7687  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7688 
7689  def __init__(self, *args):
7690  """
7691  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7692  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7693  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7694  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7695  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7696  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7697  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7698  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7699  """
7700  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7701  try:
7702  self.this.append(this)
7703  except __builtin__.Exception:
7704  self.this = this
7705 
7706  def get_dimension(self):
7707  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7708  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7709 
7710 
7711  def __cmp__(self, o):
7712  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7713  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7714 
7715 
7716  def __eq__(self, o):
7717  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7718  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7719 
7720 
7721  def __ne__(self, o):
7722  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7723  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7724 
7725 
7726  def __lt__(self, o):
7727  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7728  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7729 
7730 
7731  def __gt__(self, o):
7732  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7733  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7734 
7735 
7736  def __ge__(self, o):
7737  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7738  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7739 
7740 
7741  def __le__(self, o):
7742  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7743  return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7744 
7745 
7746  def __setitem__(self, i, v):
7747  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7748  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7749 
7750 
7751  def __getitem__(self, i):
7752  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7753  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7754 
7755 
7756  def show(self, *args):
7757  """
7758  show(ExtendedGridIndex3D self, _ostream out)
7759  show(ExtendedGridIndex3D self)
7760  """
7761  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7762 
7763 
7764  def __len__(self):
7765  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7766  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7767 
7768 
7769  def __hash__(self):
7770  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7771  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7772 
7773 
7774  def get_uniform_offset(self, ii):
7775  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7776  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7777 
7778 
7779  def get_offset(self, i, j, k):
7780  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7781  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7782 
7783 
7784  def __str__(self):
7785  """__str__(ExtendedGridIndex3D self) -> std::string"""
7786  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7787 
7788 
7789  def __repr__(self):
7790  """__repr__(ExtendedGridIndex3D self) -> std::string"""
7791  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7792 
7793  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7794  __del__ = lambda self: None
7795 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7796 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7797 
7798 class ExtendedGridIndex4D(IMP._Value):
7799  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7800 
7801  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7802 
7803  def __init__(self, *args):
7804  """
7805  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7806  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7807  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7808  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7809  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7810  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7811  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7812  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7813  """
7814  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7815  try:
7816  self.this.append(this)
7817  except __builtin__.Exception:
7818  self.this = this
7819 
7820  def get_dimension(self):
7821  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7822  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7823 
7824 
7825  def __cmp__(self, o):
7826  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7827  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7828 
7829 
7830  def __eq__(self, o):
7831  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7832  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7833 
7834 
7835  def __ne__(self, o):
7836  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7837  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7838 
7839 
7840  def __lt__(self, o):
7841  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7842  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7843 
7844 
7845  def __gt__(self, o):
7846  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7847  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7848 
7849 
7850  def __ge__(self, o):
7851  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7852  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7853 
7854 
7855  def __le__(self, o):
7856  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7857  return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7858 
7859 
7860  def __setitem__(self, i, v):
7861  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7862  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7863 
7864 
7865  def __getitem__(self, i):
7866  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7867  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7868 
7869 
7870  def show(self, *args):
7871  """
7872  show(ExtendedGridIndex4D self, _ostream out)
7873  show(ExtendedGridIndex4D self)
7874  """
7875  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7876 
7877 
7878  def __len__(self):
7879  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7880  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7881 
7882 
7883  def __hash__(self):
7884  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7885  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7886 
7887 
7888  def get_uniform_offset(self, ii):
7889  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7890  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7891 
7892 
7893  def get_offset(self, i, j, k):
7894  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7895  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7896 
7897 
7898  def __str__(self):
7899  """__str__(ExtendedGridIndex4D self) -> std::string"""
7900  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7901 
7902 
7903  def __repr__(self):
7904  """__repr__(ExtendedGridIndex4D self) -> std::string"""
7905  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7906 
7907  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7908  __del__ = lambda self: None
7909 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7910 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7911 
7912 class ExtendedGridIndex5D(IMP._Value):
7913  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7914 
7915  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7916 
7917  def __init__(self, *args):
7918  """
7919  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7920  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7921  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7922  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7923  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7924  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7925  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7926  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7927  """
7928  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7929  try:
7930  self.this.append(this)
7931  except __builtin__.Exception:
7932  self.this = this
7933 
7934  def get_dimension(self):
7935  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7936  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7937 
7938 
7939  def __cmp__(self, o):
7940  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7941  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7942 
7943 
7944  def __eq__(self, o):
7945  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7946  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7947 
7948 
7949  def __ne__(self, o):
7950  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7951  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7952 
7953 
7954  def __lt__(self, o):
7955  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7956  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7957 
7958 
7959  def __gt__(self, o):
7960  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7961  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7962 
7963 
7964  def __ge__(self, o):
7965  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7966  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7967 
7968 
7969  def __le__(self, o):
7970  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7971  return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7972 
7973 
7974  def __setitem__(self, i, v):
7975  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7976  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7977 
7978 
7979  def __getitem__(self, i):
7980  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7981  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7982 
7983 
7984  def show(self, *args):
7985  """
7986  show(ExtendedGridIndex5D self, _ostream out)
7987  show(ExtendedGridIndex5D self)
7988  """
7989  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7990 
7991 
7992  def __len__(self):
7993  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7994  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7995 
7996 
7997  def __hash__(self):
7998  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7999  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
8000 
8001 
8002  def get_uniform_offset(self, ii):
8003  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
8004  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
8005 
8006 
8007  def get_offset(self, i, j, k):
8008  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
8009  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
8010 
8011 
8012  def __str__(self):
8013  """__str__(ExtendedGridIndex5D self) -> std::string"""
8014  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
8015 
8016 
8017  def __repr__(self):
8018  """__repr__(ExtendedGridIndex5D self) -> std::string"""
8019  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
8020 
8021  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
8022  __del__ = lambda self: None
8023 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
8024 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
8025 
8026 class ExtendedGridIndex6D(IMP._Value):
8027  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
8028 
8029  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8030 
8031  def __init__(self, *args):
8032  """
8033  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
8034  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
8035  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
8036  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
8037  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
8038  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
8039  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
8040  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
8041  """
8042  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
8043  try:
8044  self.this.append(this)
8045  except __builtin__.Exception:
8046  self.this = this
8047 
8048  def get_dimension(self):
8049  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
8050  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
8051 
8052 
8053  def __cmp__(self, o):
8054  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
8055  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
8056 
8057 
8058  def __eq__(self, o):
8059  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8060  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
8061 
8062 
8063  def __ne__(self, o):
8064  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8065  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
8066 
8067 
8068  def __lt__(self, o):
8069  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8070  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
8071 
8072 
8073  def __gt__(self, o):
8074  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8075  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
8076 
8077 
8078  def __ge__(self, o):
8079  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8080  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
8081 
8082 
8083  def __le__(self, o):
8084  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8085  return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
8086 
8087 
8088  def __setitem__(self, i, v):
8089  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
8090  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
8091 
8092 
8093  def __getitem__(self, i):
8094  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
8095  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
8096 
8097 
8098  def show(self, *args):
8099  """
8100  show(ExtendedGridIndex6D self, _ostream out)
8101  show(ExtendedGridIndex6D self)
8102  """
8103  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
8104 
8105 
8106  def __len__(self):
8107  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
8108  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
8109 
8110 
8111  def __hash__(self):
8112  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
8113  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
8114 
8115 
8116  def get_uniform_offset(self, ii):
8117  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
8118  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
8119 
8120 
8121  def get_offset(self, i, j, k):
8122  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
8123  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
8124 
8125 
8126  def __str__(self):
8127  """__str__(ExtendedGridIndex6D self) -> std::string"""
8128  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
8129 
8130 
8131  def __repr__(self):
8132  """__repr__(ExtendedGridIndex6D self) -> std::string"""
8133  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
8134 
8135  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
8136  __del__ = lambda self: None
8137 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
8138 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
8139 
8140 class ExtendedGridIndexKD(IMP._Value):
8141  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
8142 
8143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8144 
8145  def __init__(self, *args):
8146  """
8147  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
8148  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
8149  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
8150  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
8151  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
8152  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
8153  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
8154  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
8155  """
8156  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
8157  try:
8158  self.this.append(this)
8159  except __builtin__.Exception:
8160  self.this = this
8161 
8162  def get_dimension(self):
8163  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
8164  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
8165 
8166 
8167  def __cmp__(self, o):
8168  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
8169  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
8170 
8171 
8172  def __eq__(self, o):
8173  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8174  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
8175 
8176 
8177  def __ne__(self, o):
8178  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8179  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
8180 
8181 
8182  def __lt__(self, o):
8183  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8184  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
8185 
8186 
8187  def __gt__(self, o):
8188  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8189  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
8190 
8191 
8192  def __ge__(self, o):
8193  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8194  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
8195 
8196 
8197  def __le__(self, o):
8198  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8199  return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
8200 
8201 
8202  def __setitem__(self, i, v):
8203  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
8204  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
8205 
8206 
8207  def __getitem__(self, i):
8208  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
8209  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
8210 
8211 
8212  def show(self, *args):
8213  """
8214  show(ExtendedGridIndexKD self, _ostream out)
8215  show(ExtendedGridIndexKD self)
8216  """
8217  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
8218 
8219 
8220  def __len__(self):
8221  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
8222  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
8223 
8224 
8225  def __hash__(self):
8226  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
8227  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
8228 
8229 
8230  def get_uniform_offset(self, ii):
8231  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
8232  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
8233 
8234 
8235  def get_offset(self, i, j, k):
8236  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
8237  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
8238 
8239 
8240  def __str__(self):
8241  """__str__(ExtendedGridIndexKD self) -> std::string"""
8242  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
8243 
8244 
8245  def __repr__(self):
8246  """__repr__(ExtendedGridIndexKD self) -> std::string"""
8247  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
8248 
8249  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
8250  __del__ = lambda self: None
8251 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
8252 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
8253 
8254 class BoundedGridRange1D(object):
8255  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
8256 
8257  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8258 
8259  def get_is_bounded():
8260  """get_is_bounded() -> bool"""
8261  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8262 
8263  get_is_bounded = staticmethod(get_is_bounded)
8264 
8265  def __init__(self, *args):
8266  """
8267  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
8268  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
8269  """
8270  this = _IMP_algebra.new_BoundedGridRange1D(*args)
8271  try:
8272  self.this.append(this)
8273  except __builtin__.Exception:
8274  self.this = this
8275 
8276  def get_number_of_voxels(self, *args):
8277  """
8278  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
8279  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
8280  """
8281  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
8282 
8283 
8284  def get_end_index(self):
8285  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8286  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
8287 
8288 
8289  def show(self, *args):
8290  """
8291  show(BoundedGridRange1D self, _ostream out)
8292  show(BoundedGridRange1D self)
8293  """
8294  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
8295 
8296 
8297  def get_all_indexes(self):
8298  """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8299  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
8300 
8301 
8302  def get_indexes(self, lb, ub):
8303  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8304  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
8305 
8306 
8307  def get_extended_indexes(self, lb, ub):
8308  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8309  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
8310 
8311 
8312  def get_index(self, v):
8313  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
8314  return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
8315 
8316 
8317  def get_has_index(self, v):
8318  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
8319  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
8320 
8321 
8322  def get_minimum_extended_index(self):
8323  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8324  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
8325 
8326 
8327  def get_maximum_extended_index(self):
8328  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8329  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
8330 
8331 
8332  def __str__(self):
8333  """__str__(BoundedGridRange1D self) -> std::string"""
8334  return _IMP_algebra.BoundedGridRange1D___str__(self)
8335 
8336 
8337  def __repr__(self):
8338  """__repr__(BoundedGridRange1D self) -> std::string"""
8339  return _IMP_algebra.BoundedGridRange1D___repr__(self)
8340 
8341 
8342  def __cmp__(self, arg2):
8343  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
8344  return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
8345 
8346 
8347  def __eq__(self, arg2):
8348  """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
8349  return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
8350 
8351  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
8352  __del__ = lambda self: None
8353 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
8354 BoundedGridRange1D_swigregister(BoundedGridRange1D)
8355 
8356 def BoundedGridRange1D_get_is_bounded():
8357  """BoundedGridRange1D_get_is_bounded() -> bool"""
8358  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8359 
8360 class BoundedGridRange2D(object):
8361  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
8362 
8363  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8364 
8365  def get_is_bounded():
8366  """get_is_bounded() -> bool"""
8367  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8368 
8369  get_is_bounded = staticmethod(get_is_bounded)
8370 
8371  def __init__(self, *args):
8372  """
8373  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
8374  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
8375  """
8376  this = _IMP_algebra.new_BoundedGridRange2D(*args)
8377  try:
8378  self.this.append(this)
8379  except __builtin__.Exception:
8380  self.this = this
8381 
8382  def get_number_of_voxels(self, *args):
8383  """
8384  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
8385  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
8386  """
8387  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
8388 
8389 
8390  def get_end_index(self):
8391  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8392  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
8393 
8394 
8395  def show(self, *args):
8396  """
8397  show(BoundedGridRange2D self, _ostream out)
8398  show(BoundedGridRange2D self)
8399  """
8400  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
8401 
8402 
8403  def get_all_indexes(self):
8404  """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8405  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
8406 
8407 
8408  def get_indexes(self, lb, ub):
8409  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8410  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
8411 
8412 
8413  def get_extended_indexes(self, lb, ub):
8414  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8415  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
8416 
8417 
8418  def get_index(self, v):
8419  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
8420  return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
8421 
8422 
8423  def get_has_index(self, v):
8424  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
8425  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
8426 
8427 
8428  def get_minimum_extended_index(self):
8429  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8430  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
8431 
8432 
8433  def get_maximum_extended_index(self):
8434  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8435  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
8436 
8437 
8438  def __str__(self):
8439  """__str__(BoundedGridRange2D self) -> std::string"""
8440  return _IMP_algebra.BoundedGridRange2D___str__(self)
8441 
8442 
8443  def __repr__(self):
8444  """__repr__(BoundedGridRange2D self) -> std::string"""
8445  return _IMP_algebra.BoundedGridRange2D___repr__(self)
8446 
8447 
8448  def __cmp__(self, arg2):
8449  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
8450  return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
8451 
8452 
8453  def __eq__(self, arg2):
8454  """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
8455  return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
8456 
8457  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
8458  __del__ = lambda self: None
8459 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
8460 BoundedGridRange2D_swigregister(BoundedGridRange2D)
8461 
8462 def BoundedGridRange2D_get_is_bounded():
8463  """BoundedGridRange2D_get_is_bounded() -> bool"""
8464  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8465 
8466 class BoundedGridRange3D(object):
8467  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
8468 
8469  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8470 
8471  def get_is_bounded():
8472  """get_is_bounded() -> bool"""
8473  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8474 
8475  get_is_bounded = staticmethod(get_is_bounded)
8476 
8477  def __init__(self, *args):
8478  """
8479  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
8480  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
8481  """
8482  this = _IMP_algebra.new_BoundedGridRange3D(*args)
8483  try:
8484  self.this.append(this)
8485  except __builtin__.Exception:
8486  self.this = this
8487 
8488  def get_number_of_voxels(self, *args):
8489  """
8490  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
8491  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
8492  """
8493  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
8494 
8495 
8496  def get_end_index(self):
8497  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8498  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
8499 
8500 
8501  def show(self, *args):
8502  """
8503  show(BoundedGridRange3D self, _ostream out)
8504  show(BoundedGridRange3D self)
8505  """
8506  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
8507 
8508 
8509  def get_all_indexes(self):
8510  """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8511  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
8512 
8513 
8514  def get_indexes(self, lb, ub):
8515  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8516  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
8517 
8518 
8519  def get_extended_indexes(self, lb, ub):
8520  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8521  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
8522 
8523 
8524  def get_index(self, v):
8525  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
8526  return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
8527 
8528 
8529  def get_has_index(self, v):
8530  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
8531  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
8532 
8533 
8534  def get_minimum_extended_index(self):
8535  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8536  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
8537 
8538 
8539  def get_maximum_extended_index(self):
8540  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8541  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
8542 
8543 
8544  def __str__(self):
8545  """__str__(BoundedGridRange3D self) -> std::string"""
8546  return _IMP_algebra.BoundedGridRange3D___str__(self)
8547 
8548 
8549  def __repr__(self):
8550  """__repr__(BoundedGridRange3D self) -> std::string"""
8551  return _IMP_algebra.BoundedGridRange3D___repr__(self)
8552 
8553 
8554  def __cmp__(self, arg2):
8555  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
8556  return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
8557 
8558 
8559  def __eq__(self, arg2):
8560  """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
8561  return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
8562 
8563  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
8564  __del__ = lambda self: None
8565 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
8566 BoundedGridRange3D_swigregister(BoundedGridRange3D)
8567 
8568 def BoundedGridRange3D_get_is_bounded():
8569  """BoundedGridRange3D_get_is_bounded() -> bool"""
8570  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8571 
8572 class BoundedGridRange4D(object):
8573  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
8574 
8575  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8576 
8577  def get_is_bounded():
8578  """get_is_bounded() -> bool"""
8579  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8580 
8581  get_is_bounded = staticmethod(get_is_bounded)
8582 
8583  def __init__(self, *args):
8584  """
8585  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
8586  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
8587  """
8588  this = _IMP_algebra.new_BoundedGridRange4D(*args)
8589  try:
8590  self.this.append(this)
8591  except __builtin__.Exception:
8592  self.this = this
8593 
8594  def get_number_of_voxels(self, *args):
8595  """
8596  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
8597  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
8598  """
8599  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
8600 
8601 
8602  def get_end_index(self):
8603  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8604  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
8605 
8606 
8607  def show(self, *args):
8608  """
8609  show(BoundedGridRange4D self, _ostream out)
8610  show(BoundedGridRange4D self)
8611  """
8612  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
8613 
8614 
8615  def get_all_indexes(self):
8616  """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8617  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
8618 
8619 
8620  def get_indexes(self, lb, ub):
8621  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8622  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
8623 
8624 
8625  def get_extended_indexes(self, lb, ub):
8626  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8627  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8628 
8629 
8630  def get_index(self, v):
8631  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8632  return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8633 
8634 
8635  def get_has_index(self, v):
8636  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8637  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8638 
8639 
8640  def get_minimum_extended_index(self):
8641  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8642  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8643 
8644 
8645  def get_maximum_extended_index(self):
8646  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8647  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8648 
8649 
8650  def __str__(self):
8651  """__str__(BoundedGridRange4D self) -> std::string"""
8652  return _IMP_algebra.BoundedGridRange4D___str__(self)
8653 
8654 
8655  def __repr__(self):
8656  """__repr__(BoundedGridRange4D self) -> std::string"""
8657  return _IMP_algebra.BoundedGridRange4D___repr__(self)
8658 
8659 
8660  def __cmp__(self, arg2):
8661  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8662  return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8663 
8664 
8665  def __eq__(self, arg2):
8666  """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8667  return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8668 
8669  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8670  __del__ = lambda self: None
8671 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8672 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8673 
8674 def BoundedGridRange4D_get_is_bounded():
8675  """BoundedGridRange4D_get_is_bounded() -> bool"""
8676  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8677 
8678 class BoundedGridRange5D(object):
8679  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8680 
8681  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8682 
8683  def get_is_bounded():
8684  """get_is_bounded() -> bool"""
8685  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8686 
8687  get_is_bounded = staticmethod(get_is_bounded)
8688 
8689  def __init__(self, *args):
8690  """
8691  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8692  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8693  """
8694  this = _IMP_algebra.new_BoundedGridRange5D(*args)
8695  try:
8696  self.this.append(this)
8697  except __builtin__.Exception:
8698  self.this = this
8699 
8700  def get_number_of_voxels(self, *args):
8701  """
8702  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8703  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8704  """
8705  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8706 
8707 
8708  def get_end_index(self):
8709  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8710  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8711 
8712 
8713  def show(self, *args):
8714  """
8715  show(BoundedGridRange5D self, _ostream out)
8716  show(BoundedGridRange5D self)
8717  """
8718  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8719 
8720 
8721  def get_all_indexes(self):
8722  """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8723  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8724 
8725 
8726  def get_indexes(self, lb, ub):
8727  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8728  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8729 
8730 
8731  def get_extended_indexes(self, lb, ub):
8732  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8733  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8734 
8735 
8736  def get_index(self, v):
8737  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8738  return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8739 
8740 
8741  def get_has_index(self, v):
8742  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8743  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8744 
8745 
8746  def get_minimum_extended_index(self):
8747  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8748  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8749 
8750 
8751  def get_maximum_extended_index(self):
8752  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8753  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8754 
8755 
8756  def __str__(self):
8757  """__str__(BoundedGridRange5D self) -> std::string"""
8758  return _IMP_algebra.BoundedGridRange5D___str__(self)
8759 
8760 
8761  def __repr__(self):
8762  """__repr__(BoundedGridRange5D self) -> std::string"""
8763  return _IMP_algebra.BoundedGridRange5D___repr__(self)
8764 
8765 
8766  def __cmp__(self, arg2):
8767  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8768  return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8769 
8770 
8771  def __eq__(self, arg2):
8772  """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8773  return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8774 
8775  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8776  __del__ = lambda self: None
8777 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8778 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8779 
8780 def BoundedGridRange5D_get_is_bounded():
8781  """BoundedGridRange5D_get_is_bounded() -> bool"""
8782  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8783 
8784 class BoundedGridRange6D(object):
8785  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8786 
8787  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8788 
8789  def get_is_bounded():
8790  """get_is_bounded() -> bool"""
8791  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8792 
8793  get_is_bounded = staticmethod(get_is_bounded)
8794 
8795  def __init__(self, *args):
8796  """
8797  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8798  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8799  """
8800  this = _IMP_algebra.new_BoundedGridRange6D(*args)
8801  try:
8802  self.this.append(this)
8803  except __builtin__.Exception:
8804  self.this = this
8805 
8806  def get_number_of_voxels(self, *args):
8807  """
8808  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8809  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8810  """
8811  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8812 
8813 
8814  def get_end_index(self):
8815  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8816  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8817 
8818 
8819  def show(self, *args):
8820  """
8821  show(BoundedGridRange6D self, _ostream out)
8822  show(BoundedGridRange6D self)
8823  """
8824  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8825 
8826 
8827  def get_all_indexes(self):
8828  """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8829  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8830 
8831 
8832  def get_indexes(self, lb, ub):
8833  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8834  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8835 
8836 
8837  def get_extended_indexes(self, lb, ub):
8838  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8839  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8840 
8841 
8842  def get_index(self, v):
8843  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8844  return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8845 
8846 
8847  def get_has_index(self, v):
8848  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8849  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8850 
8851 
8852  def get_minimum_extended_index(self):
8853  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8854  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8855 
8856 
8857  def get_maximum_extended_index(self):
8858  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8859  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8860 
8861 
8862  def __str__(self):
8863  """__str__(BoundedGridRange6D self) -> std::string"""
8864  return _IMP_algebra.BoundedGridRange6D___str__(self)
8865 
8866 
8867  def __repr__(self):
8868  """__repr__(BoundedGridRange6D self) -> std::string"""
8869  return _IMP_algebra.BoundedGridRange6D___repr__(self)
8870 
8871 
8872  def __cmp__(self, arg2):
8873  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8874  return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8875 
8876 
8877  def __eq__(self, arg2):
8878  """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8879  return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8880 
8881  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8882  __del__ = lambda self: None
8883 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8884 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8885 
8886 def BoundedGridRange6D_get_is_bounded():
8887  """BoundedGridRange6D_get_is_bounded() -> bool"""
8888  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8889 
8890 class BoundedGridRangeKD(object):
8891  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8892 
8893  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8894 
8895  def get_is_bounded():
8896  """get_is_bounded() -> bool"""
8897  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8898 
8899  get_is_bounded = staticmethod(get_is_bounded)
8900 
8901  def __init__(self, *args):
8902  """
8903  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8904  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8905  """
8906  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8907  try:
8908  self.this.append(this)
8909  except __builtin__.Exception:
8910  self.this = this
8911 
8912  def get_number_of_voxels(self, *args):
8913  """
8914  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8915  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8916  """
8917  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8918 
8919 
8920  def get_end_index(self):
8921  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8922  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8923 
8924 
8925  def show(self, *args):
8926  """
8927  show(BoundedGridRangeKD self, _ostream out)
8928  show(BoundedGridRangeKD self)
8929  """
8930  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8931 
8932 
8933  def get_all_indexes(self):
8934  """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8935  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8936 
8937 
8938  def get_indexes(self, lb, ub):
8939  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8940  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8941 
8942 
8943  def get_extended_indexes(self, lb, ub):
8944  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8945  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8946 
8947 
8948  def get_index(self, v):
8949  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8950  return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8951 
8952 
8953  def get_has_index(self, v):
8954  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8955  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8956 
8957 
8958  def get_minimum_extended_index(self):
8959  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8960  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8961 
8962 
8963  def get_maximum_extended_index(self):
8964  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8965  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8966 
8967 
8968  def __str__(self):
8969  """__str__(BoundedGridRangeKD self) -> std::string"""
8970  return _IMP_algebra.BoundedGridRangeKD___str__(self)
8971 
8972 
8973  def __repr__(self):
8974  """__repr__(BoundedGridRangeKD self) -> std::string"""
8975  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8976 
8977 
8978  def __cmp__(self, arg2):
8979  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8980  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8981 
8982 
8983  def __eq__(self, arg2):
8984  """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8985  return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8986 
8987  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8988  __del__ = lambda self: None
8989 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8990 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8991 
8992 def BoundedGridRangeKD_get_is_bounded():
8993  """BoundedGridRangeKD_get_is_bounded() -> bool"""
8994  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8995 
8996 class UnboundedGridRange1D(object):
8997  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8998 
8999  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9000 
9001  def __init__(self, *args):
9002  """
9003  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
9004  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
9005  """
9006  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
9007  try:
9008  self.this.append(this)
9009  except __builtin__.Exception:
9010  self.this = this
9011 
9012  def set_number_of_voxels(self, arg2):
9013  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
9014  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
9015 
9016 
9017  def get_number_of_voxels(self, arg2):
9018  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
9019  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
9020 
9021 
9022  def get_is_bounded():
9023  """get_is_bounded() -> bool"""
9024  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9025 
9026  get_is_bounded = staticmethod(get_is_bounded)
9027 
9028  def get_has_index(self, arg2):
9029  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
9030  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
9031 
9032 
9033  def show(self, *args):
9034  """
9035  show(UnboundedGridRange1D self, _ostream out)
9036  show(UnboundedGridRange1D self)
9037  """
9038  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
9039 
9040 
9041  def get_extended_indexes(self, lb, ub):
9042  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9043  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
9044 
9045 
9046  def __str__(self):
9047  """__str__(UnboundedGridRange1D self) -> std::string"""
9048  return _IMP_algebra.UnboundedGridRange1D___str__(self)
9049 
9050 
9051  def __repr__(self):
9052  """__repr__(UnboundedGridRange1D self) -> std::string"""
9053  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
9054 
9055 
9056  def __cmp__(self, arg2):
9057  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
9058  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
9059 
9060 
9061  def __eq__(self, arg2):
9062  """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
9063  return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
9064 
9065  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
9066  __del__ = lambda self: None
9067 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
9068 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
9069 
9070 def UnboundedGridRange1D_get_is_bounded():
9071  """UnboundedGridRange1D_get_is_bounded() -> bool"""
9072  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9073 
9074 class UnboundedGridRange2D(object):
9075  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
9076 
9077  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9078 
9079  def __init__(self, *args):
9080  """
9081  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
9082  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
9083  """
9084  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
9085  try:
9086  self.this.append(this)
9087  except __builtin__.Exception:
9088  self.this = this
9089 
9090  def set_number_of_voxels(self, arg2):
9091  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
9092  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
9093 
9094 
9095  def get_number_of_voxels(self, arg2):
9096  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
9097  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
9098 
9099 
9100  def get_is_bounded():
9101  """get_is_bounded() -> bool"""
9102  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9103 
9104  get_is_bounded = staticmethod(get_is_bounded)
9105 
9106  def get_has_index(self, arg2):
9107  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
9108  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
9109 
9110 
9111  def show(self, *args):
9112  """
9113  show(UnboundedGridRange2D self, _ostream out)
9114  show(UnboundedGridRange2D self)
9115  """
9116  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
9117 
9118 
9119  def get_extended_indexes(self, lb, ub):
9120  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
9121  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
9122 
9123 
9124  def __str__(self):
9125  """__str__(UnboundedGridRange2D self) -> std::string"""
9126  return _IMP_algebra.UnboundedGridRange2D___str__(self)
9127 
9128 
9129  def __repr__(self):
9130  """__repr__(UnboundedGridRange2D self) -> std::string"""
9131  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
9132 
9133 
9134  def __cmp__(self, arg2):
9135  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
9136  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
9137 
9138 
9139  def __eq__(self, arg2):
9140  """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
9141  return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
9142 
9143  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
9144  __del__ = lambda self: None
9145 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
9146 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
9147 
9148 def UnboundedGridRange2D_get_is_bounded():
9149  """UnboundedGridRange2D_get_is_bounded() -> bool"""
9150  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9151 
9152 class UnboundedGridRange3D(object):
9153  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
9154 
9155  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9156 
9157  def __init__(self, *args):
9158  """
9159  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
9160  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
9161  """
9162  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
9163  try:
9164  self.this.append(this)
9165  except __builtin__.Exception:
9166  self.this = this
9167 
9168  def set_number_of_voxels(self, arg2):
9169  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
9170  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
9171 
9172 
9173  def get_number_of_voxels(self, arg2):
9174  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
9175  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
9176 
9177 
9178  def get_is_bounded():
9179  """get_is_bounded() -> bool"""
9180  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9181 
9182  get_is_bounded = staticmethod(get_is_bounded)
9183 
9184  def get_has_index(self, arg2):
9185  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
9186  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
9187 
9188 
9189  def show(self, *args):
9190  """
9191  show(UnboundedGridRange3D self, _ostream out)
9192  show(UnboundedGridRange3D self)
9193  """
9194  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
9195 
9196 
9197  def get_extended_indexes(self, lb, ub):
9198  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
9199  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
9200 
9201 
9202  def __str__(self):
9203  """__str__(UnboundedGridRange3D self) -> std::string"""
9204  return _IMP_algebra.UnboundedGridRange3D___str__(self)
9205 
9206 
9207  def __repr__(self):
9208  """__repr__(UnboundedGridRange3D self) -> std::string"""
9209  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
9210 
9211 
9212  def __cmp__(self, arg2):
9213  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
9214  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
9215 
9216 
9217  def __eq__(self, arg2):
9218  """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
9219  return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
9220 
9221  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
9222  __del__ = lambda self: None
9223 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
9224 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
9225 
9226 def UnboundedGridRange3D_get_is_bounded():
9227  """UnboundedGridRange3D_get_is_bounded() -> bool"""
9228  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9229 
9230 class UnboundedGridRange4D(object):
9231  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
9232 
9233  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9234 
9235  def __init__(self, *args):
9236  """
9237  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
9238  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
9239  """
9240  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
9241  try:
9242  self.this.append(this)
9243  except __builtin__.Exception:
9244  self.this = this
9245 
9246  def set_number_of_voxels(self, arg2):
9247  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
9248  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
9249 
9250 
9251  def get_number_of_voxels(self, arg2):
9252  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
9253  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
9254 
9255 
9256  def get_is_bounded():
9257  """get_is_bounded() -> bool"""
9258  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9259 
9260  get_is_bounded = staticmethod(get_is_bounded)
9261 
9262  def get_has_index(self, arg2):
9263  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
9264  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
9265 
9266 
9267  def show(self, *args):
9268  """
9269  show(UnboundedGridRange4D self, _ostream out)
9270  show(UnboundedGridRange4D self)
9271  """
9272  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
9273 
9274 
9275  def get_extended_indexes(self, lb, ub):
9276  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
9277  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
9278 
9279 
9280  def __str__(self):
9281  """__str__(UnboundedGridRange4D self) -> std::string"""
9282  return _IMP_algebra.UnboundedGridRange4D___str__(self)
9283 
9284 
9285  def __repr__(self):
9286  """__repr__(UnboundedGridRange4D self) -> std::string"""
9287  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
9288 
9289 
9290  def __cmp__(self, arg2):
9291  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
9292  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
9293 
9294 
9295  def __eq__(self, arg2):
9296  """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
9297  return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
9298 
9299  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
9300  __del__ = lambda self: None
9301 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
9302 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
9303 
9304 def UnboundedGridRange4D_get_is_bounded():
9305  """UnboundedGridRange4D_get_is_bounded() -> bool"""
9306  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9307 
9308 class UnboundedGridRange5D(object):
9309  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
9310 
9311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9312 
9313  def __init__(self, *args):
9314  """
9315  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
9316  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
9317  """
9318  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
9319  try:
9320  self.this.append(this)
9321  except __builtin__.Exception:
9322  self.this = this
9323 
9324  def set_number_of_voxels(self, arg2):
9325  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
9326  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
9327 
9328 
9329  def get_number_of_voxels(self, arg2):
9330  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
9331  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
9332 
9333 
9334  def get_is_bounded():
9335  """get_is_bounded() -> bool"""
9336  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9337 
9338  get_is_bounded = staticmethod(get_is_bounded)
9339 
9340  def get_has_index(self, arg2):
9341  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
9342  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
9343 
9344 
9345  def show(self, *args):
9346  """
9347  show(UnboundedGridRange5D self, _ostream out)
9348  show(UnboundedGridRange5D self)
9349  """
9350  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
9351 
9352 
9353  def get_extended_indexes(self, lb, ub):
9354  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
9355  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
9356 
9357 
9358  def __str__(self):
9359  """__str__(UnboundedGridRange5D self) -> std::string"""
9360  return _IMP_algebra.UnboundedGridRange5D___str__(self)
9361 
9362 
9363  def __repr__(self):
9364  """__repr__(UnboundedGridRange5D self) -> std::string"""
9365  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
9366 
9367 
9368  def __cmp__(self, arg2):
9369  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
9370  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
9371 
9372 
9373  def __eq__(self, arg2):
9374  """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
9375  return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
9376 
9377  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
9378  __del__ = lambda self: None
9379 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
9380 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
9381 
9382 def UnboundedGridRange5D_get_is_bounded():
9383  """UnboundedGridRange5D_get_is_bounded() -> bool"""
9384  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9385 
9386 class UnboundedGridRange6D(object):
9387  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
9388 
9389  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9390 
9391  def __init__(self, *args):
9392  """
9393  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
9394  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
9395  """
9396  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
9397  try:
9398  self.this.append(this)
9399  except __builtin__.Exception:
9400  self.this = this
9401 
9402  def set_number_of_voxels(self, arg2):
9403  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
9404  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
9405 
9406 
9407  def get_number_of_voxels(self, arg2):
9408  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
9409  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
9410 
9411 
9412  def get_is_bounded():
9413  """get_is_bounded() -> bool"""
9414  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9415 
9416  get_is_bounded = staticmethod(get_is_bounded)
9417 
9418  def get_has_index(self, arg2):
9419  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
9420  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
9421 
9422 
9423  def show(self, *args):
9424  """
9425  show(UnboundedGridRange6D self, _ostream out)
9426  show(UnboundedGridRange6D self)
9427  """
9428  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
9429 
9430 
9431  def get_extended_indexes(self, lb, ub):
9432  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
9433  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
9434 
9435 
9436  def __str__(self):
9437  """__str__(UnboundedGridRange6D self) -> std::string"""
9438  return _IMP_algebra.UnboundedGridRange6D___str__(self)
9439 
9440 
9441  def __repr__(self):
9442  """__repr__(UnboundedGridRange6D self) -> std::string"""
9443  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
9444 
9445 
9446  def __cmp__(self, arg2):
9447  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
9448  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
9449 
9450 
9451  def __eq__(self, arg2):
9452  """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
9453  return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
9454 
9455  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
9456  __del__ = lambda self: None
9457 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
9458 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
9459 
9460 def UnboundedGridRange6D_get_is_bounded():
9461  """UnboundedGridRange6D_get_is_bounded() -> bool"""
9462  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9463 
9464 class UnboundedGridRangeKD(object):
9465  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
9466 
9467  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9468 
9469  def __init__(self, *args):
9470  """
9471  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
9472  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
9473  """
9474  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
9475  try:
9476  self.this.append(this)
9477  except __builtin__.Exception:
9478  self.this = this
9479 
9480  def set_number_of_voxels(self, arg2):
9481  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
9482  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
9483 
9484 
9485  def get_number_of_voxels(self, arg2):
9486  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
9487  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
9488 
9489 
9490  def get_is_bounded():
9491  """get_is_bounded() -> bool"""
9492  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9493 
9494  get_is_bounded = staticmethod(get_is_bounded)
9495 
9496  def get_has_index(self, arg2):
9497  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
9498  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
9499 
9500 
9501  def show(self, *args):
9502  """
9503  show(UnboundedGridRangeKD self, _ostream out)
9504  show(UnboundedGridRangeKD self)
9505  """
9506  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
9507 
9508 
9509  def get_extended_indexes(self, lb, ub):
9510  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
9511  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
9512 
9513 
9514  def __str__(self):
9515  """__str__(UnboundedGridRangeKD self) -> std::string"""
9516  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
9517 
9518 
9519  def __repr__(self):
9520  """__repr__(UnboundedGridRangeKD self) -> std::string"""
9521  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
9522 
9523 
9524  def __cmp__(self, arg2):
9525  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
9526  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
9527 
9528 
9529  def __eq__(self, arg2):
9530  """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
9531  return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
9532 
9533  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
9534  __del__ = lambda self: None
9535 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
9536 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
9537 
9538 def UnboundedGridRangeKD_get_is_bounded():
9539  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
9540  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9541 
9542 class DefaultEmbedding1D(object):
9543  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
9544 
9545  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9546 
9547  def __init__(self, *args):
9548  """
9549  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
9550  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
9551  """
9552  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
9553  try:
9554  self.this.append(this)
9555  except __builtin__.Exception:
9556  self.this = this
9557 
9558  def set_origin(self, o):
9559  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
9560  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
9561 
9562 
9563  def get_origin(self):
9564  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
9565  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
9566 
9567 
9568  def get_dimension(self):
9569  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
9570  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
9571 
9572 
9573  def set_unit_cell(self, o):
9574  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
9575  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
9576 
9577 
9578  def get_inverse_unit_cell(self):
9579  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9580  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
9581 
9582 
9583  def get_unit_cell(self):
9584  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9585  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
9586 
9587 
9588  def get_extended_index(self, o):
9589  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9590  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
9591 
9592 
9593  def get_index(self, o):
9594  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
9595  return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
9596 
9597 
9598  def get_center(self, *args):
9599  """
9600  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9601  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
9602  """
9603  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
9604 
9605 
9606  def get_bounding_box(self, *args):
9607  """
9608  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9609  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9610  """
9611  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
9612 
9613 
9614  def show(self, *args):
9615  """
9616  show(DefaultEmbedding1D self, _ostream out)
9617  show(DefaultEmbedding1D self)
9618  """
9619  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
9620 
9621 
9622  def __str__(self):
9623  """__str__(DefaultEmbedding1D self) -> std::string"""
9624  return _IMP_algebra.DefaultEmbedding1D___str__(self)
9625 
9626 
9627  def __repr__(self):
9628  """__repr__(DefaultEmbedding1D self) -> std::string"""
9629  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9630 
9631 
9632  def __cmp__(self, arg2):
9633  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9634  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9635 
9636 
9637  def __eq__(self, arg2):
9638  """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9639  return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9640 
9641  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9642  __del__ = lambda self: None
9643 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9644 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9645 
9646 class DefaultEmbedding2D(object):
9647  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
9648 
9649  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9650 
9651  def __init__(self, *args):
9652  """
9653  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9654  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9655  """
9656  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9657  try:
9658  self.this.append(this)
9659  except __builtin__.Exception:
9660  self.this = this
9661 
9662  def set_origin(self, o):
9663  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9664  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9665 
9666 
9667  def get_origin(self):
9668  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9669  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9670 
9671 
9672  def get_dimension(self):
9673  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9674  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9675 
9676 
9677  def set_unit_cell(self, o):
9678  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9679  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9680 
9681 
9682  def get_inverse_unit_cell(self):
9683  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9684  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9685 
9686 
9687  def get_unit_cell(self):
9688  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9689  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9690 
9691 
9692  def get_extended_index(self, o):
9693  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9694  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9695 
9696 
9697  def get_index(self, o):
9698  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9699  return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9700 
9701 
9702  def get_center(self, *args):
9703  """
9704  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9705  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9706  """
9707  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9708 
9709 
9710  def get_bounding_box(self, *args):
9711  """
9712  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9713  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9714  """
9715  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9716 
9717 
9718  def show(self, *args):
9719  """
9720  show(DefaultEmbedding2D self, _ostream out)
9721  show(DefaultEmbedding2D self)
9722  """
9723  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9724 
9725 
9726  def __str__(self):
9727  """__str__(DefaultEmbedding2D self) -> std::string"""
9728  return _IMP_algebra.DefaultEmbedding2D___str__(self)
9729 
9730 
9731  def __repr__(self):
9732  """__repr__(DefaultEmbedding2D self) -> std::string"""
9733  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9734 
9735 
9736  def __cmp__(self, arg2):
9737  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9738  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9739 
9740 
9741  def __eq__(self, arg2):
9742  """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9743  return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9744 
9745  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9746  __del__ = lambda self: None
9747 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9748 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9749 
9750 class DefaultEmbedding3D(object):
9751  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9752 
9753  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9754 
9755  def __init__(self, *args):
9756  """
9757  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9758  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9759  """
9760  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9761  try:
9762  self.this.append(this)
9763  except __builtin__.Exception:
9764  self.this = this
9765 
9766  def set_origin(self, o):
9767  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9768  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9769 
9770 
9771  def get_origin(self):
9772  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9773  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9774 
9775 
9776  def get_dimension(self):
9777  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9778  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9779 
9780 
9781  def set_unit_cell(self, o):
9782  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9783  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9784 
9785 
9786  def get_inverse_unit_cell(self):
9787  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9788  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9789 
9790 
9791  def get_unit_cell(self):
9792  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9793  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9794 
9795 
9796  def get_extended_index(self, o):
9797  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9798  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9799 
9800 
9801  def get_index(self, o):
9802  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9803  return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9804 
9805 
9806  def get_center(self, *args):
9807  """
9808  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9809  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9810  """
9811  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9812 
9813 
9814  def get_bounding_box(self, *args):
9815  """
9816  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9817  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9818  """
9819  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9820 
9821 
9822  def show(self, *args):
9823  """
9824  show(DefaultEmbedding3D self, _ostream out)
9825  show(DefaultEmbedding3D self)
9826  """
9827  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9828 
9829 
9830  def __str__(self):
9831  """__str__(DefaultEmbedding3D self) -> std::string"""
9832  return _IMP_algebra.DefaultEmbedding3D___str__(self)
9833 
9834 
9835  def __repr__(self):
9836  """__repr__(DefaultEmbedding3D self) -> std::string"""
9837  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9838 
9839 
9840  def __cmp__(self, arg2):
9841  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9842  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9843 
9844 
9845  def __eq__(self, arg2):
9846  """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9847  return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9848 
9849  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9850  __del__ = lambda self: None
9851 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9852 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9853 
9854 class DefaultEmbedding4D(object):
9855  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9856 
9857  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9858 
9859  def __init__(self, *args):
9860  """
9861  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9862  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9863  """
9864  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9865  try:
9866  self.this.append(this)
9867  except __builtin__.Exception:
9868  self.this = this
9869 
9870  def set_origin(self, o):
9871  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9872  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9873 
9874 
9875  def get_origin(self):
9876  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9877  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9878 
9879 
9880  def get_dimension(self):
9881  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9882  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9883 
9884 
9885  def set_unit_cell(self, o):
9886  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9887  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9888 
9889 
9890  def get_inverse_unit_cell(self):
9891  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9892  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9893 
9894 
9895  def get_unit_cell(self):
9896  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9897  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9898 
9899 
9900  def get_extended_index(self, o):
9901  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9902  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9903 
9904 
9905  def get_index(self, o):
9906  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9907  return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9908 
9909 
9910  def get_center(self, *args):
9911  """
9912  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9913  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9914  """
9915  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9916 
9917 
9918  def get_bounding_box(self, *args):
9919  """
9920  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9921  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9922  """
9923  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9924 
9925 
9926  def show(self, *args):
9927  """
9928  show(DefaultEmbedding4D self, _ostream out)
9929  show(DefaultEmbedding4D self)
9930  """
9931  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9932 
9933 
9934  def __str__(self):
9935  """__str__(DefaultEmbedding4D self) -> std::string"""
9936  return _IMP_algebra.DefaultEmbedding4D___str__(self)
9937 
9938 
9939  def __repr__(self):
9940  """__repr__(DefaultEmbedding4D self) -> std::string"""
9941  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9942 
9943 
9944  def __cmp__(self, arg2):
9945  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9946  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9947 
9948 
9949  def __eq__(self, arg2):
9950  """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9951  return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9952 
9953  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9954  __del__ = lambda self: None
9955 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9956 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9957 
9958 class DefaultEmbedding5D(object):
9959  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9960 
9961  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9962 
9963  def __init__(self, *args):
9964  """
9965  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9966  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9967  """
9968  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9969  try:
9970  self.this.append(this)
9971  except __builtin__.Exception:
9972  self.this = this
9973 
9974  def set_origin(self, o):
9975  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9976  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9977 
9978 
9979  def get_origin(self):
9980  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9981  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9982 
9983 
9984  def get_dimension(self):
9985  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9986  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9987 
9988 
9989  def set_unit_cell(self, o):
9990  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9991  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9992 
9993 
9994  def get_inverse_unit_cell(self):
9995  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9996  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9997 
9998 
9999  def get_unit_cell(self):
10000  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
10001  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
10002 
10003 
10004  def get_extended_index(self, o):
10005  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10006  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
10007 
10008 
10009  def get_index(self, o):
10010  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
10011  return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
10012 
10013 
10014  def get_center(self, *args):
10015  """
10016  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10017  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
10018  """
10019  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
10020 
10021 
10022  def get_bounding_box(self, *args):
10023  """
10024  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10025  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10026  """
10027  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
10028 
10029 
10030  def show(self, *args):
10031  """
10032  show(DefaultEmbedding5D self, _ostream out)
10033  show(DefaultEmbedding5D self)
10034  """
10035  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
10036 
10037 
10038  def __str__(self):
10039  """__str__(DefaultEmbedding5D self) -> std::string"""
10040  return _IMP_algebra.DefaultEmbedding5D___str__(self)
10041 
10042 
10043  def __repr__(self):
10044  """__repr__(DefaultEmbedding5D self) -> std::string"""
10045  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
10046 
10047 
10048  def __cmp__(self, arg2):
10049  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
10050  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
10051 
10052 
10053  def __eq__(self, arg2):
10054  """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
10055  return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
10056 
10057  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
10058  __del__ = lambda self: None
10059 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
10060 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
10061 
10062 class DefaultEmbedding6D(object):
10063  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
10064 
10065  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10066 
10067  def __init__(self, *args):
10068  """
10069  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
10070  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
10071  """
10072  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
10073  try:
10074  self.this.append(this)
10075  except __builtin__.Exception:
10076  self.this = this
10077 
10078  def set_origin(self, o):
10079  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
10080  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
10081 
10082 
10083  def get_origin(self):
10084  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
10085  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
10086 
10087 
10088  def get_dimension(self):
10089  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
10090  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
10091 
10092 
10093  def set_unit_cell(self, o):
10094  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
10095  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
10096 
10097 
10098  def get_inverse_unit_cell(self):
10099  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10100  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
10101 
10102 
10103  def get_unit_cell(self):
10104  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10105  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
10106 
10107 
10108  def get_extended_index(self, o):
10109  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10110  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
10111 
10112 
10113  def get_index(self, o):
10114  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
10115  return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
10116 
10117 
10118  def get_center(self, *args):
10119  """
10120  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10121  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
10122  """
10123  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
10124 
10125 
10126  def get_bounding_box(self, *args):
10127  """
10128  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10129  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10130  """
10131  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
10132 
10133 
10134  def show(self, *args):
10135  """
10136  show(DefaultEmbedding6D self, _ostream out)
10137  show(DefaultEmbedding6D self)
10138  """
10139  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
10140 
10141 
10142  def __str__(self):
10143  """__str__(DefaultEmbedding6D self) -> std::string"""
10144  return _IMP_algebra.DefaultEmbedding6D___str__(self)
10145 
10146 
10147  def __repr__(self):
10148  """__repr__(DefaultEmbedding6D self) -> std::string"""
10149  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
10150 
10151 
10152  def __cmp__(self, arg2):
10153  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
10154  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
10155 
10156 
10157  def __eq__(self, arg2):
10158  """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
10159  return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
10160 
10161  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
10162  __del__ = lambda self: None
10163 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
10164 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
10165 
10166 class DefaultEmbeddingKD(object):
10167  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
10168 
10169  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10170 
10171  def __init__(self, *args):
10172  """
10173  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
10174  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
10175  """
10176  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
10177  try:
10178  self.this.append(this)
10179  except __builtin__.Exception:
10180  self.this = this
10181 
10182  def set_origin(self, o):
10183  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
10184  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
10185 
10186 
10187  def get_origin(self):
10188  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
10189  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
10190 
10191 
10192  def get_dimension(self):
10193  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
10194  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
10195 
10196 
10197  def set_unit_cell(self, o):
10198  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
10199  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
10200 
10201 
10202  def get_inverse_unit_cell(self):
10203  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10204  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
10205 
10206 
10207  def get_unit_cell(self):
10208  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10209  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
10210 
10211 
10212  def get_extended_index(self, o):
10213  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
10214  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
10215 
10216 
10217  def get_index(self, o):
10218  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
10219  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
10220 
10221 
10222  def get_center(self, *args):
10223  """
10224  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
10225  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
10226  """
10227  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
10228 
10229 
10230  def get_bounding_box(self, *args):
10231  """
10232  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
10233  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
10234  """
10235  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
10236 
10237 
10238  def show(self, *args):
10239  """
10240  show(DefaultEmbeddingKD self, _ostream out)
10241  show(DefaultEmbeddingKD self)
10242  """
10243  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
10244 
10245 
10246  def __str__(self):
10247  """__str__(DefaultEmbeddingKD self) -> std::string"""
10248  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
10249 
10250 
10251  def __repr__(self):
10252  """__repr__(DefaultEmbeddingKD self) -> std::string"""
10253  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
10254 
10255 
10256  def __cmp__(self, arg2):
10257  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
10258  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
10259 
10260 
10261  def __eq__(self, arg2):
10262  """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
10263  return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
10264 
10265  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
10266  __del__ = lambda self: None
10267 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
10268 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
10269 
10270 class LogEmbedding1D(object):
10271  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
10272 
10273  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10274 
10275  def __init__(self, *args):
10276  """
10277  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
10278  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
10279  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
10280  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
10281  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
10282  """
10283  this = _IMP_algebra.new_LogEmbedding1D(*args)
10284  try:
10285  self.this.append(this)
10286  except __builtin__.Exception:
10287  self.this = this
10288 
10289  def set_origin(self, o):
10290  """set_origin(LogEmbedding1D self, Vector1D o)"""
10291  return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
10292 
10293 
10294  def get_origin(self):
10295  """get_origin(LogEmbedding1D self) -> Vector1D"""
10296  return _IMP_algebra.LogEmbedding1D_get_origin(self)
10297 
10298 
10299  def get_dimension(self):
10300  """get_dimension(LogEmbedding1D self) -> unsigned int"""
10301  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
10302 
10303 
10304  def set_unit_cell(self, *args):
10305  """
10306  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
10307  set_unit_cell(LogEmbedding1D self, Vector1D o)
10308  """
10309  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
10310 
10311 
10312  def get_unit_cell(self):
10313  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
10314  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
10315 
10316 
10317  def get_extended_index(self, o):
10318  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
10319  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
10320 
10321 
10322  def get_index(self, o):
10323  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
10324  return _IMP_algebra.LogEmbedding1D_get_index(self, o)
10325 
10326 
10327  def get_center(self, *args):
10328  """
10329  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
10330  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
10331  """
10332  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
10333 
10334 
10335  def get_bounding_box(self, *args):
10336  """
10337  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
10338  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
10339  """
10340  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
10341 
10342 
10343  def show(self, *args):
10344  """
10345  show(LogEmbedding1D self, _ostream out)
10346  show(LogEmbedding1D self)
10347  """
10348  return _IMP_algebra.LogEmbedding1D_show(self, *args)
10349 
10350 
10351  def __str__(self):
10352  """__str__(LogEmbedding1D self) -> std::string"""
10353  return _IMP_algebra.LogEmbedding1D___str__(self)
10354 
10355 
10356  def __repr__(self):
10357  """__repr__(LogEmbedding1D self) -> std::string"""
10358  return _IMP_algebra.LogEmbedding1D___repr__(self)
10359 
10360 
10361  def __cmp__(self, arg2):
10362  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
10363  return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
10364 
10365 
10366  def __eq__(self, arg2):
10367  """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
10368  return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
10369 
10370  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
10371  __del__ = lambda self: None
10372 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
10373 LogEmbedding1D_swigregister(LogEmbedding1D)
10374 
10375 class LogEmbedding2D(object):
10376  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
10377 
10378  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10379 
10380  def __init__(self, *args):
10381  """
10382  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
10383  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
10384  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
10385  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
10386  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
10387  """
10388  this = _IMP_algebra.new_LogEmbedding2D(*args)
10389  try:
10390  self.this.append(this)
10391  except __builtin__.Exception:
10392  self.this = this
10393 
10394  def set_origin(self, o):
10395  """set_origin(LogEmbedding2D self, Vector2D o)"""
10396  return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
10397 
10398 
10399  def get_origin(self):
10400  """get_origin(LogEmbedding2D self) -> Vector2D"""
10401  return _IMP_algebra.LogEmbedding2D_get_origin(self)
10402 
10403 
10404  def get_dimension(self):
10405  """get_dimension(LogEmbedding2D self) -> unsigned int"""
10406  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
10407 
10408 
10409  def set_unit_cell(self, *args):
10410  """
10411  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
10412  set_unit_cell(LogEmbedding2D self, Vector2D o)
10413  """
10414  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
10415 
10416 
10417  def get_unit_cell(self):
10418  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
10419  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
10420 
10421 
10422  def get_extended_index(self, o):
10423  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
10424  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
10425 
10426 
10427  def get_index(self, o):
10428  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
10429  return _IMP_algebra.LogEmbedding2D_get_index(self, o)
10430 
10431 
10432  def get_center(self, *args):
10433  """
10434  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
10435  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
10436  """
10437  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
10438 
10439 
10440  def get_bounding_box(self, *args):
10441  """
10442  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
10443  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
10444  """
10445  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
10446 
10447 
10448  def show(self, *args):
10449  """
10450  show(LogEmbedding2D self, _ostream out)
10451  show(LogEmbedding2D self)
10452  """
10453  return _IMP_algebra.LogEmbedding2D_show(self, *args)
10454 
10455 
10456  def __str__(self):
10457  """__str__(LogEmbedding2D self) -> std::string"""
10458  return _IMP_algebra.LogEmbedding2D___str__(self)
10459 
10460 
10461  def __repr__(self):
10462  """__repr__(LogEmbedding2D self) -> std::string"""
10463  return _IMP_algebra.LogEmbedding2D___repr__(self)
10464 
10465 
10466  def __cmp__(self, arg2):
10467  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
10468  return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
10469 
10470 
10471  def __eq__(self, arg2):
10472  """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
10473  return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
10474 
10475  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
10476  __del__ = lambda self: None
10477 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
10478 LogEmbedding2D_swigregister(LogEmbedding2D)
10479 
10480 class LogEmbedding4D(object):
10481  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
10482 
10483  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10484 
10485  def __init__(self, *args):
10486  """
10487  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
10488  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
10489  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
10490  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
10491  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
10492  """
10493  this = _IMP_algebra.new_LogEmbedding4D(*args)
10494  try:
10495  self.this.append(this)
10496  except __builtin__.Exception:
10497  self.this = this
10498 
10499  def set_origin(self, o):
10500  """set_origin(LogEmbedding4D self, Vector4D o)"""
10501  return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
10502 
10503 
10504  def get_origin(self):
10505  """get_origin(LogEmbedding4D self) -> Vector4D"""
10506  return _IMP_algebra.LogEmbedding4D_get_origin(self)
10507 
10508 
10509  def get_dimension(self):
10510  """get_dimension(LogEmbedding4D self) -> unsigned int"""
10511  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
10512 
10513 
10514  def set_unit_cell(self, *args):
10515  """
10516  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
10517  set_unit_cell(LogEmbedding4D self, Vector4D o)
10518  """
10519  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
10520 
10521 
10522  def get_unit_cell(self):
10523  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
10524  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
10525 
10526 
10527  def get_extended_index(self, o):
10528  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
10529  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
10530 
10531 
10532  def get_index(self, o):
10533  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
10534  return _IMP_algebra.LogEmbedding4D_get_index(self, o)
10535 
10536 
10537  def get_center(self, *args):
10538  """
10539  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
10540  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
10541  """
10542  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
10543 
10544 
10545  def get_bounding_box(self, *args):
10546  """
10547  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
10548  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
10549  """
10550  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
10551 
10552 
10553  def show(self, *args):
10554  """
10555  show(LogEmbedding4D self, _ostream out)
10556  show(LogEmbedding4D self)
10557  """
10558  return _IMP_algebra.LogEmbedding4D_show(self, *args)
10559 
10560 
10561  def __str__(self):
10562  """__str__(LogEmbedding4D self) -> std::string"""
10563  return _IMP_algebra.LogEmbedding4D___str__(self)
10564 
10565 
10566  def __repr__(self):
10567  """__repr__(LogEmbedding4D self) -> std::string"""
10568  return _IMP_algebra.LogEmbedding4D___repr__(self)
10569 
10570 
10571  def __cmp__(self, arg2):
10572  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
10573  return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
10574 
10575 
10576  def __eq__(self, arg2):
10577  """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
10578  return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
10579 
10580  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
10581  __del__ = lambda self: None
10582 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
10583 LogEmbedding4D_swigregister(LogEmbedding4D)
10584 
10585 class LogEmbedding5D(object):
10586  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
10587 
10588  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10589 
10590  def __init__(self, *args):
10591  """
10592  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
10593  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
10594  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
10595  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
10596  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
10597  """
10598  this = _IMP_algebra.new_LogEmbedding5D(*args)
10599  try:
10600  self.this.append(this)
10601  except __builtin__.Exception:
10602  self.this = this
10603 
10604  def set_origin(self, o):
10605  """set_origin(LogEmbedding5D self, Vector5D o)"""
10606  return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
10607 
10608 
10609  def get_origin(self):
10610  """get_origin(LogEmbedding5D self) -> Vector5D"""
10611  return _IMP_algebra.LogEmbedding5D_get_origin(self)
10612 
10613 
10614  def get_dimension(self):
10615  """get_dimension(LogEmbedding5D self) -> unsigned int"""
10616  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
10617 
10618 
10619  def set_unit_cell(self, *args):
10620  """
10621  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
10622  set_unit_cell(LogEmbedding5D self, Vector5D o)
10623  """
10624  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
10625 
10626 
10627  def get_unit_cell(self):
10628  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
10629  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10630 
10631 
10632  def get_extended_index(self, o):
10633  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10634  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10635 
10636 
10637  def get_index(self, o):
10638  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10639  return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10640 
10641 
10642  def get_center(self, *args):
10643  """
10644  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10645  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10646  """
10647  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10648 
10649 
10650  def get_bounding_box(self, *args):
10651  """
10652  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10653  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10654  """
10655  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10656 
10657 
10658  def show(self, *args):
10659  """
10660  show(LogEmbedding5D self, _ostream out)
10661  show(LogEmbedding5D self)
10662  """
10663  return _IMP_algebra.LogEmbedding5D_show(self, *args)
10664 
10665 
10666  def __str__(self):
10667  """__str__(LogEmbedding5D self) -> std::string"""
10668  return _IMP_algebra.LogEmbedding5D___str__(self)
10669 
10670 
10671  def __repr__(self):
10672  """__repr__(LogEmbedding5D self) -> std::string"""
10673  return _IMP_algebra.LogEmbedding5D___repr__(self)
10674 
10675 
10676  def __cmp__(self, arg2):
10677  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10678  return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10679 
10680 
10681  def __eq__(self, arg2):
10682  """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10683  return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10684 
10685  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10686  __del__ = lambda self: None
10687 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10688 LogEmbedding5D_swigregister(LogEmbedding5D)
10689 
10690 class LogEmbedding6D(object):
10691  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10692 
10693  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10694 
10695  def __init__(self, *args):
10696  """
10697  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10698  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10699  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10700  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10701  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10702  """
10703  this = _IMP_algebra.new_LogEmbedding6D(*args)
10704  try:
10705  self.this.append(this)
10706  except __builtin__.Exception:
10707  self.this = this
10708 
10709  def set_origin(self, o):
10710  """set_origin(LogEmbedding6D self, Vector6D o)"""
10711  return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10712 
10713 
10714  def get_origin(self):
10715  """get_origin(LogEmbedding6D self) -> Vector6D"""
10716  return _IMP_algebra.LogEmbedding6D_get_origin(self)
10717 
10718 
10719  def get_dimension(self):
10720  """get_dimension(LogEmbedding6D self) -> unsigned int"""
10721  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10722 
10723 
10724  def set_unit_cell(self, *args):
10725  """
10726  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10727  set_unit_cell(LogEmbedding6D self, Vector6D o)
10728  """
10729  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10730 
10731 
10732  def get_unit_cell(self):
10733  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10734  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10735 
10736 
10737  def get_extended_index(self, o):
10738  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10739  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10740 
10741 
10742  def get_index(self, o):
10743  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10744  return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10745 
10746 
10747  def get_center(self, *args):
10748  """
10749  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10750  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10751  """
10752  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10753 
10754 
10755  def get_bounding_box(self, *args):
10756  """
10757  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10758  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10759  """
10760  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10761 
10762 
10763  def show(self, *args):
10764  """
10765  show(LogEmbedding6D self, _ostream out)
10766  show(LogEmbedding6D self)
10767  """
10768  return _IMP_algebra.LogEmbedding6D_show(self, *args)
10769 
10770 
10771  def __str__(self):
10772  """__str__(LogEmbedding6D self) -> std::string"""
10773  return _IMP_algebra.LogEmbedding6D___str__(self)
10774 
10775 
10776  def __repr__(self):
10777  """__repr__(LogEmbedding6D self) -> std::string"""
10778  return _IMP_algebra.LogEmbedding6D___repr__(self)
10779 
10780 
10781  def __cmp__(self, arg2):
10782  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10783  return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10784 
10785 
10786  def __eq__(self, arg2):
10787  """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10788  return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10789 
10790  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10791  __del__ = lambda self: None
10792 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10793 LogEmbedding6D_swigregister(LogEmbedding6D)
10794 
10795 class SpherePatch3D(_GeometricPrimitive3D):
10796  """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10797 
10798  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10799 
10800  def __init__(self, *args):
10801  """
10802  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10803  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10804  """
10805  this = _IMP_algebra.new_SpherePatch3D(*args)
10806  try:
10807  self.this.append(this)
10808  except __builtin__.Exception:
10809  self.this = this
10810 
10811  def get_contains(self, p):
10812  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10813  return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10814 
10815 
10816  def get_plane(self):
10817  """get_plane(SpherePatch3D self) -> Plane3D"""
10818  return _IMP_algebra.SpherePatch3D_get_plane(self)
10819 
10820 
10821  def get_sphere(self):
10822  """get_sphere(SpherePatch3D self) -> Sphere3D"""
10823  return _IMP_algebra.SpherePatch3D_get_sphere(self)
10824 
10825 
10826  def show(self, *args):
10827  """
10828  show(SpherePatch3D self, _ostream out)
10829  show(SpherePatch3D self)
10830  """
10831  return _IMP_algebra.SpherePatch3D_show(self, *args)
10832 
10833 
10834  def get_boundary_point(self):
10835  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10836  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10837 
10838 
10839  def __str__(self):
10840  """__str__(SpherePatch3D self) -> std::string"""
10841  return _IMP_algebra.SpherePatch3D___str__(self)
10842 
10843 
10844  def __repr__(self):
10845  """__repr__(SpherePatch3D self) -> std::string"""
10846  return _IMP_algebra.SpherePatch3D___repr__(self)
10847 
10848  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10849  __del__ = lambda self: None
10850 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10851 SpherePatch3D_swigregister(SpherePatch3D)
10852 
10853 
10854 def get_area(*args):
10855  """
10856  get_area(Plane3D g) -> double
10857  get_area(SpherePatch3D g) -> double
10858  """
10859  return _IMP_algebra.get_area(*args)
10860 
10861 def get_sphere_patch_3d_geometry(g):
10862  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10863  return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10864 class Cone3D(_GeometricPrimitive3D):
10865  """Proxy of C++ IMP::algebra::Cone3D class."""
10866 
10867  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10868 
10869  def __init__(self, *args):
10870  """
10871  __init__(IMP::algebra::Cone3D self) -> Cone3D
10872  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10873  """
10874  this = _IMP_algebra.new_Cone3D(*args)
10875  try:
10876  self.this.append(this)
10877  except __builtin__.Exception:
10878  self.this = this
10879 
10880  def get_tip(self):
10881  """get_tip(Cone3D self) -> Vector3D"""
10882  return _IMP_algebra.Cone3D_get_tip(self)
10883 
10884 
10885  def get_direction(self):
10886  """get_direction(Cone3D self) -> Vector3D"""
10887  return _IMP_algebra.Cone3D_get_direction(self)
10888 
10889 
10890  def get_height(self):
10891  """get_height(Cone3D self) -> double"""
10892  return _IMP_algebra.Cone3D_get_height(self)
10893 
10894 
10895  def get_angle(self):
10896  """get_angle(Cone3D self) -> double"""
10897  return _IMP_algebra.Cone3D_get_angle(self)
10898 
10899 
10900  def get_radius(self):
10901  """get_radius(Cone3D self) -> double"""
10902  return _IMP_algebra.Cone3D_get_radius(self)
10903 
10904 
10905  def get_contains(self, v):
10906  """get_contains(Cone3D self, Vector3D v) -> bool"""
10907  return _IMP_algebra.Cone3D_get_contains(self, v)
10908 
10909 
10910  def get_base_plane(self):
10911  """get_base_plane(Cone3D self) -> Plane3D"""
10912  return _IMP_algebra.Cone3D_get_base_plane(self)
10913 
10914 
10915  def show(self, *args):
10916  """
10917  show(Cone3D self, _ostream out)
10918  show(Cone3D self)
10919  """
10920  return _IMP_algebra.Cone3D_show(self, *args)
10921 
10922 
10923  def __str__(self):
10924  """__str__(Cone3D self) -> std::string"""
10925  return _IMP_algebra.Cone3D___str__(self)
10926 
10927 
10928  def __repr__(self):
10929  """__repr__(Cone3D self) -> std::string"""
10930  return _IMP_algebra.Cone3D___repr__(self)
10931 
10932  __swig_destroy__ = _IMP_algebra.delete_Cone3D
10933  __del__ = lambda self: None
10934 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10935 Cone3D_swigregister(Cone3D)
10936 
10937 
10938 def get_surface_area(*args):
10939  """
10940  get_surface_area(BoundingBox3D g) -> double
10941  get_surface_area(Sphere3D g) -> double
10942  get_surface_area(Cylinder3D g) -> double
10943  get_surface_area(Ellipsoid3D g) -> double
10944  get_surface_area(Cone3D g) -> double
10945  """
10946  return _IMP_algebra.get_surface_area(*args)
10947 
10948 def get_volume(*args):
10949  """
10950  get_volume(BoundingBox3D g) -> double
10951  get_volume(Sphere3D g) -> double
10952  get_volume(Cylinder3D g) -> double
10953  get_volume(Ellipsoid3D g) -> double
10954  get_volume(Cone3D g) -> double
10955  """
10956  return _IMP_algebra.get_volume(*args)
10957 
10958 def get_cone_3d_geometry(g):
10959  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10960  return _IMP_algebra.get_cone_3d_geometry(g)
10961 
10962 def write_pts(vs, out):
10963  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10964  return _IMP_algebra.write_pts(vs, out)
10965 
10966 def read_pts(input):
10967  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10968  return _IMP_algebra.read_pts(input)
10969 
10970 def write_spheres(vs, out):
10971  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10972  return _IMP_algebra.write_spheres(vs, out)
10973 
10974 def read_spheres(input):
10975  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10976  return _IMP_algebra.read_spheres(input)
10977 
10979  """get_random_vector_on_unit_sphere() -> Vector3D"""
10980  return _IMP_algebra.get_random_vector_on_unit_sphere()
10981 
10982 def get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle):
10983  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10984  return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10985 
10986 def get_random_chain(*args):
10987  """
10988  get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10989  get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10990  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10991  """
10992  return _IMP_algebra.get_random_chain(*args)
10993 
10994 def reversed_read(dest, size, nitems, f, reverse):
10995  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10996  return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10997 
10998 def reversed_write(src, size, nitems, f, reverse=False):
10999  """
11000  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
11001  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
11002  """
11003  return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
11004 
11005 def get_is_big_endian():
11006  """get_is_big_endian() -> bool"""
11007  return _IMP_algebra.get_is_big_endian()
11008 
11009 def get_is_little_endian():
11010  """get_is_little_endian() -> bool"""
11011  return _IMP_algebra.get_is_little_endian()
11012 
11013 def get_shortest_segment(*args):
11014  """
11015  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
11016  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
11017  """
11018  return _IMP_algebra.get_shortest_segment(*args)
11019 class DynamicNearestNeighbor3D(IMP.Object):
11020  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
11021 
11022  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11023 
11024  def __init__(self, vs, query_estimate=1):
11025  """
11026  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
11027  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
11028  """
11029  this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
11030  try:
11031  self.this.append(this)
11032  except __builtin__.Exception:
11033  self.this = this
11034 
11035  def get_in_ball(self, id, distance):
11036  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
11037  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
11038 
11039 
11040  def set_coordinates(self, id, nc):
11041  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
11042  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
11043 
11044 
11045  def get_version_info(self):
11046  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
11047  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
11048 
11049 
11050  def __str__(self):
11051  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
11052  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
11053 
11054 
11055  def __repr__(self):
11056  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
11057  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
11058 
11059 
11060  @staticmethod
11061  def get_from(o):
11062  return _object_cast_to_DynamicNearestNeighbor3D(o)
11063 
11064 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
11065 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
11066 
11067 class VectorKDMetric(IMP.Object):
11068  """Proxy of C++ IMP::algebra::VectorKDMetric class."""
11069 
11070  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11071 
11072  def __init__(self, name):
11073  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
11074  if self.__class__ == VectorKDMetric:
11075  _self = None
11076  else:
11077  _self = self
11078  this = _IMP_algebra.new_VectorKDMetric(_self, name)
11079  try:
11080  self.this.append(this)
11081  except __builtin__.Exception:
11082  self.this = this
11083 
11084  if self.__class__ != VectorKDMetric:
11085  _director_objects.register(self)
11086 
11087 
11088 
11089 
11090  def get_distance(self, a, b):
11091  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
11092  return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
11093 
11094 
11095  def get_centroid(self, vs):
11096  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
11097  return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
11098 
11099 
11100  def __str__(self):
11101  """__str__(VectorKDMetric self) -> std::string"""
11102  return _IMP_algebra.VectorKDMetric___str__(self)
11103 
11104 
11105  def __repr__(self):
11106  """__repr__(VectorKDMetric self) -> std::string"""
11107  return _IMP_algebra.VectorKDMetric___repr__(self)
11108 
11109 
11110  @staticmethod
11111  def get_from(o):
11112  return _object_cast_to_VectorKDMetric(o)
11113 
11114 
11115  def get_type_name(self):
11116  return self.__class__.__name__
11117  def do_show(self, out):
11118  pass
11119  def get_version_info(self):
11120  if"IMP::algebra" == "IMP":
11121  return VersionInfo(self.__module__,
11122  __import__(self.__module__).get_module_version())
11123  else:
11124  return IMP.VersionInfo(self.__module__,
11125  __import__(self.__module__).get_module_version())
11126  @staticmethod
11127  def get_from(o):
11128  return _object_cast_to_VectorKDMetric(o)
11129 
11130  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
11131  __del__ = lambda self: None
11132  def __disown__(self):
11133  self.this.disown()
11134  _IMP_algebra.disown_VectorKDMetric(self)
11135  return weakref_proxy(self)
11136 
11137  def do_destroy(self):
11138  """do_destroy(VectorKDMetric self)"""
11139  return _IMP_algebra.VectorKDMetric_do_destroy(self)
11140 
11141 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
11142 VectorKDMetric_swigregister(VectorKDMetric)
11143 
11144 class EuclideanVectorKDMetric(VectorKDMetric):
11145  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
11146 
11147  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11148 
11149  def __init__(self, *args):
11150  """
11151  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
11152  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
11153  """
11154  this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
11155  try:
11156  self.this.append(this)
11157  except __builtin__.Exception:
11158  self.this = this
11159 
11160  def get_version_info(self):
11161  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
11162  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
11163 
11164 
11165  def __str__(self):
11166  """__str__(EuclideanVectorKDMetric self) -> std::string"""
11167  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
11168 
11169 
11170  def __repr__(self):
11171  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
11172  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
11173 
11174 
11175  @staticmethod
11176  def get_from(o):
11177  return _object_cast_to_EuclideanVectorKDMetric(o)
11178 
11179 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
11180 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
11181 
11182 class MaxVectorKDMetric(VectorKDMetric):
11183  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
11184 
11185  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11186 
11187  def __init__(self, *args):
11188  """
11189  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
11190  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
11191  """
11192  this = _IMP_algebra.new_MaxVectorKDMetric(*args)
11193  try:
11194  self.this.append(this)
11195  except __builtin__.Exception:
11196  self.this = this
11197 
11198  def get_version_info(self):
11199  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
11200  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
11201 
11202 
11203  def __str__(self):
11204  """__str__(MaxVectorKDMetric self) -> std::string"""
11205  return _IMP_algebra.MaxVectorKDMetric___str__(self)
11206 
11207 
11208  def __repr__(self):
11209  """__repr__(MaxVectorKDMetric self) -> std::string"""
11210  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
11211 
11212 
11213  @staticmethod
11214  def get_from(o):
11215  return _object_cast_to_MaxVectorKDMetric(o)
11216 
11217 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
11218 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
11219 
11220 class Gaussian3D(_GeometricPrimitive3D):
11221  """Proxy of C++ IMP::algebra::Gaussian3D class."""
11222 
11223  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11224 
11225  def __init__(self, *args):
11226  """
11227  __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
11228  __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
11229  """
11230  this = _IMP_algebra.new_Gaussian3D(*args)
11231  try:
11232  self.this.append(this)
11233  except __builtin__.Exception:
11234  self.this = this
11235 
11236  def get_reference_frame(self):
11237  """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
11238  return _IMP_algebra.Gaussian3D_get_reference_frame(self)
11239 
11240 
11241  def get_variances(self):
11242  """get_variances(Gaussian3D self) -> Vector3D"""
11243  return _IMP_algebra.Gaussian3D_get_variances(self)
11244 
11245 
11246  def get_center(self):
11247  """get_center(Gaussian3D self) -> Vector3D"""
11248  return _IMP_algebra.Gaussian3D_get_center(self)
11249 
11250 
11251  def show(self, *args):
11252  """
11253  show(Gaussian3D self, _ostream out)
11254  show(Gaussian3D self)
11255  """
11256  return _IMP_algebra.Gaussian3D_show(self, *args)
11257 
11258 
11259  def __str__(self):
11260  """__str__(Gaussian3D self) -> std::string"""
11261  return _IMP_algebra.Gaussian3D___str__(self)
11262 
11263 
11264  def __repr__(self):
11265  """__repr__(Gaussian3D self) -> std::string"""
11266  return _IMP_algebra.Gaussian3D___repr__(self)
11267 
11268  __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
11269  __del__ = lambda self: None
11270 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
11271 Gaussian3D_swigregister(Gaussian3D)
11272 
11273 
11274 def get_covariance(g):
11275  """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
11276  return _IMP_algebra.get_covariance(g)
11277 
11278 def get_gaussian_from_covariance(covariance, center):
11279  """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
11280  return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
11281 
11282 def get_rasterized(gmm, weights, cell_width, bb):
11283  """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
11284  return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
11285 
11286 def get_rasterized_fast(gmm, weights, cell_width, bb, factor=2.5):
11287  """
11288  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
11289  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
11290  """
11291  return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
11292 
11293 def _pass_matrix_xf(m):
11294  """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
11295  return _IMP_algebra._pass_matrix_xf(m)
11296 
11297 def _pass_matrix_xd(m):
11298  """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
11299  return _IMP_algebra._pass_matrix_xd(m)
11300 
11301 def _pass_matrix_3d(m):
11302  """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
11303  return _IMP_algebra._pass_matrix_3d(m)
11304 
11305 def _pass_array_xd(m):
11306  """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
11307  return _IMP_algebra._pass_array_xd(m)
11308 
11309 def _pass_vector_xd(m):
11310  """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
11311  return _IMP_algebra._pass_vector_xd(m)
11312 class NearestNeighbor1D(IMP.Object):
11313  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
11314 
11315  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11316 
11317  def __init__(self, vs, epsilon=0):
11318  """
11319  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
11320  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
11321  """
11322  this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
11323  try:
11324  self.this.append(this)
11325  except __builtin__.Exception:
11326  self.this = this
11327 
11328  def set_query_log(self, fname):
11329  """set_query_log(NearestNeighbor1D self, std::string fname)"""
11330  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
11331 
11332 
11333  def get_nearest_neighbor(self, *args):
11334  """
11335  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
11336  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
11337  """
11338  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
11339 
11340 
11341  def get_nearest_neighbors(self, *args):
11342  """
11343  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
11344  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
11345  """
11346  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
11347 
11348 
11349  def get_in_ball(self, *args):
11350  """
11351  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
11352  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
11353  """
11354  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
11355 
11356 
11357  def get_version_info(self):
11358  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
11359  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
11360 
11361 
11362  def __str__(self):
11363  """__str__(NearestNeighbor1D self) -> std::string"""
11364  return _IMP_algebra.NearestNeighbor1D___str__(self)
11365 
11366 
11367  def __repr__(self):
11368  """__repr__(NearestNeighbor1D self) -> std::string"""
11369  return _IMP_algebra.NearestNeighbor1D___repr__(self)
11370 
11371 
11372  @staticmethod
11373  def get_from(o):
11374  return _object_cast_to_NearestNeighborD(o)
11375 
11376 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
11377 NearestNeighbor1D_swigregister(NearestNeighbor1D)
11378 
11379 class NearestNeighbor2D(IMP.Object):
11380  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
11381 
11382  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11383 
11384  def __init__(self, vs, epsilon=0):
11385  """
11386  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
11387  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
11388  """
11389  this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
11390  try:
11391  self.this.append(this)
11392  except __builtin__.Exception:
11393  self.this = this
11394 
11395  def set_query_log(self, fname):
11396  """set_query_log(NearestNeighbor2D self, std::string fname)"""
11397  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
11398 
11399 
11400  def get_nearest_neighbor(self, *args):
11401  """
11402  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
11403  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
11404  """
11405  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
11406 
11407 
11408  def get_nearest_neighbors(self, *args):
11409  """
11410  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
11411  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
11412  """
11413  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
11414 
11415 
11416  def get_in_ball(self, *args):
11417  """
11418  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
11419  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
11420  """
11421  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
11422 
11423 
11424  def get_version_info(self):
11425  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
11426  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
11427 
11428 
11429  def __str__(self):
11430  """__str__(NearestNeighbor2D self) -> std::string"""
11431  return _IMP_algebra.NearestNeighbor2D___str__(self)
11432 
11433 
11434  def __repr__(self):
11435  """__repr__(NearestNeighbor2D self) -> std::string"""
11436  return _IMP_algebra.NearestNeighbor2D___repr__(self)
11437 
11438 
11439  @staticmethod
11440  def get_from(o):
11441  return _object_cast_to_NearestNeighborD(o)
11442 
11443 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
11444 NearestNeighbor2D_swigregister(NearestNeighbor2D)
11445 
11446 class NearestNeighbor3D(IMP.Object):
11447  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
11448 
11449  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11450 
11451  def __init__(self, vs, epsilon=0):
11452  """
11453  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
11454  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
11455  """
11456  this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
11457  try:
11458  self.this.append(this)
11459  except __builtin__.Exception:
11460  self.this = this
11461 
11462  def set_query_log(self, fname):
11463  """set_query_log(NearestNeighbor3D self, std::string fname)"""
11464  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
11465 
11466 
11467  def get_nearest_neighbor(self, *args):
11468  """
11469  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
11470  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
11471  """
11472  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
11473 
11474 
11475  def get_nearest_neighbors(self, *args):
11476  """
11477  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
11478  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
11479  """
11480  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
11481 
11482 
11483  def get_in_ball(self, *args):
11484  """
11485  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
11486  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
11487  """
11488  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
11489 
11490 
11491  def get_version_info(self):
11492  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
11493  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
11494 
11495 
11496  def __str__(self):
11497  """__str__(NearestNeighbor3D self) -> std::string"""
11498  return _IMP_algebra.NearestNeighbor3D___str__(self)
11499 
11500 
11501  def __repr__(self):
11502  """__repr__(NearestNeighbor3D self) -> std::string"""
11503  return _IMP_algebra.NearestNeighbor3D___repr__(self)
11504 
11505 
11506  @staticmethod
11507  def get_from(o):
11508  return _object_cast_to_NearestNeighborD(o)
11509 
11510 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
11511 NearestNeighbor3D_swigregister(NearestNeighbor3D)
11512 
11513 class NearestNeighbor4D(IMP.Object):
11514  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
11515 
11516  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11517 
11518  def __init__(self, vs, epsilon=0):
11519  """
11520  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
11521  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
11522  """
11523  this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
11524  try:
11525  self.this.append(this)
11526  except __builtin__.Exception:
11527  self.this = this
11528 
11529  def set_query_log(self, fname):
11530  """set_query_log(NearestNeighbor4D self, std::string fname)"""
11531  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
11532 
11533 
11534  def get_nearest_neighbor(self, *args):
11535  """
11536  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
11537  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
11538  """
11539  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
11540 
11541 
11542  def get_nearest_neighbors(self, *args):
11543  """
11544  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
11545  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
11546  """
11547  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
11548 
11549 
11550  def get_in_ball(self, *args):
11551  """
11552  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
11553  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
11554  """
11555  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
11556 
11557 
11558  def get_version_info(self):
11559  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
11560  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
11561 
11562 
11563  def __str__(self):
11564  """__str__(NearestNeighbor4D self) -> std::string"""
11565  return _IMP_algebra.NearestNeighbor4D___str__(self)
11566 
11567 
11568  def __repr__(self):
11569  """__repr__(NearestNeighbor4D self) -> std::string"""
11570  return _IMP_algebra.NearestNeighbor4D___repr__(self)
11571 
11572 
11573  @staticmethod
11574  def get_from(o):
11575  return _object_cast_to_NearestNeighborD(o)
11576 
11577 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
11578 NearestNeighbor4D_swigregister(NearestNeighbor4D)
11579 
11580 class NearestNeighbor5D(IMP.Object):
11581  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
11582 
11583  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11584 
11585  def __init__(self, vs, epsilon=0):
11586  """
11587  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
11588  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
11589  """
11590  this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
11591  try:
11592  self.this.append(this)
11593  except __builtin__.Exception:
11594  self.this = this
11595 
11596  def set_query_log(self, fname):
11597  """set_query_log(NearestNeighbor5D self, std::string fname)"""
11598  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
11599 
11600 
11601  def get_nearest_neighbor(self, *args):
11602  """
11603  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
11604  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
11605  """
11606  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
11607 
11608 
11609  def get_nearest_neighbors(self, *args):
11610  """
11611  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
11612  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
11613  """
11614  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
11615 
11616 
11617  def get_in_ball(self, *args):
11618  """
11619  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
11620  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
11621  """
11622  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
11623 
11624 
11625  def get_version_info(self):
11626  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
11627  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11628 
11629 
11630  def __str__(self):
11631  """__str__(NearestNeighbor5D self) -> std::string"""
11632  return _IMP_algebra.NearestNeighbor5D___str__(self)
11633 
11634 
11635  def __repr__(self):
11636  """__repr__(NearestNeighbor5D self) -> std::string"""
11637  return _IMP_algebra.NearestNeighbor5D___repr__(self)
11638 
11639 
11640  @staticmethod
11641  def get_from(o):
11642  return _object_cast_to_NearestNeighborD(o)
11643 
11644 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11645 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11646 
11647 class NearestNeighbor6D(IMP.Object):
11648  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
11649 
11650  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11651 
11652  def __init__(self, vs, epsilon=0):
11653  """
11654  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11655  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11656  """
11657  this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11658  try:
11659  self.this.append(this)
11660  except __builtin__.Exception:
11661  self.this = this
11662 
11663  def set_query_log(self, fname):
11664  """set_query_log(NearestNeighbor6D self, std::string fname)"""
11665  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11666 
11667 
11668  def get_nearest_neighbor(self, *args):
11669  """
11670  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11671  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11672  """
11673  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11674 
11675 
11676  def get_nearest_neighbors(self, *args):
11677  """
11678  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11679  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11680  """
11681  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11682 
11683 
11684  def get_in_ball(self, *args):
11685  """
11686  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11687  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11688  """
11689  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11690 
11691 
11692  def get_version_info(self):
11693  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11694  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11695 
11696 
11697  def __str__(self):
11698  """__str__(NearestNeighbor6D self) -> std::string"""
11699  return _IMP_algebra.NearestNeighbor6D___str__(self)
11700 
11701 
11702  def __repr__(self):
11703  """__repr__(NearestNeighbor6D self) -> std::string"""
11704  return _IMP_algebra.NearestNeighbor6D___repr__(self)
11705 
11706 
11707  @staticmethod
11708  def get_from(o):
11709  return _object_cast_to_NearestNeighborD(o)
11710 
11711 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11712 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11713 
11714 class NearestNeighborKD(IMP.Object):
11715  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11716 
11717  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11718 
11719  def __init__(self, vs, epsilon=0):
11720  """
11721  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11722  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11723  """
11724  this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11725  try:
11726  self.this.append(this)
11727  except __builtin__.Exception:
11728  self.this = this
11729 
11730  def set_query_log(self, fname):
11731  """set_query_log(NearestNeighborKD self, std::string fname)"""
11732  return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11733 
11734 
11735  def get_nearest_neighbor(self, *args):
11736  """
11737  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11738  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11739  """
11740  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11741 
11742 
11743  def get_nearest_neighbors(self, *args):
11744  """
11745  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11746  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11747  """
11748  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11749 
11750 
11751  def get_in_ball(self, *args):
11752  """
11753  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11754  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11755  """
11756  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11757 
11758 
11759  def get_version_info(self):
11760  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11761  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11762 
11763 
11764  def __str__(self):
11765  """__str__(NearestNeighborKD self) -> std::string"""
11766  return _IMP_algebra.NearestNeighborKD___str__(self)
11767 
11768 
11769  def __repr__(self):
11770  """__repr__(NearestNeighborKD self) -> std::string"""
11771  return _IMP_algebra.NearestNeighborKD___repr__(self)
11772 
11773 
11774  @staticmethod
11775  def get_from(o):
11776  return _object_cast_to_NearestNeighborD(o)
11777 
11778 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11779 NearestNeighborKD_swigregister(NearestNeighborKD)
11780 
11781 
11782 def get_transformation_aligning_pair(set_from, set_to):
11783  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11784  return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11785 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11786  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11787 
11788  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11789 
11790  def __init__(self, *args):
11791  """
11792  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11793  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11794  """
11795  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11796  try:
11797  self.this.append(this)
11798  except __builtin__.Exception:
11799  self.this = this
11800 
11801  def get_principal_components(self):
11802  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11803  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11804 
11805 
11806  def get_principal_component(self, i):
11807  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11808  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11809 
11810 
11811  def get_principal_values(self):
11812  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11813  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11814 
11815 
11816  def get_principal_value(self, i):
11817  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11818  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11819 
11820 
11821  def get_centroid(self):
11822  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11823  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11824 
11825 
11826  def set_centroid(self, cntr):
11827  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11828  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11829 
11830 
11831  def show(self, *args):
11832  """
11833  show(PrincipalComponentAnalysis1D self, _ostream out)
11834  show(PrincipalComponentAnalysis1D self)
11835  """
11836  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11837 
11838 
11839  def __cmp__(self, o):
11840  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11841  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11842 
11843 
11844  def __eq__(self, o):
11845  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11846  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11847 
11848 
11849  def __ne__(self, o):
11850  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11851  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11852 
11853 
11854  def __lt__(self, o):
11855  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11856  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11857 
11858 
11859  def __gt__(self, o):
11860  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11861  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11862 
11863 
11864  def __ge__(self, o):
11865  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11866  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11867 
11868 
11869  def __le__(self, o):
11870  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11871  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11872 
11873 
11874  def __str__(self):
11875  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11876  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11877 
11878 
11879  def __repr__(self):
11880  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11881  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11882 
11883  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11884  __del__ = lambda self: None
11885 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11886 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11887 
11888 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11889  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11890 
11891  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11892 
11893  def __init__(self, *args):
11894  """
11895  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11896  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11897  """
11898  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11899  try:
11900  self.this.append(this)
11901  except __builtin__.Exception:
11902  self.this = this
11903 
11904  def get_principal_components(self):
11905  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11906  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11907 
11908 
11909  def get_principal_component(self, i):
11910  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11911  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11912 
11913 
11914  def get_principal_values(self):
11915  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11916  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11917 
11918 
11919  def get_principal_value(self, i):
11920  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11921  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11922 
11923 
11924  def get_centroid(self):
11925  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11926  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11927 
11928 
11929  def set_centroid(self, cntr):
11930  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11931  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11932 
11933 
11934  def show(self, *args):
11935  """
11936  show(PrincipalComponentAnalysis2D self, _ostream out)
11937  show(PrincipalComponentAnalysis2D self)
11938  """
11939  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11940 
11941 
11942  def __cmp__(self, o):
11943  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11944  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11945 
11946 
11947  def __eq__(self, o):
11948  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11949  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11950 
11951 
11952  def __ne__(self, o):
11953  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11954  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11955 
11956 
11957  def __lt__(self, o):
11958  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11959  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11960 
11961 
11962  def __gt__(self, o):
11963  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11964  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11965 
11966 
11967  def __ge__(self, o):
11968  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11969  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11970 
11971 
11972  def __le__(self, o):
11973  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11974  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11975 
11976 
11977  def __str__(self):
11978  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11979  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11980 
11981 
11982  def __repr__(self):
11983  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11984  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11985 
11986  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11987  __del__ = lambda self: None
11988 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11989 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11990 
11991 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11992  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11993 
11994  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11995 
11996  def __init__(self, *args):
11997  """
11998  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11999  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
12000  """
12001  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
12002  try:
12003  self.this.append(this)
12004  except __builtin__.Exception:
12005  self.this = this
12006 
12007  def get_principal_components(self):
12008  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
12009  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
12010 
12011 
12012  def get_principal_component(self, i):
12013  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
12014  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
12015 
12016 
12017  def get_principal_values(self):
12018  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
12019  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
12020 
12021 
12022  def get_principal_value(self, i):
12023  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
12024  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
12025 
12026 
12027  def get_centroid(self):
12028  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
12029  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
12030 
12031 
12032  def set_centroid(self, cntr):
12033  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
12034  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
12035 
12036 
12037  def show(self, *args):
12038  """
12039  show(PrincipalComponentAnalysis3D self, _ostream out)
12040  show(PrincipalComponentAnalysis3D self)
12041  """
12042  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
12043 
12044 
12045  def __cmp__(self, o):
12046  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
12047  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
12048 
12049 
12050  def __eq__(self, o):
12051  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12052  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
12053 
12054 
12055  def __ne__(self, o):
12056  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12057  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
12058 
12059 
12060  def __lt__(self, o):
12061  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12062  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
12063 
12064 
12065  def __gt__(self, o):
12066  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12067  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
12068 
12069 
12070  def __ge__(self, o):
12071  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12072  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
12073 
12074 
12075  def __le__(self, o):
12076  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12077  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
12078 
12079 
12080  def __str__(self):
12081  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
12082  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
12083 
12084 
12085  def __repr__(self):
12086  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
12087  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
12088 
12089  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
12090  __del__ = lambda self: None
12091 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
12092 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
12093 
12094 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
12095  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
12096 
12097  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12098 
12099  def __init__(self, *args):
12100  """
12101  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
12102  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
12103  """
12104  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
12105  try:
12106  self.this.append(this)
12107  except __builtin__.Exception:
12108  self.this = this
12109 
12110  def get_principal_components(self):
12111  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
12112  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
12113 
12114 
12115  def get_principal_component(self, i):
12116  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
12117  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
12118 
12119 
12120  def get_principal_values(self):
12121  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
12122  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
12123 
12124 
12125  def get_principal_value(self, i):
12126  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
12127  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
12128 
12129 
12130  def get_centroid(self):
12131  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
12132  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
12133 
12134 
12135  def set_centroid(self, cntr):
12136  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
12137  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
12138 
12139 
12140  def show(self, *args):
12141  """
12142  show(PrincipalComponentAnalysis4D self, _ostream out)
12143  show(PrincipalComponentAnalysis4D self)
12144  """
12145  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
12146 
12147 
12148  def __cmp__(self, o):
12149  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
12150  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
12151 
12152 
12153  def __eq__(self, o):
12154  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12155  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
12156 
12157 
12158  def __ne__(self, o):
12159  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12160  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
12161 
12162 
12163  def __lt__(self, o):
12164  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12165  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
12166 
12167 
12168  def __gt__(self, o):
12169  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12170  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
12171 
12172 
12173  def __ge__(self, o):
12174  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12175  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
12176 
12177 
12178  def __le__(self, o):
12179  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12180  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
12181 
12182 
12183  def __str__(self):
12184  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
12185  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
12186 
12187 
12188  def __repr__(self):
12189  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
12190  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
12191 
12192  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
12193  __del__ = lambda self: None
12194 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
12195 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
12196 
12197 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
12198  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
12199 
12200  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12201 
12202  def __init__(self, *args):
12203  """
12204  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
12205  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
12206  """
12207  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
12208  try:
12209  self.this.append(this)
12210  except __builtin__.Exception:
12211  self.this = this
12212 
12213  def get_principal_components(self):
12214  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
12215  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
12216 
12217 
12218  def get_principal_component(self, i):
12219  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
12220  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
12221 
12222 
12223  def get_principal_values(self):
12224  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
12225  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
12226 
12227 
12228  def get_principal_value(self, i):
12229  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
12230  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
12231 
12232 
12233  def get_centroid(self):
12234  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
12235  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
12236 
12237 
12238  def set_centroid(self, cntr):
12239  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
12240  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
12241 
12242 
12243  def show(self, *args):
12244  """
12245  show(PrincipalComponentAnalysis5D self, _ostream out)
12246  show(PrincipalComponentAnalysis5D self)
12247  """
12248  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
12249 
12250 
12251  def __cmp__(self, o):
12252  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
12253  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
12254 
12255 
12256  def __eq__(self, o):
12257  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12258  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
12259 
12260 
12261  def __ne__(self, o):
12262  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12263  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
12264 
12265 
12266  def __lt__(self, o):
12267  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12268  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
12269 
12270 
12271  def __gt__(self, o):
12272  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12273  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
12274 
12275 
12276  def __ge__(self, o):
12277  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12278  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
12279 
12280 
12281  def __le__(self, o):
12282  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12283  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
12284 
12285 
12286  def __str__(self):
12287  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
12288  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
12289 
12290 
12291  def __repr__(self):
12292  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
12293  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
12294 
12295  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
12296  __del__ = lambda self: None
12297 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
12298 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
12299 
12300 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
12301  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
12302 
12303  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12304 
12305  def __init__(self, *args):
12306  """
12307  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
12308  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
12309  """
12310  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
12311  try:
12312  self.this.append(this)
12313  except __builtin__.Exception:
12314  self.this = this
12315 
12316  def get_principal_components(self):
12317  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
12318  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
12319 
12320 
12321  def get_principal_component(self, i):
12322  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
12323  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
12324 
12325 
12326  def get_principal_values(self):
12327  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
12328  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
12329 
12330 
12331  def get_principal_value(self, i):
12332  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
12333  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
12334 
12335 
12336  def get_centroid(self):
12337  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
12338  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
12339 
12340 
12341  def set_centroid(self, cntr):
12342  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
12343  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
12344 
12345 
12346  def show(self, *args):
12347  """
12348  show(PrincipalComponentAnalysis6D self, _ostream out)
12349  show(PrincipalComponentAnalysis6D self)
12350  """
12351  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
12352 
12353 
12354  def __cmp__(self, o):
12355  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
12356  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
12357 
12358 
12359  def __eq__(self, o):
12360  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12361  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
12362 
12363 
12364  def __ne__(self, o):
12365  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12366  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
12367 
12368 
12369  def __lt__(self, o):
12370  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12371  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
12372 
12373 
12374  def __gt__(self, o):
12375  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12376  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
12377 
12378 
12379  def __ge__(self, o):
12380  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12381  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
12382 
12383 
12384  def __le__(self, o):
12385  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12386  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
12387 
12388 
12389  def __str__(self):
12390  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
12391  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
12392 
12393 
12394  def __repr__(self):
12395  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
12396  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
12397 
12398  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
12399  __del__ = lambda self: None
12400 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
12401 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
12402 
12403 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
12404  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
12405 
12406  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12407 
12408  def __init__(self, *args):
12409  """
12410  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
12411  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
12412  """
12413  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
12414  try:
12415  self.this.append(this)
12416  except __builtin__.Exception:
12417  self.this = this
12418 
12419  def get_principal_components(self):
12420  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
12421  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
12422 
12423 
12424  def get_principal_component(self, i):
12425  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
12426  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
12427 
12428 
12429  def get_principal_values(self):
12430  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
12431  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
12432 
12433 
12434  def get_principal_value(self, i):
12435  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
12436  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
12437 
12438 
12439  def get_centroid(self):
12440  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
12441  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
12442 
12443 
12444  def set_centroid(self, cntr):
12445  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
12446  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
12447 
12448 
12449  def show(self, *args):
12450  """
12451  show(PrincipalComponentAnalysisKD self, _ostream out)
12452  show(PrincipalComponentAnalysisKD self)
12453  """
12454  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
12455 
12456 
12457  def __cmp__(self, o):
12458  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
12459  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
12460 
12461 
12462  def __eq__(self, o):
12463  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12464  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
12465 
12466 
12467  def __ne__(self, o):
12468  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12469  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
12470 
12471 
12472  def __lt__(self, o):
12473  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12474  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
12475 
12476 
12477  def __gt__(self, o):
12478  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12479  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
12480 
12481 
12482  def __ge__(self, o):
12483  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12484  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
12485 
12486 
12487  def __le__(self, o):
12488  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12489  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
12490 
12491 
12492  def __str__(self):
12493  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
12494  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
12495 
12496 
12497  def __repr__(self):
12498  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
12499  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
12500 
12501  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
12502  __del__ = lambda self: None
12503 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
12504 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
12505 
12506 
12507 def get_principal_components(*args):
12508  """
12509  get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
12510  get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
12511  get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
12512  get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
12513  get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
12514  get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
12515  get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
12516  """
12517  return _IMP_algebra.get_principal_components(*args)
12518 
12519 def get_distance(*args):
12520  """
12521  get_distance(Rotation3D r0, Rotation3D r1) -> double
12522  get_distance(Line3D s, Vector3D p) -> double
12523  get_distance(Line3D a, Line3D b) -> double
12524  get_distance(Segment3D s, Vector3D p) -> double
12525  get_distance(Segment3D a, Segment3D b) -> double
12526  get_distance(Plane3D pln, Vector3D p) -> double
12527  get_distance(Vector1D a, Vector1D b) -> double
12528  get_distance(Vector2D a, Vector2D b) -> double
12529  get_distance(Vector3D a, Vector3D b) -> double
12530  get_distance(Vector4D a, Vector4D b) -> double
12531  get_distance(Vector5D a, Vector5D b) -> double
12532  get_distance(Vector6D a, Vector6D b) -> double
12533  get_distance(VectorKD a, VectorKD b) -> double
12534  get_distance(Sphere1D a, Sphere1D b) -> double
12535  get_distance(Sphere2D a, Sphere2D b) -> double
12536  get_distance(Sphere3D a, Sphere3D b) -> double
12537  get_distance(Sphere4D a, Sphere4D b) -> double
12538  get_distance(Sphere5D a, Sphere5D b) -> double
12539  get_distance(Sphere6D a, Sphere6D b) -> double
12540  get_distance(SphereKD a, SphereKD b) -> double
12541  """
12542  return _IMP_algebra.get_distance(*args)
12543 
12544 def get_squared_distance(*args):
12545  """
12546  get_squared_distance(Vector1D a, Vector1D b) -> double
12547  get_squared_distance(Vector2D a, Vector2D b) -> double
12548  get_squared_distance(Vector3D a, Vector3D b) -> double
12549  get_squared_distance(Vector4D a, Vector4D b) -> double
12550  get_squared_distance(Vector5D a, Vector5D b) -> double
12551  get_squared_distance(Vector6D a, Vector6D b) -> double
12552  get_squared_distance(VectorKD a, VectorKD b) -> double
12553  """
12554  return _IMP_algebra.get_squared_distance(*args)
12555 
12556 def get_basis_vector_1d(coordinate):
12557  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
12558  return _IMP_algebra.get_basis_vector_1d(coordinate)
12559 
12560 def get_basis_vector_2d(coordinate):
12561  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
12562  return _IMP_algebra.get_basis_vector_2d(coordinate)
12563 
12564 def get_basis_vector_3d(coordinate):
12565  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
12566  return _IMP_algebra.get_basis_vector_3d(coordinate)
12567 
12568 def get_basis_vector_4d(coordinate):
12569  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
12570  return _IMP_algebra.get_basis_vector_4d(coordinate)
12571 
12572 def get_basis_vector_5d(coordinate):
12573  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
12574  return _IMP_algebra.get_basis_vector_5d(coordinate)
12575 
12576 def get_basis_vector_6d(coordinate):
12577  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
12578  return _IMP_algebra.get_basis_vector_6d(coordinate)
12579 
12580 def get_zero_vector_1d():
12581  """get_zero_vector_1d() -> Vector1D"""
12582  return _IMP_algebra.get_zero_vector_1d()
12583 
12584 def get_zero_vector_2d():
12585  """get_zero_vector_2d() -> Vector2D"""
12586  return _IMP_algebra.get_zero_vector_2d()
12587 
12588 def get_zero_vector_3d():
12589  """get_zero_vector_3d() -> Vector3D"""
12590  return _IMP_algebra.get_zero_vector_3d()
12591 
12592 def get_zero_vector_4d():
12593  """get_zero_vector_4d() -> Vector4D"""
12594  return _IMP_algebra.get_zero_vector_4d()
12595 
12596 def get_zero_vector_5d():
12597  """get_zero_vector_5d() -> Vector5D"""
12598  return _IMP_algebra.get_zero_vector_5d()
12599 
12600 def get_zero_vector_6d():
12601  """get_zero_vector_6d() -> Vector6D"""
12602  return _IMP_algebra.get_zero_vector_6d()
12603 
12604 def get_ones_vector_1d(v=1):
12605  """
12606  get_ones_vector_1d(double v=1) -> Vector1D
12607  get_ones_vector_1d() -> Vector1D
12608  """
12609  return _IMP_algebra.get_ones_vector_1d(v)
12610 
12611 def get_ones_vector_2d(v=1):
12612  """
12613  get_ones_vector_2d(double v=1) -> Vector2D
12614  get_ones_vector_2d() -> Vector2D
12615  """
12616  return _IMP_algebra.get_ones_vector_2d(v)
12617 
12618 def get_ones_vector_3d(v=1):
12619  """
12620  get_ones_vector_3d(double v=1) -> Vector3D
12621  get_ones_vector_3d() -> Vector3D
12622  """
12623  return _IMP_algebra.get_ones_vector_3d(v)
12624 
12625 def get_ones_vector_4d(v=1):
12626  """
12627  get_ones_vector_4d(double v=1) -> Vector4D
12628  get_ones_vector_4d() -> Vector4D
12629  """
12630  return _IMP_algebra.get_ones_vector_4d(v)
12631 
12632 def get_ones_vector_5d(v=1):
12633  """
12634  get_ones_vector_5d(double v=1) -> Vector5D
12635  get_ones_vector_5d() -> Vector5D
12636  """
12637  return _IMP_algebra.get_ones_vector_5d(v)
12638 
12639 def get_ones_vector_6d(v=1):
12640  """
12641  get_ones_vector_6d(double v=1) -> Vector6D
12642  get_ones_vector_6d() -> Vector6D
12643  """
12644  return _IMP_algebra.get_ones_vector_6d(v)
12645 
12646 def get_unit_bounding_box_1d():
12647  """get_unit_bounding_box_1d() -> BoundingBox1D"""
12648  return _IMP_algebra.get_unit_bounding_box_1d()
12649 
12650 def get_unit_bounding_box_2d():
12651  """get_unit_bounding_box_2d() -> BoundingBox2D"""
12652  return _IMP_algebra.get_unit_bounding_box_2d()
12653 
12654 def get_unit_bounding_box_3d():
12655  """get_unit_bounding_box_3d() -> BoundingBox3D"""
12656  return _IMP_algebra.get_unit_bounding_box_3d()
12657 
12658 def get_unit_bounding_box_4d():
12659  """get_unit_bounding_box_4d() -> BoundingBox4D"""
12660  return _IMP_algebra.get_unit_bounding_box_4d()
12661 
12662 def get_unit_bounding_box_5d():
12663  """get_unit_bounding_box_5d() -> BoundingBox5D"""
12664  return _IMP_algebra.get_unit_bounding_box_5d()
12665 
12666 def get_unit_bounding_box_6d():
12667  """get_unit_bounding_box_6d() -> BoundingBox6D"""
12668  return _IMP_algebra.get_unit_bounding_box_6d()
12669 
12670 def get_cube_1d(radius):
12671  """get_cube_1d(double radius) -> BoundingBox1D"""
12672  return _IMP_algebra.get_cube_1d(radius)
12673 
12674 def get_cube_2d(radius):
12675  """get_cube_2d(double radius) -> BoundingBox2D"""
12676  return _IMP_algebra.get_cube_2d(radius)
12677 
12678 def get_cube_3d(radius):
12679  """get_cube_3d(double radius) -> BoundingBox3D"""
12680  return _IMP_algebra.get_cube_3d(radius)
12681 
12682 def get_cube_4d(radius):
12683  """get_cube_4d(double radius) -> BoundingBox4D"""
12684  return _IMP_algebra.get_cube_4d(radius)
12685 
12686 def get_cube_5d(radius):
12687  """get_cube_5d(double radius) -> BoundingBox5D"""
12688  return _IMP_algebra.get_cube_5d(radius)
12689 
12690 def get_cube_6d(radius):
12691  """get_cube_6d(double radius) -> BoundingBox6D"""
12692  return _IMP_algebra.get_cube_6d(radius)
12693 
12694 def get_unit_sphere_1d():
12695  """get_unit_sphere_1d() -> Sphere1D"""
12696  return _IMP_algebra.get_unit_sphere_1d()
12697 
12698 def get_unit_sphere_2d():
12699  """get_unit_sphere_2d() -> Sphere2D"""
12700  return _IMP_algebra.get_unit_sphere_2d()
12701 
12702 def get_unit_sphere_3d():
12703  """get_unit_sphere_3d() -> Sphere3D"""
12704  return _IMP_algebra.get_unit_sphere_3d()
12705 
12706 def get_unit_sphere_4d():
12707  """get_unit_sphere_4d() -> Sphere4D"""
12708  return _IMP_algebra.get_unit_sphere_4d()
12709 
12710 def get_unit_sphere_5d():
12711  """get_unit_sphere_5d() -> Sphere5D"""
12712  return _IMP_algebra.get_unit_sphere_5d()
12713 
12714 def get_unit_sphere_6d():
12715  """get_unit_sphere_6d() -> Sphere6D"""
12716  return _IMP_algebra.get_unit_sphere_6d()
12717 
12718 def get_interiors_intersect(*args):
12719  """
12720  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12721  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12722  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12723  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12724  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12725  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12726  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12727  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12728  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12729  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12730  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12731  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12732  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12733  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12734  """
12735  return _IMP_algebra.get_interiors_intersect(*args)
12736 
12737 def get_random_vector_on(*args):
12738  """
12739  get_random_vector_on(Sphere1D a) -> Vector1D
12740  get_random_vector_on(Sphere2D a) -> Vector2D
12741  get_random_vector_on(Sphere3D a) -> Vector3D
12742  get_random_vector_on(Sphere4D a) -> Vector4D
12743  get_random_vector_on(Sphere5D a) -> Vector5D
12744  get_random_vector_on(Sphere6D a) -> Vector6D
12745  get_random_vector_on(SphereKD a) -> VectorKD
12746  get_random_vector_on(UnitSimplex1D a) -> Vector1D
12747  get_random_vector_on(UnitSimplex2D a) -> Vector2D
12748  get_random_vector_on(UnitSimplex3D a) -> Vector3D
12749  get_random_vector_on(UnitSimplex4D a) -> Vector4D
12750  get_random_vector_on(UnitSimplex5D a) -> Vector5D
12751  get_random_vector_on(UnitSimplex6D a) -> Vector6D
12752  get_random_vector_on(UnitSimplexKD a) -> VectorKD
12753  get_random_vector_on(BoundingBox1D a) -> Vector1D
12754  get_random_vector_on(BoundingBox2D a) -> Vector2D
12755  get_random_vector_on(BoundingBox3D a) -> Vector3D
12756  get_random_vector_on(BoundingBox4D a) -> Vector4D
12757  get_random_vector_on(BoundingBox5D a) -> Vector5D
12758  get_random_vector_on(BoundingBox6D a) -> Vector6D
12759  get_random_vector_on(BoundingBoxKD a) -> VectorKD
12760  """
12761  return _IMP_algebra.get_random_vector_on(*args)
12762 
12763 def get_random_vector_in(*args):
12764  """
12765  get_random_vector_in(Cylinder3D c) -> Vector3D
12766  get_random_vector_in(Sphere1D a) -> Vector1D
12767  get_random_vector_in(Sphere2D a) -> Vector2D
12768  get_random_vector_in(Sphere3D a) -> Vector3D
12769  get_random_vector_in(Sphere4D a) -> Vector4D
12770  get_random_vector_in(Sphere5D a) -> Vector5D
12771  get_random_vector_in(Sphere6D a) -> Vector6D
12772  get_random_vector_in(SphereKD a) -> VectorKD
12773  get_random_vector_in(BoundingBox1D a) -> Vector1D
12774  get_random_vector_in(BoundingBox2D a) -> Vector2D
12775  get_random_vector_in(BoundingBox3D a) -> Vector3D
12776  get_random_vector_in(BoundingBox4D a) -> Vector4D
12777  get_random_vector_in(BoundingBox5D a) -> Vector5D
12778  get_random_vector_in(BoundingBox6D a) -> Vector6D
12779  get_random_vector_in(BoundingBoxKD a) -> VectorKD
12780  """
12781  return _IMP_algebra.get_random_vector_in(*args)
12782 
12783 def get_intersection(*args):
12784  """
12785  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12786  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12787  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12788  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12789  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12790  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12791  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12792  """
12793  return _IMP_algebra.get_intersection(*args)
12794 
12795 def get_union(*args):
12796  """
12797  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12798  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12799  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12800  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12801  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12802  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12803  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12804  """
12805  return _IMP_algebra.get_union(*args)
12806 
12807 def get_bounding_box(*args):
12808  """
12809  get_bounding_box(Line3D g) -> BoundingBox3D
12810  get_bounding_box(Segment3D g) -> BoundingBox3D
12811  get_bounding_box(Plane3D g) -> BoundingBox3D
12812  get_bounding_box(Cylinder3D g) -> BoundingBox3D
12813  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12814  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12815  get_bounding_box(Cone3D g) -> BoundingBox3D
12816  get_bounding_box(Sphere1D a) -> BoundingBox1D
12817  get_bounding_box(Sphere2D a) -> BoundingBox2D
12818  get_bounding_box(Sphere3D a) -> BoundingBox3D
12819  get_bounding_box(Sphere4D a) -> BoundingBox4D
12820  get_bounding_box(Sphere5D a) -> BoundingBox5D
12821  get_bounding_box(Sphere6D a) -> BoundingBox6D
12822  get_bounding_box(SphereKD a) -> BoundingBoxKD
12823  """
12824  return _IMP_algebra.get_bounding_box(*args)
12825 
12826 def get_uniform_surface_cover(*args):
12827  """
12828  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12829  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12830  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12831  get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12832  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12833  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12834  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12835  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12836  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12837  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12838  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12839  """
12840  return _IMP_algebra.get_uniform_surface_cover(*args)
12841 
12843  """
12844  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12845  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12846  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12847  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12848  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12849  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12850  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12851  """
12852  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12853 
12854 def get_projected(*args):
12855  """
12856  get_projected(Line3D l, Vector3D p) -> Vector3D
12857  get_projected(Line3D l, Segment3D s) -> Segment3D
12858  get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
12859  get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
12860  get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
12861  get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
12862  get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
12863  get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
12864  get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
12865  """
12866  return _IMP_algebra.get_projected(*args)
12867 
12868 def get_vertices(*args):
12869  """
12870  get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12871  get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12872  get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12873  get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12874  get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12875  get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12876  get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12877  get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12878  get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12879  get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12880  get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12881  get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12882  get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12883  get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12884  """
12885  return _IMP_algebra.get_vertices(*args)
12886 
12887 def get_increasing_from_embedded(*args):
12888  """
12889  get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
12890  get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
12891  get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
12892  get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
12893  get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
12894  get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
12895  get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
12896  """
12897  return _IMP_algebra.get_increasing_from_embedded(*args)
12898 
12899 def get_embedded_from_increasing(*args):
12900  """
12901  get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
12902  get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
12903  get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
12904  get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
12905  get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
12906  get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
12907  get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
12908  """
12909  return _IMP_algebra.get_embedded_from_increasing(*args)
12910 class _AxisAnglePair(object):
12911  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12912 
12913  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12914  __repr__ = _swig_repr
12915 
12916  def __init__(self, *args):
12917  """
12918  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12919  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12920  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12921  """
12922  this = _IMP_algebra.new__AxisAnglePair(*args)
12923  try:
12924  self.this.append(this)
12925  except __builtin__.Exception:
12926  self.this = this
12927  first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12928  second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12929  def __len__(self):
12930  return 2
12931  def __repr__(self):
12932  return str((self.first, self.second))
12933  def __getitem__(self, index):
12934  if not (index % 2):
12935  return self.first
12936  else:
12937  return self.second
12938  def __setitem__(self, index, val):
12939  if not (index % 2):
12940  self.first = val
12941  else:
12942  self.second = val
12943  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12944  __del__ = lambda self: None
12945 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12946 _AxisAnglePair_swigregister(_AxisAnglePair)
12947 
12948 
12950  """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12951  return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12952 class _RotatedVector3DAdjoint(object):
12953  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class."""
12954 
12955  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12956  __repr__ = _swig_repr
12957 
12958  def __init__(self, *args):
12959  """
12960  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
12961  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
12962  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
12963  """
12964  this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
12965  try:
12966  self.this.append(this)
12967  except __builtin__.Exception:
12968  self.this = this
12969  first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
12970  second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
12971  def __len__(self):
12972  return 2
12973  def __repr__(self):
12974  return str((self.first, self.second))
12975  def __getitem__(self, index):
12976  if not (index % 2):
12977  return self.first
12978  else:
12979  return self.second
12980  def __setitem__(self, index, val):
12981  if not (index % 2):
12982  self.first = val
12983  else:
12984  self.second = val
12985  __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
12986  __del__ = lambda self: None
12987 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
12988 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
12989 
12990 class _ComposeRotation3DAdjoint(object):
12991  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class."""
12992 
12993  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12994  __repr__ = _swig_repr
12995 
12996  def __init__(self, *args):
12997  """
12998  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
12999  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
13000  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
13001  """
13002  this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
13003  try:
13004  self.this.append(this)
13005  except __builtin__.Exception:
13006  self.this = this
13007  first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
13008  second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
13009  def __len__(self):
13010  return 2
13011  def __repr__(self):
13012  return str((self.first, self.second))
13013  def __getitem__(self, index):
13014  if not (index % 2):
13015  return self.first
13016  else:
13017  return self.second
13018  def __setitem__(self, index, val):
13019  if not (index % 2):
13020  self.first = val
13021  else:
13022  self.second = val
13023  __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
13024  __del__ = lambda self: None
13025 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
13026 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
13027 
13028 class _Transformation3DAdjoint(object):
13029  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class."""
13030 
13031  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13032  __repr__ = _swig_repr
13033 
13034  def __init__(self, *args):
13035  """
13036  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
13037  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
13038  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
13039  """
13040  this = _IMP_algebra.new__Transformation3DAdjoint(*args)
13041  try:
13042  self.this.append(this)
13043  except __builtin__.Exception:
13044  self.this = this
13045  first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
13046  second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
13047  def __len__(self):
13048  return 2
13049  def __repr__(self):
13050  return str((self.first, self.second))
13051  def __getitem__(self, index):
13052  if not (index % 2):
13053  return self.first
13054  else:
13055  return self.second
13056  def __setitem__(self, index, val):
13057  if not (index % 2):
13058  self.first = val
13059  else:
13060  self.second = val
13061  __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
13062  __del__ = lambda self: None
13063 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
13064 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
13065 
13066 class _TransformedVector3DAdjoint(object):
13067  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class."""
13068 
13069  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13070  __repr__ = _swig_repr
13071 
13072  def __init__(self, *args):
13073  """
13074  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
13075  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
13076  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
13077  """
13078  this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
13079  try:
13080  self.this.append(this)
13081  except __builtin__.Exception:
13082  self.this = this
13083  first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
13084  second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
13085  def __len__(self):
13086  return 2
13087  def __repr__(self):
13088  return str((self.first, self.second))
13089  def __getitem__(self, index):
13090  if not (index % 2):
13091  return self.first
13092  else:
13093  return self.second
13094  def __setitem__(self, index, val):
13095  if not (index % 2):
13096  self.first = val
13097  else:
13098  self.second = val
13099  __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
13100  __del__ = lambda self: None
13101 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
13102 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
13103 
13104 class _ComposeTransformation3DAdjoint(object):
13105  """Proxy of C++ std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class."""
13106 
13107  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13108  __repr__ = _swig_repr
13109 
13110  def __init__(self, *args):
13111  """
13112  __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _ComposeTransformation3DAdjoint
13113  __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _Transformation3DAdjoint first, _Transformation3DAdjoint second) -> _ComposeTransformation3DAdjoint
13114  __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _ComposeTransformation3DAdjoint p) -> _ComposeTransformation3DAdjoint
13115  """
13116  this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
13117  try:
13118  self.this.append(this)
13119  except __builtin__.Exception:
13120  self.this = this
13121  first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
13122  second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
13123  def __len__(self):
13124  return 2
13125  def __repr__(self):
13126  return str((self.first, self.second))
13127  def __getitem__(self, index):
13128  if not (index % 2):
13129  return self.first
13130  else:
13131  return self.second
13132  def __setitem__(self, index, val):
13133  if not (index % 2):
13134  self.first = val
13135  else:
13136  self.second = val
13137  __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
13138  __del__ = lambda self: None
13139 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
13140 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
13141 
13142 
13143 def get_rmsd_transforming_first(tr, v0, v1):
13144  """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13145  return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
13146 
13147 def get_rmsd(v0, v1):
13148  """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13149  return _IMP_algebra.get_rmsd(v0, v1)
13150 
13151 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
13152  """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13153  return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
13154 
13155 def get_weighted_rmsd(v0, v1, weights):
13156  """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13157  return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
13158 
13159 LinearFit=LinearFit2D
13160 ParabolicFit=ParabolicFit2D
13161 
13162 
13163 def get_module_version():
13164  """get_module_version() -> std::string const"""
13165  return _IMP_algebra.get_module_version()
13166 
13167 def get_example_path(fname):
13168  """get_example_path(std::string fname) -> std::string"""
13169  return _IMP_algebra.get_example_path(fname)
13170 
13171 def get_data_path(fname):
13172  """get_data_path(std::string fname) -> std::string"""
13173  return _IMP_algebra.get_data_path(fname)
13174 
13175 from . import _version_check
13176 _version_check.check_version(get_module_version())
13177 __version__ = get_module_version()
13178 
13179 
13180 
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
Definition: Rotation3D.h:395
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Definition: Surface.h:129
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
Definition: SphereD.h:96
SphereD< 3 > Sphere3D
Typedef for Python.
Definition: SphereD.h:96
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)
VectorD< 6 > Vector6D
Definition: VectorD.h:433
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 2 > Vector2D
Definition: VectorD.h:417
void compose_adjoint(const Rotation3D &A, const Rotation3D &B, Vector4D DC, Rotation3DAdjoint *DA, Rotation3DAdjoint *DB)
Get adjoint of inputs to compose from adjoint of output.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Definition: VectorD.h:276
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Definition: Rotation2D.h:108
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
VectorD< 5 > Vector5D
Definition: VectorD.h:429
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.
Definition: BoundingBoxD.h:274
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.
Definition: exception.h:123
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D &center)
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.
Definition: BoundingBoxD.h:307
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD< 2 > Sphere2D
Typedef for Python.
Definition: SphereD.h:96
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:254
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
Definition: VectorD.h:201
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Definition: VectorBaseD.h:229
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.
Definition: Sphere3D.h:35
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.
Definition: Plane3D.h:68
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Eigen::MatrixXd get_jacobian_of_composed_wrt_first(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get gradient of quaternion product with respect to first quaternion.
VectorD< D > get_basis_vector_kd(int Di, unsigned int coordinate)
Return the basis vector for the given coordinate.
Definition: VectorD.h:236
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< 4 > Vector4D
Definition: VectorD.h:425
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
Definition: VectorD.h:309
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Definition: Rotation3D.h:421
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.
Definition: BoundingBoxD.h:223
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.
Definition: BoundingBoxD.h:163
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.
Definition: Vector3D.h:31
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Definition: BoundingBoxD.h:209
VectorD< D > get_increasing_from_embedded(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from embedded to increasing coordinates.
Definition: UnitSimplexD.h:137
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
VectorD< D > get_embedded_from_increasing(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from increasing to embedded coordinates.
Definition: UnitSimplexD.h:151
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.
Definition: BoundingBoxD.h:176
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:90
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.
Definition: SphereD.h:96
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.
Definition: SphereD.h:96
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Definition: BoundingBoxD.h:187
Version and module information for Objects.
Definition: VersionInfo.h:28
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
VectorD< 1 > Vector1D
Definition: VectorD.h:413
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.
Definition: SphereD.h:96
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Definition: Rotation3D.h:609
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
Definition: Rotation3D.h:488
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Definition: BoundingBoxD.h:201
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)
Definition: Rotation2D.h:100
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
Definition: Vector3D.h:68
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
Eigen::MatrixXd get_jacobian_of_composed_wrt_second(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get Jacobian of quaternion product with respect to second quaternion.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
VectorD< 3 > Vector3D
Definition: VectorD.h:421
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
Definition: Rotation3D.h:356
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.
Definition: Vector3D.h:51
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.
VectorD<-1 > VectorKD
Definition: VectorD.h:437
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD<-1 > SphereKD
Typedef for Python.
Definition: SphereD.h:96
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.
Definition: BoundingBoxD.h:176
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
std::string get_module_version()
Return the version of this module, as a string.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:93