IMP logo
IMP Reference Guide  2.10.0
The Integrative Modeling Platform
algebra/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2018 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17  def swig_import_helper():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_algebra')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
24  return importlib.import_module('_IMP_algebra')
25  _IMP_algebra = swig_import_helper()
26  del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28  def swig_import_helper():
29  from os.path import dirname
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_algebra', [dirname(__file__)])
34  except ImportError:
35  import _IMP_algebra
36  return _IMP_algebra
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_algebra', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_algebra = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_algebra
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
78 def _swig_getattr(self, class_type, name):
79  if (name == "thisown"):
80  return self.this.own()
81  method = class_type.__swig_getmethods__.get(name, None)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_ALGEBRA_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
126  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
132  incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
133  """
134  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
140  decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
141  """
142  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
152  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
157  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
162  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
167  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
172  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
177  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
182  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
187  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
192  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
197  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
202  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
208  __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
215 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
224 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
225 IMP_SILENT = _IMP_algebra.IMP_SILENT
226 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
227 IMP_TERSE = _IMP_algebra.IMP_TERSE
228 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
229 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
230 IMP_NONE = _IMP_algebra.IMP_NONE
231 IMP_USAGE = _IMP_algebra.IMP_USAGE
232 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
242 
243 import sys
244 class _DirectorObjects(object):
245  """@internal Simple class to keep references to director objects
246  to prevent premature deletion."""
247  def __init__(self):
248  self._objects = []
249  def register(self, obj):
250  """Take a reference to a director object; will only work for
251  refcounted C++ classes"""
252  if hasattr(obj, 'get_ref_count'):
253  self._objects.append(obj)
254  def cleanup(self):
255  """Only drop our reference and allow cleanup by Python if no other
256  Python references exist (we hold 3 references: one in self._objects,
257  one in x, and one in the argument list for getrefcount) *and* no
258  other C++ references exist (the Python object always holds one)"""
259  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
260  or x.get_ref_count() > 1]
261 # Do in two steps so the references are kept until the end of the
262 # function (deleting references may trigger a fresh call to this method)
263  self._objects = objs
264  def get_object_count(self):
265  """Get number of director objects (useful for testing only)"""
266  return len(self._objects)
267 _director_objects = _DirectorObjects()
268 
269 class _ostream(object):
270  """Proxy of C++ std::ostream class."""
271 
272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
273 
274  def __init__(self, *args, **kwargs):
275  raise AttributeError("No constructor defined")
276  __repr__ = _swig_repr
277 
278  def write(self, osa_buf):
279  """write(_ostream self, char const * osa_buf)"""
280  return _IMP_algebra._ostream_write(self, osa_buf)
281 
282 _ostream_swigregister = _IMP_algebra._ostream_swigregister
283 _ostream_swigregister(_ostream)
284 
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
289 import IMP
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
295 import IMP.cgal
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
304 
305 def get_vector(v):
306  try:
307  return v.get_coordinates()
308  except:
309  return v
310 def get_sphere(v):
311  try:
312  return v.get_sphere()
313  except:
314  return v
315 
316 
317 _object_types.append("VectorKDMetric")
318 
319 
320 def _object_cast_to_VectorKDMetric(o):
321  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
322  return _IMP_algebra._object_cast_to_VectorKDMetric(o)
323 
324 _object_types.append("EuclideanVectorKDMetric")
325 
326 
327 def _object_cast_to_EuclideanVectorKDMetric(o):
328  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
329  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
330 
331 _object_types.append("MaxVectorKDMetric")
332 
333 
334 def _object_cast_to_MaxVectorKDMetric(o):
335  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
336  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
337 
338 _object_types.append("DynamicNearestNeighbor3D")
339 
340 
341 def _object_cast_to_DynamicNearestNeighbor3D(o):
342  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
343  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
344 
345 Rotation2Ds=list
346 _plural_types.append("Rotation2Ds")
347 _value_types.append("Rotation2D")
348 
349 
350 Rotation3Ds=list
351 _plural_types.append("Rotation3Ds")
352 _value_types.append("Rotation3D")
353 
354 
355 Reflection3Ds=list
356 _plural_types.append("Reflection3Ds")
357 _value_types.append("Reflection3D")
358 
359 
360 Transformation2Ds=list
361 _plural_types.append("Transformation2Ds")
362 _value_types.append("Transformation2D")
363 
364 
365 Transformation3Ds=list
366 _plural_types.append("Transformation3Ds")
367 _value_types.append("Transformation3D")
368 
369 
370 SphericalVector3Ds=list
371 _plural_types.append("SphericalVector3Ds")
372 _value_types.append("SphericalVector3D")
373 
374 
375 Triangle3Ds=list
376 _plural_types.append("Triangle3Ds")
377 _value_types.append("Triangle3D")
378 
379 
380 Cone3Ds=list
381 _plural_types.append("Cone3Ds")
382 _value_types.append("Cone3D")
383 
384 
385 Cylinder3Ds=list
386 _plural_types.append("Cylinder3Ds")
387 _value_types.append("Cylinder3D")
388 
389 
390 Ellipsoid3Ds=list
391 _plural_types.append("Ellipsoid3Ds")
392 _value_types.append("Ellipsoid3D")
393 
394 
395 Line3Ds=list
396 _plural_types.append("Line3Ds")
397 _value_types.append("Line3D")
398 
399 
400 Plane3Ds=list
401 _plural_types.append("Plane3Ds")
402 _value_types.append("Plane3D")
403 
404 
405 Segment3Ds=list
406 _plural_types.append("Segment3Ds")
407 _value_types.append("Segment3D")
408 
409 
410 SpherePatch3Ds=list
411 _plural_types.append("SpherePatch3Ds")
412 _value_types.append("SpherePatch3D")
413 
414 
415 ConnollySurfacePoints=list
416 _plural_types.append("ConnollySurfacePoints")
417 _value_types.append("ConnollySurfacePoint")
418 
419 
420 Sphere1Ds=list
421 _plural_types.append("Sphere1Ds")
422 _value_types.append("Sphere1D")
423 
424 
425 Sphere2Ds=list
426 _plural_types.append("Sphere2Ds")
427 _value_types.append("Sphere2D")
428 
429 
430 Sphere3Ds=list
431 _plural_types.append("Sphere3Ds")
432 _value_types.append("Sphere3D")
433 
434 
435 Sphere4Ds=list
436 _plural_types.append("Sphere4Ds")
437 _value_types.append("Sphere4D")
438 
439 
440 Sphere5Ds=list
441 _plural_types.append("Sphere5Ds")
442 _value_types.append("Sphere5D")
443 
444 
445 Sphere6Ds=list
446 _plural_types.append("Sphere6Ds")
447 _value_types.append("Sphere6D")
448 
449 
450 Sphere1Ds=list
451 _plural_types.append("Sphere1Ds")
452 _value_types.append("SphereD<1>")
453 
454 
455 Sphere2Ds=list
456 _plural_types.append("Sphere2Ds")
457 _value_types.append("SphereD<2>")
458 
459 
460 Sphere3Ds=list
461 _plural_types.append("Sphere3Ds")
462 _value_types.append("SphereD<3>")
463 
464 
465 Sphere4Ds=list
466 _plural_types.append("Sphere4Ds")
467 _value_types.append("SphereD<4>")
468 
469 
470 Sphere5Ds=list
471 _plural_types.append("Sphere5Ds")
472 _value_types.append("SphereD<5>")
473 
474 
475 Sphere6Ds=list
476 _plural_types.append("Sphere6Ds")
477 _value_types.append("SphereD<6>")
478 
479 
480 SphereKDs=list
481 _plural_types.append("SphereKDs")
482 _value_types.append("SphereKD")
483 
484 
485 SphereKDs=list
486 _plural_types.append("SphereKDs")
487 _value_types.append("SphereD<-1>")
488 
489 
490 BoundingBox1Ds=list
491 _plural_types.append("BoundingBox1Ds")
492 _value_types.append("BoundingBox1D")
493 
494 
495 BoundingBox2Ds=list
496 _plural_types.append("BoundingBox2Ds")
497 _value_types.append("BoundingBox2D")
498 
499 
500 BoundingBox3Ds=list
501 _plural_types.append("BoundingBox3Ds")
502 _value_types.append("BoundingBox3D")
503 
504 
505 BoundingBox4Ds=list
506 _plural_types.append("BoundingBox4Ds")
507 _value_types.append("BoundingBox4D")
508 
509 
510 BoundingBox5Ds=list
511 _plural_types.append("BoundingBox5Ds")
512 _value_types.append("BoundingBox5D")
513 
514 
515 BoundingBox6Ds=list
516 _plural_types.append("BoundingBox6Ds")
517 _value_types.append("BoundingBox6D")
518 
519 
520 BoundingBox1Ds=list
521 _plural_types.append("BoundingBox1Ds")
522 _value_types.append("BoundingBoxD<1>")
523 
524 
525 BoundingBox2Ds=list
526 _plural_types.append("BoundingBox2Ds")
527 _value_types.append("BoundingBoxD<2>")
528 
529 
530 BoundingBox3Ds=list
531 _plural_types.append("BoundingBox3Ds")
532 _value_types.append("BoundingBoxD<3>")
533 
534 
535 BoundingBox4Ds=list
536 _plural_types.append("BoundingBox4Ds")
537 _value_types.append("BoundingBoxD<4>")
538 
539 
540 BoundingBox5Ds=list
541 _plural_types.append("BoundingBox5Ds")
542 _value_types.append("BoundingBoxD<5>")
543 
544 
545 BoundingBox6Ds=list
546 _plural_types.append("BoundingBox6Ds")
547 _value_types.append("BoundingBoxD<6>")
548 
549 
550 BoundingBoxKDs=list
551 _plural_types.append("BoundingBoxKDs")
552 _value_types.append("BoundingBoxKD")
553 
554 
555 BoundingBoxKDs=list
556 _plural_types.append("BoundingBoxKDs")
557 _value_types.append("BoundingBoxD<-1>")
558 
559 
560 PrincipalComponentAnalysis1Ds=list
561 _plural_types.append("PrincipalComponentAnalysis1Ds")
562 _value_types.append("PrincipalComponentAnalysis1D")
563 
564 
565 PrincipalComponentAnalysis2Ds=list
566 _plural_types.append("PrincipalComponentAnalysis2Ds")
567 _value_types.append("PrincipalComponentAnalysis2D")
568 
569 
570 PrincipalComponentAnalysis3Ds=list
571 _plural_types.append("PrincipalComponentAnalysis3Ds")
572 _value_types.append("PrincipalComponentAnalysis3D")
573 
574 
575 PrincipalComponentAnalysis4Ds=list
576 _plural_types.append("PrincipalComponentAnalysis4Ds")
577 _value_types.append("PrincipalComponentAnalysis4D")
578 
579 
580 PrincipalComponentAnalysis5Ds=list
581 _plural_types.append("PrincipalComponentAnalysis5Ds")
582 _value_types.append("PrincipalComponentAnalysis5D")
583 
584 
585 PrincipalComponentAnalysis6Ds=list
586 _plural_types.append("PrincipalComponentAnalysis6Ds")
587 _value_types.append("PrincipalComponentAnalysis6D")
588 
589 
590 PrincipalComponentAnalysis1Ds=list
591 _plural_types.append("PrincipalComponentAnalysis1Ds")
592 _value_types.append("PrincipalComponentAnalysisD<1>")
593 
594 
595 PrincipalComponentAnalysis2Ds=list
596 _plural_types.append("PrincipalComponentAnalysis2Ds")
597 _value_types.append("PrincipalComponentAnalysisD<2>")
598 
599 
600 PrincipalComponentAnalysis3Ds=list
601 _plural_types.append("PrincipalComponentAnalysis3Ds")
602 _value_types.append("PrincipalComponentAnalysisD<3>")
603 
604 
605 PrincipalComponentAnalysis4Ds=list
606 _plural_types.append("PrincipalComponentAnalysis4Ds")
607 _value_types.append("PrincipalComponentAnalysisD<4>")
608 
609 
610 PrincipalComponentAnalysis5Ds=list
611 _plural_types.append("PrincipalComponentAnalysis5Ds")
612 _value_types.append("PrincipalComponentAnalysisD<5>")
613 
614 
615 PrincipalComponentAnalysis6Ds=list
616 _plural_types.append("PrincipalComponentAnalysis6Ds")
617 _value_types.append("PrincipalComponentAnalysisD<6>")
618 
619 
620 PrincipalComponentAnalysisKDs=list
621 _plural_types.append("PrincipalComponentAnalysisKDs")
622 _value_types.append("PrincipalComponentAnalysisKD")
623 
624 
625 PrincipalComponentAnalysisKDs=list
626 _plural_types.append("PrincipalComponentAnalysisKDs")
627 _value_types.append("PrincipalComponentAnalysisD<-1>")
628 
629 
630 _object_types.append("NearestNeighbor1D")
631 
632 
633 def _object_cast_to_NearestNeighbor1D(o):
634  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
635  return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
636 
637 _object_types.append("NearestNeighbor2D")
638 
639 
640 def _object_cast_to_NearestNeighbor2D(o):
641  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
642  return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
643 
644 _object_types.append("NearestNeighbor3D")
645 
646 
647 def _object_cast_to_NearestNeighbor3D(o):
648  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
649  return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
650 
651 _object_types.append("NearestNeighbor4D")
652 
653 
654 def _object_cast_to_NearestNeighbor4D(o):
655  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
656  return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
657 
658 _object_types.append("NearestNeighbor5D")
659 
660 
661 def _object_cast_to_NearestNeighbor5D(o):
662  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
663  return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
664 
665 _object_types.append("NearestNeighbor6D")
666 
667 
668 def _object_cast_to_NearestNeighbor6D(o):
669  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
670  return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
671 
672 _object_types.append("NearestNeighborKD")
673 
674 
675 def _object_cast_to_NearestNeighborKD(o):
676  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
677  return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
678 
679 ReferenceFrame3Ds=list
680 _plural_types.append("ReferenceFrame3Ds")
681 _value_types.append("ReferenceFrame3D")
682 
683 
684 Gaussian3Ds=list
685 _plural_types.append("Gaussian3Ds")
686 _value_types.append("Gaussian3D")
687 
688 
689 DefaultEmbedding1Ds=list
690 _plural_types.append("DefaultEmbedding1Ds")
691 _value_types.append("DefaultEmbedding1D")
692 
693 
694 DefaultEmbedding2Ds=list
695 _plural_types.append("DefaultEmbedding2Ds")
696 _value_types.append("DefaultEmbedding2D")
697 
698 
699 DefaultEmbedding3Ds=list
700 _plural_types.append("DefaultEmbedding3Ds")
701 _value_types.append("DefaultEmbedding3D")
702 
703 
704 DefaultEmbedding4Ds=list
705 _plural_types.append("DefaultEmbedding4Ds")
706 _value_types.append("DefaultEmbedding4D")
707 
708 
709 DefaultEmbedding5Ds=list
710 _plural_types.append("DefaultEmbedding5Ds")
711 _value_types.append("DefaultEmbedding5D")
712 
713 
714 DefaultEmbedding6Ds=list
715 _plural_types.append("DefaultEmbedding6Ds")
716 _value_types.append("DefaultEmbedding6D")
717 
718 
719 DefaultEmbedding1Ds=list
720 _plural_types.append("DefaultEmbedding1Ds")
721 _value_types.append("DefaultEmbeddingD<1>")
722 
723 
724 DefaultEmbedding2Ds=list
725 _plural_types.append("DefaultEmbedding2Ds")
726 _value_types.append("DefaultEmbeddingD<2>")
727 
728 
729 DefaultEmbedding3Ds=list
730 _plural_types.append("DefaultEmbedding3Ds")
731 _value_types.append("DefaultEmbeddingD<3>")
732 
733 
734 DefaultEmbedding4Ds=list
735 _plural_types.append("DefaultEmbedding4Ds")
736 _value_types.append("DefaultEmbeddingD<4>")
737 
738 
739 DefaultEmbedding5Ds=list
740 _plural_types.append("DefaultEmbedding5Ds")
741 _value_types.append("DefaultEmbeddingD<5>")
742 
743 
744 DefaultEmbedding6Ds=list
745 _plural_types.append("DefaultEmbedding6Ds")
746 _value_types.append("DefaultEmbeddingD<6>")
747 
748 
749 DefaultEmbeddingKDs=list
750 _plural_types.append("DefaultEmbeddingKDs")
751 _value_types.append("DefaultEmbeddingKD")
752 
753 
754 DefaultEmbeddingKDs=list
755 _plural_types.append("DefaultEmbeddingKDs")
756 _value_types.append("DefaultEmbeddingD<-1>")
757 
758 
759 LogEmbedding1Ds=list
760 _plural_types.append("LogEmbedding1Ds")
761 _value_types.append("LogEmbedding1D")
762 
763 
764 LogEmbedding2Ds=list
765 _plural_types.append("LogEmbedding2Ds")
766 _value_types.append("LogEmbedding2D")
767 
768 
769 LogEmbedding3Ds=list
770 _plural_types.append("LogEmbedding3Ds")
771 _value_types.append("LogEmbedding3D")
772 
773 
774 LogEmbedding4Ds=list
775 _plural_types.append("LogEmbedding4Ds")
776 _value_types.append("LogEmbedding4D")
777 
778 
779 LogEmbedding5Ds=list
780 _plural_types.append("LogEmbedding5Ds")
781 _value_types.append("LogEmbedding5D")
782 
783 
784 LogEmbedding6Ds=list
785 _plural_types.append("LogEmbedding6Ds")
786 _value_types.append("LogEmbedding6D")
787 
788 
789 LogEmbedding1Ds=list
790 _plural_types.append("LogEmbedding1Ds")
791 _value_types.append("LogEmbeddingD<1>")
792 
793 
794 LogEmbedding2Ds=list
795 _plural_types.append("LogEmbedding2Ds")
796 _value_types.append("LogEmbeddingD<2>")
797 
798 
799 LogEmbedding3Ds=list
800 _plural_types.append("LogEmbedding3Ds")
801 _value_types.append("LogEmbeddingD<3>")
802 
803 
804 LogEmbedding4Ds=list
805 _plural_types.append("LogEmbedding4Ds")
806 _value_types.append("LogEmbeddingD<4>")
807 
808 
809 LogEmbedding5Ds=list
810 _plural_types.append("LogEmbedding5Ds")
811 _value_types.append("LogEmbeddingD<5>")
812 
813 
814 LogEmbedding6Ds=list
815 _plural_types.append("LogEmbedding6Ds")
816 _value_types.append("LogEmbeddingD<6>")
817 
818 
819 LogEmbeddingKDs=list
820 _plural_types.append("LogEmbeddingKDs")
821 _value_types.append("LogEmbeddingKD")
822 
823 
824 LogEmbeddingKDs=list
825 _plural_types.append("LogEmbeddingKDs")
826 _value_types.append("LogEmbeddingD<-1>")
827 
828 
829 GridIndex1Ds=list
830 _plural_types.append("GridIndex1Ds")
831 _value_types.append("GridIndex1D")
832 
833 
834 GridIndex2Ds=list
835 _plural_types.append("GridIndex2Ds")
836 _value_types.append("GridIndex2D")
837 
838 
839 GridIndex3Ds=list
840 _plural_types.append("GridIndex3Ds")
841 _value_types.append("GridIndex3D")
842 
843 
844 GridIndex4Ds=list
845 _plural_types.append("GridIndex4Ds")
846 _value_types.append("GridIndex4D")
847 
848 
849 GridIndex5Ds=list
850 _plural_types.append("GridIndex5Ds")
851 _value_types.append("GridIndex5D")
852 
853 
854 GridIndex6Ds=list
855 _plural_types.append("GridIndex6Ds")
856 _value_types.append("GridIndex6D")
857 
858 
859 GridIndex1Ds=list
860 _plural_types.append("GridIndex1Ds")
861 _value_types.append("GridIndexD<1>")
862 
863 
864 GridIndex2Ds=list
865 _plural_types.append("GridIndex2Ds")
866 _value_types.append("GridIndexD<2>")
867 
868 
869 GridIndex3Ds=list
870 _plural_types.append("GridIndex3Ds")
871 _value_types.append("GridIndexD<3>")
872 
873 
874 GridIndex4Ds=list
875 _plural_types.append("GridIndex4Ds")
876 _value_types.append("GridIndexD<4>")
877 
878 
879 GridIndex5Ds=list
880 _plural_types.append("GridIndex5Ds")
881 _value_types.append("GridIndexD<5>")
882 
883 
884 GridIndex6Ds=list
885 _plural_types.append("GridIndex6Ds")
886 _value_types.append("GridIndexD<6>")
887 
888 
889 GridIndexKDs=list
890 _plural_types.append("GridIndexKDs")
891 _value_types.append("GridIndexKD")
892 
893 
894 GridIndexKDs=list
895 _plural_types.append("GridIndexKDs")
896 _value_types.append("GridIndexD<-1>")
897 
898 
899 ExtendedGridIndex1Ds=list
900 _plural_types.append("ExtendedGridIndex1Ds")
901 _value_types.append("ExtendedGridIndex1D")
902 
903 
904 ExtendedGridIndex2Ds=list
905 _plural_types.append("ExtendedGridIndex2Ds")
906 _value_types.append("ExtendedGridIndex2D")
907 
908 
909 ExtendedGridIndex3Ds=list
910 _plural_types.append("ExtendedGridIndex3Ds")
911 _value_types.append("ExtendedGridIndex3D")
912 
913 
914 ExtendedGridIndex4Ds=list
915 _plural_types.append("ExtendedGridIndex4Ds")
916 _value_types.append("ExtendedGridIndex4D")
917 
918 
919 ExtendedGridIndex5Ds=list
920 _plural_types.append("ExtendedGridIndex5Ds")
921 _value_types.append("ExtendedGridIndex5D")
922 
923 
924 ExtendedGridIndex6Ds=list
925 _plural_types.append("ExtendedGridIndex6Ds")
926 _value_types.append("ExtendedGridIndex6D")
927 
928 
929 ExtendedGridIndex1Ds=list
930 _plural_types.append("ExtendedGridIndex1Ds")
931 _value_types.append("ExtendedGridIndexD<1>")
932 
933 
934 ExtendedGridIndex2Ds=list
935 _plural_types.append("ExtendedGridIndex2Ds")
936 _value_types.append("ExtendedGridIndexD<2>")
937 
938 
939 ExtendedGridIndex3Ds=list
940 _plural_types.append("ExtendedGridIndex3Ds")
941 _value_types.append("ExtendedGridIndexD<3>")
942 
943 
944 ExtendedGridIndex4Ds=list
945 _plural_types.append("ExtendedGridIndex4Ds")
946 _value_types.append("ExtendedGridIndexD<4>")
947 
948 
949 ExtendedGridIndex5Ds=list
950 _plural_types.append("ExtendedGridIndex5Ds")
951 _value_types.append("ExtendedGridIndexD<5>")
952 
953 
954 ExtendedGridIndex6Ds=list
955 _plural_types.append("ExtendedGridIndex6Ds")
956 _value_types.append("ExtendedGridIndexD<6>")
957 
958 
959 ExtendedGridIndexKDs=list
960 _plural_types.append("ExtendedGridIndexKDs")
961 _value_types.append("ExtendedGridIndexKD")
962 
963 
964 ExtendedGridIndexKDs=list
965 _plural_types.append("ExtendedGridIndexKDs")
966 _value_types.append("ExtendedGridIndexD<-1>")
967 
968 
969 BoundedGridRange1Ds=list
970 _plural_types.append("BoundedGridRange1Ds")
971 _value_types.append("BoundedGridRange1D")
972 
973 
974 BoundedGridRange2Ds=list
975 _plural_types.append("BoundedGridRange2Ds")
976 _value_types.append("BoundedGridRange2D")
977 
978 
979 BoundedGridRange3Ds=list
980 _plural_types.append("BoundedGridRange3Ds")
981 _value_types.append("BoundedGridRange3D")
982 
983 
984 BoundedGridRange4Ds=list
985 _plural_types.append("BoundedGridRange4Ds")
986 _value_types.append("BoundedGridRange4D")
987 
988 
989 BoundedGridRange5Ds=list
990 _plural_types.append("BoundedGridRange5Ds")
991 _value_types.append("BoundedGridRange5D")
992 
993 
994 BoundedGridRange6Ds=list
995 _plural_types.append("BoundedGridRange6Ds")
996 _value_types.append("BoundedGridRange6D")
997 
998 
999 BoundedGridRange1Ds=list
1000 _plural_types.append("BoundedGridRange1Ds")
1001 _value_types.append("BoundedGridRangeD<1>")
1002 
1003 
1004 BoundedGridRange2Ds=list
1005 _plural_types.append("BoundedGridRange2Ds")
1006 _value_types.append("BoundedGridRangeD<2>")
1007 
1008 
1009 BoundedGridRange3Ds=list
1010 _plural_types.append("BoundedGridRange3Ds")
1011 _value_types.append("BoundedGridRangeD<3>")
1012 
1013 
1014 BoundedGridRange4Ds=list
1015 _plural_types.append("BoundedGridRange4Ds")
1016 _value_types.append("BoundedGridRangeD<4>")
1017 
1018 
1019 BoundedGridRange5Ds=list
1020 _plural_types.append("BoundedGridRange5Ds")
1021 _value_types.append("BoundedGridRangeD<5>")
1022 
1023 
1024 BoundedGridRange6Ds=list
1025 _plural_types.append("BoundedGridRange6Ds")
1026 _value_types.append("BoundedGridRangeD<6>")
1027 
1028 
1029 BoundedGridRangeKDs=list
1030 _plural_types.append("BoundedGridRangeKDs")
1031 _value_types.append("BoundedGridRangeKD")
1032 
1033 
1034 BoundedGridRangeKDs=list
1035 _plural_types.append("BoundedGridRangeKDs")
1036 _value_types.append("BoundedGridRangeD<-1>")
1037 
1038 
1039 UnboundedGridRange1Ds=list
1040 _plural_types.append("UnboundedGridRange1Ds")
1041 _value_types.append("UnboundedGridRange1D")
1042 
1043 
1044 UnboundedGridRange2Ds=list
1045 _plural_types.append("UnboundedGridRange2Ds")
1046 _value_types.append("UnboundedGridRange2D")
1047 
1048 
1049 UnboundedGridRange3Ds=list
1050 _plural_types.append("UnboundedGridRange3Ds")
1051 _value_types.append("UnboundedGridRange3D")
1052 
1053 
1054 UnboundedGridRange4Ds=list
1055 _plural_types.append("UnboundedGridRange4Ds")
1056 _value_types.append("UnboundedGridRange4D")
1057 
1058 
1059 UnboundedGridRange5Ds=list
1060 _plural_types.append("UnboundedGridRange5Ds")
1061 _value_types.append("UnboundedGridRange5D")
1062 
1063 
1064 UnboundedGridRange6Ds=list
1065 _plural_types.append("UnboundedGridRange6Ds")
1066 _value_types.append("UnboundedGridRange6D")
1067 
1068 
1069 UnboundedGridRange1Ds=list
1070 _plural_types.append("UnboundedGridRange1Ds")
1071 _value_types.append("UnboundedGridRangeD<1>")
1072 
1073 
1074 UnboundedGridRange2Ds=list
1075 _plural_types.append("UnboundedGridRange2Ds")
1076 _value_types.append("UnboundedGridRangeD<2>")
1077 
1078 
1079 UnboundedGridRange3Ds=list
1080 _plural_types.append("UnboundedGridRange3Ds")
1081 _value_types.append("UnboundedGridRangeD<3>")
1082 
1083 
1084 UnboundedGridRange4Ds=list
1085 _plural_types.append("UnboundedGridRange4Ds")
1086 _value_types.append("UnboundedGridRangeD<4>")
1087 
1088 
1089 UnboundedGridRange5Ds=list
1090 _plural_types.append("UnboundedGridRange5Ds")
1091 _value_types.append("UnboundedGridRangeD<5>")
1092 
1093 
1094 UnboundedGridRange6Ds=list
1095 _plural_types.append("UnboundedGridRange6Ds")
1096 _value_types.append("UnboundedGridRangeD<6>")
1097 
1098 
1099 UnboundedGridRangeKDs=list
1100 _plural_types.append("UnboundedGridRangeKDs")
1101 _value_types.append("UnboundedGridRangeKD")
1102 
1103 
1104 UnboundedGridRangeKDs=list
1105 _plural_types.append("UnboundedGridRangeKDs")
1106 _value_types.append("UnboundedGridRangeD<-1>")
1107 
1108 
1109 LinearFit2Ds=list
1110 _plural_types.append("LinearFit2Ds")
1111 _value_types.append("LinearFit2D")
1112 
1113 
1114 ParabolicFit2Ds=list
1115 _plural_types.append("ParabolicFit2Ds")
1116 _value_types.append("ParabolicFit2D")
1117 
1118 
1119 FixedXYZs=list
1120 _plural_types.append("FixedXYZs")
1121 _value_types.append("FixedXYZ")
1122 
1123 class _GeometricPrimitive1D(object):
1124  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1125 
1126  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1127 
1128  def __init__(self, *args, **kwargs):
1129  raise AttributeError("No constructor defined")
1130  __repr__ = _swig_repr
1131  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1132  __del__ = lambda self: None
1133 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1134 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1135 
1136 class _GeometricPrimitive2D(object):
1137  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1138 
1139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1140 
1141  def __init__(self, *args, **kwargs):
1142  raise AttributeError("No constructor defined")
1143  __repr__ = _swig_repr
1144  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1145  __del__ = lambda self: None
1146 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1147 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1148 
1149 class _GeometricPrimitive3D(object):
1150  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1151 
1152  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1153 
1154  def __init__(self, *args, **kwargs):
1155  raise AttributeError("No constructor defined")
1156  __repr__ = _swig_repr
1157  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1158  __del__ = lambda self: None
1159 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1160 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1161 
1162 class _GeometricPrimitive4D(object):
1163  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1164 
1165  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1166 
1167  def __init__(self, *args, **kwargs):
1168  raise AttributeError("No constructor defined")
1169  __repr__ = _swig_repr
1170  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1171  __del__ = lambda self: None
1172 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1173 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1174 
1175 class _GeometricPrimitive5D(object):
1176  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1177 
1178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1179 
1180  def __init__(self, *args, **kwargs):
1181  raise AttributeError("No constructor defined")
1182  __repr__ = _swig_repr
1183  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1184  __del__ = lambda self: None
1185 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1186 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1187 
1188 class _GeometricPrimitive6D(object):
1189  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1190 
1191  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1192 
1193  def __init__(self, *args, **kwargs):
1194  raise AttributeError("No constructor defined")
1195  __repr__ = _swig_repr
1196  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1197  __del__ = lambda self: None
1198 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1199 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1200 
1201 class _GeometricPrimitiveKD(object):
1202  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1203 
1204  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1205 
1206  def __init__(self, *args, **kwargs):
1207  raise AttributeError("No constructor defined")
1208  __repr__ = _swig_repr
1209  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1210  __del__ = lambda self: None
1211 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1212 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1213 
1214 
1215 Vector1Ds=list
1216 _plural_types.append("Vector1Ds")
1217 _value_types.append("Vector1D")
1218 
1219 
1220 Vector2Ds=list
1221 _plural_types.append("Vector2Ds")
1222 _value_types.append("Vector2D")
1223 
1224 
1225 Vector3Ds=list
1226 _plural_types.append("Vector3Ds")
1227 _value_types.append("Vector3D")
1228 
1229 
1230 Vector4Ds=list
1231 _plural_types.append("Vector4Ds")
1232 _value_types.append("Vector4D")
1233 
1234 
1235 Vector5Ds=list
1236 _plural_types.append("Vector5Ds")
1237 _value_types.append("Vector5D")
1238 
1239 
1240 Vector6Ds=list
1241 _plural_types.append("Vector6Ds")
1242 _value_types.append("Vector6D")
1243 
1244 
1245 Vector1Ds=list
1246 _plural_types.append("Vector1Ds")
1247 _value_types.append("VectorD<1>")
1248 
1249 
1250 Vector2Ds=list
1251 _plural_types.append("Vector2Ds")
1252 _value_types.append("VectorD<2>")
1253 
1254 
1255 Vector3Ds=list
1256 _plural_types.append("Vector3Ds")
1257 _value_types.append("VectorD<3>")
1258 
1259 
1260 Vector4Ds=list
1261 _plural_types.append("Vector4Ds")
1262 _value_types.append("VectorD<4>")
1263 
1264 
1265 Vector5Ds=list
1266 _plural_types.append("Vector5Ds")
1267 _value_types.append("VectorD<5>")
1268 
1269 
1270 Vector6Ds=list
1271 _plural_types.append("Vector6Ds")
1272 _value_types.append("VectorD<6>")
1273 
1274 
1275 VectorKDs=list
1276 _plural_types.append("VectorKDs")
1277 _value_types.append("VectorKD")
1278 
1279 
1280 VectorKDs=list
1281 _plural_types.append("VectorKDs")
1282 _value_types.append("VectorD<-1>")
1283 
1284 class _VectorBaseKD(_GeometricPrimitiveKD):
1285  """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1286 
1287  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1288  __repr__ = _swig_repr
1289 
1290  def __init__(self):
1291  """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1292  this = _IMP_algebra.new__VectorBaseKD()
1293  try:
1294  self.this.append(this)
1295  except __builtin__.Exception:
1296  self.this = this
1297 
1298  def get_scalar_product(self, o):
1299  """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1300  return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1301 
1302 
1303  def get_squared_magnitude(self):
1304  """get_squared_magnitude(_VectorBaseKD self) -> double"""
1305  return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1306 
1307 
1308  def get_magnitude(self):
1309  """get_magnitude(_VectorBaseKD self) -> double"""
1310  return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1311 
1312 
1313  def __mul__(self, o):
1314  """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1315  return _IMP_algebra._VectorBaseKD___mul__(self, o)
1316 
1317 
1318  def __iadd__(self, o):
1319  """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1320  return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1321 
1322 
1323  def __isub__(self, o):
1324  """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1325  return _IMP_algebra._VectorBaseKD___isub__(self, o)
1326 
1327 
1328  def __idiv__(self, f):
1329  """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1330  return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1331 
1332 
1333  def __imul__(self, f):
1334  """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1335  return _IMP_algebra._VectorBaseKD___imul__(self, f)
1336 
1337 
1338  def show(self, *args):
1339  """
1340  show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1341  show(_VectorBaseKD self, _ostream out, std::string delim)
1342  show(_VectorBaseKD self, _ostream out)
1343  show(_VectorBaseKD self)
1344  """
1345  return _IMP_algebra._VectorBaseKD_show(self, *args)
1346 
1347 
1348  def get_dimension(self):
1349  """get_dimension(_VectorBaseKD self) -> unsigned int"""
1350  return _IMP_algebra._VectorBaseKD_get_dimension(self)
1351 
1352  __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1353  __del__ = lambda self: None
1354 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1355 _VectorBaseKD_swigregister(_VectorBaseKD)
1356 
1357 class _VectorBase1D(_GeometricPrimitive1D):
1358  """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1359 
1360  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1361  __repr__ = _swig_repr
1362 
1363  def __init__(self):
1364  """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1365  this = _IMP_algebra.new__VectorBase1D()
1366  try:
1367  self.this.append(this)
1368  except __builtin__.Exception:
1369  self.this = this
1370 
1371  def get_scalar_product(self, o):
1372  """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1373  return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1374 
1375 
1376  def get_squared_magnitude(self):
1377  """get_squared_magnitude(_VectorBase1D self) -> double"""
1378  return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1379 
1380 
1381  def get_magnitude(self):
1382  """get_magnitude(_VectorBase1D self) -> double"""
1383  return _IMP_algebra._VectorBase1D_get_magnitude(self)
1384 
1385 
1386  def __mul__(self, o):
1387  """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1388  return _IMP_algebra._VectorBase1D___mul__(self, o)
1389 
1390 
1391  def __iadd__(self, o):
1392  """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1393  return _IMP_algebra._VectorBase1D___iadd__(self, o)
1394 
1395 
1396  def __isub__(self, o):
1397  """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1398  return _IMP_algebra._VectorBase1D___isub__(self, o)
1399 
1400 
1401  def __idiv__(self, f):
1402  """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1403  return _IMP_algebra._VectorBase1D___idiv__(self, f)
1404 
1405 
1406  def __imul__(self, f):
1407  """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1408  return _IMP_algebra._VectorBase1D___imul__(self, f)
1409 
1410 
1411  def show(self, *args):
1412  """
1413  show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1414  show(_VectorBase1D self, _ostream out, std::string delim)
1415  show(_VectorBase1D self, _ostream out)
1416  show(_VectorBase1D self)
1417  """
1418  return _IMP_algebra._VectorBase1D_show(self, *args)
1419 
1420 
1421  def get_dimension(self):
1422  """get_dimension(_VectorBase1D self) -> unsigned int"""
1423  return _IMP_algebra._VectorBase1D_get_dimension(self)
1424 
1425  __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1426  __del__ = lambda self: None
1427 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1428 _VectorBase1D_swigregister(_VectorBase1D)
1429 
1430 class _VectorBase2D(_GeometricPrimitive2D):
1431  """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1432 
1433  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1434  __repr__ = _swig_repr
1435 
1436  def __init__(self):
1437  """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1438  this = _IMP_algebra.new__VectorBase2D()
1439  try:
1440  self.this.append(this)
1441  except __builtin__.Exception:
1442  self.this = this
1443 
1444  def get_scalar_product(self, o):
1445  """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1446  return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1447 
1448 
1449  def get_squared_magnitude(self):
1450  """get_squared_magnitude(_VectorBase2D self) -> double"""
1451  return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1452 
1453 
1454  def get_magnitude(self):
1455  """get_magnitude(_VectorBase2D self) -> double"""
1456  return _IMP_algebra._VectorBase2D_get_magnitude(self)
1457 
1458 
1459  def __mul__(self, o):
1460  """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1461  return _IMP_algebra._VectorBase2D___mul__(self, o)
1462 
1463 
1464  def __iadd__(self, o):
1465  """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1466  return _IMP_algebra._VectorBase2D___iadd__(self, o)
1467 
1468 
1469  def __isub__(self, o):
1470  """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1471  return _IMP_algebra._VectorBase2D___isub__(self, o)
1472 
1473 
1474  def __idiv__(self, f):
1475  """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1476  return _IMP_algebra._VectorBase2D___idiv__(self, f)
1477 
1478 
1479  def __imul__(self, f):
1480  """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1481  return _IMP_algebra._VectorBase2D___imul__(self, f)
1482 
1483 
1484  def show(self, *args):
1485  """
1486  show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1487  show(_VectorBase2D self, _ostream out, std::string delim)
1488  show(_VectorBase2D self, _ostream out)
1489  show(_VectorBase2D self)
1490  """
1491  return _IMP_algebra._VectorBase2D_show(self, *args)
1492 
1493 
1494  def get_dimension(self):
1495  """get_dimension(_VectorBase2D self) -> unsigned int"""
1496  return _IMP_algebra._VectorBase2D_get_dimension(self)
1497 
1498  __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1499  __del__ = lambda self: None
1500 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1501 _VectorBase2D_swigregister(_VectorBase2D)
1502 
1503 class _VectorBase3D(_GeometricPrimitive3D):
1504  """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1505 
1506  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1507  __repr__ = _swig_repr
1508 
1509  def __init__(self):
1510  """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1511  this = _IMP_algebra.new__VectorBase3D()
1512  try:
1513  self.this.append(this)
1514  except __builtin__.Exception:
1515  self.this = this
1516 
1517  def get_scalar_product(self, o):
1518  """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1519  return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1520 
1521 
1522  def get_squared_magnitude(self):
1523  """get_squared_magnitude(_VectorBase3D self) -> double"""
1524  return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1525 
1526 
1527  def get_magnitude(self):
1528  """get_magnitude(_VectorBase3D self) -> double"""
1529  return _IMP_algebra._VectorBase3D_get_magnitude(self)
1530 
1531 
1532  def __mul__(self, o):
1533  """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1534  return _IMP_algebra._VectorBase3D___mul__(self, o)
1535 
1536 
1537  def __iadd__(self, o):
1538  """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1539  return _IMP_algebra._VectorBase3D___iadd__(self, o)
1540 
1541 
1542  def __isub__(self, o):
1543  """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1544  return _IMP_algebra._VectorBase3D___isub__(self, o)
1545 
1546 
1547  def __idiv__(self, f):
1548  """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1549  return _IMP_algebra._VectorBase3D___idiv__(self, f)
1550 
1551 
1552  def __imul__(self, f):
1553  """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1554  return _IMP_algebra._VectorBase3D___imul__(self, f)
1555 
1556 
1557  def show(self, *args):
1558  """
1559  show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1560  show(_VectorBase3D self, _ostream out, std::string delim)
1561  show(_VectorBase3D self, _ostream out)
1562  show(_VectorBase3D self)
1563  """
1564  return _IMP_algebra._VectorBase3D_show(self, *args)
1565 
1566 
1567  def get_dimension(self):
1568  """get_dimension(_VectorBase3D self) -> unsigned int"""
1569  return _IMP_algebra._VectorBase3D_get_dimension(self)
1570 
1571  __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1572  __del__ = lambda self: None
1573 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1574 _VectorBase3D_swigregister(_VectorBase3D)
1575 
1576 class _VectorBase4D(_GeometricPrimitive4D):
1577  """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1578 
1579  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1580  __repr__ = _swig_repr
1581 
1582  def __init__(self):
1583  """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1584  this = _IMP_algebra.new__VectorBase4D()
1585  try:
1586  self.this.append(this)
1587  except __builtin__.Exception:
1588  self.this = this
1589 
1590  def get_scalar_product(self, o):
1591  """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1592  return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1593 
1594 
1595  def get_squared_magnitude(self):
1596  """get_squared_magnitude(_VectorBase4D self) -> double"""
1597  return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1598 
1599 
1600  def get_magnitude(self):
1601  """get_magnitude(_VectorBase4D self) -> double"""
1602  return _IMP_algebra._VectorBase4D_get_magnitude(self)
1603 
1604 
1605  def __mul__(self, o):
1606  """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1607  return _IMP_algebra._VectorBase4D___mul__(self, o)
1608 
1609 
1610  def __iadd__(self, o):
1611  """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1612  return _IMP_algebra._VectorBase4D___iadd__(self, o)
1613 
1614 
1615  def __isub__(self, o):
1616  """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1617  return _IMP_algebra._VectorBase4D___isub__(self, o)
1618 
1619 
1620  def __idiv__(self, f):
1621  """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1622  return _IMP_algebra._VectorBase4D___idiv__(self, f)
1623 
1624 
1625  def __imul__(self, f):
1626  """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1627  return _IMP_algebra._VectorBase4D___imul__(self, f)
1628 
1629 
1630  def show(self, *args):
1631  """
1632  show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1633  show(_VectorBase4D self, _ostream out, std::string delim)
1634  show(_VectorBase4D self, _ostream out)
1635  show(_VectorBase4D self)
1636  """
1637  return _IMP_algebra._VectorBase4D_show(self, *args)
1638 
1639 
1640  def get_dimension(self):
1641  """get_dimension(_VectorBase4D self) -> unsigned int"""
1642  return _IMP_algebra._VectorBase4D_get_dimension(self)
1643 
1644  __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1645  __del__ = lambda self: None
1646 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1647 _VectorBase4D_swigregister(_VectorBase4D)
1648 
1649 class _VectorBase5D(_GeometricPrimitive5D):
1650  """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1651 
1652  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1653  __repr__ = _swig_repr
1654 
1655  def __init__(self):
1656  """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1657  this = _IMP_algebra.new__VectorBase5D()
1658  try:
1659  self.this.append(this)
1660  except __builtin__.Exception:
1661  self.this = this
1662 
1663  def get_scalar_product(self, o):
1664  """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1665  return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1666 
1667 
1668  def get_squared_magnitude(self):
1669  """get_squared_magnitude(_VectorBase5D self) -> double"""
1670  return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1671 
1672 
1673  def get_magnitude(self):
1674  """get_magnitude(_VectorBase5D self) -> double"""
1675  return _IMP_algebra._VectorBase5D_get_magnitude(self)
1676 
1677 
1678  def __mul__(self, o):
1679  """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1680  return _IMP_algebra._VectorBase5D___mul__(self, o)
1681 
1682 
1683  def __iadd__(self, o):
1684  """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1685  return _IMP_algebra._VectorBase5D___iadd__(self, o)
1686 
1687 
1688  def __isub__(self, o):
1689  """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1690  return _IMP_algebra._VectorBase5D___isub__(self, o)
1691 
1692 
1693  def __idiv__(self, f):
1694  """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1695  return _IMP_algebra._VectorBase5D___idiv__(self, f)
1696 
1697 
1698  def __imul__(self, f):
1699  """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1700  return _IMP_algebra._VectorBase5D___imul__(self, f)
1701 
1702 
1703  def show(self, *args):
1704  """
1705  show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1706  show(_VectorBase5D self, _ostream out, std::string delim)
1707  show(_VectorBase5D self, _ostream out)
1708  show(_VectorBase5D self)
1709  """
1710  return _IMP_algebra._VectorBase5D_show(self, *args)
1711 
1712 
1713  def get_dimension(self):
1714  """get_dimension(_VectorBase5D self) -> unsigned int"""
1715  return _IMP_algebra._VectorBase5D_get_dimension(self)
1716 
1717  __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1718  __del__ = lambda self: None
1719 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1720 _VectorBase5D_swigregister(_VectorBase5D)
1721 
1722 class _VectorBase6D(_GeometricPrimitive6D):
1723  """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1724 
1725  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1726  __repr__ = _swig_repr
1727 
1728  def __init__(self):
1729  """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1730  this = _IMP_algebra.new__VectorBase6D()
1731  try:
1732  self.this.append(this)
1733  except __builtin__.Exception:
1734  self.this = this
1735 
1736  def get_scalar_product(self, o):
1737  """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1738  return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1739 
1740 
1741  def get_squared_magnitude(self):
1742  """get_squared_magnitude(_VectorBase6D self) -> double"""
1743  return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1744 
1745 
1746  def get_magnitude(self):
1747  """get_magnitude(_VectorBase6D self) -> double"""
1748  return _IMP_algebra._VectorBase6D_get_magnitude(self)
1749 
1750 
1751  def __mul__(self, o):
1752  """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1753  return _IMP_algebra._VectorBase6D___mul__(self, o)
1754 
1755 
1756  def __iadd__(self, o):
1757  """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1758  return _IMP_algebra._VectorBase6D___iadd__(self, o)
1759 
1760 
1761  def __isub__(self, o):
1762  """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1763  return _IMP_algebra._VectorBase6D___isub__(self, o)
1764 
1765 
1766  def __idiv__(self, f):
1767  """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1768  return _IMP_algebra._VectorBase6D___idiv__(self, f)
1769 
1770 
1771  def __imul__(self, f):
1772  """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1773  return _IMP_algebra._VectorBase6D___imul__(self, f)
1774 
1775 
1776  def show(self, *args):
1777  """
1778  show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1779  show(_VectorBase6D self, _ostream out, std::string delim)
1780  show(_VectorBase6D self, _ostream out)
1781  show(_VectorBase6D self)
1782  """
1783  return _IMP_algebra._VectorBase6D_show(self, *args)
1784 
1785 
1786  def get_dimension(self):
1787  """get_dimension(_VectorBase6D self) -> unsigned int"""
1788  return _IMP_algebra._VectorBase6D_get_dimension(self)
1789 
1790  __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1791  __del__ = lambda self: None
1792 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1793 _VectorBase6D_swigregister(_VectorBase6D)
1794 
1795 
1796 def get_basis_vector_kd(D, coordinate):
1797  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1798  return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1799 
1800 def get_zero_vector_kd(D):
1801  """get_zero_vector_kd(int D) -> VectorKD"""
1802  return _IMP_algebra.get_zero_vector_kd(D)
1803 
1804 def get_ones_vector_kd(D, v=1):
1805  """
1806  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1807  get_ones_vector_kd(unsigned int D) -> VectorKD
1808  """
1809  return _IMP_algebra.get_ones_vector_kd(D, v)
1810 
1811 def get_vector_product(p1, p2):
1812  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1813  return _IMP_algebra.get_vector_product(p1, p2)
1814 
1815 def get_orthogonal_vector(v):
1816  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1817  return _IMP_algebra.get_orthogonal_vector(v)
1818 
1819 def get_centroid(ps):
1820  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1821  return _IMP_algebra.get_centroid(ps)
1822 
1823 def get_radius_of_gyration(ps):
1824  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1825  return _IMP_algebra.get_radius_of_gyration(ps)
1826 class Rotation3D(_GeometricPrimitive3D):
1827  """Proxy of C++ IMP::algebra::Rotation3D class."""
1828 
1829  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1830 
1831  def __init__(self, *args):
1832  """
1833  __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1834  __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1835  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1836  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1837  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1838  """
1839  this = _IMP_algebra.new_Rotation3D(*args)
1840  try:
1841  self.this.append(this)
1842  except __builtin__.Exception:
1843  self.this = this
1844  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1845  __del__ = lambda self: None
1846 
1847  def get_rotated_no_cache(self, o):
1848  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1849  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1850 
1851 
1852  def get_rotated_one_coordinate_no_cache(self, o, coord):
1853  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1854  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1855 
1856 
1857  def get_rotated(self, o):
1858  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1859  return _IMP_algebra.Rotation3D_get_rotated(self, o)
1860 
1861 
1862  def get_rotated_one_coordinate(self, o, coord):
1863  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1864  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1865 
1866 
1867  def get_rotation_matrix_row(self, i):
1868  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1869  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1870 
1871 
1872  def show(self, *args):
1873  """
1874  show(Rotation3D self, _ostream out)
1875  show(Rotation3D self)
1876  """
1877  return _IMP_algebra.Rotation3D_show(self, *args)
1878 
1879 
1880  def get_inverse(self):
1881  """get_inverse(Rotation3D self) -> Rotation3D"""
1882  return _IMP_algebra.Rotation3D_get_inverse(self)
1883 
1884 
1885  def get_quaternion(self):
1886  """get_quaternion(Rotation3D self) -> Vector4D"""
1887  return _IMP_algebra.Rotation3D_get_quaternion(self)
1888 
1889 
1890  def __mul__(self, *args):
1891  """
1892  __mul__(Rotation3D self, Vector3D v) -> Vector3D
1893  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1894  """
1895  return _IMP_algebra.Rotation3D___mul__(self, *args)
1896 
1897 
1898  def __div__(self, r):
1899  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1900  return _IMP_algebra.Rotation3D___div__(self, r)
1901 
1902 
1903  def get_derivative(self, v, i, projected=True):
1904  """
1905  get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool projected=True) -> Vector3D
1906  get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1907  """
1908  return _IMP_algebra.Rotation3D_get_derivative(self, v, i, projected)
1909 
1910 
1911  def get_gradient(self, v, projected=True):
1912  """
1913  get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool projected=True) -> Eigen::MatrixXd
1914  get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
1915  """
1916  return _IMP_algebra.Rotation3D_get_gradient(self, v, projected)
1917 
1918 
1919  def get_is_valid(self):
1920  """get_is_valid(Rotation3D self) -> bool"""
1921  return _IMP_algebra.Rotation3D_get_is_valid(self)
1922 
1923 
1924  def __str__(self):
1925  """__str__(Rotation3D self) -> std::string"""
1926  return _IMP_algebra.Rotation3D___str__(self)
1927 
1928 
1929  def __repr__(self):
1930  """__repr__(Rotation3D self) -> std::string"""
1931  return _IMP_algebra.Rotation3D___repr__(self)
1932 
1933 
1934  __truediv__ = __div__
1935 
1936 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1937 Rotation3D_swigregister(Rotation3D)
1938 
1939 
1940 def get_gradient_of_composed_with_respect_to_first(q, p, projected=True):
1941  """
1942  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1943  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1944  """
1945  return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, projected)
1946 
1947 def get_gradient_of_composed_with_respect_to_second(q, p, projected=True):
1948  """
1949  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1950  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1951  """
1952  return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, projected)
1953 
1955  """get_identity_rotation_3d() -> Rotation3D"""
1956  return _IMP_algebra.get_identity_rotation_3d()
1957 
1958 def get_rotation_about_normalized_axis(axis_norm, angle):
1959  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1960  return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1961 
1962 def get_rotation_about_axis(axis, angle):
1963  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1964  return _IMP_algebra.get_rotation_about_axis(axis, angle)
1965 
1967  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1968  return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1969 
1970 def get_rotation_from_matrix(*args):
1971  """
1972  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1973  get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
1974  """
1975  return _IMP_algebra.get_rotation_from_matrix(*args)
1976 
1977 def get_random_rotation_3d(*args):
1978  """
1979  get_random_rotation_3d() -> Rotation3D
1980  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1981  """
1982  return _IMP_algebra.get_random_rotation_3d(*args)
1983 
1984 def get_uniform_cover_rotations_3d(num_points):
1985  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1986  return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1987 
1989  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1990  return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1991 
1993  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1994  return _IMP_algebra.get_rotation_from_vector4d(v)
1995 
1996 def get_rotation_from_fixed_xyz(xr, yr, zr):
1997  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1998  return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
1999 
2000 def get_rotation_from_fixed_zxz(phi, theta, psi):
2001  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2002  return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2003 
2004 def get_rotation_from_fixed_zyz(Rot, Tilt, Psi):
2005  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2006  return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2007 class FixedXYZ(_GeometricPrimitive3D):
2008  """Proxy of C++ IMP::algebra::FixedXYZ class."""
2009 
2010  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2011 
2012  def __init__(self, *args):
2013  """
2014  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2015  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2016  """
2017  this = _IMP_algebra.new_FixedXYZ(*args)
2018  try:
2019  self.this.append(this)
2020  except __builtin__.Exception:
2021  self.this = this
2022 
2023  def get_x(self):
2024  """get_x(FixedXYZ self) -> double"""
2025  return _IMP_algebra.FixedXYZ_get_x(self)
2026 
2027 
2028  def get_y(self):
2029  """get_y(FixedXYZ self) -> double"""
2030  return _IMP_algebra.FixedXYZ_get_y(self)
2031 
2032 
2033  def get_z(self):
2034  """get_z(FixedXYZ self) -> double"""
2035  return _IMP_algebra.FixedXYZ_get_z(self)
2036 
2037 
2038  def show(self, *args):
2039  """
2040  show(FixedXYZ self, _ostream out)
2041  show(FixedXYZ self)
2042  """
2043  return _IMP_algebra.FixedXYZ_show(self, *args)
2044 
2045 
2046  def __str__(self):
2047  """__str__(FixedXYZ self) -> std::string"""
2048  return _IMP_algebra.FixedXYZ___str__(self)
2049 
2050 
2051  def __repr__(self):
2052  """__repr__(FixedXYZ self) -> std::string"""
2053  return _IMP_algebra.FixedXYZ___repr__(self)
2054 
2055  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2056  __del__ = lambda self: None
2057 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2058 FixedXYZ_swigregister(FixedXYZ)
2059 
2060 
2062  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2063  return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2064 
2065 def get_interpolated(a, b, f):
2066  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2067  return _IMP_algebra.get_interpolated(a, b, f)
2068 
2069 def get_rotation_from_x_y_axes(x, y):
2070  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2071  return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2072 
2073 def get_axis_and_angle(rot):
2074  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2075  return _IMP_algebra.get_axis_and_angle(rot)
2076 
2078  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2079  return _IMP_algebra.get_unit_bounding_box_kd(d)
2080 
2081 def get_cube_kd(d, radius):
2082  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2083  return _IMP_algebra.get_cube_kd(d, radius)
2084 
2085 def get_edges(arg1):
2086  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2087  return _IMP_algebra.get_edges(arg1)
2088 class Transformation3D(_GeometricPrimitive3D):
2089  """Proxy of C++ IMP::algebra::Transformation3D class."""
2090 
2091  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2092 
2093  def __init__(self, *args):
2094  """
2095  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2096  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2097  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2098  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2099  """
2100  this = _IMP_algebra.new_Transformation3D(*args)
2101  try:
2102  self.this.append(this)
2103  except __builtin__.Exception:
2104  self.this = this
2105  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2106  __del__ = lambda self: None
2107 
2108  def get_transformed(self, o):
2109  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2110  return _IMP_algebra.Transformation3D_get_transformed(self, o)
2111 
2112 
2113  def __mul__(self, *args):
2114  """
2115  __mul__(Transformation3D self, Vector3D v) -> Vector3D
2116  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2117  """
2118  return _IMP_algebra.Transformation3D___mul__(self, *args)
2119 
2120 
2121  def __div__(self, b):
2122  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2123  return _IMP_algebra.Transformation3D___div__(self, b)
2124 
2125 
2126  def get_rotation(self):
2127  """get_rotation(Transformation3D self) -> Rotation3D"""
2128  return _IMP_algebra.Transformation3D_get_rotation(self)
2129 
2130 
2131  def get_translation(self):
2132  """get_translation(Transformation3D self) -> Vector3D"""
2133  return _IMP_algebra.Transformation3D_get_translation(self)
2134 
2135 
2136  def show(self, *args):
2137  """
2138  show(Transformation3D self, _ostream out)
2139  show(Transformation3D self)
2140  """
2141  return _IMP_algebra.Transformation3D_show(self, *args)
2142 
2143 
2144  def get_inverse(self):
2145  """get_inverse(Transformation3D self) -> Transformation3D"""
2146  return _IMP_algebra.Transformation3D_get_inverse(self)
2147 
2148 
2149  def get_is_valid(self):
2150  """get_is_valid(Transformation3D self) -> bool"""
2151  return _IMP_algebra.Transformation3D_get_is_valid(self)
2152 
2153 
2154  def __str__(self):
2155  """__str__(Transformation3D self) -> std::string"""
2156  return _IMP_algebra.Transformation3D___str__(self)
2157 
2158 
2159  def __repr__(self):
2160  """__repr__(Transformation3D self) -> std::string"""
2161  return _IMP_algebra.Transformation3D___repr__(self)
2162 
2163 
2164  __truediv__ = __div__
2165 
2166 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2167 Transformation3D_swigregister(Transformation3D)
2168 
2169 
2171  """get_identity_transformation_3d() -> Transformation3D"""
2172  return _IMP_algebra.get_identity_transformation_3d()
2173 
2174 def get_transformation_3d(t2d):
2175  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2176  return _IMP_algebra.get_transformation_3d(t2d)
2177 
2178 def get_random_local_transformation(origin, max_translation=5., max_angle_in_rad=0.26):
2179  """
2180  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2181  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2182  get_random_local_transformation(Vector3D origin) -> Transformation3D
2183  """
2184  return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2185 class Rotation2D(_GeometricPrimitive2D):
2186  """Proxy of C++ IMP::algebra::Rotation2D class."""
2187 
2188  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2189 
2190  def __init__(self, *args):
2191  """
2192  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2193  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2194  """
2195  this = _IMP_algebra.new_Rotation2D(*args)
2196  try:
2197  self.this.append(this)
2198  except __builtin__.Exception:
2199  self.this = this
2200 
2201  def get_rotated(self, *args):
2202  """
2203  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2204  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2205  """
2206  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2207 
2208 
2209  def get_inverse(self):
2210  """get_inverse(Rotation2D self) -> Rotation2D"""
2211  return _IMP_algebra.Rotation2D_get_inverse(self)
2212 
2213 
2214  def set_angle(self, angle):
2215  """set_angle(Rotation2D self, double angle)"""
2216  return _IMP_algebra.Rotation2D_set_angle(self, angle)
2217 
2218 
2219  def get_angle(self):
2220  """get_angle(Rotation2D self) -> double"""
2221  return _IMP_algebra.Rotation2D_get_angle(self)
2222 
2223 
2224  def show(self, *args):
2225  """
2226  show(Rotation2D self, _ostream out)
2227  show(Rotation2D self)
2228  """
2229  return _IMP_algebra.Rotation2D_show(self, *args)
2230 
2231 
2232  def __str__(self):
2233  """__str__(Rotation2D self) -> std::string"""
2234  return _IMP_algebra.Rotation2D___str__(self)
2235 
2236 
2237  def __repr__(self):
2238  """__repr__(Rotation2D self) -> std::string"""
2239  return _IMP_algebra.Rotation2D___repr__(self)
2240 
2241  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2242  __del__ = lambda self: None
2243 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2244 Rotation2D_swigregister(Rotation2D)
2245 
2246 
2248  """get_identity_rotation_2d() -> Rotation2D"""
2249  return _IMP_algebra.get_identity_rotation_2d()
2250 
2252  """get_random_rotation_2d() -> Rotation2D"""
2253  return _IMP_algebra.get_random_rotation_2d()
2254 
2255 def get_rotation_to_x_axis(v):
2256  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2257  return _IMP_algebra.get_rotation_to_x_axis(v)
2258 class Transformation2D(_GeometricPrimitive2D):
2259  """Proxy of C++ IMP::algebra::Transformation2D class."""
2260 
2261  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2262 
2263  def __init__(self, *args):
2264  """
2265  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2266  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2267  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2268  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2269  """
2270  this = _IMP_algebra.new_Transformation2D(*args)
2271  try:
2272  self.this.append(this)
2273  except __builtin__.Exception:
2274  self.this = this
2275  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2276  __del__ = lambda self: None
2277 
2278  def get_transformed(self, o):
2279  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2280  return _IMP_algebra.Transformation2D_get_transformed(self, o)
2281 
2282 
2283  def __mul__(self, *args):
2284  """
2285  __mul__(Transformation2D self, Vector2D v) -> Vector2D
2286  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2287  """
2288  return _IMP_algebra.Transformation2D___mul__(self, *args)
2289 
2290 
2291  def __div__(self, b):
2292  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2293  return _IMP_algebra.Transformation2D___div__(self, b)
2294 
2295 
2296  def get_rotation(self):
2297  """get_rotation(Transformation2D self) -> Rotation2D"""
2298  return _IMP_algebra.Transformation2D_get_rotation(self)
2299 
2300 
2301  def set_rotation(self, angle):
2302  """set_rotation(Transformation2D self, double angle)"""
2303  return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2304 
2305 
2306  def get_translation(self):
2307  """get_translation(Transformation2D self) -> Vector2D"""
2308  return _IMP_algebra.Transformation2D_get_translation(self)
2309 
2310 
2311  def set_translation(self, v):
2312  """set_translation(Transformation2D self, Vector2D v)"""
2313  return _IMP_algebra.Transformation2D_set_translation(self, v)
2314 
2315 
2316  def show(self, *args):
2317  """
2318  show(Transformation2D self, _ostream out)
2319  show(Transformation2D self)
2320  """
2321  return _IMP_algebra.Transformation2D_show(self, *args)
2322 
2323 
2324  def get_inverse(self):
2325  """get_inverse(Transformation2D self) -> Transformation2D"""
2326  return _IMP_algebra.Transformation2D_get_inverse(self)
2327 
2328 
2329  def __str__(self):
2330  """__str__(Transformation2D self) -> std::string"""
2331  return _IMP_algebra.Transformation2D___str__(self)
2332 
2333 
2334  def __repr__(self):
2335  """__repr__(Transformation2D self) -> std::string"""
2336  return _IMP_algebra.Transformation2D___repr__(self)
2337 
2338 
2339  __truediv__ = __div__
2340 
2341 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2342 Transformation2D_swigregister(Transformation2D)
2343 
2344 
2346  """get_identity_transformation_2d() -> Transformation2D"""
2347  return _IMP_algebra.get_identity_transformation_2d()
2348 
2349 def get_rotation_about_point(*args):
2350  """
2351  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2352  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2353  """
2354  return _IMP_algebra.get_rotation_about_point(*args)
2355 
2356 def compose(*args):
2357  """
2358  compose(Rotation3D a, Rotation3D b) -> Rotation3D
2359  compose(Transformation3D a, Transformation3D b) -> Transformation3D
2360  compose(Rotation2D a, Rotation2D b) -> Rotation2D
2361  compose(Transformation2D a, Transformation2D b) -> Transformation2D
2362  """
2363  return _IMP_algebra.compose(*args)
2364 
2365 def get_unit_sphere_kd(d):
2366  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2367  return _IMP_algebra.get_unit_sphere_kd(d)
2368 
2369 def get_enclosing_sphere(*args):
2370  """
2371  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2372  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2373  """
2374  return _IMP_algebra.get_enclosing_sphere(*args)
2375 
2376 def get_ball_radius_from_volume_3d(volume):
2377  """get_ball_radius_from_volume_3d(double volume) -> double"""
2378  return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2379 
2381  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2382  return _IMP_algebra.get_surface_area_and_volume(ss)
2383 
2384 def get_simplified_from_volume(arg1, maximum_allowed_error_angstroms):
2385  """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2386  return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2387 class Vector1D(_VectorBase1D):
2388  """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2389 
2390  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2391 
2392  def get_unit_vector(self):
2393  """get_unit_vector(Vector1D self) -> Vector1D"""
2394  return _IMP_algebra.Vector1D_get_unit_vector(self)
2395 
2396 
2397  def __div__(self, s):
2398  """__div__(Vector1D self, double s) -> Vector1D"""
2399  return _IMP_algebra.Vector1D___div__(self, s)
2400 
2401 
2402  def __neg__(self):
2403  """__neg__(Vector1D self) -> Vector1D"""
2404  return _IMP_algebra.Vector1D___neg__(self)
2405 
2406 
2407  def __sub__(self, o):
2408  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2409  return _IMP_algebra.Vector1D___sub__(self, o)
2410 
2411 
2412  def __add__(self, ret):
2413  """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2414  return _IMP_algebra.Vector1D___add__(self, ret)
2415 
2416 
2417  def __mul__(self, *args):
2418  """
2419  __mul__(Vector1D self, double s) -> Vector1D
2420  __mul__(Vector1D self, Vector1D o) -> double
2421  """
2422  return _IMP_algebra.Vector1D___mul__(self, *args)
2423 
2424 
2425  def __init__(self, *args):
2426  """
2427  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2428  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2429  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2430  """
2431  this = _IMP_algebra.new_Vector1D(*args)
2432  try:
2433  self.this.append(this)
2434  except __builtin__.Exception:
2435  self.this = this
2436 
2437  def __getitem__(self, index):
2438  """__getitem__(Vector1D self, unsigned int index) -> double"""
2439  return _IMP_algebra.Vector1D___getitem__(self, index)
2440 
2441 
2442  def __setitem__(self, index, val):
2443  """__setitem__(Vector1D self, unsigned int index, double val)"""
2444  return _IMP_algebra.Vector1D___setitem__(self, index, val)
2445 
2446 
2447  def __iadd__(self, *args):
2448  _IMP_algebra.Vector1D___iadd__(self, *args)
2449  return self
2450 
2451 
2452 
2453  def __imul__(self, *args):
2454  _IMP_algebra.Vector1D___imul__(self, *args)
2455  return self
2456 
2457 
2458 
2459  def __idiv__(self, *args):
2460  _IMP_algebra.Vector1D___idiv__(self, *args)
2461  return self
2462 
2463 
2464 
2465  def __isub__(self, *args):
2466  _IMP_algebra.Vector1D___isub__(self, *args)
2467  return self
2468 
2469 
2470 
2471  def __len__(self):
2472  """__len__(Vector1D self) -> unsigned int"""
2473  return _IMP_algebra.Vector1D___len__(self)
2474 
2475 
2476  def __rmul__(self, f):
2477  """__rmul__(Vector1D self, double f) -> Vector1D"""
2478  return _IMP_algebra.Vector1D___rmul__(self, f)
2479 
2480 
2481  def __str__(self):
2482  """__str__(Vector1D self) -> std::string"""
2483  return _IMP_algebra.Vector1D___str__(self)
2484 
2485 
2486  def __repr__(self):
2487  """__repr__(Vector1D self) -> std::string"""
2488  return _IMP_algebra.Vector1D___repr__(self)
2489 
2490 
2491  def __cmp__(self, arg2):
2492  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2493  return _IMP_algebra.Vector1D___cmp__(self, arg2)
2494 
2495 
2496  def __eq__(self, arg2):
2497  """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2498  return _IMP_algebra.Vector1D___eq__(self, arg2)
2499 
2500 
2501  __truediv__ = __div__
2502  __itruediv__ = __idiv__
2503 
2504  __swig_destroy__ = _IMP_algebra.delete_Vector1D
2505  __del__ = lambda self: None
2506 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2507 Vector1D_swigregister(Vector1D)
2508 
2509 class Vector2D(_VectorBase2D):
2510  """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2511 
2512  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2513 
2514  def get_unit_vector(self):
2515  """get_unit_vector(Vector2D self) -> Vector2D"""
2516  return _IMP_algebra.Vector2D_get_unit_vector(self)
2517 
2518 
2519  def __div__(self, s):
2520  """__div__(Vector2D self, double s) -> Vector2D"""
2521  return _IMP_algebra.Vector2D___div__(self, s)
2522 
2523 
2524  def __neg__(self):
2525  """__neg__(Vector2D self) -> Vector2D"""
2526  return _IMP_algebra.Vector2D___neg__(self)
2527 
2528 
2529  def __sub__(self, o):
2530  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2531  return _IMP_algebra.Vector2D___sub__(self, o)
2532 
2533 
2534  def __add__(self, ret):
2535  """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2536  return _IMP_algebra.Vector2D___add__(self, ret)
2537 
2538 
2539  def __mul__(self, *args):
2540  """
2541  __mul__(Vector2D self, double s) -> Vector2D
2542  __mul__(Vector2D self, Vector2D o) -> double
2543  """
2544  return _IMP_algebra.Vector2D___mul__(self, *args)
2545 
2546 
2547  def __init__(self, *args):
2548  """
2549  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2550  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2551  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2552  """
2553  this = _IMP_algebra.new_Vector2D(*args)
2554  try:
2555  self.this.append(this)
2556  except __builtin__.Exception:
2557  self.this = this
2558 
2559  def __getitem__(self, index):
2560  """__getitem__(Vector2D self, unsigned int index) -> double"""
2561  return _IMP_algebra.Vector2D___getitem__(self, index)
2562 
2563 
2564  def __setitem__(self, index, val):
2565  """__setitem__(Vector2D self, unsigned int index, double val)"""
2566  return _IMP_algebra.Vector2D___setitem__(self, index, val)
2567 
2568 
2569  def __iadd__(self, *args):
2570  _IMP_algebra.Vector2D___iadd__(self, *args)
2571  return self
2572 
2573 
2574 
2575  def __imul__(self, *args):
2576  _IMP_algebra.Vector2D___imul__(self, *args)
2577  return self
2578 
2579 
2580 
2581  def __idiv__(self, *args):
2582  _IMP_algebra.Vector2D___idiv__(self, *args)
2583  return self
2584 
2585 
2586 
2587  def __isub__(self, *args):
2588  _IMP_algebra.Vector2D___isub__(self, *args)
2589  return self
2590 
2591 
2592 
2593  def __len__(self):
2594  """__len__(Vector2D self) -> unsigned int"""
2595  return _IMP_algebra.Vector2D___len__(self)
2596 
2597 
2598  def __rmul__(self, f):
2599  """__rmul__(Vector2D self, double f) -> Vector2D"""
2600  return _IMP_algebra.Vector2D___rmul__(self, f)
2601 
2602 
2603  def __str__(self):
2604  """__str__(Vector2D self) -> std::string"""
2605  return _IMP_algebra.Vector2D___str__(self)
2606 
2607 
2608  def __repr__(self):
2609  """__repr__(Vector2D self) -> std::string"""
2610  return _IMP_algebra.Vector2D___repr__(self)
2611 
2612 
2613  def __cmp__(self, arg2):
2614  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2615  return _IMP_algebra.Vector2D___cmp__(self, arg2)
2616 
2617 
2618  def __eq__(self, arg2):
2619  """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2620  return _IMP_algebra.Vector2D___eq__(self, arg2)
2621 
2622 
2623  __truediv__ = __div__
2624  __itruediv__ = __idiv__
2625 
2626  __swig_destroy__ = _IMP_algebra.delete_Vector2D
2627  __del__ = lambda self: None
2628 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2629 Vector2D_swigregister(Vector2D)
2630 
2631 class Vector3D(_VectorBase3D):
2632  """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2633 
2634  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2635 
2636  def get_unit_vector(self):
2637  """get_unit_vector(Vector3D self) -> Vector3D"""
2638  return _IMP_algebra.Vector3D_get_unit_vector(self)
2639 
2640 
2641  def __div__(self, s):
2642  """__div__(Vector3D self, double s) -> Vector3D"""
2643  return _IMP_algebra.Vector3D___div__(self, s)
2644 
2645 
2646  def __neg__(self):
2647  """__neg__(Vector3D self) -> Vector3D"""
2648  return _IMP_algebra.Vector3D___neg__(self)
2649 
2650 
2651  def __sub__(self, o):
2652  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2653  return _IMP_algebra.Vector3D___sub__(self, o)
2654 
2655 
2656  def __add__(self, ret):
2657  """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2658  return _IMP_algebra.Vector3D___add__(self, ret)
2659 
2660 
2661  def __mul__(self, *args):
2662  """
2663  __mul__(Vector3D self, double s) -> Vector3D
2664  __mul__(Vector3D self, Vector3D o) -> double
2665  """
2666  return _IMP_algebra.Vector3D___mul__(self, *args)
2667 
2668 
2669  def __init__(self, *args):
2670  """
2671  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2672  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2673  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2674  """
2675  this = _IMP_algebra.new_Vector3D(*args)
2676  try:
2677  self.this.append(this)
2678  except __builtin__.Exception:
2679  self.this = this
2680 
2681  def __getitem__(self, index):
2682  """__getitem__(Vector3D self, unsigned int index) -> double"""
2683  return _IMP_algebra.Vector3D___getitem__(self, index)
2684 
2685 
2686  def __setitem__(self, index, val):
2687  """__setitem__(Vector3D self, unsigned int index, double val)"""
2688  return _IMP_algebra.Vector3D___setitem__(self, index, val)
2689 
2690 
2691  def __iadd__(self, *args):
2692  _IMP_algebra.Vector3D___iadd__(self, *args)
2693  return self
2694 
2695 
2696 
2697  def __imul__(self, *args):
2698  _IMP_algebra.Vector3D___imul__(self, *args)
2699  return self
2700 
2701 
2702 
2703  def __idiv__(self, *args):
2704  _IMP_algebra.Vector3D___idiv__(self, *args)
2705  return self
2706 
2707 
2708 
2709  def __isub__(self, *args):
2710  _IMP_algebra.Vector3D___isub__(self, *args)
2711  return self
2712 
2713 
2714 
2715  def __len__(self):
2716  """__len__(Vector3D self) -> unsigned int"""
2717  return _IMP_algebra.Vector3D___len__(self)
2718 
2719 
2720  def __rmul__(self, f):
2721  """__rmul__(Vector3D self, double f) -> Vector3D"""
2722  return _IMP_algebra.Vector3D___rmul__(self, f)
2723 
2724 
2725  def __str__(self):
2726  """__str__(Vector3D self) -> std::string"""
2727  return _IMP_algebra.Vector3D___str__(self)
2728 
2729 
2730  def __repr__(self):
2731  """__repr__(Vector3D self) -> std::string"""
2732  return _IMP_algebra.Vector3D___repr__(self)
2733 
2734 
2735  def __cmp__(self, arg2):
2736  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2737  return _IMP_algebra.Vector3D___cmp__(self, arg2)
2738 
2739 
2740  def __eq__(self, arg2):
2741  """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2742  return _IMP_algebra.Vector3D___eq__(self, arg2)
2743 
2744 
2745  __truediv__ = __div__
2746  __itruediv__ = __idiv__
2747 
2748  __swig_destroy__ = _IMP_algebra.delete_Vector3D
2749  __del__ = lambda self: None
2750 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2751 Vector3D_swigregister(Vector3D)
2752 
2753 class Vector4D(_VectorBase4D):
2754  """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2755 
2756  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2757 
2758  def get_unit_vector(self):
2759  """get_unit_vector(Vector4D self) -> Vector4D"""
2760  return _IMP_algebra.Vector4D_get_unit_vector(self)
2761 
2762 
2763  def __div__(self, s):
2764  """__div__(Vector4D self, double s) -> Vector4D"""
2765  return _IMP_algebra.Vector4D___div__(self, s)
2766 
2767 
2768  def __neg__(self):
2769  """__neg__(Vector4D self) -> Vector4D"""
2770  return _IMP_algebra.Vector4D___neg__(self)
2771 
2772 
2773  def __sub__(self, o):
2774  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2775  return _IMP_algebra.Vector4D___sub__(self, o)
2776 
2777 
2778  def __add__(self, ret):
2779  """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2780  return _IMP_algebra.Vector4D___add__(self, ret)
2781 
2782 
2783  def __mul__(self, *args):
2784  """
2785  __mul__(Vector4D self, double s) -> Vector4D
2786  __mul__(Vector4D self, Vector4D o) -> double
2787  """
2788  return _IMP_algebra.Vector4D___mul__(self, *args)
2789 
2790 
2791  def __init__(self, *args):
2792  """
2793  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2794  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2795  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2796  """
2797  this = _IMP_algebra.new_Vector4D(*args)
2798  try:
2799  self.this.append(this)
2800  except __builtin__.Exception:
2801  self.this = this
2802 
2803  def __getitem__(self, index):
2804  """__getitem__(Vector4D self, unsigned int index) -> double"""
2805  return _IMP_algebra.Vector4D___getitem__(self, index)
2806 
2807 
2808  def __setitem__(self, index, val):
2809  """__setitem__(Vector4D self, unsigned int index, double val)"""
2810  return _IMP_algebra.Vector4D___setitem__(self, index, val)
2811 
2812 
2813  def __iadd__(self, *args):
2814  _IMP_algebra.Vector4D___iadd__(self, *args)
2815  return self
2816 
2817 
2818 
2819  def __imul__(self, *args):
2820  _IMP_algebra.Vector4D___imul__(self, *args)
2821  return self
2822 
2823 
2824 
2825  def __idiv__(self, *args):
2826  _IMP_algebra.Vector4D___idiv__(self, *args)
2827  return self
2828 
2829 
2830 
2831  def __isub__(self, *args):
2832  _IMP_algebra.Vector4D___isub__(self, *args)
2833  return self
2834 
2835 
2836 
2837  def __len__(self):
2838  """__len__(Vector4D self) -> unsigned int"""
2839  return _IMP_algebra.Vector4D___len__(self)
2840 
2841 
2842  def __rmul__(self, f):
2843  """__rmul__(Vector4D self, double f) -> Vector4D"""
2844  return _IMP_algebra.Vector4D___rmul__(self, f)
2845 
2846 
2847  def __str__(self):
2848  """__str__(Vector4D self) -> std::string"""
2849  return _IMP_algebra.Vector4D___str__(self)
2850 
2851 
2852  def __repr__(self):
2853  """__repr__(Vector4D self) -> std::string"""
2854  return _IMP_algebra.Vector4D___repr__(self)
2855 
2856 
2857  def __cmp__(self, arg2):
2858  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2859  return _IMP_algebra.Vector4D___cmp__(self, arg2)
2860 
2861 
2862  def __eq__(self, arg2):
2863  """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2864  return _IMP_algebra.Vector4D___eq__(self, arg2)
2865 
2866 
2867  __truediv__ = __div__
2868  __itruediv__ = __idiv__
2869 
2870  __swig_destroy__ = _IMP_algebra.delete_Vector4D
2871  __del__ = lambda self: None
2872 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2873 Vector4D_swigregister(Vector4D)
2874 
2875 class Vector5D(_VectorBase5D):
2876  """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2877 
2878  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2879 
2880  def get_unit_vector(self):
2881  """get_unit_vector(Vector5D self) -> Vector5D"""
2882  return _IMP_algebra.Vector5D_get_unit_vector(self)
2883 
2884 
2885  def __div__(self, s):
2886  """__div__(Vector5D self, double s) -> Vector5D"""
2887  return _IMP_algebra.Vector5D___div__(self, s)
2888 
2889 
2890  def __neg__(self):
2891  """__neg__(Vector5D self) -> Vector5D"""
2892  return _IMP_algebra.Vector5D___neg__(self)
2893 
2894 
2895  def __sub__(self, o):
2896  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2897  return _IMP_algebra.Vector5D___sub__(self, o)
2898 
2899 
2900  def __add__(self, ret):
2901  """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2902  return _IMP_algebra.Vector5D___add__(self, ret)
2903 
2904 
2905  def __mul__(self, *args):
2906  """
2907  __mul__(Vector5D self, double s) -> Vector5D
2908  __mul__(Vector5D self, Vector5D o) -> double
2909  """
2910  return _IMP_algebra.Vector5D___mul__(self, *args)
2911 
2912 
2913  def __init__(self, *args):
2914  """
2915  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2916  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2917  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2918  """
2919  this = _IMP_algebra.new_Vector5D(*args)
2920  try:
2921  self.this.append(this)
2922  except __builtin__.Exception:
2923  self.this = this
2924 
2925  def __getitem__(self, index):
2926  """__getitem__(Vector5D self, unsigned int index) -> double"""
2927  return _IMP_algebra.Vector5D___getitem__(self, index)
2928 
2929 
2930  def __setitem__(self, index, val):
2931  """__setitem__(Vector5D self, unsigned int index, double val)"""
2932  return _IMP_algebra.Vector5D___setitem__(self, index, val)
2933 
2934 
2935  def __iadd__(self, *args):
2936  _IMP_algebra.Vector5D___iadd__(self, *args)
2937  return self
2938 
2939 
2940 
2941  def __imul__(self, *args):
2942  _IMP_algebra.Vector5D___imul__(self, *args)
2943  return self
2944 
2945 
2946 
2947  def __idiv__(self, *args):
2948  _IMP_algebra.Vector5D___idiv__(self, *args)
2949  return self
2950 
2951 
2952 
2953  def __isub__(self, *args):
2954  _IMP_algebra.Vector5D___isub__(self, *args)
2955  return self
2956 
2957 
2958 
2959  def __len__(self):
2960  """__len__(Vector5D self) -> unsigned int"""
2961  return _IMP_algebra.Vector5D___len__(self)
2962 
2963 
2964  def __rmul__(self, f):
2965  """__rmul__(Vector5D self, double f) -> Vector5D"""
2966  return _IMP_algebra.Vector5D___rmul__(self, f)
2967 
2968 
2969  def __str__(self):
2970  """__str__(Vector5D self) -> std::string"""
2971  return _IMP_algebra.Vector5D___str__(self)
2972 
2973 
2974  def __repr__(self):
2975  """__repr__(Vector5D self) -> std::string"""
2976  return _IMP_algebra.Vector5D___repr__(self)
2977 
2978 
2979  def __cmp__(self, arg2):
2980  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2981  return _IMP_algebra.Vector5D___cmp__(self, arg2)
2982 
2983 
2984  def __eq__(self, arg2):
2985  """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2986  return _IMP_algebra.Vector5D___eq__(self, arg2)
2987 
2988 
2989  __truediv__ = __div__
2990  __itruediv__ = __idiv__
2991 
2992  __swig_destroy__ = _IMP_algebra.delete_Vector5D
2993  __del__ = lambda self: None
2994 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2995 Vector5D_swigregister(Vector5D)
2996 
2997 class Vector6D(_VectorBase6D):
2998  """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
2999 
3000  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3001 
3002  def get_unit_vector(self):
3003  """get_unit_vector(Vector6D self) -> Vector6D"""
3004  return _IMP_algebra.Vector6D_get_unit_vector(self)
3005 
3006 
3007  def __div__(self, s):
3008  """__div__(Vector6D self, double s) -> Vector6D"""
3009  return _IMP_algebra.Vector6D___div__(self, s)
3010 
3011 
3012  def __neg__(self):
3013  """__neg__(Vector6D self) -> Vector6D"""
3014  return _IMP_algebra.Vector6D___neg__(self)
3015 
3016 
3017  def __sub__(self, o):
3018  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3019  return _IMP_algebra.Vector6D___sub__(self, o)
3020 
3021 
3022  def __add__(self, ret):
3023  """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3024  return _IMP_algebra.Vector6D___add__(self, ret)
3025 
3026 
3027  def __mul__(self, *args):
3028  """
3029  __mul__(Vector6D self, double s) -> Vector6D
3030  __mul__(Vector6D self, Vector6D o) -> double
3031  """
3032  return _IMP_algebra.Vector6D___mul__(self, *args)
3033 
3034 
3035  def __init__(self, *args):
3036  """
3037  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3038  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3039  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3040  """
3041  this = _IMP_algebra.new_Vector6D(*args)
3042  try:
3043  self.this.append(this)
3044  except __builtin__.Exception:
3045  self.this = this
3046 
3047  def __getitem__(self, index):
3048  """__getitem__(Vector6D self, unsigned int index) -> double"""
3049  return _IMP_algebra.Vector6D___getitem__(self, index)
3050 
3051 
3052  def __setitem__(self, index, val):
3053  """__setitem__(Vector6D self, unsigned int index, double val)"""
3054  return _IMP_algebra.Vector6D___setitem__(self, index, val)
3055 
3056 
3057  def __iadd__(self, *args):
3058  _IMP_algebra.Vector6D___iadd__(self, *args)
3059  return self
3060 
3061 
3062 
3063  def __imul__(self, *args):
3064  _IMP_algebra.Vector6D___imul__(self, *args)
3065  return self
3066 
3067 
3068 
3069  def __idiv__(self, *args):
3070  _IMP_algebra.Vector6D___idiv__(self, *args)
3071  return self
3072 
3073 
3074 
3075  def __isub__(self, *args):
3076  _IMP_algebra.Vector6D___isub__(self, *args)
3077  return self
3078 
3079 
3080 
3081  def __len__(self):
3082  """__len__(Vector6D self) -> unsigned int"""
3083  return _IMP_algebra.Vector6D___len__(self)
3084 
3085 
3086  def __rmul__(self, f):
3087  """__rmul__(Vector6D self, double f) -> Vector6D"""
3088  return _IMP_algebra.Vector6D___rmul__(self, f)
3089 
3090 
3091  def __str__(self):
3092  """__str__(Vector6D self) -> std::string"""
3093  return _IMP_algebra.Vector6D___str__(self)
3094 
3095 
3096  def __repr__(self):
3097  """__repr__(Vector6D self) -> std::string"""
3098  return _IMP_algebra.Vector6D___repr__(self)
3099 
3100 
3101  def __cmp__(self, arg2):
3102  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3103  return _IMP_algebra.Vector6D___cmp__(self, arg2)
3104 
3105 
3106  def __eq__(self, arg2):
3107  """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3108  return _IMP_algebra.Vector6D___eq__(self, arg2)
3109 
3110 
3111  __truediv__ = __div__
3112  __itruediv__ = __idiv__
3113 
3114  __swig_destroy__ = _IMP_algebra.delete_Vector6D
3115  __del__ = lambda self: None
3116 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3117 Vector6D_swigregister(Vector6D)
3118 
3119 class VectorKD(_VectorBaseKD):
3120  """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3121 
3122  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3123 
3124  def get_unit_vector(self):
3125  """get_unit_vector(VectorKD self) -> VectorKD"""
3126  return _IMP_algebra.VectorKD_get_unit_vector(self)
3127 
3128 
3129  def __div__(self, s):
3130  """__div__(VectorKD self, double s) -> VectorKD"""
3131  return _IMP_algebra.VectorKD___div__(self, s)
3132 
3133 
3134  def __neg__(self):
3135  """__neg__(VectorKD self) -> VectorKD"""
3136  return _IMP_algebra.VectorKD___neg__(self)
3137 
3138 
3139  def __sub__(self, o):
3140  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3141  return _IMP_algebra.VectorKD___sub__(self, o)
3142 
3143 
3144  def __add__(self, ret):
3145  """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3146  return _IMP_algebra.VectorKD___add__(self, ret)
3147 
3148 
3149  def __mul__(self, *args):
3150  """
3151  __mul__(VectorKD self, double s) -> VectorKD
3152  __mul__(VectorKD self, VectorKD o) -> double
3153  """
3154  return _IMP_algebra.VectorKD___mul__(self, *args)
3155 
3156 
3157  def __init__(self, *args):
3158  """
3159  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3160  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3161  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3162  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3163  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3164  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3165  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3166  __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3167  """
3168  this = _IMP_algebra.new_VectorKD(*args)
3169  try:
3170  self.this.append(this)
3171  except __builtin__.Exception:
3172  self.this = this
3173 
3174  def __getitem__(self, index):
3175  """__getitem__(VectorKD self, unsigned int index) -> double"""
3176  return _IMP_algebra.VectorKD___getitem__(self, index)
3177 
3178 
3179  def __setitem__(self, index, val):
3180  """__setitem__(VectorKD self, unsigned int index, double val)"""
3181  return _IMP_algebra.VectorKD___setitem__(self, index, val)
3182 
3183 
3184  def __iadd__(self, *args):
3185  _IMP_algebra.VectorKD___iadd__(self, *args)
3186  return self
3187 
3188 
3189 
3190  def __imul__(self, *args):
3191  _IMP_algebra.VectorKD___imul__(self, *args)
3192  return self
3193 
3194 
3195 
3196  def __idiv__(self, *args):
3197  _IMP_algebra.VectorKD___idiv__(self, *args)
3198  return self
3199 
3200 
3201 
3202  def __isub__(self, *args):
3203  _IMP_algebra.VectorKD___isub__(self, *args)
3204  return self
3205 
3206 
3207 
3208  def __len__(self):
3209  """__len__(VectorKD self) -> unsigned int"""
3210  return _IMP_algebra.VectorKD___len__(self)
3211 
3212 
3213  def __rmul__(self, f):
3214  """__rmul__(VectorKD self, double f) -> VectorKD"""
3215  return _IMP_algebra.VectorKD___rmul__(self, f)
3216 
3217 
3218  def __str__(self):
3219  """__str__(VectorKD self) -> std::string"""
3220  return _IMP_algebra.VectorKD___str__(self)
3221 
3222 
3223  def __repr__(self):
3224  """__repr__(VectorKD self) -> std::string"""
3225  return _IMP_algebra.VectorKD___repr__(self)
3226 
3227 
3228  def __cmp__(self, arg2):
3229  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3230  return _IMP_algebra.VectorKD___cmp__(self, arg2)
3231 
3232 
3233  def __eq__(self, arg2):
3234  """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3235  return _IMP_algebra.VectorKD___eq__(self, arg2)
3236 
3237 
3238  __truediv__ = __div__
3239  __itruediv__ = __idiv__
3240 
3241  __swig_destroy__ = _IMP_algebra.delete_VectorKD
3242  __del__ = lambda self: None
3243 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3244 VectorKD_swigregister(VectorKD)
3245 
3246 class BoundingBox1D(object):
3247  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3248 
3249  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3250 
3251  def get_dimension(self):
3252  """get_dimension(BoundingBox1D self) -> unsigned int"""
3253  return _IMP_algebra.BoundingBox1D_get_dimension(self)
3254 
3255 
3256  def get_corner(self, i):
3257  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3258  return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3259 
3260 
3261  def get_contains(self, *args):
3262  """
3263  get_contains(BoundingBox1D self, Vector1D o) -> bool
3264  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3265  """
3266  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3267 
3268 
3269  def show(self, *args):
3270  """
3271  show(BoundingBox1D self, _ostream out)
3272  show(BoundingBox1D self)
3273  """
3274  return _IMP_algebra.BoundingBox1D_show(self, *args)
3275 
3276 
3277  def __str__(self):
3278  """__str__(BoundingBox1D self) -> std::string"""
3279  return _IMP_algebra.BoundingBox1D___str__(self)
3280 
3281 
3282  def __repr__(self):
3283  """__repr__(BoundingBox1D self) -> std::string"""
3284  return _IMP_algebra.BoundingBox1D___repr__(self)
3285 
3286 
3287  def __cmp__(self, arg2):
3288  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3289  return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3290 
3291 
3292  def __eq__(self, arg2):
3293  """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3294  return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3295 
3296 
3297  def __init__(self, *args):
3298  """
3299  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3300  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3301  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3302  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3303  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3304  """
3305  this = _IMP_algebra.new_BoundingBox1D(*args)
3306  try:
3307  self.this.append(this)
3308  except __builtin__.Exception:
3309  self.this = this
3310 
3311  def __getitem__(self, index):
3312  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3313  return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3314 
3315 
3316  def __iadd__(self, *args):
3317  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3318  return self
3319 
3320 
3321 
3322  def __len__(self):
3323  """__len__(BoundingBox1D self) -> unsigned int"""
3324  return _IMP_algebra.BoundingBox1D___len__(self)
3325 
3326 
3327  def __add__(self, *args):
3328  """
3329  __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3330  __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3331  __add__(BoundingBox1D self, double o) -> BoundingBox1D
3332  """
3333  return _IMP_algebra.BoundingBox1D___add__(self, *args)
3334 
3335  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3336  __del__ = lambda self: None
3337 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3338 BoundingBox1D_swigregister(BoundingBox1D)
3339 
3340 class BoundingBox2D(object):
3341  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3342 
3343  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3344 
3345  def get_dimension(self):
3346  """get_dimension(BoundingBox2D self) -> unsigned int"""
3347  return _IMP_algebra.BoundingBox2D_get_dimension(self)
3348 
3349 
3350  def get_corner(self, i):
3351  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3352  return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3353 
3354 
3355  def get_contains(self, *args):
3356  """
3357  get_contains(BoundingBox2D self, Vector2D o) -> bool
3358  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3359  """
3360  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3361 
3362 
3363  def show(self, *args):
3364  """
3365  show(BoundingBox2D self, _ostream out)
3366  show(BoundingBox2D self)
3367  """
3368  return _IMP_algebra.BoundingBox2D_show(self, *args)
3369 
3370 
3371  def __str__(self):
3372  """__str__(BoundingBox2D self) -> std::string"""
3373  return _IMP_algebra.BoundingBox2D___str__(self)
3374 
3375 
3376  def __repr__(self):
3377  """__repr__(BoundingBox2D self) -> std::string"""
3378  return _IMP_algebra.BoundingBox2D___repr__(self)
3379 
3380 
3381  def __cmp__(self, arg2):
3382  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3383  return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3384 
3385 
3386  def __eq__(self, arg2):
3387  """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3388  return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3389 
3390 
3391  def __init__(self, *args):
3392  """
3393  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3394  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3395  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3396  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3397  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3398  """
3399  this = _IMP_algebra.new_BoundingBox2D(*args)
3400  try:
3401  self.this.append(this)
3402  except __builtin__.Exception:
3403  self.this = this
3404 
3405  def __getitem__(self, index):
3406  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3407  return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3408 
3409 
3410  def __iadd__(self, *args):
3411  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3412  return self
3413 
3414 
3415 
3416  def __len__(self):
3417  """__len__(BoundingBox2D self) -> unsigned int"""
3418  return _IMP_algebra.BoundingBox2D___len__(self)
3419 
3420 
3421  def __add__(self, *args):
3422  """
3423  __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3424  __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3425  __add__(BoundingBox2D self, double o) -> BoundingBox2D
3426  """
3427  return _IMP_algebra.BoundingBox2D___add__(self, *args)
3428 
3429  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3430  __del__ = lambda self: None
3431 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3432 BoundingBox2D_swigregister(BoundingBox2D)
3433 
3434 class BoundingBox3D(object):
3435  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3436 
3437  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3438 
3439  def get_dimension(self):
3440  """get_dimension(BoundingBox3D self) -> unsigned int"""
3441  return _IMP_algebra.BoundingBox3D_get_dimension(self)
3442 
3443 
3444  def get_corner(self, i):
3445  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3446  return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3447 
3448 
3449  def get_contains(self, *args):
3450  """
3451  get_contains(BoundingBox3D self, Vector3D o) -> bool
3452  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3453  """
3454  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3455 
3456 
3457  def show(self, *args):
3458  """
3459  show(BoundingBox3D self, _ostream out)
3460  show(BoundingBox3D self)
3461  """
3462  return _IMP_algebra.BoundingBox3D_show(self, *args)
3463 
3464 
3465  def __str__(self):
3466  """__str__(BoundingBox3D self) -> std::string"""
3467  return _IMP_algebra.BoundingBox3D___str__(self)
3468 
3469 
3470  def __repr__(self):
3471  """__repr__(BoundingBox3D self) -> std::string"""
3472  return _IMP_algebra.BoundingBox3D___repr__(self)
3473 
3474 
3475  def __cmp__(self, arg2):
3476  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3477  return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3478 
3479 
3480  def __eq__(self, arg2):
3481  """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3482  return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3483 
3484 
3485  def __init__(self, *args):
3486  """
3487  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3488  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3489  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3490  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3491  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3492  """
3493  this = _IMP_algebra.new_BoundingBox3D(*args)
3494  try:
3495  self.this.append(this)
3496  except __builtin__.Exception:
3497  self.this = this
3498 
3499  def __getitem__(self, index):
3500  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3501  return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3502 
3503 
3504  def __iadd__(self, *args):
3505  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3506  return self
3507 
3508 
3509 
3510  def __len__(self):
3511  """__len__(BoundingBox3D self) -> unsigned int"""
3512  return _IMP_algebra.BoundingBox3D___len__(self)
3513 
3514 
3515  def __add__(self, *args):
3516  """
3517  __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3518  __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3519  __add__(BoundingBox3D self, double o) -> BoundingBox3D
3520  """
3521  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3522 
3523  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3524  __del__ = lambda self: None
3525 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3526 BoundingBox3D_swigregister(BoundingBox3D)
3527 
3528 class BoundingBox4D(object):
3529  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3530 
3531  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3532 
3533  def get_dimension(self):
3534  """get_dimension(BoundingBox4D self) -> unsigned int"""
3535  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3536 
3537 
3538  def get_corner(self, i):
3539  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3540  return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3541 
3542 
3543  def get_contains(self, *args):
3544  """
3545  get_contains(BoundingBox4D self, Vector4D o) -> bool
3546  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3547  """
3548  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3549 
3550 
3551  def show(self, *args):
3552  """
3553  show(BoundingBox4D self, _ostream out)
3554  show(BoundingBox4D self)
3555  """
3556  return _IMP_algebra.BoundingBox4D_show(self, *args)
3557 
3558 
3559  def __str__(self):
3560  """__str__(BoundingBox4D self) -> std::string"""
3561  return _IMP_algebra.BoundingBox4D___str__(self)
3562 
3563 
3564  def __repr__(self):
3565  """__repr__(BoundingBox4D self) -> std::string"""
3566  return _IMP_algebra.BoundingBox4D___repr__(self)
3567 
3568 
3569  def __cmp__(self, arg2):
3570  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3571  return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3572 
3573 
3574  def __eq__(self, arg2):
3575  """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3576  return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3577 
3578 
3579  def __init__(self, *args):
3580  """
3581  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3582  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3583  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3584  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3585  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3586  """
3587  this = _IMP_algebra.new_BoundingBox4D(*args)
3588  try:
3589  self.this.append(this)
3590  except __builtin__.Exception:
3591  self.this = this
3592 
3593  def __getitem__(self, index):
3594  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3595  return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3596 
3597 
3598  def __iadd__(self, *args):
3599  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3600  return self
3601 
3602 
3603 
3604  def __len__(self):
3605  """__len__(BoundingBox4D self) -> unsigned int"""
3606  return _IMP_algebra.BoundingBox4D___len__(self)
3607 
3608 
3609  def __add__(self, *args):
3610  """
3611  __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3612  __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3613  __add__(BoundingBox4D self, double o) -> BoundingBox4D
3614  """
3615  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3616 
3617  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3618  __del__ = lambda self: None
3619 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3620 BoundingBox4D_swigregister(BoundingBox4D)
3621 
3622 class BoundingBox5D(object):
3623  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3624 
3625  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3626 
3627  def get_dimension(self):
3628  """get_dimension(BoundingBox5D self) -> unsigned int"""
3629  return _IMP_algebra.BoundingBox5D_get_dimension(self)
3630 
3631 
3632  def get_corner(self, i):
3633  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3634  return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3635 
3636 
3637  def get_contains(self, *args):
3638  """
3639  get_contains(BoundingBox5D self, Vector5D o) -> bool
3640  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3641  """
3642  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3643 
3644 
3645  def show(self, *args):
3646  """
3647  show(BoundingBox5D self, _ostream out)
3648  show(BoundingBox5D self)
3649  """
3650  return _IMP_algebra.BoundingBox5D_show(self, *args)
3651 
3652 
3653  def __str__(self):
3654  """__str__(BoundingBox5D self) -> std::string"""
3655  return _IMP_algebra.BoundingBox5D___str__(self)
3656 
3657 
3658  def __repr__(self):
3659  """__repr__(BoundingBox5D self) -> std::string"""
3660  return _IMP_algebra.BoundingBox5D___repr__(self)
3661 
3662 
3663  def __cmp__(self, arg2):
3664  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3665  return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3666 
3667 
3668  def __eq__(self, arg2):
3669  """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3670  return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3671 
3672 
3673  def __init__(self, *args):
3674  """
3675  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3676  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3677  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3678  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3679  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3680  """
3681  this = _IMP_algebra.new_BoundingBox5D(*args)
3682  try:
3683  self.this.append(this)
3684  except __builtin__.Exception:
3685  self.this = this
3686 
3687  def __getitem__(self, index):
3688  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3689  return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3690 
3691 
3692  def __iadd__(self, *args):
3693  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3694  return self
3695 
3696 
3697 
3698  def __len__(self):
3699  """__len__(BoundingBox5D self) -> unsigned int"""
3700  return _IMP_algebra.BoundingBox5D___len__(self)
3701 
3702 
3703  def __add__(self, *args):
3704  """
3705  __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3706  __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3707  __add__(BoundingBox5D self, double o) -> BoundingBox5D
3708  """
3709  return _IMP_algebra.BoundingBox5D___add__(self, *args)
3710 
3711  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3712  __del__ = lambda self: None
3713 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3714 BoundingBox5D_swigregister(BoundingBox5D)
3715 
3716 class BoundingBox6D(object):
3717  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3718 
3719  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3720 
3721  def get_dimension(self):
3722  """get_dimension(BoundingBox6D self) -> unsigned int"""
3723  return _IMP_algebra.BoundingBox6D_get_dimension(self)
3724 
3725 
3726  def get_corner(self, i):
3727  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3728  return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3729 
3730 
3731  def get_contains(self, *args):
3732  """
3733  get_contains(BoundingBox6D self, Vector6D o) -> bool
3734  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3735  """
3736  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3737 
3738 
3739  def show(self, *args):
3740  """
3741  show(BoundingBox6D self, _ostream out)
3742  show(BoundingBox6D self)
3743  """
3744  return _IMP_algebra.BoundingBox6D_show(self, *args)
3745 
3746 
3747  def __str__(self):
3748  """__str__(BoundingBox6D self) -> std::string"""
3749  return _IMP_algebra.BoundingBox6D___str__(self)
3750 
3751 
3752  def __repr__(self):
3753  """__repr__(BoundingBox6D self) -> std::string"""
3754  return _IMP_algebra.BoundingBox6D___repr__(self)
3755 
3756 
3757  def __cmp__(self, arg2):
3758  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3759  return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3760 
3761 
3762  def __eq__(self, arg2):
3763  """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3764  return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3765 
3766 
3767  def __init__(self, *args):
3768  """
3769  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3770  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3771  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3772  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3773  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3774  """
3775  this = _IMP_algebra.new_BoundingBox6D(*args)
3776  try:
3777  self.this.append(this)
3778  except __builtin__.Exception:
3779  self.this = this
3780 
3781  def __getitem__(self, index):
3782  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3783  return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3784 
3785 
3786  def __iadd__(self, *args):
3787  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3788  return self
3789 
3790 
3791 
3792  def __len__(self):
3793  """__len__(BoundingBox6D self) -> unsigned int"""
3794  return _IMP_algebra.BoundingBox6D___len__(self)
3795 
3796 
3797  def __add__(self, *args):
3798  """
3799  __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3800  __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3801  __add__(BoundingBox6D self, double o) -> BoundingBox6D
3802  """
3803  return _IMP_algebra.BoundingBox6D___add__(self, *args)
3804 
3805  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3806  __del__ = lambda self: None
3807 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3808 BoundingBox6D_swigregister(BoundingBox6D)
3809 
3810 class BoundingBoxKD(object):
3811  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3812 
3813  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3814 
3815  def get_dimension(self):
3816  """get_dimension(BoundingBoxKD self) -> unsigned int"""
3817  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3818 
3819 
3820  def get_corner(self, i):
3821  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3822  return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3823 
3824 
3825  def get_contains(self, *args):
3826  """
3827  get_contains(BoundingBoxKD self, VectorKD o) -> bool
3828  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3829  """
3830  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3831 
3832 
3833  def show(self, *args):
3834  """
3835  show(BoundingBoxKD self, _ostream out)
3836  show(BoundingBoxKD self)
3837  """
3838  return _IMP_algebra.BoundingBoxKD_show(self, *args)
3839 
3840 
3841  def __str__(self):
3842  """__str__(BoundingBoxKD self) -> std::string"""
3843  return _IMP_algebra.BoundingBoxKD___str__(self)
3844 
3845 
3846  def __repr__(self):
3847  """__repr__(BoundingBoxKD self) -> std::string"""
3848  return _IMP_algebra.BoundingBoxKD___repr__(self)
3849 
3850 
3851  def __cmp__(self, arg2):
3852  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3853  return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3854 
3855 
3856  def __eq__(self, arg2):
3857  """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3858  return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3859 
3860 
3861  def __init__(self, *args):
3862  """
3863  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3864  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3865  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3866  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3867  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3868  """
3869  this = _IMP_algebra.new_BoundingBoxKD(*args)
3870  try:
3871  self.this.append(this)
3872  except __builtin__.Exception:
3873  self.this = this
3874 
3875  def __getitem__(self, index):
3876  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3877  return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3878 
3879 
3880  def __iadd__(self, *args):
3881  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3882  return self
3883 
3884 
3885 
3886  def __len__(self):
3887  """__len__(BoundingBoxKD self) -> unsigned int"""
3888  return _IMP_algebra.BoundingBoxKD___len__(self)
3889 
3890 
3891  def __add__(self, *args):
3892  """
3893  __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3894  __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3895  __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3896  """
3897  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3898 
3899  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3900  __del__ = lambda self: None
3901 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3902 BoundingBoxKD_swigregister(BoundingBoxKD)
3903 
3904 class Sphere1D(_GeometricPrimitive1D):
3905  """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3906 
3907  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3908 
3909  def __init__(self, *args):
3910  """
3911  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3912  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3913  """
3914  this = _IMP_algebra.new_Sphere1D(*args)
3915  try:
3916  self.this.append(this)
3917  except __builtin__.Exception:
3918  self.this = this
3919 
3920  def get_radius(self):
3921  """get_radius(Sphere1D self) -> double"""
3922  return _IMP_algebra.Sphere1D_get_radius(self)
3923 
3924 
3925  def get_center(self):
3926  """get_center(Sphere1D self) -> Vector1D"""
3927  return _IMP_algebra.Sphere1D_get_center(self)
3928 
3929 
3930  def get_contains(self, *args):
3931  """
3932  get_contains(Sphere1D self, Sphere1D o) -> bool
3933  get_contains(Sphere1D self, Vector1D p) -> bool
3934  """
3935  return _IMP_algebra.Sphere1D_get_contains(self, *args)
3936 
3937 
3938  def show(self, *args):
3939  """
3940  show(Sphere1D self, _ostream out)
3941  show(Sphere1D self)
3942  """
3943  return _IMP_algebra.Sphere1D_show(self, *args)
3944 
3945 
3946  def get_dimension(self):
3947  """get_dimension(Sphere1D self) -> unsigned int"""
3948  return _IMP_algebra.Sphere1D_get_dimension(self)
3949 
3950 
3951  def __str__(self):
3952  """__str__(Sphere1D self) -> std::string"""
3953  return _IMP_algebra.Sphere1D___str__(self)
3954 
3955 
3956  def __repr__(self):
3957  """__repr__(Sphere1D self) -> std::string"""
3958  return _IMP_algebra.Sphere1D___repr__(self)
3959 
3960 
3961  def __cmp__(self, arg2):
3962  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3963  return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3964 
3965 
3966  def __eq__(self, arg2):
3967  """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3968  return _IMP_algebra.Sphere1D___eq__(self, arg2)
3969 
3970  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3971  __del__ = lambda self: None
3972 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3973 Sphere1D_swigregister(Sphere1D)
3974 
3975 class Sphere2D(_GeometricPrimitive2D):
3976  """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3977 
3978  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3979 
3980  def __init__(self, *args):
3981  """
3982  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3983  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3984  """
3985  this = _IMP_algebra.new_Sphere2D(*args)
3986  try:
3987  self.this.append(this)
3988  except __builtin__.Exception:
3989  self.this = this
3990 
3991  def get_radius(self):
3992  """get_radius(Sphere2D self) -> double"""
3993  return _IMP_algebra.Sphere2D_get_radius(self)
3994 
3995 
3996  def get_center(self):
3997  """get_center(Sphere2D self) -> Vector2D"""
3998  return _IMP_algebra.Sphere2D_get_center(self)
3999 
4000 
4001  def get_contains(self, *args):
4002  """
4003  get_contains(Sphere2D self, Sphere2D o) -> bool
4004  get_contains(Sphere2D self, Vector2D p) -> bool
4005  """
4006  return _IMP_algebra.Sphere2D_get_contains(self, *args)
4007 
4008 
4009  def show(self, *args):
4010  """
4011  show(Sphere2D self, _ostream out)
4012  show(Sphere2D self)
4013  """
4014  return _IMP_algebra.Sphere2D_show(self, *args)
4015 
4016 
4017  def get_dimension(self):
4018  """get_dimension(Sphere2D self) -> unsigned int"""
4019  return _IMP_algebra.Sphere2D_get_dimension(self)
4020 
4021 
4022  def __str__(self):
4023  """__str__(Sphere2D self) -> std::string"""
4024  return _IMP_algebra.Sphere2D___str__(self)
4025 
4026 
4027  def __repr__(self):
4028  """__repr__(Sphere2D self) -> std::string"""
4029  return _IMP_algebra.Sphere2D___repr__(self)
4030 
4031 
4032  def __cmp__(self, arg2):
4033  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4034  return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4035 
4036 
4037  def __eq__(self, arg2):
4038  """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4039  return _IMP_algebra.Sphere2D___eq__(self, arg2)
4040 
4041  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4042  __del__ = lambda self: None
4043 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4044 Sphere2D_swigregister(Sphere2D)
4045 
4046 class Sphere3D(_GeometricPrimitive3D):
4047  """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4048 
4049  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4050 
4051  def __init__(self, *args):
4052  """
4053  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4054  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4055  """
4056  this = _IMP_algebra.new_Sphere3D(*args)
4057  try:
4058  self.this.append(this)
4059  except __builtin__.Exception:
4060  self.this = this
4061 
4062  def get_radius(self):
4063  """get_radius(Sphere3D self) -> double"""
4064  return _IMP_algebra.Sphere3D_get_radius(self)
4065 
4066 
4067  def get_center(self):
4068  """get_center(Sphere3D self) -> Vector3D"""
4069  return _IMP_algebra.Sphere3D_get_center(self)
4070 
4071 
4072  def get_contains(self, *args):
4073  """
4074  get_contains(Sphere3D self, Sphere3D o) -> bool
4075  get_contains(Sphere3D self, Vector3D p) -> bool
4076  """
4077  return _IMP_algebra.Sphere3D_get_contains(self, *args)
4078 
4079 
4080  def show(self, *args):
4081  """
4082  show(Sphere3D self, _ostream out)
4083  show(Sphere3D self)
4084  """
4085  return _IMP_algebra.Sphere3D_show(self, *args)
4086 
4087 
4088  def get_dimension(self):
4089  """get_dimension(Sphere3D self) -> unsigned int"""
4090  return _IMP_algebra.Sphere3D_get_dimension(self)
4091 
4092 
4093  def __str__(self):
4094  """__str__(Sphere3D self) -> std::string"""
4095  return _IMP_algebra.Sphere3D___str__(self)
4096 
4097 
4098  def __repr__(self):
4099  """__repr__(Sphere3D self) -> std::string"""
4100  return _IMP_algebra.Sphere3D___repr__(self)
4101 
4102 
4103  def __cmp__(self, arg2):
4104  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4105  return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4106 
4107 
4108  def __eq__(self, arg2):
4109  """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4110  return _IMP_algebra.Sphere3D___eq__(self, arg2)
4111 
4112  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4113  __del__ = lambda self: None
4114 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4115 Sphere3D_swigregister(Sphere3D)
4116 
4117 class Sphere4D(_GeometricPrimitive4D):
4118  """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4119 
4120  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4121 
4122  def __init__(self, *args):
4123  """
4124  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4125  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4126  """
4127  this = _IMP_algebra.new_Sphere4D(*args)
4128  try:
4129  self.this.append(this)
4130  except __builtin__.Exception:
4131  self.this = this
4132 
4133  def get_radius(self):
4134  """get_radius(Sphere4D self) -> double"""
4135  return _IMP_algebra.Sphere4D_get_radius(self)
4136 
4137 
4138  def get_center(self):
4139  """get_center(Sphere4D self) -> Vector4D"""
4140  return _IMP_algebra.Sphere4D_get_center(self)
4141 
4142 
4143  def get_contains(self, *args):
4144  """
4145  get_contains(Sphere4D self, Sphere4D o) -> bool
4146  get_contains(Sphere4D self, Vector4D p) -> bool
4147  """
4148  return _IMP_algebra.Sphere4D_get_contains(self, *args)
4149 
4150 
4151  def show(self, *args):
4152  """
4153  show(Sphere4D self, _ostream out)
4154  show(Sphere4D self)
4155  """
4156  return _IMP_algebra.Sphere4D_show(self, *args)
4157 
4158 
4159  def get_dimension(self):
4160  """get_dimension(Sphere4D self) -> unsigned int"""
4161  return _IMP_algebra.Sphere4D_get_dimension(self)
4162 
4163 
4164  def __str__(self):
4165  """__str__(Sphere4D self) -> std::string"""
4166  return _IMP_algebra.Sphere4D___str__(self)
4167 
4168 
4169  def __repr__(self):
4170  """__repr__(Sphere4D self) -> std::string"""
4171  return _IMP_algebra.Sphere4D___repr__(self)
4172 
4173 
4174  def __cmp__(self, arg2):
4175  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4176  return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4177 
4178 
4179  def __eq__(self, arg2):
4180  """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4181  return _IMP_algebra.Sphere4D___eq__(self, arg2)
4182 
4183  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4184  __del__ = lambda self: None
4185 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4186 Sphere4D_swigregister(Sphere4D)
4187 
4188 class Sphere5D(_GeometricPrimitive5D):
4189  """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4190 
4191  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4192 
4193  def __init__(self, *args):
4194  """
4195  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4196  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4197  """
4198  this = _IMP_algebra.new_Sphere5D(*args)
4199  try:
4200  self.this.append(this)
4201  except __builtin__.Exception:
4202  self.this = this
4203 
4204  def get_radius(self):
4205  """get_radius(Sphere5D self) -> double"""
4206  return _IMP_algebra.Sphere5D_get_radius(self)
4207 
4208 
4209  def get_center(self):
4210  """get_center(Sphere5D self) -> Vector5D"""
4211  return _IMP_algebra.Sphere5D_get_center(self)
4212 
4213 
4214  def get_contains(self, *args):
4215  """
4216  get_contains(Sphere5D self, Sphere5D o) -> bool
4217  get_contains(Sphere5D self, Vector5D p) -> bool
4218  """
4219  return _IMP_algebra.Sphere5D_get_contains(self, *args)
4220 
4221 
4222  def show(self, *args):
4223  """
4224  show(Sphere5D self, _ostream out)
4225  show(Sphere5D self)
4226  """
4227  return _IMP_algebra.Sphere5D_show(self, *args)
4228 
4229 
4230  def get_dimension(self):
4231  """get_dimension(Sphere5D self) -> unsigned int"""
4232  return _IMP_algebra.Sphere5D_get_dimension(self)
4233 
4234 
4235  def __str__(self):
4236  """__str__(Sphere5D self) -> std::string"""
4237  return _IMP_algebra.Sphere5D___str__(self)
4238 
4239 
4240  def __repr__(self):
4241  """__repr__(Sphere5D self) -> std::string"""
4242  return _IMP_algebra.Sphere5D___repr__(self)
4243 
4244 
4245  def __cmp__(self, arg2):
4246  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4247  return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4248 
4249 
4250  def __eq__(self, arg2):
4251  """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4252  return _IMP_algebra.Sphere5D___eq__(self, arg2)
4253 
4254  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4255  __del__ = lambda self: None
4256 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4257 Sphere5D_swigregister(Sphere5D)
4258 
4259 class Sphere6D(_GeometricPrimitive6D):
4260  """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4261 
4262  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4263 
4264  def __init__(self, *args):
4265  """
4266  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4267  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4268  """
4269  this = _IMP_algebra.new_Sphere6D(*args)
4270  try:
4271  self.this.append(this)
4272  except __builtin__.Exception:
4273  self.this = this
4274 
4275  def get_radius(self):
4276  """get_radius(Sphere6D self) -> double"""
4277  return _IMP_algebra.Sphere6D_get_radius(self)
4278 
4279 
4280  def get_center(self):
4281  """get_center(Sphere6D self) -> Vector6D"""
4282  return _IMP_algebra.Sphere6D_get_center(self)
4283 
4284 
4285  def get_contains(self, *args):
4286  """
4287  get_contains(Sphere6D self, Sphere6D o) -> bool
4288  get_contains(Sphere6D self, Vector6D p) -> bool
4289  """
4290  return _IMP_algebra.Sphere6D_get_contains(self, *args)
4291 
4292 
4293  def show(self, *args):
4294  """
4295  show(Sphere6D self, _ostream out)
4296  show(Sphere6D self)
4297  """
4298  return _IMP_algebra.Sphere6D_show(self, *args)
4299 
4300 
4301  def get_dimension(self):
4302  """get_dimension(Sphere6D self) -> unsigned int"""
4303  return _IMP_algebra.Sphere6D_get_dimension(self)
4304 
4305 
4306  def __str__(self):
4307  """__str__(Sphere6D self) -> std::string"""
4308  return _IMP_algebra.Sphere6D___str__(self)
4309 
4310 
4311  def __repr__(self):
4312  """__repr__(Sphere6D self) -> std::string"""
4313  return _IMP_algebra.Sphere6D___repr__(self)
4314 
4315 
4316  def __cmp__(self, arg2):
4317  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4318  return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4319 
4320 
4321  def __eq__(self, arg2):
4322  """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4323  return _IMP_algebra.Sphere6D___eq__(self, arg2)
4324 
4325  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4326  __del__ = lambda self: None
4327 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4328 Sphere6D_swigregister(Sphere6D)
4329 
4330 class SphereKD(_GeometricPrimitiveKD):
4331  """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4332 
4333  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4334 
4335  def __init__(self, *args):
4336  """
4337  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4338  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4339  """
4340  this = _IMP_algebra.new_SphereKD(*args)
4341  try:
4342  self.this.append(this)
4343  except __builtin__.Exception:
4344  self.this = this
4345 
4346  def get_radius(self):
4347  """get_radius(SphereKD self) -> double"""
4348  return _IMP_algebra.SphereKD_get_radius(self)
4349 
4350 
4351  def get_center(self):
4352  """get_center(SphereKD self) -> VectorKD"""
4353  return _IMP_algebra.SphereKD_get_center(self)
4354 
4355 
4356  def get_contains(self, *args):
4357  """
4358  get_contains(SphereKD self, SphereKD o) -> bool
4359  get_contains(SphereKD self, VectorKD p) -> bool
4360  """
4361  return _IMP_algebra.SphereKD_get_contains(self, *args)
4362 
4363 
4364  def show(self, *args):
4365  """
4366  show(SphereKD self, _ostream out)
4367  show(SphereKD self)
4368  """
4369  return _IMP_algebra.SphereKD_show(self, *args)
4370 
4371 
4372  def get_dimension(self):
4373  """get_dimension(SphereKD self) -> unsigned int"""
4374  return _IMP_algebra.SphereKD_get_dimension(self)
4375 
4376 
4377  def __str__(self):
4378  """__str__(SphereKD self) -> std::string"""
4379  return _IMP_algebra.SphereKD___str__(self)
4380 
4381 
4382  def __repr__(self):
4383  """__repr__(SphereKD self) -> std::string"""
4384  return _IMP_algebra.SphereKD___repr__(self)
4385 
4386 
4387  def __cmp__(self, arg2):
4388  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4389  return _IMP_algebra.SphereKD___cmp__(self, arg2)
4390 
4391 
4392  def __eq__(self, arg2):
4393  """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4394  return _IMP_algebra.SphereKD___eq__(self, arg2)
4395 
4396  __swig_destroy__ = _IMP_algebra.delete_SphereKD
4397  __del__ = lambda self: None
4398 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4399 SphereKD_swigregister(SphereKD)
4400 
4401 class ReferenceFrame3D(object):
4402  """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4403 
4404  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4405 
4406  def __init__(self, *args):
4407  """
4408  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4409  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4410  """
4411  this = _IMP_algebra.new_ReferenceFrame3D(*args)
4412  try:
4413  self.this.append(this)
4414  except __builtin__.Exception:
4415  self.this = this
4416  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4417  __del__ = lambda self: None
4418 
4419  def get_transformation_to(self):
4420  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4421  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4422 
4423 
4424  def get_transformation_from(self):
4425  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4426  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4427 
4428 
4429  def get_global_coordinates(self, v):
4430  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4431  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4432 
4433 
4434  def get_local_coordinates(self, v):
4435  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4436  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4437 
4438 
4439  def get_global_reference_frame(self, v):
4440  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4441  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4442 
4443 
4444  def get_local_reference_frame(self, v):
4445  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4446  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4447 
4448 
4449  def show(self, *args):
4450  """
4451  show(ReferenceFrame3D self, _ostream out)
4452  show(ReferenceFrame3D self)
4453  """
4454  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4455 
4456 
4457  def __str__(self):
4458  """__str__(ReferenceFrame3D self) -> std::string"""
4459  return _IMP_algebra.ReferenceFrame3D___str__(self)
4460 
4461 
4462  def __repr__(self):
4463  """__repr__(ReferenceFrame3D self) -> std::string"""
4464  return _IMP_algebra.ReferenceFrame3D___repr__(self)
4465 
4466 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4467 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4468 
4469 
4470 def get_transformed(*args):
4471  """
4472  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4473  get_transformed(Line3D l, Transformation3D tr) -> Line3D
4474  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4475  """
4476  return _IMP_algebra.get_transformed(*args)
4477 
4478 def get_transformation_from_first_to_second(a, b):
4479  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4480  return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4481 class SphericalVector3D(_GeometricPrimitive3D):
4482  """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4483 
4484  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4485 
4486  def __init__(self, *args):
4487  """
4488  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4489  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4490  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4491  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4492  """
4493  this = _IMP_algebra.new_SphericalVector3D(*args)
4494  try:
4495  self.this.append(this)
4496  except __builtin__.Exception:
4497  self.this = this
4498 
4499  def get_cartesian_coordinates(self):
4500  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4501  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4502 
4503 
4504  def show(self, *args):
4505  """
4506  show(SphericalVector3D self, _ostream out)
4507  show(SphericalVector3D self)
4508  """
4509  return _IMP_algebra.SphericalVector3D_show(self, *args)
4510 
4511 
4512  def __str__(self):
4513  """__str__(SphericalVector3D self) -> std::string"""
4514  return _IMP_algebra.SphericalVector3D___str__(self)
4515 
4516 
4517  def __repr__(self):
4518  """__repr__(SphericalVector3D self) -> std::string"""
4519  return _IMP_algebra.SphericalVector3D___repr__(self)
4520 
4521 
4522  def __getitem__(self, index):
4523  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4524  return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4525 
4526 
4527  def __setitem__(self, index, val):
4528  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4529  return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4530 
4531  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4532  __del__ = lambda self: None
4533 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4534 SphericalVector3D_swigregister(SphericalVector3D)
4535 
4536 
4537 def get_alignments_from_first_to_second(pca1, pca2):
4538  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4539  return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4540 class Line3D(_GeometricPrimitive3D):
4541  """Proxy of C++ IMP::algebra::Line3D class."""
4542 
4543  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4544 
4545  def __init__(self, *args):
4546  """
4547  __init__(IMP::algebra::Line3D self) -> Line3D
4548  __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4549  __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4550  """
4551  this = _IMP_algebra.new_Line3D(*args)
4552  try:
4553  self.this.append(this)
4554  except __builtin__.Exception:
4555  self.this = this
4556 
4557  def get_direction(self):
4558  """get_direction(Line3D self) -> Vector3D"""
4559  return _IMP_algebra.Line3D_get_direction(self)
4560 
4561 
4562  def get_point_on_line(self):
4563  """get_point_on_line(Line3D self) -> Vector3D"""
4564  return _IMP_algebra.Line3D_get_point_on_line(self)
4565 
4566 
4567  def get_moment(self, *args):
4568  """
4569  get_moment(Line3D self) -> Vector3D
4570  get_moment(Line3D self, Vector3D v) -> Vector3D
4571  """
4572  return _IMP_algebra.Line3D_get_moment(self, *args)
4573 
4574 
4575  def get_reciprocal_product(self, l):
4576  """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4577  return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4578 
4579 
4580  def get_opposite(self):
4581  """get_opposite(Line3D self) -> Line3D"""
4582  return _IMP_algebra.Line3D_get_opposite(self)
4583 
4584 
4585  def get_segment_starting_at(self, v, d):
4586  """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4587  return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4588 
4589 
4590  def show(self, *args):
4591  """
4592  show(Line3D self, _ostream out)
4593  show(Line3D self)
4594  """
4595  return _IMP_algebra.Line3D_show(self, *args)
4596 
4597 
4598  def __str__(self):
4599  """__str__(Line3D self) -> std::string"""
4600  return _IMP_algebra.Line3D___str__(self)
4601 
4602 
4603  def __repr__(self):
4604  """__repr__(Line3D self) -> std::string"""
4605  return _IMP_algebra.Line3D___repr__(self)
4606 
4607  __swig_destroy__ = _IMP_algebra.delete_Line3D
4608  __del__ = lambda self: None
4609 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4610 Line3D_swigregister(Line3D)
4611 
4612 
4613 def get_line_3d_geometry(g):
4614  """get_line_3d_geometry(Line3D g) -> Line3D"""
4615  return _IMP_algebra.get_line_3d_geometry(g)
4616 
4617 def get_projected(*args):
4618  """
4619  get_projected(Line3D l, Vector3D p) -> Vector3D
4620  get_projected(Line3D l, Segment3D s) -> Segment3D
4621  """
4622  return _IMP_algebra.get_projected(*args)
4623 
4624 def get_angle(a, b):
4625  """get_angle(Line3D a, Line3D b) -> double"""
4626  return _IMP_algebra.get_angle(a, b)
4627 
4629  """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4630  return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4631 class Segment3D(_GeometricPrimitive3D):
4632  """Proxy of C++ IMP::algebra::Segment3D class."""
4633 
4634  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4635 
4636  def __init__(self, *args):
4637  """
4638  __init__(IMP::algebra::Segment3D self) -> Segment3D
4639  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4640  """
4641  this = _IMP_algebra.new_Segment3D(*args)
4642  try:
4643  self.this.append(this)
4644  except __builtin__.Exception:
4645  self.this = this
4646 
4647  def get_point(self, i):
4648  if i < 0 or i >= 2:
4649  raise IMP.UsageException("Invalid point index")
4650  return _IMP_algebra.Segment3D_get_point(self, i)
4651 
4652 
4653 
4654  def get_middle_point(self):
4655  """get_middle_point(Segment3D self) -> Vector3D"""
4656  return _IMP_algebra.Segment3D_get_middle_point(self)
4657 
4658 
4659  def get_direction(self):
4660  """get_direction(Segment3D self) -> Vector3D"""
4661  return _IMP_algebra.Segment3D_get_direction(self)
4662 
4663 
4664  def get_length(self):
4665  """get_length(Segment3D self) -> double"""
4666  return _IMP_algebra.Segment3D_get_length(self)
4667 
4668 
4669  def show(self, *args):
4670  """
4671  show(Segment3D self, _ostream out)
4672  show(Segment3D self)
4673  """
4674  return _IMP_algebra.Segment3D_show(self, *args)
4675 
4676 
4677  def __str__(self):
4678  """__str__(Segment3D self) -> std::string"""
4679  return _IMP_algebra.Segment3D___str__(self)
4680 
4681 
4682  def __repr__(self):
4683  """__repr__(Segment3D self) -> std::string"""
4684  return _IMP_algebra.Segment3D___repr__(self)
4685 
4686  __swig_destroy__ = _IMP_algebra.delete_Segment3D
4687  __del__ = lambda self: None
4688 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4689 Segment3D_swigregister(Segment3D)
4690 
4691 
4692 def get_segment_3d_geometry(g):
4693  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4694  return _IMP_algebra.get_segment_3d_geometry(g)
4695 
4697  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4698  return _IMP_algebra.get_relative_projection_on_segment(s, p)
4699 class Triangle3D(_GeometricPrimitive3D):
4700  """Proxy of C++ IMP::algebra::Triangle3D class."""
4701 
4702  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4703 
4704  def __init__(self, *args):
4705  """
4706  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4707  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4708  """
4709  this = _IMP_algebra.new_Triangle3D(*args)
4710  try:
4711  self.this.append(this)
4712  except __builtin__.Exception:
4713  self.this = this
4714 
4715  def get_point(self, i):
4716  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4717  return _IMP_algebra.Triangle3D_get_point(self, i)
4718 
4719 
4720  def show(self, *args):
4721  """
4722  show(Triangle3D self, _ostream out)
4723  show(Triangle3D self)
4724  """
4725  return _IMP_algebra.Triangle3D_show(self, *args)
4726 
4727 
4728  def get_edge_lengths(self):
4729  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4730  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4731 
4732 
4733  def __str__(self):
4734  """__str__(Triangle3D self) -> std::string"""
4735  return _IMP_algebra.Triangle3D___str__(self)
4736 
4737 
4738  def __repr__(self):
4739  """__repr__(Triangle3D self) -> std::string"""
4740  return _IMP_algebra.Triangle3D___repr__(self)
4741 
4742  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4743  __del__ = lambda self: None
4744 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4745 Triangle3D_swigregister(Triangle3D)
4746 
4747 
4748 def get_largest_triangle(points):
4749  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4750  return _IMP_algebra.get_largest_triangle(points)
4751 
4752 def get_transformation_from_first_triangle_to_second(first_tri, second_tri):
4753  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4754  return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4755 
4756 def get_are_colinear(p1, p2, p3):
4757  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4758  return _IMP_algebra.get_are_colinear(p1, p2, p3)
4759 class LinearFit2D(_GeometricPrimitive2D):
4760  """Proxy of C++ IMP::algebra::LinearFit2D class."""
4761 
4762  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4763 
4764  def __init__(self, *args):
4765  """
4766  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4767  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4768  """
4769  this = _IMP_algebra.new_LinearFit2D(*args)
4770  try:
4771  self.this.append(this)
4772  except __builtin__.Exception:
4773  self.this = this
4774 
4775  def get_fit_error(self):
4776  """get_fit_error(LinearFit2D self) -> double"""
4777  return _IMP_algebra.LinearFit2D_get_fit_error(self)
4778 
4779 
4780  def get_a(self):
4781  """get_a(LinearFit2D self) -> double"""
4782  return _IMP_algebra.LinearFit2D_get_a(self)
4783 
4784 
4785  def get_b(self):
4786  """get_b(LinearFit2D self) -> double"""
4787  return _IMP_algebra.LinearFit2D_get_b(self)
4788 
4789 
4790  def show(self, *args):
4791  """
4792  show(LinearFit2D self, _ostream out)
4793  show(LinearFit2D self)
4794  """
4795  return _IMP_algebra.LinearFit2D_show(self, *args)
4796 
4797 
4798  def __str__(self):
4799  """__str__(LinearFit2D self) -> std::string"""
4800  return _IMP_algebra.LinearFit2D___str__(self)
4801 
4802 
4803  def __repr__(self):
4804  """__repr__(LinearFit2D self) -> std::string"""
4805  return _IMP_algebra.LinearFit2D___repr__(self)
4806 
4807  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4808  __del__ = lambda self: None
4809 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4810 LinearFit2D_swigregister(LinearFit2D)
4811 
4812 class ParabolicFit2D(_GeometricPrimitive2D):
4813  """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4814 
4815  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4816 
4817  def __init__(self, data):
4818  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4819  this = _IMP_algebra.new_ParabolicFit2D(data)
4820  try:
4821  self.this.append(this)
4822  except __builtin__.Exception:
4823  self.this = this
4824 
4825  def get_fit_error(self):
4826  """get_fit_error(ParabolicFit2D self) -> double"""
4827  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4828 
4829 
4830  def get_a(self):
4831  """get_a(ParabolicFit2D self) -> double"""
4832  return _IMP_algebra.ParabolicFit2D_get_a(self)
4833 
4834 
4835  def get_b(self):
4836  """get_b(ParabolicFit2D self) -> double"""
4837  return _IMP_algebra.ParabolicFit2D_get_b(self)
4838 
4839 
4840  def get_c(self):
4841  """get_c(ParabolicFit2D self) -> double"""
4842  return _IMP_algebra.ParabolicFit2D_get_c(self)
4843 
4844 
4845  def show(self, *args):
4846  """
4847  show(ParabolicFit2D self, _ostream out)
4848  show(ParabolicFit2D self)
4849  """
4850  return _IMP_algebra.ParabolicFit2D_show(self, *args)
4851 
4852 
4853  def __str__(self):
4854  """__str__(ParabolicFit2D self) -> std::string"""
4855  return _IMP_algebra.ParabolicFit2D___str__(self)
4856 
4857 
4858  def __repr__(self):
4859  """__repr__(ParabolicFit2D self) -> std::string"""
4860  return _IMP_algebra.ParabolicFit2D___repr__(self)
4861 
4862  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4863  __del__ = lambda self: None
4864 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4865 ParabolicFit2D_swigregister(ParabolicFit2D)
4866 
4867 class Plane3D(_GeometricPrimitive3D):
4868  """Proxy of C++ IMP::algebra::Plane3D class."""
4869 
4870  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4871 
4872  def __init__(self, *args):
4873  """
4874  __init__(IMP::algebra::Plane3D self) -> Plane3D
4875  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4876  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4877  """
4878  this = _IMP_algebra.new_Plane3D(*args)
4879  try:
4880  self.this.append(this)
4881  except __builtin__.Exception:
4882  self.this = this
4883 
4884  def get_point_on_plane(self):
4885  """get_point_on_plane(Plane3D self) -> Vector3D"""
4886  return _IMP_algebra.Plane3D_get_point_on_plane(self)
4887 
4888 
4889  def get_normal(self):
4890  """get_normal(Plane3D self) -> Vector3D"""
4891  return _IMP_algebra.Plane3D_get_normal(self)
4892 
4893 
4894  def get_projected(self, p):
4895  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4896  return _IMP_algebra.Plane3D_get_projected(self, p)
4897 
4898 
4899  def get_is_above(self, p):
4900  """get_is_above(Plane3D self, Vector3D p) -> bool"""
4901  return _IMP_algebra.Plane3D_get_is_above(self, p)
4902 
4903 
4904  def get_is_below(self, p):
4905  """get_is_below(Plane3D self, Vector3D p) -> bool"""
4906  return _IMP_algebra.Plane3D_get_is_below(self, p)
4907 
4908 
4909  def get_height(self, p):
4910  """get_height(Plane3D self, Vector3D p) -> double"""
4911  return _IMP_algebra.Plane3D_get_height(self, p)
4912 
4913 
4914  def show(self, *args):
4915  """
4916  show(Plane3D self, _ostream out)
4917  show(Plane3D self)
4918  """
4919  return _IMP_algebra.Plane3D_show(self, *args)
4920 
4921 
4922  def get_opposite(self):
4923  """get_opposite(Plane3D self) -> Plane3D"""
4924  return _IMP_algebra.Plane3D_get_opposite(self)
4925 
4926 
4927  def get_distance_from_origin(self):
4928  """get_distance_from_origin(Plane3D self) -> double"""
4929  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4930 
4931 
4932  def __str__(self):
4933  """__str__(Plane3D self) -> std::string"""
4934  return _IMP_algebra.Plane3D___str__(self)
4935 
4936 
4937  def __repr__(self):
4938  """__repr__(Plane3D self) -> std::string"""
4939  return _IMP_algebra.Plane3D___repr__(self)
4940 
4941  __swig_destroy__ = _IMP_algebra.delete_Plane3D
4942  __del__ = lambda self: None
4943 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4944 Plane3D_swigregister(Plane3D)
4945 
4946 
4947 def get_reflected(pln, p):
4948  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4949  return _IMP_algebra.get_reflected(pln, p)
4950 
4951 def get_plane_3d_geometry(g):
4952  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4953  return _IMP_algebra.get_plane_3d_geometry(g)
4954 class Reflection3D(_GeometricPrimitive3D):
4955  """Proxy of C++ IMP::algebra::Reflection3D class."""
4956 
4957  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4958 
4959  def __init__(self, *args):
4960  """
4961  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4962  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4963  """
4964  this = _IMP_algebra.new_Reflection3D(*args)
4965  try:
4966  self.this.append(this)
4967  except __builtin__.Exception:
4968  self.this = this
4969 
4970  def get_reflected(self, v):
4971  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4972  return _IMP_algebra.Reflection3D_get_reflected(self, v)
4973 
4974 
4975  def show(self, *args):
4976  """
4977  show(Reflection3D self, _ostream out)
4978  show(Reflection3D self)
4979  """
4980  return _IMP_algebra.Reflection3D_show(self, *args)
4981 
4982 
4983  def __str__(self):
4984  """__str__(Reflection3D self) -> std::string"""
4985  return _IMP_algebra.Reflection3D___str__(self)
4986 
4987 
4988  def __repr__(self):
4989  """__repr__(Reflection3D self) -> std::string"""
4990  return _IMP_algebra.Reflection3D___repr__(self)
4991 
4992  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4993  __del__ = lambda self: None
4994 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4995 Reflection3D_swigregister(Reflection3D)
4996 
4997 class Cylinder3D(_GeometricPrimitive3D):
4998  """Proxy of C++ IMP::algebra::Cylinder3D class."""
4999 
5000  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5001 
5002  def __init__(self, *args):
5003  """
5004  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5005  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5006  """
5007  this = _IMP_algebra.new_Cylinder3D(*args)
5008  try:
5009  self.this.append(this)
5010  except __builtin__.Exception:
5011  self.this = this
5012 
5013  def get_radius(self):
5014  """get_radius(Cylinder3D self) -> double"""
5015  return _IMP_algebra.Cylinder3D_get_radius(self)
5016 
5017 
5018  def get_segment(self):
5019  """get_segment(Cylinder3D self) -> Segment3D"""
5020  return _IMP_algebra.Cylinder3D_get_segment(self)
5021 
5022 
5023  def get_surface_point_at(self, relative_height, angle):
5024  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5025  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5026 
5027 
5028  def get_inner_point_at(self, relative_height, relative_radius, angle):
5029  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5030  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5031 
5032 
5033  def show(self, *args):
5034  """
5035  show(Cylinder3D self, _ostream out)
5036  show(Cylinder3D self)
5037  """
5038  return _IMP_algebra.Cylinder3D_show(self, *args)
5039 
5040 
5041  def __str__(self):
5042  """__str__(Cylinder3D self) -> std::string"""
5043  return _IMP_algebra.Cylinder3D___str__(self)
5044 
5045 
5046  def __repr__(self):
5047  """__repr__(Cylinder3D self) -> std::string"""
5048  return _IMP_algebra.Cylinder3D___repr__(self)
5049 
5050  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5051  __del__ = lambda self: None
5052 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5053 Cylinder3D_swigregister(Cylinder3D)
5054 
5055 
5056 def get_cylinder_3d_geometry(g):
5057  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5058  return _IMP_algebra.get_cylinder_3d_geometry(g)
5059 class Ellipsoid3D(_GeometricPrimitive3D):
5060  """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5061 
5062  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5063 
5064  def __init__(self, *args):
5065  """
5066  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5067  __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5068  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5069  """
5070  this = _IMP_algebra.new_Ellipsoid3D(*args)
5071  try:
5072  self.this.append(this)
5073  except __builtin__.Exception:
5074  self.this = this
5075 
5076  def get_radii(self):
5077  """get_radii(Ellipsoid3D self) -> Vector3D"""
5078  return _IMP_algebra.Ellipsoid3D_get_radii(self)
5079 
5080 
5081  def get_reference_frame(self):
5082  """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5083  return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5084 
5085 
5086  def show(self, *args):
5087  """
5088  show(Ellipsoid3D self, _ostream out)
5089  show(Ellipsoid3D self)
5090  """
5091  return _IMP_algebra.Ellipsoid3D_show(self, *args)
5092 
5093 
5094  def __str__(self):
5095  """__str__(Ellipsoid3D self) -> std::string"""
5096  return _IMP_algebra.Ellipsoid3D___str__(self)
5097 
5098 
5099  def __repr__(self):
5100  """__repr__(Ellipsoid3D self) -> std::string"""
5101  return _IMP_algebra.Ellipsoid3D___repr__(self)
5102 
5103  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5104  __del__ = lambda self: None
5105 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5106 Ellipsoid3D_swigregister(Ellipsoid3D)
5107 
5108 
5109 def get_ellipsoid_3d_geometry(g):
5110  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5111  return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5112 class ConnollySurfacePoint(object):
5113  """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5114 
5115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5116 
5117  def __init__(self, a0, a1, a2, sp, a, n):
5118  """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5119  this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5120  try:
5121  self.this.append(this)
5122  except __builtin__.Exception:
5123  self.this = this
5124 
5125  def get_atom(self, i):
5126  """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5127  return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5128 
5129 
5130  def get_surface_point(self):
5131  """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5132  return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5133 
5134 
5135  def get_area(self):
5136  """get_area(ConnollySurfacePoint self) -> double"""
5137  return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5138 
5139 
5140  def get_normal(self):
5141  """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5142  return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5143 
5144 
5145  def show(self, *args):
5146  """
5147  show(ConnollySurfacePoint self, _ostream out)
5148  show(ConnollySurfacePoint self)
5149  """
5150  return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5151 
5152 
5153  def __str__(self):
5154  """__str__(ConnollySurfacePoint self) -> std::string"""
5155  return _IMP_algebra.ConnollySurfacePoint___str__(self)
5156 
5157 
5158  def __repr__(self):
5159  """__repr__(ConnollySurfacePoint self) -> std::string"""
5160  return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5161 
5162  __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5163  __del__ = lambda self: None
5164 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5165 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5166 
5167 
5168 def get_connolly_surface(spheres, density, probe_radius):
5169  """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5170  return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5171 class LogEmbedding3D(object):
5172  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5173 
5174  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5175 
5176  def __init__(self, *args):
5177  """
5178  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5179  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5180  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5181  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5182  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5183  """
5184  this = _IMP_algebra.new_LogEmbedding3D(*args)
5185  try:
5186  self.this.append(this)
5187  except __builtin__.Exception:
5188  self.this = this
5189 
5190  def set_origin(self, o):
5191  """set_origin(LogEmbedding3D self, Vector3D o)"""
5192  return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5193 
5194 
5195  def get_origin(self):
5196  """get_origin(LogEmbedding3D self) -> Vector3D"""
5197  return _IMP_algebra.LogEmbedding3D_get_origin(self)
5198 
5199 
5200  def get_dimension(self):
5201  """get_dimension(LogEmbedding3D self) -> unsigned int"""
5202  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5203 
5204 
5205  def set_unit_cell(self, *args):
5206  """
5207  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5208  set_unit_cell(LogEmbedding3D self, Vector3D o)
5209  """
5210  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5211 
5212 
5213  def get_unit_cell(self):
5214  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5215  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5216 
5217 
5218  def get_extended_index(self, o):
5219  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5220  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5221 
5222 
5223  def get_index(self, o):
5224  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5225  return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5226 
5227 
5228  def get_center(self, *args):
5229  """
5230  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5231  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5232  """
5233  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5234 
5235 
5236  def get_bounding_box(self, *args):
5237  """
5238  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5239  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5240  """
5241  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5242 
5243 
5244  def show(self, *args):
5245  """
5246  show(LogEmbedding3D self, _ostream out)
5247  show(LogEmbedding3D self)
5248  """
5249  return _IMP_algebra.LogEmbedding3D_show(self, *args)
5250 
5251 
5252  def __str__(self):
5253  """__str__(LogEmbedding3D self) -> std::string"""
5254  return _IMP_algebra.LogEmbedding3D___str__(self)
5255 
5256 
5257  def __repr__(self):
5258  """__repr__(LogEmbedding3D self) -> std::string"""
5259  return _IMP_algebra.LogEmbedding3D___repr__(self)
5260 
5261 
5262  def __cmp__(self, arg2):
5263  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5264  return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5265 
5266 
5267  def __eq__(self, arg2):
5268  """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5269  return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5270 
5271  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5272  __del__ = lambda self: None
5273 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5274 LogEmbedding3D_swigregister(LogEmbedding3D)
5275 
5276 class LogEmbeddingKD(object):
5277  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5278 
5279  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5280 
5281  def __init__(self, *args):
5282  """
5283  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5284  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5285  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5286  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5287  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5288  """
5289  this = _IMP_algebra.new_LogEmbeddingKD(*args)
5290  try:
5291  self.this.append(this)
5292  except __builtin__.Exception:
5293  self.this = this
5294 
5295  def set_origin(self, o):
5296  """set_origin(LogEmbeddingKD self, VectorKD o)"""
5297  return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5298 
5299 
5300  def get_origin(self):
5301  """get_origin(LogEmbeddingKD self) -> VectorKD"""
5302  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5303 
5304 
5305  def get_dimension(self):
5306  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5307  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5308 
5309 
5310  def set_unit_cell(self, *args):
5311  """
5312  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5313  set_unit_cell(LogEmbeddingKD self, VectorKD o)
5314  """
5315  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5316 
5317 
5318  def get_unit_cell(self):
5319  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5320  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5321 
5322 
5323  def get_extended_index(self, o):
5324  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5325  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5326 
5327 
5328  def get_index(self, o):
5329  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5330  return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5331 
5332 
5333  def get_center(self, *args):
5334  """
5335  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5336  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5337  """
5338  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5339 
5340 
5341  def get_bounding_box(self, *args):
5342  """
5343  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5344  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5345  """
5346  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5347 
5348 
5349  def show(self, *args):
5350  """
5351  show(LogEmbeddingKD self, _ostream out)
5352  show(LogEmbeddingKD self)
5353  """
5354  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5355 
5356 
5357  def __str__(self):
5358  """__str__(LogEmbeddingKD self) -> std::string"""
5359  return _IMP_algebra.LogEmbeddingKD___str__(self)
5360 
5361 
5362  def __repr__(self):
5363  """__repr__(LogEmbeddingKD self) -> std::string"""
5364  return _IMP_algebra.LogEmbeddingKD___repr__(self)
5365 
5366 
5367  def __cmp__(self, arg2):
5368  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5369  return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5370 
5371 
5372  def __eq__(self, arg2):
5373  """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5374  return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5375 
5376  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5377  __del__ = lambda self: None
5378 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5379 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5380 
5381 class DenseFloatLogGridKD(object):
5382  """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5383 
5384  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5385 
5386  def __init__(self, sz, le):
5387  """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5388  this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5389  try:
5390  self.this.append(this)
5391  except __builtin__.Exception:
5392  self.this = this
5393 
5394  def add_voxel(self, i, q):
5395  """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5396  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5397 
5398 
5399  def __getitem__(self, *args):
5400  """
5401  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5402  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5403  """
5404  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5405 
5406 
5407  def __setitem__(self, *args):
5408  """
5409  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5410  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5411  """
5412  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5413 
5414 
5415  def get_bounding_box(self, *args):
5416  """
5417  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5418  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5419  """
5420  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5421 
5422 
5423  def get_indexes(self, *args):
5424  """
5425  get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5426  get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5427  """
5428  return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5429 
5430 
5431  def get_all_indexes(self):
5432  """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5433  return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5434 
5435 
5436  def get_extended_indexes(self, *args):
5437  """
5438  get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5439  get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5440  """
5441  return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5442 
5443 
5444  def get_center(self, *args):
5445  """
5446  get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5447  get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5448  """
5449  return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5450 
5451 
5452  def get_extended_index(self, v):
5453  """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5454  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5455 
5456 
5457  def get_index(self, v):
5458  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5459  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5460 
5461 
5462  def get_origin(self):
5463  """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5464  return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5465 
5466 
5467  def get_dimension(self):
5468  """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5469  return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5470 
5471 
5472  def get_unit_cell(self):
5473  """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5474  return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5475 
5476 
5477  def get_has_index(self, v):
5478  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5479  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5480 
5481 
5482  def __str__(self):
5483  """__str__(DenseFloatLogGridKD self) -> std::string"""
5484  return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5485 
5486 
5487  def __repr__(self):
5488  """__repr__(DenseFloatLogGridKD self) -> std::string"""
5489  return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5490 
5491 
5492  def show(self, *args):
5493  """
5494  show(DenseFloatLogGridKD self, _ostream out)
5495  show(DenseFloatLogGridKD self)
5496  """
5497  return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5498 
5499  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5500  __del__ = lambda self: None
5501 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5502 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5503 
5504 class DenseIntLogGrid3D(object):
5505  """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5506 
5507  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5508 
5509  def __init__(self, sz, le):
5510  """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5511  this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5512  try:
5513  self.this.append(this)
5514  except __builtin__.Exception:
5515  self.this = this
5516 
5517  def add_voxel(self, i, q):
5518  """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5519  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5520 
5521 
5522  def __getitem__(self, *args):
5523  """
5524  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5525  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5526  """
5527  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5528 
5529 
5530  def __setitem__(self, *args):
5531  """
5532  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5533  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5534  """
5535  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5536 
5537 
5538  def get_bounding_box(self, *args):
5539  """
5540  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5541  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5542  """
5543  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5544 
5545 
5546  def get_indexes(self, *args):
5547  """
5548  get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5549  get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5550  """
5551  return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5552 
5553 
5554  def get_all_indexes(self):
5555  """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5556  return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5557 
5558 
5559  def get_extended_indexes(self, *args):
5560  """
5561  get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5562  get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5563  """
5564  return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5565 
5566 
5567  def get_center(self, *args):
5568  """
5569  get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5570  get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5571  """
5572  return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5573 
5574 
5575  def get_extended_index(self, v):
5576  """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5577  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5578 
5579 
5580  def get_index(self, v):
5581  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5582  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5583 
5584 
5585  def get_origin(self):
5586  """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5587  return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5588 
5589 
5590  def get_dimension(self):
5591  """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5592  return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5593 
5594 
5595  def get_unit_cell(self):
5596  """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5597  return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5598 
5599 
5600  def get_has_index(self, v):
5601  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5602  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5603 
5604 
5605  def __str__(self):
5606  """__str__(DenseIntLogGrid3D self) -> std::string"""
5607  return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5608 
5609 
5610  def __repr__(self):
5611  """__repr__(DenseIntLogGrid3D self) -> std::string"""
5612  return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5613 
5614 
5615  def show(self, *args):
5616  """
5617  show(DenseIntLogGrid3D self, _ostream out)
5618  show(DenseIntLogGrid3D self)
5619  """
5620  return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5621 
5622  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5623  __del__ = lambda self: None
5624 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5625 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5626 
5627 class DenseDoubleGrid3D(object):
5628  """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5629 
5630  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5631 
5632  def __init__(self, *args):
5633  """
5634  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5635  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5636  __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5637  """
5638  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5639  try:
5640  self.this.append(this)
5641  except __builtin__.Exception:
5642  self.this = this
5643 
5644  def add_voxel(self, i, q):
5645  """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5646  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5647 
5648 
5649  def __getitem__(self, *args):
5650  """
5651  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5652  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5653  """
5654  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5655 
5656 
5657  def __setitem__(self, *args):
5658  """
5659  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5660  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5661  """
5662  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5663 
5664 
5665  def get_bounding_box(self, *args):
5666  """
5667  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5668  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5669  """
5670  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5671 
5672 
5673  def get_indexes(self, *args):
5674  """
5675  get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5676  get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5677  """
5678  return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5679 
5680 
5681  def get_all_indexes(self):
5682  """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5683  return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5684 
5685 
5686  def get_extended_indexes(self, *args):
5687  """
5688  get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5689  get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5690  """
5691  return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5692 
5693 
5694  def get_center(self, *args):
5695  """
5696  get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5697  get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5698  """
5699  return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5700 
5701 
5702  def get_extended_index(self, v):
5703  """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5704  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5705 
5706 
5707  def get_index(self, v):
5708  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5709  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5710 
5711 
5712  def get_origin(self):
5713  """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5714  return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5715 
5716 
5717  def get_dimension(self):
5718  """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5719  return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5720 
5721 
5722  def get_unit_cell(self):
5723  """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5724  return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5725 
5726 
5727  def get_has_index(self, v):
5728  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5729  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5730 
5731 
5732  def __str__(self):
5733  """__str__(DenseDoubleGrid3D self) -> std::string"""
5734  return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5735 
5736 
5737  def __repr__(self):
5738  """__repr__(DenseDoubleGrid3D self) -> std::string"""
5739  return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5740 
5741 
5742  def show(self, *args):
5743  """
5744  show(DenseDoubleGrid3D self, _ostream out)
5745  show(DenseDoubleGrid3D self)
5746  """
5747  return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5748 
5749  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5750  __del__ = lambda self: None
5751 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5752 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5753 
5754 class DenseFloatGrid3D(object):
5755  """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5756 
5757  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5758 
5759  def __init__(self, *args):
5760  """
5761  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5762  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5763  __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5764  """
5765  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5766  try:
5767  self.this.append(this)
5768  except __builtin__.Exception:
5769  self.this = this
5770 
5771  def add_voxel(self, i, q):
5772  """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5773  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5774 
5775 
5776  def __getitem__(self, *args):
5777  """
5778  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5779  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5780  """
5781  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5782 
5783 
5784  def __setitem__(self, *args):
5785  """
5786  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5787  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5788  """
5789  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5790 
5791 
5792  def get_bounding_box(self, *args):
5793  """
5794  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5795  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5796  """
5797  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5798 
5799 
5800  def get_indexes(self, *args):
5801  """
5802  get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5803  get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5804  """
5805  return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5806 
5807 
5808  def get_all_indexes(self):
5809  """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5810  return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5811 
5812 
5813  def get_extended_indexes(self, *args):
5814  """
5815  get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5816  get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5817  """
5818  return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5819 
5820 
5821  def get_center(self, *args):
5822  """
5823  get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5824  get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5825  """
5826  return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5827 
5828 
5829  def get_extended_index(self, v):
5830  """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5831  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5832 
5833 
5834  def get_index(self, v):
5835  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5836  return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5837 
5838 
5839  def get_origin(self):
5840  """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5841  return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5842 
5843 
5844  def get_dimension(self):
5845  """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5846  return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5847 
5848 
5849  def get_unit_cell(self):
5850  """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5851  return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5852 
5853 
5854  def get_has_index(self, v):
5855  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5856  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5857 
5858 
5859  def __str__(self):
5860  """__str__(DenseFloatGrid3D self) -> std::string"""
5861  return _IMP_algebra.DenseFloatGrid3D___str__(self)
5862 
5863 
5864  def __repr__(self):
5865  """__repr__(DenseFloatGrid3D self) -> std::string"""
5866  return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5867 
5868 
5869  def show(self, *args):
5870  """
5871  show(DenseFloatGrid3D self, _ostream out)
5872  show(DenseFloatGrid3D self)
5873  """
5874  return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5875 
5876  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5877  __del__ = lambda self: None
5878 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5879 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5880 
5881 class SparseUnboundedIntGrid3D(object):
5882  """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5883 
5884  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5885 
5886  def __init__(self, *args):
5887  """
5888  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5889  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5890  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5891  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5892  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5893  """
5894  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5895  try:
5896  self.this.append(this)
5897  except __builtin__.Exception:
5898  self.this = this
5899 
5900  def add_voxel(self, i, q):
5901  """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5902  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5903 
5904 
5905  def __getitem__(self, *args):
5906  """
5907  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5908  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5909  """
5910  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5911 
5912 
5913  def __setitem__(self, *args):
5914  """
5915  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5916  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5917  """
5918  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5919 
5920 
5921  def get_bounding_box(self, *args):
5922  """
5923  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5924  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5925  """
5926  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5927 
5928 
5929  def get_indexes(self, *args):
5930  """
5931  get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5932  get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5933  """
5934  return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5935 
5936 
5937  def get_all_indexes(self):
5938  """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5939  return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5940 
5941 
5942  def get_extended_indexes(self, *args):
5943  """
5944  get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5945  get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5946  """
5947  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5948 
5949 
5950  def get_center(self, *args):
5951  """
5952  get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5953  get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5954  """
5955  return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5956 
5957 
5958  def get_extended_index(self, v):
5959  """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5960  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5961 
5962 
5963  def get_index(self, v):
5964  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5965  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5966 
5967 
5968  def get_origin(self):
5969  """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5970  return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5971 
5972 
5973  def get_dimension(self):
5974  """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5975  return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5976 
5977 
5978  def get_unit_cell(self):
5979  """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5980  return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5981 
5982 
5983  def get_has_index(self, v):
5984  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5985  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5986 
5987 
5988  def __str__(self):
5989  """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5990  return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5991 
5992 
5993  def __repr__(self):
5994  """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5995  return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5996 
5997 
5998  def show(self, *args):
5999  """
6000  show(SparseUnboundedIntGrid3D self, _ostream out)
6001  show(SparseUnboundedIntGrid3D self)
6002  """
6003  return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6004 
6005  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6006  __del__ = lambda self: None
6007 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6008 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6009 
6010 class SparseUnboundedIntGridKD(object):
6011  """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
6012 
6013  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6014 
6015  def __init__(self, *args):
6016  """
6017  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6018  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6019  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6020  """
6021  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6022  try:
6023  self.this.append(this)
6024  except __builtin__.Exception:
6025  self.this = this
6026 
6027  def add_voxel(self, i, q):
6028  """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6029  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6030 
6031 
6032  def __getitem__(self, *args):
6033  """
6034  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6035  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6036  """
6037  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6038 
6039 
6040  def __setitem__(self, *args):
6041  """
6042  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6043  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6044  """
6045  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6046 
6047 
6048  def get_bounding_box(self, *args):
6049  """
6050  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6051  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6052  """
6053  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6054 
6055 
6056  def get_indexes(self, *args):
6057  """
6058  get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6059  get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6060  """
6061  return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6062 
6063 
6064  def get_all_indexes(self):
6065  """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6066  return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6067 
6068 
6069  def get_extended_indexes(self, *args):
6070  """
6071  get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6072  get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6073  """
6074  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6075 
6076 
6077  def get_center(self, *args):
6078  """
6079  get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6080  get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6081  """
6082  return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6083 
6084 
6085  def get_extended_index(self, v):
6086  """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6087  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6088 
6089 
6090  def get_index(self, v):
6091  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6092  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6093 
6094 
6095  def get_origin(self):
6096  """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6097  return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6098 
6099 
6100  def get_dimension(self):
6101  """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6102  return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6103 
6104 
6105  def get_unit_cell(self):
6106  """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6107  return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6108 
6109 
6110  def get_has_index(self, v):
6111  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6112  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6113 
6114 
6115  def __str__(self):
6116  """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6117  return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6118 
6119 
6120  def __repr__(self):
6121  """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6122  return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6123 
6124 
6125  def show(self, *args):
6126  """
6127  show(SparseUnboundedIntGridKD self, _ostream out)
6128  show(SparseUnboundedIntGridKD self)
6129  """
6130  return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6131 
6132  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6133  __del__ = lambda self: None
6134 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6135 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6136 
6137 class GridIndex1D(IMP._Value):
6138  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6139 
6140  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6141 
6142  def __init__(self, *args):
6143  """
6144  __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6145  __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6146  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6147  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6148  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6149  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6150  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6151  """
6152  this = _IMP_algebra.new_GridIndex1D(*args)
6153  try:
6154  self.this.append(this)
6155  except __builtin__.Exception:
6156  self.this = this
6157 
6158  def get_dimension(self):
6159  """get_dimension(GridIndex1D self) -> unsigned int"""
6160  return _IMP_algebra.GridIndex1D_get_dimension(self)
6161 
6162 
6163  def __getitem__(self, i):
6164  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6165  return _IMP_algebra.GridIndex1D___getitem__(self, i)
6166 
6167 
6168  def show(self, *args):
6169  """
6170  show(GridIndex1D self, _ostream out)
6171  show(GridIndex1D self)
6172  """
6173  return _IMP_algebra.GridIndex1D_show(self, *args)
6174 
6175 
6176  def __len__(self):
6177  """__len__(GridIndex1D self) -> unsigned int"""
6178  return _IMP_algebra.GridIndex1D___len__(self)
6179 
6180 
6181  def __cmp__(self, o):
6182  """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6183  return _IMP_algebra.GridIndex1D___cmp__(self, o)
6184 
6185 
6186  def __eq__(self, o):
6187  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6188  return _IMP_algebra.GridIndex1D___eq__(self, o)
6189 
6190 
6191  def __ne__(self, o):
6192  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6193  return _IMP_algebra.GridIndex1D___ne__(self, o)
6194 
6195 
6196  def __lt__(self, o):
6197  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6198  return _IMP_algebra.GridIndex1D___lt__(self, o)
6199 
6200 
6201  def __gt__(self, o):
6202  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6203  return _IMP_algebra.GridIndex1D___gt__(self, o)
6204 
6205 
6206  def __ge__(self, o):
6207  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6208  return _IMP_algebra.GridIndex1D___ge__(self, o)
6209 
6210 
6211  def __le__(self, o):
6212  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6213  return _IMP_algebra.GridIndex1D___le__(self, o)
6214 
6215 
6216  def __hash__(self):
6217  """__hash__(GridIndex1D self) -> std::size_t"""
6218  return _IMP_algebra.GridIndex1D___hash__(self)
6219 
6220 
6221  def __str__(self):
6222  """__str__(GridIndex1D self) -> std::string"""
6223  return _IMP_algebra.GridIndex1D___str__(self)
6224 
6225 
6226  def __repr__(self):
6227  """__repr__(GridIndex1D self) -> std::string"""
6228  return _IMP_algebra.GridIndex1D___repr__(self)
6229 
6230  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6231  __del__ = lambda self: None
6232 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6233 GridIndex1D_swigregister(GridIndex1D)
6234 
6235 class GridIndex2D(IMP._Value):
6236  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6237 
6238  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6239 
6240  def __init__(self, *args):
6241  """
6242  __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6243  __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6244  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6245  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6246  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6247  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6248  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6249  """
6250  this = _IMP_algebra.new_GridIndex2D(*args)
6251  try:
6252  self.this.append(this)
6253  except __builtin__.Exception:
6254  self.this = this
6255 
6256  def get_dimension(self):
6257  """get_dimension(GridIndex2D self) -> unsigned int"""
6258  return _IMP_algebra.GridIndex2D_get_dimension(self)
6259 
6260 
6261  def __getitem__(self, i):
6262  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6263  return _IMP_algebra.GridIndex2D___getitem__(self, i)
6264 
6265 
6266  def show(self, *args):
6267  """
6268  show(GridIndex2D self, _ostream out)
6269  show(GridIndex2D self)
6270  """
6271  return _IMP_algebra.GridIndex2D_show(self, *args)
6272 
6273 
6274  def __len__(self):
6275  """__len__(GridIndex2D self) -> unsigned int"""
6276  return _IMP_algebra.GridIndex2D___len__(self)
6277 
6278 
6279  def __cmp__(self, o):
6280  """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6281  return _IMP_algebra.GridIndex2D___cmp__(self, o)
6282 
6283 
6284  def __eq__(self, o):
6285  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6286  return _IMP_algebra.GridIndex2D___eq__(self, o)
6287 
6288 
6289  def __ne__(self, o):
6290  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6291  return _IMP_algebra.GridIndex2D___ne__(self, o)
6292 
6293 
6294  def __lt__(self, o):
6295  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6296  return _IMP_algebra.GridIndex2D___lt__(self, o)
6297 
6298 
6299  def __gt__(self, o):
6300  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6301  return _IMP_algebra.GridIndex2D___gt__(self, o)
6302 
6303 
6304  def __ge__(self, o):
6305  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6306  return _IMP_algebra.GridIndex2D___ge__(self, o)
6307 
6308 
6309  def __le__(self, o):
6310  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6311  return _IMP_algebra.GridIndex2D___le__(self, o)
6312 
6313 
6314  def __hash__(self):
6315  """__hash__(GridIndex2D self) -> std::size_t"""
6316  return _IMP_algebra.GridIndex2D___hash__(self)
6317 
6318 
6319  def __str__(self):
6320  """__str__(GridIndex2D self) -> std::string"""
6321  return _IMP_algebra.GridIndex2D___str__(self)
6322 
6323 
6324  def __repr__(self):
6325  """__repr__(GridIndex2D self) -> std::string"""
6326  return _IMP_algebra.GridIndex2D___repr__(self)
6327 
6328  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6329  __del__ = lambda self: None
6330 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6331 GridIndex2D_swigregister(GridIndex2D)
6332 
6333 class GridIndex3D(IMP._Value):
6334  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6335 
6336  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6337 
6338  def __init__(self, *args):
6339  """
6340  __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6341  __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6342  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6343  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6344  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6345  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6346  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6347  """
6348  this = _IMP_algebra.new_GridIndex3D(*args)
6349  try:
6350  self.this.append(this)
6351  except __builtin__.Exception:
6352  self.this = this
6353 
6354  def get_dimension(self):
6355  """get_dimension(GridIndex3D self) -> unsigned int"""
6356  return _IMP_algebra.GridIndex3D_get_dimension(self)
6357 
6358 
6359  def __getitem__(self, i):
6360  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6361  return _IMP_algebra.GridIndex3D___getitem__(self, i)
6362 
6363 
6364  def show(self, *args):
6365  """
6366  show(GridIndex3D self, _ostream out)
6367  show(GridIndex3D self)
6368  """
6369  return _IMP_algebra.GridIndex3D_show(self, *args)
6370 
6371 
6372  def __len__(self):
6373  """__len__(GridIndex3D self) -> unsigned int"""
6374  return _IMP_algebra.GridIndex3D___len__(self)
6375 
6376 
6377  def __cmp__(self, o):
6378  """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6379  return _IMP_algebra.GridIndex3D___cmp__(self, o)
6380 
6381 
6382  def __eq__(self, o):
6383  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6384  return _IMP_algebra.GridIndex3D___eq__(self, o)
6385 
6386 
6387  def __ne__(self, o):
6388  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6389  return _IMP_algebra.GridIndex3D___ne__(self, o)
6390 
6391 
6392  def __lt__(self, o):
6393  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6394  return _IMP_algebra.GridIndex3D___lt__(self, o)
6395 
6396 
6397  def __gt__(self, o):
6398  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6399  return _IMP_algebra.GridIndex3D___gt__(self, o)
6400 
6401 
6402  def __ge__(self, o):
6403  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6404  return _IMP_algebra.GridIndex3D___ge__(self, o)
6405 
6406 
6407  def __le__(self, o):
6408  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6409  return _IMP_algebra.GridIndex3D___le__(self, o)
6410 
6411 
6412  def __hash__(self):
6413  """__hash__(GridIndex3D self) -> std::size_t"""
6414  return _IMP_algebra.GridIndex3D___hash__(self)
6415 
6416 
6417  def __str__(self):
6418  """__str__(GridIndex3D self) -> std::string"""
6419  return _IMP_algebra.GridIndex3D___str__(self)
6420 
6421 
6422  def __repr__(self):
6423  """__repr__(GridIndex3D self) -> std::string"""
6424  return _IMP_algebra.GridIndex3D___repr__(self)
6425 
6426  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6427  __del__ = lambda self: None
6428 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6429 GridIndex3D_swigregister(GridIndex3D)
6430 
6431 class GridIndex4D(IMP._Value):
6432  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6433 
6434  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6435 
6436  def __init__(self, *args):
6437  """
6438  __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6439  __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6440  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6441  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6442  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6443  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6444  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6445  """
6446  this = _IMP_algebra.new_GridIndex4D(*args)
6447  try:
6448  self.this.append(this)
6449  except __builtin__.Exception:
6450  self.this = this
6451 
6452  def get_dimension(self):
6453  """get_dimension(GridIndex4D self) -> unsigned int"""
6454  return _IMP_algebra.GridIndex4D_get_dimension(self)
6455 
6456 
6457  def __getitem__(self, i):
6458  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6459  return _IMP_algebra.GridIndex4D___getitem__(self, i)
6460 
6461 
6462  def show(self, *args):
6463  """
6464  show(GridIndex4D self, _ostream out)
6465  show(GridIndex4D self)
6466  """
6467  return _IMP_algebra.GridIndex4D_show(self, *args)
6468 
6469 
6470  def __len__(self):
6471  """__len__(GridIndex4D self) -> unsigned int"""
6472  return _IMP_algebra.GridIndex4D___len__(self)
6473 
6474 
6475  def __cmp__(self, o):
6476  """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6477  return _IMP_algebra.GridIndex4D___cmp__(self, o)
6478 
6479 
6480  def __eq__(self, o):
6481  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6482  return _IMP_algebra.GridIndex4D___eq__(self, o)
6483 
6484 
6485  def __ne__(self, o):
6486  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6487  return _IMP_algebra.GridIndex4D___ne__(self, o)
6488 
6489 
6490  def __lt__(self, o):
6491  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6492  return _IMP_algebra.GridIndex4D___lt__(self, o)
6493 
6494 
6495  def __gt__(self, o):
6496  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6497  return _IMP_algebra.GridIndex4D___gt__(self, o)
6498 
6499 
6500  def __ge__(self, o):
6501  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6502  return _IMP_algebra.GridIndex4D___ge__(self, o)
6503 
6504 
6505  def __le__(self, o):
6506  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6507  return _IMP_algebra.GridIndex4D___le__(self, o)
6508 
6509 
6510  def __hash__(self):
6511  """__hash__(GridIndex4D self) -> std::size_t"""
6512  return _IMP_algebra.GridIndex4D___hash__(self)
6513 
6514 
6515  def __str__(self):
6516  """__str__(GridIndex4D self) -> std::string"""
6517  return _IMP_algebra.GridIndex4D___str__(self)
6518 
6519 
6520  def __repr__(self):
6521  """__repr__(GridIndex4D self) -> std::string"""
6522  return _IMP_algebra.GridIndex4D___repr__(self)
6523 
6524  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6525  __del__ = lambda self: None
6526 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6527 GridIndex4D_swigregister(GridIndex4D)
6528 
6529 class GridIndex5D(IMP._Value):
6530  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6531 
6532  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6533 
6534  def __init__(self, *args):
6535  """
6536  __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6537  __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6538  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6539  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6540  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6541  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6542  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6543  """
6544  this = _IMP_algebra.new_GridIndex5D(*args)
6545  try:
6546  self.this.append(this)
6547  except __builtin__.Exception:
6548  self.this = this
6549 
6550  def get_dimension(self):
6551  """get_dimension(GridIndex5D self) -> unsigned int"""
6552  return _IMP_algebra.GridIndex5D_get_dimension(self)
6553 
6554 
6555  def __getitem__(self, i):
6556  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6557  return _IMP_algebra.GridIndex5D___getitem__(self, i)
6558 
6559 
6560  def show(self, *args):
6561  """
6562  show(GridIndex5D self, _ostream out)
6563  show(GridIndex5D self)
6564  """
6565  return _IMP_algebra.GridIndex5D_show(self, *args)
6566 
6567 
6568  def __len__(self):
6569  """__len__(GridIndex5D self) -> unsigned int"""
6570  return _IMP_algebra.GridIndex5D___len__(self)
6571 
6572 
6573  def __cmp__(self, o):
6574  """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6575  return _IMP_algebra.GridIndex5D___cmp__(self, o)
6576 
6577 
6578  def __eq__(self, o):
6579  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6580  return _IMP_algebra.GridIndex5D___eq__(self, o)
6581 
6582 
6583  def __ne__(self, o):
6584  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6585  return _IMP_algebra.GridIndex5D___ne__(self, o)
6586 
6587 
6588  def __lt__(self, o):
6589  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6590  return _IMP_algebra.GridIndex5D___lt__(self, o)
6591 
6592 
6593  def __gt__(self, o):
6594  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6595  return _IMP_algebra.GridIndex5D___gt__(self, o)
6596 
6597 
6598  def __ge__(self, o):
6599  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6600  return _IMP_algebra.GridIndex5D___ge__(self, o)
6601 
6602 
6603  def __le__(self, o):
6604  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6605  return _IMP_algebra.GridIndex5D___le__(self, o)
6606 
6607 
6608  def __hash__(self):
6609  """__hash__(GridIndex5D self) -> std::size_t"""
6610  return _IMP_algebra.GridIndex5D___hash__(self)
6611 
6612 
6613  def __str__(self):
6614  """__str__(GridIndex5D self) -> std::string"""
6615  return _IMP_algebra.GridIndex5D___str__(self)
6616 
6617 
6618  def __repr__(self):
6619  """__repr__(GridIndex5D self) -> std::string"""
6620  return _IMP_algebra.GridIndex5D___repr__(self)
6621 
6622  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6623  __del__ = lambda self: None
6624 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6625 GridIndex5D_swigregister(GridIndex5D)
6626 
6627 class GridIndex6D(IMP._Value):
6628  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6629 
6630  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6631 
6632  def __init__(self, *args):
6633  """
6634  __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6635  __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6636  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6637  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6638  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6639  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6640  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6641  """
6642  this = _IMP_algebra.new_GridIndex6D(*args)
6643  try:
6644  self.this.append(this)
6645  except __builtin__.Exception:
6646  self.this = this
6647 
6648  def get_dimension(self):
6649  """get_dimension(GridIndex6D self) -> unsigned int"""
6650  return _IMP_algebra.GridIndex6D_get_dimension(self)
6651 
6652 
6653  def __getitem__(self, i):
6654  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6655  return _IMP_algebra.GridIndex6D___getitem__(self, i)
6656 
6657 
6658  def show(self, *args):
6659  """
6660  show(GridIndex6D self, _ostream out)
6661  show(GridIndex6D self)
6662  """
6663  return _IMP_algebra.GridIndex6D_show(self, *args)
6664 
6665 
6666  def __len__(self):
6667  """__len__(GridIndex6D self) -> unsigned int"""
6668  return _IMP_algebra.GridIndex6D___len__(self)
6669 
6670 
6671  def __cmp__(self, o):
6672  """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6673  return _IMP_algebra.GridIndex6D___cmp__(self, o)
6674 
6675 
6676  def __eq__(self, o):
6677  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6678  return _IMP_algebra.GridIndex6D___eq__(self, o)
6679 
6680 
6681  def __ne__(self, o):
6682  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6683  return _IMP_algebra.GridIndex6D___ne__(self, o)
6684 
6685 
6686  def __lt__(self, o):
6687  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6688  return _IMP_algebra.GridIndex6D___lt__(self, o)
6689 
6690 
6691  def __gt__(self, o):
6692  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6693  return _IMP_algebra.GridIndex6D___gt__(self, o)
6694 
6695 
6696  def __ge__(self, o):
6697  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6698  return _IMP_algebra.GridIndex6D___ge__(self, o)
6699 
6700 
6701  def __le__(self, o):
6702  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6703  return _IMP_algebra.GridIndex6D___le__(self, o)
6704 
6705 
6706  def __hash__(self):
6707  """__hash__(GridIndex6D self) -> std::size_t"""
6708  return _IMP_algebra.GridIndex6D___hash__(self)
6709 
6710 
6711  def __str__(self):
6712  """__str__(GridIndex6D self) -> std::string"""
6713  return _IMP_algebra.GridIndex6D___str__(self)
6714 
6715 
6716  def __repr__(self):
6717  """__repr__(GridIndex6D self) -> std::string"""
6718  return _IMP_algebra.GridIndex6D___repr__(self)
6719 
6720  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6721  __del__ = lambda self: None
6722 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6723 GridIndex6D_swigregister(GridIndex6D)
6724 
6725 class GridIndexKD(IMP._Value):
6726  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6727 
6728  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6729 
6730  def __init__(self, *args):
6731  """
6732  __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6733  __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6734  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6735  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6736  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6737  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6738  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6739  """
6740  this = _IMP_algebra.new_GridIndexKD(*args)
6741  try:
6742  self.this.append(this)
6743  except __builtin__.Exception:
6744  self.this = this
6745 
6746  def get_dimension(self):
6747  """get_dimension(GridIndexKD self) -> unsigned int"""
6748  return _IMP_algebra.GridIndexKD_get_dimension(self)
6749 
6750 
6751  def __getitem__(self, i):
6752  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6753  return _IMP_algebra.GridIndexKD___getitem__(self, i)
6754 
6755 
6756  def show(self, *args):
6757  """
6758  show(GridIndexKD self, _ostream out)
6759  show(GridIndexKD self)
6760  """
6761  return _IMP_algebra.GridIndexKD_show(self, *args)
6762 
6763 
6764  def __len__(self):
6765  """__len__(GridIndexKD self) -> unsigned int"""
6766  return _IMP_algebra.GridIndexKD___len__(self)
6767 
6768 
6769  def __cmp__(self, o):
6770  """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6771  return _IMP_algebra.GridIndexKD___cmp__(self, o)
6772 
6773 
6774  def __eq__(self, o):
6775  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6776  return _IMP_algebra.GridIndexKD___eq__(self, o)
6777 
6778 
6779  def __ne__(self, o):
6780  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6781  return _IMP_algebra.GridIndexKD___ne__(self, o)
6782 
6783 
6784  def __lt__(self, o):
6785  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6786  return _IMP_algebra.GridIndexKD___lt__(self, o)
6787 
6788 
6789  def __gt__(self, o):
6790  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6791  return _IMP_algebra.GridIndexKD___gt__(self, o)
6792 
6793 
6794  def __ge__(self, o):
6795  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6796  return _IMP_algebra.GridIndexKD___ge__(self, o)
6797 
6798 
6799  def __le__(self, o):
6800  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6801  return _IMP_algebra.GridIndexKD___le__(self, o)
6802 
6803 
6804  def __hash__(self):
6805  """__hash__(GridIndexKD self) -> std::size_t"""
6806  return _IMP_algebra.GridIndexKD___hash__(self)
6807 
6808 
6809  def __str__(self):
6810  """__str__(GridIndexKD self) -> std::string"""
6811  return _IMP_algebra.GridIndexKD___str__(self)
6812 
6813 
6814  def __repr__(self):
6815  """__repr__(GridIndexKD self) -> std::string"""
6816  return _IMP_algebra.GridIndexKD___repr__(self)
6817 
6818  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6819  __del__ = lambda self: None
6820 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6821 GridIndexKD_swigregister(GridIndexKD)
6822 
6823 class ExtendedGridIndex1D(IMP._Value):
6824  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6825 
6826  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6827 
6828  def __init__(self, *args):
6829  """
6830  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6831  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6832  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6833  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6834  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6835  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6836  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6837  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6838  """
6839  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6840  try:
6841  self.this.append(this)
6842  except __builtin__.Exception:
6843  self.this = this
6844 
6845  def get_dimension(self):
6846  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6847  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6848 
6849 
6850  def __cmp__(self, o):
6851  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6852  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6853 
6854 
6855  def __eq__(self, o):
6856  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6857  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6858 
6859 
6860  def __ne__(self, o):
6861  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6862  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6863 
6864 
6865  def __lt__(self, o):
6866  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6867  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6868 
6869 
6870  def __gt__(self, o):
6871  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6872  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6873 
6874 
6875  def __ge__(self, o):
6876  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6877  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6878 
6879 
6880  def __le__(self, o):
6881  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6882  return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6883 
6884 
6885  def __setitem__(self, i, v):
6886  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6887  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6888 
6889 
6890  def __getitem__(self, i):
6891  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6892  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6893 
6894 
6895  def show(self, *args):
6896  """
6897  show(ExtendedGridIndex1D self, _ostream out)
6898  show(ExtendedGridIndex1D self)
6899  """
6900  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6901 
6902 
6903  def __len__(self):
6904  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6905  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6906 
6907 
6908  def __hash__(self):
6909  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6910  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6911 
6912 
6913  def get_uniform_offset(self, ii):
6914  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6915  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6916 
6917 
6918  def get_offset(self, i, j, k):
6919  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6920  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6921 
6922 
6923  def __str__(self):
6924  """__str__(ExtendedGridIndex1D self) -> std::string"""
6925  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6926 
6927 
6928  def __repr__(self):
6929  """__repr__(ExtendedGridIndex1D self) -> std::string"""
6930  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6931 
6932  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6933  __del__ = lambda self: None
6934 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6935 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6936 
6937 class ExtendedGridIndex2D(IMP._Value):
6938  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6939 
6940  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6941 
6942  def __init__(self, *args):
6943  """
6944  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6945  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6946  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6947  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6948  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6949  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6950  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6951  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6952  """
6953  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6954  try:
6955  self.this.append(this)
6956  except __builtin__.Exception:
6957  self.this = this
6958 
6959  def get_dimension(self):
6960  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6961  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6962 
6963 
6964  def __cmp__(self, o):
6965  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6966  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6967 
6968 
6969  def __eq__(self, o):
6970  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6971  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6972 
6973 
6974  def __ne__(self, o):
6975  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6976  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6977 
6978 
6979  def __lt__(self, o):
6980  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6981  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6982 
6983 
6984  def __gt__(self, o):
6985  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6986  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6987 
6988 
6989  def __ge__(self, o):
6990  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6991  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6992 
6993 
6994  def __le__(self, o):
6995  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6996  return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6997 
6998 
6999  def __setitem__(self, i, v):
7000  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7001  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7002 
7003 
7004  def __getitem__(self, i):
7005  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7006  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7007 
7008 
7009  def show(self, *args):
7010  """
7011  show(ExtendedGridIndex2D self, _ostream out)
7012  show(ExtendedGridIndex2D self)
7013  """
7014  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7015 
7016 
7017  def __len__(self):
7018  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7019  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7020 
7021 
7022  def __hash__(self):
7023  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7024  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7025 
7026 
7027  def get_uniform_offset(self, ii):
7028  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7029  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7030 
7031 
7032  def get_offset(self, i, j, k):
7033  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7034  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7035 
7036 
7037  def __str__(self):
7038  """__str__(ExtendedGridIndex2D self) -> std::string"""
7039  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7040 
7041 
7042  def __repr__(self):
7043  """__repr__(ExtendedGridIndex2D self) -> std::string"""
7044  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7045 
7046  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7047  __del__ = lambda self: None
7048 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7049 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7050 
7051 class ExtendedGridIndex3D(IMP._Value):
7052  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7053 
7054  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7055 
7056  def __init__(self, *args):
7057  """
7058  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7059  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7060  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7061  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7062  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7063  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7064  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7065  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7066  """
7067  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7068  try:
7069  self.this.append(this)
7070  except __builtin__.Exception:
7071  self.this = this
7072 
7073  def get_dimension(self):
7074  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7075  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7076 
7077 
7078  def __cmp__(self, o):
7079  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7080  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7081 
7082 
7083  def __eq__(self, o):
7084  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7085  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7086 
7087 
7088  def __ne__(self, o):
7089  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7090  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7091 
7092 
7093  def __lt__(self, o):
7094  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7095  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7096 
7097 
7098  def __gt__(self, o):
7099  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7100  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7101 
7102 
7103  def __ge__(self, o):
7104  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7105  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7106 
7107 
7108  def __le__(self, o):
7109  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7110  return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7111 
7112 
7113  def __setitem__(self, i, v):
7114  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7115  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7116 
7117 
7118  def __getitem__(self, i):
7119  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7120  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7121 
7122 
7123  def show(self, *args):
7124  """
7125  show(ExtendedGridIndex3D self, _ostream out)
7126  show(ExtendedGridIndex3D self)
7127  """
7128  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7129 
7130 
7131  def __len__(self):
7132  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7133  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7134 
7135 
7136  def __hash__(self):
7137  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7138  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7139 
7140 
7141  def get_uniform_offset(self, ii):
7142  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7143  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7144 
7145 
7146  def get_offset(self, i, j, k):
7147  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7148  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7149 
7150 
7151  def __str__(self):
7152  """__str__(ExtendedGridIndex3D self) -> std::string"""
7153  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7154 
7155 
7156  def __repr__(self):
7157  """__repr__(ExtendedGridIndex3D self) -> std::string"""
7158  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7159 
7160  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7161  __del__ = lambda self: None
7162 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7163 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7164 
7165 class ExtendedGridIndex4D(IMP._Value):
7166  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7167 
7168  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7169 
7170  def __init__(self, *args):
7171  """
7172  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7173  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7174  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7175  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7176  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7177  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7178  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7179  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7180  """
7181  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7182  try:
7183  self.this.append(this)
7184  except __builtin__.Exception:
7185  self.this = this
7186 
7187  def get_dimension(self):
7188  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7189  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7190 
7191 
7192  def __cmp__(self, o):
7193  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7194  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7195 
7196 
7197  def __eq__(self, o):
7198  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7199  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7200 
7201 
7202  def __ne__(self, o):
7203  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7204  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7205 
7206 
7207  def __lt__(self, o):
7208  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7209  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7210 
7211 
7212  def __gt__(self, o):
7213  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7214  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7215 
7216 
7217  def __ge__(self, o):
7218  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7219  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7220 
7221 
7222  def __le__(self, o):
7223  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7224  return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7225 
7226 
7227  def __setitem__(self, i, v):
7228  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7229  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7230 
7231 
7232  def __getitem__(self, i):
7233  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7234  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7235 
7236 
7237  def show(self, *args):
7238  """
7239  show(ExtendedGridIndex4D self, _ostream out)
7240  show(ExtendedGridIndex4D self)
7241  """
7242  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7243 
7244 
7245  def __len__(self):
7246  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7247  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7248 
7249 
7250  def __hash__(self):
7251  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7252  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7253 
7254 
7255  def get_uniform_offset(self, ii):
7256  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7257  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7258 
7259 
7260  def get_offset(self, i, j, k):
7261  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7262  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7263 
7264 
7265  def __str__(self):
7266  """__str__(ExtendedGridIndex4D self) -> std::string"""
7267  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7268 
7269 
7270  def __repr__(self):
7271  """__repr__(ExtendedGridIndex4D self) -> std::string"""
7272  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7273 
7274  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7275  __del__ = lambda self: None
7276 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7277 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7278 
7279 class ExtendedGridIndex5D(IMP._Value):
7280  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7281 
7282  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7283 
7284  def __init__(self, *args):
7285  """
7286  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7287  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7288  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7289  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7290  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7291  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7292  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7293  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7294  """
7295  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7296  try:
7297  self.this.append(this)
7298  except __builtin__.Exception:
7299  self.this = this
7300 
7301  def get_dimension(self):
7302  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7303  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7304 
7305 
7306  def __cmp__(self, o):
7307  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7308  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7309 
7310 
7311  def __eq__(self, o):
7312  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7313  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7314 
7315 
7316  def __ne__(self, o):
7317  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7318  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7319 
7320 
7321  def __lt__(self, o):
7322  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7323  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7324 
7325 
7326  def __gt__(self, o):
7327  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7328  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7329 
7330 
7331  def __ge__(self, o):
7332  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7333  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7334 
7335 
7336  def __le__(self, o):
7337  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7338  return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7339 
7340 
7341  def __setitem__(self, i, v):
7342  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7343  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7344 
7345 
7346  def __getitem__(self, i):
7347  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7348  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7349 
7350 
7351  def show(self, *args):
7352  """
7353  show(ExtendedGridIndex5D self, _ostream out)
7354  show(ExtendedGridIndex5D self)
7355  """
7356  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7357 
7358 
7359  def __len__(self):
7360  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7361  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7362 
7363 
7364  def __hash__(self):
7365  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7366  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7367 
7368 
7369  def get_uniform_offset(self, ii):
7370  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7371  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7372 
7373 
7374  def get_offset(self, i, j, k):
7375  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7376  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7377 
7378 
7379  def __str__(self):
7380  """__str__(ExtendedGridIndex5D self) -> std::string"""
7381  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7382 
7383 
7384  def __repr__(self):
7385  """__repr__(ExtendedGridIndex5D self) -> std::string"""
7386  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7387 
7388  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7389  __del__ = lambda self: None
7390 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7391 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7392 
7393 class ExtendedGridIndex6D(IMP._Value):
7394  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7395 
7396  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7397 
7398  def __init__(self, *args):
7399  """
7400  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7401  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7402  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7403  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7404  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7405  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7406  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7407  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7408  """
7409  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7410  try:
7411  self.this.append(this)
7412  except __builtin__.Exception:
7413  self.this = this
7414 
7415  def get_dimension(self):
7416  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7417  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7418 
7419 
7420  def __cmp__(self, o):
7421  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7422  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7423 
7424 
7425  def __eq__(self, o):
7426  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7427  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7428 
7429 
7430  def __ne__(self, o):
7431  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7432  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7433 
7434 
7435  def __lt__(self, o):
7436  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7437  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7438 
7439 
7440  def __gt__(self, o):
7441  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7442  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7443 
7444 
7445  def __ge__(self, o):
7446  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7447  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7448 
7449 
7450  def __le__(self, o):
7451  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7452  return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7453 
7454 
7455  def __setitem__(self, i, v):
7456  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7457  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7458 
7459 
7460  def __getitem__(self, i):
7461  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7462  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7463 
7464 
7465  def show(self, *args):
7466  """
7467  show(ExtendedGridIndex6D self, _ostream out)
7468  show(ExtendedGridIndex6D self)
7469  """
7470  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7471 
7472 
7473  def __len__(self):
7474  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7475  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7476 
7477 
7478  def __hash__(self):
7479  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7480  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7481 
7482 
7483  def get_uniform_offset(self, ii):
7484  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7485  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7486 
7487 
7488  def get_offset(self, i, j, k):
7489  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7490  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7491 
7492 
7493  def __str__(self):
7494  """__str__(ExtendedGridIndex6D self) -> std::string"""
7495  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7496 
7497 
7498  def __repr__(self):
7499  """__repr__(ExtendedGridIndex6D self) -> std::string"""
7500  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7501 
7502  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7503  __del__ = lambda self: None
7504 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7505 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7506 
7507 class ExtendedGridIndexKD(IMP._Value):
7508  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7509 
7510  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7511 
7512  def __init__(self, *args):
7513  """
7514  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7515  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7516  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7517  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7518  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7519  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7520  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7521  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7522  """
7523  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7524  try:
7525  self.this.append(this)
7526  except __builtin__.Exception:
7527  self.this = this
7528 
7529  def get_dimension(self):
7530  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7531  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7532 
7533 
7534  def __cmp__(self, o):
7535  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7536  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7537 
7538 
7539  def __eq__(self, o):
7540  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7541  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7542 
7543 
7544  def __ne__(self, o):
7545  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7546  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7547 
7548 
7549  def __lt__(self, o):
7550  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7551  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7552 
7553 
7554  def __gt__(self, o):
7555  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7556  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7557 
7558 
7559  def __ge__(self, o):
7560  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7561  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7562 
7563 
7564  def __le__(self, o):
7565  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7566  return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7567 
7568 
7569  def __setitem__(self, i, v):
7570  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7571  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7572 
7573 
7574  def __getitem__(self, i):
7575  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7576  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7577 
7578 
7579  def show(self, *args):
7580  """
7581  show(ExtendedGridIndexKD self, _ostream out)
7582  show(ExtendedGridIndexKD self)
7583  """
7584  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7585 
7586 
7587  def __len__(self):
7588  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7589  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7590 
7591 
7592  def __hash__(self):
7593  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7594  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7595 
7596 
7597  def get_uniform_offset(self, ii):
7598  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7599  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7600 
7601 
7602  def get_offset(self, i, j, k):
7603  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7604  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7605 
7606 
7607  def __str__(self):
7608  """__str__(ExtendedGridIndexKD self) -> std::string"""
7609  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7610 
7611 
7612  def __repr__(self):
7613  """__repr__(ExtendedGridIndexKD self) -> std::string"""
7614  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7615 
7616  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7617  __del__ = lambda self: None
7618 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7619 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7620 
7621 class BoundedGridRange1D(object):
7622  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7623 
7624  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7625 
7626  def get_is_bounded():
7627  """get_is_bounded() -> bool"""
7628  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7629 
7630  get_is_bounded = staticmethod(get_is_bounded)
7631 
7632  def __init__(self, *args):
7633  """
7634  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7635  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7636  """
7637  this = _IMP_algebra.new_BoundedGridRange1D(*args)
7638  try:
7639  self.this.append(this)
7640  except __builtin__.Exception:
7641  self.this = this
7642 
7643  def get_number_of_voxels(self, *args):
7644  """
7645  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7646  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7647  """
7648  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7649 
7650 
7651  def get_end_index(self):
7652  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7653  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7654 
7655 
7656  def show(self, *args):
7657  """
7658  show(BoundedGridRange1D self, _ostream out)
7659  show(BoundedGridRange1D self)
7660  """
7661  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7662 
7663 
7664  def get_all_indexes(self):
7665  """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7666  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7667 
7668 
7669  def get_indexes(self, lb, ub):
7670  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7671  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7672 
7673 
7674  def get_extended_indexes(self, lb, ub):
7675  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7676  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7677 
7678 
7679  def get_index(self, v):
7680  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7681  return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7682 
7683 
7684  def get_has_index(self, v):
7685  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7686  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7687 
7688 
7689  def get_minimum_extended_index(self):
7690  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7691  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7692 
7693 
7694  def get_maximum_extended_index(self):
7695  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7696  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7697 
7698 
7699  def __str__(self):
7700  """__str__(BoundedGridRange1D self) -> std::string"""
7701  return _IMP_algebra.BoundedGridRange1D___str__(self)
7702 
7703 
7704  def __repr__(self):
7705  """__repr__(BoundedGridRange1D self) -> std::string"""
7706  return _IMP_algebra.BoundedGridRange1D___repr__(self)
7707 
7708 
7709  def __cmp__(self, arg2):
7710  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7711  return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7712 
7713 
7714  def __eq__(self, arg2):
7715  """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7716  return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7717 
7718  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7719  __del__ = lambda self: None
7720 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7721 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7722 
7723 def BoundedGridRange1D_get_is_bounded():
7724  """BoundedGridRange1D_get_is_bounded() -> bool"""
7725  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7726 
7727 class BoundedGridRange2D(object):
7728  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7729 
7730  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7731 
7732  def get_is_bounded():
7733  """get_is_bounded() -> bool"""
7734  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7735 
7736  get_is_bounded = staticmethod(get_is_bounded)
7737 
7738  def __init__(self, *args):
7739  """
7740  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7741  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7742  """
7743  this = _IMP_algebra.new_BoundedGridRange2D(*args)
7744  try:
7745  self.this.append(this)
7746  except __builtin__.Exception:
7747  self.this = this
7748 
7749  def get_number_of_voxels(self, *args):
7750  """
7751  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7752  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7753  """
7754  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7755 
7756 
7757  def get_end_index(self):
7758  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7759  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7760 
7761 
7762  def show(self, *args):
7763  """
7764  show(BoundedGridRange2D self, _ostream out)
7765  show(BoundedGridRange2D self)
7766  """
7767  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7768 
7769 
7770  def get_all_indexes(self):
7771  """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7772  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7773 
7774 
7775  def get_indexes(self, lb, ub):
7776  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7777  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7778 
7779 
7780  def get_extended_indexes(self, lb, ub):
7781  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7782  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7783 
7784 
7785  def get_index(self, v):
7786  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7787  return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7788 
7789 
7790  def get_has_index(self, v):
7791  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7792  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7793 
7794 
7795  def get_minimum_extended_index(self):
7796  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7797  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7798 
7799 
7800  def get_maximum_extended_index(self):
7801  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7802  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7803 
7804 
7805  def __str__(self):
7806  """__str__(BoundedGridRange2D self) -> std::string"""
7807  return _IMP_algebra.BoundedGridRange2D___str__(self)
7808 
7809 
7810  def __repr__(self):
7811  """__repr__(BoundedGridRange2D self) -> std::string"""
7812  return _IMP_algebra.BoundedGridRange2D___repr__(self)
7813 
7814 
7815  def __cmp__(self, arg2):
7816  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7817  return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7818 
7819 
7820  def __eq__(self, arg2):
7821  """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7822  return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7823 
7824  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7825  __del__ = lambda self: None
7826 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7827 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7828 
7829 def BoundedGridRange2D_get_is_bounded():
7830  """BoundedGridRange2D_get_is_bounded() -> bool"""
7831  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7832 
7833 class BoundedGridRange3D(object):
7834  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7835 
7836  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7837 
7838  def get_is_bounded():
7839  """get_is_bounded() -> bool"""
7840  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7841 
7842  get_is_bounded = staticmethod(get_is_bounded)
7843 
7844  def __init__(self, *args):
7845  """
7846  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7847  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7848  """
7849  this = _IMP_algebra.new_BoundedGridRange3D(*args)
7850  try:
7851  self.this.append(this)
7852  except __builtin__.Exception:
7853  self.this = this
7854 
7855  def get_number_of_voxels(self, *args):
7856  """
7857  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7858  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7859  """
7860  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7861 
7862 
7863  def get_end_index(self):
7864  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7865  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7866 
7867 
7868  def show(self, *args):
7869  """
7870  show(BoundedGridRange3D self, _ostream out)
7871  show(BoundedGridRange3D self)
7872  """
7873  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7874 
7875 
7876  def get_all_indexes(self):
7877  """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7878  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7879 
7880 
7881  def get_indexes(self, lb, ub):
7882  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7883  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7884 
7885 
7886  def get_extended_indexes(self, lb, ub):
7887  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7888  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7889 
7890 
7891  def get_index(self, v):
7892  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7893  return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7894 
7895 
7896  def get_has_index(self, v):
7897  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7898  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7899 
7900 
7901  def get_minimum_extended_index(self):
7902  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7903  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7904 
7905 
7906  def get_maximum_extended_index(self):
7907  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7908  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7909 
7910 
7911  def __str__(self):
7912  """__str__(BoundedGridRange3D self) -> std::string"""
7913  return _IMP_algebra.BoundedGridRange3D___str__(self)
7914 
7915 
7916  def __repr__(self):
7917  """__repr__(BoundedGridRange3D self) -> std::string"""
7918  return _IMP_algebra.BoundedGridRange3D___repr__(self)
7919 
7920 
7921  def __cmp__(self, arg2):
7922  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7923  return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7924 
7925 
7926  def __eq__(self, arg2):
7927  """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7928  return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7929 
7930  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7931  __del__ = lambda self: None
7932 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7933 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7934 
7935 def BoundedGridRange3D_get_is_bounded():
7936  """BoundedGridRange3D_get_is_bounded() -> bool"""
7937  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7938 
7939 class BoundedGridRange4D(object):
7940  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7941 
7942  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7943 
7944  def get_is_bounded():
7945  """get_is_bounded() -> bool"""
7946  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7947 
7948  get_is_bounded = staticmethod(get_is_bounded)
7949 
7950  def __init__(self, *args):
7951  """
7952  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7953  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7954  """
7955  this = _IMP_algebra.new_BoundedGridRange4D(*args)
7956  try:
7957  self.this.append(this)
7958  except __builtin__.Exception:
7959  self.this = this
7960 
7961  def get_number_of_voxels(self, *args):
7962  """
7963  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7964  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7965  """
7966  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7967 
7968 
7969  def get_end_index(self):
7970  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7971  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7972 
7973 
7974  def show(self, *args):
7975  """
7976  show(BoundedGridRange4D self, _ostream out)
7977  show(BoundedGridRange4D self)
7978  """
7979  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7980 
7981 
7982  def get_all_indexes(self):
7983  """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7984  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7985 
7986 
7987  def get_indexes(self, lb, ub):
7988  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7989  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7990 
7991 
7992  def get_extended_indexes(self, lb, ub):
7993  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7994  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7995 
7996 
7997  def get_index(self, v):
7998  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7999  return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8000 
8001 
8002  def get_has_index(self, v):
8003  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8004  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8005 
8006 
8007  def get_minimum_extended_index(self):
8008  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8009  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8010 
8011 
8012  def get_maximum_extended_index(self):
8013  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8014  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8015 
8016 
8017  def __str__(self):
8018  """__str__(BoundedGridRange4D self) -> std::string"""
8019  return _IMP_algebra.BoundedGridRange4D___str__(self)
8020 
8021 
8022  def __repr__(self):
8023  """__repr__(BoundedGridRange4D self) -> std::string"""
8024  return _IMP_algebra.BoundedGridRange4D___repr__(self)
8025 
8026 
8027  def __cmp__(self, arg2):
8028  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8029  return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8030 
8031 
8032  def __eq__(self, arg2):
8033  """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8034  return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8035 
8036  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8037  __del__ = lambda self: None
8038 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8039 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8040 
8041 def BoundedGridRange4D_get_is_bounded():
8042  """BoundedGridRange4D_get_is_bounded() -> bool"""
8043  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8044 
8045 class BoundedGridRange5D(object):
8046  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8047 
8048  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8049 
8050  def get_is_bounded():
8051  """get_is_bounded() -> bool"""
8052  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8053 
8054  get_is_bounded = staticmethod(get_is_bounded)
8055 
8056  def __init__(self, *args):
8057  """
8058  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8059  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8060  """
8061  this = _IMP_algebra.new_BoundedGridRange5D(*args)
8062  try:
8063  self.this.append(this)
8064  except __builtin__.Exception:
8065  self.this = this
8066 
8067  def get_number_of_voxels(self, *args):
8068  """
8069  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8070  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8071  """
8072  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8073 
8074 
8075  def get_end_index(self):
8076  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8077  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8078 
8079 
8080  def show(self, *args):
8081  """
8082  show(BoundedGridRange5D self, _ostream out)
8083  show(BoundedGridRange5D self)
8084  """
8085  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8086 
8087 
8088  def get_all_indexes(self):
8089  """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8090  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8091 
8092 
8093  def get_indexes(self, lb, ub):
8094  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8095  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8096 
8097 
8098  def get_extended_indexes(self, lb, ub):
8099  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8100  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8101 
8102 
8103  def get_index(self, v):
8104  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8105  return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8106 
8107 
8108  def get_has_index(self, v):
8109  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8110  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8111 
8112 
8113  def get_minimum_extended_index(self):
8114  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8115  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8116 
8117 
8118  def get_maximum_extended_index(self):
8119  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8120  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8121 
8122 
8123  def __str__(self):
8124  """__str__(BoundedGridRange5D self) -> std::string"""
8125  return _IMP_algebra.BoundedGridRange5D___str__(self)
8126 
8127 
8128  def __repr__(self):
8129  """__repr__(BoundedGridRange5D self) -> std::string"""
8130  return _IMP_algebra.BoundedGridRange5D___repr__(self)
8131 
8132 
8133  def __cmp__(self, arg2):
8134  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8135  return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8136 
8137 
8138  def __eq__(self, arg2):
8139  """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8140  return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8141 
8142  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8143  __del__ = lambda self: None
8144 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8145 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8146 
8147 def BoundedGridRange5D_get_is_bounded():
8148  """BoundedGridRange5D_get_is_bounded() -> bool"""
8149  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8150 
8151 class BoundedGridRange6D(object):
8152  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8153 
8154  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8155 
8156  def get_is_bounded():
8157  """get_is_bounded() -> bool"""
8158  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8159 
8160  get_is_bounded = staticmethod(get_is_bounded)
8161 
8162  def __init__(self, *args):
8163  """
8164  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8165  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8166  """
8167  this = _IMP_algebra.new_BoundedGridRange6D(*args)
8168  try:
8169  self.this.append(this)
8170  except __builtin__.Exception:
8171  self.this = this
8172 
8173  def get_number_of_voxels(self, *args):
8174  """
8175  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8176  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8177  """
8178  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8179 
8180 
8181  def get_end_index(self):
8182  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8183  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8184 
8185 
8186  def show(self, *args):
8187  """
8188  show(BoundedGridRange6D self, _ostream out)
8189  show(BoundedGridRange6D self)
8190  """
8191  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8192 
8193 
8194  def get_all_indexes(self):
8195  """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8196  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8197 
8198 
8199  def get_indexes(self, lb, ub):
8200  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8201  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8202 
8203 
8204  def get_extended_indexes(self, lb, ub):
8205  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8206  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8207 
8208 
8209  def get_index(self, v):
8210  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8211  return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8212 
8213 
8214  def get_has_index(self, v):
8215  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8216  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8217 
8218 
8219  def get_minimum_extended_index(self):
8220  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8221  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8222 
8223 
8224  def get_maximum_extended_index(self):
8225  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8226  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8227 
8228 
8229  def __str__(self):
8230  """__str__(BoundedGridRange6D self) -> std::string"""
8231  return _IMP_algebra.BoundedGridRange6D___str__(self)
8232 
8233 
8234  def __repr__(self):
8235  """__repr__(BoundedGridRange6D self) -> std::string"""
8236  return _IMP_algebra.BoundedGridRange6D___repr__(self)
8237 
8238 
8239  def __cmp__(self, arg2):
8240  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8241  return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8242 
8243 
8244  def __eq__(self, arg2):
8245  """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8246  return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8247 
8248  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8249  __del__ = lambda self: None
8250 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8251 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8252 
8253 def BoundedGridRange6D_get_is_bounded():
8254  """BoundedGridRange6D_get_is_bounded() -> bool"""
8255  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8256 
8257 class BoundedGridRangeKD(object):
8258  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8259 
8260  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8261 
8262  def get_is_bounded():
8263  """get_is_bounded() -> bool"""
8264  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8265 
8266  get_is_bounded = staticmethod(get_is_bounded)
8267 
8268  def __init__(self, *args):
8269  """
8270  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8271  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8272  """
8273  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8274  try:
8275  self.this.append(this)
8276  except __builtin__.Exception:
8277  self.this = this
8278 
8279  def get_number_of_voxels(self, *args):
8280  """
8281  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8282  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8283  """
8284  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8285 
8286 
8287  def get_end_index(self):
8288  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8289  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8290 
8291 
8292  def show(self, *args):
8293  """
8294  show(BoundedGridRangeKD self, _ostream out)
8295  show(BoundedGridRangeKD self)
8296  """
8297  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8298 
8299 
8300  def get_all_indexes(self):
8301  """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8302  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8303 
8304 
8305  def get_indexes(self, lb, ub):
8306  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8307  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8308 
8309 
8310  def get_extended_indexes(self, lb, ub):
8311  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8312  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8313 
8314 
8315  def get_index(self, v):
8316  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8317  return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8318 
8319 
8320  def get_has_index(self, v):
8321  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8322  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8323 
8324 
8325  def get_minimum_extended_index(self):
8326  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8327  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8328 
8329 
8330  def get_maximum_extended_index(self):
8331  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8332  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8333 
8334 
8335  def __str__(self):
8336  """__str__(BoundedGridRangeKD self) -> std::string"""
8337  return _IMP_algebra.BoundedGridRangeKD___str__(self)
8338 
8339 
8340  def __repr__(self):
8341  """__repr__(BoundedGridRangeKD self) -> std::string"""
8342  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8343 
8344 
8345  def __cmp__(self, arg2):
8346  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8347  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8348 
8349 
8350  def __eq__(self, arg2):
8351  """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8352  return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8353 
8354  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8355  __del__ = lambda self: None
8356 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8357 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8358 
8359 def BoundedGridRangeKD_get_is_bounded():
8360  """BoundedGridRangeKD_get_is_bounded() -> bool"""
8361  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8362 
8363 class UnboundedGridRange1D(object):
8364  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8365 
8366  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8367 
8368  def __init__(self, *args):
8369  """
8370  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8371  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8372  """
8373  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8374  try:
8375  self.this.append(this)
8376  except __builtin__.Exception:
8377  self.this = this
8378 
8379  def set_number_of_voxels(self, arg2):
8380  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8381  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8382 
8383 
8384  def get_number_of_voxels(self, arg2):
8385  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8386  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8387 
8388 
8389  def get_is_bounded():
8390  """get_is_bounded() -> bool"""
8391  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8392 
8393  get_is_bounded = staticmethod(get_is_bounded)
8394 
8395  def get_has_index(self, arg2):
8396  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8397  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8398 
8399 
8400  def show(self, *args):
8401  """
8402  show(UnboundedGridRange1D self, _ostream out)
8403  show(UnboundedGridRange1D self)
8404  """
8405  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8406 
8407 
8408  def get_extended_indexes(self, lb, ub):
8409  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8410  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8411 
8412 
8413  def __str__(self):
8414  """__str__(UnboundedGridRange1D self) -> std::string"""
8415  return _IMP_algebra.UnboundedGridRange1D___str__(self)
8416 
8417 
8418  def __repr__(self):
8419  """__repr__(UnboundedGridRange1D self) -> std::string"""
8420  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8421 
8422 
8423  def __cmp__(self, arg2):
8424  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8425  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8426 
8427 
8428  def __eq__(self, arg2):
8429  """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8430  return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8431 
8432  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8433  __del__ = lambda self: None
8434 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8435 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8436 
8437 def UnboundedGridRange1D_get_is_bounded():
8438  """UnboundedGridRange1D_get_is_bounded() -> bool"""
8439  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8440 
8441 class UnboundedGridRange2D(object):
8442  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8443 
8444  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8445 
8446  def __init__(self, *args):
8447  """
8448  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8449  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8450  """
8451  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8452  try:
8453  self.this.append(this)
8454  except __builtin__.Exception:
8455  self.this = this
8456 
8457  def set_number_of_voxels(self, arg2):
8458  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8459  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8460 
8461 
8462  def get_number_of_voxels(self, arg2):
8463  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8464  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8465 
8466 
8467  def get_is_bounded():
8468  """get_is_bounded() -> bool"""
8469  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8470 
8471  get_is_bounded = staticmethod(get_is_bounded)
8472 
8473  def get_has_index(self, arg2):
8474  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8475  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8476 
8477 
8478  def show(self, *args):
8479  """
8480  show(UnboundedGridRange2D self, _ostream out)
8481  show(UnboundedGridRange2D self)
8482  """
8483  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8484 
8485 
8486  def get_extended_indexes(self, lb, ub):
8487  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8488  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8489 
8490 
8491  def __str__(self):
8492  """__str__(UnboundedGridRange2D self) -> std::string"""
8493  return _IMP_algebra.UnboundedGridRange2D___str__(self)
8494 
8495 
8496  def __repr__(self):
8497  """__repr__(UnboundedGridRange2D self) -> std::string"""
8498  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8499 
8500 
8501  def __cmp__(self, arg2):
8502  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8503  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8504 
8505 
8506  def __eq__(self, arg2):
8507  """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8508  return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8509 
8510  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8511  __del__ = lambda self: None
8512 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8513 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8514 
8515 def UnboundedGridRange2D_get_is_bounded():
8516  """UnboundedGridRange2D_get_is_bounded() -> bool"""
8517  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8518 
8519 class UnboundedGridRange3D(object):
8520  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8521 
8522  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8523 
8524  def __init__(self, *args):
8525  """
8526  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8527  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8528  """
8529  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8530  try:
8531  self.this.append(this)
8532  except __builtin__.Exception:
8533  self.this = this
8534 
8535  def set_number_of_voxels(self, arg2):
8536  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8537  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8538 
8539 
8540  def get_number_of_voxels(self, arg2):
8541  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8542  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8543 
8544 
8545  def get_is_bounded():
8546  """get_is_bounded() -> bool"""
8547  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8548 
8549  get_is_bounded = staticmethod(get_is_bounded)
8550 
8551  def get_has_index(self, arg2):
8552  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8553  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8554 
8555 
8556  def show(self, *args):
8557  """
8558  show(UnboundedGridRange3D self, _ostream out)
8559  show(UnboundedGridRange3D self)
8560  """
8561  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8562 
8563 
8564  def get_extended_indexes(self, lb, ub):
8565  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8566  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8567 
8568 
8569  def __str__(self):
8570  """__str__(UnboundedGridRange3D self) -> std::string"""
8571  return _IMP_algebra.UnboundedGridRange3D___str__(self)
8572 
8573 
8574  def __repr__(self):
8575  """__repr__(UnboundedGridRange3D self) -> std::string"""
8576  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8577 
8578 
8579  def __cmp__(self, arg2):
8580  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8581  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8582 
8583 
8584  def __eq__(self, arg2):
8585  """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8586  return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8587 
8588  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8589  __del__ = lambda self: None
8590 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8591 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8592 
8593 def UnboundedGridRange3D_get_is_bounded():
8594  """UnboundedGridRange3D_get_is_bounded() -> bool"""
8595  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8596 
8597 class UnboundedGridRange4D(object):
8598  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8599 
8600  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8601 
8602  def __init__(self, *args):
8603  """
8604  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8605  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8606  """
8607  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8608  try:
8609  self.this.append(this)
8610  except __builtin__.Exception:
8611  self.this = this
8612 
8613  def set_number_of_voxels(self, arg2):
8614  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8615  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8616 
8617 
8618  def get_number_of_voxels(self, arg2):
8619  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8620  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8621 
8622 
8623  def get_is_bounded():
8624  """get_is_bounded() -> bool"""
8625  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8626 
8627  get_is_bounded = staticmethod(get_is_bounded)
8628 
8629  def get_has_index(self, arg2):
8630  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8631  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8632 
8633 
8634  def show(self, *args):
8635  """
8636  show(UnboundedGridRange4D self, _ostream out)
8637  show(UnboundedGridRange4D self)
8638  """
8639  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8640 
8641 
8642  def get_extended_indexes(self, lb, ub):
8643  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8644  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8645 
8646 
8647  def __str__(self):
8648  """__str__(UnboundedGridRange4D self) -> std::string"""
8649  return _IMP_algebra.UnboundedGridRange4D___str__(self)
8650 
8651 
8652  def __repr__(self):
8653  """__repr__(UnboundedGridRange4D self) -> std::string"""
8654  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8655 
8656 
8657  def __cmp__(self, arg2):
8658  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8659  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8660 
8661 
8662  def __eq__(self, arg2):
8663  """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8664  return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8665 
8666  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8667  __del__ = lambda self: None
8668 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8669 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8670 
8671 def UnboundedGridRange4D_get_is_bounded():
8672  """UnboundedGridRange4D_get_is_bounded() -> bool"""
8673  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8674 
8675 class UnboundedGridRange5D(object):
8676  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8677 
8678  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8679 
8680  def __init__(self, *args):
8681  """
8682  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8683  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8684  """
8685  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8686  try:
8687  self.this.append(this)
8688  except __builtin__.Exception:
8689  self.this = this
8690 
8691  def set_number_of_voxels(self, arg2):
8692  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8693  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8694 
8695 
8696  def get_number_of_voxels(self, arg2):
8697  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8698  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8699 
8700 
8701  def get_is_bounded():
8702  """get_is_bounded() -> bool"""
8703  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8704 
8705  get_is_bounded = staticmethod(get_is_bounded)
8706 
8707  def get_has_index(self, arg2):
8708  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8709  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8710 
8711 
8712  def show(self, *args):
8713  """
8714  show(UnboundedGridRange5D self, _ostream out)
8715  show(UnboundedGridRange5D self)
8716  """
8717  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8718 
8719 
8720  def get_extended_indexes(self, lb, ub):
8721  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8722  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8723 
8724 
8725  def __str__(self):
8726  """__str__(UnboundedGridRange5D self) -> std::string"""
8727  return _IMP_algebra.UnboundedGridRange5D___str__(self)
8728 
8729 
8730  def __repr__(self):
8731  """__repr__(UnboundedGridRange5D self) -> std::string"""
8732  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8733 
8734 
8735  def __cmp__(self, arg2):
8736  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8737  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8738 
8739 
8740  def __eq__(self, arg2):
8741  """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8742  return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8743 
8744  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8745  __del__ = lambda self: None
8746 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8747 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8748 
8749 def UnboundedGridRange5D_get_is_bounded():
8750  """UnboundedGridRange5D_get_is_bounded() -> bool"""
8751  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8752 
8753 class UnboundedGridRange6D(object):
8754  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8755 
8756  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8757 
8758  def __init__(self, *args):
8759  """
8760  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8761  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8762  """
8763  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8764  try:
8765  self.this.append(this)
8766  except __builtin__.Exception:
8767  self.this = this
8768 
8769  def set_number_of_voxels(self, arg2):
8770  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8771  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8772 
8773 
8774  def get_number_of_voxels(self, arg2):
8775  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8776  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8777 
8778 
8779  def get_is_bounded():
8780  """get_is_bounded() -> bool"""
8781  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8782 
8783  get_is_bounded = staticmethod(get_is_bounded)
8784 
8785  def get_has_index(self, arg2):
8786  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8787  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8788 
8789 
8790  def show(self, *args):
8791  """
8792  show(UnboundedGridRange6D self, _ostream out)
8793  show(UnboundedGridRange6D self)
8794  """
8795  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8796 
8797 
8798  def get_extended_indexes(self, lb, ub):
8799  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8800  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8801 
8802 
8803  def __str__(self):
8804  """__str__(UnboundedGridRange6D self) -> std::string"""
8805  return _IMP_algebra.UnboundedGridRange6D___str__(self)
8806 
8807 
8808  def __repr__(self):
8809  """__repr__(UnboundedGridRange6D self) -> std::string"""
8810  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8811 
8812 
8813  def __cmp__(self, arg2):
8814  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8815  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8816 
8817 
8818  def __eq__(self, arg2):
8819  """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8820  return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8821 
8822  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8823  __del__ = lambda self: None
8824 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8825 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8826 
8827 def UnboundedGridRange6D_get_is_bounded():
8828  """UnboundedGridRange6D_get_is_bounded() -> bool"""
8829  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8830 
8831 class UnboundedGridRangeKD(object):
8832  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8833 
8834  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8835 
8836  def __init__(self, *args):
8837  """
8838  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8839  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8840  """
8841  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8842  try:
8843  self.this.append(this)
8844  except __builtin__.Exception:
8845  self.this = this
8846 
8847  def set_number_of_voxels(self, arg2):
8848  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8849  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8850 
8851 
8852  def get_number_of_voxels(self, arg2):
8853  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8854  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8855 
8856 
8857  def get_is_bounded():
8858  """get_is_bounded() -> bool"""
8859  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8860 
8861  get_is_bounded = staticmethod(get_is_bounded)
8862 
8863  def get_has_index(self, arg2):
8864  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8865  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8866 
8867 
8868  def show(self, *args):
8869  """
8870  show(UnboundedGridRangeKD self, _ostream out)
8871  show(UnboundedGridRangeKD self)
8872  """
8873  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8874 
8875 
8876  def get_extended_indexes(self, lb, ub):
8877  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8878  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8879 
8880 
8881  def __str__(self):
8882  """__str__(UnboundedGridRangeKD self) -> std::string"""
8883  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8884 
8885 
8886  def __repr__(self):
8887  """__repr__(UnboundedGridRangeKD self) -> std::string"""
8888  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8889 
8890 
8891  def __cmp__(self, arg2):
8892  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8893  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8894 
8895 
8896  def __eq__(self, arg2):
8897  """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8898  return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8899 
8900  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8901  __del__ = lambda self: None
8902 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8903 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8904 
8905 def UnboundedGridRangeKD_get_is_bounded():
8906  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8907  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8908 
8909 class DefaultEmbedding1D(object):
8910  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8911 
8912  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8913 
8914  def __init__(self, *args):
8915  """
8916  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8917  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8918  """
8919  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8920  try:
8921  self.this.append(this)
8922  except __builtin__.Exception:
8923  self.this = this
8924 
8925  def set_origin(self, o):
8926  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8927  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8928 
8929 
8930  def get_origin(self):
8931  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8932  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8933 
8934 
8935  def get_dimension(self):
8936  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8937  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8938 
8939 
8940  def set_unit_cell(self, o):
8941  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8942  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8943 
8944 
8945  def get_inverse_unit_cell(self):
8946  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8947  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8948 
8949 
8950  def get_unit_cell(self):
8951  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8952  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8953 
8954 
8955  def get_extended_index(self, o):
8956  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8957  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8958 
8959 
8960  def get_index(self, o):
8961  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8962  return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8963 
8964 
8965  def get_center(self, *args):
8966  """
8967  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8968  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8969  """
8970  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8971 
8972 
8973  def get_bounding_box(self, *args):
8974  """
8975  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8976  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8977  """
8978  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8979 
8980 
8981  def show(self, *args):
8982  """
8983  show(DefaultEmbedding1D self, _ostream out)
8984  show(DefaultEmbedding1D self)
8985  """
8986  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8987 
8988 
8989  def __str__(self):
8990  """__str__(DefaultEmbedding1D self) -> std::string"""
8991  return _IMP_algebra.DefaultEmbedding1D___str__(self)
8992 
8993 
8994  def __repr__(self):
8995  """__repr__(DefaultEmbedding1D self) -> std::string"""
8996  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8997 
8998 
8999  def __cmp__(self, arg2):
9000  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9001  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9002 
9003 
9004  def __eq__(self, arg2):
9005  """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9006  return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9007 
9008  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9009  __del__ = lambda self: None
9010 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9011 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9012 
9013 class DefaultEmbedding2D(object):
9014  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
9015 
9016  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9017 
9018  def __init__(self, *args):
9019  """
9020  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9021  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9022  """
9023  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9024  try:
9025  self.this.append(this)
9026  except __builtin__.Exception:
9027  self.this = this
9028 
9029  def set_origin(self, o):
9030  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9031  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9032 
9033 
9034  def get_origin(self):
9035  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9036  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9037 
9038 
9039  def get_dimension(self):
9040  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9041  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9042 
9043 
9044  def set_unit_cell(self, o):
9045  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9046  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9047 
9048 
9049  def get_inverse_unit_cell(self):
9050  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9051  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9052 
9053 
9054  def get_unit_cell(self):
9055  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9056  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9057 
9058 
9059  def get_extended_index(self, o):
9060  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9061  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9062 
9063 
9064  def get_index(self, o):
9065  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9066  return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9067 
9068 
9069  def get_center(self, *args):
9070  """
9071  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9072  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9073  """
9074  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9075 
9076 
9077  def get_bounding_box(self, *args):
9078  """
9079  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9080  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9081  """
9082  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9083 
9084 
9085  def show(self, *args):
9086  """
9087  show(DefaultEmbedding2D self, _ostream out)
9088  show(DefaultEmbedding2D self)
9089  """
9090  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9091 
9092 
9093  def __str__(self):
9094  """__str__(DefaultEmbedding2D self) -> std::string"""
9095  return _IMP_algebra.DefaultEmbedding2D___str__(self)
9096 
9097 
9098  def __repr__(self):
9099  """__repr__(DefaultEmbedding2D self) -> std::string"""
9100  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9101 
9102 
9103  def __cmp__(self, arg2):
9104  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9105  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9106 
9107 
9108  def __eq__(self, arg2):
9109  """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9110  return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9111 
9112  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9113  __del__ = lambda self: None
9114 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9115 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9116 
9117 class DefaultEmbedding3D(object):
9118  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9119 
9120  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9121 
9122  def __init__(self, *args):
9123  """
9124  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9125  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9126  """
9127  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9128  try:
9129  self.this.append(this)
9130  except __builtin__.Exception:
9131  self.this = this
9132 
9133  def set_origin(self, o):
9134  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9135  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9136 
9137 
9138  def get_origin(self):
9139  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9140  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9141 
9142 
9143  def get_dimension(self):
9144  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9145  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9146 
9147 
9148  def set_unit_cell(self, o):
9149  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9150  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9151 
9152 
9153  def get_inverse_unit_cell(self):
9154  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9155  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9156 
9157 
9158  def get_unit_cell(self):
9159  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9160  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9161 
9162 
9163  def get_extended_index(self, o):
9164  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9165  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9166 
9167 
9168  def get_index(self, o):
9169  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9170  return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9171 
9172 
9173  def get_center(self, *args):
9174  """
9175  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9176  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9177  """
9178  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9179 
9180 
9181  def get_bounding_box(self, *args):
9182  """
9183  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9184  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9185  """
9186  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9187 
9188 
9189  def show(self, *args):
9190  """
9191  show(DefaultEmbedding3D self, _ostream out)
9192  show(DefaultEmbedding3D self)
9193  """
9194  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9195 
9196 
9197  def __str__(self):
9198  """__str__(DefaultEmbedding3D self) -> std::string"""
9199  return _IMP_algebra.DefaultEmbedding3D___str__(self)
9200 
9201 
9202  def __repr__(self):
9203  """__repr__(DefaultEmbedding3D self) -> std::string"""
9204  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9205 
9206 
9207  def __cmp__(self, arg2):
9208  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9209  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9210 
9211 
9212  def __eq__(self, arg2):
9213  """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9214  return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9215 
9216  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9217  __del__ = lambda self: None
9218 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9219 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9220 
9221 class DefaultEmbedding4D(object):
9222  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9223 
9224  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9225 
9226  def __init__(self, *args):
9227  """
9228  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9229  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9230  """
9231  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9232  try:
9233  self.this.append(this)
9234  except __builtin__.Exception:
9235  self.this = this
9236 
9237  def set_origin(self, o):
9238  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9239  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9240 
9241 
9242  def get_origin(self):
9243  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9244  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9245 
9246 
9247  def get_dimension(self):
9248  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9249  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9250 
9251 
9252  def set_unit_cell(self, o):
9253  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9254  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9255 
9256 
9257  def get_inverse_unit_cell(self):
9258  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9259  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9260 
9261 
9262  def get_unit_cell(self):
9263  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9264  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9265 
9266 
9267  def get_extended_index(self, o):
9268  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9269  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9270 
9271 
9272  def get_index(self, o):
9273  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9274  return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9275 
9276 
9277  def get_center(self, *args):
9278  """
9279  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9280  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9281  """
9282  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9283 
9284 
9285  def get_bounding_box(self, *args):
9286  """
9287  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9288  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9289  """
9290  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9291 
9292 
9293  def show(self, *args):
9294  """
9295  show(DefaultEmbedding4D self, _ostream out)
9296  show(DefaultEmbedding4D self)
9297  """
9298  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9299 
9300 
9301  def __str__(self):
9302  """__str__(DefaultEmbedding4D self) -> std::string"""
9303  return _IMP_algebra.DefaultEmbedding4D___str__(self)
9304 
9305 
9306  def __repr__(self):
9307  """__repr__(DefaultEmbedding4D self) -> std::string"""
9308  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9309 
9310 
9311  def __cmp__(self, arg2):
9312  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9313  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9314 
9315 
9316  def __eq__(self, arg2):
9317  """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9318  return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9319 
9320  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9321  __del__ = lambda self: None
9322 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9323 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9324 
9325 class DefaultEmbedding5D(object):
9326  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9327 
9328  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9329 
9330  def __init__(self, *args):
9331  """
9332  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9333  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9334  """
9335  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9336  try:
9337  self.this.append(this)
9338  except __builtin__.Exception:
9339  self.this = this
9340 
9341  def set_origin(self, o):
9342  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9343  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9344 
9345 
9346  def get_origin(self):
9347  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9348  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9349 
9350 
9351  def get_dimension(self):
9352  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9353  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9354 
9355 
9356  def set_unit_cell(self, o):
9357  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9358  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9359 
9360 
9361  def get_inverse_unit_cell(self):
9362  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9363  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9364 
9365 
9366  def get_unit_cell(self):
9367  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9368  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9369 
9370 
9371  def get_extended_index(self, o):
9372  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9373  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9374 
9375 
9376  def get_index(self, o):
9377  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9378  return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9379 
9380 
9381  def get_center(self, *args):
9382  """
9383  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9384  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9385  """
9386  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9387 
9388 
9389  def get_bounding_box(self, *args):
9390  """
9391  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9392  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9393  """
9394  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9395 
9396 
9397  def show(self, *args):
9398  """
9399  show(DefaultEmbedding5D self, _ostream out)
9400  show(DefaultEmbedding5D self)
9401  """
9402  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9403 
9404 
9405  def __str__(self):
9406  """__str__(DefaultEmbedding5D self) -> std::string"""
9407  return _IMP_algebra.DefaultEmbedding5D___str__(self)
9408 
9409 
9410  def __repr__(self):
9411  """__repr__(DefaultEmbedding5D self) -> std::string"""
9412  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9413 
9414 
9415  def __cmp__(self, arg2):
9416  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9417  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9418 
9419 
9420  def __eq__(self, arg2):
9421  """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9422  return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9423 
9424  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9425  __del__ = lambda self: None
9426 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9427 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9428 
9429 class DefaultEmbedding6D(object):
9430  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9431 
9432  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9433 
9434  def __init__(self, *args):
9435  """
9436  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9437  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9438  """
9439  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9440  try:
9441  self.this.append(this)
9442  except __builtin__.Exception:
9443  self.this = this
9444 
9445  def set_origin(self, o):
9446  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9447  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9448 
9449 
9450  def get_origin(self):
9451  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9452  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9453 
9454 
9455  def get_dimension(self):
9456  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9457  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9458 
9459 
9460  def set_unit_cell(self, o):
9461  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9462  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9463 
9464 
9465  def get_inverse_unit_cell(self):
9466  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9467  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9468 
9469 
9470  def get_unit_cell(self):
9471  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9472  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9473 
9474 
9475  def get_extended_index(self, o):
9476  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9477  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9478 
9479 
9480  def get_index(self, o):
9481  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9482  return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9483 
9484 
9485  def get_center(self, *args):
9486  """
9487  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9488  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9489  """
9490  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9491 
9492 
9493  def get_bounding_box(self, *args):
9494  """
9495  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9496  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9497  """
9498  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9499 
9500 
9501  def show(self, *args):
9502  """
9503  show(DefaultEmbedding6D self, _ostream out)
9504  show(DefaultEmbedding6D self)
9505  """
9506  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9507 
9508 
9509  def __str__(self):
9510  """__str__(DefaultEmbedding6D self) -> std::string"""
9511  return _IMP_algebra.DefaultEmbedding6D___str__(self)
9512 
9513 
9514  def __repr__(self):
9515  """__repr__(DefaultEmbedding6D self) -> std::string"""
9516  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9517 
9518 
9519  def __cmp__(self, arg2):
9520  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9521  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9522 
9523 
9524  def __eq__(self, arg2):
9525  """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9526  return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9527 
9528  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9529  __del__ = lambda self: None
9530 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9531 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9532 
9533 class DefaultEmbeddingKD(object):
9534  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9535 
9536  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9537 
9538  def __init__(self, *args):
9539  """
9540  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9541  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9542  """
9543  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9544  try:
9545  self.this.append(this)
9546  except __builtin__.Exception:
9547  self.this = this
9548 
9549  def set_origin(self, o):
9550  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9551  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9552 
9553 
9554  def get_origin(self):
9555  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9556  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9557 
9558 
9559  def get_dimension(self):
9560  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9561  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9562 
9563 
9564  def set_unit_cell(self, o):
9565  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9566  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9567 
9568 
9569  def get_inverse_unit_cell(self):
9570  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9571  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9572 
9573 
9574  def get_unit_cell(self):
9575  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9576  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9577 
9578 
9579  def get_extended_index(self, o):
9580  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9581  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9582 
9583 
9584  def get_index(self, o):
9585  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9586  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9587 
9588 
9589  def get_center(self, *args):
9590  """
9591  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9592  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9593  """
9594  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9595 
9596 
9597  def get_bounding_box(self, *args):
9598  """
9599  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9600  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9601  """
9602  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9603 
9604 
9605  def show(self, *args):
9606  """
9607  show(DefaultEmbeddingKD self, _ostream out)
9608  show(DefaultEmbeddingKD self)
9609  """
9610  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9611 
9612 
9613  def __str__(self):
9614  """__str__(DefaultEmbeddingKD self) -> std::string"""
9615  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9616 
9617 
9618  def __repr__(self):
9619  """__repr__(DefaultEmbeddingKD self) -> std::string"""
9620  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9621 
9622 
9623  def __cmp__(self, arg2):
9624  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9625  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9626 
9627 
9628  def __eq__(self, arg2):
9629  """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9630  return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9631 
9632  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9633  __del__ = lambda self: None
9634 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9635 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9636 
9637 class LogEmbedding1D(object):
9638  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9639 
9640  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9641 
9642  def __init__(self, *args):
9643  """
9644  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9645  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9646  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9647  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9648  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9649  """
9650  this = _IMP_algebra.new_LogEmbedding1D(*args)
9651  try:
9652  self.this.append(this)
9653  except __builtin__.Exception:
9654  self.this = this
9655 
9656  def set_origin(self, o):
9657  """set_origin(LogEmbedding1D self, Vector1D o)"""
9658  return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9659 
9660 
9661  def get_origin(self):
9662  """get_origin(LogEmbedding1D self) -> Vector1D"""
9663  return _IMP_algebra.LogEmbedding1D_get_origin(self)
9664 
9665 
9666  def get_dimension(self):
9667  """get_dimension(LogEmbedding1D self) -> unsigned int"""
9668  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9669 
9670 
9671  def set_unit_cell(self, *args):
9672  """
9673  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9674  set_unit_cell(LogEmbedding1D self, Vector1D o)
9675  """
9676  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9677 
9678 
9679  def get_unit_cell(self):
9680  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9681  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9682 
9683 
9684  def get_extended_index(self, o):
9685  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9686  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9687 
9688 
9689  def get_index(self, o):
9690  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9691  return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9692 
9693 
9694  def get_center(self, *args):
9695  """
9696  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9697  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9698  """
9699  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9700 
9701 
9702  def get_bounding_box(self, *args):
9703  """
9704  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9705  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9706  """
9707  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9708 
9709 
9710  def show(self, *args):
9711  """
9712  show(LogEmbedding1D self, _ostream out)
9713  show(LogEmbedding1D self)
9714  """
9715  return _IMP_algebra.LogEmbedding1D_show(self, *args)
9716 
9717 
9718  def __str__(self):
9719  """__str__(LogEmbedding1D self) -> std::string"""
9720  return _IMP_algebra.LogEmbedding1D___str__(self)
9721 
9722 
9723  def __repr__(self):
9724  """__repr__(LogEmbedding1D self) -> std::string"""
9725  return _IMP_algebra.LogEmbedding1D___repr__(self)
9726 
9727 
9728  def __cmp__(self, arg2):
9729  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9730  return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9731 
9732 
9733  def __eq__(self, arg2):
9734  """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9735  return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9736 
9737  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9738  __del__ = lambda self: None
9739 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9740 LogEmbedding1D_swigregister(LogEmbedding1D)
9741 
9742 class LogEmbedding2D(object):
9743  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9744 
9745  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9746 
9747  def __init__(self, *args):
9748  """
9749  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9750  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9751  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9752  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9753  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9754  """
9755  this = _IMP_algebra.new_LogEmbedding2D(*args)
9756  try:
9757  self.this.append(this)
9758  except __builtin__.Exception:
9759  self.this = this
9760 
9761  def set_origin(self, o):
9762  """set_origin(LogEmbedding2D self, Vector2D o)"""
9763  return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9764 
9765 
9766  def get_origin(self):
9767  """get_origin(LogEmbedding2D self) -> Vector2D"""
9768  return _IMP_algebra.LogEmbedding2D_get_origin(self)
9769 
9770 
9771  def get_dimension(self):
9772  """get_dimension(LogEmbedding2D self) -> unsigned int"""
9773  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9774 
9775 
9776  def set_unit_cell(self, *args):
9777  """
9778  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9779  set_unit_cell(LogEmbedding2D self, Vector2D o)
9780  """
9781  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9782 
9783 
9784  def get_unit_cell(self):
9785  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9786  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9787 
9788 
9789  def get_extended_index(self, o):
9790  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9791  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9792 
9793 
9794  def get_index(self, o):
9795  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9796  return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9797 
9798 
9799  def get_center(self, *args):
9800  """
9801  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9802  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9803  """
9804  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9805 
9806 
9807  def get_bounding_box(self, *args):
9808  """
9809  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9810  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9811  """
9812  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9813 
9814 
9815  def show(self, *args):
9816  """
9817  show(LogEmbedding2D self, _ostream out)
9818  show(LogEmbedding2D self)
9819  """
9820  return _IMP_algebra.LogEmbedding2D_show(self, *args)
9821 
9822 
9823  def __str__(self):
9824  """__str__(LogEmbedding2D self) -> std::string"""
9825  return _IMP_algebra.LogEmbedding2D___str__(self)
9826 
9827 
9828  def __repr__(self):
9829  """__repr__(LogEmbedding2D self) -> std::string"""
9830  return _IMP_algebra.LogEmbedding2D___repr__(self)
9831 
9832 
9833  def __cmp__(self, arg2):
9834  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9835  return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9836 
9837 
9838  def __eq__(self, arg2):
9839  """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9840  return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9841 
9842  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9843  __del__ = lambda self: None
9844 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9845 LogEmbedding2D_swigregister(LogEmbedding2D)
9846 
9847 class LogEmbedding4D(object):
9848  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9849 
9850  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9851 
9852  def __init__(self, *args):
9853  """
9854  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9855  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9856  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9857  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9858  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9859  """
9860  this = _IMP_algebra.new_LogEmbedding4D(*args)
9861  try:
9862  self.this.append(this)
9863  except __builtin__.Exception:
9864  self.this = this
9865 
9866  def set_origin(self, o):
9867  """set_origin(LogEmbedding4D self, Vector4D o)"""
9868  return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9869 
9870 
9871  def get_origin(self):
9872  """get_origin(LogEmbedding4D self) -> Vector4D"""
9873  return _IMP_algebra.LogEmbedding4D_get_origin(self)
9874 
9875 
9876  def get_dimension(self):
9877  """get_dimension(LogEmbedding4D self) -> unsigned int"""
9878  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9879 
9880 
9881  def set_unit_cell(self, *args):
9882  """
9883  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9884  set_unit_cell(LogEmbedding4D self, Vector4D o)
9885  """
9886  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9887 
9888 
9889  def get_unit_cell(self):
9890  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9891  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9892 
9893 
9894  def get_extended_index(self, o):
9895  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9896  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9897 
9898 
9899  def get_index(self, o):
9900  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9901  return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9902 
9903 
9904  def get_center(self, *args):
9905  """
9906  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9907  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9908  """
9909  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9910 
9911 
9912  def get_bounding_box(self, *args):
9913  """
9914  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9915  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9916  """
9917  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9918 
9919 
9920  def show(self, *args):
9921  """
9922  show(LogEmbedding4D self, _ostream out)
9923  show(LogEmbedding4D self)
9924  """
9925  return _IMP_algebra.LogEmbedding4D_show(self, *args)
9926 
9927 
9928  def __str__(self):
9929  """__str__(LogEmbedding4D self) -> std::string"""
9930  return _IMP_algebra.LogEmbedding4D___str__(self)
9931 
9932 
9933  def __repr__(self):
9934  """__repr__(LogEmbedding4D self) -> std::string"""
9935  return _IMP_algebra.LogEmbedding4D___repr__(self)
9936 
9937 
9938  def __cmp__(self, arg2):
9939  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9940  return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9941 
9942 
9943  def __eq__(self, arg2):
9944  """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9945  return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9946 
9947  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9948  __del__ = lambda self: None
9949 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9950 LogEmbedding4D_swigregister(LogEmbedding4D)
9951 
9952 class LogEmbedding5D(object):
9953  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9954 
9955  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9956 
9957  def __init__(self, *args):
9958  """
9959  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9960  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9961  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9962  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9963  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9964  """
9965  this = _IMP_algebra.new_LogEmbedding5D(*args)
9966  try:
9967  self.this.append(this)
9968  except __builtin__.Exception:
9969  self.this = this
9970 
9971  def set_origin(self, o):
9972  """set_origin(LogEmbedding5D self, Vector5D o)"""
9973  return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9974 
9975 
9976  def get_origin(self):
9977  """get_origin(LogEmbedding5D self) -> Vector5D"""
9978  return _IMP_algebra.LogEmbedding5D_get_origin(self)
9979 
9980 
9981  def get_dimension(self):
9982  """get_dimension(LogEmbedding5D self) -> unsigned int"""
9983  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9984 
9985 
9986  def set_unit_cell(self, *args):
9987  """
9988  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9989  set_unit_cell(LogEmbedding5D self, Vector5D o)
9990  """
9991  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9992 
9993 
9994  def get_unit_cell(self):
9995  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9996  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9997 
9998 
9999  def get_extended_index(self, o):
10000  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10001  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10002 
10003 
10004  def get_index(self, o):
10005  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10006  return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10007 
10008 
10009  def get_center(self, *args):
10010  """
10011  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10012  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10013  """
10014  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10015 
10016 
10017  def get_bounding_box(self, *args):
10018  """
10019  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10020  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10021  """
10022  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10023 
10024 
10025  def show(self, *args):
10026  """
10027  show(LogEmbedding5D self, _ostream out)
10028  show(LogEmbedding5D self)
10029  """
10030  return _IMP_algebra.LogEmbedding5D_show(self, *args)
10031 
10032 
10033  def __str__(self):
10034  """__str__(LogEmbedding5D self) -> std::string"""
10035  return _IMP_algebra.LogEmbedding5D___str__(self)
10036 
10037 
10038  def __repr__(self):
10039  """__repr__(LogEmbedding5D self) -> std::string"""
10040  return _IMP_algebra.LogEmbedding5D___repr__(self)
10041 
10042 
10043  def __cmp__(self, arg2):
10044  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10045  return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10046 
10047 
10048  def __eq__(self, arg2):
10049  """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10050  return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10051 
10052  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10053  __del__ = lambda self: None
10054 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10055 LogEmbedding5D_swigregister(LogEmbedding5D)
10056 
10057 class LogEmbedding6D(object):
10058  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10059 
10060  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10061 
10062  def __init__(self, *args):
10063  """
10064  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10065  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10066  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10067  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10068  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10069  """
10070  this = _IMP_algebra.new_LogEmbedding6D(*args)
10071  try:
10072  self.this.append(this)
10073  except __builtin__.Exception:
10074  self.this = this
10075 
10076  def set_origin(self, o):
10077  """set_origin(LogEmbedding6D self, Vector6D o)"""
10078  return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10079 
10080 
10081  def get_origin(self):
10082  """get_origin(LogEmbedding6D self) -> Vector6D"""
10083  return _IMP_algebra.LogEmbedding6D_get_origin(self)
10084 
10085 
10086  def get_dimension(self):
10087  """get_dimension(LogEmbedding6D self) -> unsigned int"""
10088  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10089 
10090 
10091  def set_unit_cell(self, *args):
10092  """
10093  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10094  set_unit_cell(LogEmbedding6D self, Vector6D o)
10095  """
10096  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10097 
10098 
10099  def get_unit_cell(self):
10100  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10101  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10102 
10103 
10104  def get_extended_index(self, o):
10105  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10106  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10107 
10108 
10109  def get_index(self, o):
10110  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10111  return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10112 
10113 
10114  def get_center(self, *args):
10115  """
10116  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10117  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10118  """
10119  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10120 
10121 
10122  def get_bounding_box(self, *args):
10123  """
10124  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10125  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10126  """
10127  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10128 
10129 
10130  def show(self, *args):
10131  """
10132  show(LogEmbedding6D self, _ostream out)
10133  show(LogEmbedding6D self)
10134  """
10135  return _IMP_algebra.LogEmbedding6D_show(self, *args)
10136 
10137 
10138  def __str__(self):
10139  """__str__(LogEmbedding6D self) -> std::string"""
10140  return _IMP_algebra.LogEmbedding6D___str__(self)
10141 
10142 
10143  def __repr__(self):
10144  """__repr__(LogEmbedding6D self) -> std::string"""
10145  return _IMP_algebra.LogEmbedding6D___repr__(self)
10146 
10147 
10148  def __cmp__(self, arg2):
10149  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10150  return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10151 
10152 
10153  def __eq__(self, arg2):
10154  """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10155  return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10156 
10157  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10158  __del__ = lambda self: None
10159 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10160 LogEmbedding6D_swigregister(LogEmbedding6D)
10161 
10162 class SpherePatch3D(_GeometricPrimitive3D):
10163  """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10164 
10165  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10166 
10167  def __init__(self, *args):
10168  """
10169  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10170  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10171  """
10172  this = _IMP_algebra.new_SpherePatch3D(*args)
10173  try:
10174  self.this.append(this)
10175  except __builtin__.Exception:
10176  self.this = this
10177 
10178  def get_contains(self, p):
10179  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10180  return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10181 
10182 
10183  def get_plane(self):
10184  """get_plane(SpherePatch3D self) -> Plane3D"""
10185  return _IMP_algebra.SpherePatch3D_get_plane(self)
10186 
10187 
10188  def get_sphere(self):
10189  """get_sphere(SpherePatch3D self) -> Sphere3D"""
10190  return _IMP_algebra.SpherePatch3D_get_sphere(self)
10191 
10192 
10193  def show(self, *args):
10194  """
10195  show(SpherePatch3D self, _ostream out)
10196  show(SpherePatch3D self)
10197  """
10198  return _IMP_algebra.SpherePatch3D_show(self, *args)
10199 
10200 
10201  def get_boundary_point(self):
10202  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10203  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10204 
10205 
10206  def __str__(self):
10207  """__str__(SpherePatch3D self) -> std::string"""
10208  return _IMP_algebra.SpherePatch3D___str__(self)
10209 
10210 
10211  def __repr__(self):
10212  """__repr__(SpherePatch3D self) -> std::string"""
10213  return _IMP_algebra.SpherePatch3D___repr__(self)
10214 
10215  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10216  __del__ = lambda self: None
10217 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10218 SpherePatch3D_swigregister(SpherePatch3D)
10219 
10220 
10221 def get_area(*args):
10222  """
10223  get_area(Plane3D g) -> double
10224  get_area(SpherePatch3D g) -> double
10225  """
10226  return _IMP_algebra.get_area(*args)
10227 
10228 def get_sphere_patch_3d_geometry(g):
10229  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10230  return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10231 class Cone3D(_GeometricPrimitive3D):
10232  """Proxy of C++ IMP::algebra::Cone3D class."""
10233 
10234  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10235 
10236  def __init__(self, *args):
10237  """
10238  __init__(IMP::algebra::Cone3D self) -> Cone3D
10239  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10240  """
10241  this = _IMP_algebra.new_Cone3D(*args)
10242  try:
10243  self.this.append(this)
10244  except __builtin__.Exception:
10245  self.this = this
10246 
10247  def get_tip(self):
10248  """get_tip(Cone3D self) -> Vector3D"""
10249  return _IMP_algebra.Cone3D_get_tip(self)
10250 
10251 
10252  def get_direction(self):
10253  """get_direction(Cone3D self) -> Vector3D"""
10254  return _IMP_algebra.Cone3D_get_direction(self)
10255 
10256 
10257  def get_height(self):
10258  """get_height(Cone3D self) -> double"""
10259  return _IMP_algebra.Cone3D_get_height(self)
10260 
10261 
10262  def get_angle(self):
10263  """get_angle(Cone3D self) -> double"""
10264  return _IMP_algebra.Cone3D_get_angle(self)
10265 
10266 
10267  def get_radius(self):
10268  """get_radius(Cone3D self) -> double"""
10269  return _IMP_algebra.Cone3D_get_radius(self)
10270 
10271 
10272  def get_contains(self, v):
10273  """get_contains(Cone3D self, Vector3D v) -> bool"""
10274  return _IMP_algebra.Cone3D_get_contains(self, v)
10275 
10276 
10277  def get_base_plane(self):
10278  """get_base_plane(Cone3D self) -> Plane3D"""
10279  return _IMP_algebra.Cone3D_get_base_plane(self)
10280 
10281 
10282  def show(self, *args):
10283  """
10284  show(Cone3D self, _ostream out)
10285  show(Cone3D self)
10286  """
10287  return _IMP_algebra.Cone3D_show(self, *args)
10288 
10289 
10290  def __str__(self):
10291  """__str__(Cone3D self) -> std::string"""
10292  return _IMP_algebra.Cone3D___str__(self)
10293 
10294 
10295  def __repr__(self):
10296  """__repr__(Cone3D self) -> std::string"""
10297  return _IMP_algebra.Cone3D___repr__(self)
10298 
10299  __swig_destroy__ = _IMP_algebra.delete_Cone3D
10300  __del__ = lambda self: None
10301 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10302 Cone3D_swigregister(Cone3D)
10303 
10304 
10305 def get_surface_area(*args):
10306  """
10307  get_surface_area(BoundingBox3D g) -> double
10308  get_surface_area(Sphere3D g) -> double
10309  get_surface_area(Cylinder3D g) -> double
10310  get_surface_area(Ellipsoid3D g) -> double
10311  get_surface_area(Cone3D g) -> double
10312  """
10313  return _IMP_algebra.get_surface_area(*args)
10314 
10315 def get_volume(*args):
10316  """
10317  get_volume(BoundingBox3D g) -> double
10318  get_volume(Sphere3D g) -> double
10319  get_volume(Cylinder3D g) -> double
10320  get_volume(Ellipsoid3D g) -> double
10321  get_volume(Cone3D g) -> double
10322  """
10323  return _IMP_algebra.get_volume(*args)
10324 
10325 def get_cone_3d_geometry(g):
10326  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10327  return _IMP_algebra.get_cone_3d_geometry(g)
10328 
10329 def write_pts(vs, out):
10330  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10331  return _IMP_algebra.write_pts(vs, out)
10332 
10333 def read_pts(input):
10334  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10335  return _IMP_algebra.read_pts(input)
10336 
10337 def write_spheres(vs, out):
10338  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10339  return _IMP_algebra.write_spheres(vs, out)
10340 
10341 def read_spheres(input):
10342  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10343  return _IMP_algebra.read_spheres(input)
10344 
10346  """get_random_vector_on_unit_sphere() -> Vector3D"""
10347  return _IMP_algebra.get_random_vector_on_unit_sphere()
10348 
10349 def get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle):
10350  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10351  return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10352 
10353 def get_random_chain(*args):
10354  """
10355  get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10356  get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10357  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10358  """
10359  return _IMP_algebra.get_random_chain(*args)
10360 
10361 def reversed_read(dest, size, nitems, f, reverse):
10362  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10363  return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10364 
10365 def reversed_write(src, size, nitems, f, reverse=False):
10366  """
10367  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10368  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10369  """
10370  return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10371 
10372 def get_is_big_endian():
10373  """get_is_big_endian() -> bool"""
10374  return _IMP_algebra.get_is_big_endian()
10375 
10376 def get_is_little_endian():
10377  """get_is_little_endian() -> bool"""
10378  return _IMP_algebra.get_is_little_endian()
10379 
10380 def get_shortest_segment(*args):
10381  """
10382  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10383  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10384  """
10385  return _IMP_algebra.get_shortest_segment(*args)
10386 class DynamicNearestNeighbor3D(IMP.Object):
10387  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10388 
10389  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10390 
10391  def __init__(self, vs, query_estimate=1):
10392  """
10393  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10394  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10395  """
10396  this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10397  try:
10398  self.this.append(this)
10399  except __builtin__.Exception:
10400  self.this = this
10401 
10402  def get_in_ball(self, id, distance):
10403  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10404  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10405 
10406 
10407  def set_coordinates(self, id, nc):
10408  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10409  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10410 
10411 
10412  def get_version_info(self):
10413  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10414  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10415 
10416 
10417  def __str__(self):
10418  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10419  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10420 
10421 
10422  def __repr__(self):
10423  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10424  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10425 
10426 
10427  @staticmethod
10428  def get_from(o):
10429  return _object_cast_to_DynamicNearestNeighbor3D(o)
10430 
10431 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10432 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10433 
10434 class VectorKDMetric(IMP.Object):
10435  """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10436 
10437  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10438 
10439  def __init__(self, name):
10440  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10441  if self.__class__ == VectorKDMetric:
10442  _self = None
10443  else:
10444  _self = self
10445  this = _IMP_algebra.new_VectorKDMetric(_self, name)
10446  try:
10447  self.this.append(this)
10448  except __builtin__.Exception:
10449  self.this = this
10450 
10451  if self.__class__ != VectorKDMetric:
10452  _director_objects.register(self)
10453 
10454 
10455 
10456 
10457  def get_distance(self, a, b):
10458  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10459  return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10460 
10461 
10462  def get_centroid(self, vs):
10463  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10464  return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10465 
10466 
10467  def __str__(self):
10468  """__str__(VectorKDMetric self) -> std::string"""
10469  return _IMP_algebra.VectorKDMetric___str__(self)
10470 
10471 
10472  def __repr__(self):
10473  """__repr__(VectorKDMetric self) -> std::string"""
10474  return _IMP_algebra.VectorKDMetric___repr__(self)
10475 
10476 
10477  @staticmethod
10478  def get_from(o):
10479  return _object_cast_to_VectorKDMetric(o)
10480 
10481 
10482  def get_type_name(self):
10483  return self.__class__.__name__
10484  def do_show(self, out):
10485  pass
10486  def get_version_info(self):
10487  if"IMP::algebra" == "IMP":
10488  return VersionInfo(self.__module__,
10489  __import__(self.__module__).get_module_version())
10490  else:
10491  return IMP.VersionInfo(self.__module__,
10492  __import__(self.__module__).get_module_version())
10493  @staticmethod
10494  def get_from(o):
10495  return _object_cast_to_VectorKDMetric(o)
10496 
10497  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10498  __del__ = lambda self: None
10499  def __disown__(self):
10500  self.this.disown()
10501  _IMP_algebra.disown_VectorKDMetric(self)
10502  return weakref_proxy(self)
10503 
10504  def do_destroy(self):
10505  """do_destroy(VectorKDMetric self)"""
10506  return _IMP_algebra.VectorKDMetric_do_destroy(self)
10507 
10508 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10509 VectorKDMetric_swigregister(VectorKDMetric)
10510 
10511 class EuclideanVectorKDMetric(VectorKDMetric):
10512  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10513 
10514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10515 
10516  def __init__(self, *args):
10517  """
10518  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10519  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10520  """
10521  this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10522  try:
10523  self.this.append(this)
10524  except __builtin__.Exception:
10525  self.this = this
10526 
10527  def get_version_info(self):
10528  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10529  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10530 
10531 
10532  def __str__(self):
10533  """__str__(EuclideanVectorKDMetric self) -> std::string"""
10534  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10535 
10536 
10537  def __repr__(self):
10538  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10539  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10540 
10541 
10542  @staticmethod
10543  def get_from(o):
10544  return _object_cast_to_EuclideanVectorKDMetric(o)
10545 
10546 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10547 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10548 
10549 class MaxVectorKDMetric(VectorKDMetric):
10550  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10551 
10552  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10553 
10554  def __init__(self, *args):
10555  """
10556  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10557  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10558  """
10559  this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10560  try:
10561  self.this.append(this)
10562  except __builtin__.Exception:
10563  self.this = this
10564 
10565  def get_version_info(self):
10566  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10567  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10568 
10569 
10570  def __str__(self):
10571  """__str__(MaxVectorKDMetric self) -> std::string"""
10572  return _IMP_algebra.MaxVectorKDMetric___str__(self)
10573 
10574 
10575  def __repr__(self):
10576  """__repr__(MaxVectorKDMetric self) -> std::string"""
10577  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10578 
10579 
10580  @staticmethod
10581  def get_from(o):
10582  return _object_cast_to_MaxVectorKDMetric(o)
10583 
10584 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10585 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10586 
10587 class Gaussian3D(_GeometricPrimitive3D):
10588  """Proxy of C++ IMP::algebra::Gaussian3D class."""
10589 
10590  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10591 
10592  def __init__(self, *args):
10593  """
10594  __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10595  __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10596  """
10597  this = _IMP_algebra.new_Gaussian3D(*args)
10598  try:
10599  self.this.append(this)
10600  except __builtin__.Exception:
10601  self.this = this
10602 
10603  def get_reference_frame(self):
10604  """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10605  return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10606 
10607 
10608  def get_variances(self):
10609  """get_variances(Gaussian3D self) -> Vector3D"""
10610  return _IMP_algebra.Gaussian3D_get_variances(self)
10611 
10612 
10613  def get_center(self):
10614  """get_center(Gaussian3D self) -> Vector3D"""
10615  return _IMP_algebra.Gaussian3D_get_center(self)
10616 
10617 
10618  def show(self, *args):
10619  """
10620  show(Gaussian3D self, _ostream out)
10621  show(Gaussian3D self)
10622  """
10623  return _IMP_algebra.Gaussian3D_show(self, *args)
10624 
10625 
10626  def __str__(self):
10627  """__str__(Gaussian3D self) -> std::string"""
10628  return _IMP_algebra.Gaussian3D___str__(self)
10629 
10630 
10631  def __repr__(self):
10632  """__repr__(Gaussian3D self) -> std::string"""
10633  return _IMP_algebra.Gaussian3D___repr__(self)
10634 
10635  __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10636  __del__ = lambda self: None
10637 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10638 Gaussian3D_swigregister(Gaussian3D)
10639 
10640 
10641 def get_covariance(g):
10642  """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
10643  return _IMP_algebra.get_covariance(g)
10644 
10645 def get_gaussian_from_covariance(covariance, center):
10646  """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10647  return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10648 
10649 def get_rasterized(gmm, weights, cell_width, bb):
10650  """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10651  return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10652 
10653 def get_rasterized_fast(gmm, weights, cell_width, bb, factor=2.5):
10654  """
10655  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10656  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10657  """
10658  return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10659 
10660 def _pass_matrix_xf(m):
10661  """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
10662  return _IMP_algebra._pass_matrix_xf(m)
10663 
10664 def _pass_matrix_xd(m):
10665  """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
10666  return _IMP_algebra._pass_matrix_xd(m)
10667 
10668 def _pass_matrix_3d(m):
10669  """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
10670  return _IMP_algebra._pass_matrix_3d(m)
10671 
10672 def _pass_array_xd(m):
10673  """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
10674  return _IMP_algebra._pass_array_xd(m)
10675 
10676 def _pass_vector_xd(m):
10677  """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
10678  return _IMP_algebra._pass_vector_xd(m)
10679 class NearestNeighbor1D(IMP.Object):
10680  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10681 
10682  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10683 
10684  def __init__(self, vs, epsilon=0):
10685  """
10686  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10687  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10688  """
10689  this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10690  try:
10691  self.this.append(this)
10692  except __builtin__.Exception:
10693  self.this = this
10694 
10695  def set_query_log(self, fname):
10696  """set_query_log(NearestNeighbor1D self, std::string fname)"""
10697  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10698 
10699 
10700  def get_nearest_neighbor(self, *args):
10701  """
10702  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10703  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10704  """
10705  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10706 
10707 
10708  def get_nearest_neighbors(self, *args):
10709  """
10710  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10711  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10712  """
10713  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10714 
10715 
10716  def get_in_ball(self, *args):
10717  """
10718  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10719  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10720  """
10721  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10722 
10723 
10724  def get_version_info(self):
10725  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10726  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10727 
10728 
10729  def __str__(self):
10730  """__str__(NearestNeighbor1D self) -> std::string"""
10731  return _IMP_algebra.NearestNeighbor1D___str__(self)
10732 
10733 
10734  def __repr__(self):
10735  """__repr__(NearestNeighbor1D self) -> std::string"""
10736  return _IMP_algebra.NearestNeighbor1D___repr__(self)
10737 
10738 
10739  @staticmethod
10740  def get_from(o):
10741  return _object_cast_to_NearestNeighborD(o)
10742 
10743 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10744 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10745 
10746 class NearestNeighbor2D(IMP.Object):
10747  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10748 
10749  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10750 
10751  def __init__(self, vs, epsilon=0):
10752  """
10753  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10754  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10755  """
10756  this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10757  try:
10758  self.this.append(this)
10759  except __builtin__.Exception:
10760  self.this = this
10761 
10762  def set_query_log(self, fname):
10763  """set_query_log(NearestNeighbor2D self, std::string fname)"""
10764  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10765 
10766 
10767  def get_nearest_neighbor(self, *args):
10768  """
10769  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10770  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10771  """
10772  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10773 
10774 
10775  def get_nearest_neighbors(self, *args):
10776  """
10777  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10778  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10779  """
10780  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10781 
10782 
10783  def get_in_ball(self, *args):
10784  """
10785  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10786  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10787  """
10788  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10789 
10790 
10791  def get_version_info(self):
10792  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10793  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10794 
10795 
10796  def __str__(self):
10797  """__str__(NearestNeighbor2D self) -> std::string"""
10798  return _IMP_algebra.NearestNeighbor2D___str__(self)
10799 
10800 
10801  def __repr__(self):
10802  """__repr__(NearestNeighbor2D self) -> std::string"""
10803  return _IMP_algebra.NearestNeighbor2D___repr__(self)
10804 
10805 
10806  @staticmethod
10807  def get_from(o):
10808  return _object_cast_to_NearestNeighborD(o)
10809 
10810 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10811 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10812 
10813 class NearestNeighbor3D(IMP.Object):
10814  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10815 
10816  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10817 
10818  def __init__(self, vs, epsilon=0):
10819  """
10820  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10821  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10822  """
10823  this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10824  try:
10825  self.this.append(this)
10826  except __builtin__.Exception:
10827  self.this = this
10828 
10829  def set_query_log(self, fname):
10830  """set_query_log(NearestNeighbor3D self, std::string fname)"""
10831  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10832 
10833 
10834  def get_nearest_neighbor(self, *args):
10835  """
10836  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10837  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10838  """
10839  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10840 
10841 
10842  def get_nearest_neighbors(self, *args):
10843  """
10844  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10845  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10846  """
10847  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10848 
10849 
10850  def get_in_ball(self, *args):
10851  """
10852  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10853  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10854  """
10855  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10856 
10857 
10858  def get_version_info(self):
10859  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10860  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10861 
10862 
10863  def __str__(self):
10864  """__str__(NearestNeighbor3D self) -> std::string"""
10865  return _IMP_algebra.NearestNeighbor3D___str__(self)
10866 
10867 
10868  def __repr__(self):
10869  """__repr__(NearestNeighbor3D self) -> std::string"""
10870  return _IMP_algebra.NearestNeighbor3D___repr__(self)
10871 
10872 
10873  @staticmethod
10874  def get_from(o):
10875  return _object_cast_to_NearestNeighborD(o)
10876 
10877 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10878 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10879 
10880 class NearestNeighbor4D(IMP.Object):
10881  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10882 
10883  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10884 
10885  def __init__(self, vs, epsilon=0):
10886  """
10887  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10888  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10889  """
10890  this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10891  try:
10892  self.this.append(this)
10893  except __builtin__.Exception:
10894  self.this = this
10895 
10896  def set_query_log(self, fname):
10897  """set_query_log(NearestNeighbor4D self, std::string fname)"""
10898  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10899 
10900 
10901  def get_nearest_neighbor(self, *args):
10902  """
10903  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10904  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10905  """
10906  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10907 
10908 
10909  def get_nearest_neighbors(self, *args):
10910  """
10911  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10912  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10913  """
10914  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10915 
10916 
10917  def get_in_ball(self, *args):
10918  """
10919  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10920  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10921  """
10922  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10923 
10924 
10925  def get_version_info(self):
10926  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10927  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10928 
10929 
10930  def __str__(self):
10931  """__str__(NearestNeighbor4D self) -> std::string"""
10932  return _IMP_algebra.NearestNeighbor4D___str__(self)
10933 
10934 
10935  def __repr__(self):
10936  """__repr__(NearestNeighbor4D self) -> std::string"""
10937  return _IMP_algebra.NearestNeighbor4D___repr__(self)
10938 
10939 
10940  @staticmethod
10941  def get_from(o):
10942  return _object_cast_to_NearestNeighborD(o)
10943 
10944 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10945 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10946 
10947 class NearestNeighbor5D(IMP.Object):
10948  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10949 
10950  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10951 
10952  def __init__(self, vs, epsilon=0):
10953  """
10954  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10955  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10956  """
10957  this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10958  try:
10959  self.this.append(this)
10960  except __builtin__.Exception:
10961  self.this = this
10962 
10963  def set_query_log(self, fname):
10964  """set_query_log(NearestNeighbor5D self, std::string fname)"""
10965  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10966 
10967 
10968  def get_nearest_neighbor(self, *args):
10969  """
10970  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10971  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10972  """
10973  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10974 
10975 
10976  def get_nearest_neighbors(self, *args):
10977  """
10978  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10979  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10980  """
10981  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10982 
10983 
10984  def get_in_ball(self, *args):
10985  """
10986  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10987  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10988  """
10989  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10990 
10991 
10992  def get_version_info(self):
10993  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10994  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10995 
10996 
10997  def __str__(self):
10998  """__str__(NearestNeighbor5D self) -> std::string"""
10999  return _IMP_algebra.NearestNeighbor5D___str__(self)
11000 
11001 
11002  def __repr__(self):
11003  """__repr__(NearestNeighbor5D self) -> std::string"""
11004  return _IMP_algebra.NearestNeighbor5D___repr__(self)
11005 
11006 
11007  @staticmethod
11008  def get_from(o):
11009  return _object_cast_to_NearestNeighborD(o)
11010 
11011 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11012 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11013 
11014 class NearestNeighbor6D(IMP.Object):
11015  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
11016 
11017  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11018 
11019  def __init__(self, vs, epsilon=0):
11020  """
11021  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11022  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11023  """
11024  this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11025  try:
11026  self.this.append(this)
11027  except __builtin__.Exception:
11028  self.this = this
11029 
11030  def set_query_log(self, fname):
11031  """set_query_log(NearestNeighbor6D self, std::string fname)"""
11032  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11033 
11034 
11035  def get_nearest_neighbor(self, *args):
11036  """
11037  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11038  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11039  """
11040  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11041 
11042 
11043  def get_nearest_neighbors(self, *args):
11044  """
11045  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11046  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11047  """
11048  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11049 
11050 
11051  def get_in_ball(self, *args):
11052  """
11053  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11054  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11055  """
11056  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11057 
11058 
11059  def get_version_info(self):
11060  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11061  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11062 
11063 
11064  def __str__(self):
11065  """__str__(NearestNeighbor6D self) -> std::string"""
11066  return _IMP_algebra.NearestNeighbor6D___str__(self)
11067 
11068 
11069  def __repr__(self):
11070  """__repr__(NearestNeighbor6D self) -> std::string"""
11071  return _IMP_algebra.NearestNeighbor6D___repr__(self)
11072 
11073 
11074  @staticmethod
11075  def get_from(o):
11076  return _object_cast_to_NearestNeighborD(o)
11077 
11078 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11079 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11080 
11081 class NearestNeighborKD(IMP.Object):
11082  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11083 
11084  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11085 
11086  def __init__(self, vs, epsilon=0):
11087  """
11088  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11089  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11090  """
11091  this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11092  try:
11093  self.this.append(this)
11094  except __builtin__.Exception:
11095  self.this = this
11096 
11097  def set_query_log(self, fname):
11098  """set_query_log(NearestNeighborKD self, std::string fname)"""
11099  return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11100 
11101 
11102  def get_nearest_neighbor(self, *args):
11103  """
11104  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11105  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11106  """
11107  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11108 
11109 
11110  def get_nearest_neighbors(self, *args):
11111  """
11112  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11113  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11114  """
11115  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11116 
11117 
11118  def get_in_ball(self, *args):
11119  """
11120  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11121  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11122  """
11123  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11124 
11125 
11126  def get_version_info(self):
11127  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11128  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11129 
11130 
11131  def __str__(self):
11132  """__str__(NearestNeighborKD self) -> std::string"""
11133  return _IMP_algebra.NearestNeighborKD___str__(self)
11134 
11135 
11136  def __repr__(self):
11137  """__repr__(NearestNeighborKD self) -> std::string"""
11138  return _IMP_algebra.NearestNeighborKD___repr__(self)
11139 
11140 
11141  @staticmethod
11142  def get_from(o):
11143  return _object_cast_to_NearestNeighborD(o)
11144 
11145 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11146 NearestNeighborKD_swigregister(NearestNeighborKD)
11147 
11148 
11149 def get_transformation_aligning_pair(set_from, set_to):
11150  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11151  return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11152 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11153  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11154 
11155  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11156 
11157  def __init__(self, *args):
11158  """
11159  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11160  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11161  """
11162  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11163  try:
11164  self.this.append(this)
11165  except __builtin__.Exception:
11166  self.this = this
11167 
11168  def get_principal_components(self):
11169  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11170  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11171 
11172 
11173  def get_principal_component(self, i):
11174  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11175  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11176 
11177 
11178  def get_principal_values(self):
11179  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11180  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11181 
11182 
11183  def get_principal_value(self, i):
11184  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11185  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11186 
11187 
11188  def get_centroid(self):
11189  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11190  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11191 
11192 
11193  def set_centroid(self, cntr):
11194  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11195  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11196 
11197 
11198  def show(self, *args):
11199  """
11200  show(PrincipalComponentAnalysis1D self, _ostream out)
11201  show(PrincipalComponentAnalysis1D self)
11202  """
11203  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11204 
11205 
11206  def __cmp__(self, o):
11207  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11208  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11209 
11210 
11211  def __eq__(self, o):
11212  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11213  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11214 
11215 
11216  def __ne__(self, o):
11217  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11218  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11219 
11220 
11221  def __lt__(self, o):
11222  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11223  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11224 
11225 
11226  def __gt__(self, o):
11227  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11228  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11229 
11230 
11231  def __ge__(self, o):
11232  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11233  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11234 
11235 
11236  def __le__(self, o):
11237  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11238  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11239 
11240 
11241  def __str__(self):
11242  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11243  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11244 
11245 
11246  def __repr__(self):
11247  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11248  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11249 
11250  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11251  __del__ = lambda self: None
11252 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11253 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11254 
11255 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11256  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11257 
11258  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11259 
11260  def __init__(self, *args):
11261  """
11262  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11263  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11264  """
11265  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11266  try:
11267  self.this.append(this)
11268  except __builtin__.Exception:
11269  self.this = this
11270 
11271  def get_principal_components(self):
11272  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11273  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11274 
11275 
11276  def get_principal_component(self, i):
11277  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11278  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11279 
11280 
11281  def get_principal_values(self):
11282  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11283  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11284 
11285 
11286  def get_principal_value(self, i):
11287  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11288  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11289 
11290 
11291  def get_centroid(self):
11292  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11293  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11294 
11295 
11296  def set_centroid(self, cntr):
11297  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11298  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11299 
11300 
11301  def show(self, *args):
11302  """
11303  show(PrincipalComponentAnalysis2D self, _ostream out)
11304  show(PrincipalComponentAnalysis2D self)
11305  """
11306  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11307 
11308 
11309  def __cmp__(self, o):
11310  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11311  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11312 
11313 
11314  def __eq__(self, o):
11315  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11316  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11317 
11318 
11319  def __ne__(self, o):
11320  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11321  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11322 
11323 
11324  def __lt__(self, o):
11325  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11326  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11327 
11328 
11329  def __gt__(self, o):
11330  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11331  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11332 
11333 
11334  def __ge__(self, o):
11335  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11336  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11337 
11338 
11339  def __le__(self, o):
11340  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11341  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11342 
11343 
11344  def __str__(self):
11345  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11346  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11347 
11348 
11349  def __repr__(self):
11350  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11351  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11352 
11353  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11354  __del__ = lambda self: None
11355 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11356 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11357 
11358 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11359  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11360 
11361  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11362 
11363  def __init__(self, *args):
11364  """
11365  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11366  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11367  """
11368  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11369  try:
11370  self.this.append(this)
11371  except __builtin__.Exception:
11372  self.this = this
11373 
11374  def get_principal_components(self):
11375  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11376  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11377 
11378 
11379  def get_principal_component(self, i):
11380  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11381  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11382 
11383 
11384  def get_principal_values(self):
11385  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11386  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11387 
11388 
11389  def get_principal_value(self, i):
11390  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11391  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11392 
11393 
11394  def get_centroid(self):
11395  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11396  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11397 
11398 
11399  def set_centroid(self, cntr):
11400  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11401  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11402 
11403 
11404  def show(self, *args):
11405  """
11406  show(PrincipalComponentAnalysis3D self, _ostream out)
11407  show(PrincipalComponentAnalysis3D self)
11408  """
11409  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11410 
11411 
11412  def __cmp__(self, o):
11413  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11414  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11415 
11416 
11417  def __eq__(self, o):
11418  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11419  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11420 
11421 
11422  def __ne__(self, o):
11423  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11424  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11425 
11426 
11427  def __lt__(self, o):
11428  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11429  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11430 
11431 
11432  def __gt__(self, o):
11433  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11434  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11435 
11436 
11437  def __ge__(self, o):
11438  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11439  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11440 
11441 
11442  def __le__(self, o):
11443  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11444  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11445 
11446 
11447  def __str__(self):
11448  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11449  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11450 
11451 
11452  def __repr__(self):
11453  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11454  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11455 
11456  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11457  __del__ = lambda self: None
11458 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11459 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11460 
11461 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11462  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11463 
11464  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11465 
11466  def __init__(self, *args):
11467  """
11468  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11469  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11470  """
11471  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11472  try:
11473  self.this.append(this)
11474  except __builtin__.Exception:
11475  self.this = this
11476 
11477  def get_principal_components(self):
11478  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11479  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11480 
11481 
11482  def get_principal_component(self, i):
11483  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11484  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11485 
11486 
11487  def get_principal_values(self):
11488  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11489  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11490 
11491 
11492  def get_principal_value(self, i):
11493  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11494  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11495 
11496 
11497  def get_centroid(self):
11498  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11499  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11500 
11501 
11502  def set_centroid(self, cntr):
11503  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11504  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11505 
11506 
11507  def show(self, *args):
11508  """
11509  show(PrincipalComponentAnalysis4D self, _ostream out)
11510  show(PrincipalComponentAnalysis4D self)
11511  """
11512  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11513 
11514 
11515  def __cmp__(self, o):
11516  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11517  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11518 
11519 
11520  def __eq__(self, o):
11521  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11522  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11523 
11524 
11525  def __ne__(self, o):
11526  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11527  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11528 
11529 
11530  def __lt__(self, o):
11531  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11532  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11533 
11534 
11535  def __gt__(self, o):
11536  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11537  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11538 
11539 
11540  def __ge__(self, o):
11541  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11542  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11543 
11544 
11545  def __le__(self, o):
11546  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11547  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11548 
11549 
11550  def __str__(self):
11551  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11552  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11553 
11554 
11555  def __repr__(self):
11556  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11557  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11558 
11559  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11560  __del__ = lambda self: None
11561 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11562 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11563 
11564 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11565  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11566 
11567  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11568 
11569  def __init__(self, *args):
11570  """
11571  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11572  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11573  """
11574  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11575  try:
11576  self.this.append(this)
11577  except __builtin__.Exception:
11578  self.this = this
11579 
11580  def get_principal_components(self):
11581  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11582  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11583 
11584 
11585  def get_principal_component(self, i):
11586  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11587  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11588 
11589 
11590  def get_principal_values(self):
11591  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11592  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11593 
11594 
11595  def get_principal_value(self, i):
11596  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11597  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11598 
11599 
11600  def get_centroid(self):
11601  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11602  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11603 
11604 
11605  def set_centroid(self, cntr):
11606  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11607  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11608 
11609 
11610  def show(self, *args):
11611  """
11612  show(PrincipalComponentAnalysis5D self, _ostream out)
11613  show(PrincipalComponentAnalysis5D self)
11614  """
11615  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11616 
11617 
11618  def __cmp__(self, o):
11619  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11620  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11621 
11622 
11623  def __eq__(self, o):
11624  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11625  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11626 
11627 
11628  def __ne__(self, o):
11629  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11630  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11631 
11632 
11633  def __lt__(self, o):
11634  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11635  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11636 
11637 
11638  def __gt__(self, o):
11639  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11640  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11641 
11642 
11643  def __ge__(self, o):
11644  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11645  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11646 
11647 
11648  def __le__(self, o):
11649  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11650  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11651 
11652 
11653  def __str__(self):
11654  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11655  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11656 
11657 
11658  def __repr__(self):
11659  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11660  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11661 
11662  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11663  __del__ = lambda self: None
11664 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11665 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11666 
11667 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11668  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11669 
11670  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11671 
11672  def __init__(self, *args):
11673  """
11674  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11675  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11676  """
11677  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11678  try:
11679  self.this.append(this)
11680  except __builtin__.Exception:
11681  self.this = this
11682 
11683  def get_principal_components(self):
11684  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11685  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11686 
11687 
11688  def get_principal_component(self, i):
11689  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11690  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11691 
11692 
11693  def get_principal_values(self):
11694  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11695  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11696 
11697 
11698  def get_principal_value(self, i):
11699  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11700  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11701 
11702 
11703  def get_centroid(self):
11704  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11705  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11706 
11707 
11708  def set_centroid(self, cntr):
11709  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11710  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11711 
11712 
11713  def show(self, *args):
11714  """
11715  show(PrincipalComponentAnalysis6D self, _ostream out)
11716  show(PrincipalComponentAnalysis6D self)
11717  """
11718  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11719 
11720 
11721  def __cmp__(self, o):
11722  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11723  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11724 
11725 
11726  def __eq__(self, o):
11727  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11728  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11729 
11730 
11731  def __ne__(self, o):
11732  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11733  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11734 
11735 
11736  def __lt__(self, o):
11737  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11738  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11739 
11740 
11741  def __gt__(self, o):
11742  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11743  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11744 
11745 
11746  def __ge__(self, o):
11747  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11748  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11749 
11750 
11751  def __le__(self, o):
11752  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11753  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11754 
11755 
11756  def __str__(self):
11757  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11758  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11759 
11760 
11761  def __repr__(self):
11762  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11763  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11764 
11765  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11766  __del__ = lambda self: None
11767 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11768 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11769 
11770 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11771  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11772 
11773  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11774 
11775  def __init__(self, *args):
11776  """
11777  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11778  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11779  """
11780  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11781  try:
11782  self.this.append(this)
11783  except __builtin__.Exception:
11784  self.this = this
11785 
11786  def get_principal_components(self):
11787  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11788  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11789 
11790 
11791  def get_principal_component(self, i):
11792  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11793  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11794 
11795 
11796  def get_principal_values(self):
11797  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11798  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11799 
11800 
11801  def get_principal_value(self, i):
11802  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11803  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11804 
11805 
11806  def get_centroid(self):
11807  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11808  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11809 
11810 
11811  def set_centroid(self, cntr):
11812  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11813  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11814 
11815 
11816  def show(self, *args):
11817  """
11818  show(PrincipalComponentAnalysisKD self, _ostream out)
11819  show(PrincipalComponentAnalysisKD self)
11820  """
11821  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11822 
11823 
11824  def __cmp__(self, o):
11825  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11826  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11827 
11828 
11829  def __eq__(self, o):
11830  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11831  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11832 
11833 
11834  def __ne__(self, o):
11835  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11836  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11837 
11838 
11839  def __lt__(self, o):
11840  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11841  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11842 
11843 
11844  def __gt__(self, o):
11845  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11846  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11847 
11848 
11849  def __ge__(self, o):
11850  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11851  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11852 
11853 
11854  def __le__(self, o):
11855  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11856  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11857 
11858 
11859  def __str__(self):
11860  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11861  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11862 
11863 
11864  def __repr__(self):
11865  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11866  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11867 
11868  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11869  __del__ = lambda self: None
11870 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11871 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11872 
11873 
11874 def get_principal_components(*args):
11875  """
11876  get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11877  get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11878  get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11879  get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11880  get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11881  get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11882  get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11883  """
11884  return _IMP_algebra.get_principal_components(*args)
11885 
11886 def get_vertices(*args):
11887  """
11888  get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11889  get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11890  get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11891  get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11892  get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11893  get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11894  get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11895  """
11896  return _IMP_algebra.get_vertices(*args)
11897 
11898 def get_distance(*args):
11899  """
11900  get_distance(Rotation3D r0, Rotation3D r1) -> double
11901  get_distance(Line3D s, Vector3D p) -> double
11902  get_distance(Line3D a, Line3D b) -> double
11903  get_distance(Segment3D s, Vector3D p) -> double
11904  get_distance(Segment3D a, Segment3D b) -> double
11905  get_distance(Plane3D pln, Vector3D p) -> double
11906  get_distance(Vector1D a, Vector1D b) -> double
11907  get_distance(Vector2D a, Vector2D b) -> double
11908  get_distance(Vector3D a, Vector3D b) -> double
11909  get_distance(Vector4D a, Vector4D b) -> double
11910  get_distance(Vector5D a, Vector5D b) -> double
11911  get_distance(Vector6D a, Vector6D b) -> double
11912  get_distance(VectorKD a, VectorKD b) -> double
11913  get_distance(Sphere1D a, Sphere1D b) -> double
11914  get_distance(Sphere2D a, Sphere2D b) -> double
11915  get_distance(Sphere3D a, Sphere3D b) -> double
11916  get_distance(Sphere4D a, Sphere4D b) -> double
11917  get_distance(Sphere5D a, Sphere5D b) -> double
11918  get_distance(Sphere6D a, Sphere6D b) -> double
11919  get_distance(SphereKD a, SphereKD b) -> double
11920  """
11921  return _IMP_algebra.get_distance(*args)
11922 
11923 def get_squared_distance(*args):
11924  """
11925  get_squared_distance(Vector1D a, Vector1D b) -> double
11926  get_squared_distance(Vector2D a, Vector2D b) -> double
11927  get_squared_distance(Vector3D a, Vector3D b) -> double
11928  get_squared_distance(Vector4D a, Vector4D b) -> double
11929  get_squared_distance(Vector5D a, Vector5D b) -> double
11930  get_squared_distance(Vector6D a, Vector6D b) -> double
11931  get_squared_distance(VectorKD a, VectorKD b) -> double
11932  """
11933  return _IMP_algebra.get_squared_distance(*args)
11934 
11935 def get_basis_vector_1d(coordinate):
11936  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11937  return _IMP_algebra.get_basis_vector_1d(coordinate)
11938 
11939 def get_basis_vector_2d(coordinate):
11940  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11941  return _IMP_algebra.get_basis_vector_2d(coordinate)
11942 
11943 def get_basis_vector_3d(coordinate):
11944  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11945  return _IMP_algebra.get_basis_vector_3d(coordinate)
11946 
11947 def get_basis_vector_4d(coordinate):
11948  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11949  return _IMP_algebra.get_basis_vector_4d(coordinate)
11950 
11951 def get_basis_vector_5d(coordinate):
11952  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11953  return _IMP_algebra.get_basis_vector_5d(coordinate)
11954 
11955 def get_basis_vector_6d(coordinate):
11956  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11957  return _IMP_algebra.get_basis_vector_6d(coordinate)
11958 
11959 def get_zero_vector_1d():
11960  """get_zero_vector_1d() -> Vector1D"""
11961  return _IMP_algebra.get_zero_vector_1d()
11962 
11963 def get_zero_vector_2d():
11964  """get_zero_vector_2d() -> Vector2D"""
11965  return _IMP_algebra.get_zero_vector_2d()
11966 
11967 def get_zero_vector_3d():
11968  """get_zero_vector_3d() -> Vector3D"""
11969  return _IMP_algebra.get_zero_vector_3d()
11970 
11971 def get_zero_vector_4d():
11972  """get_zero_vector_4d() -> Vector4D"""
11973  return _IMP_algebra.get_zero_vector_4d()
11974 
11975 def get_zero_vector_5d():
11976  """get_zero_vector_5d() -> Vector5D"""
11977  return _IMP_algebra.get_zero_vector_5d()
11978 
11979 def get_zero_vector_6d():
11980  """get_zero_vector_6d() -> Vector6D"""
11981  return _IMP_algebra.get_zero_vector_6d()
11982 
11983 def get_ones_vector_1d(v=1):
11984  """
11985  get_ones_vector_1d(double v=1) -> Vector1D
11986  get_ones_vector_1d() -> Vector1D
11987  """
11988  return _IMP_algebra.get_ones_vector_1d(v)
11989 
11990 def get_ones_vector_2d(v=1):
11991  """
11992  get_ones_vector_2d(double v=1) -> Vector2D
11993  get_ones_vector_2d() -> Vector2D
11994  """
11995  return _IMP_algebra.get_ones_vector_2d(v)
11996 
11997 def get_ones_vector_3d(v=1):
11998  """
11999  get_ones_vector_3d(double v=1) -> Vector3D
12000  get_ones_vector_3d() -> Vector3D
12001  """
12002  return _IMP_algebra.get_ones_vector_3d(v)
12003 
12004 def get_ones_vector_4d(v=1):
12005  """
12006  get_ones_vector_4d(double v=1) -> Vector4D
12007  get_ones_vector_4d() -> Vector4D
12008  """
12009  return _IMP_algebra.get_ones_vector_4d(v)
12010 
12011 def get_ones_vector_5d(v=1):
12012  """
12013  get_ones_vector_5d(double v=1) -> Vector5D
12014  get_ones_vector_5d() -> Vector5D
12015  """
12016  return _IMP_algebra.get_ones_vector_5d(v)
12017 
12018 def get_ones_vector_6d(v=1):
12019  """
12020  get_ones_vector_6d(double v=1) -> Vector6D
12021  get_ones_vector_6d() -> Vector6D
12022  """
12023  return _IMP_algebra.get_ones_vector_6d(v)
12024 
12025 def get_unit_bounding_box_1d():
12026  """get_unit_bounding_box_1d() -> BoundingBox1D"""
12027  return _IMP_algebra.get_unit_bounding_box_1d()
12028 
12029 def get_unit_bounding_box_2d():
12030  """get_unit_bounding_box_2d() -> BoundingBox2D"""
12031  return _IMP_algebra.get_unit_bounding_box_2d()
12032 
12033 def get_unit_bounding_box_3d():
12034  """get_unit_bounding_box_3d() -> BoundingBox3D"""
12035  return _IMP_algebra.get_unit_bounding_box_3d()
12036 
12037 def get_unit_bounding_box_4d():
12038  """get_unit_bounding_box_4d() -> BoundingBox4D"""
12039  return _IMP_algebra.get_unit_bounding_box_4d()
12040 
12041 def get_unit_bounding_box_5d():
12042  """get_unit_bounding_box_5d() -> BoundingBox5D"""
12043  return _IMP_algebra.get_unit_bounding_box_5d()
12044 
12045 def get_unit_bounding_box_6d():
12046  """get_unit_bounding_box_6d() -> BoundingBox6D"""
12047  return _IMP_algebra.get_unit_bounding_box_6d()
12048 
12049 def get_cube_1d(radius):
12050  """get_cube_1d(double radius) -> BoundingBox1D"""
12051  return _IMP_algebra.get_cube_1d(radius)
12052 
12053 def get_cube_2d(radius):
12054  """get_cube_2d(double radius) -> BoundingBox2D"""
12055  return _IMP_algebra.get_cube_2d(radius)
12056 
12057 def get_cube_3d(radius):
12058  """get_cube_3d(double radius) -> BoundingBox3D"""
12059  return _IMP_algebra.get_cube_3d(radius)
12060 
12061 def get_cube_4d(radius):
12062  """get_cube_4d(double radius) -> BoundingBox4D"""
12063  return _IMP_algebra.get_cube_4d(radius)
12064 
12065 def get_cube_5d(radius):
12066  """get_cube_5d(double radius) -> BoundingBox5D"""
12067  return _IMP_algebra.get_cube_5d(radius)
12068 
12069 def get_cube_6d(radius):
12070  """get_cube_6d(double radius) -> BoundingBox6D"""
12071  return _IMP_algebra.get_cube_6d(radius)
12072 
12073 def get_unit_sphere_1d():
12074  """get_unit_sphere_1d() -> Sphere1D"""
12075  return _IMP_algebra.get_unit_sphere_1d()
12076 
12077 def get_unit_sphere_2d():
12078  """get_unit_sphere_2d() -> Sphere2D"""
12079  return _IMP_algebra.get_unit_sphere_2d()
12080 
12081 def get_unit_sphere_3d():
12082  """get_unit_sphere_3d() -> Sphere3D"""
12083  return _IMP_algebra.get_unit_sphere_3d()
12084 
12085 def get_unit_sphere_4d():
12086  """get_unit_sphere_4d() -> Sphere4D"""
12087  return _IMP_algebra.get_unit_sphere_4d()
12088 
12089 def get_unit_sphere_5d():
12090  """get_unit_sphere_5d() -> Sphere5D"""
12091  return _IMP_algebra.get_unit_sphere_5d()
12092 
12093 def get_unit_sphere_6d():
12094  """get_unit_sphere_6d() -> Sphere6D"""
12095  return _IMP_algebra.get_unit_sphere_6d()
12096 
12097 def get_interiors_intersect(*args):
12098  """
12099  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12100  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12101  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12102  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12103  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12104  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12105  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12106  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12107  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12108  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12109  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12110  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12111  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12112  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12113  """
12114  return _IMP_algebra.get_interiors_intersect(*args)
12115 
12116 def get_random_vector_on(*args):
12117  """
12118  get_random_vector_on(Sphere1D a) -> Vector1D
12119  get_random_vector_on(Sphere2D a) -> Vector2D
12120  get_random_vector_on(Sphere3D a) -> Vector3D
12121  get_random_vector_on(Sphere4D a) -> Vector4D
12122  get_random_vector_on(Sphere5D a) -> Vector5D
12123  get_random_vector_on(Sphere6D a) -> Vector6D
12124  get_random_vector_on(SphereKD a) -> VectorKD
12125  get_random_vector_on(BoundingBox1D a) -> Vector1D
12126  get_random_vector_on(BoundingBox2D a) -> Vector2D
12127  get_random_vector_on(BoundingBox3D a) -> Vector3D
12128  get_random_vector_on(BoundingBox4D a) -> Vector4D
12129  get_random_vector_on(BoundingBox5D a) -> Vector5D
12130  get_random_vector_on(BoundingBox6D a) -> Vector6D
12131  get_random_vector_on(BoundingBoxKD a) -> VectorKD
12132  """
12133  return _IMP_algebra.get_random_vector_on(*args)
12134 
12135 def get_random_vector_in(*args):
12136  """
12137  get_random_vector_in(Cylinder3D c) -> Vector3D
12138  get_random_vector_in(Sphere1D a) -> Vector1D
12139  get_random_vector_in(Sphere2D a) -> Vector2D
12140  get_random_vector_in(Sphere3D a) -> Vector3D
12141  get_random_vector_in(Sphere4D a) -> Vector4D
12142  get_random_vector_in(Sphere5D a) -> Vector5D
12143  get_random_vector_in(Sphere6D a) -> Vector6D
12144  get_random_vector_in(SphereKD a) -> VectorKD
12145  get_random_vector_in(BoundingBox1D a) -> Vector1D
12146  get_random_vector_in(BoundingBox2D a) -> Vector2D
12147  get_random_vector_in(BoundingBox3D a) -> Vector3D
12148  get_random_vector_in(BoundingBox4D a) -> Vector4D
12149  get_random_vector_in(BoundingBox5D a) -> Vector5D
12150  get_random_vector_in(BoundingBox6D a) -> Vector6D
12151  get_random_vector_in(BoundingBoxKD a) -> VectorKD
12152  """
12153  return _IMP_algebra.get_random_vector_in(*args)
12154 
12155 def get_intersection(*args):
12156  """
12157  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12158  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12159  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12160  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12161  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12162  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12163  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12164  """
12165  return _IMP_algebra.get_intersection(*args)
12166 
12167 def get_union(*args):
12168  """
12169  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12170  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12171  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12172  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12173  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12174  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12175  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12176  """
12177  return _IMP_algebra.get_union(*args)
12178 
12179 def get_bounding_box(*args):
12180  """
12181  get_bounding_box(Line3D g) -> BoundingBox3D
12182  get_bounding_box(Segment3D g) -> BoundingBox3D
12183  get_bounding_box(Plane3D g) -> BoundingBox3D
12184  get_bounding_box(Cylinder3D g) -> BoundingBox3D
12185  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12186  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12187  get_bounding_box(Cone3D g) -> BoundingBox3D
12188  get_bounding_box(Sphere1D a) -> BoundingBox1D
12189  get_bounding_box(Sphere2D a) -> BoundingBox2D
12190  get_bounding_box(Sphere3D a) -> BoundingBox3D
12191  get_bounding_box(Sphere4D a) -> BoundingBox4D
12192  get_bounding_box(Sphere5D a) -> BoundingBox5D
12193  get_bounding_box(Sphere6D a) -> BoundingBox6D
12194  get_bounding_box(SphereKD a) -> BoundingBoxKD
12195  """
12196  return _IMP_algebra.get_bounding_box(*args)
12197 
12198 def get_uniform_surface_cover(*args):
12199  """
12200  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12201  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12202  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12203  get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12204  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12205  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12206  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12207  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12208  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12209  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12210  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12211  """
12212  return _IMP_algebra.get_uniform_surface_cover(*args)
12213 
12215  """
12216  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12217  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12218  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12219  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12220  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12221  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12222  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12223  """
12224  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12225 class _AxisAnglePair(object):
12226  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12227 
12228  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12229  __repr__ = _swig_repr
12230 
12231  def __init__(self, *args):
12232  """
12233  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12234  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12235  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12236  """
12237  this = _IMP_algebra.new__AxisAnglePair(*args)
12238  try:
12239  self.this.append(this)
12240  except __builtin__.Exception:
12241  self.this = this
12242  first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12243  second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12244  def __len__(self):
12245  return 2
12246  def __repr__(self):
12247  return str((self.first, self.second))
12248  def __getitem__(self, index):
12249  if not (index % 2):
12250  return self.first
12251  else:
12252  return self.second
12253  def __setitem__(self, index, val):
12254  if not (index % 2):
12255  self.first = val
12256  else:
12257  self.second = val
12258  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12259  __del__ = lambda self: None
12260 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12261 _AxisAnglePair_swigregister(_AxisAnglePair)
12262 
12263 
12265  """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12266  return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12267 
12268 def get_rmsd_transforming_first(tr, v0, v1):
12269  """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12270  return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12271 
12272 def get_rmsd(v0, v1):
12273  """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12274  return _IMP_algebra.get_rmsd(v0, v1)
12275 
12276 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12277  """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12278  return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12279 
12280 def get_weighted_rmsd(v0, v1, weights):
12281  """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12282  return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12283 
12284 LinearFit=LinearFit2D
12285 ParabolicFit=ParabolicFit2D
12286 
12287 
12288 def get_module_version():
12289  """get_module_version() -> std::string const"""
12290  return _IMP_algebra.get_module_version()
12291 
12292 def get_example_path(fname):
12293  """get_example_path(std::string fname) -> std::string"""
12294  return _IMP_algebra.get_example_path(fname)
12295 
12296 def get_data_path(fname):
12297  """get_data_path(std::string fname) -> std::string"""
12298  return _IMP_algebra.get_data_path(fname)
12299 
12300 from . import _version_check
12301 _version_check.check_version(get_module_version())
12302 __version__ = get_module_version()
12303 
12304 
12305 
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
Definition: Rotation3D.h:341
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Definition: Surface.h:129
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
Definition: SphereD.h:88
SphereD< 3 > Sphere3D
Typedef for Python.
Definition: SphereD.h:88
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
VectorD< 6 > Vector6D
Definition: VectorD.h:407
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 2 > Vector2D
Definition: VectorD.h:391
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Definition: VectorD.h:262
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Definition: Rotation2D.h:108
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
VectorD< 5 > Vector5D
Definition: VectorD.h:403
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:274
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Definition: exception.h:123
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D &center)
Return a Gaussian centered at the origin from a covariance matrix.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
Definition: BoundingBoxD.h:307
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD< 2 > Sphere2D
Typedef for Python.
Definition: SphereD.h:88
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:254
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
Definition: VectorD.h:201
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Definition: VectorBaseD.h:229
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
Definition: Sphere3D.h:35
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_second(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to second quaternion.
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
Definition: Plane3D.h:68
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< 4 > Vector4D
Definition: VectorD.h:399
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
Definition: VectorD.h:289
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Definition: Rotation3D.h:367
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
Definition: VectorD.h:235
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
Definition: BoundingBoxD.h:223
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Definition: BoundingBoxD.h:163
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
Definition: Vector3D.h:31
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Definition: BoundingBoxD.h:209
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:90
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
Definition: SphereD.h:88
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
Definition: SphereD.h:88
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Definition: BoundingBoxD.h:187
Version and module information for Objects.
Definition: VersionInfo.h:28
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
VectorD< 1 > Vector1D
Definition: VectorD.h:387
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Definition: SphereD.h:88
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Definition: Rotation3D.h:538
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
Definition: Rotation3D.h:434
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Definition: BoundingBoxD.h:201
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Definition: Rotation2D.h:100
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
Definition: Vector3D.h:68
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
VectorD< 3 > Vector3D
Definition: VectorD.h:395
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
Definition: Rotation3D.h:302
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3D spheres to a file.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
Get a set of balls that approximates the surface of the passed set.
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_first(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to first quaternion.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
Definition: Vector3D.h:51
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
VectorD<-1 > VectorKD
Definition: VectorD.h:411
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD<-1 > SphereKD
Typedef for Python.
Definition: SphereD.h:88
ParticleIndexes get_indexes(const ParticlesTemp &ps)
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
Definition: BoundingBoxD.h:176
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:93