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