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