IMP logo
IMP Reference Guide  2.9.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-2018 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_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
242 
243 import sys
244 class _DirectorObjects(object):
245  """@internal Simple class to keep references to director objects
246  to prevent premature deletion."""
247  def __init__(self):
248  self._objects = []
249  def register(self, obj):
250  """Take a reference to a director object; will only work for
251  refcounted C++ classes"""
252  if hasattr(obj, 'get_ref_count'):
253  self._objects.append(obj)
254  def cleanup(self):
255  """Only drop our reference and allow cleanup by Python if no other
256  Python references exist (we hold 3 references: one in self._objects,
257  one in x, and one in the argument list for getrefcount) *and* no
258  other C++ references exist (the Python object always holds one)"""
259  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
260  or x.get_ref_count() > 1]
261 # Do in two steps so the references are kept until the end of the
262 # function (deleting references may trigger a fresh call to this method)
263  self._objects = objs
264  def get_object_count(self):
265  """Get number of director objects (useful for testing only)"""
266  return len(self._objects)
267 _director_objects = _DirectorObjects()
268 
269 class _ostream(object):
270  """Proxy of C++ std::ostream class."""
271 
272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
273 
274  def __init__(self, *args, **kwargs):
275  raise AttributeError("No constructor defined")
276  __repr__ = _swig_repr
277 
278  def write(self, osa_buf):
279  """write(_ostream self, char const * osa_buf)"""
280  return _IMP_algebra._ostream_write(self, osa_buf)
281 
282 _ostream_swigregister = _IMP_algebra._ostream_swigregister
283 _ostream_swigregister(_ostream)
284 
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
289 import IMP
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
295 import IMP.cgal
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
304 
305 def get_vector(v):
306  try:
307  return v.get_coordinates()
308  except:
309  return v
310 def get_sphere(v):
311  try:
312  return v.get_sphere()
313  except:
314  return v
315 
316 
317 _object_types.append("VectorKDMetric")
318 
319 
320 def _object_cast_to_VectorKDMetric(o):
321  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
322  return _IMP_algebra._object_cast_to_VectorKDMetric(o)
323 
324 _object_types.append("EuclideanVectorKDMetric")
325 
326 
327 def _object_cast_to_EuclideanVectorKDMetric(o):
328  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
329  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
330 
331 _object_types.append("MaxVectorKDMetric")
332 
333 
334 def _object_cast_to_MaxVectorKDMetric(o):
335  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
336  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
337 
338 _object_types.append("DynamicNearestNeighbor3D")
339 
340 
341 def _object_cast_to_DynamicNearestNeighbor3D(o):
342  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
343  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
344 
345 Rotation2Ds=list
346 _plural_types.append("Rotation2Ds")
347 _value_types.append("Rotation2D")
348 
349 
350 Rotation3Ds=list
351 _plural_types.append("Rotation3Ds")
352 _value_types.append("Rotation3D")
353 
354 
355 Reflection3Ds=list
356 _plural_types.append("Reflection3Ds")
357 _value_types.append("Reflection3D")
358 
359 
360 Transformation2Ds=list
361 _plural_types.append("Transformation2Ds")
362 _value_types.append("Transformation2D")
363 
364 
365 Transformation3Ds=list
366 _plural_types.append("Transformation3Ds")
367 _value_types.append("Transformation3D")
368 
369 
370 SphericalVector3Ds=list
371 _plural_types.append("SphericalVector3Ds")
372 _value_types.append("SphericalVector3D")
373 
374 
375 Triangle3Ds=list
376 _plural_types.append("Triangle3Ds")
377 _value_types.append("Triangle3D")
378 
379 
380 Cone3Ds=list
381 _plural_types.append("Cone3Ds")
382 _value_types.append("Cone3D")
383 
384 
385 Cylinder3Ds=list
386 _plural_types.append("Cylinder3Ds")
387 _value_types.append("Cylinder3D")
388 
389 
390 Ellipsoid3Ds=list
391 _plural_types.append("Ellipsoid3Ds")
392 _value_types.append("Ellipsoid3D")
393 
394 
395 Line3Ds=list
396 _plural_types.append("Line3Ds")
397 _value_types.append("Line3D")
398 
399 
400 Plane3Ds=list
401 _plural_types.append("Plane3Ds")
402 _value_types.append("Plane3D")
403 
404 
405 Segment3Ds=list
406 _plural_types.append("Segment3Ds")
407 _value_types.append("Segment3D")
408 
409 
410 SpherePatch3Ds=list
411 _plural_types.append("SpherePatch3Ds")
412 _value_types.append("SpherePatch3D")
413 
414 
415 ConnollySurfacePoints=list
416 _plural_types.append("ConnollySurfacePoints")
417 _value_types.append("ConnollySurfacePoint")
418 
419 
420 Sphere1Ds=list
421 _plural_types.append("Sphere1Ds")
422 _value_types.append("Sphere1D")
423 
424 
425 Sphere2Ds=list
426 _plural_types.append("Sphere2Ds")
427 _value_types.append("Sphere2D")
428 
429 
430 Sphere3Ds=list
431 _plural_types.append("Sphere3Ds")
432 _value_types.append("Sphere3D")
433 
434 
435 Sphere4Ds=list
436 _plural_types.append("Sphere4Ds")
437 _value_types.append("Sphere4D")
438 
439 
440 Sphere5Ds=list
441 _plural_types.append("Sphere5Ds")
442 _value_types.append("Sphere5D")
443 
444 
445 Sphere6Ds=list
446 _plural_types.append("Sphere6Ds")
447 _value_types.append("Sphere6D")
448 
449 
450 Sphere1Ds=list
451 _plural_types.append("Sphere1Ds")
452 _value_types.append("SphereD<1>")
453 
454 
455 Sphere2Ds=list
456 _plural_types.append("Sphere2Ds")
457 _value_types.append("SphereD<2>")
458 
459 
460 Sphere3Ds=list
461 _plural_types.append("Sphere3Ds")
462 _value_types.append("SphereD<3>")
463 
464 
465 Sphere4Ds=list
466 _plural_types.append("Sphere4Ds")
467 _value_types.append("SphereD<4>")
468 
469 
470 Sphere5Ds=list
471 _plural_types.append("Sphere5Ds")
472 _value_types.append("SphereD<5>")
473 
474 
475 Sphere6Ds=list
476 _plural_types.append("Sphere6Ds")
477 _value_types.append("SphereD<6>")
478 
479 
480 SphereKDs=list
481 _plural_types.append("SphereKDs")
482 _value_types.append("SphereKD")
483 
484 
485 SphereKDs=list
486 _plural_types.append("SphereKDs")
487 _value_types.append("SphereD<-1>")
488 
489 
490 BoundingBox1Ds=list
491 _plural_types.append("BoundingBox1Ds")
492 _value_types.append("BoundingBox1D")
493 
494 
495 BoundingBox2Ds=list
496 _plural_types.append("BoundingBox2Ds")
497 _value_types.append("BoundingBox2D")
498 
499 
500 BoundingBox3Ds=list
501 _plural_types.append("BoundingBox3Ds")
502 _value_types.append("BoundingBox3D")
503 
504 
505 BoundingBox4Ds=list
506 _plural_types.append("BoundingBox4Ds")
507 _value_types.append("BoundingBox4D")
508 
509 
510 BoundingBox5Ds=list
511 _plural_types.append("BoundingBox5Ds")
512 _value_types.append("BoundingBox5D")
513 
514 
515 BoundingBox6Ds=list
516 _plural_types.append("BoundingBox6Ds")
517 _value_types.append("BoundingBox6D")
518 
519 
520 BoundingBox1Ds=list
521 _plural_types.append("BoundingBox1Ds")
522 _value_types.append("BoundingBoxD<1>")
523 
524 
525 BoundingBox2Ds=list
526 _plural_types.append("BoundingBox2Ds")
527 _value_types.append("BoundingBoxD<2>")
528 
529 
530 BoundingBox3Ds=list
531 _plural_types.append("BoundingBox3Ds")
532 _value_types.append("BoundingBoxD<3>")
533 
534 
535 BoundingBox4Ds=list
536 _plural_types.append("BoundingBox4Ds")
537 _value_types.append("BoundingBoxD<4>")
538 
539 
540 BoundingBox5Ds=list
541 _plural_types.append("BoundingBox5Ds")
542 _value_types.append("BoundingBoxD<5>")
543 
544 
545 BoundingBox6Ds=list
546 _plural_types.append("BoundingBox6Ds")
547 _value_types.append("BoundingBoxD<6>")
548 
549 
550 BoundingBoxKDs=list
551 _plural_types.append("BoundingBoxKDs")
552 _value_types.append("BoundingBoxKD")
553 
554 
555 BoundingBoxKDs=list
556 _plural_types.append("BoundingBoxKDs")
557 _value_types.append("BoundingBoxD<-1>")
558 
559 
560 PrincipalComponentAnalysis1Ds=list
561 _plural_types.append("PrincipalComponentAnalysis1Ds")
562 _value_types.append("PrincipalComponentAnalysis1D")
563 
564 
565 PrincipalComponentAnalysis2Ds=list
566 _plural_types.append("PrincipalComponentAnalysis2Ds")
567 _value_types.append("PrincipalComponentAnalysis2D")
568 
569 
570 PrincipalComponentAnalysis3Ds=list
571 _plural_types.append("PrincipalComponentAnalysis3Ds")
572 _value_types.append("PrincipalComponentAnalysis3D")
573 
574 
575 PrincipalComponentAnalysis4Ds=list
576 _plural_types.append("PrincipalComponentAnalysis4Ds")
577 _value_types.append("PrincipalComponentAnalysis4D")
578 
579 
580 PrincipalComponentAnalysis5Ds=list
581 _plural_types.append("PrincipalComponentAnalysis5Ds")
582 _value_types.append("PrincipalComponentAnalysis5D")
583 
584 
585 PrincipalComponentAnalysis6Ds=list
586 _plural_types.append("PrincipalComponentAnalysis6Ds")
587 _value_types.append("PrincipalComponentAnalysis6D")
588 
589 
590 PrincipalComponentAnalysis1Ds=list
591 _plural_types.append("PrincipalComponentAnalysis1Ds")
592 _value_types.append("PrincipalComponentAnalysisD<1>")
593 
594 
595 PrincipalComponentAnalysis2Ds=list
596 _plural_types.append("PrincipalComponentAnalysis2Ds")
597 _value_types.append("PrincipalComponentAnalysisD<2>")
598 
599 
600 PrincipalComponentAnalysis3Ds=list
601 _plural_types.append("PrincipalComponentAnalysis3Ds")
602 _value_types.append("PrincipalComponentAnalysisD<3>")
603 
604 
605 PrincipalComponentAnalysis4Ds=list
606 _plural_types.append("PrincipalComponentAnalysis4Ds")
607 _value_types.append("PrincipalComponentAnalysisD<4>")
608 
609 
610 PrincipalComponentAnalysis5Ds=list
611 _plural_types.append("PrincipalComponentAnalysis5Ds")
612 _value_types.append("PrincipalComponentAnalysisD<5>")
613 
614 
615 PrincipalComponentAnalysis6Ds=list
616 _plural_types.append("PrincipalComponentAnalysis6Ds")
617 _value_types.append("PrincipalComponentAnalysisD<6>")
618 
619 
620 PrincipalComponentAnalysisKDs=list
621 _plural_types.append("PrincipalComponentAnalysisKDs")
622 _value_types.append("PrincipalComponentAnalysisKD")
623 
624 
625 PrincipalComponentAnalysisKDs=list
626 _plural_types.append("PrincipalComponentAnalysisKDs")
627 _value_types.append("PrincipalComponentAnalysisD<-1>")
628 
629 
630 _object_types.append("NearestNeighbor1D")
631 
632 
633 def _object_cast_to_NearestNeighbor1D(o):
634  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
635  return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
636 
637 _object_types.append("NearestNeighbor2D")
638 
639 
640 def _object_cast_to_NearestNeighbor2D(o):
641  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
642  return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
643 
644 _object_types.append("NearestNeighbor3D")
645 
646 
647 def _object_cast_to_NearestNeighbor3D(o):
648  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
649  return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
650 
651 _object_types.append("NearestNeighbor4D")
652 
653 
654 def _object_cast_to_NearestNeighbor4D(o):
655  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
656  return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
657 
658 _object_types.append("NearestNeighbor5D")
659 
660 
661 def _object_cast_to_NearestNeighbor5D(o):
662  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
663  return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
664 
665 _object_types.append("NearestNeighbor6D")
666 
667 
668 def _object_cast_to_NearestNeighbor6D(o):
669  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
670  return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
671 
672 _object_types.append("NearestNeighborKD")
673 
674 
675 def _object_cast_to_NearestNeighborKD(o):
676  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
677  return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
678 
679 ReferenceFrame3Ds=list
680 _plural_types.append("ReferenceFrame3Ds")
681 _value_types.append("ReferenceFrame3D")
682 
683 
684 Gaussian3Ds=list
685 _plural_types.append("Gaussian3Ds")
686 _value_types.append("Gaussian3D")
687 
688 
689 DefaultEmbedding1Ds=list
690 _plural_types.append("DefaultEmbedding1Ds")
691 _value_types.append("DefaultEmbedding1D")
692 
693 
694 DefaultEmbedding2Ds=list
695 _plural_types.append("DefaultEmbedding2Ds")
696 _value_types.append("DefaultEmbedding2D")
697 
698 
699 DefaultEmbedding3Ds=list
700 _plural_types.append("DefaultEmbedding3Ds")
701 _value_types.append("DefaultEmbedding3D")
702 
703 
704 DefaultEmbedding4Ds=list
705 _plural_types.append("DefaultEmbedding4Ds")
706 _value_types.append("DefaultEmbedding4D")
707 
708 
709 DefaultEmbedding5Ds=list
710 _plural_types.append("DefaultEmbedding5Ds")
711 _value_types.append("DefaultEmbedding5D")
712 
713 
714 DefaultEmbedding6Ds=list
715 _plural_types.append("DefaultEmbedding6Ds")
716 _value_types.append("DefaultEmbedding6D")
717 
718 
719 DefaultEmbedding1Ds=list
720 _plural_types.append("DefaultEmbedding1Ds")
721 _value_types.append("DefaultEmbeddingD<1>")
722 
723 
724 DefaultEmbedding2Ds=list
725 _plural_types.append("DefaultEmbedding2Ds")
726 _value_types.append("DefaultEmbeddingD<2>")
727 
728 
729 DefaultEmbedding3Ds=list
730 _plural_types.append("DefaultEmbedding3Ds")
731 _value_types.append("DefaultEmbeddingD<3>")
732 
733 
734 DefaultEmbedding4Ds=list
735 _plural_types.append("DefaultEmbedding4Ds")
736 _value_types.append("DefaultEmbeddingD<4>")
737 
738 
739 DefaultEmbedding5Ds=list
740 _plural_types.append("DefaultEmbedding5Ds")
741 _value_types.append("DefaultEmbeddingD<5>")
742 
743 
744 DefaultEmbedding6Ds=list
745 _plural_types.append("DefaultEmbedding6Ds")
746 _value_types.append("DefaultEmbeddingD<6>")
747 
748 
749 DefaultEmbeddingKDs=list
750 _plural_types.append("DefaultEmbeddingKDs")
751 _value_types.append("DefaultEmbeddingKD")
752 
753 
754 DefaultEmbeddingKDs=list
755 _plural_types.append("DefaultEmbeddingKDs")
756 _value_types.append("DefaultEmbeddingD<-1>")
757 
758 
759 LogEmbedding1Ds=list
760 _plural_types.append("LogEmbedding1Ds")
761 _value_types.append("LogEmbedding1D")
762 
763 
764 LogEmbedding2Ds=list
765 _plural_types.append("LogEmbedding2Ds")
766 _value_types.append("LogEmbedding2D")
767 
768 
769 LogEmbedding3Ds=list
770 _plural_types.append("LogEmbedding3Ds")
771 _value_types.append("LogEmbedding3D")
772 
773 
774 LogEmbedding4Ds=list
775 _plural_types.append("LogEmbedding4Ds")
776 _value_types.append("LogEmbedding4D")
777 
778 
779 LogEmbedding5Ds=list
780 _plural_types.append("LogEmbedding5Ds")
781 _value_types.append("LogEmbedding5D")
782 
783 
784 LogEmbedding6Ds=list
785 _plural_types.append("LogEmbedding6Ds")
786 _value_types.append("LogEmbedding6D")
787 
788 
789 LogEmbedding1Ds=list
790 _plural_types.append("LogEmbedding1Ds")
791 _value_types.append("LogEmbeddingD<1>")
792 
793 
794 LogEmbedding2Ds=list
795 _plural_types.append("LogEmbedding2Ds")
796 _value_types.append("LogEmbeddingD<2>")
797 
798 
799 LogEmbedding3Ds=list
800 _plural_types.append("LogEmbedding3Ds")
801 _value_types.append("LogEmbeddingD<3>")
802 
803 
804 LogEmbedding4Ds=list
805 _plural_types.append("LogEmbedding4Ds")
806 _value_types.append("LogEmbeddingD<4>")
807 
808 
809 LogEmbedding5Ds=list
810 _plural_types.append("LogEmbedding5Ds")
811 _value_types.append("LogEmbeddingD<5>")
812 
813 
814 LogEmbedding6Ds=list
815 _plural_types.append("LogEmbedding6Ds")
816 _value_types.append("LogEmbeddingD<6>")
817 
818 
819 LogEmbeddingKDs=list
820 _plural_types.append("LogEmbeddingKDs")
821 _value_types.append("LogEmbeddingKD")
822 
823 
824 LogEmbeddingKDs=list
825 _plural_types.append("LogEmbeddingKDs")
826 _value_types.append("LogEmbeddingD<-1>")
827 
828 
829 GridIndex1Ds=list
830 _plural_types.append("GridIndex1Ds")
831 _value_types.append("GridIndex1D")
832 
833 
834 GridIndex2Ds=list
835 _plural_types.append("GridIndex2Ds")
836 _value_types.append("GridIndex2D")
837 
838 
839 GridIndex3Ds=list
840 _plural_types.append("GridIndex3Ds")
841 _value_types.append("GridIndex3D")
842 
843 
844 GridIndex4Ds=list
845 _plural_types.append("GridIndex4Ds")
846 _value_types.append("GridIndex4D")
847 
848 
849 GridIndex5Ds=list
850 _plural_types.append("GridIndex5Ds")
851 _value_types.append("GridIndex5D")
852 
853 
854 GridIndex6Ds=list
855 _plural_types.append("GridIndex6Ds")
856 _value_types.append("GridIndex6D")
857 
858 
859 GridIndex1Ds=list
860 _plural_types.append("GridIndex1Ds")
861 _value_types.append("GridIndexD<1>")
862 
863 
864 GridIndex2Ds=list
865 _plural_types.append("GridIndex2Ds")
866 _value_types.append("GridIndexD<2>")
867 
868 
869 GridIndex3Ds=list
870 _plural_types.append("GridIndex3Ds")
871 _value_types.append("GridIndexD<3>")
872 
873 
874 GridIndex4Ds=list
875 _plural_types.append("GridIndex4Ds")
876 _value_types.append("GridIndexD<4>")
877 
878 
879 GridIndex5Ds=list
880 _plural_types.append("GridIndex5Ds")
881 _value_types.append("GridIndexD<5>")
882 
883 
884 GridIndex6Ds=list
885 _plural_types.append("GridIndex6Ds")
886 _value_types.append("GridIndexD<6>")
887 
888 
889 GridIndexKDs=list
890 _plural_types.append("GridIndexKDs")
891 _value_types.append("GridIndexKD")
892 
893 
894 GridIndexKDs=list
895 _plural_types.append("GridIndexKDs")
896 _value_types.append("GridIndexD<-1>")
897 
898 
899 ExtendedGridIndex1Ds=list
900 _plural_types.append("ExtendedGridIndex1Ds")
901 _value_types.append("ExtendedGridIndex1D")
902 
903 
904 ExtendedGridIndex2Ds=list
905 _plural_types.append("ExtendedGridIndex2Ds")
906 _value_types.append("ExtendedGridIndex2D")
907 
908 
909 ExtendedGridIndex3Ds=list
910 _plural_types.append("ExtendedGridIndex3Ds")
911 _value_types.append("ExtendedGridIndex3D")
912 
913 
914 ExtendedGridIndex4Ds=list
915 _plural_types.append("ExtendedGridIndex4Ds")
916 _value_types.append("ExtendedGridIndex4D")
917 
918 
919 ExtendedGridIndex5Ds=list
920 _plural_types.append("ExtendedGridIndex5Ds")
921 _value_types.append("ExtendedGridIndex5D")
922 
923 
924 ExtendedGridIndex6Ds=list
925 _plural_types.append("ExtendedGridIndex6Ds")
926 _value_types.append("ExtendedGridIndex6D")
927 
928 
929 ExtendedGridIndex1Ds=list
930 _plural_types.append("ExtendedGridIndex1Ds")
931 _value_types.append("ExtendedGridIndexD<1>")
932 
933 
934 ExtendedGridIndex2Ds=list
935 _plural_types.append("ExtendedGridIndex2Ds")
936 _value_types.append("ExtendedGridIndexD<2>")
937 
938 
939 ExtendedGridIndex3Ds=list
940 _plural_types.append("ExtendedGridIndex3Ds")
941 _value_types.append("ExtendedGridIndexD<3>")
942 
943 
944 ExtendedGridIndex4Ds=list
945 _plural_types.append("ExtendedGridIndex4Ds")
946 _value_types.append("ExtendedGridIndexD<4>")
947 
948 
949 ExtendedGridIndex5Ds=list
950 _plural_types.append("ExtendedGridIndex5Ds")
951 _value_types.append("ExtendedGridIndexD<5>")
952 
953 
954 ExtendedGridIndex6Ds=list
955 _plural_types.append("ExtendedGridIndex6Ds")
956 _value_types.append("ExtendedGridIndexD<6>")
957 
958 
959 ExtendedGridIndexKDs=list
960 _plural_types.append("ExtendedGridIndexKDs")
961 _value_types.append("ExtendedGridIndexKD")
962 
963 
964 ExtendedGridIndexKDs=list
965 _plural_types.append("ExtendedGridIndexKDs")
966 _value_types.append("ExtendedGridIndexD<-1>")
967 
968 
969 BoundedGridRange1Ds=list
970 _plural_types.append("BoundedGridRange1Ds")
971 _value_types.append("BoundedGridRange1D")
972 
973 
974 BoundedGridRange2Ds=list
975 _plural_types.append("BoundedGridRange2Ds")
976 _value_types.append("BoundedGridRange2D")
977 
978 
979 BoundedGridRange3Ds=list
980 _plural_types.append("BoundedGridRange3Ds")
981 _value_types.append("BoundedGridRange3D")
982 
983 
984 BoundedGridRange4Ds=list
985 _plural_types.append("BoundedGridRange4Ds")
986 _value_types.append("BoundedGridRange4D")
987 
988 
989 BoundedGridRange5Ds=list
990 _plural_types.append("BoundedGridRange5Ds")
991 _value_types.append("BoundedGridRange5D")
992 
993 
994 BoundedGridRange6Ds=list
995 _plural_types.append("BoundedGridRange6Ds")
996 _value_types.append("BoundedGridRange6D")
997 
998 
999 BoundedGridRange1Ds=list
1000 _plural_types.append("BoundedGridRange1Ds")
1001 _value_types.append("BoundedGridRangeD<1>")
1002 
1003 
1004 BoundedGridRange2Ds=list
1005 _plural_types.append("BoundedGridRange2Ds")
1006 _value_types.append("BoundedGridRangeD<2>")
1007 
1008 
1009 BoundedGridRange3Ds=list
1010 _plural_types.append("BoundedGridRange3Ds")
1011 _value_types.append("BoundedGridRangeD<3>")
1012 
1013 
1014 BoundedGridRange4Ds=list
1015 _plural_types.append("BoundedGridRange4Ds")
1016 _value_types.append("BoundedGridRangeD<4>")
1017 
1018 
1019 BoundedGridRange5Ds=list
1020 _plural_types.append("BoundedGridRange5Ds")
1021 _value_types.append("BoundedGridRangeD<5>")
1022 
1023 
1024 BoundedGridRange6Ds=list
1025 _plural_types.append("BoundedGridRange6Ds")
1026 _value_types.append("BoundedGridRangeD<6>")
1027 
1028 
1029 BoundedGridRangeKDs=list
1030 _plural_types.append("BoundedGridRangeKDs")
1031 _value_types.append("BoundedGridRangeKD")
1032 
1033 
1034 BoundedGridRangeKDs=list
1035 _plural_types.append("BoundedGridRangeKDs")
1036 _value_types.append("BoundedGridRangeD<-1>")
1037 
1038 
1039 UnboundedGridRange1Ds=list
1040 _plural_types.append("UnboundedGridRange1Ds")
1041 _value_types.append("UnboundedGridRange1D")
1042 
1043 
1044 UnboundedGridRange2Ds=list
1045 _plural_types.append("UnboundedGridRange2Ds")
1046 _value_types.append("UnboundedGridRange2D")
1047 
1048 
1049 UnboundedGridRange3Ds=list
1050 _plural_types.append("UnboundedGridRange3Ds")
1051 _value_types.append("UnboundedGridRange3D")
1052 
1053 
1054 UnboundedGridRange4Ds=list
1055 _plural_types.append("UnboundedGridRange4Ds")
1056 _value_types.append("UnboundedGridRange4D")
1057 
1058 
1059 UnboundedGridRange5Ds=list
1060 _plural_types.append("UnboundedGridRange5Ds")
1061 _value_types.append("UnboundedGridRange5D")
1062 
1063 
1064 UnboundedGridRange6Ds=list
1065 _plural_types.append("UnboundedGridRange6Ds")
1066 _value_types.append("UnboundedGridRange6D")
1067 
1068 
1069 UnboundedGridRange1Ds=list
1070 _plural_types.append("UnboundedGridRange1Ds")
1071 _value_types.append("UnboundedGridRangeD<1>")
1072 
1073 
1074 UnboundedGridRange2Ds=list
1075 _plural_types.append("UnboundedGridRange2Ds")
1076 _value_types.append("UnboundedGridRangeD<2>")
1077 
1078 
1079 UnboundedGridRange3Ds=list
1080 _plural_types.append("UnboundedGridRange3Ds")
1081 _value_types.append("UnboundedGridRangeD<3>")
1082 
1083 
1084 UnboundedGridRange4Ds=list
1085 _plural_types.append("UnboundedGridRange4Ds")
1086 _value_types.append("UnboundedGridRangeD<4>")
1087 
1088 
1089 UnboundedGridRange5Ds=list
1090 _plural_types.append("UnboundedGridRange5Ds")
1091 _value_types.append("UnboundedGridRangeD<5>")
1092 
1093 
1094 UnboundedGridRange6Ds=list
1095 _plural_types.append("UnboundedGridRange6Ds")
1096 _value_types.append("UnboundedGridRangeD<6>")
1097 
1098 
1099 UnboundedGridRangeKDs=list
1100 _plural_types.append("UnboundedGridRangeKDs")
1101 _value_types.append("UnboundedGridRangeKD")
1102 
1103 
1104 UnboundedGridRangeKDs=list
1105 _plural_types.append("UnboundedGridRangeKDs")
1106 _value_types.append("UnboundedGridRangeD<-1>")
1107 
1108 
1109 LinearFit2Ds=list
1110 _plural_types.append("LinearFit2Ds")
1111 _value_types.append("LinearFit2D")
1112 
1113 
1114 ParabolicFit2Ds=list
1115 _plural_types.append("ParabolicFit2Ds")
1116 _value_types.append("ParabolicFit2D")
1117 
1118 
1119 FixedXYZs=list
1120 _plural_types.append("FixedXYZs")
1121 _value_types.append("FixedXYZ")
1122 
1123 class _GeometricPrimitive1D(object):
1124  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1125 
1126  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1127 
1128  def __init__(self, *args, **kwargs):
1129  raise AttributeError("No constructor defined")
1130  __repr__ = _swig_repr
1131  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1132  __del__ = lambda self: None
1133 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1134 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1135 
1136 class _GeometricPrimitive2D(object):
1137  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1138 
1139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1140 
1141  def __init__(self, *args, **kwargs):
1142  raise AttributeError("No constructor defined")
1143  __repr__ = _swig_repr
1144  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1145  __del__ = lambda self: None
1146 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1147 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1148 
1149 class _GeometricPrimitive3D(object):
1150  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1151 
1152  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1153 
1154  def __init__(self, *args, **kwargs):
1155  raise AttributeError("No constructor defined")
1156  __repr__ = _swig_repr
1157  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1158  __del__ = lambda self: None
1159 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1160 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1161 
1162 class _GeometricPrimitive4D(object):
1163  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1164 
1165  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1166 
1167  def __init__(self, *args, **kwargs):
1168  raise AttributeError("No constructor defined")
1169  __repr__ = _swig_repr
1170  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1171  __del__ = lambda self: None
1172 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1173 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1174 
1175 class _GeometricPrimitive5D(object):
1176  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1177 
1178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1179 
1180  def __init__(self, *args, **kwargs):
1181  raise AttributeError("No constructor defined")
1182  __repr__ = _swig_repr
1183  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1184  __del__ = lambda self: None
1185 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1186 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1187 
1188 class _GeometricPrimitive6D(object):
1189  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1190 
1191  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1192 
1193  def __init__(self, *args, **kwargs):
1194  raise AttributeError("No constructor defined")
1195  __repr__ = _swig_repr
1196  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1197  __del__ = lambda self: None
1198 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1199 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1200 
1201 class _GeometricPrimitiveKD(object):
1202  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1203 
1204  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1205 
1206  def __init__(self, *args, **kwargs):
1207  raise AttributeError("No constructor defined")
1208  __repr__ = _swig_repr
1209  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1210  __del__ = lambda self: None
1211 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1212 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1213 
1214 
1215 Vector1Ds=list
1216 _plural_types.append("Vector1Ds")
1217 _value_types.append("Vector1D")
1218 
1219 
1220 Vector2Ds=list
1221 _plural_types.append("Vector2Ds")
1222 _value_types.append("Vector2D")
1223 
1224 
1225 Vector3Ds=list
1226 _plural_types.append("Vector3Ds")
1227 _value_types.append("Vector3D")
1228 
1229 
1230 Vector4Ds=list
1231 _plural_types.append("Vector4Ds")
1232 _value_types.append("Vector4D")
1233 
1234 
1235 Vector5Ds=list
1236 _plural_types.append("Vector5Ds")
1237 _value_types.append("Vector5D")
1238 
1239 
1240 Vector6Ds=list
1241 _plural_types.append("Vector6Ds")
1242 _value_types.append("Vector6D")
1243 
1244 
1245 Vector1Ds=list
1246 _plural_types.append("Vector1Ds")
1247 _value_types.append("VectorD<1>")
1248 
1249 
1250 Vector2Ds=list
1251 _plural_types.append("Vector2Ds")
1252 _value_types.append("VectorD<2>")
1253 
1254 
1255 Vector3Ds=list
1256 _plural_types.append("Vector3Ds")
1257 _value_types.append("VectorD<3>")
1258 
1259 
1260 Vector4Ds=list
1261 _plural_types.append("Vector4Ds")
1262 _value_types.append("VectorD<4>")
1263 
1264 
1265 Vector5Ds=list
1266 _plural_types.append("Vector5Ds")
1267 _value_types.append("VectorD<5>")
1268 
1269 
1270 Vector6Ds=list
1271 _plural_types.append("Vector6Ds")
1272 _value_types.append("VectorD<6>")
1273 
1274 
1275 VectorKDs=list
1276 _plural_types.append("VectorKDs")
1277 _value_types.append("VectorKD")
1278 
1279 
1280 VectorKDs=list
1281 _plural_types.append("VectorKDs")
1282 _value_types.append("VectorD<-1>")
1283 
1284 class _VectorBaseKD(_GeometricPrimitiveKD):
1285  """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1286 
1287  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1288  __repr__ = _swig_repr
1289 
1290  def __init__(self):
1291  """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1292  this = _IMP_algebra.new__VectorBaseKD()
1293  try:
1294  self.this.append(this)
1295  except __builtin__.Exception:
1296  self.this = this
1297 
1298  def get_scalar_product(self, o):
1299  """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1300  return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1301 
1302 
1303  def get_squared_magnitude(self):
1304  """get_squared_magnitude(_VectorBaseKD self) -> double"""
1305  return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1306 
1307 
1308  def get_magnitude(self):
1309  """get_magnitude(_VectorBaseKD self) -> double"""
1310  return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1311 
1312 
1313  def __mul__(self, o):
1314  """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1315  return _IMP_algebra._VectorBaseKD___mul__(self, o)
1316 
1317 
1318  def __iadd__(self, o):
1319  """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1320  return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1321 
1322 
1323  def __isub__(self, o):
1324  """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1325  return _IMP_algebra._VectorBaseKD___isub__(self, o)
1326 
1327 
1328  def __idiv__(self, f):
1329  """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1330  return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1331 
1332 
1333  def __imul__(self, f):
1334  """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1335  return _IMP_algebra._VectorBaseKD___imul__(self, f)
1336 
1337 
1338  def show(self, *args):
1339  """
1340  show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1341  show(_VectorBaseKD self, _ostream out, std::string delim)
1342  show(_VectorBaseKD self, _ostream out)
1343  show(_VectorBaseKD self)
1344  """
1345  return _IMP_algebra._VectorBaseKD_show(self, *args)
1346 
1347 
1348  def get_dimension(self):
1349  """get_dimension(_VectorBaseKD self) -> unsigned int"""
1350  return _IMP_algebra._VectorBaseKD_get_dimension(self)
1351 
1352  __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1353  __del__ = lambda self: None
1354 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1355 _VectorBaseKD_swigregister(_VectorBaseKD)
1356 
1357 class _VectorBase1D(_GeometricPrimitive1D):
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) -> _VectorBase1D"""
1365  this = _IMP_algebra.new__VectorBase1D()
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(_VectorBase1D self, _VectorBase1D o) -> double"""
1373  return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1374 
1375 
1376  def get_squared_magnitude(self):
1377  """get_squared_magnitude(_VectorBase1D self) -> double"""
1378  return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1379 
1380 
1381  def get_magnitude(self):
1382  """get_magnitude(_VectorBase1D self) -> double"""
1383  return _IMP_algebra._VectorBase1D_get_magnitude(self)
1384 
1385 
1386  def __mul__(self, o):
1387  """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1388  return _IMP_algebra._VectorBase1D___mul__(self, o)
1389 
1390 
1391  def __iadd__(self, o):
1392  """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1393  return _IMP_algebra._VectorBase1D___iadd__(self, o)
1394 
1395 
1396  def __isub__(self, o):
1397  """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1398  return _IMP_algebra._VectorBase1D___isub__(self, o)
1399 
1400 
1401  def __idiv__(self, f):
1402  """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1403  return _IMP_algebra._VectorBase1D___idiv__(self, f)
1404 
1405 
1406  def __imul__(self, f):
1407  """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1408  return _IMP_algebra._VectorBase1D___imul__(self, f)
1409 
1410 
1411  def show(self, *args):
1412  """
1413  show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1414  show(_VectorBase1D self, _ostream out, std::string delim)
1415  show(_VectorBase1D self, _ostream out)
1416  show(_VectorBase1D self)
1417  """
1418  return _IMP_algebra._VectorBase1D_show(self, *args)
1419 
1420 
1421  def get_dimension(self):
1422  """get_dimension(_VectorBase1D self) -> unsigned int"""
1423  return _IMP_algebra._VectorBase1D_get_dimension(self)
1424 
1425  __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1426  __del__ = lambda self: None
1427 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1428 _VectorBase1D_swigregister(_VectorBase1D)
1429 
1430 class _VectorBase2D(_GeometricPrimitive2D):
1431  """Proxy of C++ IMP::algebra::VectorBaseD<(2)> 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<(2)> self) -> _VectorBase2D"""
1438  this = _IMP_algebra.new__VectorBase2D()
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(_VectorBase2D self, _VectorBase2D o) -> double"""
1446  return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1447 
1448 
1449  def get_squared_magnitude(self):
1450  """get_squared_magnitude(_VectorBase2D self) -> double"""
1451  return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1452 
1453 
1454  def get_magnitude(self):
1455  """get_magnitude(_VectorBase2D self) -> double"""
1456  return _IMP_algebra._VectorBase2D_get_magnitude(self)
1457 
1458 
1459  def __mul__(self, o):
1460  """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1461  return _IMP_algebra._VectorBase2D___mul__(self, o)
1462 
1463 
1464  def __iadd__(self, o):
1465  """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1466  return _IMP_algebra._VectorBase2D___iadd__(self, o)
1467 
1468 
1469  def __isub__(self, o):
1470  """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1471  return _IMP_algebra._VectorBase2D___isub__(self, o)
1472 
1473 
1474  def __idiv__(self, f):
1475  """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1476  return _IMP_algebra._VectorBase2D___idiv__(self, f)
1477 
1478 
1479  def __imul__(self, f):
1480  """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1481  return _IMP_algebra._VectorBase2D___imul__(self, f)
1482 
1483 
1484  def show(self, *args):
1485  """
1486  show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1487  show(_VectorBase2D self, _ostream out, std::string delim)
1488  show(_VectorBase2D self, _ostream out)
1489  show(_VectorBase2D self)
1490  """
1491  return _IMP_algebra._VectorBase2D_show(self, *args)
1492 
1493 
1494  def get_dimension(self):
1495  """get_dimension(_VectorBase2D self) -> unsigned int"""
1496  return _IMP_algebra._VectorBase2D_get_dimension(self)
1497 
1498  __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1499  __del__ = lambda self: None
1500 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1501 _VectorBase2D_swigregister(_VectorBase2D)
1502 
1503 class _VectorBase3D(_GeometricPrimitive3D):
1504  """Proxy of C++ IMP::algebra::VectorBaseD<(3)> 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<(3)> self) -> _VectorBase3D"""
1511  this = _IMP_algebra.new__VectorBase3D()
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(_VectorBase3D self, _VectorBase3D o) -> double"""
1519  return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1520 
1521 
1522  def get_squared_magnitude(self):
1523  """get_squared_magnitude(_VectorBase3D self) -> double"""
1524  return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1525 
1526 
1527  def get_magnitude(self):
1528  """get_magnitude(_VectorBase3D self) -> double"""
1529  return _IMP_algebra._VectorBase3D_get_magnitude(self)
1530 
1531 
1532  def __mul__(self, o):
1533  """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1534  return _IMP_algebra._VectorBase3D___mul__(self, o)
1535 
1536 
1537  def __iadd__(self, o):
1538  """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1539  return _IMP_algebra._VectorBase3D___iadd__(self, o)
1540 
1541 
1542  def __isub__(self, o):
1543  """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1544  return _IMP_algebra._VectorBase3D___isub__(self, o)
1545 
1546 
1547  def __idiv__(self, f):
1548  """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1549  return _IMP_algebra._VectorBase3D___idiv__(self, f)
1550 
1551 
1552  def __imul__(self, f):
1553  """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1554  return _IMP_algebra._VectorBase3D___imul__(self, f)
1555 
1556 
1557  def show(self, *args):
1558  """
1559  show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1560  show(_VectorBase3D self, _ostream out, std::string delim)
1561  show(_VectorBase3D self, _ostream out)
1562  show(_VectorBase3D self)
1563  """
1564  return _IMP_algebra._VectorBase3D_show(self, *args)
1565 
1566 
1567  def get_dimension(self):
1568  """get_dimension(_VectorBase3D self) -> unsigned int"""
1569  return _IMP_algebra._VectorBase3D_get_dimension(self)
1570 
1571  __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1572  __del__ = lambda self: None
1573 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1574 _VectorBase3D_swigregister(_VectorBase3D)
1575 
1576 class _VectorBase4D(_GeometricPrimitive4D):
1577  """Proxy of C++ IMP::algebra::VectorBaseD<(4)> 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<(4)> self) -> _VectorBase4D"""
1584  this = _IMP_algebra.new__VectorBase4D()
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(_VectorBase4D self, _VectorBase4D o) -> double"""
1592  return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1593 
1594 
1595  def get_squared_magnitude(self):
1596  """get_squared_magnitude(_VectorBase4D self) -> double"""
1597  return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1598 
1599 
1600  def get_magnitude(self):
1601  """get_magnitude(_VectorBase4D self) -> double"""
1602  return _IMP_algebra._VectorBase4D_get_magnitude(self)
1603 
1604 
1605  def __mul__(self, o):
1606  """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1607  return _IMP_algebra._VectorBase4D___mul__(self, o)
1608 
1609 
1610  def __iadd__(self, o):
1611  """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1612  return _IMP_algebra._VectorBase4D___iadd__(self, o)
1613 
1614 
1615  def __isub__(self, o):
1616  """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1617  return _IMP_algebra._VectorBase4D___isub__(self, o)
1618 
1619 
1620  def __idiv__(self, f):
1621  """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1622  return _IMP_algebra._VectorBase4D___idiv__(self, f)
1623 
1624 
1625  def __imul__(self, f):
1626  """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1627  return _IMP_algebra._VectorBase4D___imul__(self, f)
1628 
1629 
1630  def show(self, *args):
1631  """
1632  show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1633  show(_VectorBase4D self, _ostream out, std::string delim)
1634  show(_VectorBase4D self, _ostream out)
1635  show(_VectorBase4D self)
1636  """
1637  return _IMP_algebra._VectorBase4D_show(self, *args)
1638 
1639 
1640  def get_dimension(self):
1641  """get_dimension(_VectorBase4D self) -> unsigned int"""
1642  return _IMP_algebra._VectorBase4D_get_dimension(self)
1643 
1644  __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1645  __del__ = lambda self: None
1646 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1647 _VectorBase4D_swigregister(_VectorBase4D)
1648 
1649 class _VectorBase5D(_GeometricPrimitive5D):
1650  """Proxy of C++ IMP::algebra::VectorBaseD<(5)> 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<(5)> self) -> _VectorBase5D"""
1657  this = _IMP_algebra.new__VectorBase5D()
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(_VectorBase5D self, _VectorBase5D o) -> double"""
1665  return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1666 
1667 
1668  def get_squared_magnitude(self):
1669  """get_squared_magnitude(_VectorBase5D self) -> double"""
1670  return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1671 
1672 
1673  def get_magnitude(self):
1674  """get_magnitude(_VectorBase5D self) -> double"""
1675  return _IMP_algebra._VectorBase5D_get_magnitude(self)
1676 
1677 
1678  def __mul__(self, o):
1679  """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1680  return _IMP_algebra._VectorBase5D___mul__(self, o)
1681 
1682 
1683  def __iadd__(self, o):
1684  """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1685  return _IMP_algebra._VectorBase5D___iadd__(self, o)
1686 
1687 
1688  def __isub__(self, o):
1689  """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1690  return _IMP_algebra._VectorBase5D___isub__(self, o)
1691 
1692 
1693  def __idiv__(self, f):
1694  """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1695  return _IMP_algebra._VectorBase5D___idiv__(self, f)
1696 
1697 
1698  def __imul__(self, f):
1699  """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1700  return _IMP_algebra._VectorBase5D___imul__(self, f)
1701 
1702 
1703  def show(self, *args):
1704  """
1705  show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1706  show(_VectorBase5D self, _ostream out, std::string delim)
1707  show(_VectorBase5D self, _ostream out)
1708  show(_VectorBase5D self)
1709  """
1710  return _IMP_algebra._VectorBase5D_show(self, *args)
1711 
1712 
1713  def get_dimension(self):
1714  """get_dimension(_VectorBase5D self) -> unsigned int"""
1715  return _IMP_algebra._VectorBase5D_get_dimension(self)
1716 
1717  __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1718  __del__ = lambda self: None
1719 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1720 _VectorBase5D_swigregister(_VectorBase5D)
1721 
1722 class _VectorBase6D(_GeometricPrimitive6D):
1723  """Proxy of C++ IMP::algebra::VectorBaseD<(6)> 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<(6)> self) -> _VectorBase6D"""
1730  this = _IMP_algebra.new__VectorBase6D()
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(_VectorBase6D self, _VectorBase6D o) -> double"""
1738  return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1739 
1740 
1741  def get_squared_magnitude(self):
1742  """get_squared_magnitude(_VectorBase6D self) -> double"""
1743  return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1744 
1745 
1746  def get_magnitude(self):
1747  """get_magnitude(_VectorBase6D self) -> double"""
1748  return _IMP_algebra._VectorBase6D_get_magnitude(self)
1749 
1750 
1751  def __mul__(self, o):
1752  """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1753  return _IMP_algebra._VectorBase6D___mul__(self, o)
1754 
1755 
1756  def __iadd__(self, o):
1757  """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1758  return _IMP_algebra._VectorBase6D___iadd__(self, o)
1759 
1760 
1761  def __isub__(self, o):
1762  """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1763  return _IMP_algebra._VectorBase6D___isub__(self, o)
1764 
1765 
1766  def __idiv__(self, f):
1767  """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1768  return _IMP_algebra._VectorBase6D___idiv__(self, f)
1769 
1770 
1771  def __imul__(self, f):
1772  """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1773  return _IMP_algebra._VectorBase6D___imul__(self, f)
1774 
1775 
1776  def show(self, *args):
1777  """
1778  show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1779  show(_VectorBase6D self, _ostream out, std::string delim)
1780  show(_VectorBase6D self, _ostream out)
1781  show(_VectorBase6D self)
1782  """
1783  return _IMP_algebra._VectorBase6D_show(self, *args)
1784 
1785 
1786  def get_dimension(self):
1787  """get_dimension(_VectorBase6D self) -> unsigned int"""
1788  return _IMP_algebra._VectorBase6D_get_dimension(self)
1789 
1790  __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1791  __del__ = lambda self: None
1792 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1793 _VectorBase6D_swigregister(_VectorBase6D)
1794 
1795 
1796 def get_basis_vector_kd(D, coordinate):
1797  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1798  return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1799 
1800 def get_zero_vector_kd(D):
1801  """get_zero_vector_kd(int D) -> VectorKD"""
1802  return _IMP_algebra.get_zero_vector_kd(D)
1803 
1804 def get_ones_vector_kd(D, v=1):
1805  """
1806  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1807  get_ones_vector_kd(unsigned int D) -> VectorKD
1808  """
1809  return _IMP_algebra.get_ones_vector_kd(D, v)
1810 
1811 def get_vector_product(p1, p2):
1812  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1813  return _IMP_algebra.get_vector_product(p1, p2)
1814 
1815 def get_orthogonal_vector(v):
1816  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1817  return _IMP_algebra.get_orthogonal_vector(v)
1818 
1819 def get_centroid(ps):
1820  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1821  return _IMP_algebra.get_centroid(ps)
1822 
1823 def get_radius_of_gyration(ps):
1824  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1825  return _IMP_algebra.get_radius_of_gyration(ps)
1826 class Rotation3D(_GeometricPrimitive3D):
1827  """Proxy of C++ IMP::algebra::Rotation3D class."""
1828 
1829  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1830 
1831  def __init__(self, *args):
1832  """
1833  __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1834  __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1835  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1836  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1837  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1838  """
1839  this = _IMP_algebra.new_Rotation3D(*args)
1840  try:
1841  self.this.append(this)
1842  except __builtin__.Exception:
1843  self.this = this
1844  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1845  __del__ = lambda self: None
1846 
1847  def get_rotated_no_cache(self, o):
1848  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1849  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1850 
1851 
1852  def get_rotated_one_coordinate_no_cache(self, o, coord):
1853  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1854  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1855 
1856 
1857  def get_rotated(self, o):
1858  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1859  return _IMP_algebra.Rotation3D_get_rotated(self, o)
1860 
1861 
1862  def get_rotated_one_coordinate(self, o, coord):
1863  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1864  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1865 
1866 
1867  def get_rotation_matrix_row(self, i):
1868  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1869  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1870 
1871 
1872  def show(self, *args):
1873  """
1874  show(Rotation3D self, _ostream out)
1875  show(Rotation3D self)
1876  """
1877  return _IMP_algebra.Rotation3D_show(self, *args)
1878 
1879 
1880  def get_inverse(self):
1881  """get_inverse(Rotation3D self) -> Rotation3D"""
1882  return _IMP_algebra.Rotation3D_get_inverse(self)
1883 
1884 
1885  def get_quaternion(self):
1886  """get_quaternion(Rotation3D self) -> Vector4D"""
1887  return _IMP_algebra.Rotation3D_get_quaternion(self)
1888 
1889 
1890  def __mul__(self, *args):
1891  """
1892  __mul__(Rotation3D self, Vector3D v) -> Vector3D
1893  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1894  """
1895  return _IMP_algebra.Rotation3D___mul__(self, *args)
1896 
1897 
1898  def __div__(self, r):
1899  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1900  return _IMP_algebra.Rotation3D___div__(self, r)
1901 
1902 
1903  def get_derivative(self, o, i):
1904  """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1905  return _IMP_algebra.Rotation3D_get_derivative(self, o, i)
1906 
1907 
1908  def get_is_valid(self):
1909  """get_is_valid(Rotation3D self) -> bool"""
1910  return _IMP_algebra.Rotation3D_get_is_valid(self)
1911 
1912 
1913  def __str__(self):
1914  """__str__(Rotation3D self) -> std::string"""
1915  return _IMP_algebra.Rotation3D___str__(self)
1916 
1917 
1918  def __repr__(self):
1919  """__repr__(Rotation3D self) -> std::string"""
1920  return _IMP_algebra.Rotation3D___repr__(self)
1921 
1922 
1923  __truediv__ = __div__
1924 
1925 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1926 Rotation3D_swigregister(Rotation3D)
1927 
1928 
1930  """get_identity_rotation_3d() -> Rotation3D"""
1931  return _IMP_algebra.get_identity_rotation_3d()
1932 
1933 def get_rotation_about_normalized_axis(axis_norm, angle):
1934  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1935  return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1936 
1937 def get_rotation_about_axis(axis, angle):
1938  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1939  return _IMP_algebra.get_rotation_about_axis(axis, angle)
1940 
1942  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1943  return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1944 
1945 def get_rotation_from_matrix(*args):
1946  """
1947  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1948  get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
1949  """
1950  return _IMP_algebra.get_rotation_from_matrix(*args)
1951 
1952 def get_random_rotation_3d(*args):
1953  """
1954  get_random_rotation_3d() -> Rotation3D
1955  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1956  """
1957  return _IMP_algebra.get_random_rotation_3d(*args)
1958 
1959 def get_uniform_cover_rotations_3d(num_points):
1960  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1961  return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1962 
1964  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1965  return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1966 
1968  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1969  return _IMP_algebra.get_rotation_from_vector4d(v)
1970 
1971 def get_rotation_from_fixed_xyz(xr, yr, zr):
1972  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1973  return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
1974 
1975 def get_rotation_from_fixed_zxz(phi, theta, psi):
1976  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1977  return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
1978 
1979 def get_rotation_from_fixed_zyz(Rot, Tilt, Psi):
1980  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1981  return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
1982 class FixedXYZ(_GeometricPrimitive3D):
1983  """Proxy of C++ IMP::algebra::FixedXYZ class."""
1984 
1985  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1986 
1987  def __init__(self, *args):
1988  """
1989  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1990  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1991  """
1992  this = _IMP_algebra.new_FixedXYZ(*args)
1993  try:
1994  self.this.append(this)
1995  except __builtin__.Exception:
1996  self.this = this
1997 
1998  def get_x(self):
1999  """get_x(FixedXYZ self) -> double"""
2000  return _IMP_algebra.FixedXYZ_get_x(self)
2001 
2002 
2003  def get_y(self):
2004  """get_y(FixedXYZ self) -> double"""
2005  return _IMP_algebra.FixedXYZ_get_y(self)
2006 
2007 
2008  def get_z(self):
2009  """get_z(FixedXYZ self) -> double"""
2010  return _IMP_algebra.FixedXYZ_get_z(self)
2011 
2012 
2013  def show(self, *args):
2014  """
2015  show(FixedXYZ self, _ostream out)
2016  show(FixedXYZ self)
2017  """
2018  return _IMP_algebra.FixedXYZ_show(self, *args)
2019 
2020 
2021  def __str__(self):
2022  """__str__(FixedXYZ self) -> std::string"""
2023  return _IMP_algebra.FixedXYZ___str__(self)
2024 
2025 
2026  def __repr__(self):
2027  """__repr__(FixedXYZ self) -> std::string"""
2028  return _IMP_algebra.FixedXYZ___repr__(self)
2029 
2030  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2031  __del__ = lambda self: None
2032 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2033 FixedXYZ_swigregister(FixedXYZ)
2034 
2035 
2037  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2038  return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2039 
2040 def get_interpolated(a, b, f):
2041  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2042  return _IMP_algebra.get_interpolated(a, b, f)
2043 
2044 def get_rotation_from_x_y_axes(x, y):
2045  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2046  return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2047 
2048 def get_axis_and_angle(rot):
2049  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2050  return _IMP_algebra.get_axis_and_angle(rot)
2051 
2053  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2054  return _IMP_algebra.get_unit_bounding_box_kd(d)
2055 
2056 def get_cube_kd(d, radius):
2057  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2058  return _IMP_algebra.get_cube_kd(d, radius)
2059 
2060 def get_edges(arg1):
2061  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2062  return _IMP_algebra.get_edges(arg1)
2063 class Transformation3D(_GeometricPrimitive3D):
2064  """Proxy of C++ IMP::algebra::Transformation3D class."""
2065 
2066  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2067 
2068  def __init__(self, *args):
2069  """
2070  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2071  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2072  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2073  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2074  """
2075  this = _IMP_algebra.new_Transformation3D(*args)
2076  try:
2077  self.this.append(this)
2078  except __builtin__.Exception:
2079  self.this = this
2080  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2081  __del__ = lambda self: None
2082 
2083  def get_transformed(self, o):
2084  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2085  return _IMP_algebra.Transformation3D_get_transformed(self, o)
2086 
2087 
2088  def __mul__(self, *args):
2089  """
2090  __mul__(Transformation3D self, Vector3D v) -> Vector3D
2091  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2092  """
2093  return _IMP_algebra.Transformation3D___mul__(self, *args)
2094 
2095 
2096  def __div__(self, b):
2097  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2098  return _IMP_algebra.Transformation3D___div__(self, b)
2099 
2100 
2101  def get_rotation(self):
2102  """get_rotation(Transformation3D self) -> Rotation3D"""
2103  return _IMP_algebra.Transformation3D_get_rotation(self)
2104 
2105 
2106  def get_translation(self):
2107  """get_translation(Transformation3D self) -> Vector3D"""
2108  return _IMP_algebra.Transformation3D_get_translation(self)
2109 
2110 
2111  def show(self, *args):
2112  """
2113  show(Transformation3D self, _ostream out)
2114  show(Transformation3D self)
2115  """
2116  return _IMP_algebra.Transformation3D_show(self, *args)
2117 
2118 
2119  def get_inverse(self):
2120  """get_inverse(Transformation3D self) -> Transformation3D"""
2121  return _IMP_algebra.Transformation3D_get_inverse(self)
2122 
2123 
2124  def get_is_valid(self):
2125  """get_is_valid(Transformation3D self) -> bool"""
2126  return _IMP_algebra.Transformation3D_get_is_valid(self)
2127 
2128 
2129  def __str__(self):
2130  """__str__(Transformation3D self) -> std::string"""
2131  return _IMP_algebra.Transformation3D___str__(self)
2132 
2133 
2134  def __repr__(self):
2135  """__repr__(Transformation3D self) -> std::string"""
2136  return _IMP_algebra.Transformation3D___repr__(self)
2137 
2138 
2139  __truediv__ = __div__
2140 
2141 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2142 Transformation3D_swigregister(Transformation3D)
2143 
2144 
2146  """get_identity_transformation_3d() -> Transformation3D"""
2147  return _IMP_algebra.get_identity_transformation_3d()
2148 
2149 def get_transformation_3d(t2d):
2150  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2151  return _IMP_algebra.get_transformation_3d(t2d)
2152 
2153 def get_random_local_transformation(origin, max_translation=5., max_angle_in_rad=0.26):
2154  """
2155  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2156  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2157  get_random_local_transformation(Vector3D origin) -> Transformation3D
2158  """
2159  return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2160 class Rotation2D(_GeometricPrimitive2D):
2161  """Proxy of C++ IMP::algebra::Rotation2D class."""
2162 
2163  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2164 
2165  def __init__(self, *args):
2166  """
2167  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2168  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2169  """
2170  this = _IMP_algebra.new_Rotation2D(*args)
2171  try:
2172  self.this.append(this)
2173  except __builtin__.Exception:
2174  self.this = this
2175 
2176  def get_rotated(self, *args):
2177  """
2178  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2179  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2180  """
2181  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2182 
2183 
2184  def get_inverse(self):
2185  """get_inverse(Rotation2D self) -> Rotation2D"""
2186  return _IMP_algebra.Rotation2D_get_inverse(self)
2187 
2188 
2189  def set_angle(self, angle):
2190  """set_angle(Rotation2D self, double angle)"""
2191  return _IMP_algebra.Rotation2D_set_angle(self, angle)
2192 
2193 
2194  def get_angle(self):
2195  """get_angle(Rotation2D self) -> double"""
2196  return _IMP_algebra.Rotation2D_get_angle(self)
2197 
2198 
2199  def show(self, *args):
2200  """
2201  show(Rotation2D self, _ostream out)
2202  show(Rotation2D self)
2203  """
2204  return _IMP_algebra.Rotation2D_show(self, *args)
2205 
2206 
2207  def __str__(self):
2208  """__str__(Rotation2D self) -> std::string"""
2209  return _IMP_algebra.Rotation2D___str__(self)
2210 
2211 
2212  def __repr__(self):
2213  """__repr__(Rotation2D self) -> std::string"""
2214  return _IMP_algebra.Rotation2D___repr__(self)
2215 
2216  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2217  __del__ = lambda self: None
2218 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2219 Rotation2D_swigregister(Rotation2D)
2220 
2221 
2223  """get_identity_rotation_2d() -> Rotation2D"""
2224  return _IMP_algebra.get_identity_rotation_2d()
2225 
2227  """get_random_rotation_2d() -> Rotation2D"""
2228  return _IMP_algebra.get_random_rotation_2d()
2229 
2230 def get_rotation_to_x_axis(v):
2231  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2232  return _IMP_algebra.get_rotation_to_x_axis(v)
2233 class Transformation2D(_GeometricPrimitive2D):
2234  """Proxy of C++ IMP::algebra::Transformation2D class."""
2235 
2236  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2237 
2238  def __init__(self, *args):
2239  """
2240  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2241  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2242  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2243  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2244  """
2245  this = _IMP_algebra.new_Transformation2D(*args)
2246  try:
2247  self.this.append(this)
2248  except __builtin__.Exception:
2249  self.this = this
2250  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2251  __del__ = lambda self: None
2252 
2253  def get_transformed(self, o):
2254  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2255  return _IMP_algebra.Transformation2D_get_transformed(self, o)
2256 
2257 
2258  def __mul__(self, *args):
2259  """
2260  __mul__(Transformation2D self, Vector2D v) -> Vector2D
2261  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2262  """
2263  return _IMP_algebra.Transformation2D___mul__(self, *args)
2264 
2265 
2266  def __div__(self, b):
2267  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2268  return _IMP_algebra.Transformation2D___div__(self, b)
2269 
2270 
2271  def get_rotation(self):
2272  """get_rotation(Transformation2D self) -> Rotation2D"""
2273  return _IMP_algebra.Transformation2D_get_rotation(self)
2274 
2275 
2276  def set_rotation(self, angle):
2277  """set_rotation(Transformation2D self, double angle)"""
2278  return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2279 
2280 
2281  def get_translation(self):
2282  """get_translation(Transformation2D self) -> Vector2D"""
2283  return _IMP_algebra.Transformation2D_get_translation(self)
2284 
2285 
2286  def set_translation(self, v):
2287  """set_translation(Transformation2D self, Vector2D v)"""
2288  return _IMP_algebra.Transformation2D_set_translation(self, v)
2289 
2290 
2291  def show(self, *args):
2292  """
2293  show(Transformation2D self, _ostream out)
2294  show(Transformation2D self)
2295  """
2296  return _IMP_algebra.Transformation2D_show(self, *args)
2297 
2298 
2299  def get_inverse(self):
2300  """get_inverse(Transformation2D self) -> Transformation2D"""
2301  return _IMP_algebra.Transformation2D_get_inverse(self)
2302 
2303 
2304  def __str__(self):
2305  """__str__(Transformation2D self) -> std::string"""
2306  return _IMP_algebra.Transformation2D___str__(self)
2307 
2308 
2309  def __repr__(self):
2310  """__repr__(Transformation2D self) -> std::string"""
2311  return _IMP_algebra.Transformation2D___repr__(self)
2312 
2313 
2314  __truediv__ = __div__
2315 
2316 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2317 Transformation2D_swigregister(Transformation2D)
2318 
2319 
2321  """get_identity_transformation_2d() -> Transformation2D"""
2322  return _IMP_algebra.get_identity_transformation_2d()
2323 
2324 def get_rotation_about_point(*args):
2325  """
2326  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2327  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2328  """
2329  return _IMP_algebra.get_rotation_about_point(*args)
2330 
2331 def compose(*args):
2332  """
2333  compose(Rotation3D a, Rotation3D b) -> Rotation3D
2334  compose(Transformation3D a, Transformation3D b) -> Transformation3D
2335  compose(Rotation2D a, Rotation2D b) -> Rotation2D
2336  compose(Transformation2D a, Transformation2D b) -> Transformation2D
2337  """
2338  return _IMP_algebra.compose(*args)
2339 
2340 def get_unit_sphere_kd(d):
2341  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2342  return _IMP_algebra.get_unit_sphere_kd(d)
2343 
2344 def get_enclosing_sphere(*args):
2345  """
2346  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2347  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2348  """
2349  return _IMP_algebra.get_enclosing_sphere(*args)
2350 
2351 def get_ball_radius_from_volume_3d(volume):
2352  """get_ball_radius_from_volume_3d(double volume) -> double"""
2353  return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2354 
2356  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2357  return _IMP_algebra.get_surface_area_and_volume(ss)
2358 
2359 def get_simplified_from_volume(arg1, maximum_allowed_error_angstroms):
2360  """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2361  return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2362 class Vector1D(_VectorBase1D):
2363  """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2364 
2365  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2366 
2367  def get_unit_vector(self):
2368  """get_unit_vector(Vector1D self) -> Vector1D"""
2369  return _IMP_algebra.Vector1D_get_unit_vector(self)
2370 
2371 
2372  def __div__(self, s):
2373  """__div__(Vector1D self, double s) -> Vector1D"""
2374  return _IMP_algebra.Vector1D___div__(self, s)
2375 
2376 
2377  def __neg__(self):
2378  """__neg__(Vector1D self) -> Vector1D"""
2379  return _IMP_algebra.Vector1D___neg__(self)
2380 
2381 
2382  def __sub__(self, o):
2383  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2384  return _IMP_algebra.Vector1D___sub__(self, o)
2385 
2386 
2387  def __add__(self, ret):
2388  """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2389  return _IMP_algebra.Vector1D___add__(self, ret)
2390 
2391 
2392  def __mul__(self, *args):
2393  """
2394  __mul__(Vector1D self, double s) -> Vector1D
2395  __mul__(Vector1D self, Vector1D o) -> double
2396  """
2397  return _IMP_algebra.Vector1D___mul__(self, *args)
2398 
2399 
2400  def __init__(self, *args):
2401  """
2402  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2403  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2404  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2405  """
2406  this = _IMP_algebra.new_Vector1D(*args)
2407  try:
2408  self.this.append(this)
2409  except __builtin__.Exception:
2410  self.this = this
2411 
2412  def __getitem__(self, index):
2413  """__getitem__(Vector1D self, unsigned int index) -> double"""
2414  return _IMP_algebra.Vector1D___getitem__(self, index)
2415 
2416 
2417  def __setitem__(self, index, val):
2418  """__setitem__(Vector1D self, unsigned int index, double val)"""
2419  return _IMP_algebra.Vector1D___setitem__(self, index, val)
2420 
2421 
2422  def __iadd__(self, *args):
2423  _IMP_algebra.Vector1D___iadd__(self, *args)
2424  return self
2425 
2426 
2427 
2428  def __imul__(self, *args):
2429  _IMP_algebra.Vector1D___imul__(self, *args)
2430  return self
2431 
2432 
2433 
2434  def __idiv__(self, *args):
2435  _IMP_algebra.Vector1D___idiv__(self, *args)
2436  return self
2437 
2438 
2439 
2440  def __isub__(self, *args):
2441  _IMP_algebra.Vector1D___isub__(self, *args)
2442  return self
2443 
2444 
2445 
2446  def __len__(self):
2447  """__len__(Vector1D self) -> unsigned int"""
2448  return _IMP_algebra.Vector1D___len__(self)
2449 
2450 
2451  def __rmul__(self, f):
2452  """__rmul__(Vector1D self, double f) -> Vector1D"""
2453  return _IMP_algebra.Vector1D___rmul__(self, f)
2454 
2455 
2456  def __str__(self):
2457  """__str__(Vector1D self) -> std::string"""
2458  return _IMP_algebra.Vector1D___str__(self)
2459 
2460 
2461  def __repr__(self):
2462  """__repr__(Vector1D self) -> std::string"""
2463  return _IMP_algebra.Vector1D___repr__(self)
2464 
2465 
2466  def __cmp__(self, arg2):
2467  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2468  return _IMP_algebra.Vector1D___cmp__(self, arg2)
2469 
2470 
2471  def __eq__(self, arg2):
2472  """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2473  return _IMP_algebra.Vector1D___eq__(self, arg2)
2474 
2475 
2476  __truediv__ = __div__
2477  __itruediv__ = __idiv__
2478 
2479  __swig_destroy__ = _IMP_algebra.delete_Vector1D
2480  __del__ = lambda self: None
2481 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2482 Vector1D_swigregister(Vector1D)
2483 
2484 class Vector2D(_VectorBase2D):
2485  """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2486 
2487  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2488 
2489  def get_unit_vector(self):
2490  """get_unit_vector(Vector2D self) -> Vector2D"""
2491  return _IMP_algebra.Vector2D_get_unit_vector(self)
2492 
2493 
2494  def __div__(self, s):
2495  """__div__(Vector2D self, double s) -> Vector2D"""
2496  return _IMP_algebra.Vector2D___div__(self, s)
2497 
2498 
2499  def __neg__(self):
2500  """__neg__(Vector2D self) -> Vector2D"""
2501  return _IMP_algebra.Vector2D___neg__(self)
2502 
2503 
2504  def __sub__(self, o):
2505  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2506  return _IMP_algebra.Vector2D___sub__(self, o)
2507 
2508 
2509  def __add__(self, ret):
2510  """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2511  return _IMP_algebra.Vector2D___add__(self, ret)
2512 
2513 
2514  def __mul__(self, *args):
2515  """
2516  __mul__(Vector2D self, double s) -> Vector2D
2517  __mul__(Vector2D self, Vector2D o) -> double
2518  """
2519  return _IMP_algebra.Vector2D___mul__(self, *args)
2520 
2521 
2522  def __init__(self, *args):
2523  """
2524  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2525  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2526  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2527  """
2528  this = _IMP_algebra.new_Vector2D(*args)
2529  try:
2530  self.this.append(this)
2531  except __builtin__.Exception:
2532  self.this = this
2533 
2534  def __getitem__(self, index):
2535  """__getitem__(Vector2D self, unsigned int index) -> double"""
2536  return _IMP_algebra.Vector2D___getitem__(self, index)
2537 
2538 
2539  def __setitem__(self, index, val):
2540  """__setitem__(Vector2D self, unsigned int index, double val)"""
2541  return _IMP_algebra.Vector2D___setitem__(self, index, val)
2542 
2543 
2544  def __iadd__(self, *args):
2545  _IMP_algebra.Vector2D___iadd__(self, *args)
2546  return self
2547 
2548 
2549 
2550  def __imul__(self, *args):
2551  _IMP_algebra.Vector2D___imul__(self, *args)
2552  return self
2553 
2554 
2555 
2556  def __idiv__(self, *args):
2557  _IMP_algebra.Vector2D___idiv__(self, *args)
2558  return self
2559 
2560 
2561 
2562  def __isub__(self, *args):
2563  _IMP_algebra.Vector2D___isub__(self, *args)
2564  return self
2565 
2566 
2567 
2568  def __len__(self):
2569  """__len__(Vector2D self) -> unsigned int"""
2570  return _IMP_algebra.Vector2D___len__(self)
2571 
2572 
2573  def __rmul__(self, f):
2574  """__rmul__(Vector2D self, double f) -> Vector2D"""
2575  return _IMP_algebra.Vector2D___rmul__(self, f)
2576 
2577 
2578  def __str__(self):
2579  """__str__(Vector2D self) -> std::string"""
2580  return _IMP_algebra.Vector2D___str__(self)
2581 
2582 
2583  def __repr__(self):
2584  """__repr__(Vector2D self) -> std::string"""
2585  return _IMP_algebra.Vector2D___repr__(self)
2586 
2587 
2588  def __cmp__(self, arg2):
2589  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2590  return _IMP_algebra.Vector2D___cmp__(self, arg2)
2591 
2592 
2593  def __eq__(self, arg2):
2594  """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2595  return _IMP_algebra.Vector2D___eq__(self, arg2)
2596 
2597 
2598  __truediv__ = __div__
2599  __itruediv__ = __idiv__
2600 
2601  __swig_destroy__ = _IMP_algebra.delete_Vector2D
2602  __del__ = lambda self: None
2603 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2604 Vector2D_swigregister(Vector2D)
2605 
2606 class Vector3D(_VectorBase3D):
2607  """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2608 
2609  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2610 
2611  def get_unit_vector(self):
2612  """get_unit_vector(Vector3D self) -> Vector3D"""
2613  return _IMP_algebra.Vector3D_get_unit_vector(self)
2614 
2615 
2616  def __div__(self, s):
2617  """__div__(Vector3D self, double s) -> Vector3D"""
2618  return _IMP_algebra.Vector3D___div__(self, s)
2619 
2620 
2621  def __neg__(self):
2622  """__neg__(Vector3D self) -> Vector3D"""
2623  return _IMP_algebra.Vector3D___neg__(self)
2624 
2625 
2626  def __sub__(self, o):
2627  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2628  return _IMP_algebra.Vector3D___sub__(self, o)
2629 
2630 
2631  def __add__(self, ret):
2632  """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2633  return _IMP_algebra.Vector3D___add__(self, ret)
2634 
2635 
2636  def __mul__(self, *args):
2637  """
2638  __mul__(Vector3D self, double s) -> Vector3D
2639  __mul__(Vector3D self, Vector3D o) -> double
2640  """
2641  return _IMP_algebra.Vector3D___mul__(self, *args)
2642 
2643 
2644  def __init__(self, *args):
2645  """
2646  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2647  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2648  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2649  """
2650  this = _IMP_algebra.new_Vector3D(*args)
2651  try:
2652  self.this.append(this)
2653  except __builtin__.Exception:
2654  self.this = this
2655 
2656  def __getitem__(self, index):
2657  """__getitem__(Vector3D self, unsigned int index) -> double"""
2658  return _IMP_algebra.Vector3D___getitem__(self, index)
2659 
2660 
2661  def __setitem__(self, index, val):
2662  """__setitem__(Vector3D self, unsigned int index, double val)"""
2663  return _IMP_algebra.Vector3D___setitem__(self, index, val)
2664 
2665 
2666  def __iadd__(self, *args):
2667  _IMP_algebra.Vector3D___iadd__(self, *args)
2668  return self
2669 
2670 
2671 
2672  def __imul__(self, *args):
2673  _IMP_algebra.Vector3D___imul__(self, *args)
2674  return self
2675 
2676 
2677 
2678  def __idiv__(self, *args):
2679  _IMP_algebra.Vector3D___idiv__(self, *args)
2680  return self
2681 
2682 
2683 
2684  def __isub__(self, *args):
2685  _IMP_algebra.Vector3D___isub__(self, *args)
2686  return self
2687 
2688 
2689 
2690  def __len__(self):
2691  """__len__(Vector3D self) -> unsigned int"""
2692  return _IMP_algebra.Vector3D___len__(self)
2693 
2694 
2695  def __rmul__(self, f):
2696  """__rmul__(Vector3D self, double f) -> Vector3D"""
2697  return _IMP_algebra.Vector3D___rmul__(self, f)
2698 
2699 
2700  def __str__(self):
2701  """__str__(Vector3D self) -> std::string"""
2702  return _IMP_algebra.Vector3D___str__(self)
2703 
2704 
2705  def __repr__(self):
2706  """__repr__(Vector3D self) -> std::string"""
2707  return _IMP_algebra.Vector3D___repr__(self)
2708 
2709 
2710  def __cmp__(self, arg2):
2711  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2712  return _IMP_algebra.Vector3D___cmp__(self, arg2)
2713 
2714 
2715  def __eq__(self, arg2):
2716  """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2717  return _IMP_algebra.Vector3D___eq__(self, arg2)
2718 
2719 
2720  __truediv__ = __div__
2721  __itruediv__ = __idiv__
2722 
2723  __swig_destroy__ = _IMP_algebra.delete_Vector3D
2724  __del__ = lambda self: None
2725 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2726 Vector3D_swigregister(Vector3D)
2727 
2728 class Vector4D(_VectorBase4D):
2729  """Proxy of C++ IMP::algebra::VectorD<(4)> 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(Vector4D self) -> Vector4D"""
2735  return _IMP_algebra.Vector4D_get_unit_vector(self)
2736 
2737 
2738  def __div__(self, s):
2739  """__div__(Vector4D self, double s) -> Vector4D"""
2740  return _IMP_algebra.Vector4D___div__(self, s)
2741 
2742 
2743  def __neg__(self):
2744  """__neg__(Vector4D self) -> Vector4D"""
2745  return _IMP_algebra.Vector4D___neg__(self)
2746 
2747 
2748  def __sub__(self, o):
2749  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2750  return _IMP_algebra.Vector4D___sub__(self, o)
2751 
2752 
2753  def __add__(self, ret):
2754  """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2755  return _IMP_algebra.Vector4D___add__(self, ret)
2756 
2757 
2758  def __mul__(self, *args):
2759  """
2760  __mul__(Vector4D self, double s) -> Vector4D
2761  __mul__(Vector4D self, Vector4D o) -> double
2762  """
2763  return _IMP_algebra.Vector4D___mul__(self, *args)
2764 
2765 
2766  def __init__(self, *args):
2767  """
2768  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2769  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2770  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2771  """
2772  this = _IMP_algebra.new_Vector4D(*args)
2773  try:
2774  self.this.append(this)
2775  except __builtin__.Exception:
2776  self.this = this
2777 
2778  def __getitem__(self, index):
2779  """__getitem__(Vector4D self, unsigned int index) -> double"""
2780  return _IMP_algebra.Vector4D___getitem__(self, index)
2781 
2782 
2783  def __setitem__(self, index, val):
2784  """__setitem__(Vector4D self, unsigned int index, double val)"""
2785  return _IMP_algebra.Vector4D___setitem__(self, index, val)
2786 
2787 
2788  def __iadd__(self, *args):
2789  _IMP_algebra.Vector4D___iadd__(self, *args)
2790  return self
2791 
2792 
2793 
2794  def __imul__(self, *args):
2795  _IMP_algebra.Vector4D___imul__(self, *args)
2796  return self
2797 
2798 
2799 
2800  def __idiv__(self, *args):
2801  _IMP_algebra.Vector4D___idiv__(self, *args)
2802  return self
2803 
2804 
2805 
2806  def __isub__(self, *args):
2807  _IMP_algebra.Vector4D___isub__(self, *args)
2808  return self
2809 
2810 
2811 
2812  def __len__(self):
2813  """__len__(Vector4D self) -> unsigned int"""
2814  return _IMP_algebra.Vector4D___len__(self)
2815 
2816 
2817  def __rmul__(self, f):
2818  """__rmul__(Vector4D self, double f) -> Vector4D"""
2819  return _IMP_algebra.Vector4D___rmul__(self, f)
2820 
2821 
2822  def __str__(self):
2823  """__str__(Vector4D self) -> std::string"""
2824  return _IMP_algebra.Vector4D___str__(self)
2825 
2826 
2827  def __repr__(self):
2828  """__repr__(Vector4D self) -> std::string"""
2829  return _IMP_algebra.Vector4D___repr__(self)
2830 
2831 
2832  def __cmp__(self, arg2):
2833  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2834  return _IMP_algebra.Vector4D___cmp__(self, arg2)
2835 
2836 
2837  def __eq__(self, arg2):
2838  """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2839  return _IMP_algebra.Vector4D___eq__(self, arg2)
2840 
2841 
2842  __truediv__ = __div__
2843  __itruediv__ = __idiv__
2844 
2845  __swig_destroy__ = _IMP_algebra.delete_Vector4D
2846  __del__ = lambda self: None
2847 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2848 Vector4D_swigregister(Vector4D)
2849 
2850 class Vector5D(_VectorBase5D):
2851  """Proxy of C++ IMP::algebra::VectorD<(5)> 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(Vector5D self) -> Vector5D"""
2857  return _IMP_algebra.Vector5D_get_unit_vector(self)
2858 
2859 
2860  def __div__(self, s):
2861  """__div__(Vector5D self, double s) -> Vector5D"""
2862  return _IMP_algebra.Vector5D___div__(self, s)
2863 
2864 
2865  def __neg__(self):
2866  """__neg__(Vector5D self) -> Vector5D"""
2867  return _IMP_algebra.Vector5D___neg__(self)
2868 
2869 
2870  def __sub__(self, o):
2871  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2872  return _IMP_algebra.Vector5D___sub__(self, o)
2873 
2874 
2875  def __add__(self, ret):
2876  """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2877  return _IMP_algebra.Vector5D___add__(self, ret)
2878 
2879 
2880  def __mul__(self, *args):
2881  """
2882  __mul__(Vector5D self, double s) -> Vector5D
2883  __mul__(Vector5D self, Vector5D o) -> double
2884  """
2885  return _IMP_algebra.Vector5D___mul__(self, *args)
2886 
2887 
2888  def __init__(self, *args):
2889  """
2890  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2891  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2892  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2893  """
2894  this = _IMP_algebra.new_Vector5D(*args)
2895  try:
2896  self.this.append(this)
2897  except __builtin__.Exception:
2898  self.this = this
2899 
2900  def __getitem__(self, index):
2901  """__getitem__(Vector5D self, unsigned int index) -> double"""
2902  return _IMP_algebra.Vector5D___getitem__(self, index)
2903 
2904 
2905  def __setitem__(self, index, val):
2906  """__setitem__(Vector5D self, unsigned int index, double val)"""
2907  return _IMP_algebra.Vector5D___setitem__(self, index, val)
2908 
2909 
2910  def __iadd__(self, *args):
2911  _IMP_algebra.Vector5D___iadd__(self, *args)
2912  return self
2913 
2914 
2915 
2916  def __imul__(self, *args):
2917  _IMP_algebra.Vector5D___imul__(self, *args)
2918  return self
2919 
2920 
2921 
2922  def __idiv__(self, *args):
2923  _IMP_algebra.Vector5D___idiv__(self, *args)
2924  return self
2925 
2926 
2927 
2928  def __isub__(self, *args):
2929  _IMP_algebra.Vector5D___isub__(self, *args)
2930  return self
2931 
2932 
2933 
2934  def __len__(self):
2935  """__len__(Vector5D self) -> unsigned int"""
2936  return _IMP_algebra.Vector5D___len__(self)
2937 
2938 
2939  def __rmul__(self, f):
2940  """__rmul__(Vector5D self, double f) -> Vector5D"""
2941  return _IMP_algebra.Vector5D___rmul__(self, f)
2942 
2943 
2944  def __str__(self):
2945  """__str__(Vector5D self) -> std::string"""
2946  return _IMP_algebra.Vector5D___str__(self)
2947 
2948 
2949  def __repr__(self):
2950  """__repr__(Vector5D self) -> std::string"""
2951  return _IMP_algebra.Vector5D___repr__(self)
2952 
2953 
2954  def __cmp__(self, arg2):
2955  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2956  return _IMP_algebra.Vector5D___cmp__(self, arg2)
2957 
2958 
2959  def __eq__(self, arg2):
2960  """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2961  return _IMP_algebra.Vector5D___eq__(self, arg2)
2962 
2963 
2964  __truediv__ = __div__
2965  __itruediv__ = __idiv__
2966 
2967  __swig_destroy__ = _IMP_algebra.delete_Vector5D
2968  __del__ = lambda self: None
2969 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2970 Vector5D_swigregister(Vector5D)
2971 
2972 class Vector6D(_VectorBase6D):
2973  """Proxy of C++ IMP::algebra::VectorD<(6)> 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(Vector6D self) -> Vector6D"""
2979  return _IMP_algebra.Vector6D_get_unit_vector(self)
2980 
2981 
2982  def __div__(self, s):
2983  """__div__(Vector6D self, double s) -> Vector6D"""
2984  return _IMP_algebra.Vector6D___div__(self, s)
2985 
2986 
2987  def __neg__(self):
2988  """__neg__(Vector6D self) -> Vector6D"""
2989  return _IMP_algebra.Vector6D___neg__(self)
2990 
2991 
2992  def __sub__(self, o):
2993  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2994  return _IMP_algebra.Vector6D___sub__(self, o)
2995 
2996 
2997  def __add__(self, ret):
2998  """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2999  return _IMP_algebra.Vector6D___add__(self, ret)
3000 
3001 
3002  def __mul__(self, *args):
3003  """
3004  __mul__(Vector6D self, double s) -> Vector6D
3005  __mul__(Vector6D self, Vector6D o) -> double
3006  """
3007  return _IMP_algebra.Vector6D___mul__(self, *args)
3008 
3009 
3010  def __init__(self, *args):
3011  """
3012  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3013  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3014  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3015  """
3016  this = _IMP_algebra.new_Vector6D(*args)
3017  try:
3018  self.this.append(this)
3019  except __builtin__.Exception:
3020  self.this = this
3021 
3022  def __getitem__(self, index):
3023  """__getitem__(Vector6D self, unsigned int index) -> double"""
3024  return _IMP_algebra.Vector6D___getitem__(self, index)
3025 
3026 
3027  def __setitem__(self, index, val):
3028  """__setitem__(Vector6D self, unsigned int index, double val)"""
3029  return _IMP_algebra.Vector6D___setitem__(self, index, val)
3030 
3031 
3032  def __iadd__(self, *args):
3033  _IMP_algebra.Vector6D___iadd__(self, *args)
3034  return self
3035 
3036 
3037 
3038  def __imul__(self, *args):
3039  _IMP_algebra.Vector6D___imul__(self, *args)
3040  return self
3041 
3042 
3043 
3044  def __idiv__(self, *args):
3045  _IMP_algebra.Vector6D___idiv__(self, *args)
3046  return self
3047 
3048 
3049 
3050  def __isub__(self, *args):
3051  _IMP_algebra.Vector6D___isub__(self, *args)
3052  return self
3053 
3054 
3055 
3056  def __len__(self):
3057  """__len__(Vector6D self) -> unsigned int"""
3058  return _IMP_algebra.Vector6D___len__(self)
3059 
3060 
3061  def __rmul__(self, f):
3062  """__rmul__(Vector6D self, double f) -> Vector6D"""
3063  return _IMP_algebra.Vector6D___rmul__(self, f)
3064 
3065 
3066  def __str__(self):
3067  """__str__(Vector6D self) -> std::string"""
3068  return _IMP_algebra.Vector6D___str__(self)
3069 
3070 
3071  def __repr__(self):
3072  """__repr__(Vector6D self) -> std::string"""
3073  return _IMP_algebra.Vector6D___repr__(self)
3074 
3075 
3076  def __cmp__(self, arg2):
3077  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3078  return _IMP_algebra.Vector6D___cmp__(self, arg2)
3079 
3080 
3081  def __eq__(self, arg2):
3082  """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3083  return _IMP_algebra.Vector6D___eq__(self, arg2)
3084 
3085 
3086  __truediv__ = __div__
3087  __itruediv__ = __idiv__
3088 
3089  __swig_destroy__ = _IMP_algebra.delete_Vector6D
3090  __del__ = lambda self: None
3091 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3092 Vector6D_swigregister(Vector6D)
3093 
3094 class VectorKD(_VectorBaseKD):
3095  """Proxy of C++ IMP::algebra::VectorD<(-1)> 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(VectorKD self) -> VectorKD"""
3101  return _IMP_algebra.VectorKD_get_unit_vector(self)
3102 
3103 
3104  def __div__(self, s):
3105  """__div__(VectorKD self, double s) -> VectorKD"""
3106  return _IMP_algebra.VectorKD___div__(self, s)
3107 
3108 
3109  def __neg__(self):
3110  """__neg__(VectorKD self) -> VectorKD"""
3111  return _IMP_algebra.VectorKD___neg__(self)
3112 
3113 
3114  def __sub__(self, o):
3115  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3116  return _IMP_algebra.VectorKD___sub__(self, o)
3117 
3118 
3119  def __add__(self, ret):
3120  """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3121  return _IMP_algebra.VectorKD___add__(self, ret)
3122 
3123 
3124  def __mul__(self, *args):
3125  """
3126  __mul__(VectorKD self, double s) -> VectorKD
3127  __mul__(VectorKD self, VectorKD o) -> double
3128  """
3129  return _IMP_algebra.VectorKD___mul__(self, *args)
3130 
3131 
3132  def __init__(self, *args):
3133  """
3134  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3135  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3136  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3137  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3138  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3139  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3140  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3141  __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3142  """
3143  this = _IMP_algebra.new_VectorKD(*args)
3144  try:
3145  self.this.append(this)
3146  except __builtin__.Exception:
3147  self.this = this
3148 
3149  def __getitem__(self, index):
3150  """__getitem__(VectorKD self, unsigned int index) -> double"""
3151  return _IMP_algebra.VectorKD___getitem__(self, index)
3152 
3153 
3154  def __setitem__(self, index, val):
3155  """__setitem__(VectorKD self, unsigned int index, double val)"""
3156  return _IMP_algebra.VectorKD___setitem__(self, index, val)
3157 
3158 
3159  def __iadd__(self, *args):
3160  _IMP_algebra.VectorKD___iadd__(self, *args)
3161  return self
3162 
3163 
3164 
3165  def __imul__(self, *args):
3166  _IMP_algebra.VectorKD___imul__(self, *args)
3167  return self
3168 
3169 
3170 
3171  def __idiv__(self, *args):
3172  _IMP_algebra.VectorKD___idiv__(self, *args)
3173  return self
3174 
3175 
3176 
3177  def __isub__(self, *args):
3178  _IMP_algebra.VectorKD___isub__(self, *args)
3179  return self
3180 
3181 
3182 
3183  def __len__(self):
3184  """__len__(VectorKD self) -> unsigned int"""
3185  return _IMP_algebra.VectorKD___len__(self)
3186 
3187 
3188  def __rmul__(self, f):
3189  """__rmul__(VectorKD self, double f) -> VectorKD"""
3190  return _IMP_algebra.VectorKD___rmul__(self, f)
3191 
3192 
3193  def __str__(self):
3194  """__str__(VectorKD self) -> std::string"""
3195  return _IMP_algebra.VectorKD___str__(self)
3196 
3197 
3198  def __repr__(self):
3199  """__repr__(VectorKD self) -> std::string"""
3200  return _IMP_algebra.VectorKD___repr__(self)
3201 
3202 
3203  def __cmp__(self, arg2):
3204  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3205  return _IMP_algebra.VectorKD___cmp__(self, arg2)
3206 
3207 
3208  def __eq__(self, arg2):
3209  """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3210  return _IMP_algebra.VectorKD___eq__(self, arg2)
3211 
3212 
3213  __truediv__ = __div__
3214  __itruediv__ = __idiv__
3215 
3216  __swig_destroy__ = _IMP_algebra.delete_VectorKD
3217  __del__ = lambda self: None
3218 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3219 VectorKD_swigregister(VectorKD)
3220 
3221 class BoundingBox1D(object):
3222  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3223 
3224  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3225 
3226  def get_dimension(self):
3227  """get_dimension(BoundingBox1D self) -> unsigned int"""
3228  return _IMP_algebra.BoundingBox1D_get_dimension(self)
3229 
3230 
3231  def get_corner(self, i):
3232  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3233  return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3234 
3235 
3236  def get_contains(self, *args):
3237  """
3238  get_contains(BoundingBox1D self, Vector1D o) -> bool
3239  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3240  """
3241  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3242 
3243 
3244  def show(self, *args):
3245  """
3246  show(BoundingBox1D self, _ostream out)
3247  show(BoundingBox1D self)
3248  """
3249  return _IMP_algebra.BoundingBox1D_show(self, *args)
3250 
3251 
3252  def __str__(self):
3253  """__str__(BoundingBox1D self) -> std::string"""
3254  return _IMP_algebra.BoundingBox1D___str__(self)
3255 
3256 
3257  def __repr__(self):
3258  """__repr__(BoundingBox1D self) -> std::string"""
3259  return _IMP_algebra.BoundingBox1D___repr__(self)
3260 
3261 
3262  def __cmp__(self, arg2):
3263  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3264  return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3265 
3266 
3267  def __eq__(self, arg2):
3268  """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3269  return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3270 
3271 
3272  def __init__(self, *args):
3273  """
3274  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3275  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3276  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3277  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3278  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3279  """
3280  this = _IMP_algebra.new_BoundingBox1D(*args)
3281  try:
3282  self.this.append(this)
3283  except __builtin__.Exception:
3284  self.this = this
3285 
3286  def __getitem__(self, index):
3287  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3288  return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3289 
3290 
3291  def __iadd__(self, *args):
3292  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3293  return self
3294 
3295 
3296 
3297  def __len__(self):
3298  """__len__(BoundingBox1D self) -> unsigned int"""
3299  return _IMP_algebra.BoundingBox1D___len__(self)
3300 
3301 
3302  def __add__(self, *args):
3303  """
3304  __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3305  __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3306  __add__(BoundingBox1D self, double o) -> BoundingBox1D
3307  """
3308  return _IMP_algebra.BoundingBox1D___add__(self, *args)
3309 
3310  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3311  __del__ = lambda self: None
3312 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3313 BoundingBox1D_swigregister(BoundingBox1D)
3314 
3315 class BoundingBox2D(object):
3316  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3317 
3318  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3319 
3320  def get_dimension(self):
3321  """get_dimension(BoundingBox2D self) -> unsigned int"""
3322  return _IMP_algebra.BoundingBox2D_get_dimension(self)
3323 
3324 
3325  def get_corner(self, i):
3326  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3327  return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3328 
3329 
3330  def get_contains(self, *args):
3331  """
3332  get_contains(BoundingBox2D self, Vector2D o) -> bool
3333  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3334  """
3335  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3336 
3337 
3338  def show(self, *args):
3339  """
3340  show(BoundingBox2D self, _ostream out)
3341  show(BoundingBox2D self)
3342  """
3343  return _IMP_algebra.BoundingBox2D_show(self, *args)
3344 
3345 
3346  def __str__(self):
3347  """__str__(BoundingBox2D self) -> std::string"""
3348  return _IMP_algebra.BoundingBox2D___str__(self)
3349 
3350 
3351  def __repr__(self):
3352  """__repr__(BoundingBox2D self) -> std::string"""
3353  return _IMP_algebra.BoundingBox2D___repr__(self)
3354 
3355 
3356  def __cmp__(self, arg2):
3357  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3358  return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3359 
3360 
3361  def __eq__(self, arg2):
3362  """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3363  return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3364 
3365 
3366  def __init__(self, *args):
3367  """
3368  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3369  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3370  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3371  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3372  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3373  """
3374  this = _IMP_algebra.new_BoundingBox2D(*args)
3375  try:
3376  self.this.append(this)
3377  except __builtin__.Exception:
3378  self.this = this
3379 
3380  def __getitem__(self, index):
3381  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3382  return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3383 
3384 
3385  def __iadd__(self, *args):
3386  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3387  return self
3388 
3389 
3390 
3391  def __len__(self):
3392  """__len__(BoundingBox2D self) -> unsigned int"""
3393  return _IMP_algebra.BoundingBox2D___len__(self)
3394 
3395 
3396  def __add__(self, *args):
3397  """
3398  __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3399  __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3400  __add__(BoundingBox2D self, double o) -> BoundingBox2D
3401  """
3402  return _IMP_algebra.BoundingBox2D___add__(self, *args)
3403 
3404  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3405  __del__ = lambda self: None
3406 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3407 BoundingBox2D_swigregister(BoundingBox2D)
3408 
3409 class BoundingBox3D(object):
3410  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3411 
3412  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3413 
3414  def get_dimension(self):
3415  """get_dimension(BoundingBox3D self) -> unsigned int"""
3416  return _IMP_algebra.BoundingBox3D_get_dimension(self)
3417 
3418 
3419  def get_corner(self, i):
3420  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3421  return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3422 
3423 
3424  def get_contains(self, *args):
3425  """
3426  get_contains(BoundingBox3D self, Vector3D o) -> bool
3427  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3428  """
3429  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3430 
3431 
3432  def show(self, *args):
3433  """
3434  show(BoundingBox3D self, _ostream out)
3435  show(BoundingBox3D self)
3436  """
3437  return _IMP_algebra.BoundingBox3D_show(self, *args)
3438 
3439 
3440  def __str__(self):
3441  """__str__(BoundingBox3D self) -> std::string"""
3442  return _IMP_algebra.BoundingBox3D___str__(self)
3443 
3444 
3445  def __repr__(self):
3446  """__repr__(BoundingBox3D self) -> std::string"""
3447  return _IMP_algebra.BoundingBox3D___repr__(self)
3448 
3449 
3450  def __cmp__(self, arg2):
3451  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3452  return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3453 
3454 
3455  def __eq__(self, arg2):
3456  """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3457  return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3458 
3459 
3460  def __init__(self, *args):
3461  """
3462  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3463  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3464  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3465  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3466  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3467  """
3468  this = _IMP_algebra.new_BoundingBox3D(*args)
3469  try:
3470  self.this.append(this)
3471  except __builtin__.Exception:
3472  self.this = this
3473 
3474  def __getitem__(self, index):
3475  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3476  return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3477 
3478 
3479  def __iadd__(self, *args):
3480  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3481  return self
3482 
3483 
3484 
3485  def __len__(self):
3486  """__len__(BoundingBox3D self) -> unsigned int"""
3487  return _IMP_algebra.BoundingBox3D___len__(self)
3488 
3489 
3490  def __add__(self, *args):
3491  """
3492  __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3493  __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3494  __add__(BoundingBox3D self, double o) -> BoundingBox3D
3495  """
3496  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3497 
3498  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3499  __del__ = lambda self: None
3500 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3501 BoundingBox3D_swigregister(BoundingBox3D)
3502 
3503 class BoundingBox4D(object):
3504  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3505 
3506  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3507 
3508  def get_dimension(self):
3509  """get_dimension(BoundingBox4D self) -> unsigned int"""
3510  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3511 
3512 
3513  def get_corner(self, i):
3514  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3515  return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3516 
3517 
3518  def get_contains(self, *args):
3519  """
3520  get_contains(BoundingBox4D self, Vector4D o) -> bool
3521  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3522  """
3523  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3524 
3525 
3526  def show(self, *args):
3527  """
3528  show(BoundingBox4D self, _ostream out)
3529  show(BoundingBox4D self)
3530  """
3531  return _IMP_algebra.BoundingBox4D_show(self, *args)
3532 
3533 
3534  def __str__(self):
3535  """__str__(BoundingBox4D self) -> std::string"""
3536  return _IMP_algebra.BoundingBox4D___str__(self)
3537 
3538 
3539  def __repr__(self):
3540  """__repr__(BoundingBox4D self) -> std::string"""
3541  return _IMP_algebra.BoundingBox4D___repr__(self)
3542 
3543 
3544  def __cmp__(self, arg2):
3545  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3546  return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3547 
3548 
3549  def __eq__(self, arg2):
3550  """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3551  return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3552 
3553 
3554  def __init__(self, *args):
3555  """
3556  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3557  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3558  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3559  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3560  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3561  """
3562  this = _IMP_algebra.new_BoundingBox4D(*args)
3563  try:
3564  self.this.append(this)
3565  except __builtin__.Exception:
3566  self.this = this
3567 
3568  def __getitem__(self, index):
3569  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3570  return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3571 
3572 
3573  def __iadd__(self, *args):
3574  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3575  return self
3576 
3577 
3578 
3579  def __len__(self):
3580  """__len__(BoundingBox4D self) -> unsigned int"""
3581  return _IMP_algebra.BoundingBox4D___len__(self)
3582 
3583 
3584  def __add__(self, *args):
3585  """
3586  __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3587  __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3588  __add__(BoundingBox4D self, double o) -> BoundingBox4D
3589  """
3590  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3591 
3592  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3593  __del__ = lambda self: None
3594 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3595 BoundingBox4D_swigregister(BoundingBox4D)
3596 
3597 class BoundingBox5D(object):
3598  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3599 
3600  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3601 
3602  def get_dimension(self):
3603  """get_dimension(BoundingBox5D self) -> unsigned int"""
3604  return _IMP_algebra.BoundingBox5D_get_dimension(self)
3605 
3606 
3607  def get_corner(self, i):
3608  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3609  return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3610 
3611 
3612  def get_contains(self, *args):
3613  """
3614  get_contains(BoundingBox5D self, Vector5D o) -> bool
3615  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3616  """
3617  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3618 
3619 
3620  def show(self, *args):
3621  """
3622  show(BoundingBox5D self, _ostream out)
3623  show(BoundingBox5D self)
3624  """
3625  return _IMP_algebra.BoundingBox5D_show(self, *args)
3626 
3627 
3628  def __str__(self):
3629  """__str__(BoundingBox5D self) -> std::string"""
3630  return _IMP_algebra.BoundingBox5D___str__(self)
3631 
3632 
3633  def __repr__(self):
3634  """__repr__(BoundingBox5D self) -> std::string"""
3635  return _IMP_algebra.BoundingBox5D___repr__(self)
3636 
3637 
3638  def __cmp__(self, arg2):
3639  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3640  return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3641 
3642 
3643  def __eq__(self, arg2):
3644  """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3645  return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3646 
3647 
3648  def __init__(self, *args):
3649  """
3650  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3651  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3652  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3653  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3654  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3655  """
3656  this = _IMP_algebra.new_BoundingBox5D(*args)
3657  try:
3658  self.this.append(this)
3659  except __builtin__.Exception:
3660  self.this = this
3661 
3662  def __getitem__(self, index):
3663  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3664  return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3665 
3666 
3667  def __iadd__(self, *args):
3668  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3669  return self
3670 
3671 
3672 
3673  def __len__(self):
3674  """__len__(BoundingBox5D self) -> unsigned int"""
3675  return _IMP_algebra.BoundingBox5D___len__(self)
3676 
3677 
3678  def __add__(self, *args):
3679  """
3680  __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3681  __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3682  __add__(BoundingBox5D self, double o) -> BoundingBox5D
3683  """
3684  return _IMP_algebra.BoundingBox5D___add__(self, *args)
3685 
3686  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3687  __del__ = lambda self: None
3688 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3689 BoundingBox5D_swigregister(BoundingBox5D)
3690 
3691 class BoundingBox6D(object):
3692  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3693 
3694  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3695 
3696  def get_dimension(self):
3697  """get_dimension(BoundingBox6D self) -> unsigned int"""
3698  return _IMP_algebra.BoundingBox6D_get_dimension(self)
3699 
3700 
3701  def get_corner(self, i):
3702  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3703  return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3704 
3705 
3706  def get_contains(self, *args):
3707  """
3708  get_contains(BoundingBox6D self, Vector6D o) -> bool
3709  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3710  """
3711  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3712 
3713 
3714  def show(self, *args):
3715  """
3716  show(BoundingBox6D self, _ostream out)
3717  show(BoundingBox6D self)
3718  """
3719  return _IMP_algebra.BoundingBox6D_show(self, *args)
3720 
3721 
3722  def __str__(self):
3723  """__str__(BoundingBox6D self) -> std::string"""
3724  return _IMP_algebra.BoundingBox6D___str__(self)
3725 
3726 
3727  def __repr__(self):
3728  """__repr__(BoundingBox6D self) -> std::string"""
3729  return _IMP_algebra.BoundingBox6D___repr__(self)
3730 
3731 
3732  def __cmp__(self, arg2):
3733  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3734  return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3735 
3736 
3737  def __eq__(self, arg2):
3738  """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3739  return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3740 
3741 
3742  def __init__(self, *args):
3743  """
3744  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3745  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3746  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3747  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3748  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3749  """
3750  this = _IMP_algebra.new_BoundingBox6D(*args)
3751  try:
3752  self.this.append(this)
3753  except __builtin__.Exception:
3754  self.this = this
3755 
3756  def __getitem__(self, index):
3757  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3758  return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3759 
3760 
3761  def __iadd__(self, *args):
3762  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3763  return self
3764 
3765 
3766 
3767  def __len__(self):
3768  """__len__(BoundingBox6D self) -> unsigned int"""
3769  return _IMP_algebra.BoundingBox6D___len__(self)
3770 
3771 
3772  def __add__(self, *args):
3773  """
3774  __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3775  __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3776  __add__(BoundingBox6D self, double o) -> BoundingBox6D
3777  """
3778  return _IMP_algebra.BoundingBox6D___add__(self, *args)
3779 
3780  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3781  __del__ = lambda self: None
3782 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3783 BoundingBox6D_swigregister(BoundingBox6D)
3784 
3785 class BoundingBoxKD(object):
3786  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3787 
3788  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3789 
3790  def get_dimension(self):
3791  """get_dimension(BoundingBoxKD self) -> unsigned int"""
3792  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3793 
3794 
3795  def get_corner(self, i):
3796  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3797  return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3798 
3799 
3800  def get_contains(self, *args):
3801  """
3802  get_contains(BoundingBoxKD self, VectorKD o) -> bool
3803  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3804  """
3805  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3806 
3807 
3808  def show(self, *args):
3809  """
3810  show(BoundingBoxKD self, _ostream out)
3811  show(BoundingBoxKD self)
3812  """
3813  return _IMP_algebra.BoundingBoxKD_show(self, *args)
3814 
3815 
3816  def __str__(self):
3817  """__str__(BoundingBoxKD self) -> std::string"""
3818  return _IMP_algebra.BoundingBoxKD___str__(self)
3819 
3820 
3821  def __repr__(self):
3822  """__repr__(BoundingBoxKD self) -> std::string"""
3823  return _IMP_algebra.BoundingBoxKD___repr__(self)
3824 
3825 
3826  def __cmp__(self, arg2):
3827  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3828  return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3829 
3830 
3831  def __eq__(self, arg2):
3832  """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3833  return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3834 
3835 
3836  def __init__(self, *args):
3837  """
3838  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3839  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3840  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3841  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3842  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3843  """
3844  this = _IMP_algebra.new_BoundingBoxKD(*args)
3845  try:
3846  self.this.append(this)
3847  except __builtin__.Exception:
3848  self.this = this
3849 
3850  def __getitem__(self, index):
3851  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3852  return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3853 
3854 
3855  def __iadd__(self, *args):
3856  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3857  return self
3858 
3859 
3860 
3861  def __len__(self):
3862  """__len__(BoundingBoxKD self) -> unsigned int"""
3863  return _IMP_algebra.BoundingBoxKD___len__(self)
3864 
3865 
3866  def __add__(self, *args):
3867  """
3868  __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3869  __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3870  __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3871  """
3872  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3873 
3874  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3875  __del__ = lambda self: None
3876 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3877 BoundingBoxKD_swigregister(BoundingBoxKD)
3878 
3879 class Sphere1D(_GeometricPrimitive1D):
3880  """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3881 
3882  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3883 
3884  def __init__(self, *args):
3885  """
3886  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3887  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3888  """
3889  this = _IMP_algebra.new_Sphere1D(*args)
3890  try:
3891  self.this.append(this)
3892  except __builtin__.Exception:
3893  self.this = this
3894 
3895  def get_radius(self):
3896  """get_radius(Sphere1D self) -> double"""
3897  return _IMP_algebra.Sphere1D_get_radius(self)
3898 
3899 
3900  def get_center(self):
3901  """get_center(Sphere1D self) -> Vector1D"""
3902  return _IMP_algebra.Sphere1D_get_center(self)
3903 
3904 
3905  def get_contains(self, *args):
3906  """
3907  get_contains(Sphere1D self, Sphere1D o) -> bool
3908  get_contains(Sphere1D self, Vector1D p) -> bool
3909  """
3910  return _IMP_algebra.Sphere1D_get_contains(self, *args)
3911 
3912 
3913  def show(self, *args):
3914  """
3915  show(Sphere1D self, _ostream out)
3916  show(Sphere1D self)
3917  """
3918  return _IMP_algebra.Sphere1D_show(self, *args)
3919 
3920 
3921  def get_dimension(self):
3922  """get_dimension(Sphere1D self) -> unsigned int"""
3923  return _IMP_algebra.Sphere1D_get_dimension(self)
3924 
3925 
3926  def __str__(self):
3927  """__str__(Sphere1D self) -> std::string"""
3928  return _IMP_algebra.Sphere1D___str__(self)
3929 
3930 
3931  def __repr__(self):
3932  """__repr__(Sphere1D self) -> std::string"""
3933  return _IMP_algebra.Sphere1D___repr__(self)
3934 
3935 
3936  def __cmp__(self, arg2):
3937  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3938  return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3939 
3940 
3941  def __eq__(self, arg2):
3942  """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3943  return _IMP_algebra.Sphere1D___eq__(self, arg2)
3944 
3945  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3946  __del__ = lambda self: None
3947 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3948 Sphere1D_swigregister(Sphere1D)
3949 
3950 class Sphere2D(_GeometricPrimitive2D):
3951  """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3952 
3953  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3954 
3955  def __init__(self, *args):
3956  """
3957  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3958  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3959  """
3960  this = _IMP_algebra.new_Sphere2D(*args)
3961  try:
3962  self.this.append(this)
3963  except __builtin__.Exception:
3964  self.this = this
3965 
3966  def get_radius(self):
3967  """get_radius(Sphere2D self) -> double"""
3968  return _IMP_algebra.Sphere2D_get_radius(self)
3969 
3970 
3971  def get_center(self):
3972  """get_center(Sphere2D self) -> Vector2D"""
3973  return _IMP_algebra.Sphere2D_get_center(self)
3974 
3975 
3976  def get_contains(self, *args):
3977  """
3978  get_contains(Sphere2D self, Sphere2D o) -> bool
3979  get_contains(Sphere2D self, Vector2D p) -> bool
3980  """
3981  return _IMP_algebra.Sphere2D_get_contains(self, *args)
3982 
3983 
3984  def show(self, *args):
3985  """
3986  show(Sphere2D self, _ostream out)
3987  show(Sphere2D self)
3988  """
3989  return _IMP_algebra.Sphere2D_show(self, *args)
3990 
3991 
3992  def get_dimension(self):
3993  """get_dimension(Sphere2D self) -> unsigned int"""
3994  return _IMP_algebra.Sphere2D_get_dimension(self)
3995 
3996 
3997  def __str__(self):
3998  """__str__(Sphere2D self) -> std::string"""
3999  return _IMP_algebra.Sphere2D___str__(self)
4000 
4001 
4002  def __repr__(self):
4003  """__repr__(Sphere2D self) -> std::string"""
4004  return _IMP_algebra.Sphere2D___repr__(self)
4005 
4006 
4007  def __cmp__(self, arg2):
4008  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4009  return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4010 
4011 
4012  def __eq__(self, arg2):
4013  """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4014  return _IMP_algebra.Sphere2D___eq__(self, arg2)
4015 
4016  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4017  __del__ = lambda self: None
4018 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4019 Sphere2D_swigregister(Sphere2D)
4020 
4021 class Sphere3D(_GeometricPrimitive3D):
4022  """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4023 
4024  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4025 
4026  def __init__(self, *args):
4027  """
4028  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4029  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4030  """
4031  this = _IMP_algebra.new_Sphere3D(*args)
4032  try:
4033  self.this.append(this)
4034  except __builtin__.Exception:
4035  self.this = this
4036 
4037  def get_radius(self):
4038  """get_radius(Sphere3D self) -> double"""
4039  return _IMP_algebra.Sphere3D_get_radius(self)
4040 
4041 
4042  def get_center(self):
4043  """get_center(Sphere3D self) -> Vector3D"""
4044  return _IMP_algebra.Sphere3D_get_center(self)
4045 
4046 
4047  def get_contains(self, *args):
4048  """
4049  get_contains(Sphere3D self, Sphere3D o) -> bool
4050  get_contains(Sphere3D self, Vector3D p) -> bool
4051  """
4052  return _IMP_algebra.Sphere3D_get_contains(self, *args)
4053 
4054 
4055  def show(self, *args):
4056  """
4057  show(Sphere3D self, _ostream out)
4058  show(Sphere3D self)
4059  """
4060  return _IMP_algebra.Sphere3D_show(self, *args)
4061 
4062 
4063  def get_dimension(self):
4064  """get_dimension(Sphere3D self) -> unsigned int"""
4065  return _IMP_algebra.Sphere3D_get_dimension(self)
4066 
4067 
4068  def __str__(self):
4069  """__str__(Sphere3D self) -> std::string"""
4070  return _IMP_algebra.Sphere3D___str__(self)
4071 
4072 
4073  def __repr__(self):
4074  """__repr__(Sphere3D self) -> std::string"""
4075  return _IMP_algebra.Sphere3D___repr__(self)
4076 
4077 
4078  def __cmp__(self, arg2):
4079  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4080  return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4081 
4082 
4083  def __eq__(self, arg2):
4084  """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4085  return _IMP_algebra.Sphere3D___eq__(self, arg2)
4086 
4087  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4088  __del__ = lambda self: None
4089 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4090 Sphere3D_swigregister(Sphere3D)
4091 
4092 class Sphere4D(_GeometricPrimitive4D):
4093  """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4094 
4095  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4096 
4097  def __init__(self, *args):
4098  """
4099  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4100  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4101  """
4102  this = _IMP_algebra.new_Sphere4D(*args)
4103  try:
4104  self.this.append(this)
4105  except __builtin__.Exception:
4106  self.this = this
4107 
4108  def get_radius(self):
4109  """get_radius(Sphere4D self) -> double"""
4110  return _IMP_algebra.Sphere4D_get_radius(self)
4111 
4112 
4113  def get_center(self):
4114  """get_center(Sphere4D self) -> Vector4D"""
4115  return _IMP_algebra.Sphere4D_get_center(self)
4116 
4117 
4118  def get_contains(self, *args):
4119  """
4120  get_contains(Sphere4D self, Sphere4D o) -> bool
4121  get_contains(Sphere4D self, Vector4D p) -> bool
4122  """
4123  return _IMP_algebra.Sphere4D_get_contains(self, *args)
4124 
4125 
4126  def show(self, *args):
4127  """
4128  show(Sphere4D self, _ostream out)
4129  show(Sphere4D self)
4130  """
4131  return _IMP_algebra.Sphere4D_show(self, *args)
4132 
4133 
4134  def get_dimension(self):
4135  """get_dimension(Sphere4D self) -> unsigned int"""
4136  return _IMP_algebra.Sphere4D_get_dimension(self)
4137 
4138 
4139  def __str__(self):
4140  """__str__(Sphere4D self) -> std::string"""
4141  return _IMP_algebra.Sphere4D___str__(self)
4142 
4143 
4144  def __repr__(self):
4145  """__repr__(Sphere4D self) -> std::string"""
4146  return _IMP_algebra.Sphere4D___repr__(self)
4147 
4148 
4149  def __cmp__(self, arg2):
4150  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4151  return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4152 
4153 
4154  def __eq__(self, arg2):
4155  """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4156  return _IMP_algebra.Sphere4D___eq__(self, arg2)
4157 
4158  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4159  __del__ = lambda self: None
4160 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4161 Sphere4D_swigregister(Sphere4D)
4162 
4163 class Sphere5D(_GeometricPrimitive5D):
4164  """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4165 
4166  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4167 
4168  def __init__(self, *args):
4169  """
4170  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4171  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4172  """
4173  this = _IMP_algebra.new_Sphere5D(*args)
4174  try:
4175  self.this.append(this)
4176  except __builtin__.Exception:
4177  self.this = this
4178 
4179  def get_radius(self):
4180  """get_radius(Sphere5D self) -> double"""
4181  return _IMP_algebra.Sphere5D_get_radius(self)
4182 
4183 
4184  def get_center(self):
4185  """get_center(Sphere5D self) -> Vector5D"""
4186  return _IMP_algebra.Sphere5D_get_center(self)
4187 
4188 
4189  def get_contains(self, *args):
4190  """
4191  get_contains(Sphere5D self, Sphere5D o) -> bool
4192  get_contains(Sphere5D self, Vector5D p) -> bool
4193  """
4194  return _IMP_algebra.Sphere5D_get_contains(self, *args)
4195 
4196 
4197  def show(self, *args):
4198  """
4199  show(Sphere5D self, _ostream out)
4200  show(Sphere5D self)
4201  """
4202  return _IMP_algebra.Sphere5D_show(self, *args)
4203 
4204 
4205  def get_dimension(self):
4206  """get_dimension(Sphere5D self) -> unsigned int"""
4207  return _IMP_algebra.Sphere5D_get_dimension(self)
4208 
4209 
4210  def __str__(self):
4211  """__str__(Sphere5D self) -> std::string"""
4212  return _IMP_algebra.Sphere5D___str__(self)
4213 
4214 
4215  def __repr__(self):
4216  """__repr__(Sphere5D self) -> std::string"""
4217  return _IMP_algebra.Sphere5D___repr__(self)
4218 
4219 
4220  def __cmp__(self, arg2):
4221  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4222  return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4223 
4224 
4225  def __eq__(self, arg2):
4226  """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4227  return _IMP_algebra.Sphere5D___eq__(self, arg2)
4228 
4229  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4230  __del__ = lambda self: None
4231 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4232 Sphere5D_swigregister(Sphere5D)
4233 
4234 class Sphere6D(_GeometricPrimitive6D):
4235  """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4236 
4237  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4238 
4239  def __init__(self, *args):
4240  """
4241  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4242  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4243  """
4244  this = _IMP_algebra.new_Sphere6D(*args)
4245  try:
4246  self.this.append(this)
4247  except __builtin__.Exception:
4248  self.this = this
4249 
4250  def get_radius(self):
4251  """get_radius(Sphere6D self) -> double"""
4252  return _IMP_algebra.Sphere6D_get_radius(self)
4253 
4254 
4255  def get_center(self):
4256  """get_center(Sphere6D self) -> Vector6D"""
4257  return _IMP_algebra.Sphere6D_get_center(self)
4258 
4259 
4260  def get_contains(self, *args):
4261  """
4262  get_contains(Sphere6D self, Sphere6D o) -> bool
4263  get_contains(Sphere6D self, Vector6D p) -> bool
4264  """
4265  return _IMP_algebra.Sphere6D_get_contains(self, *args)
4266 
4267 
4268  def show(self, *args):
4269  """
4270  show(Sphere6D self, _ostream out)
4271  show(Sphere6D self)
4272  """
4273  return _IMP_algebra.Sphere6D_show(self, *args)
4274 
4275 
4276  def get_dimension(self):
4277  """get_dimension(Sphere6D self) -> unsigned int"""
4278  return _IMP_algebra.Sphere6D_get_dimension(self)
4279 
4280 
4281  def __str__(self):
4282  """__str__(Sphere6D self) -> std::string"""
4283  return _IMP_algebra.Sphere6D___str__(self)
4284 
4285 
4286  def __repr__(self):
4287  """__repr__(Sphere6D self) -> std::string"""
4288  return _IMP_algebra.Sphere6D___repr__(self)
4289 
4290 
4291  def __cmp__(self, arg2):
4292  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4293  return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4294 
4295 
4296  def __eq__(self, arg2):
4297  """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4298  return _IMP_algebra.Sphere6D___eq__(self, arg2)
4299 
4300  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4301  __del__ = lambda self: None
4302 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4303 Sphere6D_swigregister(Sphere6D)
4304 
4305 class SphereKD(_GeometricPrimitiveKD):
4306  """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4307 
4308  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4309 
4310  def __init__(self, *args):
4311  """
4312  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4313  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4314  """
4315  this = _IMP_algebra.new_SphereKD(*args)
4316  try:
4317  self.this.append(this)
4318  except __builtin__.Exception:
4319  self.this = this
4320 
4321  def get_radius(self):
4322  """get_radius(SphereKD self) -> double"""
4323  return _IMP_algebra.SphereKD_get_radius(self)
4324 
4325 
4326  def get_center(self):
4327  """get_center(SphereKD self) -> VectorKD"""
4328  return _IMP_algebra.SphereKD_get_center(self)
4329 
4330 
4331  def get_contains(self, *args):
4332  """
4333  get_contains(SphereKD self, SphereKD o) -> bool
4334  get_contains(SphereKD self, VectorKD p) -> bool
4335  """
4336  return _IMP_algebra.SphereKD_get_contains(self, *args)
4337 
4338 
4339  def show(self, *args):
4340  """
4341  show(SphereKD self, _ostream out)
4342  show(SphereKD self)
4343  """
4344  return _IMP_algebra.SphereKD_show(self, *args)
4345 
4346 
4347  def get_dimension(self):
4348  """get_dimension(SphereKD self) -> unsigned int"""
4349  return _IMP_algebra.SphereKD_get_dimension(self)
4350 
4351 
4352  def __str__(self):
4353  """__str__(SphereKD self) -> std::string"""
4354  return _IMP_algebra.SphereKD___str__(self)
4355 
4356 
4357  def __repr__(self):
4358  """__repr__(SphereKD self) -> std::string"""
4359  return _IMP_algebra.SphereKD___repr__(self)
4360 
4361 
4362  def __cmp__(self, arg2):
4363  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4364  return _IMP_algebra.SphereKD___cmp__(self, arg2)
4365 
4366 
4367  def __eq__(self, arg2):
4368  """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4369  return _IMP_algebra.SphereKD___eq__(self, arg2)
4370 
4371  __swig_destroy__ = _IMP_algebra.delete_SphereKD
4372  __del__ = lambda self: None
4373 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4374 SphereKD_swigregister(SphereKD)
4375 
4376 class ReferenceFrame3D(object):
4377  """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4378 
4379  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4380 
4381  def __init__(self, *args):
4382  """
4383  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4384  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4385  """
4386  this = _IMP_algebra.new_ReferenceFrame3D(*args)
4387  try:
4388  self.this.append(this)
4389  except __builtin__.Exception:
4390  self.this = this
4391  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4392  __del__ = lambda self: None
4393 
4394  def get_transformation_to(self):
4395  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4396  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4397 
4398 
4399  def get_transformation_from(self):
4400  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4401  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4402 
4403 
4404  def get_global_coordinates(self, v):
4405  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4406  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4407 
4408 
4409  def get_local_coordinates(self, v):
4410  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4411  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4412 
4413 
4414  def get_global_reference_frame(self, v):
4415  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4416  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4417 
4418 
4419  def get_local_reference_frame(self, v):
4420  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4421  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4422 
4423 
4424  def show(self, *args):
4425  """
4426  show(ReferenceFrame3D self, _ostream out)
4427  show(ReferenceFrame3D self)
4428  """
4429  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4430 
4431 
4432  def __str__(self):
4433  """__str__(ReferenceFrame3D self) -> std::string"""
4434  return _IMP_algebra.ReferenceFrame3D___str__(self)
4435 
4436 
4437  def __repr__(self):
4438  """__repr__(ReferenceFrame3D self) -> std::string"""
4439  return _IMP_algebra.ReferenceFrame3D___repr__(self)
4440 
4441 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4442 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4443 
4444 
4445 def get_transformed(*args):
4446  """
4447  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4448  get_transformed(Line3D l, Transformation3D tr) -> Line3D
4449  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4450  """
4451  return _IMP_algebra.get_transformed(*args)
4452 
4453 def get_transformation_from_first_to_second(a, b):
4454  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4455  return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4456 class SphericalVector3D(_GeometricPrimitive3D):
4457  """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4458 
4459  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4460 
4461  def __init__(self, *args):
4462  """
4463  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4464  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4465  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4466  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4467  """
4468  this = _IMP_algebra.new_SphericalVector3D(*args)
4469  try:
4470  self.this.append(this)
4471  except __builtin__.Exception:
4472  self.this = this
4473 
4474  def get_cartesian_coordinates(self):
4475  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4476  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4477 
4478 
4479  def show(self, *args):
4480  """
4481  show(SphericalVector3D self, _ostream out)
4482  show(SphericalVector3D self)
4483  """
4484  return _IMP_algebra.SphericalVector3D_show(self, *args)
4485 
4486 
4487  def __str__(self):
4488  """__str__(SphericalVector3D self) -> std::string"""
4489  return _IMP_algebra.SphericalVector3D___str__(self)
4490 
4491 
4492  def __repr__(self):
4493  """__repr__(SphericalVector3D self) -> std::string"""
4494  return _IMP_algebra.SphericalVector3D___repr__(self)
4495 
4496 
4497  def __getitem__(self, index):
4498  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4499  return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4500 
4501 
4502  def __setitem__(self, index, val):
4503  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4504  return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4505 
4506  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4507  __del__ = lambda self: None
4508 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4509 SphericalVector3D_swigregister(SphericalVector3D)
4510 
4511 
4512 def get_alignments_from_first_to_second(pca1, pca2):
4513  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4514  return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4515 class Line3D(_GeometricPrimitive3D):
4516  """Proxy of C++ IMP::algebra::Line3D class."""
4517 
4518  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4519 
4520  def __init__(self, *args):
4521  """
4522  __init__(IMP::algebra::Line3D self) -> Line3D
4523  __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4524  __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4525  """
4526  this = _IMP_algebra.new_Line3D(*args)
4527  try:
4528  self.this.append(this)
4529  except __builtin__.Exception:
4530  self.this = this
4531 
4532  def get_direction(self):
4533  """get_direction(Line3D self) -> Vector3D"""
4534  return _IMP_algebra.Line3D_get_direction(self)
4535 
4536 
4537  def get_point_on_line(self):
4538  """get_point_on_line(Line3D self) -> Vector3D"""
4539  return _IMP_algebra.Line3D_get_point_on_line(self)
4540 
4541 
4542  def get_moment(self, *args):
4543  """
4544  get_moment(Line3D self) -> Vector3D
4545  get_moment(Line3D self, Vector3D v) -> Vector3D
4546  """
4547  return _IMP_algebra.Line3D_get_moment(self, *args)
4548 
4549 
4550  def get_reciprocal_product(self, l):
4551  """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4552  return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4553 
4554 
4555  def get_opposite(self):
4556  """get_opposite(Line3D self) -> Line3D"""
4557  return _IMP_algebra.Line3D_get_opposite(self)
4558 
4559 
4560  def get_segment_starting_at(self, v, d):
4561  """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4562  return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4563 
4564 
4565  def show(self, *args):
4566  """
4567  show(Line3D self, _ostream out)
4568  show(Line3D self)
4569  """
4570  return _IMP_algebra.Line3D_show(self, *args)
4571 
4572 
4573  def __str__(self):
4574  """__str__(Line3D self) -> std::string"""
4575  return _IMP_algebra.Line3D___str__(self)
4576 
4577 
4578  def __repr__(self):
4579  """__repr__(Line3D self) -> std::string"""
4580  return _IMP_algebra.Line3D___repr__(self)
4581 
4582  __swig_destroy__ = _IMP_algebra.delete_Line3D
4583  __del__ = lambda self: None
4584 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4585 Line3D_swigregister(Line3D)
4586 
4587 
4588 def get_line_3d_geometry(g):
4589  """get_line_3d_geometry(Line3D g) -> Line3D"""
4590  return _IMP_algebra.get_line_3d_geometry(g)
4591 
4592 def get_projected(*args):
4593  """
4594  get_projected(Line3D l, Vector3D p) -> Vector3D
4595  get_projected(Line3D l, Segment3D s) -> Segment3D
4596  """
4597  return _IMP_algebra.get_projected(*args)
4598 
4599 def get_angle(a, b):
4600  """get_angle(Line3D a, Line3D b) -> double"""
4601  return _IMP_algebra.get_angle(a, b)
4602 
4604  """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4605  return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4606 class Segment3D(_GeometricPrimitive3D):
4607  """Proxy of C++ IMP::algebra::Segment3D class."""
4608 
4609  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4610 
4611  def __init__(self, *args):
4612  """
4613  __init__(IMP::algebra::Segment3D self) -> Segment3D
4614  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4615  """
4616  this = _IMP_algebra.new_Segment3D(*args)
4617  try:
4618  self.this.append(this)
4619  except __builtin__.Exception:
4620  self.this = this
4621 
4622  def get_point(self, i):
4623  if i < 0 or i >= 2:
4624  raise IMP.UsageException("Invalid point index")
4625  return _IMP_algebra.Segment3D_get_point(self, i)
4626 
4627 
4628 
4629  def get_middle_point(self):
4630  """get_middle_point(Segment3D self) -> Vector3D"""
4631  return _IMP_algebra.Segment3D_get_middle_point(self)
4632 
4633 
4634  def get_direction(self):
4635  """get_direction(Segment3D self) -> Vector3D"""
4636  return _IMP_algebra.Segment3D_get_direction(self)
4637 
4638 
4639  def get_length(self):
4640  """get_length(Segment3D self) -> double"""
4641  return _IMP_algebra.Segment3D_get_length(self)
4642 
4643 
4644  def show(self, *args):
4645  """
4646  show(Segment3D self, _ostream out)
4647  show(Segment3D self)
4648  """
4649  return _IMP_algebra.Segment3D_show(self, *args)
4650 
4651 
4652  def __str__(self):
4653  """__str__(Segment3D self) -> std::string"""
4654  return _IMP_algebra.Segment3D___str__(self)
4655 
4656 
4657  def __repr__(self):
4658  """__repr__(Segment3D self) -> std::string"""
4659  return _IMP_algebra.Segment3D___repr__(self)
4660 
4661  __swig_destroy__ = _IMP_algebra.delete_Segment3D
4662  __del__ = lambda self: None
4663 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4664 Segment3D_swigregister(Segment3D)
4665 
4666 
4667 def get_segment_3d_geometry(g):
4668  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4669  return _IMP_algebra.get_segment_3d_geometry(g)
4670 
4672  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4673  return _IMP_algebra.get_relative_projection_on_segment(s, p)
4674 class Triangle3D(_GeometricPrimitive3D):
4675  """Proxy of C++ IMP::algebra::Triangle3D class."""
4676 
4677  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4678 
4679  def __init__(self, *args):
4680  """
4681  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4682  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4683  """
4684  this = _IMP_algebra.new_Triangle3D(*args)
4685  try:
4686  self.this.append(this)
4687  except __builtin__.Exception:
4688  self.this = this
4689 
4690  def get_point(self, i):
4691  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4692  return _IMP_algebra.Triangle3D_get_point(self, i)
4693 
4694 
4695  def show(self, *args):
4696  """
4697  show(Triangle3D self, _ostream out)
4698  show(Triangle3D self)
4699  """
4700  return _IMP_algebra.Triangle3D_show(self, *args)
4701 
4702 
4703  def get_edge_lengths(self):
4704  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4705  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4706 
4707 
4708  def __str__(self):
4709  """__str__(Triangle3D self) -> std::string"""
4710  return _IMP_algebra.Triangle3D___str__(self)
4711 
4712 
4713  def __repr__(self):
4714  """__repr__(Triangle3D self) -> std::string"""
4715  return _IMP_algebra.Triangle3D___repr__(self)
4716 
4717  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4718  __del__ = lambda self: None
4719 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4720 Triangle3D_swigregister(Triangle3D)
4721 
4722 
4723 def get_largest_triangle(points):
4724  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4725  return _IMP_algebra.get_largest_triangle(points)
4726 
4727 def get_transformation_from_first_triangle_to_second(first_tri, second_tri):
4728  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4729  return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4730 
4731 def get_are_colinear(p1, p2, p3):
4732  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4733  return _IMP_algebra.get_are_colinear(p1, p2, p3)
4734 class LinearFit2D(_GeometricPrimitive2D):
4735  """Proxy of C++ IMP::algebra::LinearFit2D class."""
4736 
4737  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4738 
4739  def __init__(self, *args):
4740  """
4741  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4742  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4743  """
4744  this = _IMP_algebra.new_LinearFit2D(*args)
4745  try:
4746  self.this.append(this)
4747  except __builtin__.Exception:
4748  self.this = this
4749 
4750  def get_fit_error(self):
4751  """get_fit_error(LinearFit2D self) -> double"""
4752  return _IMP_algebra.LinearFit2D_get_fit_error(self)
4753 
4754 
4755  def get_a(self):
4756  """get_a(LinearFit2D self) -> double"""
4757  return _IMP_algebra.LinearFit2D_get_a(self)
4758 
4759 
4760  def get_b(self):
4761  """get_b(LinearFit2D self) -> double"""
4762  return _IMP_algebra.LinearFit2D_get_b(self)
4763 
4764 
4765  def show(self, *args):
4766  """
4767  show(LinearFit2D self, _ostream out)
4768  show(LinearFit2D self)
4769  """
4770  return _IMP_algebra.LinearFit2D_show(self, *args)
4771 
4772 
4773  def __str__(self):
4774  """__str__(LinearFit2D self) -> std::string"""
4775  return _IMP_algebra.LinearFit2D___str__(self)
4776 
4777 
4778  def __repr__(self):
4779  """__repr__(LinearFit2D self) -> std::string"""
4780  return _IMP_algebra.LinearFit2D___repr__(self)
4781 
4782  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4783  __del__ = lambda self: None
4784 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4785 LinearFit2D_swigregister(LinearFit2D)
4786 
4787 class ParabolicFit2D(_GeometricPrimitive2D):
4788  """Proxy of C++ IMP::algebra::ParabolicFit2D 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, data):
4793  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4794  this = _IMP_algebra.new_ParabolicFit2D(data)
4795  try:
4796  self.this.append(this)
4797  except __builtin__.Exception:
4798  self.this = this
4799 
4800  def get_fit_error(self):
4801  """get_fit_error(ParabolicFit2D self) -> double"""
4802  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4803 
4804 
4805  def get_a(self):
4806  """get_a(ParabolicFit2D self) -> double"""
4807  return _IMP_algebra.ParabolicFit2D_get_a(self)
4808 
4809 
4810  def get_b(self):
4811  """get_b(ParabolicFit2D self) -> double"""
4812  return _IMP_algebra.ParabolicFit2D_get_b(self)
4813 
4814 
4815  def get_c(self):
4816  """get_c(ParabolicFit2D self) -> double"""
4817  return _IMP_algebra.ParabolicFit2D_get_c(self)
4818 
4819 
4820  def show(self, *args):
4821  """
4822  show(ParabolicFit2D self, _ostream out)
4823  show(ParabolicFit2D self)
4824  """
4825  return _IMP_algebra.ParabolicFit2D_show(self, *args)
4826 
4827 
4828  def __str__(self):
4829  """__str__(ParabolicFit2D self) -> std::string"""
4830  return _IMP_algebra.ParabolicFit2D___str__(self)
4831 
4832 
4833  def __repr__(self):
4834  """__repr__(ParabolicFit2D self) -> std::string"""
4835  return _IMP_algebra.ParabolicFit2D___repr__(self)
4836 
4837  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4838  __del__ = lambda self: None
4839 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4840 ParabolicFit2D_swigregister(ParabolicFit2D)
4841 
4842 class Plane3D(_GeometricPrimitive3D):
4843  """Proxy of C++ IMP::algebra::Plane3D class."""
4844 
4845  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4846 
4847  def __init__(self, *args):
4848  """
4849  __init__(IMP::algebra::Plane3D self) -> Plane3D
4850  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4851  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4852  """
4853  this = _IMP_algebra.new_Plane3D(*args)
4854  try:
4855  self.this.append(this)
4856  except __builtin__.Exception:
4857  self.this = this
4858 
4859  def get_point_on_plane(self):
4860  """get_point_on_plane(Plane3D self) -> Vector3D"""
4861  return _IMP_algebra.Plane3D_get_point_on_plane(self)
4862 
4863 
4864  def get_normal(self):
4865  """get_normal(Plane3D self) -> Vector3D"""
4866  return _IMP_algebra.Plane3D_get_normal(self)
4867 
4868 
4869  def get_projected(self, p):
4870  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4871  return _IMP_algebra.Plane3D_get_projected(self, p)
4872 
4873 
4874  def get_is_above(self, p):
4875  """get_is_above(Plane3D self, Vector3D p) -> bool"""
4876  return _IMP_algebra.Plane3D_get_is_above(self, p)
4877 
4878 
4879  def get_is_below(self, p):
4880  """get_is_below(Plane3D self, Vector3D p) -> bool"""
4881  return _IMP_algebra.Plane3D_get_is_below(self, p)
4882 
4883 
4884  def get_height(self, p):
4885  """get_height(Plane3D self, Vector3D p) -> double"""
4886  return _IMP_algebra.Plane3D_get_height(self, p)
4887 
4888 
4889  def show(self, *args):
4890  """
4891  show(Plane3D self, _ostream out)
4892  show(Plane3D self)
4893  """
4894  return _IMP_algebra.Plane3D_show(self, *args)
4895 
4896 
4897  def get_opposite(self):
4898  """get_opposite(Plane3D self) -> Plane3D"""
4899  return _IMP_algebra.Plane3D_get_opposite(self)
4900 
4901 
4902  def get_distance_from_origin(self):
4903  """get_distance_from_origin(Plane3D self) -> double"""
4904  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4905 
4906 
4907  def __str__(self):
4908  """__str__(Plane3D self) -> std::string"""
4909  return _IMP_algebra.Plane3D___str__(self)
4910 
4911 
4912  def __repr__(self):
4913  """__repr__(Plane3D self) -> std::string"""
4914  return _IMP_algebra.Plane3D___repr__(self)
4915 
4916  __swig_destroy__ = _IMP_algebra.delete_Plane3D
4917  __del__ = lambda self: None
4918 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4919 Plane3D_swigregister(Plane3D)
4920 
4921 
4922 def get_reflected(pln, p):
4923  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4924  return _IMP_algebra.get_reflected(pln, p)
4925 
4926 def get_plane_3d_geometry(g):
4927  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4928  return _IMP_algebra.get_plane_3d_geometry(g)
4929 class Reflection3D(_GeometricPrimitive3D):
4930  """Proxy of C++ IMP::algebra::Reflection3D class."""
4931 
4932  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4933 
4934  def __init__(self, *args):
4935  """
4936  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4937  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4938  """
4939  this = _IMP_algebra.new_Reflection3D(*args)
4940  try:
4941  self.this.append(this)
4942  except __builtin__.Exception:
4943  self.this = this
4944 
4945  def get_reflected(self, v):
4946  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4947  return _IMP_algebra.Reflection3D_get_reflected(self, v)
4948 
4949 
4950  def show(self, *args):
4951  """
4952  show(Reflection3D self, _ostream out)
4953  show(Reflection3D self)
4954  """
4955  return _IMP_algebra.Reflection3D_show(self, *args)
4956 
4957 
4958  def __str__(self):
4959  """__str__(Reflection3D self) -> std::string"""
4960  return _IMP_algebra.Reflection3D___str__(self)
4961 
4962 
4963  def __repr__(self):
4964  """__repr__(Reflection3D self) -> std::string"""
4965  return _IMP_algebra.Reflection3D___repr__(self)
4966 
4967  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4968  __del__ = lambda self: None
4969 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4970 Reflection3D_swigregister(Reflection3D)
4971 
4972 class Cylinder3D(_GeometricPrimitive3D):
4973  """Proxy of C++ IMP::algebra::Cylinder3D class."""
4974 
4975  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4976 
4977  def __init__(self, *args):
4978  """
4979  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4980  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4981  """
4982  this = _IMP_algebra.new_Cylinder3D(*args)
4983  try:
4984  self.this.append(this)
4985  except __builtin__.Exception:
4986  self.this = this
4987 
4988  def get_radius(self):
4989  """get_radius(Cylinder3D self) -> double"""
4990  return _IMP_algebra.Cylinder3D_get_radius(self)
4991 
4992 
4993  def get_segment(self):
4994  """get_segment(Cylinder3D self) -> Segment3D"""
4995  return _IMP_algebra.Cylinder3D_get_segment(self)
4996 
4997 
4998  def get_surface_point_at(self, relative_height, angle):
4999  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5000  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5001 
5002 
5003  def get_inner_point_at(self, relative_height, relative_radius, angle):
5004  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5005  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5006 
5007 
5008  def show(self, *args):
5009  """
5010  show(Cylinder3D self, _ostream out)
5011  show(Cylinder3D self)
5012  """
5013  return _IMP_algebra.Cylinder3D_show(self, *args)
5014 
5015 
5016  def __str__(self):
5017  """__str__(Cylinder3D self) -> std::string"""
5018  return _IMP_algebra.Cylinder3D___str__(self)
5019 
5020 
5021  def __repr__(self):
5022  """__repr__(Cylinder3D self) -> std::string"""
5023  return _IMP_algebra.Cylinder3D___repr__(self)
5024 
5025  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5026  __del__ = lambda self: None
5027 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5028 Cylinder3D_swigregister(Cylinder3D)
5029 
5030 
5031 def get_cylinder_3d_geometry(g):
5032  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5033  return _IMP_algebra.get_cylinder_3d_geometry(g)
5034 class Ellipsoid3D(_GeometricPrimitive3D):
5035  """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5036 
5037  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5038 
5039  def __init__(self, *args):
5040  """
5041  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5042  __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5043  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5044  """
5045  this = _IMP_algebra.new_Ellipsoid3D(*args)
5046  try:
5047  self.this.append(this)
5048  except __builtin__.Exception:
5049  self.this = this
5050 
5051  def get_radii(self):
5052  """get_radii(Ellipsoid3D self) -> Vector3D"""
5053  return _IMP_algebra.Ellipsoid3D_get_radii(self)
5054 
5055 
5056  def get_reference_frame(self):
5057  """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5058  return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5059 
5060 
5061  def show(self, *args):
5062  """
5063  show(Ellipsoid3D self, _ostream out)
5064  show(Ellipsoid3D self)
5065  """
5066  return _IMP_algebra.Ellipsoid3D_show(self, *args)
5067 
5068 
5069  def __str__(self):
5070  """__str__(Ellipsoid3D self) -> std::string"""
5071  return _IMP_algebra.Ellipsoid3D___str__(self)
5072 
5073 
5074  def __repr__(self):
5075  """__repr__(Ellipsoid3D self) -> std::string"""
5076  return _IMP_algebra.Ellipsoid3D___repr__(self)
5077 
5078  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5079  __del__ = lambda self: None
5080 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5081 Ellipsoid3D_swigregister(Ellipsoid3D)
5082 
5083 
5084 def get_ellipsoid_3d_geometry(g):
5085  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5086  return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5087 class ConnollySurfacePoint(object):
5088  """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5089 
5090  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5091 
5092  def __init__(self, a0, a1, a2, sp, a, n):
5093  """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5094  this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5095  try:
5096  self.this.append(this)
5097  except __builtin__.Exception:
5098  self.this = this
5099 
5100  def get_atom(self, i):
5101  """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5102  return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5103 
5104 
5105  def get_surface_point(self):
5106  """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5107  return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5108 
5109 
5110  def get_area(self):
5111  """get_area(ConnollySurfacePoint self) -> double"""
5112  return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5113 
5114 
5115  def get_normal(self):
5116  """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5117  return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5118 
5119 
5120  def show(self, *args):
5121  """
5122  show(ConnollySurfacePoint self, _ostream out)
5123  show(ConnollySurfacePoint self)
5124  """
5125  return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5126 
5127 
5128  def __str__(self):
5129  """__str__(ConnollySurfacePoint self) -> std::string"""
5130  return _IMP_algebra.ConnollySurfacePoint___str__(self)
5131 
5132 
5133  def __repr__(self):
5134  """__repr__(ConnollySurfacePoint self) -> std::string"""
5135  return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5136 
5137  __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5138  __del__ = lambda self: None
5139 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5140 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5141 
5142 
5143 def get_connolly_surface(spheres, density, probe_radius):
5144  """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5145  return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5146 class LogEmbedding3D(object):
5147  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5148 
5149  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5150 
5151  def __init__(self, *args):
5152  """
5153  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5154  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5155  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5156  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5157  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5158  """
5159  this = _IMP_algebra.new_LogEmbedding3D(*args)
5160  try:
5161  self.this.append(this)
5162  except __builtin__.Exception:
5163  self.this = this
5164 
5165  def set_origin(self, o):
5166  """set_origin(LogEmbedding3D self, Vector3D o)"""
5167  return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5168 
5169 
5170  def get_origin(self):
5171  """get_origin(LogEmbedding3D self) -> Vector3D"""
5172  return _IMP_algebra.LogEmbedding3D_get_origin(self)
5173 
5174 
5175  def get_dimension(self):
5176  """get_dimension(LogEmbedding3D self) -> unsigned int"""
5177  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5178 
5179 
5180  def set_unit_cell(self, *args):
5181  """
5182  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5183  set_unit_cell(LogEmbedding3D self, Vector3D o)
5184  """
5185  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5186 
5187 
5188  def get_unit_cell(self):
5189  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5190  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5191 
5192 
5193  def get_extended_index(self, o):
5194  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5195  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5196 
5197 
5198  def get_index(self, o):
5199  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5200  return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5201 
5202 
5203  def get_center(self, *args):
5204  """
5205  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5206  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5207  """
5208  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5209 
5210 
5211  def get_bounding_box(self, *args):
5212  """
5213  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5214  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5215  """
5216  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5217 
5218 
5219  def show(self, *args):
5220  """
5221  show(LogEmbedding3D self, _ostream out)
5222  show(LogEmbedding3D self)
5223  """
5224  return _IMP_algebra.LogEmbedding3D_show(self, *args)
5225 
5226 
5227  def __str__(self):
5228  """__str__(LogEmbedding3D self) -> std::string"""
5229  return _IMP_algebra.LogEmbedding3D___str__(self)
5230 
5231 
5232  def __repr__(self):
5233  """__repr__(LogEmbedding3D self) -> std::string"""
5234  return _IMP_algebra.LogEmbedding3D___repr__(self)
5235 
5236 
5237  def __cmp__(self, arg2):
5238  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5239  return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5240 
5241 
5242  def __eq__(self, arg2):
5243  """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5244  return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5245 
5246  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5247  __del__ = lambda self: None
5248 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5249 LogEmbedding3D_swigregister(LogEmbedding3D)
5250 
5251 class LogEmbeddingKD(object):
5252  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5253 
5254  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5255 
5256  def __init__(self, *args):
5257  """
5258  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5259  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5260  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5261  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5262  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5263  """
5264  this = _IMP_algebra.new_LogEmbeddingKD(*args)
5265  try:
5266  self.this.append(this)
5267  except __builtin__.Exception:
5268  self.this = this
5269 
5270  def set_origin(self, o):
5271  """set_origin(LogEmbeddingKD self, VectorKD o)"""
5272  return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5273 
5274 
5275  def get_origin(self):
5276  """get_origin(LogEmbeddingKD self) -> VectorKD"""
5277  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5278 
5279 
5280  def get_dimension(self):
5281  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5282  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5283 
5284 
5285  def set_unit_cell(self, *args):
5286  """
5287  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5288  set_unit_cell(LogEmbeddingKD self, VectorKD o)
5289  """
5290  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5291 
5292 
5293  def get_unit_cell(self):
5294  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5295  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5296 
5297 
5298  def get_extended_index(self, o):
5299  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5300  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5301 
5302 
5303  def get_index(self, o):
5304  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5305  return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5306 
5307 
5308  def get_center(self, *args):
5309  """
5310  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5311  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5312  """
5313  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5314 
5315 
5316  def get_bounding_box(self, *args):
5317  """
5318  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5319  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5320  """
5321  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5322 
5323 
5324  def show(self, *args):
5325  """
5326  show(LogEmbeddingKD self, _ostream out)
5327  show(LogEmbeddingKD self)
5328  """
5329  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5330 
5331 
5332  def __str__(self):
5333  """__str__(LogEmbeddingKD self) -> std::string"""
5334  return _IMP_algebra.LogEmbeddingKD___str__(self)
5335 
5336 
5337  def __repr__(self):
5338  """__repr__(LogEmbeddingKD self) -> std::string"""
5339  return _IMP_algebra.LogEmbeddingKD___repr__(self)
5340 
5341 
5342  def __cmp__(self, arg2):
5343  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5344  return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5345 
5346 
5347  def __eq__(self, arg2):
5348  """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5349  return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5350 
5351  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5352  __del__ = lambda self: None
5353 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5354 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5355 
5356 class DenseFloatLogGridKD(object):
5357  """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5358 
5359  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5360 
5361  def __init__(self, sz, le):
5362  """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5363  this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5364  try:
5365  self.this.append(this)
5366  except __builtin__.Exception:
5367  self.this = this
5368 
5369  def add_voxel(self, i, q):
5370  """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5371  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5372 
5373 
5374  def __getitem__(self, *args):
5375  """
5376  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5377  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5378  """
5379  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5380 
5381 
5382  def __setitem__(self, *args):
5383  """
5384  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5385  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5386  """
5387  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5388 
5389 
5390  def get_bounding_box(self, *args):
5391  """
5392  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5393  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5394  """
5395  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5396 
5397 
5398  def get_indexes(self, *args):
5399  """
5400  get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5401  get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5402  """
5403  return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5404 
5405 
5406  def get_all_indexes(self):
5407  """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5408  return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5409 
5410 
5411  def get_extended_indexes(self, *args):
5412  """
5413  get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5414  get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5415  """
5416  return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5417 
5418 
5419  def get_center(self, *args):
5420  """
5421  get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5422  get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5423  """
5424  return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5425 
5426 
5427  def get_extended_index(self, v):
5428  """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5429  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5430 
5431 
5432  def get_index(self, v):
5433  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5434  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5435 
5436 
5437  def get_origin(self):
5438  """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5439  return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5440 
5441 
5442  def get_dimension(self):
5443  """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5444  return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5445 
5446 
5447  def get_unit_cell(self):
5448  """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5449  return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5450 
5451 
5452  def get_has_index(self, v):
5453  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5454  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5455 
5456 
5457  def __str__(self):
5458  """__str__(DenseFloatLogGridKD self) -> std::string"""
5459  return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5460 
5461 
5462  def __repr__(self):
5463  """__repr__(DenseFloatLogGridKD self) -> std::string"""
5464  return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5465 
5466 
5467  def show(self, *args):
5468  """
5469  show(DenseFloatLogGridKD self, _ostream out)
5470  show(DenseFloatLogGridKD self)
5471  """
5472  return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5473 
5474  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5475  __del__ = lambda self: None
5476 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5477 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5478 
5479 class DenseIntLogGrid3D(object):
5480  """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5481 
5482  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5483 
5484  def __init__(self, sz, le):
5485  """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5486  this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5487  try:
5488  self.this.append(this)
5489  except __builtin__.Exception:
5490  self.this = this
5491 
5492  def add_voxel(self, i, q):
5493  """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5494  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5495 
5496 
5497  def __getitem__(self, *args):
5498  """
5499  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5500  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5501  """
5502  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5503 
5504 
5505  def __setitem__(self, *args):
5506  """
5507  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5508  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5509  """
5510  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5511 
5512 
5513  def get_bounding_box(self, *args):
5514  """
5515  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5516  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5517  """
5518  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5519 
5520 
5521  def get_indexes(self, *args):
5522  """
5523  get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5524  get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5525  """
5526  return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5527 
5528 
5529  def get_all_indexes(self):
5530  """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5531  return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5532 
5533 
5534  def get_extended_indexes(self, *args):
5535  """
5536  get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5537  get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5538  """
5539  return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5540 
5541 
5542  def get_center(self, *args):
5543  """
5544  get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5545  get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5546  """
5547  return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5548 
5549 
5550  def get_extended_index(self, v):
5551  """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5552  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5553 
5554 
5555  def get_index(self, v):
5556  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5557  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5558 
5559 
5560  def get_origin(self):
5561  """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5562  return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5563 
5564 
5565  def get_dimension(self):
5566  """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5567  return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5568 
5569 
5570  def get_unit_cell(self):
5571  """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5572  return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5573 
5574 
5575  def get_has_index(self, v):
5576  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5577  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5578 
5579 
5580  def __str__(self):
5581  """__str__(DenseIntLogGrid3D self) -> std::string"""
5582  return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5583 
5584 
5585  def __repr__(self):
5586  """__repr__(DenseIntLogGrid3D self) -> std::string"""
5587  return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5588 
5589 
5590  def show(self, *args):
5591  """
5592  show(DenseIntLogGrid3D self, _ostream out)
5593  show(DenseIntLogGrid3D self)
5594  """
5595  return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5596 
5597  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5598  __del__ = lambda self: None
5599 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5600 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5601 
5602 class DenseDoubleGrid3D(object):
5603  """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5604 
5605  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5606 
5607  def __init__(self, *args):
5608  """
5609  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5610  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5611  __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5612  """
5613  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5614  try:
5615  self.this.append(this)
5616  except __builtin__.Exception:
5617  self.this = this
5618 
5619  def add_voxel(self, i, q):
5620  """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5621  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5622 
5623 
5624  def __getitem__(self, *args):
5625  """
5626  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5627  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5628  """
5629  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5630 
5631 
5632  def __setitem__(self, *args):
5633  """
5634  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5635  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5636  """
5637  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5638 
5639 
5640  def get_bounding_box(self, *args):
5641  """
5642  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5643  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5644  """
5645  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5646 
5647 
5648  def get_indexes(self, *args):
5649  """
5650  get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5651  get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5652  """
5653  return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5654 
5655 
5656  def get_all_indexes(self):
5657  """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5658  return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5659 
5660 
5661  def get_extended_indexes(self, *args):
5662  """
5663  get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5664  get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5665  """
5666  return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5667 
5668 
5669  def get_center(self, *args):
5670  """
5671  get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5672  get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5673  """
5674  return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5675 
5676 
5677  def get_extended_index(self, v):
5678  """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5679  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5680 
5681 
5682  def get_index(self, v):
5683  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5684  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5685 
5686 
5687  def get_origin(self):
5688  """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5689  return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5690 
5691 
5692  def get_dimension(self):
5693  """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5694  return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5695 
5696 
5697  def get_unit_cell(self):
5698  """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5699  return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5700 
5701 
5702  def get_has_index(self, v):
5703  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5704  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5705 
5706 
5707  def __str__(self):
5708  """__str__(DenseDoubleGrid3D self) -> std::string"""
5709  return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5710 
5711 
5712  def __repr__(self):
5713  """__repr__(DenseDoubleGrid3D self) -> std::string"""
5714  return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5715 
5716 
5717  def show(self, *args):
5718  """
5719  show(DenseDoubleGrid3D self, _ostream out)
5720  show(DenseDoubleGrid3D self)
5721  """
5722  return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5723 
5724  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5725  __del__ = lambda self: None
5726 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5727 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5728 
5729 class DenseFloatGrid3D(object):
5730  """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5731 
5732  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5733 
5734  def __init__(self, *args):
5735  """
5736  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5737  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5738  __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5739  """
5740  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5741  try:
5742  self.this.append(this)
5743  except __builtin__.Exception:
5744  self.this = this
5745 
5746  def add_voxel(self, i, q):
5747  """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5748  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5749 
5750 
5751  def __getitem__(self, *args):
5752  """
5753  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5754  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5755  """
5756  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5757 
5758 
5759  def __setitem__(self, *args):
5760  """
5761  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5762  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5763  """
5764  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5765 
5766 
5767  def get_bounding_box(self, *args):
5768  """
5769  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5770  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5771  """
5772  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5773 
5774 
5775  def get_indexes(self, *args):
5776  """
5777  get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5778  get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5779  """
5780  return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5781 
5782 
5783  def get_all_indexes(self):
5784  """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5785  return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5786 
5787 
5788  def get_extended_indexes(self, *args):
5789  """
5790  get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5791  get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5792  """
5793  return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5794 
5795 
5796  def get_center(self, *args):
5797  """
5798  get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5799  get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5800  """
5801  return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5802 
5803 
5804  def get_extended_index(self, v):
5805  """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5806  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5807 
5808 
5809  def get_index(self, v):
5810  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5811  return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5812 
5813 
5814  def get_origin(self):
5815  """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5816  return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5817 
5818 
5819  def get_dimension(self):
5820  """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5821  return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5822 
5823 
5824  def get_unit_cell(self):
5825  """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5826  return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5827 
5828 
5829  def get_has_index(self, v):
5830  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5831  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5832 
5833 
5834  def __str__(self):
5835  """__str__(DenseFloatGrid3D self) -> std::string"""
5836  return _IMP_algebra.DenseFloatGrid3D___str__(self)
5837 
5838 
5839  def __repr__(self):
5840  """__repr__(DenseFloatGrid3D self) -> std::string"""
5841  return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5842 
5843 
5844  def show(self, *args):
5845  """
5846  show(DenseFloatGrid3D self, _ostream out)
5847  show(DenseFloatGrid3D self)
5848  """
5849  return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5850 
5851  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5852  __del__ = lambda self: None
5853 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5854 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5855 
5856 class SparseUnboundedIntGrid3D(object):
5857  """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5858 
5859  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5860 
5861  def __init__(self, *args):
5862  """
5863  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5864  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5865  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5866  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5867  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5868  """
5869  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5870  try:
5871  self.this.append(this)
5872  except __builtin__.Exception:
5873  self.this = this
5874 
5875  def add_voxel(self, i, q):
5876  """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5877  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5878 
5879 
5880  def __getitem__(self, *args):
5881  """
5882  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5883  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5884  """
5885  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5886 
5887 
5888  def __setitem__(self, *args):
5889  """
5890  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5891  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5892  """
5893  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5894 
5895 
5896  def get_bounding_box(self, *args):
5897  """
5898  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5899  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5900  """
5901  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5902 
5903 
5904  def get_indexes(self, *args):
5905  """
5906  get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5907  get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5908  """
5909  return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5910 
5911 
5912  def get_all_indexes(self):
5913  """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5914  return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5915 
5916 
5917  def get_extended_indexes(self, *args):
5918  """
5919  get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5920  get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5921  """
5922  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5923 
5924 
5925  def get_center(self, *args):
5926  """
5927  get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5928  get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5929  """
5930  return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5931 
5932 
5933  def get_extended_index(self, v):
5934  """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5935  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5936 
5937 
5938  def get_index(self, v):
5939  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5940  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5941 
5942 
5943  def get_origin(self):
5944  """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5945  return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5946 
5947 
5948  def get_dimension(self):
5949  """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5950  return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5951 
5952 
5953  def get_unit_cell(self):
5954  """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5955  return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5956 
5957 
5958  def get_has_index(self, v):
5959  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5960  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5961 
5962 
5963  def __str__(self):
5964  """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5965  return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5966 
5967 
5968  def __repr__(self):
5969  """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5970  return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5971 
5972 
5973  def show(self, *args):
5974  """
5975  show(SparseUnboundedIntGrid3D self, _ostream out)
5976  show(SparseUnboundedIntGrid3D self)
5977  """
5978  return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
5979 
5980  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
5981  __del__ = lambda self: None
5982 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
5983 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
5984 
5985 class SparseUnboundedIntGridKD(object):
5986  """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
5987 
5988  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5989 
5990  def __init__(self, *args):
5991  """
5992  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
5993  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
5994  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
5995  """
5996  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
5997  try:
5998  self.this.append(this)
5999  except __builtin__.Exception:
6000  self.this = this
6001 
6002  def add_voxel(self, i, q):
6003  """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6004  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6005 
6006 
6007  def __getitem__(self, *args):
6008  """
6009  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6010  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6011  """
6012  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6013 
6014 
6015  def __setitem__(self, *args):
6016  """
6017  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6018  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6019  """
6020  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6021 
6022 
6023  def get_bounding_box(self, *args):
6024  """
6025  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6026  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6027  """
6028  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6029 
6030 
6031  def get_indexes(self, *args):
6032  """
6033  get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6034  get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6035  """
6036  return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6037 
6038 
6039  def get_all_indexes(self):
6040  """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6041  return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6042 
6043 
6044  def get_extended_indexes(self, *args):
6045  """
6046  get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6047  get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6048  """
6049  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6050 
6051 
6052  def get_center(self, *args):
6053  """
6054  get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6055  get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6056  """
6057  return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6058 
6059 
6060  def get_extended_index(self, v):
6061  """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6062  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6063 
6064 
6065  def get_index(self, v):
6066  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6067  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6068 
6069 
6070  def get_origin(self):
6071  """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6072  return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6073 
6074 
6075  def get_dimension(self):
6076  """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6077  return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6078 
6079 
6080  def get_unit_cell(self):
6081  """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6082  return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6083 
6084 
6085  def get_has_index(self, v):
6086  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6087  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6088 
6089 
6090  def __str__(self):
6091  """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6092  return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6093 
6094 
6095  def __repr__(self):
6096  """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6097  return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6098 
6099 
6100  def show(self, *args):
6101  """
6102  show(SparseUnboundedIntGridKD self, _ostream out)
6103  show(SparseUnboundedIntGridKD self)
6104  """
6105  return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6106 
6107  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6108  __del__ = lambda self: None
6109 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6110 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6111 
6112 class GridIndex1D(IMP._Value):
6113  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6114 
6115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6116 
6117  def __init__(self, *args):
6118  """
6119  __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6120  __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6121  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6122  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6123  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6124  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6125  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6126  """
6127  this = _IMP_algebra.new_GridIndex1D(*args)
6128  try:
6129  self.this.append(this)
6130  except __builtin__.Exception:
6131  self.this = this
6132 
6133  def get_dimension(self):
6134  """get_dimension(GridIndex1D self) -> unsigned int"""
6135  return _IMP_algebra.GridIndex1D_get_dimension(self)
6136 
6137 
6138  def __getitem__(self, i):
6139  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6140  return _IMP_algebra.GridIndex1D___getitem__(self, i)
6141 
6142 
6143  def show(self, *args):
6144  """
6145  show(GridIndex1D self, _ostream out)
6146  show(GridIndex1D self)
6147  """
6148  return _IMP_algebra.GridIndex1D_show(self, *args)
6149 
6150 
6151  def __len__(self):
6152  """__len__(GridIndex1D self) -> unsigned int"""
6153  return _IMP_algebra.GridIndex1D___len__(self)
6154 
6155 
6156  def __cmp__(self, o):
6157  """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6158  return _IMP_algebra.GridIndex1D___cmp__(self, o)
6159 
6160 
6161  def __eq__(self, o):
6162  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6163  return _IMP_algebra.GridIndex1D___eq__(self, o)
6164 
6165 
6166  def __ne__(self, o):
6167  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6168  return _IMP_algebra.GridIndex1D___ne__(self, o)
6169 
6170 
6171  def __lt__(self, o):
6172  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6173  return _IMP_algebra.GridIndex1D___lt__(self, o)
6174 
6175 
6176  def __gt__(self, o):
6177  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6178  return _IMP_algebra.GridIndex1D___gt__(self, o)
6179 
6180 
6181  def __ge__(self, o):
6182  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6183  return _IMP_algebra.GridIndex1D___ge__(self, o)
6184 
6185 
6186  def __le__(self, o):
6187  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6188  return _IMP_algebra.GridIndex1D___le__(self, o)
6189 
6190 
6191  def __hash__(self):
6192  """__hash__(GridIndex1D self) -> std::size_t"""
6193  return _IMP_algebra.GridIndex1D___hash__(self)
6194 
6195 
6196  def __str__(self):
6197  """__str__(GridIndex1D self) -> std::string"""
6198  return _IMP_algebra.GridIndex1D___str__(self)
6199 
6200 
6201  def __repr__(self):
6202  """__repr__(GridIndex1D self) -> std::string"""
6203  return _IMP_algebra.GridIndex1D___repr__(self)
6204 
6205  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6206  __del__ = lambda self: None
6207 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6208 GridIndex1D_swigregister(GridIndex1D)
6209 
6210 class GridIndex2D(IMP._Value):
6211  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6212 
6213  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6214 
6215  def __init__(self, *args):
6216  """
6217  __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6218  __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6219  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6220  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6221  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6222  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6223  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6224  """
6225  this = _IMP_algebra.new_GridIndex2D(*args)
6226  try:
6227  self.this.append(this)
6228  except __builtin__.Exception:
6229  self.this = this
6230 
6231  def get_dimension(self):
6232  """get_dimension(GridIndex2D self) -> unsigned int"""
6233  return _IMP_algebra.GridIndex2D_get_dimension(self)
6234 
6235 
6236  def __getitem__(self, i):
6237  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6238  return _IMP_algebra.GridIndex2D___getitem__(self, i)
6239 
6240 
6241  def show(self, *args):
6242  """
6243  show(GridIndex2D self, _ostream out)
6244  show(GridIndex2D self)
6245  """
6246  return _IMP_algebra.GridIndex2D_show(self, *args)
6247 
6248 
6249  def __len__(self):
6250  """__len__(GridIndex2D self) -> unsigned int"""
6251  return _IMP_algebra.GridIndex2D___len__(self)
6252 
6253 
6254  def __cmp__(self, o):
6255  """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6256  return _IMP_algebra.GridIndex2D___cmp__(self, o)
6257 
6258 
6259  def __eq__(self, o):
6260  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6261  return _IMP_algebra.GridIndex2D___eq__(self, o)
6262 
6263 
6264  def __ne__(self, o):
6265  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6266  return _IMP_algebra.GridIndex2D___ne__(self, o)
6267 
6268 
6269  def __lt__(self, o):
6270  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6271  return _IMP_algebra.GridIndex2D___lt__(self, o)
6272 
6273 
6274  def __gt__(self, o):
6275  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6276  return _IMP_algebra.GridIndex2D___gt__(self, o)
6277 
6278 
6279  def __ge__(self, o):
6280  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6281  return _IMP_algebra.GridIndex2D___ge__(self, o)
6282 
6283 
6284  def __le__(self, o):
6285  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6286  return _IMP_algebra.GridIndex2D___le__(self, o)
6287 
6288 
6289  def __hash__(self):
6290  """__hash__(GridIndex2D self) -> std::size_t"""
6291  return _IMP_algebra.GridIndex2D___hash__(self)
6292 
6293 
6294  def __str__(self):
6295  """__str__(GridIndex2D self) -> std::string"""
6296  return _IMP_algebra.GridIndex2D___str__(self)
6297 
6298 
6299  def __repr__(self):
6300  """__repr__(GridIndex2D self) -> std::string"""
6301  return _IMP_algebra.GridIndex2D___repr__(self)
6302 
6303  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6304  __del__ = lambda self: None
6305 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6306 GridIndex2D_swigregister(GridIndex2D)
6307 
6308 class GridIndex3D(IMP._Value):
6309  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6310 
6311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6312 
6313  def __init__(self, *args):
6314  """
6315  __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6316  __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6317  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6318  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6319  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6320  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6321  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6322  """
6323  this = _IMP_algebra.new_GridIndex3D(*args)
6324  try:
6325  self.this.append(this)
6326  except __builtin__.Exception:
6327  self.this = this
6328 
6329  def get_dimension(self):
6330  """get_dimension(GridIndex3D self) -> unsigned int"""
6331  return _IMP_algebra.GridIndex3D_get_dimension(self)
6332 
6333 
6334  def __getitem__(self, i):
6335  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6336  return _IMP_algebra.GridIndex3D___getitem__(self, i)
6337 
6338 
6339  def show(self, *args):
6340  """
6341  show(GridIndex3D self, _ostream out)
6342  show(GridIndex3D self)
6343  """
6344  return _IMP_algebra.GridIndex3D_show(self, *args)
6345 
6346 
6347  def __len__(self):
6348  """__len__(GridIndex3D self) -> unsigned int"""
6349  return _IMP_algebra.GridIndex3D___len__(self)
6350 
6351 
6352  def __cmp__(self, o):
6353  """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6354  return _IMP_algebra.GridIndex3D___cmp__(self, o)
6355 
6356 
6357  def __eq__(self, o):
6358  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6359  return _IMP_algebra.GridIndex3D___eq__(self, o)
6360 
6361 
6362  def __ne__(self, o):
6363  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6364  return _IMP_algebra.GridIndex3D___ne__(self, o)
6365 
6366 
6367  def __lt__(self, o):
6368  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6369  return _IMP_algebra.GridIndex3D___lt__(self, o)
6370 
6371 
6372  def __gt__(self, o):
6373  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6374  return _IMP_algebra.GridIndex3D___gt__(self, o)
6375 
6376 
6377  def __ge__(self, o):
6378  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6379  return _IMP_algebra.GridIndex3D___ge__(self, o)
6380 
6381 
6382  def __le__(self, o):
6383  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6384  return _IMP_algebra.GridIndex3D___le__(self, o)
6385 
6386 
6387  def __hash__(self):
6388  """__hash__(GridIndex3D self) -> std::size_t"""
6389  return _IMP_algebra.GridIndex3D___hash__(self)
6390 
6391 
6392  def __str__(self):
6393  """__str__(GridIndex3D self) -> std::string"""
6394  return _IMP_algebra.GridIndex3D___str__(self)
6395 
6396 
6397  def __repr__(self):
6398  """__repr__(GridIndex3D self) -> std::string"""
6399  return _IMP_algebra.GridIndex3D___repr__(self)
6400 
6401  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6402  __del__ = lambda self: None
6403 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6404 GridIndex3D_swigregister(GridIndex3D)
6405 
6406 class GridIndex4D(IMP._Value):
6407  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6408 
6409  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6410 
6411  def __init__(self, *args):
6412  """
6413  __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6414  __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6415  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6416  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6417  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6418  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6419  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6420  """
6421  this = _IMP_algebra.new_GridIndex4D(*args)
6422  try:
6423  self.this.append(this)
6424  except __builtin__.Exception:
6425  self.this = this
6426 
6427  def get_dimension(self):
6428  """get_dimension(GridIndex4D self) -> unsigned int"""
6429  return _IMP_algebra.GridIndex4D_get_dimension(self)
6430 
6431 
6432  def __getitem__(self, i):
6433  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6434  return _IMP_algebra.GridIndex4D___getitem__(self, i)
6435 
6436 
6437  def show(self, *args):
6438  """
6439  show(GridIndex4D self, _ostream out)
6440  show(GridIndex4D self)
6441  """
6442  return _IMP_algebra.GridIndex4D_show(self, *args)
6443 
6444 
6445  def __len__(self):
6446  """__len__(GridIndex4D self) -> unsigned int"""
6447  return _IMP_algebra.GridIndex4D___len__(self)
6448 
6449 
6450  def __cmp__(self, o):
6451  """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6452  return _IMP_algebra.GridIndex4D___cmp__(self, o)
6453 
6454 
6455  def __eq__(self, o):
6456  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6457  return _IMP_algebra.GridIndex4D___eq__(self, o)
6458 
6459 
6460  def __ne__(self, o):
6461  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6462  return _IMP_algebra.GridIndex4D___ne__(self, o)
6463 
6464 
6465  def __lt__(self, o):
6466  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6467  return _IMP_algebra.GridIndex4D___lt__(self, o)
6468 
6469 
6470  def __gt__(self, o):
6471  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6472  return _IMP_algebra.GridIndex4D___gt__(self, o)
6473 
6474 
6475  def __ge__(self, o):
6476  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6477  return _IMP_algebra.GridIndex4D___ge__(self, o)
6478 
6479 
6480  def __le__(self, o):
6481  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6482  return _IMP_algebra.GridIndex4D___le__(self, o)
6483 
6484 
6485  def __hash__(self):
6486  """__hash__(GridIndex4D self) -> std::size_t"""
6487  return _IMP_algebra.GridIndex4D___hash__(self)
6488 
6489 
6490  def __str__(self):
6491  """__str__(GridIndex4D self) -> std::string"""
6492  return _IMP_algebra.GridIndex4D___str__(self)
6493 
6494 
6495  def __repr__(self):
6496  """__repr__(GridIndex4D self) -> std::string"""
6497  return _IMP_algebra.GridIndex4D___repr__(self)
6498 
6499  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6500  __del__ = lambda self: None
6501 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6502 GridIndex4D_swigregister(GridIndex4D)
6503 
6504 class GridIndex5D(IMP._Value):
6505  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6506 
6507  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6508 
6509  def __init__(self, *args):
6510  """
6511  __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6512  __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6513  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6514  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6515  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6516  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6517  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6518  """
6519  this = _IMP_algebra.new_GridIndex5D(*args)
6520  try:
6521  self.this.append(this)
6522  except __builtin__.Exception:
6523  self.this = this
6524 
6525  def get_dimension(self):
6526  """get_dimension(GridIndex5D self) -> unsigned int"""
6527  return _IMP_algebra.GridIndex5D_get_dimension(self)
6528 
6529 
6530  def __getitem__(self, i):
6531  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6532  return _IMP_algebra.GridIndex5D___getitem__(self, i)
6533 
6534 
6535  def show(self, *args):
6536  """
6537  show(GridIndex5D self, _ostream out)
6538  show(GridIndex5D self)
6539  """
6540  return _IMP_algebra.GridIndex5D_show(self, *args)
6541 
6542 
6543  def __len__(self):
6544  """__len__(GridIndex5D self) -> unsigned int"""
6545  return _IMP_algebra.GridIndex5D___len__(self)
6546 
6547 
6548  def __cmp__(self, o):
6549  """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6550  return _IMP_algebra.GridIndex5D___cmp__(self, o)
6551 
6552 
6553  def __eq__(self, o):
6554  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6555  return _IMP_algebra.GridIndex5D___eq__(self, o)
6556 
6557 
6558  def __ne__(self, o):
6559  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6560  return _IMP_algebra.GridIndex5D___ne__(self, o)
6561 
6562 
6563  def __lt__(self, o):
6564  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6565  return _IMP_algebra.GridIndex5D___lt__(self, o)
6566 
6567 
6568  def __gt__(self, o):
6569  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6570  return _IMP_algebra.GridIndex5D___gt__(self, o)
6571 
6572 
6573  def __ge__(self, o):
6574  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6575  return _IMP_algebra.GridIndex5D___ge__(self, o)
6576 
6577 
6578  def __le__(self, o):
6579  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6580  return _IMP_algebra.GridIndex5D___le__(self, o)
6581 
6582 
6583  def __hash__(self):
6584  """__hash__(GridIndex5D self) -> std::size_t"""
6585  return _IMP_algebra.GridIndex5D___hash__(self)
6586 
6587 
6588  def __str__(self):
6589  """__str__(GridIndex5D self) -> std::string"""
6590  return _IMP_algebra.GridIndex5D___str__(self)
6591 
6592 
6593  def __repr__(self):
6594  """__repr__(GridIndex5D self) -> std::string"""
6595  return _IMP_algebra.GridIndex5D___repr__(self)
6596 
6597  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6598  __del__ = lambda self: None
6599 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6600 GridIndex5D_swigregister(GridIndex5D)
6601 
6602 class GridIndex6D(IMP._Value):
6603  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6604 
6605  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6606 
6607  def __init__(self, *args):
6608  """
6609  __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6610  __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6611  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6612  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6613  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6614  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6615  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6616  """
6617  this = _IMP_algebra.new_GridIndex6D(*args)
6618  try:
6619  self.this.append(this)
6620  except __builtin__.Exception:
6621  self.this = this
6622 
6623  def get_dimension(self):
6624  """get_dimension(GridIndex6D self) -> unsigned int"""
6625  return _IMP_algebra.GridIndex6D_get_dimension(self)
6626 
6627 
6628  def __getitem__(self, i):
6629  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6630  return _IMP_algebra.GridIndex6D___getitem__(self, i)
6631 
6632 
6633  def show(self, *args):
6634  """
6635  show(GridIndex6D self, _ostream out)
6636  show(GridIndex6D self)
6637  """
6638  return _IMP_algebra.GridIndex6D_show(self, *args)
6639 
6640 
6641  def __len__(self):
6642  """__len__(GridIndex6D self) -> unsigned int"""
6643  return _IMP_algebra.GridIndex6D___len__(self)
6644 
6645 
6646  def __cmp__(self, o):
6647  """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6648  return _IMP_algebra.GridIndex6D___cmp__(self, o)
6649 
6650 
6651  def __eq__(self, o):
6652  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6653  return _IMP_algebra.GridIndex6D___eq__(self, o)
6654 
6655 
6656  def __ne__(self, o):
6657  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6658  return _IMP_algebra.GridIndex6D___ne__(self, o)
6659 
6660 
6661  def __lt__(self, o):
6662  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6663  return _IMP_algebra.GridIndex6D___lt__(self, o)
6664 
6665 
6666  def __gt__(self, o):
6667  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6668  return _IMP_algebra.GridIndex6D___gt__(self, o)
6669 
6670 
6671  def __ge__(self, o):
6672  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6673  return _IMP_algebra.GridIndex6D___ge__(self, o)
6674 
6675 
6676  def __le__(self, o):
6677  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6678  return _IMP_algebra.GridIndex6D___le__(self, o)
6679 
6680 
6681  def __hash__(self):
6682  """__hash__(GridIndex6D self) -> std::size_t"""
6683  return _IMP_algebra.GridIndex6D___hash__(self)
6684 
6685 
6686  def __str__(self):
6687  """__str__(GridIndex6D self) -> std::string"""
6688  return _IMP_algebra.GridIndex6D___str__(self)
6689 
6690 
6691  def __repr__(self):
6692  """__repr__(GridIndex6D self) -> std::string"""
6693  return _IMP_algebra.GridIndex6D___repr__(self)
6694 
6695  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6696  __del__ = lambda self: None
6697 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6698 GridIndex6D_swigregister(GridIndex6D)
6699 
6700 class GridIndexKD(IMP._Value):
6701  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6702 
6703  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6704 
6705  def __init__(self, *args):
6706  """
6707  __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6708  __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6709  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6710  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6711  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6712  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6713  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6714  """
6715  this = _IMP_algebra.new_GridIndexKD(*args)
6716  try:
6717  self.this.append(this)
6718  except __builtin__.Exception:
6719  self.this = this
6720 
6721  def get_dimension(self):
6722  """get_dimension(GridIndexKD self) -> unsigned int"""
6723  return _IMP_algebra.GridIndexKD_get_dimension(self)
6724 
6725 
6726  def __getitem__(self, i):
6727  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6728  return _IMP_algebra.GridIndexKD___getitem__(self, i)
6729 
6730 
6731  def show(self, *args):
6732  """
6733  show(GridIndexKD self, _ostream out)
6734  show(GridIndexKD self)
6735  """
6736  return _IMP_algebra.GridIndexKD_show(self, *args)
6737 
6738 
6739  def __len__(self):
6740  """__len__(GridIndexKD self) -> unsigned int"""
6741  return _IMP_algebra.GridIndexKD___len__(self)
6742 
6743 
6744  def __cmp__(self, o):
6745  """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6746  return _IMP_algebra.GridIndexKD___cmp__(self, o)
6747 
6748 
6749  def __eq__(self, o):
6750  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6751  return _IMP_algebra.GridIndexKD___eq__(self, o)
6752 
6753 
6754  def __ne__(self, o):
6755  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6756  return _IMP_algebra.GridIndexKD___ne__(self, o)
6757 
6758 
6759  def __lt__(self, o):
6760  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6761  return _IMP_algebra.GridIndexKD___lt__(self, o)
6762 
6763 
6764  def __gt__(self, o):
6765  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6766  return _IMP_algebra.GridIndexKD___gt__(self, o)
6767 
6768 
6769  def __ge__(self, o):
6770  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6771  return _IMP_algebra.GridIndexKD___ge__(self, o)
6772 
6773 
6774  def __le__(self, o):
6775  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6776  return _IMP_algebra.GridIndexKD___le__(self, o)
6777 
6778 
6779  def __hash__(self):
6780  """__hash__(GridIndexKD self) -> std::size_t"""
6781  return _IMP_algebra.GridIndexKD___hash__(self)
6782 
6783 
6784  def __str__(self):
6785  """__str__(GridIndexKD self) -> std::string"""
6786  return _IMP_algebra.GridIndexKD___str__(self)
6787 
6788 
6789  def __repr__(self):
6790  """__repr__(GridIndexKD self) -> std::string"""
6791  return _IMP_algebra.GridIndexKD___repr__(self)
6792 
6793  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6794  __del__ = lambda self: None
6795 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6796 GridIndexKD_swigregister(GridIndexKD)
6797 
6798 class ExtendedGridIndex1D(IMP._Value):
6799  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6800 
6801  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6802 
6803  def __init__(self, *args):
6804  """
6805  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6806  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6807  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6808  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6809  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6810  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6811  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6812  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6813  """
6814  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6815  try:
6816  self.this.append(this)
6817  except __builtin__.Exception:
6818  self.this = this
6819 
6820  def get_dimension(self):
6821  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6822  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6823 
6824 
6825  def __cmp__(self, o):
6826  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6827  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6828 
6829 
6830  def __eq__(self, o):
6831  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6832  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6833 
6834 
6835  def __ne__(self, o):
6836  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6837  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6838 
6839 
6840  def __lt__(self, o):
6841  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6842  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6843 
6844 
6845  def __gt__(self, o):
6846  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6847  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6848 
6849 
6850  def __ge__(self, o):
6851  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6852  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6853 
6854 
6855  def __le__(self, o):
6856  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6857  return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6858 
6859 
6860  def __setitem__(self, i, v):
6861  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6862  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6863 
6864 
6865  def __getitem__(self, i):
6866  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6867  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6868 
6869 
6870  def show(self, *args):
6871  """
6872  show(ExtendedGridIndex1D self, _ostream out)
6873  show(ExtendedGridIndex1D self)
6874  """
6875  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6876 
6877 
6878  def __len__(self):
6879  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6880  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6881 
6882 
6883  def __hash__(self):
6884  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6885  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6886 
6887 
6888  def get_uniform_offset(self, ii):
6889  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6890  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6891 
6892 
6893  def get_offset(self, i, j, k):
6894  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6895  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6896 
6897 
6898  def __str__(self):
6899  """__str__(ExtendedGridIndex1D self) -> std::string"""
6900  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6901 
6902 
6903  def __repr__(self):
6904  """__repr__(ExtendedGridIndex1D self) -> std::string"""
6905  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6906 
6907  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6908  __del__ = lambda self: None
6909 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6910 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6911 
6912 class ExtendedGridIndex2D(IMP._Value):
6913  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6914 
6915  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6916 
6917  def __init__(self, *args):
6918  """
6919  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6920  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6921  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6922  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6923  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6924  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6925  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6926  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6927  """
6928  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6929  try:
6930  self.this.append(this)
6931  except __builtin__.Exception:
6932  self.this = this
6933 
6934  def get_dimension(self):
6935  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6936  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6937 
6938 
6939  def __cmp__(self, o):
6940  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6941  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6942 
6943 
6944  def __eq__(self, o):
6945  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6946  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6947 
6948 
6949  def __ne__(self, o):
6950  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6951  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6952 
6953 
6954  def __lt__(self, o):
6955  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6956  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6957 
6958 
6959  def __gt__(self, o):
6960  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6961  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6962 
6963 
6964  def __ge__(self, o):
6965  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6966  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6967 
6968 
6969  def __le__(self, o):
6970  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6971  return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6972 
6973 
6974  def __setitem__(self, i, v):
6975  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
6976  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
6977 
6978 
6979  def __getitem__(self, i):
6980  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
6981  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
6982 
6983 
6984  def show(self, *args):
6985  """
6986  show(ExtendedGridIndex2D self, _ostream out)
6987  show(ExtendedGridIndex2D self)
6988  """
6989  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
6990 
6991 
6992  def __len__(self):
6993  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
6994  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
6995 
6996 
6997  def __hash__(self):
6998  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
6999  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7000 
7001 
7002  def get_uniform_offset(self, ii):
7003  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7004  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7005 
7006 
7007  def get_offset(self, i, j, k):
7008  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7009  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7010 
7011 
7012  def __str__(self):
7013  """__str__(ExtendedGridIndex2D self) -> std::string"""
7014  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7015 
7016 
7017  def __repr__(self):
7018  """__repr__(ExtendedGridIndex2D self) -> std::string"""
7019  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7020 
7021  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7022  __del__ = lambda self: None
7023 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7024 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7025 
7026 class ExtendedGridIndex3D(IMP._Value):
7027  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7028 
7029  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7030 
7031  def __init__(self, *args):
7032  """
7033  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7034  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7035  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7036  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7037  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7038  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7039  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7040  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7041  """
7042  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7043  try:
7044  self.this.append(this)
7045  except __builtin__.Exception:
7046  self.this = this
7047 
7048  def get_dimension(self):
7049  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7050  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7051 
7052 
7053  def __cmp__(self, o):
7054  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7055  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7056 
7057 
7058  def __eq__(self, o):
7059  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7060  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7061 
7062 
7063  def __ne__(self, o):
7064  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7065  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7066 
7067 
7068  def __lt__(self, o):
7069  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7070  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7071 
7072 
7073  def __gt__(self, o):
7074  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7075  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7076 
7077 
7078  def __ge__(self, o):
7079  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7080  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7081 
7082 
7083  def __le__(self, o):
7084  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7085  return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7086 
7087 
7088  def __setitem__(self, i, v):
7089  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7090  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7091 
7092 
7093  def __getitem__(self, i):
7094  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7095  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7096 
7097 
7098  def show(self, *args):
7099  """
7100  show(ExtendedGridIndex3D self, _ostream out)
7101  show(ExtendedGridIndex3D self)
7102  """
7103  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7104 
7105 
7106  def __len__(self):
7107  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7108  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7109 
7110 
7111  def __hash__(self):
7112  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7113  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7114 
7115 
7116  def get_uniform_offset(self, ii):
7117  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7118  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7119 
7120 
7121  def get_offset(self, i, j, k):
7122  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7123  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7124 
7125 
7126  def __str__(self):
7127  """__str__(ExtendedGridIndex3D self) -> std::string"""
7128  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7129 
7130 
7131  def __repr__(self):
7132  """__repr__(ExtendedGridIndex3D self) -> std::string"""
7133  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7134 
7135  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7136  __del__ = lambda self: None
7137 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7138 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7139 
7140 class ExtendedGridIndex4D(IMP._Value):
7141  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7142 
7143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7144 
7145  def __init__(self, *args):
7146  """
7147  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7148  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7149  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7150  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7151  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7152  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7153  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7154  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7155  """
7156  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7157  try:
7158  self.this.append(this)
7159  except __builtin__.Exception:
7160  self.this = this
7161 
7162  def get_dimension(self):
7163  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7164  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7165 
7166 
7167  def __cmp__(self, o):
7168  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7169  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7170 
7171 
7172  def __eq__(self, o):
7173  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7174  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7175 
7176 
7177  def __ne__(self, o):
7178  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7179  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7180 
7181 
7182  def __lt__(self, o):
7183  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7184  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7185 
7186 
7187  def __gt__(self, o):
7188  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7189  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7190 
7191 
7192  def __ge__(self, o):
7193  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7194  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7195 
7196 
7197  def __le__(self, o):
7198  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7199  return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7200 
7201 
7202  def __setitem__(self, i, v):
7203  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7204  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7205 
7206 
7207  def __getitem__(self, i):
7208  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7209  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7210 
7211 
7212  def show(self, *args):
7213  """
7214  show(ExtendedGridIndex4D self, _ostream out)
7215  show(ExtendedGridIndex4D self)
7216  """
7217  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7218 
7219 
7220  def __len__(self):
7221  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7222  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7223 
7224 
7225  def __hash__(self):
7226  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7227  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7228 
7229 
7230  def get_uniform_offset(self, ii):
7231  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7232  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7233 
7234 
7235  def get_offset(self, i, j, k):
7236  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7237  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7238 
7239 
7240  def __str__(self):
7241  """__str__(ExtendedGridIndex4D self) -> std::string"""
7242  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7243 
7244 
7245  def __repr__(self):
7246  """__repr__(ExtendedGridIndex4D self) -> std::string"""
7247  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7248 
7249  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7250  __del__ = lambda self: None
7251 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7252 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7253 
7254 class ExtendedGridIndex5D(IMP._Value):
7255  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7256 
7257  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7258 
7259  def __init__(self, *args):
7260  """
7261  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7262  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7263  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7264  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7265  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7266  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7267  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7268  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7269  """
7270  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7271  try:
7272  self.this.append(this)
7273  except __builtin__.Exception:
7274  self.this = this
7275 
7276  def get_dimension(self):
7277  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7278  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7279 
7280 
7281  def __cmp__(self, o):
7282  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7283  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7284 
7285 
7286  def __eq__(self, o):
7287  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7288  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7289 
7290 
7291  def __ne__(self, o):
7292  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7293  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7294 
7295 
7296  def __lt__(self, o):
7297  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7298  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7299 
7300 
7301  def __gt__(self, o):
7302  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7303  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7304 
7305 
7306  def __ge__(self, o):
7307  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7308  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7309 
7310 
7311  def __le__(self, o):
7312  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7313  return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7314 
7315 
7316  def __setitem__(self, i, v):
7317  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7318  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7319 
7320 
7321  def __getitem__(self, i):
7322  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7323  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7324 
7325 
7326  def show(self, *args):
7327  """
7328  show(ExtendedGridIndex5D self, _ostream out)
7329  show(ExtendedGridIndex5D self)
7330  """
7331  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7332 
7333 
7334  def __len__(self):
7335  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7336  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7337 
7338 
7339  def __hash__(self):
7340  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7341  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7342 
7343 
7344  def get_uniform_offset(self, ii):
7345  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7346  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7347 
7348 
7349  def get_offset(self, i, j, k):
7350  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7351  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7352 
7353 
7354  def __str__(self):
7355  """__str__(ExtendedGridIndex5D self) -> std::string"""
7356  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7357 
7358 
7359  def __repr__(self):
7360  """__repr__(ExtendedGridIndex5D self) -> std::string"""
7361  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7362 
7363  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7364  __del__ = lambda self: None
7365 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7366 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7367 
7368 class ExtendedGridIndex6D(IMP._Value):
7369  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7370 
7371  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7372 
7373  def __init__(self, *args):
7374  """
7375  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7376  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7377  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7378  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7379  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7380  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7381  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7382  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7383  """
7384  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7385  try:
7386  self.this.append(this)
7387  except __builtin__.Exception:
7388  self.this = this
7389 
7390  def get_dimension(self):
7391  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7392  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7393 
7394 
7395  def __cmp__(self, o):
7396  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7397  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7398 
7399 
7400  def __eq__(self, o):
7401  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7402  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7403 
7404 
7405  def __ne__(self, o):
7406  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7407  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7408 
7409 
7410  def __lt__(self, o):
7411  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7412  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7413 
7414 
7415  def __gt__(self, o):
7416  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7417  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7418 
7419 
7420  def __ge__(self, o):
7421  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7422  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7423 
7424 
7425  def __le__(self, o):
7426  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7427  return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7428 
7429 
7430  def __setitem__(self, i, v):
7431  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7432  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7433 
7434 
7435  def __getitem__(self, i):
7436  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7437  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7438 
7439 
7440  def show(self, *args):
7441  """
7442  show(ExtendedGridIndex6D self, _ostream out)
7443  show(ExtendedGridIndex6D self)
7444  """
7445  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7446 
7447 
7448  def __len__(self):
7449  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7450  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7451 
7452 
7453  def __hash__(self):
7454  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7455  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7456 
7457 
7458  def get_uniform_offset(self, ii):
7459  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7460  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7461 
7462 
7463  def get_offset(self, i, j, k):
7464  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7465  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7466 
7467 
7468  def __str__(self):
7469  """__str__(ExtendedGridIndex6D self) -> std::string"""
7470  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7471 
7472 
7473  def __repr__(self):
7474  """__repr__(ExtendedGridIndex6D self) -> std::string"""
7475  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7476 
7477  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7478  __del__ = lambda self: None
7479 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7480 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7481 
7482 class ExtendedGridIndexKD(IMP._Value):
7483  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7484 
7485  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7486 
7487  def __init__(self, *args):
7488  """
7489  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7490  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7491  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7492  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7493  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7494  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7495  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7496  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7497  """
7498  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7499  try:
7500  self.this.append(this)
7501  except __builtin__.Exception:
7502  self.this = this
7503 
7504  def get_dimension(self):
7505  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7506  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7507 
7508 
7509  def __cmp__(self, o):
7510  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7511  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7512 
7513 
7514  def __eq__(self, o):
7515  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7516  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7517 
7518 
7519  def __ne__(self, o):
7520  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7521  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7522 
7523 
7524  def __lt__(self, o):
7525  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7526  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7527 
7528 
7529  def __gt__(self, o):
7530  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7531  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7532 
7533 
7534  def __ge__(self, o):
7535  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7536  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7537 
7538 
7539  def __le__(self, o):
7540  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7541  return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7542 
7543 
7544  def __setitem__(self, i, v):
7545  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7546  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7547 
7548 
7549  def __getitem__(self, i):
7550  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7551  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7552 
7553 
7554  def show(self, *args):
7555  """
7556  show(ExtendedGridIndexKD self, _ostream out)
7557  show(ExtendedGridIndexKD self)
7558  """
7559  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7560 
7561 
7562  def __len__(self):
7563  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7564  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7565 
7566 
7567  def __hash__(self):
7568  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7569  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7570 
7571 
7572  def get_uniform_offset(self, ii):
7573  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7574  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7575 
7576 
7577  def get_offset(self, i, j, k):
7578  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7579  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7580 
7581 
7582  def __str__(self):
7583  """__str__(ExtendedGridIndexKD self) -> std::string"""
7584  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7585 
7586 
7587  def __repr__(self):
7588  """__repr__(ExtendedGridIndexKD self) -> std::string"""
7589  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7590 
7591  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7592  __del__ = lambda self: None
7593 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7594 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7595 
7596 class BoundedGridRange1D(object):
7597  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7598 
7599  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7600 
7601  def get_is_bounded():
7602  """get_is_bounded() -> bool"""
7603  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7604 
7605  get_is_bounded = staticmethod(get_is_bounded)
7606 
7607  def __init__(self, *args):
7608  """
7609  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7610  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7611  """
7612  this = _IMP_algebra.new_BoundedGridRange1D(*args)
7613  try:
7614  self.this.append(this)
7615  except __builtin__.Exception:
7616  self.this = this
7617 
7618  def get_number_of_voxels(self, *args):
7619  """
7620  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7621  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7622  """
7623  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7624 
7625 
7626  def get_end_index(self):
7627  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7628  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7629 
7630 
7631  def show(self, *args):
7632  """
7633  show(BoundedGridRange1D self, _ostream out)
7634  show(BoundedGridRange1D self)
7635  """
7636  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7637 
7638 
7639  def get_all_indexes(self):
7640  """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7641  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7642 
7643 
7644  def get_indexes(self, lb, ub):
7645  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7646  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7647 
7648 
7649  def get_extended_indexes(self, lb, ub):
7650  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7651  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7652 
7653 
7654  def get_index(self, v):
7655  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7656  return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7657 
7658 
7659  def get_has_index(self, v):
7660  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7661  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7662 
7663 
7664  def get_minimum_extended_index(self):
7665  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7666  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7667 
7668 
7669  def get_maximum_extended_index(self):
7670  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7671  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7672 
7673 
7674  def __str__(self):
7675  """__str__(BoundedGridRange1D self) -> std::string"""
7676  return _IMP_algebra.BoundedGridRange1D___str__(self)
7677 
7678 
7679  def __repr__(self):
7680  """__repr__(BoundedGridRange1D self) -> std::string"""
7681  return _IMP_algebra.BoundedGridRange1D___repr__(self)
7682 
7683 
7684  def __cmp__(self, arg2):
7685  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7686  return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7687 
7688 
7689  def __eq__(self, arg2):
7690  """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7691  return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7692 
7693  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7694  __del__ = lambda self: None
7695 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7696 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7697 
7698 def BoundedGridRange1D_get_is_bounded():
7699  """BoundedGridRange1D_get_is_bounded() -> bool"""
7700  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7701 
7702 class BoundedGridRange2D(object):
7703  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7704 
7705  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7706 
7707  def get_is_bounded():
7708  """get_is_bounded() -> bool"""
7709  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7710 
7711  get_is_bounded = staticmethod(get_is_bounded)
7712 
7713  def __init__(self, *args):
7714  """
7715  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7716  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7717  """
7718  this = _IMP_algebra.new_BoundedGridRange2D(*args)
7719  try:
7720  self.this.append(this)
7721  except __builtin__.Exception:
7722  self.this = this
7723 
7724  def get_number_of_voxels(self, *args):
7725  """
7726  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7727  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7728  """
7729  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7730 
7731 
7732  def get_end_index(self):
7733  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7734  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7735 
7736 
7737  def show(self, *args):
7738  """
7739  show(BoundedGridRange2D self, _ostream out)
7740  show(BoundedGridRange2D self)
7741  """
7742  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7743 
7744 
7745  def get_all_indexes(self):
7746  """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7747  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7748 
7749 
7750  def get_indexes(self, lb, ub):
7751  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7752  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7753 
7754 
7755  def get_extended_indexes(self, lb, ub):
7756  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7757  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7758 
7759 
7760  def get_index(self, v):
7761  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7762  return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7763 
7764 
7765  def get_has_index(self, v):
7766  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7767  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7768 
7769 
7770  def get_minimum_extended_index(self):
7771  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7772  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7773 
7774 
7775  def get_maximum_extended_index(self):
7776  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7777  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7778 
7779 
7780  def __str__(self):
7781  """__str__(BoundedGridRange2D self) -> std::string"""
7782  return _IMP_algebra.BoundedGridRange2D___str__(self)
7783 
7784 
7785  def __repr__(self):
7786  """__repr__(BoundedGridRange2D self) -> std::string"""
7787  return _IMP_algebra.BoundedGridRange2D___repr__(self)
7788 
7789 
7790  def __cmp__(self, arg2):
7791  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7792  return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7793 
7794 
7795  def __eq__(self, arg2):
7796  """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7797  return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7798 
7799  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7800  __del__ = lambda self: None
7801 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7802 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7803 
7804 def BoundedGridRange2D_get_is_bounded():
7805  """BoundedGridRange2D_get_is_bounded() -> bool"""
7806  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7807 
7808 class BoundedGridRange3D(object):
7809  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7810 
7811  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7812 
7813  def get_is_bounded():
7814  """get_is_bounded() -> bool"""
7815  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7816 
7817  get_is_bounded = staticmethod(get_is_bounded)
7818 
7819  def __init__(self, *args):
7820  """
7821  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7822  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7823  """
7824  this = _IMP_algebra.new_BoundedGridRange3D(*args)
7825  try:
7826  self.this.append(this)
7827  except __builtin__.Exception:
7828  self.this = this
7829 
7830  def get_number_of_voxels(self, *args):
7831  """
7832  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7833  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7834  """
7835  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7836 
7837 
7838  def get_end_index(self):
7839  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7840  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7841 
7842 
7843  def show(self, *args):
7844  """
7845  show(BoundedGridRange3D self, _ostream out)
7846  show(BoundedGridRange3D self)
7847  """
7848  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7849 
7850 
7851  def get_all_indexes(self):
7852  """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7853  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7854 
7855 
7856  def get_indexes(self, lb, ub):
7857  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7858  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7859 
7860 
7861  def get_extended_indexes(self, lb, ub):
7862  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7863  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7864 
7865 
7866  def get_index(self, v):
7867  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7868  return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7869 
7870 
7871  def get_has_index(self, v):
7872  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7873  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7874 
7875 
7876  def get_minimum_extended_index(self):
7877  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7878  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7879 
7880 
7881  def get_maximum_extended_index(self):
7882  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7883  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7884 
7885 
7886  def __str__(self):
7887  """__str__(BoundedGridRange3D self) -> std::string"""
7888  return _IMP_algebra.BoundedGridRange3D___str__(self)
7889 
7890 
7891  def __repr__(self):
7892  """__repr__(BoundedGridRange3D self) -> std::string"""
7893  return _IMP_algebra.BoundedGridRange3D___repr__(self)
7894 
7895 
7896  def __cmp__(self, arg2):
7897  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7898  return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7899 
7900 
7901  def __eq__(self, arg2):
7902  """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7903  return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7904 
7905  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7906  __del__ = lambda self: None
7907 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7908 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7909 
7910 def BoundedGridRange3D_get_is_bounded():
7911  """BoundedGridRange3D_get_is_bounded() -> bool"""
7912  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7913 
7914 class BoundedGridRange4D(object):
7915  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7916 
7917  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7918 
7919  def get_is_bounded():
7920  """get_is_bounded() -> bool"""
7921  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7922 
7923  get_is_bounded = staticmethod(get_is_bounded)
7924 
7925  def __init__(self, *args):
7926  """
7927  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7928  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7929  """
7930  this = _IMP_algebra.new_BoundedGridRange4D(*args)
7931  try:
7932  self.this.append(this)
7933  except __builtin__.Exception:
7934  self.this = this
7935 
7936  def get_number_of_voxels(self, *args):
7937  """
7938  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7939  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7940  """
7941  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7942 
7943 
7944  def get_end_index(self):
7945  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7946  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7947 
7948 
7949  def show(self, *args):
7950  """
7951  show(BoundedGridRange4D self, _ostream out)
7952  show(BoundedGridRange4D self)
7953  """
7954  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7955 
7956 
7957  def get_all_indexes(self):
7958  """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7959  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7960 
7961 
7962  def get_indexes(self, lb, ub):
7963  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7964  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7965 
7966 
7967  def get_extended_indexes(self, lb, ub):
7968  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7969  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7970 
7971 
7972  def get_index(self, v):
7973  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7974  return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
7975 
7976 
7977  def get_has_index(self, v):
7978  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
7979  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
7980 
7981 
7982  def get_minimum_extended_index(self):
7983  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7984  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
7985 
7986 
7987  def get_maximum_extended_index(self):
7988  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7989  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
7990 
7991 
7992  def __str__(self):
7993  """__str__(BoundedGridRange4D self) -> std::string"""
7994  return _IMP_algebra.BoundedGridRange4D___str__(self)
7995 
7996 
7997  def __repr__(self):
7998  """__repr__(BoundedGridRange4D self) -> std::string"""
7999  return _IMP_algebra.BoundedGridRange4D___repr__(self)
8000 
8001 
8002  def __cmp__(self, arg2):
8003  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8004  return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8005 
8006 
8007  def __eq__(self, arg2):
8008  """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8009  return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8010 
8011  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8012  __del__ = lambda self: None
8013 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8014 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8015 
8016 def BoundedGridRange4D_get_is_bounded():
8017  """BoundedGridRange4D_get_is_bounded() -> bool"""
8018  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8019 
8020 class BoundedGridRange5D(object):
8021  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8022 
8023  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8024 
8025  def get_is_bounded():
8026  """get_is_bounded() -> bool"""
8027  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8028 
8029  get_is_bounded = staticmethod(get_is_bounded)
8030 
8031  def __init__(self, *args):
8032  """
8033  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8034  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8035  """
8036  this = _IMP_algebra.new_BoundedGridRange5D(*args)
8037  try:
8038  self.this.append(this)
8039  except __builtin__.Exception:
8040  self.this = this
8041 
8042  def get_number_of_voxels(self, *args):
8043  """
8044  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8045  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8046  """
8047  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8048 
8049 
8050  def get_end_index(self):
8051  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8052  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8053 
8054 
8055  def show(self, *args):
8056  """
8057  show(BoundedGridRange5D self, _ostream out)
8058  show(BoundedGridRange5D self)
8059  """
8060  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8061 
8062 
8063  def get_all_indexes(self):
8064  """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8065  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8066 
8067 
8068  def get_indexes(self, lb, ub):
8069  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8070  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8071 
8072 
8073  def get_extended_indexes(self, lb, ub):
8074  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8075  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8076 
8077 
8078  def get_index(self, v):
8079  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8080  return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8081 
8082 
8083  def get_has_index(self, v):
8084  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8085  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8086 
8087 
8088  def get_minimum_extended_index(self):
8089  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8090  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8091 
8092 
8093  def get_maximum_extended_index(self):
8094  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8095  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8096 
8097 
8098  def __str__(self):
8099  """__str__(BoundedGridRange5D self) -> std::string"""
8100  return _IMP_algebra.BoundedGridRange5D___str__(self)
8101 
8102 
8103  def __repr__(self):
8104  """__repr__(BoundedGridRange5D self) -> std::string"""
8105  return _IMP_algebra.BoundedGridRange5D___repr__(self)
8106 
8107 
8108  def __cmp__(self, arg2):
8109  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8110  return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8111 
8112 
8113  def __eq__(self, arg2):
8114  """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8115  return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8116 
8117  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8118  __del__ = lambda self: None
8119 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8120 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8121 
8122 def BoundedGridRange5D_get_is_bounded():
8123  """BoundedGridRange5D_get_is_bounded() -> bool"""
8124  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8125 
8126 class BoundedGridRange6D(object):
8127  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8128 
8129  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8130 
8131  def get_is_bounded():
8132  """get_is_bounded() -> bool"""
8133  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8134 
8135  get_is_bounded = staticmethod(get_is_bounded)
8136 
8137  def __init__(self, *args):
8138  """
8139  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8140  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8141  """
8142  this = _IMP_algebra.new_BoundedGridRange6D(*args)
8143  try:
8144  self.this.append(this)
8145  except __builtin__.Exception:
8146  self.this = this
8147 
8148  def get_number_of_voxels(self, *args):
8149  """
8150  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8151  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8152  """
8153  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8154 
8155 
8156  def get_end_index(self):
8157  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8158  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8159 
8160 
8161  def show(self, *args):
8162  """
8163  show(BoundedGridRange6D self, _ostream out)
8164  show(BoundedGridRange6D self)
8165  """
8166  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8167 
8168 
8169  def get_all_indexes(self):
8170  """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8171  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8172 
8173 
8174  def get_indexes(self, lb, ub):
8175  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8176  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8177 
8178 
8179  def get_extended_indexes(self, lb, ub):
8180  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8181  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8182 
8183 
8184  def get_index(self, v):
8185  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8186  return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8187 
8188 
8189  def get_has_index(self, v):
8190  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8191  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8192 
8193 
8194  def get_minimum_extended_index(self):
8195  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8196  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8197 
8198 
8199  def get_maximum_extended_index(self):
8200  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8201  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8202 
8203 
8204  def __str__(self):
8205  """__str__(BoundedGridRange6D self) -> std::string"""
8206  return _IMP_algebra.BoundedGridRange6D___str__(self)
8207 
8208 
8209  def __repr__(self):
8210  """__repr__(BoundedGridRange6D self) -> std::string"""
8211  return _IMP_algebra.BoundedGridRange6D___repr__(self)
8212 
8213 
8214  def __cmp__(self, arg2):
8215  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8216  return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8217 
8218 
8219  def __eq__(self, arg2):
8220  """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8221  return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8222 
8223  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8224  __del__ = lambda self: None
8225 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8226 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8227 
8228 def BoundedGridRange6D_get_is_bounded():
8229  """BoundedGridRange6D_get_is_bounded() -> bool"""
8230  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8231 
8232 class BoundedGridRangeKD(object):
8233  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8234 
8235  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8236 
8237  def get_is_bounded():
8238  """get_is_bounded() -> bool"""
8239  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8240 
8241  get_is_bounded = staticmethod(get_is_bounded)
8242 
8243  def __init__(self, *args):
8244  """
8245  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8246  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8247  """
8248  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8249  try:
8250  self.this.append(this)
8251  except __builtin__.Exception:
8252  self.this = this
8253 
8254  def get_number_of_voxels(self, *args):
8255  """
8256  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8257  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8258  """
8259  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8260 
8261 
8262  def get_end_index(self):
8263  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8264  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8265 
8266 
8267  def show(self, *args):
8268  """
8269  show(BoundedGridRangeKD self, _ostream out)
8270  show(BoundedGridRangeKD self)
8271  """
8272  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8273 
8274 
8275  def get_all_indexes(self):
8276  """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8277  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8278 
8279 
8280  def get_indexes(self, lb, ub):
8281  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8282  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8283 
8284 
8285  def get_extended_indexes(self, lb, ub):
8286  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8287  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8288 
8289 
8290  def get_index(self, v):
8291  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8292  return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8293 
8294 
8295  def get_has_index(self, v):
8296  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8297  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8298 
8299 
8300  def get_minimum_extended_index(self):
8301  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8302  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8303 
8304 
8305  def get_maximum_extended_index(self):
8306  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8307  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8308 
8309 
8310  def __str__(self):
8311  """__str__(BoundedGridRangeKD self) -> std::string"""
8312  return _IMP_algebra.BoundedGridRangeKD___str__(self)
8313 
8314 
8315  def __repr__(self):
8316  """__repr__(BoundedGridRangeKD self) -> std::string"""
8317  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8318 
8319 
8320  def __cmp__(self, arg2):
8321  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8322  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8323 
8324 
8325  def __eq__(self, arg2):
8326  """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8327  return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8328 
8329  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8330  __del__ = lambda self: None
8331 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8332 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8333 
8334 def BoundedGridRangeKD_get_is_bounded():
8335  """BoundedGridRangeKD_get_is_bounded() -> bool"""
8336  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8337 
8338 class UnboundedGridRange1D(object):
8339  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8340 
8341  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8342 
8343  def __init__(self, *args):
8344  """
8345  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8346  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8347  """
8348  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8349  try:
8350  self.this.append(this)
8351  except __builtin__.Exception:
8352  self.this = this
8353 
8354  def set_number_of_voxels(self, arg2):
8355  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8356  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8357 
8358 
8359  def get_number_of_voxels(self, arg2):
8360  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8361  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8362 
8363 
8364  def get_is_bounded():
8365  """get_is_bounded() -> bool"""
8366  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8367 
8368  get_is_bounded = staticmethod(get_is_bounded)
8369 
8370  def get_has_index(self, arg2):
8371  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8372  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8373 
8374 
8375  def show(self, *args):
8376  """
8377  show(UnboundedGridRange1D self, _ostream out)
8378  show(UnboundedGridRange1D self)
8379  """
8380  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8381 
8382 
8383  def get_extended_indexes(self, lb, ub):
8384  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8385  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8386 
8387 
8388  def __str__(self):
8389  """__str__(UnboundedGridRange1D self) -> std::string"""
8390  return _IMP_algebra.UnboundedGridRange1D___str__(self)
8391 
8392 
8393  def __repr__(self):
8394  """__repr__(UnboundedGridRange1D self) -> std::string"""
8395  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8396 
8397 
8398  def __cmp__(self, arg2):
8399  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8400  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8401 
8402 
8403  def __eq__(self, arg2):
8404  """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8405  return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8406 
8407  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8408  __del__ = lambda self: None
8409 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8410 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8411 
8412 def UnboundedGridRange1D_get_is_bounded():
8413  """UnboundedGridRange1D_get_is_bounded() -> bool"""
8414  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8415 
8416 class UnboundedGridRange2D(object):
8417  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8418 
8419  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8420 
8421  def __init__(self, *args):
8422  """
8423  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8424  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8425  """
8426  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8427  try:
8428  self.this.append(this)
8429  except __builtin__.Exception:
8430  self.this = this
8431 
8432  def set_number_of_voxels(self, arg2):
8433  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8434  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8435 
8436 
8437  def get_number_of_voxels(self, arg2):
8438  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8439  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8440 
8441 
8442  def get_is_bounded():
8443  """get_is_bounded() -> bool"""
8444  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8445 
8446  get_is_bounded = staticmethod(get_is_bounded)
8447 
8448  def get_has_index(self, arg2):
8449  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8450  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8451 
8452 
8453  def show(self, *args):
8454  """
8455  show(UnboundedGridRange2D self, _ostream out)
8456  show(UnboundedGridRange2D self)
8457  """
8458  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8459 
8460 
8461  def get_extended_indexes(self, lb, ub):
8462  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8463  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8464 
8465 
8466  def __str__(self):
8467  """__str__(UnboundedGridRange2D self) -> std::string"""
8468  return _IMP_algebra.UnboundedGridRange2D___str__(self)
8469 
8470 
8471  def __repr__(self):
8472  """__repr__(UnboundedGridRange2D self) -> std::string"""
8473  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8474 
8475 
8476  def __cmp__(self, arg2):
8477  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8478  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8479 
8480 
8481  def __eq__(self, arg2):
8482  """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8483  return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8484 
8485  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8486  __del__ = lambda self: None
8487 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8488 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8489 
8490 def UnboundedGridRange2D_get_is_bounded():
8491  """UnboundedGridRange2D_get_is_bounded() -> bool"""
8492  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8493 
8494 class UnboundedGridRange3D(object):
8495  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8496 
8497  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8498 
8499  def __init__(self, *args):
8500  """
8501  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8502  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8503  """
8504  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8505  try:
8506  self.this.append(this)
8507  except __builtin__.Exception:
8508  self.this = this
8509 
8510  def set_number_of_voxels(self, arg2):
8511  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8512  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8513 
8514 
8515  def get_number_of_voxels(self, arg2):
8516  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8517  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8518 
8519 
8520  def get_is_bounded():
8521  """get_is_bounded() -> bool"""
8522  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8523 
8524  get_is_bounded = staticmethod(get_is_bounded)
8525 
8526  def get_has_index(self, arg2):
8527  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8528  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8529 
8530 
8531  def show(self, *args):
8532  """
8533  show(UnboundedGridRange3D self, _ostream out)
8534  show(UnboundedGridRange3D self)
8535  """
8536  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8537 
8538 
8539  def get_extended_indexes(self, lb, ub):
8540  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8541  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8542 
8543 
8544  def __str__(self):
8545  """__str__(UnboundedGridRange3D self) -> std::string"""
8546  return _IMP_algebra.UnboundedGridRange3D___str__(self)
8547 
8548 
8549  def __repr__(self):
8550  """__repr__(UnboundedGridRange3D self) -> std::string"""
8551  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8552 
8553 
8554  def __cmp__(self, arg2):
8555  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8556  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8557 
8558 
8559  def __eq__(self, arg2):
8560  """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8561  return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8562 
8563  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8564  __del__ = lambda self: None
8565 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8566 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8567 
8568 def UnboundedGridRange3D_get_is_bounded():
8569  """UnboundedGridRange3D_get_is_bounded() -> bool"""
8570  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8571 
8572 class UnboundedGridRange4D(object):
8573  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(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 __init__(self, *args):
8578  """
8579  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8580  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8581  """
8582  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8583  try:
8584  self.this.append(this)
8585  except __builtin__.Exception:
8586  self.this = this
8587 
8588  def set_number_of_voxels(self, arg2):
8589  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8590  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8591 
8592 
8593  def get_number_of_voxels(self, arg2):
8594  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8595  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8596 
8597 
8598  def get_is_bounded():
8599  """get_is_bounded() -> bool"""
8600  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8601 
8602  get_is_bounded = staticmethod(get_is_bounded)
8603 
8604  def get_has_index(self, arg2):
8605  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8606  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8607 
8608 
8609  def show(self, *args):
8610  """
8611  show(UnboundedGridRange4D self, _ostream out)
8612  show(UnboundedGridRange4D self)
8613  """
8614  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8615 
8616 
8617  def get_extended_indexes(self, lb, ub):
8618  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8619  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8620 
8621 
8622  def __str__(self):
8623  """__str__(UnboundedGridRange4D self) -> std::string"""
8624  return _IMP_algebra.UnboundedGridRange4D___str__(self)
8625 
8626 
8627  def __repr__(self):
8628  """__repr__(UnboundedGridRange4D self) -> std::string"""
8629  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8630 
8631 
8632  def __cmp__(self, arg2):
8633  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8634  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8635 
8636 
8637  def __eq__(self, arg2):
8638  """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8639  return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8640 
8641  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8642  __del__ = lambda self: None
8643 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8644 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8645 
8646 def UnboundedGridRange4D_get_is_bounded():
8647  """UnboundedGridRange4D_get_is_bounded() -> bool"""
8648  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8649 
8650 class UnboundedGridRange5D(object):
8651  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8652 
8653  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8654 
8655  def __init__(self, *args):
8656  """
8657  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8658  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8659  """
8660  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8661  try:
8662  self.this.append(this)
8663  except __builtin__.Exception:
8664  self.this = this
8665 
8666  def set_number_of_voxels(self, arg2):
8667  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8668  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8669 
8670 
8671  def get_number_of_voxels(self, arg2):
8672  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8673  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8674 
8675 
8676  def get_is_bounded():
8677  """get_is_bounded() -> bool"""
8678  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8679 
8680  get_is_bounded = staticmethod(get_is_bounded)
8681 
8682  def get_has_index(self, arg2):
8683  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8684  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8685 
8686 
8687  def show(self, *args):
8688  """
8689  show(UnboundedGridRange5D self, _ostream out)
8690  show(UnboundedGridRange5D self)
8691  """
8692  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8693 
8694 
8695  def get_extended_indexes(self, lb, ub):
8696  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8697  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8698 
8699 
8700  def __str__(self):
8701  """__str__(UnboundedGridRange5D self) -> std::string"""
8702  return _IMP_algebra.UnboundedGridRange5D___str__(self)
8703 
8704 
8705  def __repr__(self):
8706  """__repr__(UnboundedGridRange5D self) -> std::string"""
8707  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8708 
8709 
8710  def __cmp__(self, arg2):
8711  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8712  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8713 
8714 
8715  def __eq__(self, arg2):
8716  """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8717  return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8718 
8719  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8720  __del__ = lambda self: None
8721 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8722 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8723 
8724 def UnboundedGridRange5D_get_is_bounded():
8725  """UnboundedGridRange5D_get_is_bounded() -> bool"""
8726  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8727 
8728 class UnboundedGridRange6D(object):
8729  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8730 
8731  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8732 
8733  def __init__(self, *args):
8734  """
8735  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8736  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8737  """
8738  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8739  try:
8740  self.this.append(this)
8741  except __builtin__.Exception:
8742  self.this = this
8743 
8744  def set_number_of_voxels(self, arg2):
8745  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8746  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8747 
8748 
8749  def get_number_of_voxels(self, arg2):
8750  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8751  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8752 
8753 
8754  def get_is_bounded():
8755  """get_is_bounded() -> bool"""
8756  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8757 
8758  get_is_bounded = staticmethod(get_is_bounded)
8759 
8760  def get_has_index(self, arg2):
8761  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8762  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8763 
8764 
8765  def show(self, *args):
8766  """
8767  show(UnboundedGridRange6D self, _ostream out)
8768  show(UnboundedGridRange6D self)
8769  """
8770  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8771 
8772 
8773  def get_extended_indexes(self, lb, ub):
8774  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8775  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8776 
8777 
8778  def __str__(self):
8779  """__str__(UnboundedGridRange6D self) -> std::string"""
8780  return _IMP_algebra.UnboundedGridRange6D___str__(self)
8781 
8782 
8783  def __repr__(self):
8784  """__repr__(UnboundedGridRange6D self) -> std::string"""
8785  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8786 
8787 
8788  def __cmp__(self, arg2):
8789  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8790  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8791 
8792 
8793  def __eq__(self, arg2):
8794  """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8795  return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8796 
8797  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8798  __del__ = lambda self: None
8799 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8800 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8801 
8802 def UnboundedGridRange6D_get_is_bounded():
8803  """UnboundedGridRange6D_get_is_bounded() -> bool"""
8804  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8805 
8806 class UnboundedGridRangeKD(object):
8807  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8808 
8809  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8810 
8811  def __init__(self, *args):
8812  """
8813  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8814  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8815  """
8816  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8817  try:
8818  self.this.append(this)
8819  except __builtin__.Exception:
8820  self.this = this
8821 
8822  def set_number_of_voxels(self, arg2):
8823  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8824  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8825 
8826 
8827  def get_number_of_voxels(self, arg2):
8828  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8829  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8830 
8831 
8832  def get_is_bounded():
8833  """get_is_bounded() -> bool"""
8834  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8835 
8836  get_is_bounded = staticmethod(get_is_bounded)
8837 
8838  def get_has_index(self, arg2):
8839  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8840  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8841 
8842 
8843  def show(self, *args):
8844  """
8845  show(UnboundedGridRangeKD self, _ostream out)
8846  show(UnboundedGridRangeKD self)
8847  """
8848  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8849 
8850 
8851  def get_extended_indexes(self, lb, ub):
8852  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8853  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8854 
8855 
8856  def __str__(self):
8857  """__str__(UnboundedGridRangeKD self) -> std::string"""
8858  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8859 
8860 
8861  def __repr__(self):
8862  """__repr__(UnboundedGridRangeKD self) -> std::string"""
8863  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8864 
8865 
8866  def __cmp__(self, arg2):
8867  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8868  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8869 
8870 
8871  def __eq__(self, arg2):
8872  """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8873  return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8874 
8875  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8876  __del__ = lambda self: None
8877 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8878 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8879 
8880 def UnboundedGridRangeKD_get_is_bounded():
8881  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8882  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8883 
8884 class DefaultEmbedding1D(object):
8885  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8886 
8887  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8888 
8889  def __init__(self, *args):
8890  """
8891  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8892  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8893  """
8894  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8895  try:
8896  self.this.append(this)
8897  except __builtin__.Exception:
8898  self.this = this
8899 
8900  def set_origin(self, o):
8901  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8902  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8903 
8904 
8905  def get_origin(self):
8906  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8907  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8908 
8909 
8910  def get_dimension(self):
8911  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8912  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8913 
8914 
8915  def set_unit_cell(self, o):
8916  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8917  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8918 
8919 
8920  def get_inverse_unit_cell(self):
8921  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8922  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8923 
8924 
8925  def get_unit_cell(self):
8926  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8927  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8928 
8929 
8930  def get_extended_index(self, o):
8931  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8932  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8933 
8934 
8935  def get_index(self, o):
8936  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8937  return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8938 
8939 
8940  def get_center(self, *args):
8941  """
8942  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8943  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8944  """
8945  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8946 
8947 
8948  def get_bounding_box(self, *args):
8949  """
8950  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8951  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8952  """
8953  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8954 
8955 
8956  def show(self, *args):
8957  """
8958  show(DefaultEmbedding1D self, _ostream out)
8959  show(DefaultEmbedding1D self)
8960  """
8961  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8962 
8963 
8964  def __str__(self):
8965  """__str__(DefaultEmbedding1D self) -> std::string"""
8966  return _IMP_algebra.DefaultEmbedding1D___str__(self)
8967 
8968 
8969  def __repr__(self):
8970  """__repr__(DefaultEmbedding1D self) -> std::string"""
8971  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8972 
8973 
8974  def __cmp__(self, arg2):
8975  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
8976  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
8977 
8978 
8979  def __eq__(self, arg2):
8980  """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
8981  return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
8982 
8983  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
8984  __del__ = lambda self: None
8985 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
8986 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
8987 
8988 class DefaultEmbedding2D(object):
8989  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
8990 
8991  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8992 
8993  def __init__(self, *args):
8994  """
8995  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
8996  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
8997  """
8998  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
8999  try:
9000  self.this.append(this)
9001  except __builtin__.Exception:
9002  self.this = this
9003 
9004  def set_origin(self, o):
9005  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9006  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9007 
9008 
9009  def get_origin(self):
9010  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9011  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9012 
9013 
9014  def get_dimension(self):
9015  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9016  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9017 
9018 
9019  def set_unit_cell(self, o):
9020  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9021  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9022 
9023 
9024  def get_inverse_unit_cell(self):
9025  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9026  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9027 
9028 
9029  def get_unit_cell(self):
9030  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9031  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9032 
9033 
9034  def get_extended_index(self, o):
9035  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9036  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9037 
9038 
9039  def get_index(self, o):
9040  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9041  return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9042 
9043 
9044  def get_center(self, *args):
9045  """
9046  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9047  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9048  """
9049  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9050 
9051 
9052  def get_bounding_box(self, *args):
9053  """
9054  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9055  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9056  """
9057  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9058 
9059 
9060  def show(self, *args):
9061  """
9062  show(DefaultEmbedding2D self, _ostream out)
9063  show(DefaultEmbedding2D self)
9064  """
9065  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9066 
9067 
9068  def __str__(self):
9069  """__str__(DefaultEmbedding2D self) -> std::string"""
9070  return _IMP_algebra.DefaultEmbedding2D___str__(self)
9071 
9072 
9073  def __repr__(self):
9074  """__repr__(DefaultEmbedding2D self) -> std::string"""
9075  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9076 
9077 
9078  def __cmp__(self, arg2):
9079  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9080  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9081 
9082 
9083  def __eq__(self, arg2):
9084  """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9085  return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9086 
9087  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9088  __del__ = lambda self: None
9089 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9090 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9091 
9092 class DefaultEmbedding3D(object):
9093  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9094 
9095  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9096 
9097  def __init__(self, *args):
9098  """
9099  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9100  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9101  """
9102  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9103  try:
9104  self.this.append(this)
9105  except __builtin__.Exception:
9106  self.this = this
9107 
9108  def set_origin(self, o):
9109  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9110  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9111 
9112 
9113  def get_origin(self):
9114  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9115  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9116 
9117 
9118  def get_dimension(self):
9119  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9120  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9121 
9122 
9123  def set_unit_cell(self, o):
9124  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9125  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9126 
9127 
9128  def get_inverse_unit_cell(self):
9129  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9130  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9131 
9132 
9133  def get_unit_cell(self):
9134  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9135  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9136 
9137 
9138  def get_extended_index(self, o):
9139  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9140  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9141 
9142 
9143  def get_index(self, o):
9144  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9145  return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9146 
9147 
9148  def get_center(self, *args):
9149  """
9150  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9151  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9152  """
9153  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9154 
9155 
9156  def get_bounding_box(self, *args):
9157  """
9158  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9159  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9160  """
9161  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9162 
9163 
9164  def show(self, *args):
9165  """
9166  show(DefaultEmbedding3D self, _ostream out)
9167  show(DefaultEmbedding3D self)
9168  """
9169  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9170 
9171 
9172  def __str__(self):
9173  """__str__(DefaultEmbedding3D self) -> std::string"""
9174  return _IMP_algebra.DefaultEmbedding3D___str__(self)
9175 
9176 
9177  def __repr__(self):
9178  """__repr__(DefaultEmbedding3D self) -> std::string"""
9179  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9180 
9181 
9182  def __cmp__(self, arg2):
9183  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9184  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9185 
9186 
9187  def __eq__(self, arg2):
9188  """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9189  return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9190 
9191  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9192  __del__ = lambda self: None
9193 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9194 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9195 
9196 class DefaultEmbedding4D(object):
9197  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9198 
9199  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9200 
9201  def __init__(self, *args):
9202  """
9203  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9204  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9205  """
9206  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9207  try:
9208  self.this.append(this)
9209  except __builtin__.Exception:
9210  self.this = this
9211 
9212  def set_origin(self, o):
9213  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9214  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9215 
9216 
9217  def get_origin(self):
9218  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9219  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9220 
9221 
9222  def get_dimension(self):
9223  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9224  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9225 
9226 
9227  def set_unit_cell(self, o):
9228  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9229  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9230 
9231 
9232  def get_inverse_unit_cell(self):
9233  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9234  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9235 
9236 
9237  def get_unit_cell(self):
9238  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9239  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9240 
9241 
9242  def get_extended_index(self, o):
9243  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9244  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9245 
9246 
9247  def get_index(self, o):
9248  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9249  return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9250 
9251 
9252  def get_center(self, *args):
9253  """
9254  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9255  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9256  """
9257  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9258 
9259 
9260  def get_bounding_box(self, *args):
9261  """
9262  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9263  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9264  """
9265  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9266 
9267 
9268  def show(self, *args):
9269  """
9270  show(DefaultEmbedding4D self, _ostream out)
9271  show(DefaultEmbedding4D self)
9272  """
9273  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9274 
9275 
9276  def __str__(self):
9277  """__str__(DefaultEmbedding4D self) -> std::string"""
9278  return _IMP_algebra.DefaultEmbedding4D___str__(self)
9279 
9280 
9281  def __repr__(self):
9282  """__repr__(DefaultEmbedding4D self) -> std::string"""
9283  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9284 
9285 
9286  def __cmp__(self, arg2):
9287  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9288  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9289 
9290 
9291  def __eq__(self, arg2):
9292  """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9293  return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9294 
9295  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9296  __del__ = lambda self: None
9297 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9298 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9299 
9300 class DefaultEmbedding5D(object):
9301  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9302 
9303  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9304 
9305  def __init__(self, *args):
9306  """
9307  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9308  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9309  """
9310  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9311  try:
9312  self.this.append(this)
9313  except __builtin__.Exception:
9314  self.this = this
9315 
9316  def set_origin(self, o):
9317  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9318  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9319 
9320 
9321  def get_origin(self):
9322  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9323  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9324 
9325 
9326  def get_dimension(self):
9327  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9328  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9329 
9330 
9331  def set_unit_cell(self, o):
9332  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9333  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9334 
9335 
9336  def get_inverse_unit_cell(self):
9337  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9338  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9339 
9340 
9341  def get_unit_cell(self):
9342  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9343  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9344 
9345 
9346  def get_extended_index(self, o):
9347  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9348  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9349 
9350 
9351  def get_index(self, o):
9352  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9353  return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9354 
9355 
9356  def get_center(self, *args):
9357  """
9358  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9359  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9360  """
9361  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9362 
9363 
9364  def get_bounding_box(self, *args):
9365  """
9366  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9367  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9368  """
9369  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9370 
9371 
9372  def show(self, *args):
9373  """
9374  show(DefaultEmbedding5D self, _ostream out)
9375  show(DefaultEmbedding5D self)
9376  """
9377  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9378 
9379 
9380  def __str__(self):
9381  """__str__(DefaultEmbedding5D self) -> std::string"""
9382  return _IMP_algebra.DefaultEmbedding5D___str__(self)
9383 
9384 
9385  def __repr__(self):
9386  """__repr__(DefaultEmbedding5D self) -> std::string"""
9387  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9388 
9389 
9390  def __cmp__(self, arg2):
9391  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9392  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9393 
9394 
9395  def __eq__(self, arg2):
9396  """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9397  return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9398 
9399  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9400  __del__ = lambda self: None
9401 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9402 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9403 
9404 class DefaultEmbedding6D(object):
9405  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9406 
9407  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9408 
9409  def __init__(self, *args):
9410  """
9411  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9412  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9413  """
9414  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9415  try:
9416  self.this.append(this)
9417  except __builtin__.Exception:
9418  self.this = this
9419 
9420  def set_origin(self, o):
9421  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9422  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9423 
9424 
9425  def get_origin(self):
9426  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9427  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9428 
9429 
9430  def get_dimension(self):
9431  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9432  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9433 
9434 
9435  def set_unit_cell(self, o):
9436  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9437  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9438 
9439 
9440  def get_inverse_unit_cell(self):
9441  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9442  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9443 
9444 
9445  def get_unit_cell(self):
9446  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9447  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9448 
9449 
9450  def get_extended_index(self, o):
9451  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9452  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9453 
9454 
9455  def get_index(self, o):
9456  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9457  return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9458 
9459 
9460  def get_center(self, *args):
9461  """
9462  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9463  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9464  """
9465  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9466 
9467 
9468  def get_bounding_box(self, *args):
9469  """
9470  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9471  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9472  """
9473  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9474 
9475 
9476  def show(self, *args):
9477  """
9478  show(DefaultEmbedding6D self, _ostream out)
9479  show(DefaultEmbedding6D self)
9480  """
9481  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9482 
9483 
9484  def __str__(self):
9485  """__str__(DefaultEmbedding6D self) -> std::string"""
9486  return _IMP_algebra.DefaultEmbedding6D___str__(self)
9487 
9488 
9489  def __repr__(self):
9490  """__repr__(DefaultEmbedding6D self) -> std::string"""
9491  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9492 
9493 
9494  def __cmp__(self, arg2):
9495  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9496  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9497 
9498 
9499  def __eq__(self, arg2):
9500  """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9501  return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9502 
9503  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9504  __del__ = lambda self: None
9505 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9506 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9507 
9508 class DefaultEmbeddingKD(object):
9509  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9510 
9511  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9512 
9513  def __init__(self, *args):
9514  """
9515  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9516  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9517  """
9518  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9519  try:
9520  self.this.append(this)
9521  except __builtin__.Exception:
9522  self.this = this
9523 
9524  def set_origin(self, o):
9525  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9526  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9527 
9528 
9529  def get_origin(self):
9530  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9531  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9532 
9533 
9534  def get_dimension(self):
9535  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9536  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9537 
9538 
9539  def set_unit_cell(self, o):
9540  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9541  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9542 
9543 
9544  def get_inverse_unit_cell(self):
9545  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9546  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9547 
9548 
9549  def get_unit_cell(self):
9550  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9551  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9552 
9553 
9554  def get_extended_index(self, o):
9555  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9556  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9557 
9558 
9559  def get_index(self, o):
9560  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9561  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9562 
9563 
9564  def get_center(self, *args):
9565  """
9566  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9567  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9568  """
9569  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9570 
9571 
9572  def get_bounding_box(self, *args):
9573  """
9574  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9575  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9576  """
9577  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9578 
9579 
9580  def show(self, *args):
9581  """
9582  show(DefaultEmbeddingKD self, _ostream out)
9583  show(DefaultEmbeddingKD self)
9584  """
9585  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9586 
9587 
9588  def __str__(self):
9589  """__str__(DefaultEmbeddingKD self) -> std::string"""
9590  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9591 
9592 
9593  def __repr__(self):
9594  """__repr__(DefaultEmbeddingKD self) -> std::string"""
9595  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9596 
9597 
9598  def __cmp__(self, arg2):
9599  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9600  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9601 
9602 
9603  def __eq__(self, arg2):
9604  """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9605  return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9606 
9607  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9608  __del__ = lambda self: None
9609 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9610 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9611 
9612 class LogEmbedding1D(object):
9613  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9614 
9615  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9616 
9617  def __init__(self, *args):
9618  """
9619  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9620  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9621  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9622  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9623  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9624  """
9625  this = _IMP_algebra.new_LogEmbedding1D(*args)
9626  try:
9627  self.this.append(this)
9628  except __builtin__.Exception:
9629  self.this = this
9630 
9631  def set_origin(self, o):
9632  """set_origin(LogEmbedding1D self, Vector1D o)"""
9633  return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9634 
9635 
9636  def get_origin(self):
9637  """get_origin(LogEmbedding1D self) -> Vector1D"""
9638  return _IMP_algebra.LogEmbedding1D_get_origin(self)
9639 
9640 
9641  def get_dimension(self):
9642  """get_dimension(LogEmbedding1D self) -> unsigned int"""
9643  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9644 
9645 
9646  def set_unit_cell(self, *args):
9647  """
9648  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9649  set_unit_cell(LogEmbedding1D self, Vector1D o)
9650  """
9651  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9652 
9653 
9654  def get_unit_cell(self):
9655  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9656  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9657 
9658 
9659  def get_extended_index(self, o):
9660  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9661  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9662 
9663 
9664  def get_index(self, o):
9665  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9666  return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9667 
9668 
9669  def get_center(self, *args):
9670  """
9671  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9672  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9673  """
9674  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9675 
9676 
9677  def get_bounding_box(self, *args):
9678  """
9679  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9680  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9681  """
9682  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9683 
9684 
9685  def show(self, *args):
9686  """
9687  show(LogEmbedding1D self, _ostream out)
9688  show(LogEmbedding1D self)
9689  """
9690  return _IMP_algebra.LogEmbedding1D_show(self, *args)
9691 
9692 
9693  def __str__(self):
9694  """__str__(LogEmbedding1D self) -> std::string"""
9695  return _IMP_algebra.LogEmbedding1D___str__(self)
9696 
9697 
9698  def __repr__(self):
9699  """__repr__(LogEmbedding1D self) -> std::string"""
9700  return _IMP_algebra.LogEmbedding1D___repr__(self)
9701 
9702 
9703  def __cmp__(self, arg2):
9704  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9705  return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9706 
9707 
9708  def __eq__(self, arg2):
9709  """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9710  return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9711 
9712  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9713  __del__ = lambda self: None
9714 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9715 LogEmbedding1D_swigregister(LogEmbedding1D)
9716 
9717 class LogEmbedding2D(object):
9718  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9719 
9720  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9721 
9722  def __init__(self, *args):
9723  """
9724  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9725  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9726  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9727  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9728  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9729  """
9730  this = _IMP_algebra.new_LogEmbedding2D(*args)
9731  try:
9732  self.this.append(this)
9733  except __builtin__.Exception:
9734  self.this = this
9735 
9736  def set_origin(self, o):
9737  """set_origin(LogEmbedding2D self, Vector2D o)"""
9738  return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9739 
9740 
9741  def get_origin(self):
9742  """get_origin(LogEmbedding2D self) -> Vector2D"""
9743  return _IMP_algebra.LogEmbedding2D_get_origin(self)
9744 
9745 
9746  def get_dimension(self):
9747  """get_dimension(LogEmbedding2D self) -> unsigned int"""
9748  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9749 
9750 
9751  def set_unit_cell(self, *args):
9752  """
9753  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9754  set_unit_cell(LogEmbedding2D self, Vector2D o)
9755  """
9756  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9757 
9758 
9759  def get_unit_cell(self):
9760  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9761  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9762 
9763 
9764  def get_extended_index(self, o):
9765  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9766  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9767 
9768 
9769  def get_index(self, o):
9770  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9771  return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9772 
9773 
9774  def get_center(self, *args):
9775  """
9776  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9777  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9778  """
9779  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9780 
9781 
9782  def get_bounding_box(self, *args):
9783  """
9784  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9785  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9786  """
9787  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9788 
9789 
9790  def show(self, *args):
9791  """
9792  show(LogEmbedding2D self, _ostream out)
9793  show(LogEmbedding2D self)
9794  """
9795  return _IMP_algebra.LogEmbedding2D_show(self, *args)
9796 
9797 
9798  def __str__(self):
9799  """__str__(LogEmbedding2D self) -> std::string"""
9800  return _IMP_algebra.LogEmbedding2D___str__(self)
9801 
9802 
9803  def __repr__(self):
9804  """__repr__(LogEmbedding2D self) -> std::string"""
9805  return _IMP_algebra.LogEmbedding2D___repr__(self)
9806 
9807 
9808  def __cmp__(self, arg2):
9809  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9810  return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9811 
9812 
9813  def __eq__(self, arg2):
9814  """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9815  return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9816 
9817  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9818  __del__ = lambda self: None
9819 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9820 LogEmbedding2D_swigregister(LogEmbedding2D)
9821 
9822 class LogEmbedding4D(object):
9823  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9824 
9825  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9826 
9827  def __init__(self, *args):
9828  """
9829  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9830  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9831  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9832  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9833  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9834  """
9835  this = _IMP_algebra.new_LogEmbedding4D(*args)
9836  try:
9837  self.this.append(this)
9838  except __builtin__.Exception:
9839  self.this = this
9840 
9841  def set_origin(self, o):
9842  """set_origin(LogEmbedding4D self, Vector4D o)"""
9843  return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9844 
9845 
9846  def get_origin(self):
9847  """get_origin(LogEmbedding4D self) -> Vector4D"""
9848  return _IMP_algebra.LogEmbedding4D_get_origin(self)
9849 
9850 
9851  def get_dimension(self):
9852  """get_dimension(LogEmbedding4D self) -> unsigned int"""
9853  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9854 
9855 
9856  def set_unit_cell(self, *args):
9857  """
9858  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9859  set_unit_cell(LogEmbedding4D self, Vector4D o)
9860  """
9861  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9862 
9863 
9864  def get_unit_cell(self):
9865  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9866  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9867 
9868 
9869  def get_extended_index(self, o):
9870  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9871  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9872 
9873 
9874  def get_index(self, o):
9875  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9876  return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9877 
9878 
9879  def get_center(self, *args):
9880  """
9881  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9882  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9883  """
9884  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9885 
9886 
9887  def get_bounding_box(self, *args):
9888  """
9889  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9890  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9891  """
9892  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9893 
9894 
9895  def show(self, *args):
9896  """
9897  show(LogEmbedding4D self, _ostream out)
9898  show(LogEmbedding4D self)
9899  """
9900  return _IMP_algebra.LogEmbedding4D_show(self, *args)
9901 
9902 
9903  def __str__(self):
9904  """__str__(LogEmbedding4D self) -> std::string"""
9905  return _IMP_algebra.LogEmbedding4D___str__(self)
9906 
9907 
9908  def __repr__(self):
9909  """__repr__(LogEmbedding4D self) -> std::string"""
9910  return _IMP_algebra.LogEmbedding4D___repr__(self)
9911 
9912 
9913  def __cmp__(self, arg2):
9914  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9915  return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9916 
9917 
9918  def __eq__(self, arg2):
9919  """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9920  return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9921 
9922  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9923  __del__ = lambda self: None
9924 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9925 LogEmbedding4D_swigregister(LogEmbedding4D)
9926 
9927 class LogEmbedding5D(object):
9928  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9929 
9930  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9931 
9932  def __init__(self, *args):
9933  """
9934  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9935  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9936  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9937  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9938  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9939  """
9940  this = _IMP_algebra.new_LogEmbedding5D(*args)
9941  try:
9942  self.this.append(this)
9943  except __builtin__.Exception:
9944  self.this = this
9945 
9946  def set_origin(self, o):
9947  """set_origin(LogEmbedding5D self, Vector5D o)"""
9948  return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9949 
9950 
9951  def get_origin(self):
9952  """get_origin(LogEmbedding5D self) -> Vector5D"""
9953  return _IMP_algebra.LogEmbedding5D_get_origin(self)
9954 
9955 
9956  def get_dimension(self):
9957  """get_dimension(LogEmbedding5D self) -> unsigned int"""
9958  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9959 
9960 
9961  def set_unit_cell(self, *args):
9962  """
9963  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9964  set_unit_cell(LogEmbedding5D self, Vector5D o)
9965  """
9966  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9967 
9968 
9969  def get_unit_cell(self):
9970  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9971  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9972 
9973 
9974  def get_extended_index(self, o):
9975  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9976  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
9977 
9978 
9979  def get_index(self, o):
9980  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
9981  return _IMP_algebra.LogEmbedding5D_get_index(self, o)
9982 
9983 
9984  def get_center(self, *args):
9985  """
9986  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9987  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
9988  """
9989  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
9990 
9991 
9992  def get_bounding_box(self, *args):
9993  """
9994  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9995  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9996  """
9997  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
9998 
9999 
10000  def show(self, *args):
10001  """
10002  show(LogEmbedding5D self, _ostream out)
10003  show(LogEmbedding5D self)
10004  """
10005  return _IMP_algebra.LogEmbedding5D_show(self, *args)
10006 
10007 
10008  def __str__(self):
10009  """__str__(LogEmbedding5D self) -> std::string"""
10010  return _IMP_algebra.LogEmbedding5D___str__(self)
10011 
10012 
10013  def __repr__(self):
10014  """__repr__(LogEmbedding5D self) -> std::string"""
10015  return _IMP_algebra.LogEmbedding5D___repr__(self)
10016 
10017 
10018  def __cmp__(self, arg2):
10019  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10020  return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10021 
10022 
10023  def __eq__(self, arg2):
10024  """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10025  return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10026 
10027  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10028  __del__ = lambda self: None
10029 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10030 LogEmbedding5D_swigregister(LogEmbedding5D)
10031 
10032 class LogEmbedding6D(object):
10033  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10034 
10035  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10036 
10037  def __init__(self, *args):
10038  """
10039  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10040  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10041  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10042  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10043  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10044  """
10045  this = _IMP_algebra.new_LogEmbedding6D(*args)
10046  try:
10047  self.this.append(this)
10048  except __builtin__.Exception:
10049  self.this = this
10050 
10051  def set_origin(self, o):
10052  """set_origin(LogEmbedding6D self, Vector6D o)"""
10053  return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10054 
10055 
10056  def get_origin(self):
10057  """get_origin(LogEmbedding6D self) -> Vector6D"""
10058  return _IMP_algebra.LogEmbedding6D_get_origin(self)
10059 
10060 
10061  def get_dimension(self):
10062  """get_dimension(LogEmbedding6D self) -> unsigned int"""
10063  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10064 
10065 
10066  def set_unit_cell(self, *args):
10067  """
10068  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10069  set_unit_cell(LogEmbedding6D self, Vector6D o)
10070  """
10071  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10072 
10073 
10074  def get_unit_cell(self):
10075  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10076  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10077 
10078 
10079  def get_extended_index(self, o):
10080  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10081  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10082 
10083 
10084  def get_index(self, o):
10085  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10086  return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10087 
10088 
10089  def get_center(self, *args):
10090  """
10091  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10092  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10093  """
10094  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10095 
10096 
10097  def get_bounding_box(self, *args):
10098  """
10099  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10100  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10101  """
10102  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10103 
10104 
10105  def show(self, *args):
10106  """
10107  show(LogEmbedding6D self, _ostream out)
10108  show(LogEmbedding6D self)
10109  """
10110  return _IMP_algebra.LogEmbedding6D_show(self, *args)
10111 
10112 
10113  def __str__(self):
10114  """__str__(LogEmbedding6D self) -> std::string"""
10115  return _IMP_algebra.LogEmbedding6D___str__(self)
10116 
10117 
10118  def __repr__(self):
10119  """__repr__(LogEmbedding6D self) -> std::string"""
10120  return _IMP_algebra.LogEmbedding6D___repr__(self)
10121 
10122 
10123  def __cmp__(self, arg2):
10124  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10125  return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10126 
10127 
10128  def __eq__(self, arg2):
10129  """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10130  return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10131 
10132  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10133  __del__ = lambda self: None
10134 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10135 LogEmbedding6D_swigregister(LogEmbedding6D)
10136 
10137 class SpherePatch3D(_GeometricPrimitive3D):
10138  """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10139 
10140  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10141 
10142  def __init__(self, *args):
10143  """
10144  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10145  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10146  """
10147  this = _IMP_algebra.new_SpherePatch3D(*args)
10148  try:
10149  self.this.append(this)
10150  except __builtin__.Exception:
10151  self.this = this
10152 
10153  def get_contains(self, p):
10154  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10155  return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10156 
10157 
10158  def get_plane(self):
10159  """get_plane(SpherePatch3D self) -> Plane3D"""
10160  return _IMP_algebra.SpherePatch3D_get_plane(self)
10161 
10162 
10163  def get_sphere(self):
10164  """get_sphere(SpherePatch3D self) -> Sphere3D"""
10165  return _IMP_algebra.SpherePatch3D_get_sphere(self)
10166 
10167 
10168  def show(self, *args):
10169  """
10170  show(SpherePatch3D self, _ostream out)
10171  show(SpherePatch3D self)
10172  """
10173  return _IMP_algebra.SpherePatch3D_show(self, *args)
10174 
10175 
10176  def get_boundary_point(self):
10177  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10178  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10179 
10180 
10181  def __str__(self):
10182  """__str__(SpherePatch3D self) -> std::string"""
10183  return _IMP_algebra.SpherePatch3D___str__(self)
10184 
10185 
10186  def __repr__(self):
10187  """__repr__(SpherePatch3D self) -> std::string"""
10188  return _IMP_algebra.SpherePatch3D___repr__(self)
10189 
10190  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10191  __del__ = lambda self: None
10192 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10193 SpherePatch3D_swigregister(SpherePatch3D)
10194 
10195 
10196 def get_area(*args):
10197  """
10198  get_area(Plane3D g) -> double
10199  get_area(SpherePatch3D g) -> double
10200  """
10201  return _IMP_algebra.get_area(*args)
10202 
10203 def get_sphere_patch_3d_geometry(g):
10204  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10205  return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10206 class Cone3D(_GeometricPrimitive3D):
10207  """Proxy of C++ IMP::algebra::Cone3D class."""
10208 
10209  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10210 
10211  def __init__(self, *args):
10212  """
10213  __init__(IMP::algebra::Cone3D self) -> Cone3D
10214  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10215  """
10216  this = _IMP_algebra.new_Cone3D(*args)
10217  try:
10218  self.this.append(this)
10219  except __builtin__.Exception:
10220  self.this = this
10221 
10222  def get_tip(self):
10223  """get_tip(Cone3D self) -> Vector3D"""
10224  return _IMP_algebra.Cone3D_get_tip(self)
10225 
10226 
10227  def get_direction(self):
10228  """get_direction(Cone3D self) -> Vector3D"""
10229  return _IMP_algebra.Cone3D_get_direction(self)
10230 
10231 
10232  def get_height(self):
10233  """get_height(Cone3D self) -> double"""
10234  return _IMP_algebra.Cone3D_get_height(self)
10235 
10236 
10237  def get_angle(self):
10238  """get_angle(Cone3D self) -> double"""
10239  return _IMP_algebra.Cone3D_get_angle(self)
10240 
10241 
10242  def get_radius(self):
10243  """get_radius(Cone3D self) -> double"""
10244  return _IMP_algebra.Cone3D_get_radius(self)
10245 
10246 
10247  def get_contains(self, v):
10248  """get_contains(Cone3D self, Vector3D v) -> bool"""
10249  return _IMP_algebra.Cone3D_get_contains(self, v)
10250 
10251 
10252  def get_base_plane(self):
10253  """get_base_plane(Cone3D self) -> Plane3D"""
10254  return _IMP_algebra.Cone3D_get_base_plane(self)
10255 
10256 
10257  def show(self, *args):
10258  """
10259  show(Cone3D self, _ostream out)
10260  show(Cone3D self)
10261  """
10262  return _IMP_algebra.Cone3D_show(self, *args)
10263 
10264 
10265  def __str__(self):
10266  """__str__(Cone3D self) -> std::string"""
10267  return _IMP_algebra.Cone3D___str__(self)
10268 
10269 
10270  def __repr__(self):
10271  """__repr__(Cone3D self) -> std::string"""
10272  return _IMP_algebra.Cone3D___repr__(self)
10273 
10274  __swig_destroy__ = _IMP_algebra.delete_Cone3D
10275  __del__ = lambda self: None
10276 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10277 Cone3D_swigregister(Cone3D)
10278 
10279 
10280 def get_surface_area(*args):
10281  """
10282  get_surface_area(BoundingBox3D g) -> double
10283  get_surface_area(Sphere3D g) -> double
10284  get_surface_area(Cylinder3D g) -> double
10285  get_surface_area(Ellipsoid3D g) -> double
10286  get_surface_area(Cone3D g) -> double
10287  """
10288  return _IMP_algebra.get_surface_area(*args)
10289 
10290 def get_volume(*args):
10291  """
10292  get_volume(BoundingBox3D g) -> double
10293  get_volume(Sphere3D g) -> double
10294  get_volume(Cylinder3D g) -> double
10295  get_volume(Ellipsoid3D g) -> double
10296  get_volume(Cone3D g) -> double
10297  """
10298  return _IMP_algebra.get_volume(*args)
10299 
10300 def get_cone_3d_geometry(g):
10301  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10302  return _IMP_algebra.get_cone_3d_geometry(g)
10303 
10304 def write_pts(vs, out):
10305  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10306  return _IMP_algebra.write_pts(vs, out)
10307 
10308 def read_pts(input):
10309  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10310  return _IMP_algebra.read_pts(input)
10311 
10312 def write_spheres(vs, out):
10313  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10314  return _IMP_algebra.write_spheres(vs, out)
10315 
10316 def read_spheres(input):
10317  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10318  return _IMP_algebra.read_spheres(input)
10319 
10321  """get_random_vector_on_unit_sphere() -> Vector3D"""
10322  return _IMP_algebra.get_random_vector_on_unit_sphere()
10323 
10324 def get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle):
10325  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10326  return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10327 
10328 def get_random_chain(*args):
10329  """
10330  get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10331  get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10332  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10333  """
10334  return _IMP_algebra.get_random_chain(*args)
10335 
10336 def reversed_read(dest, size, nitems, f, reverse):
10337  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10338  return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10339 
10340 def reversed_write(src, size, nitems, f, reverse=False):
10341  """
10342  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10343  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10344  """
10345  return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10346 
10347 def get_is_big_endian():
10348  """get_is_big_endian() -> bool"""
10349  return _IMP_algebra.get_is_big_endian()
10350 
10351 def get_is_little_endian():
10352  """get_is_little_endian() -> bool"""
10353  return _IMP_algebra.get_is_little_endian()
10354 
10355 def get_shortest_segment(*args):
10356  """
10357  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10358  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10359  """
10360  return _IMP_algebra.get_shortest_segment(*args)
10361 class DynamicNearestNeighbor3D(IMP.Object):
10362  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10363 
10364  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10365 
10366  def __init__(self, vs, query_estimate=1):
10367  """
10368  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10369  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10370  """
10371  this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10372  try:
10373  self.this.append(this)
10374  except __builtin__.Exception:
10375  self.this = this
10376 
10377  def get_in_ball(self, id, distance):
10378  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10379  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10380 
10381 
10382  def set_coordinates(self, id, nc):
10383  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10384  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10385 
10386 
10387  def get_version_info(self):
10388  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10389  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10390 
10391 
10392  def __str__(self):
10393  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10394  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10395 
10396 
10397  def __repr__(self):
10398  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10399  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10400 
10401 
10402  @staticmethod
10403  def get_from(o):
10404  return _object_cast_to_DynamicNearestNeighbor3D(o)
10405 
10406 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10407 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10408 
10409 class VectorKDMetric(IMP.Object):
10410  """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10411 
10412  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10413 
10414  def __init__(self, name):
10415  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10416  if self.__class__ == VectorKDMetric:
10417  _self = None
10418  else:
10419  _self = self
10420  this = _IMP_algebra.new_VectorKDMetric(_self, name)
10421  try:
10422  self.this.append(this)
10423  except __builtin__.Exception:
10424  self.this = this
10425 
10426  if self.__class__ != VectorKDMetric:
10427  _director_objects.register(self)
10428 
10429 
10430 
10431 
10432  def get_distance(self, a, b):
10433  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10434  return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10435 
10436 
10437  def get_centroid(self, vs):
10438  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10439  return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10440 
10441 
10442  def __str__(self):
10443  """__str__(VectorKDMetric self) -> std::string"""
10444  return _IMP_algebra.VectorKDMetric___str__(self)
10445 
10446 
10447  def __repr__(self):
10448  """__repr__(VectorKDMetric self) -> std::string"""
10449  return _IMP_algebra.VectorKDMetric___repr__(self)
10450 
10451 
10452  @staticmethod
10453  def get_from(o):
10454  return _object_cast_to_VectorKDMetric(o)
10455 
10456 
10457  def get_type_name(self):
10458  return self.__class__.__name__
10459  def do_show(self, out):
10460  pass
10461  def get_version_info(self):
10462  if"IMP::algebra" == "IMP":
10463  return VersionInfo(self.__module__,
10464  __import__(self.__module__).get_module_version())
10465  else:
10466  return IMP.VersionInfo(self.__module__,
10467  __import__(self.__module__).get_module_version())
10468  @staticmethod
10469  def get_from(o):
10470  return _object_cast_to_VectorKDMetric(o)
10471 
10472  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10473  __del__ = lambda self: None
10474  def __disown__(self):
10475  self.this.disown()
10476  _IMP_algebra.disown_VectorKDMetric(self)
10477  return weakref_proxy(self)
10478 
10479  def do_destroy(self):
10480  """do_destroy(VectorKDMetric self)"""
10481  return _IMP_algebra.VectorKDMetric_do_destroy(self)
10482 
10483 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10484 VectorKDMetric_swigregister(VectorKDMetric)
10485 
10486 class EuclideanVectorKDMetric(VectorKDMetric):
10487  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10488 
10489  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10490 
10491  def __init__(self, *args):
10492  """
10493  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10494  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10495  """
10496  this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10497  try:
10498  self.this.append(this)
10499  except __builtin__.Exception:
10500  self.this = this
10501 
10502  def get_version_info(self):
10503  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10504  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10505 
10506 
10507  def __str__(self):
10508  """__str__(EuclideanVectorKDMetric self) -> std::string"""
10509  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10510 
10511 
10512  def __repr__(self):
10513  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10514  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10515 
10516 
10517  @staticmethod
10518  def get_from(o):
10519  return _object_cast_to_EuclideanVectorKDMetric(o)
10520 
10521 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10522 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10523 
10524 class MaxVectorKDMetric(VectorKDMetric):
10525  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10526 
10527  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10528 
10529  def __init__(self, *args):
10530  """
10531  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10532  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10533  """
10534  this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10535  try:
10536  self.this.append(this)
10537  except __builtin__.Exception:
10538  self.this = this
10539 
10540  def get_version_info(self):
10541  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10542  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10543 
10544 
10545  def __str__(self):
10546  """__str__(MaxVectorKDMetric self) -> std::string"""
10547  return _IMP_algebra.MaxVectorKDMetric___str__(self)
10548 
10549 
10550  def __repr__(self):
10551  """__repr__(MaxVectorKDMetric self) -> std::string"""
10552  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10553 
10554 
10555  @staticmethod
10556  def get_from(o):
10557  return _object_cast_to_MaxVectorKDMetric(o)
10558 
10559 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10560 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10561 
10562 class Gaussian3D(_GeometricPrimitive3D):
10563  """Proxy of C++ IMP::algebra::Gaussian3D class."""
10564 
10565  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10566 
10567  def __init__(self, *args):
10568  """
10569  __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10570  __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10571  """
10572  this = _IMP_algebra.new_Gaussian3D(*args)
10573  try:
10574  self.this.append(this)
10575  except __builtin__.Exception:
10576  self.this = this
10577 
10578  def get_reference_frame(self):
10579  """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10580  return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10581 
10582 
10583  def get_variances(self):
10584  """get_variances(Gaussian3D self) -> Vector3D"""
10585  return _IMP_algebra.Gaussian3D_get_variances(self)
10586 
10587 
10588  def get_center(self):
10589  """get_center(Gaussian3D self) -> Vector3D"""
10590  return _IMP_algebra.Gaussian3D_get_center(self)
10591 
10592 
10593  def show(self, *args):
10594  """
10595  show(Gaussian3D self, _ostream out)
10596  show(Gaussian3D self)
10597  """
10598  return _IMP_algebra.Gaussian3D_show(self, *args)
10599 
10600 
10601  def __str__(self):
10602  """__str__(Gaussian3D self) -> std::string"""
10603  return _IMP_algebra.Gaussian3D___str__(self)
10604 
10605 
10606  def __repr__(self):
10607  """__repr__(Gaussian3D self) -> std::string"""
10608  return _IMP_algebra.Gaussian3D___repr__(self)
10609 
10610  __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10611  __del__ = lambda self: None
10612 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10613 Gaussian3D_swigregister(Gaussian3D)
10614 
10615 
10616 def get_covariance(g):
10617  """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
10618  return _IMP_algebra.get_covariance(g)
10619 
10620 def get_gaussian_from_covariance(covariance, center):
10621  """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10622  return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10623 
10624 def get_rasterized(gmm, weights, cell_width, bb):
10625  """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10626  return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10627 
10628 def get_rasterized_fast(gmm, weights, cell_width, bb, factor=2.5):
10629  """
10630  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10631  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10632  """
10633  return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10634 
10635 def _pass_matrix_xf(m):
10636  """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
10637  return _IMP_algebra._pass_matrix_xf(m)
10638 
10639 def _pass_matrix_xd(m):
10640  """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
10641  return _IMP_algebra._pass_matrix_xd(m)
10642 
10643 def _pass_matrix_3d(m):
10644  """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
10645  return _IMP_algebra._pass_matrix_3d(m)
10646 
10647 def _pass_array_xd(m):
10648  """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
10649  return _IMP_algebra._pass_array_xd(m)
10650 
10651 def _pass_vector_xd(m):
10652  """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
10653  return _IMP_algebra._pass_vector_xd(m)
10654 class NearestNeighbor1D(IMP.Object):
10655  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10656 
10657  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10658 
10659  def __init__(self, vs, epsilon=0):
10660  """
10661  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10662  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10663  """
10664  this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10665  try:
10666  self.this.append(this)
10667  except __builtin__.Exception:
10668  self.this = this
10669 
10670  def set_query_log(self, fname):
10671  """set_query_log(NearestNeighbor1D self, std::string fname)"""
10672  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10673 
10674 
10675  def get_nearest_neighbor(self, *args):
10676  """
10677  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10678  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10679  """
10680  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10681 
10682 
10683  def get_nearest_neighbors(self, *args):
10684  """
10685  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10686  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10687  """
10688  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10689 
10690 
10691  def get_in_ball(self, *args):
10692  """
10693  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10694  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10695  """
10696  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10697 
10698 
10699  def get_version_info(self):
10700  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10701  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10702 
10703 
10704  def __str__(self):
10705  """__str__(NearestNeighbor1D self) -> std::string"""
10706  return _IMP_algebra.NearestNeighbor1D___str__(self)
10707 
10708 
10709  def __repr__(self):
10710  """__repr__(NearestNeighbor1D self) -> std::string"""
10711  return _IMP_algebra.NearestNeighbor1D___repr__(self)
10712 
10713 
10714  @staticmethod
10715  def get_from(o):
10716  return _object_cast_to_NearestNeighborD(o)
10717 
10718 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10719 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10720 
10721 class NearestNeighbor2D(IMP.Object):
10722  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10723 
10724  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10725 
10726  def __init__(self, vs, epsilon=0):
10727  """
10728  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10729  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10730  """
10731  this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10732  try:
10733  self.this.append(this)
10734  except __builtin__.Exception:
10735  self.this = this
10736 
10737  def set_query_log(self, fname):
10738  """set_query_log(NearestNeighbor2D self, std::string fname)"""
10739  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10740 
10741 
10742  def get_nearest_neighbor(self, *args):
10743  """
10744  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10745  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10746  """
10747  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10748 
10749 
10750  def get_nearest_neighbors(self, *args):
10751  """
10752  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10753  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10754  """
10755  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10756 
10757 
10758  def get_in_ball(self, *args):
10759  """
10760  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10761  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10762  """
10763  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10764 
10765 
10766  def get_version_info(self):
10767  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10768  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10769 
10770 
10771  def __str__(self):
10772  """__str__(NearestNeighbor2D self) -> std::string"""
10773  return _IMP_algebra.NearestNeighbor2D___str__(self)
10774 
10775 
10776  def __repr__(self):
10777  """__repr__(NearestNeighbor2D self) -> std::string"""
10778  return _IMP_algebra.NearestNeighbor2D___repr__(self)
10779 
10780 
10781  @staticmethod
10782  def get_from(o):
10783  return _object_cast_to_NearestNeighborD(o)
10784 
10785 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10786 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10787 
10788 class NearestNeighbor3D(IMP.Object):
10789  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10790 
10791  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10792 
10793  def __init__(self, vs, epsilon=0):
10794  """
10795  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10796  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10797  """
10798  this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10799  try:
10800  self.this.append(this)
10801  except __builtin__.Exception:
10802  self.this = this
10803 
10804  def set_query_log(self, fname):
10805  """set_query_log(NearestNeighbor3D self, std::string fname)"""
10806  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10807 
10808 
10809  def get_nearest_neighbor(self, *args):
10810  """
10811  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10812  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10813  """
10814  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10815 
10816 
10817  def get_nearest_neighbors(self, *args):
10818  """
10819  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10820  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10821  """
10822  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10823 
10824 
10825  def get_in_ball(self, *args):
10826  """
10827  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10828  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10829  """
10830  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10831 
10832 
10833  def get_version_info(self):
10834  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10835  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10836 
10837 
10838  def __str__(self):
10839  """__str__(NearestNeighbor3D self) -> std::string"""
10840  return _IMP_algebra.NearestNeighbor3D___str__(self)
10841 
10842 
10843  def __repr__(self):
10844  """__repr__(NearestNeighbor3D self) -> std::string"""
10845  return _IMP_algebra.NearestNeighbor3D___repr__(self)
10846 
10847 
10848  @staticmethod
10849  def get_from(o):
10850  return _object_cast_to_NearestNeighborD(o)
10851 
10852 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10853 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10854 
10855 class NearestNeighbor4D(IMP.Object):
10856  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10857 
10858  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10859 
10860  def __init__(self, vs, epsilon=0):
10861  """
10862  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10863  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10864  """
10865  this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10866  try:
10867  self.this.append(this)
10868  except __builtin__.Exception:
10869  self.this = this
10870 
10871  def set_query_log(self, fname):
10872  """set_query_log(NearestNeighbor4D self, std::string fname)"""
10873  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10874 
10875 
10876  def get_nearest_neighbor(self, *args):
10877  """
10878  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10879  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10880  """
10881  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10882 
10883 
10884  def get_nearest_neighbors(self, *args):
10885  """
10886  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10887  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10888  """
10889  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10890 
10891 
10892  def get_in_ball(self, *args):
10893  """
10894  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10895  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10896  """
10897  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10898 
10899 
10900  def get_version_info(self):
10901  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10902  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10903 
10904 
10905  def __str__(self):
10906  """__str__(NearestNeighbor4D self) -> std::string"""
10907  return _IMP_algebra.NearestNeighbor4D___str__(self)
10908 
10909 
10910  def __repr__(self):
10911  """__repr__(NearestNeighbor4D self) -> std::string"""
10912  return _IMP_algebra.NearestNeighbor4D___repr__(self)
10913 
10914 
10915  @staticmethod
10916  def get_from(o):
10917  return _object_cast_to_NearestNeighborD(o)
10918 
10919 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10920 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10921 
10922 class NearestNeighbor5D(IMP.Object):
10923  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10924 
10925  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10926 
10927  def __init__(self, vs, epsilon=0):
10928  """
10929  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10930  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10931  """
10932  this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10933  try:
10934  self.this.append(this)
10935  except __builtin__.Exception:
10936  self.this = this
10937 
10938  def set_query_log(self, fname):
10939  """set_query_log(NearestNeighbor5D self, std::string fname)"""
10940  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10941 
10942 
10943  def get_nearest_neighbor(self, *args):
10944  """
10945  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10946  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10947  """
10948  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10949 
10950 
10951  def get_nearest_neighbors(self, *args):
10952  """
10953  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10954  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10955  """
10956  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10957 
10958 
10959  def get_in_ball(self, *args):
10960  """
10961  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10962  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10963  """
10964  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10965 
10966 
10967  def get_version_info(self):
10968  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10969  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10970 
10971 
10972  def __str__(self):
10973  """__str__(NearestNeighbor5D self) -> std::string"""
10974  return _IMP_algebra.NearestNeighbor5D___str__(self)
10975 
10976 
10977  def __repr__(self):
10978  """__repr__(NearestNeighbor5D self) -> std::string"""
10979  return _IMP_algebra.NearestNeighbor5D___repr__(self)
10980 
10981 
10982  @staticmethod
10983  def get_from(o):
10984  return _object_cast_to_NearestNeighborD(o)
10985 
10986 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
10987 NearestNeighbor5D_swigregister(NearestNeighbor5D)
10988 
10989 class NearestNeighbor6D(IMP.Object):
10990  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
10991 
10992  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10993 
10994  def __init__(self, vs, epsilon=0):
10995  """
10996  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
10997  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
10998  """
10999  this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11000  try:
11001  self.this.append(this)
11002  except __builtin__.Exception:
11003  self.this = this
11004 
11005  def set_query_log(self, fname):
11006  """set_query_log(NearestNeighbor6D self, std::string fname)"""
11007  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11008 
11009 
11010  def get_nearest_neighbor(self, *args):
11011  """
11012  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11013  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11014  """
11015  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11016 
11017 
11018  def get_nearest_neighbors(self, *args):
11019  """
11020  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11021  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11022  """
11023  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11024 
11025 
11026  def get_in_ball(self, *args):
11027  """
11028  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11029  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11030  """
11031  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11032 
11033 
11034  def get_version_info(self):
11035  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11036  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11037 
11038 
11039  def __str__(self):
11040  """__str__(NearestNeighbor6D self) -> std::string"""
11041  return _IMP_algebra.NearestNeighbor6D___str__(self)
11042 
11043 
11044  def __repr__(self):
11045  """__repr__(NearestNeighbor6D self) -> std::string"""
11046  return _IMP_algebra.NearestNeighbor6D___repr__(self)
11047 
11048 
11049  @staticmethod
11050  def get_from(o):
11051  return _object_cast_to_NearestNeighborD(o)
11052 
11053 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11054 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11055 
11056 class NearestNeighborKD(IMP.Object):
11057  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11058 
11059  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11060 
11061  def __init__(self, vs, epsilon=0):
11062  """
11063  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11064  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11065  """
11066  this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11067  try:
11068  self.this.append(this)
11069  except __builtin__.Exception:
11070  self.this = this
11071 
11072  def set_query_log(self, fname):
11073  """set_query_log(NearestNeighborKD self, std::string fname)"""
11074  return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11075 
11076 
11077  def get_nearest_neighbor(self, *args):
11078  """
11079  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11080  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11081  """
11082  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11083 
11084 
11085  def get_nearest_neighbors(self, *args):
11086  """
11087  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11088  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11089  """
11090  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11091 
11092 
11093  def get_in_ball(self, *args):
11094  """
11095  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11096  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11097  """
11098  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11099 
11100 
11101  def get_version_info(self):
11102  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11103  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11104 
11105 
11106  def __str__(self):
11107  """__str__(NearestNeighborKD self) -> std::string"""
11108  return _IMP_algebra.NearestNeighborKD___str__(self)
11109 
11110 
11111  def __repr__(self):
11112  """__repr__(NearestNeighborKD self) -> std::string"""
11113  return _IMP_algebra.NearestNeighborKD___repr__(self)
11114 
11115 
11116  @staticmethod
11117  def get_from(o):
11118  return _object_cast_to_NearestNeighborD(o)
11119 
11120 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11121 NearestNeighborKD_swigregister(NearestNeighborKD)
11122 
11123 
11124 def get_transformation_aligning_pair(set_from, set_to):
11125  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11126  return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11127 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11128  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11129 
11130  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11131 
11132  def __init__(self, *args):
11133  """
11134  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11135  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11136  """
11137  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11138  try:
11139  self.this.append(this)
11140  except __builtin__.Exception:
11141  self.this = this
11142 
11143  def get_principal_components(self):
11144  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11145  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11146 
11147 
11148  def get_principal_component(self, i):
11149  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11150  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11151 
11152 
11153  def get_principal_values(self):
11154  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11155  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11156 
11157 
11158  def get_principal_value(self, i):
11159  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11160  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11161 
11162 
11163  def get_centroid(self):
11164  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11165  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11166 
11167 
11168  def set_centroid(self, cntr):
11169  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11170  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11171 
11172 
11173  def show(self, *args):
11174  """
11175  show(PrincipalComponentAnalysis1D self, _ostream out)
11176  show(PrincipalComponentAnalysis1D self)
11177  """
11178  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11179 
11180 
11181  def __cmp__(self, o):
11182  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11183  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11184 
11185 
11186  def __eq__(self, o):
11187  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11188  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11189 
11190 
11191  def __ne__(self, o):
11192  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11193  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11194 
11195 
11196  def __lt__(self, o):
11197  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11198  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11199 
11200 
11201  def __gt__(self, o):
11202  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11203  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11204 
11205 
11206  def __ge__(self, o):
11207  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11208  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11209 
11210 
11211  def __le__(self, o):
11212  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11213  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11214 
11215 
11216  def __str__(self):
11217  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11218  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11219 
11220 
11221  def __repr__(self):
11222  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11223  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11224 
11225  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11226  __del__ = lambda self: None
11227 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11228 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11229 
11230 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11231  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11232 
11233  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11234 
11235  def __init__(self, *args):
11236  """
11237  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11238  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11239  """
11240  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11241  try:
11242  self.this.append(this)
11243  except __builtin__.Exception:
11244  self.this = this
11245 
11246  def get_principal_components(self):
11247  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11248  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11249 
11250 
11251  def get_principal_component(self, i):
11252  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11253  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11254 
11255 
11256  def get_principal_values(self):
11257  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11258  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11259 
11260 
11261  def get_principal_value(self, i):
11262  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11263  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11264 
11265 
11266  def get_centroid(self):
11267  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11268  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11269 
11270 
11271  def set_centroid(self, cntr):
11272  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11273  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11274 
11275 
11276  def show(self, *args):
11277  """
11278  show(PrincipalComponentAnalysis2D self, _ostream out)
11279  show(PrincipalComponentAnalysis2D self)
11280  """
11281  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11282 
11283 
11284  def __cmp__(self, o):
11285  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11286  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11287 
11288 
11289  def __eq__(self, o):
11290  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11291  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11292 
11293 
11294  def __ne__(self, o):
11295  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11296  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11297 
11298 
11299  def __lt__(self, o):
11300  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11301  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11302 
11303 
11304  def __gt__(self, o):
11305  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11306  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11307 
11308 
11309  def __ge__(self, o):
11310  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11311  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11312 
11313 
11314  def __le__(self, o):
11315  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11316  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11317 
11318 
11319  def __str__(self):
11320  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11321  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11322 
11323 
11324  def __repr__(self):
11325  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11326  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11327 
11328  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11329  __del__ = lambda self: None
11330 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11331 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11332 
11333 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11334  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11335 
11336  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11337 
11338  def __init__(self, *args):
11339  """
11340  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11341  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11342  """
11343  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11344  try:
11345  self.this.append(this)
11346  except __builtin__.Exception:
11347  self.this = this
11348 
11349  def get_principal_components(self):
11350  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11351  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11352 
11353 
11354  def get_principal_component(self, i):
11355  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11356  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11357 
11358 
11359  def get_principal_values(self):
11360  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11361  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11362 
11363 
11364  def get_principal_value(self, i):
11365  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11366  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11367 
11368 
11369  def get_centroid(self):
11370  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11371  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11372 
11373 
11374  def set_centroid(self, cntr):
11375  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11376  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11377 
11378 
11379  def show(self, *args):
11380  """
11381  show(PrincipalComponentAnalysis3D self, _ostream out)
11382  show(PrincipalComponentAnalysis3D self)
11383  """
11384  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11385 
11386 
11387  def __cmp__(self, o):
11388  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11389  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11390 
11391 
11392  def __eq__(self, o):
11393  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11394  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11395 
11396 
11397  def __ne__(self, o):
11398  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11399  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11400 
11401 
11402  def __lt__(self, o):
11403  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11404  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11405 
11406 
11407  def __gt__(self, o):
11408  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11409  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11410 
11411 
11412  def __ge__(self, o):
11413  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11414  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11415 
11416 
11417  def __le__(self, o):
11418  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11419  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11420 
11421 
11422  def __str__(self):
11423  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11424  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11425 
11426 
11427  def __repr__(self):
11428  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11429  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11430 
11431  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11432  __del__ = lambda self: None
11433 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11434 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11435 
11436 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11437  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11438 
11439  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11440 
11441  def __init__(self, *args):
11442  """
11443  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11444  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11445  """
11446  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11447  try:
11448  self.this.append(this)
11449  except __builtin__.Exception:
11450  self.this = this
11451 
11452  def get_principal_components(self):
11453  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11454  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11455 
11456 
11457  def get_principal_component(self, i):
11458  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11459  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11460 
11461 
11462  def get_principal_values(self):
11463  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11464  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11465 
11466 
11467  def get_principal_value(self, i):
11468  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11469  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11470 
11471 
11472  def get_centroid(self):
11473  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11474  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11475 
11476 
11477  def set_centroid(self, cntr):
11478  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11479  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11480 
11481 
11482  def show(self, *args):
11483  """
11484  show(PrincipalComponentAnalysis4D self, _ostream out)
11485  show(PrincipalComponentAnalysis4D self)
11486  """
11487  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11488 
11489 
11490  def __cmp__(self, o):
11491  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11492  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11493 
11494 
11495  def __eq__(self, o):
11496  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11497  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11498 
11499 
11500  def __ne__(self, o):
11501  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11502  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11503 
11504 
11505  def __lt__(self, o):
11506  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11507  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11508 
11509 
11510  def __gt__(self, o):
11511  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11512  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11513 
11514 
11515  def __ge__(self, o):
11516  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11517  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11518 
11519 
11520  def __le__(self, o):
11521  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11522  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11523 
11524 
11525  def __str__(self):
11526  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11527  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11528 
11529 
11530  def __repr__(self):
11531  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11532  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11533 
11534  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11535  __del__ = lambda self: None
11536 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11537 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11538 
11539 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11540  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11541 
11542  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11543 
11544  def __init__(self, *args):
11545  """
11546  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11547  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11548  """
11549  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11550  try:
11551  self.this.append(this)
11552  except __builtin__.Exception:
11553  self.this = this
11554 
11555  def get_principal_components(self):
11556  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11557  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11558 
11559 
11560  def get_principal_component(self, i):
11561  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11562  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11563 
11564 
11565  def get_principal_values(self):
11566  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11567  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11568 
11569 
11570  def get_principal_value(self, i):
11571  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11572  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11573 
11574 
11575  def get_centroid(self):
11576  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11577  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11578 
11579 
11580  def set_centroid(self, cntr):
11581  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11582  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11583 
11584 
11585  def show(self, *args):
11586  """
11587  show(PrincipalComponentAnalysis5D self, _ostream out)
11588  show(PrincipalComponentAnalysis5D self)
11589  """
11590  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11591 
11592 
11593  def __cmp__(self, o):
11594  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11595  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11596 
11597 
11598  def __eq__(self, o):
11599  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11600  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11601 
11602 
11603  def __ne__(self, o):
11604  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11605  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11606 
11607 
11608  def __lt__(self, o):
11609  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11610  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11611 
11612 
11613  def __gt__(self, o):
11614  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11615  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11616 
11617 
11618  def __ge__(self, o):
11619  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11620  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11621 
11622 
11623  def __le__(self, o):
11624  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11625  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11626 
11627 
11628  def __str__(self):
11629  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11630  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11631 
11632 
11633  def __repr__(self):
11634  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11635  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11636 
11637  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11638  __del__ = lambda self: None
11639 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11640 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11641 
11642 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11643  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11644 
11645  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11646 
11647  def __init__(self, *args):
11648  """
11649  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11650  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11651  """
11652  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11653  try:
11654  self.this.append(this)
11655  except __builtin__.Exception:
11656  self.this = this
11657 
11658  def get_principal_components(self):
11659  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11660  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11661 
11662 
11663  def get_principal_component(self, i):
11664  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11665  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11666 
11667 
11668  def get_principal_values(self):
11669  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11670  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11671 
11672 
11673  def get_principal_value(self, i):
11674  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11675  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11676 
11677 
11678  def get_centroid(self):
11679  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11680  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11681 
11682 
11683  def set_centroid(self, cntr):
11684  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11685  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11686 
11687 
11688  def show(self, *args):
11689  """
11690  show(PrincipalComponentAnalysis6D self, _ostream out)
11691  show(PrincipalComponentAnalysis6D self)
11692  """
11693  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11694 
11695 
11696  def __cmp__(self, o):
11697  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11698  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11699 
11700 
11701  def __eq__(self, o):
11702  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11703  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11704 
11705 
11706  def __ne__(self, o):
11707  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11708  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11709 
11710 
11711  def __lt__(self, o):
11712  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11713  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11714 
11715 
11716  def __gt__(self, o):
11717  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11718  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11719 
11720 
11721  def __ge__(self, o):
11722  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11723  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11724 
11725 
11726  def __le__(self, o):
11727  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11728  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11729 
11730 
11731  def __str__(self):
11732  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11733  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11734 
11735 
11736  def __repr__(self):
11737  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11738  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11739 
11740  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11741  __del__ = lambda self: None
11742 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11743 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11744 
11745 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11746  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11747 
11748  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11749 
11750  def __init__(self, *args):
11751  """
11752  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11753  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11754  """
11755  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11756  try:
11757  self.this.append(this)
11758  except __builtin__.Exception:
11759  self.this = this
11760 
11761  def get_principal_components(self):
11762  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11763  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11764 
11765 
11766  def get_principal_component(self, i):
11767  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11768  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11769 
11770 
11771  def get_principal_values(self):
11772  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11773  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11774 
11775 
11776  def get_principal_value(self, i):
11777  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11778  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11779 
11780 
11781  def get_centroid(self):
11782  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11783  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11784 
11785 
11786  def set_centroid(self, cntr):
11787  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11788  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11789 
11790 
11791  def show(self, *args):
11792  """
11793  show(PrincipalComponentAnalysisKD self, _ostream out)
11794  show(PrincipalComponentAnalysisKD self)
11795  """
11796  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11797 
11798 
11799  def __cmp__(self, o):
11800  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11801  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11802 
11803 
11804  def __eq__(self, o):
11805  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11806  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11807 
11808 
11809  def __ne__(self, o):
11810  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11811  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11812 
11813 
11814  def __lt__(self, o):
11815  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11816  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11817 
11818 
11819  def __gt__(self, o):
11820  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11821  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11822 
11823 
11824  def __ge__(self, o):
11825  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11826  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11827 
11828 
11829  def __le__(self, o):
11830  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11831  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11832 
11833 
11834  def __str__(self):
11835  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11836  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11837 
11838 
11839  def __repr__(self):
11840  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11841  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11842 
11843  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11844  __del__ = lambda self: None
11845 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11846 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11847 
11848 
11849 def get_principal_components(*args):
11850  """
11851  get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11852  get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11853  get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11854  get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11855  get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11856  get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11857  get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11858  """
11859  return _IMP_algebra.get_principal_components(*args)
11860 
11861 def get_vertices(*args):
11862  """
11863  get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11864  get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11865  get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11866  get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11867  get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11868  get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11869  get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11870  """
11871  return _IMP_algebra.get_vertices(*args)
11872 
11873 def get_distance(*args):
11874  """
11875  get_distance(Rotation3D r0, Rotation3D r1) -> double
11876  get_distance(Line3D s, Vector3D p) -> double
11877  get_distance(Line3D a, Line3D b) -> double
11878  get_distance(Segment3D s, Vector3D p) -> double
11879  get_distance(Segment3D a, Segment3D b) -> double
11880  get_distance(Plane3D pln, Vector3D p) -> double
11881  get_distance(Vector1D a, Vector1D b) -> double
11882  get_distance(Vector2D a, Vector2D b) -> double
11883  get_distance(Vector3D a, Vector3D b) -> double
11884  get_distance(Vector4D a, Vector4D b) -> double
11885  get_distance(Vector5D a, Vector5D b) -> double
11886  get_distance(Vector6D a, Vector6D b) -> double
11887  get_distance(VectorKD a, VectorKD b) -> double
11888  get_distance(Sphere1D a, Sphere1D b) -> double
11889  get_distance(Sphere2D a, Sphere2D b) -> double
11890  get_distance(Sphere3D a, Sphere3D b) -> double
11891  get_distance(Sphere4D a, Sphere4D b) -> double
11892  get_distance(Sphere5D a, Sphere5D b) -> double
11893  get_distance(Sphere6D a, Sphere6D b) -> double
11894  get_distance(SphereKD a, SphereKD b) -> double
11895  """
11896  return _IMP_algebra.get_distance(*args)
11897 
11898 def get_squared_distance(*args):
11899  """
11900  get_squared_distance(Vector1D a, Vector1D b) -> double
11901  get_squared_distance(Vector2D a, Vector2D b) -> double
11902  get_squared_distance(Vector3D a, Vector3D b) -> double
11903  get_squared_distance(Vector4D a, Vector4D b) -> double
11904  get_squared_distance(Vector5D a, Vector5D b) -> double
11905  get_squared_distance(Vector6D a, Vector6D b) -> double
11906  get_squared_distance(VectorKD a, VectorKD b) -> double
11907  """
11908  return _IMP_algebra.get_squared_distance(*args)
11909 
11910 def get_basis_vector_1d(coordinate):
11911  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11912  return _IMP_algebra.get_basis_vector_1d(coordinate)
11913 
11914 def get_basis_vector_2d(coordinate):
11915  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11916  return _IMP_algebra.get_basis_vector_2d(coordinate)
11917 
11918 def get_basis_vector_3d(coordinate):
11919  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11920  return _IMP_algebra.get_basis_vector_3d(coordinate)
11921 
11922 def get_basis_vector_4d(coordinate):
11923  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11924  return _IMP_algebra.get_basis_vector_4d(coordinate)
11925 
11926 def get_basis_vector_5d(coordinate):
11927  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11928  return _IMP_algebra.get_basis_vector_5d(coordinate)
11929 
11930 def get_basis_vector_6d(coordinate):
11931  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11932  return _IMP_algebra.get_basis_vector_6d(coordinate)
11933 
11934 def get_zero_vector_1d():
11935  """get_zero_vector_1d() -> Vector1D"""
11936  return _IMP_algebra.get_zero_vector_1d()
11937 
11938 def get_zero_vector_2d():
11939  """get_zero_vector_2d() -> Vector2D"""
11940  return _IMP_algebra.get_zero_vector_2d()
11941 
11942 def get_zero_vector_3d():
11943  """get_zero_vector_3d() -> Vector3D"""
11944  return _IMP_algebra.get_zero_vector_3d()
11945 
11946 def get_zero_vector_4d():
11947  """get_zero_vector_4d() -> Vector4D"""
11948  return _IMP_algebra.get_zero_vector_4d()
11949 
11950 def get_zero_vector_5d():
11951  """get_zero_vector_5d() -> Vector5D"""
11952  return _IMP_algebra.get_zero_vector_5d()
11953 
11954 def get_zero_vector_6d():
11955  """get_zero_vector_6d() -> Vector6D"""
11956  return _IMP_algebra.get_zero_vector_6d()
11957 
11958 def get_ones_vector_1d(v=1):
11959  """
11960  get_ones_vector_1d(double v=1) -> Vector1D
11961  get_ones_vector_1d() -> Vector1D
11962  """
11963  return _IMP_algebra.get_ones_vector_1d(v)
11964 
11965 def get_ones_vector_2d(v=1):
11966  """
11967  get_ones_vector_2d(double v=1) -> Vector2D
11968  get_ones_vector_2d() -> Vector2D
11969  """
11970  return _IMP_algebra.get_ones_vector_2d(v)
11971 
11972 def get_ones_vector_3d(v=1):
11973  """
11974  get_ones_vector_3d(double v=1) -> Vector3D
11975  get_ones_vector_3d() -> Vector3D
11976  """
11977  return _IMP_algebra.get_ones_vector_3d(v)
11978 
11979 def get_ones_vector_4d(v=1):
11980  """
11981  get_ones_vector_4d(double v=1) -> Vector4D
11982  get_ones_vector_4d() -> Vector4D
11983  """
11984  return _IMP_algebra.get_ones_vector_4d(v)
11985 
11986 def get_ones_vector_5d(v=1):
11987  """
11988  get_ones_vector_5d(double v=1) -> Vector5D
11989  get_ones_vector_5d() -> Vector5D
11990  """
11991  return _IMP_algebra.get_ones_vector_5d(v)
11992 
11993 def get_ones_vector_6d(v=1):
11994  """
11995  get_ones_vector_6d(double v=1) -> Vector6D
11996  get_ones_vector_6d() -> Vector6D
11997  """
11998  return _IMP_algebra.get_ones_vector_6d(v)
11999 
12000 def get_unit_bounding_box_1d():
12001  """get_unit_bounding_box_1d() -> BoundingBox1D"""
12002  return _IMP_algebra.get_unit_bounding_box_1d()
12003 
12004 def get_unit_bounding_box_2d():
12005  """get_unit_bounding_box_2d() -> BoundingBox2D"""
12006  return _IMP_algebra.get_unit_bounding_box_2d()
12007 
12008 def get_unit_bounding_box_3d():
12009  """get_unit_bounding_box_3d() -> BoundingBox3D"""
12010  return _IMP_algebra.get_unit_bounding_box_3d()
12011 
12012 def get_unit_bounding_box_4d():
12013  """get_unit_bounding_box_4d() -> BoundingBox4D"""
12014  return _IMP_algebra.get_unit_bounding_box_4d()
12015 
12016 def get_unit_bounding_box_5d():
12017  """get_unit_bounding_box_5d() -> BoundingBox5D"""
12018  return _IMP_algebra.get_unit_bounding_box_5d()
12019 
12020 def get_unit_bounding_box_6d():
12021  """get_unit_bounding_box_6d() -> BoundingBox6D"""
12022  return _IMP_algebra.get_unit_bounding_box_6d()
12023 
12024 def get_cube_1d(radius):
12025  """get_cube_1d(double radius) -> BoundingBox1D"""
12026  return _IMP_algebra.get_cube_1d(radius)
12027 
12028 def get_cube_2d(radius):
12029  """get_cube_2d(double radius) -> BoundingBox2D"""
12030  return _IMP_algebra.get_cube_2d(radius)
12031 
12032 def get_cube_3d(radius):
12033  """get_cube_3d(double radius) -> BoundingBox3D"""
12034  return _IMP_algebra.get_cube_3d(radius)
12035 
12036 def get_cube_4d(radius):
12037  """get_cube_4d(double radius) -> BoundingBox4D"""
12038  return _IMP_algebra.get_cube_4d(radius)
12039 
12040 def get_cube_5d(radius):
12041  """get_cube_5d(double radius) -> BoundingBox5D"""
12042  return _IMP_algebra.get_cube_5d(radius)
12043 
12044 def get_cube_6d(radius):
12045  """get_cube_6d(double radius) -> BoundingBox6D"""
12046  return _IMP_algebra.get_cube_6d(radius)
12047 
12048 def get_unit_sphere_1d():
12049  """get_unit_sphere_1d() -> Sphere1D"""
12050  return _IMP_algebra.get_unit_sphere_1d()
12051 
12052 def get_unit_sphere_2d():
12053  """get_unit_sphere_2d() -> Sphere2D"""
12054  return _IMP_algebra.get_unit_sphere_2d()
12055 
12056 def get_unit_sphere_3d():
12057  """get_unit_sphere_3d() -> Sphere3D"""
12058  return _IMP_algebra.get_unit_sphere_3d()
12059 
12060 def get_unit_sphere_4d():
12061  """get_unit_sphere_4d() -> Sphere4D"""
12062  return _IMP_algebra.get_unit_sphere_4d()
12063 
12064 def get_unit_sphere_5d():
12065  """get_unit_sphere_5d() -> Sphere5D"""
12066  return _IMP_algebra.get_unit_sphere_5d()
12067 
12068 def get_unit_sphere_6d():
12069  """get_unit_sphere_6d() -> Sphere6D"""
12070  return _IMP_algebra.get_unit_sphere_6d()
12071 
12072 def get_interiors_intersect(*args):
12073  """
12074  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12075  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12076  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12077  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12078  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12079  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12080  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12081  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12082  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12083  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12084  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12085  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12086  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12087  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12088  """
12089  return _IMP_algebra.get_interiors_intersect(*args)
12090 
12091 def get_random_vector_on(*args):
12092  """
12093  get_random_vector_on(Sphere1D a) -> Vector1D
12094  get_random_vector_on(Sphere2D a) -> Vector2D
12095  get_random_vector_on(Sphere3D a) -> Vector3D
12096  get_random_vector_on(Sphere4D a) -> Vector4D
12097  get_random_vector_on(Sphere5D a) -> Vector5D
12098  get_random_vector_on(Sphere6D a) -> Vector6D
12099  get_random_vector_on(SphereKD a) -> VectorKD
12100  get_random_vector_on(BoundingBox1D a) -> Vector1D
12101  get_random_vector_on(BoundingBox2D a) -> Vector2D
12102  get_random_vector_on(BoundingBox3D a) -> Vector3D
12103  get_random_vector_on(BoundingBox4D a) -> Vector4D
12104  get_random_vector_on(BoundingBox5D a) -> Vector5D
12105  get_random_vector_on(BoundingBox6D a) -> Vector6D
12106  get_random_vector_on(BoundingBoxKD a) -> VectorKD
12107  """
12108  return _IMP_algebra.get_random_vector_on(*args)
12109 
12110 def get_random_vector_in(*args):
12111  """
12112  get_random_vector_in(Cylinder3D c) -> Vector3D
12113  get_random_vector_in(Sphere1D a) -> Vector1D
12114  get_random_vector_in(Sphere2D a) -> Vector2D
12115  get_random_vector_in(Sphere3D a) -> Vector3D
12116  get_random_vector_in(Sphere4D a) -> Vector4D
12117  get_random_vector_in(Sphere5D a) -> Vector5D
12118  get_random_vector_in(Sphere6D a) -> Vector6D
12119  get_random_vector_in(SphereKD a) -> VectorKD
12120  get_random_vector_in(BoundingBox1D a) -> Vector1D
12121  get_random_vector_in(BoundingBox2D a) -> Vector2D
12122  get_random_vector_in(BoundingBox3D a) -> Vector3D
12123  get_random_vector_in(BoundingBox4D a) -> Vector4D
12124  get_random_vector_in(BoundingBox5D a) -> Vector5D
12125  get_random_vector_in(BoundingBox6D a) -> Vector6D
12126  get_random_vector_in(BoundingBoxKD a) -> VectorKD
12127  """
12128  return _IMP_algebra.get_random_vector_in(*args)
12129 
12130 def get_intersection(*args):
12131  """
12132  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12133  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12134  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12135  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12136  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12137  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12138  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12139  """
12140  return _IMP_algebra.get_intersection(*args)
12141 
12142 def get_union(*args):
12143  """
12144  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12145  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12146  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12147  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12148  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12149  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12150  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12151  """
12152  return _IMP_algebra.get_union(*args)
12153 
12154 def get_bounding_box(*args):
12155  """
12156  get_bounding_box(Line3D g) -> BoundingBox3D
12157  get_bounding_box(Segment3D g) -> BoundingBox3D
12158  get_bounding_box(Plane3D g) -> BoundingBox3D
12159  get_bounding_box(Cylinder3D g) -> BoundingBox3D
12160  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12161  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12162  get_bounding_box(Cone3D g) -> BoundingBox3D
12163  get_bounding_box(Sphere1D a) -> BoundingBox1D
12164  get_bounding_box(Sphere2D a) -> BoundingBox2D
12165  get_bounding_box(Sphere3D a) -> BoundingBox3D
12166  get_bounding_box(Sphere4D a) -> BoundingBox4D
12167  get_bounding_box(Sphere5D a) -> BoundingBox5D
12168  get_bounding_box(Sphere6D a) -> BoundingBox6D
12169  get_bounding_box(SphereKD a) -> BoundingBoxKD
12170  """
12171  return _IMP_algebra.get_bounding_box(*args)
12172 
12173 def get_uniform_surface_cover(*args):
12174  """
12175  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12176  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12177  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12178  get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12179  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12180  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12181  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12182  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12183  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12184  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12185  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12186  """
12187  return _IMP_algebra.get_uniform_surface_cover(*args)
12188 
12190  """
12191  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12192  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12193  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12194  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12195  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12196  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12197  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12198  """
12199  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12200 class _AxisAnglePair(object):
12201  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12202 
12203  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12204  __repr__ = _swig_repr
12205 
12206  def __init__(self, *args):
12207  """
12208  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12209  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12210  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12211  """
12212  this = _IMP_algebra.new__AxisAnglePair(*args)
12213  try:
12214  self.this.append(this)
12215  except __builtin__.Exception:
12216  self.this = this
12217  first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12218  second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12219  def __len__(self):
12220  return 2
12221  def __repr__(self):
12222  return str((self.first, self.second))
12223  def __getitem__(self, index):
12224  if not (index % 2):
12225  return self.first
12226  else:
12227  return self.second
12228  def __setitem__(self, index, val):
12229  if not (index % 2):
12230  self.first = val
12231  else:
12232  self.second = val
12233  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12234  __del__ = lambda self: None
12235 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12236 _AxisAnglePair_swigregister(_AxisAnglePair)
12237 
12238 
12240  """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12241  return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12242 
12243 def get_rmsd_transforming_first(tr, v0, v1):
12244  """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12245  return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12246 
12247 def get_rmsd(v0, v1):
12248  """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12249  return _IMP_algebra.get_rmsd(v0, v1)
12250 
12251 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12252  """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12253  return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12254 
12255 def get_weighted_rmsd(v0, v1, weights):
12256  """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12257  return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12258 
12259 LinearFit=LinearFit2D
12260 ParabolicFit=ParabolicFit2D
12261 
12262 
12263 def get_module_version():
12264  """get_module_version() -> std::string const"""
12265  return _IMP_algebra.get_module_version()
12266 
12267 def get_example_path(fname):
12268  """get_example_path(std::string fname) -> std::string"""
12269  return _IMP_algebra.get_example_path(fname)
12270 
12271 def get_data_path(fname):
12272  """get_data_path(std::string fname) -> std::string"""
12273  return _IMP_algebra.get_data_path(fname)
12274 
12275 from . import _version_check
12276 _version_check.check_version(get_module_version())
12277 __version__ = get_module_version()
12278 
12279 
12280 
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:283
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:88
SphereD< 3 > Sphere3D
Typedef for Python.
Definition: SphereD.h:88
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:407
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:391
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:262
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:403
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:88
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.
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:399
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
Definition: VectorD.h:289
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:309
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
Definition: VectorD.h:235
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
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
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:88
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:88
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:387
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:88
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Definition: Rotation3D.h:480
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
Definition: Rotation3D.h:376
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.
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:395
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
Definition: Rotation3D.h:244
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:411
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD<-1 > SphereKD
Typedef for Python.
Definition: SphereD.h:88
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.
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