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