IMP logo
IMP Reference Guide  2.15.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-2021 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_NUMPY_swigconstant(_IMP_algebra)
269 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
270 
271 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
273 
274 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
276 
277 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
279 
280 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
282 
283 import sys
284 class _DirectorObjects(object):
285  """@internal Simple class to keep references to director objects
286  to prevent premature deletion."""
287  def __init__(self):
288  self._objects = []
289  def register(self, obj):
290  """Take a reference to a director object; will only work for
291  refcounted C++ classes"""
292  if hasattr(obj, 'get_ref_count'):
293  self._objects.append(obj)
294  def cleanup(self):
295  """Only drop our reference and allow cleanup by Python if no other
296  Python references exist (we hold 3 references: one in self._objects,
297  one in x, and one in the argument list for getrefcount) *and* no
298  other C++ references exist (the Python object always holds one)"""
299  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
300  or x.get_ref_count() > 1]
301 # Do in two steps so the references are kept until the end of the
302 # function (deleting references may trigger a fresh call to this method)
303  self._objects = objs
304  def get_object_count(self):
305  """Get number of director objects (useful for testing only)"""
306  return len(self._objects)
307 _director_objects = _DirectorObjects()
308 
309 class _ostream(object):
310  """Proxy of C++ std::ostream class"""
311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
312 
313  def __init__(self, *args, **kwargs):
314  raise AttributeError("No constructor defined")
315  __repr__ = _swig_repr
316 
317  def write(self, osa_buf):
318  """write(_ostream self, char const * osa_buf)"""
319  return _IMP_algebra._ostream_write(self, osa_buf)
320 
321 _ostream_swigregister = _IMP_algebra._ostream_swigregister
322 _ostream_swigregister(_ostream)
323 
324 
325 _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_algebra)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
327 
328 _IMP_algebra.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_algebra)
329 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
330 
331 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
332 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
333 
334 _IMP_algebra.IMP_C_OPEN_BINARY_swigconstant(_IMP_algebra)
335 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
336 import IMP
337 
338 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
340 
341 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
343 
344 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
346 
347 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
349 
350 _IMP_algebra.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_algebra)
351 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
352 
353 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
354 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
355 import IMP.cgal
356 
357 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
359 
360 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 
363 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 
366 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 
369 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
371 
372 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
374 
375 _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_algebra)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
377 
378 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
379 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
380 
381 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
383 
384 def get_vector(v):
385  try:
386  return v.get_coordinates()
387  except:
388  return v
389 def get_sphere(v):
390  try:
391  return v.get_sphere()
392  except:
393  return v
394 
395 
396 _object_types.append("VectorKDMetric")
397 
398 
399 def _object_cast_to_VectorKDMetric(o):
400  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
401  return _IMP_algebra._object_cast_to_VectorKDMetric(o)
402 
403 _object_types.append("EuclideanVectorKDMetric")
404 
405 
406 def _object_cast_to_EuclideanVectorKDMetric(o):
407  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
408  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
409 
410 _object_types.append("MaxVectorKDMetric")
411 
412 
413 def _object_cast_to_MaxVectorKDMetric(o):
414  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
415  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
416 
417 _object_types.append("DynamicNearestNeighbor3D")
418 
419 
420 def _object_cast_to_DynamicNearestNeighbor3D(o):
421  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
422  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
423 
424 Rotation2Ds=list
425 _plural_types.append("Rotation2Ds")
426 _value_types.append("Rotation2D")
427 
428 
429 Rotation3Ds=list
430 _plural_types.append("Rotation3Ds")
431 _value_types.append("Rotation3D")
432 
433 
434 Reflection3Ds=list
435 _plural_types.append("Reflection3Ds")
436 _value_types.append("Reflection3D")
437 
438 
439 Transformation2Ds=list
440 _plural_types.append("Transformation2Ds")
441 _value_types.append("Transformation2D")
442 
443 
444 Transformation3Ds=list
445 _plural_types.append("Transformation3Ds")
446 _value_types.append("Transformation3D")
447 
448 
449 SphericalVector3Ds=list
450 _plural_types.append("SphericalVector3Ds")
451 _value_types.append("SphericalVector3D")
452 
453 
454 Triangle3Ds=list
455 _plural_types.append("Triangle3Ds")
456 _value_types.append("Triangle3D")
457 
458 
459 Cone3Ds=list
460 _plural_types.append("Cone3Ds")
461 _value_types.append("Cone3D")
462 
463 
464 Cylinder3Ds=list
465 _plural_types.append("Cylinder3Ds")
466 _value_types.append("Cylinder3D")
467 
468 
469 Ellipsoid3Ds=list
470 _plural_types.append("Ellipsoid3Ds")
471 _value_types.append("Ellipsoid3D")
472 
473 
474 Line3Ds=list
475 _plural_types.append("Line3Ds")
476 _value_types.append("Line3D")
477 
478 
479 Plane3Ds=list
480 _plural_types.append("Plane3Ds")
481 _value_types.append("Plane3D")
482 
483 
484 Segment3Ds=list
485 _plural_types.append("Segment3Ds")
486 _value_types.append("Segment3D")
487 
488 
489 SpherePatch3Ds=list
490 _plural_types.append("SpherePatch3Ds")
491 _value_types.append("SpherePatch3D")
492 
493 
494 ConnollySurfacePoints=list
495 _plural_types.append("ConnollySurfacePoints")
496 _value_types.append("ConnollySurfacePoint")
497 
498 
499 Sphere1Ds=list
500 _plural_types.append("Sphere1Ds")
501 _value_types.append("Sphere1D")
502 
503 
504 Sphere2Ds=list
505 _plural_types.append("Sphere2Ds")
506 _value_types.append("Sphere2D")
507 
508 
509 Sphere3Ds=list
510 _plural_types.append("Sphere3Ds")
511 _value_types.append("Sphere3D")
512 
513 
514 Sphere4Ds=list
515 _plural_types.append("Sphere4Ds")
516 _value_types.append("Sphere4D")
517 
518 
519 Sphere5Ds=list
520 _plural_types.append("Sphere5Ds")
521 _value_types.append("Sphere5D")
522 
523 
524 Sphere6Ds=list
525 _plural_types.append("Sphere6Ds")
526 _value_types.append("Sphere6D")
527 
528 
529 Sphere1Ds=list
530 _plural_types.append("Sphere1Ds")
531 _value_types.append("SphereD<1>")
532 
533 
534 Sphere2Ds=list
535 _plural_types.append("Sphere2Ds")
536 _value_types.append("SphereD<2>")
537 
538 
539 Sphere3Ds=list
540 _plural_types.append("Sphere3Ds")
541 _value_types.append("SphereD<3>")
542 
543 
544 Sphere4Ds=list
545 _plural_types.append("Sphere4Ds")
546 _value_types.append("SphereD<4>")
547 
548 
549 Sphere5Ds=list
550 _plural_types.append("Sphere5Ds")
551 _value_types.append("SphereD<5>")
552 
553 
554 Sphere6Ds=list
555 _plural_types.append("Sphere6Ds")
556 _value_types.append("SphereD<6>")
557 
558 
559 SphereKDs=list
560 _plural_types.append("SphereKDs")
561 _value_types.append("SphereKD")
562 
563 
564 SphereKDs=list
565 _plural_types.append("SphereKDs")
566 _value_types.append("SphereD<-1>")
567 
568 
569 UnitSimplex1Ds=list
570 _plural_types.append("UnitSimplex1Ds")
571 _value_types.append("UnitSimplex1D")
572 
573 
574 UnitSimplex2Ds=list
575 _plural_types.append("UnitSimplex2Ds")
576 _value_types.append("UnitSimplex2D")
577 
578 
579 UnitSimplex3Ds=list
580 _plural_types.append("UnitSimplex3Ds")
581 _value_types.append("UnitSimplex3D")
582 
583 
584 UnitSimplex4Ds=list
585 _plural_types.append("UnitSimplex4Ds")
586 _value_types.append("UnitSimplex4D")
587 
588 
589 UnitSimplex5Ds=list
590 _plural_types.append("UnitSimplex5Ds")
591 _value_types.append("UnitSimplex5D")
592 
593 
594 UnitSimplex6Ds=list
595 _plural_types.append("UnitSimplex6Ds")
596 _value_types.append("UnitSimplex6D")
597 
598 
599 UnitSimplex1Ds=list
600 _plural_types.append("UnitSimplex1Ds")
601 _value_types.append("UnitSimplexD<1>")
602 
603 
604 UnitSimplex2Ds=list
605 _plural_types.append("UnitSimplex2Ds")
606 _value_types.append("UnitSimplexD<2>")
607 
608 
609 UnitSimplex3Ds=list
610 _plural_types.append("UnitSimplex3Ds")
611 _value_types.append("UnitSimplexD<3>")
612 
613 
614 UnitSimplex4Ds=list
615 _plural_types.append("UnitSimplex4Ds")
616 _value_types.append("UnitSimplexD<4>")
617 
618 
619 UnitSimplex5Ds=list
620 _plural_types.append("UnitSimplex5Ds")
621 _value_types.append("UnitSimplexD<5>")
622 
623 
624 UnitSimplex6Ds=list
625 _plural_types.append("UnitSimplex6Ds")
626 _value_types.append("UnitSimplexD<6>")
627 
628 
629 UnitSimplexKDs=list
630 _plural_types.append("UnitSimplexKDs")
631 _value_types.append("UnitSimplexKD")
632 
633 
634 UnitSimplexKDs=list
635 _plural_types.append("UnitSimplexKDs")
636 _value_types.append("UnitSimplexD<-1>")
637 
638 
639 BoundingBox1Ds=list
640 _plural_types.append("BoundingBox1Ds")
641 _value_types.append("BoundingBox1D")
642 
643 
644 BoundingBox2Ds=list
645 _plural_types.append("BoundingBox2Ds")
646 _value_types.append("BoundingBox2D")
647 
648 
649 BoundingBox3Ds=list
650 _plural_types.append("BoundingBox3Ds")
651 _value_types.append("BoundingBox3D")
652 
653 
654 BoundingBox4Ds=list
655 _plural_types.append("BoundingBox4Ds")
656 _value_types.append("BoundingBox4D")
657 
658 
659 BoundingBox5Ds=list
660 _plural_types.append("BoundingBox5Ds")
661 _value_types.append("BoundingBox5D")
662 
663 
664 BoundingBox6Ds=list
665 _plural_types.append("BoundingBox6Ds")
666 _value_types.append("BoundingBox6D")
667 
668 
669 BoundingBox1Ds=list
670 _plural_types.append("BoundingBox1Ds")
671 _value_types.append("BoundingBoxD<1>")
672 
673 
674 BoundingBox2Ds=list
675 _plural_types.append("BoundingBox2Ds")
676 _value_types.append("BoundingBoxD<2>")
677 
678 
679 BoundingBox3Ds=list
680 _plural_types.append("BoundingBox3Ds")
681 _value_types.append("BoundingBoxD<3>")
682 
683 
684 BoundingBox4Ds=list
685 _plural_types.append("BoundingBox4Ds")
686 _value_types.append("BoundingBoxD<4>")
687 
688 
689 BoundingBox5Ds=list
690 _plural_types.append("BoundingBox5Ds")
691 _value_types.append("BoundingBoxD<5>")
692 
693 
694 BoundingBox6Ds=list
695 _plural_types.append("BoundingBox6Ds")
696 _value_types.append("BoundingBoxD<6>")
697 
698 
699 BoundingBoxKDs=list
700 _plural_types.append("BoundingBoxKDs")
701 _value_types.append("BoundingBoxKD")
702 
703 
704 BoundingBoxKDs=list
705 _plural_types.append("BoundingBoxKDs")
706 _value_types.append("BoundingBoxD<-1>")
707 
708 
709 PrincipalComponentAnalysis1Ds=list
710 _plural_types.append("PrincipalComponentAnalysis1Ds")
711 _value_types.append("PrincipalComponentAnalysis1D")
712 
713 
714 PrincipalComponentAnalysis2Ds=list
715 _plural_types.append("PrincipalComponentAnalysis2Ds")
716 _value_types.append("PrincipalComponentAnalysis2D")
717 
718 
719 PrincipalComponentAnalysis3Ds=list
720 _plural_types.append("PrincipalComponentAnalysis3Ds")
721 _value_types.append("PrincipalComponentAnalysis3D")
722 
723 
724 PrincipalComponentAnalysis4Ds=list
725 _plural_types.append("PrincipalComponentAnalysis4Ds")
726 _value_types.append("PrincipalComponentAnalysis4D")
727 
728 
729 PrincipalComponentAnalysis5Ds=list
730 _plural_types.append("PrincipalComponentAnalysis5Ds")
731 _value_types.append("PrincipalComponentAnalysis5D")
732 
733 
734 PrincipalComponentAnalysis6Ds=list
735 _plural_types.append("PrincipalComponentAnalysis6Ds")
736 _value_types.append("PrincipalComponentAnalysis6D")
737 
738 
739 PrincipalComponentAnalysis1Ds=list
740 _plural_types.append("PrincipalComponentAnalysis1Ds")
741 _value_types.append("PrincipalComponentAnalysisD<1>")
742 
743 
744 PrincipalComponentAnalysis2Ds=list
745 _plural_types.append("PrincipalComponentAnalysis2Ds")
746 _value_types.append("PrincipalComponentAnalysisD<2>")
747 
748 
749 PrincipalComponentAnalysis3Ds=list
750 _plural_types.append("PrincipalComponentAnalysis3Ds")
751 _value_types.append("PrincipalComponentAnalysisD<3>")
752 
753 
754 PrincipalComponentAnalysis4Ds=list
755 _plural_types.append("PrincipalComponentAnalysis4Ds")
756 _value_types.append("PrincipalComponentAnalysisD<4>")
757 
758 
759 PrincipalComponentAnalysis5Ds=list
760 _plural_types.append("PrincipalComponentAnalysis5Ds")
761 _value_types.append("PrincipalComponentAnalysisD<5>")
762 
763 
764 PrincipalComponentAnalysis6Ds=list
765 _plural_types.append("PrincipalComponentAnalysis6Ds")
766 _value_types.append("PrincipalComponentAnalysisD<6>")
767 
768 
769 PrincipalComponentAnalysisKDs=list
770 _plural_types.append("PrincipalComponentAnalysisKDs")
771 _value_types.append("PrincipalComponentAnalysisKD")
772 
773 
774 PrincipalComponentAnalysisKDs=list
775 _plural_types.append("PrincipalComponentAnalysisKDs")
776 _value_types.append("PrincipalComponentAnalysisD<-1>")
777 
778 
779 _object_types.append("NearestNeighbor1D")
780 
781 
782 def _object_cast_to_NearestNeighbor1D(o):
783  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
784  return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
785 
786 _object_types.append("NearestNeighbor2D")
787 
788 
789 def _object_cast_to_NearestNeighbor2D(o):
790  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
791  return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
792 
793 _object_types.append("NearestNeighbor3D")
794 
795 
796 def _object_cast_to_NearestNeighbor3D(o):
797  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
798  return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
799 
800 _object_types.append("NearestNeighbor4D")
801 
802 
803 def _object_cast_to_NearestNeighbor4D(o):
804  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
805  return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
806 
807 _object_types.append("NearestNeighbor5D")
808 
809 
810 def _object_cast_to_NearestNeighbor5D(o):
811  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
812  return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
813 
814 _object_types.append("NearestNeighbor6D")
815 
816 
817 def _object_cast_to_NearestNeighbor6D(o):
818  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
819  return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
820 
821 _object_types.append("NearestNeighborKD")
822 
823 
824 def _object_cast_to_NearestNeighborKD(o):
825  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
826  return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
827 
828 ReferenceFrame3Ds=list
829 _plural_types.append("ReferenceFrame3Ds")
830 _value_types.append("ReferenceFrame3D")
831 
832 
833 Gaussian3Ds=list
834 _plural_types.append("Gaussian3Ds")
835 _value_types.append("Gaussian3D")
836 
837 
838 DefaultEmbedding1Ds=list
839 _plural_types.append("DefaultEmbedding1Ds")
840 _value_types.append("DefaultEmbedding1D")
841 
842 
843 DefaultEmbedding2Ds=list
844 _plural_types.append("DefaultEmbedding2Ds")
845 _value_types.append("DefaultEmbedding2D")
846 
847 
848 DefaultEmbedding3Ds=list
849 _plural_types.append("DefaultEmbedding3Ds")
850 _value_types.append("DefaultEmbedding3D")
851 
852 
853 DefaultEmbedding4Ds=list
854 _plural_types.append("DefaultEmbedding4Ds")
855 _value_types.append("DefaultEmbedding4D")
856 
857 
858 DefaultEmbedding5Ds=list
859 _plural_types.append("DefaultEmbedding5Ds")
860 _value_types.append("DefaultEmbedding5D")
861 
862 
863 DefaultEmbedding6Ds=list
864 _plural_types.append("DefaultEmbedding6Ds")
865 _value_types.append("DefaultEmbedding6D")
866 
867 
868 DefaultEmbedding1Ds=list
869 _plural_types.append("DefaultEmbedding1Ds")
870 _value_types.append("DefaultEmbeddingD<1>")
871 
872 
873 DefaultEmbedding2Ds=list
874 _plural_types.append("DefaultEmbedding2Ds")
875 _value_types.append("DefaultEmbeddingD<2>")
876 
877 
878 DefaultEmbedding3Ds=list
879 _plural_types.append("DefaultEmbedding3Ds")
880 _value_types.append("DefaultEmbeddingD<3>")
881 
882 
883 DefaultEmbedding4Ds=list
884 _plural_types.append("DefaultEmbedding4Ds")
885 _value_types.append("DefaultEmbeddingD<4>")
886 
887 
888 DefaultEmbedding5Ds=list
889 _plural_types.append("DefaultEmbedding5Ds")
890 _value_types.append("DefaultEmbeddingD<5>")
891 
892 
893 DefaultEmbedding6Ds=list
894 _plural_types.append("DefaultEmbedding6Ds")
895 _value_types.append("DefaultEmbeddingD<6>")
896 
897 
898 DefaultEmbeddingKDs=list
899 _plural_types.append("DefaultEmbeddingKDs")
900 _value_types.append("DefaultEmbeddingKD")
901 
902 
903 DefaultEmbeddingKDs=list
904 _plural_types.append("DefaultEmbeddingKDs")
905 _value_types.append("DefaultEmbeddingD<-1>")
906 
907 
908 LogEmbedding1Ds=list
909 _plural_types.append("LogEmbedding1Ds")
910 _value_types.append("LogEmbedding1D")
911 
912 
913 LogEmbedding2Ds=list
914 _plural_types.append("LogEmbedding2Ds")
915 _value_types.append("LogEmbedding2D")
916 
917 
918 LogEmbedding3Ds=list
919 _plural_types.append("LogEmbedding3Ds")
920 _value_types.append("LogEmbedding3D")
921 
922 
923 LogEmbedding4Ds=list
924 _plural_types.append("LogEmbedding4Ds")
925 _value_types.append("LogEmbedding4D")
926 
927 
928 LogEmbedding5Ds=list
929 _plural_types.append("LogEmbedding5Ds")
930 _value_types.append("LogEmbedding5D")
931 
932 
933 LogEmbedding6Ds=list
934 _plural_types.append("LogEmbedding6Ds")
935 _value_types.append("LogEmbedding6D")
936 
937 
938 LogEmbedding1Ds=list
939 _plural_types.append("LogEmbedding1Ds")
940 _value_types.append("LogEmbeddingD<1>")
941 
942 
943 LogEmbedding2Ds=list
944 _plural_types.append("LogEmbedding2Ds")
945 _value_types.append("LogEmbeddingD<2>")
946 
947 
948 LogEmbedding3Ds=list
949 _plural_types.append("LogEmbedding3Ds")
950 _value_types.append("LogEmbeddingD<3>")
951 
952 
953 LogEmbedding4Ds=list
954 _plural_types.append("LogEmbedding4Ds")
955 _value_types.append("LogEmbeddingD<4>")
956 
957 
958 LogEmbedding5Ds=list
959 _plural_types.append("LogEmbedding5Ds")
960 _value_types.append("LogEmbeddingD<5>")
961 
962 
963 LogEmbedding6Ds=list
964 _plural_types.append("LogEmbedding6Ds")
965 _value_types.append("LogEmbeddingD<6>")
966 
967 
968 LogEmbeddingKDs=list
969 _plural_types.append("LogEmbeddingKDs")
970 _value_types.append("LogEmbeddingKD")
971 
972 
973 LogEmbeddingKDs=list
974 _plural_types.append("LogEmbeddingKDs")
975 _value_types.append("LogEmbeddingD<-1>")
976 
977 
978 GridIndex1Ds=list
979 _plural_types.append("GridIndex1Ds")
980 _value_types.append("GridIndex1D")
981 
982 
983 GridIndex2Ds=list
984 _plural_types.append("GridIndex2Ds")
985 _value_types.append("GridIndex2D")
986 
987 
988 GridIndex3Ds=list
989 _plural_types.append("GridIndex3Ds")
990 _value_types.append("GridIndex3D")
991 
992 
993 GridIndex4Ds=list
994 _plural_types.append("GridIndex4Ds")
995 _value_types.append("GridIndex4D")
996 
997 
998 GridIndex5Ds=list
999 _plural_types.append("GridIndex5Ds")
1000 _value_types.append("GridIndex5D")
1001 
1002 
1003 GridIndex6Ds=list
1004 _plural_types.append("GridIndex6Ds")
1005 _value_types.append("GridIndex6D")
1006 
1007 
1008 GridIndex1Ds=list
1009 _plural_types.append("GridIndex1Ds")
1010 _value_types.append("GridIndexD<1>")
1011 
1012 
1013 GridIndex2Ds=list
1014 _plural_types.append("GridIndex2Ds")
1015 _value_types.append("GridIndexD<2>")
1016 
1017 
1018 GridIndex3Ds=list
1019 _plural_types.append("GridIndex3Ds")
1020 _value_types.append("GridIndexD<3>")
1021 
1022 
1023 GridIndex4Ds=list
1024 _plural_types.append("GridIndex4Ds")
1025 _value_types.append("GridIndexD<4>")
1026 
1027 
1028 GridIndex5Ds=list
1029 _plural_types.append("GridIndex5Ds")
1030 _value_types.append("GridIndexD<5>")
1031 
1032 
1033 GridIndex6Ds=list
1034 _plural_types.append("GridIndex6Ds")
1035 _value_types.append("GridIndexD<6>")
1036 
1037 
1038 GridIndexKDs=list
1039 _plural_types.append("GridIndexKDs")
1040 _value_types.append("GridIndexKD")
1041 
1042 
1043 GridIndexKDs=list
1044 _plural_types.append("GridIndexKDs")
1045 _value_types.append("GridIndexD<-1>")
1046 
1047 
1048 ExtendedGridIndex1Ds=list
1049 _plural_types.append("ExtendedGridIndex1Ds")
1050 _value_types.append("ExtendedGridIndex1D")
1051 
1052 
1053 ExtendedGridIndex2Ds=list
1054 _plural_types.append("ExtendedGridIndex2Ds")
1055 _value_types.append("ExtendedGridIndex2D")
1056 
1057 
1058 ExtendedGridIndex3Ds=list
1059 _plural_types.append("ExtendedGridIndex3Ds")
1060 _value_types.append("ExtendedGridIndex3D")
1061 
1062 
1063 ExtendedGridIndex4Ds=list
1064 _plural_types.append("ExtendedGridIndex4Ds")
1065 _value_types.append("ExtendedGridIndex4D")
1066 
1067 
1068 ExtendedGridIndex5Ds=list
1069 _plural_types.append("ExtendedGridIndex5Ds")
1070 _value_types.append("ExtendedGridIndex5D")
1071 
1072 
1073 ExtendedGridIndex6Ds=list
1074 _plural_types.append("ExtendedGridIndex6Ds")
1075 _value_types.append("ExtendedGridIndex6D")
1076 
1077 
1078 ExtendedGridIndex1Ds=list
1079 _plural_types.append("ExtendedGridIndex1Ds")
1080 _value_types.append("ExtendedGridIndexD<1>")
1081 
1082 
1083 ExtendedGridIndex2Ds=list
1084 _plural_types.append("ExtendedGridIndex2Ds")
1085 _value_types.append("ExtendedGridIndexD<2>")
1086 
1087 
1088 ExtendedGridIndex3Ds=list
1089 _plural_types.append("ExtendedGridIndex3Ds")
1090 _value_types.append("ExtendedGridIndexD<3>")
1091 
1092 
1093 ExtendedGridIndex4Ds=list
1094 _plural_types.append("ExtendedGridIndex4Ds")
1095 _value_types.append("ExtendedGridIndexD<4>")
1096 
1097 
1098 ExtendedGridIndex5Ds=list
1099 _plural_types.append("ExtendedGridIndex5Ds")
1100 _value_types.append("ExtendedGridIndexD<5>")
1101 
1102 
1103 ExtendedGridIndex6Ds=list
1104 _plural_types.append("ExtendedGridIndex6Ds")
1105 _value_types.append("ExtendedGridIndexD<6>")
1106 
1107 
1108 ExtendedGridIndexKDs=list
1109 _plural_types.append("ExtendedGridIndexKDs")
1110 _value_types.append("ExtendedGridIndexKD")
1111 
1112 
1113 ExtendedGridIndexKDs=list
1114 _plural_types.append("ExtendedGridIndexKDs")
1115 _value_types.append("ExtendedGridIndexD<-1>")
1116 
1117 
1118 BoundedGridRange1Ds=list
1119 _plural_types.append("BoundedGridRange1Ds")
1120 _value_types.append("BoundedGridRange1D")
1121 
1122 
1123 BoundedGridRange2Ds=list
1124 _plural_types.append("BoundedGridRange2Ds")
1125 _value_types.append("BoundedGridRange2D")
1126 
1127 
1128 BoundedGridRange3Ds=list
1129 _plural_types.append("BoundedGridRange3Ds")
1130 _value_types.append("BoundedGridRange3D")
1131 
1132 
1133 BoundedGridRange4Ds=list
1134 _plural_types.append("BoundedGridRange4Ds")
1135 _value_types.append("BoundedGridRange4D")
1136 
1137 
1138 BoundedGridRange5Ds=list
1139 _plural_types.append("BoundedGridRange5Ds")
1140 _value_types.append("BoundedGridRange5D")
1141 
1142 
1143 BoundedGridRange6Ds=list
1144 _plural_types.append("BoundedGridRange6Ds")
1145 _value_types.append("BoundedGridRange6D")
1146 
1147 
1148 BoundedGridRange1Ds=list
1149 _plural_types.append("BoundedGridRange1Ds")
1150 _value_types.append("BoundedGridRangeD<1>")
1151 
1152 
1153 BoundedGridRange2Ds=list
1154 _plural_types.append("BoundedGridRange2Ds")
1155 _value_types.append("BoundedGridRangeD<2>")
1156 
1157 
1158 BoundedGridRange3Ds=list
1159 _plural_types.append("BoundedGridRange3Ds")
1160 _value_types.append("BoundedGridRangeD<3>")
1161 
1162 
1163 BoundedGridRange4Ds=list
1164 _plural_types.append("BoundedGridRange4Ds")
1165 _value_types.append("BoundedGridRangeD<4>")
1166 
1167 
1168 BoundedGridRange5Ds=list
1169 _plural_types.append("BoundedGridRange5Ds")
1170 _value_types.append("BoundedGridRangeD<5>")
1171 
1172 
1173 BoundedGridRange6Ds=list
1174 _plural_types.append("BoundedGridRange6Ds")
1175 _value_types.append("BoundedGridRangeD<6>")
1176 
1177 
1178 BoundedGridRangeKDs=list
1179 _plural_types.append("BoundedGridRangeKDs")
1180 _value_types.append("BoundedGridRangeKD")
1181 
1182 
1183 BoundedGridRangeKDs=list
1184 _plural_types.append("BoundedGridRangeKDs")
1185 _value_types.append("BoundedGridRangeD<-1>")
1186 
1187 
1188 UnboundedGridRange1Ds=list
1189 _plural_types.append("UnboundedGridRange1Ds")
1190 _value_types.append("UnboundedGridRange1D")
1191 
1192 
1193 UnboundedGridRange2Ds=list
1194 _plural_types.append("UnboundedGridRange2Ds")
1195 _value_types.append("UnboundedGridRange2D")
1196 
1197 
1198 UnboundedGridRange3Ds=list
1199 _plural_types.append("UnboundedGridRange3Ds")
1200 _value_types.append("UnboundedGridRange3D")
1201 
1202 
1203 UnboundedGridRange4Ds=list
1204 _plural_types.append("UnboundedGridRange4Ds")
1205 _value_types.append("UnboundedGridRange4D")
1206 
1207 
1208 UnboundedGridRange5Ds=list
1209 _plural_types.append("UnboundedGridRange5Ds")
1210 _value_types.append("UnboundedGridRange5D")
1211 
1212 
1213 UnboundedGridRange6Ds=list
1214 _plural_types.append("UnboundedGridRange6Ds")
1215 _value_types.append("UnboundedGridRange6D")
1216 
1217 
1218 UnboundedGridRange1Ds=list
1219 _plural_types.append("UnboundedGridRange1Ds")
1220 _value_types.append("UnboundedGridRangeD<1>")
1221 
1222 
1223 UnboundedGridRange2Ds=list
1224 _plural_types.append("UnboundedGridRange2Ds")
1225 _value_types.append("UnboundedGridRangeD<2>")
1226 
1227 
1228 UnboundedGridRange3Ds=list
1229 _plural_types.append("UnboundedGridRange3Ds")
1230 _value_types.append("UnboundedGridRangeD<3>")
1231 
1232 
1233 UnboundedGridRange4Ds=list
1234 _plural_types.append("UnboundedGridRange4Ds")
1235 _value_types.append("UnboundedGridRangeD<4>")
1236 
1237 
1238 UnboundedGridRange5Ds=list
1239 _plural_types.append("UnboundedGridRange5Ds")
1240 _value_types.append("UnboundedGridRangeD<5>")
1241 
1242 
1243 UnboundedGridRange6Ds=list
1244 _plural_types.append("UnboundedGridRange6Ds")
1245 _value_types.append("UnboundedGridRangeD<6>")
1246 
1247 
1248 UnboundedGridRangeKDs=list
1249 _plural_types.append("UnboundedGridRangeKDs")
1250 _value_types.append("UnboundedGridRangeKD")
1251 
1252 
1253 UnboundedGridRangeKDs=list
1254 _plural_types.append("UnboundedGridRangeKDs")
1255 _value_types.append("UnboundedGridRangeD<-1>")
1256 
1257 
1258 LinearFit2Ds=list
1259 _plural_types.append("LinearFit2Ds")
1260 _value_types.append("LinearFit2D")
1261 
1262 
1263 ParabolicFit2Ds=list
1264 _plural_types.append("ParabolicFit2Ds")
1265 _value_types.append("ParabolicFit2D")
1266 
1267 
1268 FixedXYZs=list
1269 _plural_types.append("FixedXYZs")
1270 _value_types.append("FixedXYZ")
1271 
1272 class _GeometricPrimitive1D(object):
1273  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1274  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1275 
1276  def __init__(self, *args, **kwargs):
1277  raise AttributeError("No constructor defined")
1278  __repr__ = _swig_repr
1279  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1280  __del__ = lambda self: None
1281 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1282 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1283 
1284 class _GeometricPrimitive2D(object):
1285  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1286  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1287 
1288  def __init__(self, *args, **kwargs):
1289  raise AttributeError("No constructor defined")
1290  __repr__ = _swig_repr
1291  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1292  __del__ = lambda self: None
1293 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1294 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1295 
1296 class _GeometricPrimitive3D(object):
1297  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1298  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1299 
1300  def __init__(self, *args, **kwargs):
1301  raise AttributeError("No constructor defined")
1302  __repr__ = _swig_repr
1303  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1304  __del__ = lambda self: None
1305 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1306 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1307 
1308 class _GeometricPrimitive4D(object):
1309  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1310  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1311 
1312  def __init__(self, *args, **kwargs):
1313  raise AttributeError("No constructor defined")
1314  __repr__ = _swig_repr
1315  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1316  __del__ = lambda self: None
1317 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1318 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1319 
1320 class _GeometricPrimitive5D(object):
1321  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1322  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1323 
1324  def __init__(self, *args, **kwargs):
1325  raise AttributeError("No constructor defined")
1326  __repr__ = _swig_repr
1327  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1328  __del__ = lambda self: None
1329 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1330 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1331 
1332 class _GeometricPrimitive6D(object):
1333  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1334  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1335 
1336  def __init__(self, *args, **kwargs):
1337  raise AttributeError("No constructor defined")
1338  __repr__ = _swig_repr
1339  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1340  __del__ = lambda self: None
1341 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1342 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1343 
1344 class _GeometricPrimitiveKD(object):
1345  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1346  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1347 
1348  def __init__(self, *args, **kwargs):
1349  raise AttributeError("No constructor defined")
1350  __repr__ = _swig_repr
1351  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1352  __del__ = lambda self: None
1353 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1354 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1355 
1356 
1357 Vector1Ds=list
1358 _plural_types.append("Vector1Ds")
1359 _value_types.append("Vector1D")
1360 
1361 
1362 Vector2Ds=list
1363 _plural_types.append("Vector2Ds")
1364 _value_types.append("Vector2D")
1365 
1366 
1367 Vector3Ds=list
1368 _plural_types.append("Vector3Ds")
1369 _value_types.append("Vector3D")
1370 
1371 
1372 Vector4Ds=list
1373 _plural_types.append("Vector4Ds")
1374 _value_types.append("Vector4D")
1375 
1376 
1377 Vector5Ds=list
1378 _plural_types.append("Vector5Ds")
1379 _value_types.append("Vector5D")
1380 
1381 
1382 Vector6Ds=list
1383 _plural_types.append("Vector6Ds")
1384 _value_types.append("Vector6D")
1385 
1386 
1387 Vector1Ds=list
1388 _plural_types.append("Vector1Ds")
1389 _value_types.append("VectorD<1>")
1390 
1391 
1392 Vector2Ds=list
1393 _plural_types.append("Vector2Ds")
1394 _value_types.append("VectorD<2>")
1395 
1396 
1397 Vector3Ds=list
1398 _plural_types.append("Vector3Ds")
1399 _value_types.append("VectorD<3>")
1400 
1401 
1402 Vector4Ds=list
1403 _plural_types.append("Vector4Ds")
1404 _value_types.append("VectorD<4>")
1405 
1406 
1407 Vector5Ds=list
1408 _plural_types.append("Vector5Ds")
1409 _value_types.append("VectorD<5>")
1410 
1411 
1412 Vector6Ds=list
1413 _plural_types.append("Vector6Ds")
1414 _value_types.append("VectorD<6>")
1415 
1416 
1417 VectorKDs=list
1418 _plural_types.append("VectorKDs")
1419 _value_types.append("VectorKD")
1420 
1421 
1422 VectorKDs=list
1423 _plural_types.append("VectorKDs")
1424 _value_types.append("VectorD<-1>")
1425 
1426 class _VectorBaseKD(_GeometricPrimitiveKD):
1427  """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1428  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1429  __repr__ = _swig_repr
1430 
1431  def __init__(self):
1432  """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1433  this = _IMP_algebra.new__VectorBaseKD()
1434  try:
1435  self.this.append(this)
1436  except:
1437  self.this = this
1438 
1439  def get_scalar_product(self, o):
1440  """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1441  return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1442 
1443 
1444  def get_squared_magnitude(self):
1445  """get_squared_magnitude(_VectorBaseKD self) -> double"""
1446  return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1447 
1448 
1449  def get_magnitude(self):
1450  """get_magnitude(_VectorBaseKD self) -> double"""
1451  return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1452 
1453 
1454  def __mul__(self, o):
1455  """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1456  return _IMP_algebra._VectorBaseKD___mul__(self, o)
1457 
1458 
1459  def __iadd__(self, o):
1460  """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1461  return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1462 
1463 
1464  def __isub__(self, o):
1465  """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1466  return _IMP_algebra._VectorBaseKD___isub__(self, o)
1467 
1468 
1469  def __idiv__(self, f):
1470  """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1471  return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1472 
1473 
1474  def __imul__(self, f):
1475  """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1476  return _IMP_algebra._VectorBaseKD___imul__(self, f)
1477 
1478 
1479  def show(self, *args):
1480  """
1481  show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1482  show(_VectorBaseKD self, _ostream out, std::string delim)
1483  show(_VectorBaseKD self, _ostream out)
1484  show(_VectorBaseKD self)
1485  """
1486  return _IMP_algebra._VectorBaseKD_show(self, *args)
1487 
1488 
1489  def get_dimension(self):
1490  """get_dimension(_VectorBaseKD self) -> unsigned int"""
1491  return _IMP_algebra._VectorBaseKD_get_dimension(self)
1492 
1493  __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1494  __del__ = lambda self: None
1495 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1496 _VectorBaseKD_swigregister(_VectorBaseKD)
1497 
1498 class _VectorBase1D(_GeometricPrimitive1D):
1499  """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1500  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1501  __repr__ = _swig_repr
1502 
1503  def __init__(self):
1504  """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1505  this = _IMP_algebra.new__VectorBase1D()
1506  try:
1507  self.this.append(this)
1508  except:
1509  self.this = this
1510 
1511  def get_scalar_product(self, o):
1512  """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1513  return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1514 
1515 
1516  def get_squared_magnitude(self):
1517  """get_squared_magnitude(_VectorBase1D self) -> double"""
1518  return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1519 
1520 
1521  def get_magnitude(self):
1522  """get_magnitude(_VectorBase1D self) -> double"""
1523  return _IMP_algebra._VectorBase1D_get_magnitude(self)
1524 
1525 
1526  def __mul__(self, o):
1527  """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1528  return _IMP_algebra._VectorBase1D___mul__(self, o)
1529 
1530 
1531  def __iadd__(self, o):
1532  """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1533  return _IMP_algebra._VectorBase1D___iadd__(self, o)
1534 
1535 
1536  def __isub__(self, o):
1537  """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1538  return _IMP_algebra._VectorBase1D___isub__(self, o)
1539 
1540 
1541  def __idiv__(self, f):
1542  """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1543  return _IMP_algebra._VectorBase1D___idiv__(self, f)
1544 
1545 
1546  def __imul__(self, f):
1547  """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1548  return _IMP_algebra._VectorBase1D___imul__(self, f)
1549 
1550 
1551  def show(self, *args):
1552  """
1553  show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1554  show(_VectorBase1D self, _ostream out, std::string delim)
1555  show(_VectorBase1D self, _ostream out)
1556  show(_VectorBase1D self)
1557  """
1558  return _IMP_algebra._VectorBase1D_show(self, *args)
1559 
1560 
1561  def get_dimension(self):
1562  """get_dimension(_VectorBase1D self) -> unsigned int"""
1563  return _IMP_algebra._VectorBase1D_get_dimension(self)
1564 
1565  __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1566  __del__ = lambda self: None
1567 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1568 _VectorBase1D_swigregister(_VectorBase1D)
1569 
1570 class _VectorBase2D(_GeometricPrimitive2D):
1571  """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1572  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1573  __repr__ = _swig_repr
1574 
1575  def __init__(self):
1576  """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1577  this = _IMP_algebra.new__VectorBase2D()
1578  try:
1579  self.this.append(this)
1580  except:
1581  self.this = this
1582 
1583  def get_scalar_product(self, o):
1584  """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1585  return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1586 
1587 
1588  def get_squared_magnitude(self):
1589  """get_squared_magnitude(_VectorBase2D self) -> double"""
1590  return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1591 
1592 
1593  def get_magnitude(self):
1594  """get_magnitude(_VectorBase2D self) -> double"""
1595  return _IMP_algebra._VectorBase2D_get_magnitude(self)
1596 
1597 
1598  def __mul__(self, o):
1599  """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1600  return _IMP_algebra._VectorBase2D___mul__(self, o)
1601 
1602 
1603  def __iadd__(self, o):
1604  """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1605  return _IMP_algebra._VectorBase2D___iadd__(self, o)
1606 
1607 
1608  def __isub__(self, o):
1609  """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1610  return _IMP_algebra._VectorBase2D___isub__(self, o)
1611 
1612 
1613  def __idiv__(self, f):
1614  """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1615  return _IMP_algebra._VectorBase2D___idiv__(self, f)
1616 
1617 
1618  def __imul__(self, f):
1619  """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1620  return _IMP_algebra._VectorBase2D___imul__(self, f)
1621 
1622 
1623  def show(self, *args):
1624  """
1625  show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1626  show(_VectorBase2D self, _ostream out, std::string delim)
1627  show(_VectorBase2D self, _ostream out)
1628  show(_VectorBase2D self)
1629  """
1630  return _IMP_algebra._VectorBase2D_show(self, *args)
1631 
1632 
1633  def get_dimension(self):
1634  """get_dimension(_VectorBase2D self) -> unsigned int"""
1635  return _IMP_algebra._VectorBase2D_get_dimension(self)
1636 
1637  __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1638  __del__ = lambda self: None
1639 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1640 _VectorBase2D_swigregister(_VectorBase2D)
1641 
1642 class _VectorBase3D(_GeometricPrimitive3D):
1643  """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1644  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1645  __repr__ = _swig_repr
1646 
1647  def __init__(self):
1648  """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1649  this = _IMP_algebra.new__VectorBase3D()
1650  try:
1651  self.this.append(this)
1652  except:
1653  self.this = this
1654 
1655  def get_scalar_product(self, o):
1656  """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1657  return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1658 
1659 
1660  def get_squared_magnitude(self):
1661  """get_squared_magnitude(_VectorBase3D self) -> double"""
1662  return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1663 
1664 
1665  def get_magnitude(self):
1666  """get_magnitude(_VectorBase3D self) -> double"""
1667  return _IMP_algebra._VectorBase3D_get_magnitude(self)
1668 
1669 
1670  def __mul__(self, o):
1671  """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1672  return _IMP_algebra._VectorBase3D___mul__(self, o)
1673 
1674 
1675  def __iadd__(self, o):
1676  """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1677  return _IMP_algebra._VectorBase3D___iadd__(self, o)
1678 
1679 
1680  def __isub__(self, o):
1681  """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1682  return _IMP_algebra._VectorBase3D___isub__(self, o)
1683 
1684 
1685  def __idiv__(self, f):
1686  """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1687  return _IMP_algebra._VectorBase3D___idiv__(self, f)
1688 
1689 
1690  def __imul__(self, f):
1691  """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1692  return _IMP_algebra._VectorBase3D___imul__(self, f)
1693 
1694 
1695  def show(self, *args):
1696  """
1697  show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1698  show(_VectorBase3D self, _ostream out, std::string delim)
1699  show(_VectorBase3D self, _ostream out)
1700  show(_VectorBase3D self)
1701  """
1702  return _IMP_algebra._VectorBase3D_show(self, *args)
1703 
1704 
1705  def get_dimension(self):
1706  """get_dimension(_VectorBase3D self) -> unsigned int"""
1707  return _IMP_algebra._VectorBase3D_get_dimension(self)
1708 
1709  __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1710  __del__ = lambda self: None
1711 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1712 _VectorBase3D_swigregister(_VectorBase3D)
1713 
1714 class _VectorBase4D(_GeometricPrimitive4D):
1715  """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1716  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1717  __repr__ = _swig_repr
1718 
1719  def __init__(self):
1720  """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1721  this = _IMP_algebra.new__VectorBase4D()
1722  try:
1723  self.this.append(this)
1724  except:
1725  self.this = this
1726 
1727  def get_scalar_product(self, o):
1728  """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1729  return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1730 
1731 
1732  def get_squared_magnitude(self):
1733  """get_squared_magnitude(_VectorBase4D self) -> double"""
1734  return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1735 
1736 
1737  def get_magnitude(self):
1738  """get_magnitude(_VectorBase4D self) -> double"""
1739  return _IMP_algebra._VectorBase4D_get_magnitude(self)
1740 
1741 
1742  def __mul__(self, o):
1743  """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1744  return _IMP_algebra._VectorBase4D___mul__(self, o)
1745 
1746 
1747  def __iadd__(self, o):
1748  """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1749  return _IMP_algebra._VectorBase4D___iadd__(self, o)
1750 
1751 
1752  def __isub__(self, o):
1753  """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1754  return _IMP_algebra._VectorBase4D___isub__(self, o)
1755 
1756 
1757  def __idiv__(self, f):
1758  """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1759  return _IMP_algebra._VectorBase4D___idiv__(self, f)
1760 
1761 
1762  def __imul__(self, f):
1763  """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1764  return _IMP_algebra._VectorBase4D___imul__(self, f)
1765 
1766 
1767  def show(self, *args):
1768  """
1769  show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1770  show(_VectorBase4D self, _ostream out, std::string delim)
1771  show(_VectorBase4D self, _ostream out)
1772  show(_VectorBase4D self)
1773  """
1774  return _IMP_algebra._VectorBase4D_show(self, *args)
1775 
1776 
1777  def get_dimension(self):
1778  """get_dimension(_VectorBase4D self) -> unsigned int"""
1779  return _IMP_algebra._VectorBase4D_get_dimension(self)
1780 
1781  __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1782  __del__ = lambda self: None
1783 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1784 _VectorBase4D_swigregister(_VectorBase4D)
1785 
1786 class _VectorBase5D(_GeometricPrimitive5D):
1787  """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1788  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1789  __repr__ = _swig_repr
1790 
1791  def __init__(self):
1792  """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1793  this = _IMP_algebra.new__VectorBase5D()
1794  try:
1795  self.this.append(this)
1796  except:
1797  self.this = this
1798 
1799  def get_scalar_product(self, o):
1800  """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1801  return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1802 
1803 
1804  def get_squared_magnitude(self):
1805  """get_squared_magnitude(_VectorBase5D self) -> double"""
1806  return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1807 
1808 
1809  def get_magnitude(self):
1810  """get_magnitude(_VectorBase5D self) -> double"""
1811  return _IMP_algebra._VectorBase5D_get_magnitude(self)
1812 
1813 
1814  def __mul__(self, o):
1815  """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1816  return _IMP_algebra._VectorBase5D___mul__(self, o)
1817 
1818 
1819  def __iadd__(self, o):
1820  """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1821  return _IMP_algebra._VectorBase5D___iadd__(self, o)
1822 
1823 
1824  def __isub__(self, o):
1825  """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1826  return _IMP_algebra._VectorBase5D___isub__(self, o)
1827 
1828 
1829  def __idiv__(self, f):
1830  """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1831  return _IMP_algebra._VectorBase5D___idiv__(self, f)
1832 
1833 
1834  def __imul__(self, f):
1835  """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1836  return _IMP_algebra._VectorBase5D___imul__(self, f)
1837 
1838 
1839  def show(self, *args):
1840  """
1841  show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1842  show(_VectorBase5D self, _ostream out, std::string delim)
1843  show(_VectorBase5D self, _ostream out)
1844  show(_VectorBase5D self)
1845  """
1846  return _IMP_algebra._VectorBase5D_show(self, *args)
1847 
1848 
1849  def get_dimension(self):
1850  """get_dimension(_VectorBase5D self) -> unsigned int"""
1851  return _IMP_algebra._VectorBase5D_get_dimension(self)
1852 
1853  __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1854  __del__ = lambda self: None
1855 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1856 _VectorBase5D_swigregister(_VectorBase5D)
1857 
1858 class _VectorBase6D(_GeometricPrimitive6D):
1859  """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1860  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1861  __repr__ = _swig_repr
1862 
1863  def __init__(self):
1864  """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1865  this = _IMP_algebra.new__VectorBase6D()
1866  try:
1867  self.this.append(this)
1868  except:
1869  self.this = this
1870 
1871  def get_scalar_product(self, o):
1872  """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1873  return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1874 
1875 
1876  def get_squared_magnitude(self):
1877  """get_squared_magnitude(_VectorBase6D self) -> double"""
1878  return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1879 
1880 
1881  def get_magnitude(self):
1882  """get_magnitude(_VectorBase6D self) -> double"""
1883  return _IMP_algebra._VectorBase6D_get_magnitude(self)
1884 
1885 
1886  def __mul__(self, o):
1887  """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1888  return _IMP_algebra._VectorBase6D___mul__(self, o)
1889 
1890 
1891  def __iadd__(self, o):
1892  """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1893  return _IMP_algebra._VectorBase6D___iadd__(self, o)
1894 
1895 
1896  def __isub__(self, o):
1897  """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1898  return _IMP_algebra._VectorBase6D___isub__(self, o)
1899 
1900 
1901  def __idiv__(self, f):
1902  """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1903  return _IMP_algebra._VectorBase6D___idiv__(self, f)
1904 
1905 
1906  def __imul__(self, f):
1907  """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1908  return _IMP_algebra._VectorBase6D___imul__(self, f)
1909 
1910 
1911  def show(self, *args):
1912  """
1913  show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1914  show(_VectorBase6D self, _ostream out, std::string delim)
1915  show(_VectorBase6D self, _ostream out)
1916  show(_VectorBase6D self)
1917  """
1918  return _IMP_algebra._VectorBase6D_show(self, *args)
1919 
1920 
1921  def get_dimension(self):
1922  """get_dimension(_VectorBase6D self) -> unsigned int"""
1923  return _IMP_algebra._VectorBase6D_get_dimension(self)
1924 
1925  __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1926  __del__ = lambda self: None
1927 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1928 _VectorBase6D_swigregister(_VectorBase6D)
1929 
1930 
1931 def get_basis_vector_kd(D, coordinate):
1932  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1933  return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1934 
1935 def get_zero_vector_kd(D):
1936  """get_zero_vector_kd(int D) -> VectorKD"""
1937  return _IMP_algebra.get_zero_vector_kd(D)
1938 
1939 def get_ones_vector_kd(D, v=1):
1940  """
1941  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1942  get_ones_vector_kd(unsigned int D) -> VectorKD
1943  """
1944  return _IMP_algebra.get_ones_vector_kd(D, v)
1945 
1946 def get_vector_product(p1, p2):
1947  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1948  return _IMP_algebra.get_vector_product(p1, p2)
1949 
1950 def get_orthogonal_vector(v):
1951  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1952  return _IMP_algebra.get_orthogonal_vector(v)
1953 
1954 def get_centroid(ps):
1955  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1956  return _IMP_algebra.get_centroid(ps)
1957 
1958 def get_radius_of_gyration(ps):
1959  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1960  return _IMP_algebra.get_radius_of_gyration(ps)
1961 class Rotation3D(_GeometricPrimitive3D):
1962  """Proxy of C++ IMP::algebra::Rotation3D class"""
1963  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1964 
1965  def __init__(self, *args):
1966  """
1967  __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1968  __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1969  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1970  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1971  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1972  """
1973  this = _IMP_algebra.new_Rotation3D(*args)
1974  try:
1975  self.this.append(this)
1976  except:
1977  self.this = this
1978  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1979  __del__ = lambda self: None
1980 
1981  def get_rotated_no_cache(self, o):
1982  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1983  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1984 
1985 
1986  def get_rotated_one_coordinate_no_cache(self, o, coord):
1987  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1988  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1989 
1990 
1991  def get_rotated(self, o):
1992  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1993  return _IMP_algebra.Rotation3D_get_rotated(self, o)
1994 
1995 
1996  def get_rotated_adjoint(self, v, Dw):
1997  """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
1998  return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
1999 
2000 
2001  def get_rotated_one_coordinate(self, o, coord):
2002  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
2003  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
2004 
2005 
2006  def get_rotation_matrix_row(self, i):
2007  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
2008  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
2009 
2010 
2011  def show(self, *args):
2012  """
2013  show(Rotation3D self, _ostream out)
2014  show(Rotation3D self)
2015  """
2016  return _IMP_algebra.Rotation3D_show(self, *args)
2017 
2018 
2019  def get_inverse(self):
2020  """get_inverse(Rotation3D self) -> Rotation3D"""
2021  return _IMP_algebra.Rotation3D_get_inverse(self)
2022 
2023 
2024  def get_quaternion(self):
2025  """get_quaternion(Rotation3D self) -> Vector4D"""
2026  return _IMP_algebra.Rotation3D_get_quaternion(self)
2027 
2028 
2029  def __mul__(self, *args):
2030  """
2031  __mul__(Rotation3D self, Vector3D v) -> Vector3D
2032  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
2033  """
2034  return _IMP_algebra.Rotation3D___mul__(self, *args)
2035 
2036 
2037  def __div__(self, r):
2038  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
2039  return _IMP_algebra.Rotation3D___div__(self, r)
2040 
2041 
2042  def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
2043  """
2044  get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
2045  get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2046  """
2047  return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
2048 
2049 
2050  def get_derivative(self, v, i, wrt_unnorm=True):
2051  """
2052  get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
2053  get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2054  """
2055  return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
2056 
2057 
2058  def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
2059  """
2060  get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2061  get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2062  """
2063  return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2064 
2065 
2066  def get_gradient(self, v, wrt_unnorm=True):
2067  """
2068  get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2069  get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2070  """
2071  return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2072 
2073 
2074  def get_is_valid(self):
2075  """get_is_valid(Rotation3D self) -> bool"""
2076  return _IMP_algebra.Rotation3D_get_is_valid(self)
2077 
2078 
2079  def __str__(self):
2080  """__str__(Rotation3D self) -> std::string"""
2081  return _IMP_algebra.Rotation3D___str__(self)
2082 
2083 
2084  def __repr__(self):
2085  """__repr__(Rotation3D self) -> std::string"""
2086  return _IMP_algebra.Rotation3D___repr__(self)
2087 
2088 
2089  __truediv__ = __div__
2090 
2091 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2092 Rotation3D_swigregister(Rotation3D)
2093 
2094 
2095 def get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm=False):
2096  """
2097  get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2098  get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2099  """
2100  return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2101 
2102 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2103  """
2104  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2105  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2106  """
2107  return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2108 
2109 def get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm=False):
2110  """
2111  get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2112  get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2113  """
2114  return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2115 
2116 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2117  """
2118  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2119  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2120  """
2121  return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2122 
2124  """get_identity_rotation_3d() -> Rotation3D"""
2125  return _IMP_algebra.get_identity_rotation_3d()
2126 
2127 def get_rotation_about_normalized_axis(axis_norm, angle):
2128  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2129  return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2130 
2131 def get_rotation_about_axis(axis, angle):
2132  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2133  return _IMP_algebra.get_rotation_about_axis(axis, angle)
2134 
2136  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2137  return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2138 
2139 def get_rotation_from_matrix(*args):
2140  """
2141  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2142  get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2143  """
2144  return _IMP_algebra.get_rotation_from_matrix(*args)
2145 
2146 def get_random_rotation_3d(*args):
2147  """
2148  get_random_rotation_3d() -> Rotation3D
2149  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2150  """
2151  return _IMP_algebra.get_random_rotation_3d(*args)
2152 
2153 def get_uniform_cover_rotations_3d(num_points):
2154  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2155  return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2156 
2158  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2159  return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2160 
2162  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2163  return _IMP_algebra.get_rotation_from_vector4d(v)
2164 
2165 def get_rotation_from_fixed_xyz(xr, yr, zr):
2166  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2167  return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2168 
2169 def get_rotation_from_fixed_zxz(phi, theta, psi):
2170  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2171  return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2172 
2173 def get_rotation_from_fixed_zyz(Rot, Tilt, Psi):
2174  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2175  return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2176 class FixedXYZ(_GeometricPrimitive3D):
2177  """Proxy of C++ IMP::algebra::FixedXYZ class"""
2178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2179 
2180  def __init__(self, *args):
2181  """
2182  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2183  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2184  """
2185  this = _IMP_algebra.new_FixedXYZ(*args)
2186  try:
2187  self.this.append(this)
2188  except:
2189  self.this = this
2190 
2191  def get_x(self):
2192  """get_x(FixedXYZ self) -> double"""
2193  return _IMP_algebra.FixedXYZ_get_x(self)
2194 
2195 
2196  def get_y(self):
2197  """get_y(FixedXYZ self) -> double"""
2198  return _IMP_algebra.FixedXYZ_get_y(self)
2199 
2200 
2201  def get_z(self):
2202  """get_z(FixedXYZ self) -> double"""
2203  return _IMP_algebra.FixedXYZ_get_z(self)
2204 
2205 
2206  def show(self, *args):
2207  """
2208  show(FixedXYZ self, _ostream out)
2209  show(FixedXYZ self)
2210  """
2211  return _IMP_algebra.FixedXYZ_show(self, *args)
2212 
2213 
2214  def __str__(self):
2215  """__str__(FixedXYZ self) -> std::string"""
2216  return _IMP_algebra.FixedXYZ___str__(self)
2217 
2218 
2219  def __repr__(self):
2220  """__repr__(FixedXYZ self) -> std::string"""
2221  return _IMP_algebra.FixedXYZ___repr__(self)
2222 
2223  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2224  __del__ = lambda self: None
2225 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2226 FixedXYZ_swigregister(FixedXYZ)
2227 
2228 
2230  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2231  return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2232 
2233 def get_interpolated(a, b, f):
2234  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2235  return _IMP_algebra.get_interpolated(a, b, f)
2236 
2237 def get_rotation_from_x_y_axes(x, y):
2238  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2239  return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2240 
2241 def get_axis_and_angle(rot):
2242  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2243  return _IMP_algebra.get_axis_and_angle(rot)
2244 
2246  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2247  return _IMP_algebra.get_unit_bounding_box_kd(d)
2248 
2249 def get_cube_kd(d, radius):
2250  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2251  return _IMP_algebra.get_cube_kd(d, radius)
2252 
2253 def get_edges(arg1):
2254  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2255  return _IMP_algebra.get_edges(arg1)
2256 class Transformation3D(_GeometricPrimitive3D):
2257  """Proxy of C++ IMP::algebra::Transformation3D class"""
2258  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2259 
2260  def __init__(self, *args):
2261  """
2262  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2263  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2264  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2265  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2266  """
2267  this = _IMP_algebra.new_Transformation3D(*args)
2268  try:
2269  self.this.append(this)
2270  except:
2271  self.this = this
2272  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2273  __del__ = lambda self: None
2274 
2275  def get_transformed(self, o):
2276  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2277  return _IMP_algebra.Transformation3D_get_transformed(self, o)
2278 
2279 
2280  def get_transformed_adjoint(self, v, Dw):
2281  """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2282  return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2283 
2284 
2285  def __mul__(self, *args):
2286  """
2287  __mul__(Transformation3D self, Vector3D v) -> Vector3D
2288  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2289  """
2290  return _IMP_algebra.Transformation3D___mul__(self, *args)
2291 
2292 
2293  def __div__(self, b):
2294  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2295  return _IMP_algebra.Transformation3D___div__(self, b)
2296 
2297 
2298  def get_rotation(self):
2299  """get_rotation(Transformation3D self) -> Rotation3D"""
2300  return _IMP_algebra.Transformation3D_get_rotation(self)
2301 
2302 
2303  def get_translation(self):
2304  """get_translation(Transformation3D self) -> Vector3D"""
2305  return _IMP_algebra.Transformation3D_get_translation(self)
2306 
2307 
2308  def show(self, *args):
2309  """
2310  show(Transformation3D self, _ostream out)
2311  show(Transformation3D self)
2312  """
2313  return _IMP_algebra.Transformation3D_show(self, *args)
2314 
2315 
2316  def get_inverse(self):
2317  """get_inverse(Transformation3D self) -> Transformation3D"""
2318  return _IMP_algebra.Transformation3D_get_inverse(self)
2319 
2320 
2321  def get_is_valid(self):
2322  """get_is_valid(Transformation3D self) -> bool"""
2323  return _IMP_algebra.Transformation3D_get_is_valid(self)
2324 
2325 
2326  def __str__(self):
2327  """__str__(Transformation3D self) -> std::string"""
2328  return _IMP_algebra.Transformation3D___str__(self)
2329 
2330 
2331  def __repr__(self):
2332  """__repr__(Transformation3D self) -> std::string"""
2333  return _IMP_algebra.Transformation3D___repr__(self)
2334 
2335 
2336  __truediv__ = __div__
2337 
2338 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2339 Transformation3D_swigregister(Transformation3D)
2340 
2341 
2343  """get_identity_transformation_3d() -> Transformation3D"""
2344  return _IMP_algebra.get_identity_transformation_3d()
2345 
2346 def compose_adjoint(*args):
2347  """
2348  compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2349  compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2350  """
2351  return _IMP_algebra.compose_adjoint(*args)
2352 
2353 def get_transformation_3d(t2d):
2354  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2355  return _IMP_algebra.get_transformation_3d(t2d)
2356 
2357 def get_random_local_transformation(origin, max_translation=5., max_angle_in_rad=0.26):
2358  """
2359  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2360  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2361  get_random_local_transformation(Vector3D origin) -> Transformation3D
2362  """
2363  return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2364 class Rotation2D(_GeometricPrimitive2D):
2365  """Proxy of C++ IMP::algebra::Rotation2D class"""
2366  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2367 
2368  def __init__(self, *args):
2369  """
2370  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2371  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2372  """
2373  this = _IMP_algebra.new_Rotation2D(*args)
2374  try:
2375  self.this.append(this)
2376  except:
2377  self.this = this
2378 
2379  def get_rotated(self, *args):
2380  """
2381  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2382  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2383  """
2384  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2385 
2386 
2387  def get_inverse(self):
2388  """get_inverse(Rotation2D self) -> Rotation2D"""
2389  return _IMP_algebra.Rotation2D_get_inverse(self)
2390 
2391 
2392  def set_angle(self, angle):
2393  """set_angle(Rotation2D self, double angle)"""
2394  return _IMP_algebra.Rotation2D_set_angle(self, angle)
2395 
2396 
2397  def get_angle(self):
2398  """get_angle(Rotation2D self) -> double"""
2399  return _IMP_algebra.Rotation2D_get_angle(self)
2400 
2401 
2402  def show(self, *args):
2403  """
2404  show(Rotation2D self, _ostream out)
2405  show(Rotation2D self)
2406  """
2407  return _IMP_algebra.Rotation2D_show(self, *args)
2408 
2409 
2410  def __str__(self):
2411  """__str__(Rotation2D self) -> std::string"""
2412  return _IMP_algebra.Rotation2D___str__(self)
2413 
2414 
2415  def __repr__(self):
2416  """__repr__(Rotation2D self) -> std::string"""
2417  return _IMP_algebra.Rotation2D___repr__(self)
2418 
2419  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2420  __del__ = lambda self: None
2421 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2422 Rotation2D_swigregister(Rotation2D)
2423 
2424 
2426  """get_identity_rotation_2d() -> Rotation2D"""
2427  return _IMP_algebra.get_identity_rotation_2d()
2428 
2430  """get_random_rotation_2d() -> Rotation2D"""
2431  return _IMP_algebra.get_random_rotation_2d()
2432 
2433 def get_rotation_to_x_axis(v):
2434  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2435  return _IMP_algebra.get_rotation_to_x_axis(v)
2436 class Transformation2D(_GeometricPrimitive2D):
2437  """Proxy of C++ IMP::algebra::Transformation2D class"""
2438  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2439 
2440  def __init__(self, *args):
2441  """
2442  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2443  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2444  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2445  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2446  """
2447  this = _IMP_algebra.new_Transformation2D(*args)
2448  try:
2449  self.this.append(this)
2450  except:
2451  self.this = this
2452  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2453  __del__ = lambda self: None
2454 
2455  def get_transformed(self, o):
2456  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2457  return _IMP_algebra.Transformation2D_get_transformed(self, o)
2458 
2459 
2460  def __mul__(self, *args):
2461  """
2462  __mul__(Transformation2D self, Vector2D v) -> Vector2D
2463  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2464  """
2465  return _IMP_algebra.Transformation2D___mul__(self, *args)
2466 
2467 
2468  def __div__(self, b):
2469  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2470  return _IMP_algebra.Transformation2D___div__(self, b)
2471 
2472 
2473  def get_rotation(self):
2474  """get_rotation(Transformation2D self) -> Rotation2D"""
2475  return _IMP_algebra.Transformation2D_get_rotation(self)
2476 
2477 
2478  def set_rotation(self, angle):
2479  """set_rotation(Transformation2D self, double angle)"""
2480  return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2481 
2482 
2483  def get_translation(self):
2484  """get_translation(Transformation2D self) -> Vector2D"""
2485  return _IMP_algebra.Transformation2D_get_translation(self)
2486 
2487 
2488  def set_translation(self, v):
2489  """set_translation(Transformation2D self, Vector2D v)"""
2490  return _IMP_algebra.Transformation2D_set_translation(self, v)
2491 
2492 
2493  def show(self, *args):
2494  """
2495  show(Transformation2D self, _ostream out)
2496  show(Transformation2D self)
2497  """
2498  return _IMP_algebra.Transformation2D_show(self, *args)
2499 
2500 
2501  def get_inverse(self):
2502  """get_inverse(Transformation2D self) -> Transformation2D"""
2503  return _IMP_algebra.Transformation2D_get_inverse(self)
2504 
2505 
2506  def __str__(self):
2507  """__str__(Transformation2D self) -> std::string"""
2508  return _IMP_algebra.Transformation2D___str__(self)
2509 
2510 
2511  def __repr__(self):
2512  """__repr__(Transformation2D self) -> std::string"""
2513  return _IMP_algebra.Transformation2D___repr__(self)
2514 
2515 
2516  __truediv__ = __div__
2517 
2518 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2519 Transformation2D_swigregister(Transformation2D)
2520 
2521 
2523  """get_identity_transformation_2d() -> Transformation2D"""
2524  return _IMP_algebra.get_identity_transformation_2d()
2525 
2526 def get_rotation_about_point(*args):
2527  """
2528  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2529  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2530  """
2531  return _IMP_algebra.get_rotation_about_point(*args)
2532 
2533 def compose(*args):
2534  """
2535  compose(Rotation3D a, Rotation3D b) -> Rotation3D
2536  compose(Transformation3D a, Transformation3D b) -> Transformation3D
2537  compose(Rotation2D a, Rotation2D b) -> Rotation2D
2538  compose(Transformation2D a, Transformation2D b) -> Transformation2D
2539  """
2540  return _IMP_algebra.compose(*args)
2541 
2542 def get_unit_sphere_kd(d):
2543  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2544  return _IMP_algebra.get_unit_sphere_kd(d)
2545 
2546 def get_enclosing_sphere(*args):
2547  """
2548  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2549  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2550  """
2551  return _IMP_algebra.get_enclosing_sphere(*args)
2552 
2553 def get_ball_radius_from_volume_3d(volume):
2554  """get_ball_radius_from_volume_3d(double volume) -> double"""
2555  return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2556 
2558  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2559  return _IMP_algebra.get_surface_area_and_volume(ss)
2560 
2561 def get_simplified_from_volume(arg1, maximum_allowed_error_angstroms):
2562  """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2563  return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2564 
2565 def get_triangle_3d(s):
2566  """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2567  return _IMP_algebra.get_triangle_3d(s)
2568 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2569  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class"""
2570  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2571 
2572  def __init__(self, *args, **kwargs):
2573  raise AttributeError("No constructor defined - class is abstract")
2574  __repr__ = _swig_repr
2575 
2576  def get_dimension(self):
2577  """get_dimension(_UnitSimplexBaseKD self) -> int"""
2578  return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2579 
2580 
2581  def get_barycenter(self):
2582  """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2583  return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2584 
2585 
2586  def get_contains(self, *args):
2587  """
2588  get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2589  get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2590  """
2591  return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2592 
2593  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2594  __del__ = lambda self: None
2595 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2596 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2597 
2598 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2599  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class"""
2600  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2601 
2602  def __init__(self, *args, **kwargs):
2603  raise AttributeError("No constructor defined - class is abstract")
2604  __repr__ = _swig_repr
2605 
2606  def get_dimension(self):
2607  """get_dimension(_UnitSimplexBase1D self) -> int"""
2608  return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2609 
2610 
2611  def get_barycenter(self):
2612  """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2613  return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2614 
2615 
2616  def get_contains(self, *args):
2617  """
2618  get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2619  get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2620  """
2621  return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2622 
2623  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2624  __del__ = lambda self: None
2625 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2626 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2627 
2628 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2629  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class"""
2630  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2631 
2632  def __init__(self, *args, **kwargs):
2633  raise AttributeError("No constructor defined - class is abstract")
2634  __repr__ = _swig_repr
2635 
2636  def get_dimension(self):
2637  """get_dimension(_UnitSimplexBase2D self) -> int"""
2638  return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2639 
2640 
2641  def get_barycenter(self):
2642  """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2643  return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2644 
2645 
2646  def get_contains(self, *args):
2647  """
2648  get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2649  get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2650  """
2651  return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2652 
2653  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2654  __del__ = lambda self: None
2655 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2656 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2657 
2658 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2659  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class"""
2660  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2661 
2662  def __init__(self, *args, **kwargs):
2663  raise AttributeError("No constructor defined - class is abstract")
2664  __repr__ = _swig_repr
2665 
2666  def get_dimension(self):
2667  """get_dimension(_UnitSimplexBase3D self) -> int"""
2668  return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2669 
2670 
2671  def get_barycenter(self):
2672  """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2673  return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2674 
2675 
2676  def get_contains(self, *args):
2677  """
2678  get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2679  get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2680  """
2681  return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2682 
2683  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2684  __del__ = lambda self: None
2685 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2686 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2687 
2688 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2689  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class"""
2690  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2691 
2692  def __init__(self, *args, **kwargs):
2693  raise AttributeError("No constructor defined - class is abstract")
2694  __repr__ = _swig_repr
2695 
2696  def get_dimension(self):
2697  """get_dimension(_UnitSimplexBase4D self) -> int"""
2698  return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2699 
2700 
2701  def get_barycenter(self):
2702  """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2703  return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2704 
2705 
2706  def get_contains(self, *args):
2707  """
2708  get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2709  get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2710  """
2711  return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2712 
2713  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2714  __del__ = lambda self: None
2715 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2716 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2717 
2718 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2719  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class"""
2720  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2721 
2722  def __init__(self, *args, **kwargs):
2723  raise AttributeError("No constructor defined - class is abstract")
2724  __repr__ = _swig_repr
2725 
2726  def get_dimension(self):
2727  """get_dimension(_UnitSimplexBase5D self) -> int"""
2728  return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2729 
2730 
2731  def get_barycenter(self):
2732  """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2733  return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2734 
2735 
2736  def get_contains(self, *args):
2737  """
2738  get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2739  get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2740  """
2741  return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2742 
2743  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2744  __del__ = lambda self: None
2745 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2746 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2747 
2748 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2749  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class"""
2750  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2751 
2752  def __init__(self, *args, **kwargs):
2753  raise AttributeError("No constructor defined - class is abstract")
2754  __repr__ = _swig_repr
2755 
2756  def get_dimension(self):
2757  """get_dimension(_UnitSimplexBase6D self) -> int"""
2758  return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2759 
2760 
2761  def get_barycenter(self):
2762  """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2763  return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2764 
2765 
2766  def get_contains(self, *args):
2767  """
2768  get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2769  get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2770  """
2771  return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2772 
2773  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2774  __del__ = lambda self: None
2775 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2776 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2777 
2778 class Vector1D(_VectorBase1D):
2779  """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2780  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2781 
2782  def get_unit_vector(self):
2783  """get_unit_vector(Vector1D self) -> Vector1D"""
2784  return _IMP_algebra.Vector1D_get_unit_vector(self)
2785 
2786 
2787  def __div__(self, s):
2788  """__div__(Vector1D self, double s) -> Vector1D"""
2789  return _IMP_algebra.Vector1D___div__(self, s)
2790 
2791 
2792  def __neg__(self):
2793  """__neg__(Vector1D self) -> Vector1D"""
2794  return _IMP_algebra.Vector1D___neg__(self)
2795 
2796 
2797  def __sub__(self, o):
2798  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2799  return _IMP_algebra.Vector1D___sub__(self, o)
2800 
2801 
2802  def __add__(self, ret):
2803  """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2804  return _IMP_algebra.Vector1D___add__(self, ret)
2805 
2806 
2807  def __mul__(self, *args):
2808  """
2809  __mul__(Vector1D self, double s) -> Vector1D
2810  __mul__(Vector1D self, Vector1D o) -> double
2811  """
2812  return _IMP_algebra.Vector1D___mul__(self, *args)
2813 
2814 
2815  def __init__(self, *args):
2816  """
2817  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2818  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2819  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2820  """
2821  this = _IMP_algebra.new_Vector1D(*args)
2822  try:
2823  self.this.append(this)
2824  except:
2825  self.this = this
2826 
2827  def __iadd__(self, *args):
2828  _IMP_algebra.Vector1D___iadd__(self, *args)
2829  return self
2830 
2831 
2832 
2833  def __imul__(self, *args):
2834  _IMP_algebra.Vector1D___imul__(self, *args)
2835  return self
2836 
2837 
2838 
2839  def __idiv__(self, *args):
2840  _IMP_algebra.Vector1D___idiv__(self, *args)
2841  return self
2842 
2843 
2844 
2845  def __isub__(self, *args):
2846  _IMP_algebra.Vector1D___isub__(self, *args)
2847  return self
2848 
2849 
2850 
2851  def __len__(self):
2852  """__len__(Vector1D self) -> unsigned int"""
2853  return _IMP_algebra.Vector1D___len__(self)
2854 
2855 
2856  def __rmul__(self, f):
2857  """__rmul__(Vector1D self, double f) -> Vector1D"""
2858  return _IMP_algebra.Vector1D___rmul__(self, f)
2859 
2860 
2861  def __str__(self):
2862  """__str__(Vector1D self) -> std::string"""
2863  return _IMP_algebra.Vector1D___str__(self)
2864 
2865 
2866  def __repr__(self):
2867  """__repr__(Vector1D self) -> std::string"""
2868  return _IMP_algebra.Vector1D___repr__(self)
2869 
2870 
2871  def __cmp__(self, arg2):
2872  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2873  return _IMP_algebra.Vector1D___cmp__(self, arg2)
2874 
2875 
2876  def __eq__(self, arg2):
2877  """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2878  return _IMP_algebra.Vector1D___eq__(self, arg2)
2879 
2880 
2881  __truediv__ = __div__
2882  __itruediv__ = __idiv__
2883 
2884 
2885  def __getitem__(self, index):
2886  """__getitem__(Vector1D self, int index) -> double"""
2887  return _IMP_algebra.Vector1D___getitem__(self, index)
2888 
2889 
2890  def __setitem__(self, index, val):
2891  """__setitem__(Vector1D self, int index, double val)"""
2892  return _IMP_algebra.Vector1D___setitem__(self, index, val)
2893 
2894  __swig_destroy__ = _IMP_algebra.delete_Vector1D
2895  __del__ = lambda self: None
2896 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2897 Vector1D_swigregister(Vector1D)
2898 
2899 class Vector2D(_VectorBase2D):
2900  """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2901  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2902 
2903  def get_unit_vector(self):
2904  """get_unit_vector(Vector2D self) -> Vector2D"""
2905  return _IMP_algebra.Vector2D_get_unit_vector(self)
2906 
2907 
2908  def __div__(self, s):
2909  """__div__(Vector2D self, double s) -> Vector2D"""
2910  return _IMP_algebra.Vector2D___div__(self, s)
2911 
2912 
2913  def __neg__(self):
2914  """__neg__(Vector2D self) -> Vector2D"""
2915  return _IMP_algebra.Vector2D___neg__(self)
2916 
2917 
2918  def __sub__(self, o):
2919  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2920  return _IMP_algebra.Vector2D___sub__(self, o)
2921 
2922 
2923  def __add__(self, ret):
2924  """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2925  return _IMP_algebra.Vector2D___add__(self, ret)
2926 
2927 
2928  def __mul__(self, *args):
2929  """
2930  __mul__(Vector2D self, double s) -> Vector2D
2931  __mul__(Vector2D self, Vector2D o) -> double
2932  """
2933  return _IMP_algebra.Vector2D___mul__(self, *args)
2934 
2935 
2936  def __init__(self, *args):
2937  """
2938  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2939  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2940  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2941  """
2942  this = _IMP_algebra.new_Vector2D(*args)
2943  try:
2944  self.this.append(this)
2945  except:
2946  self.this = this
2947 
2948  def __iadd__(self, *args):
2949  _IMP_algebra.Vector2D___iadd__(self, *args)
2950  return self
2951 
2952 
2953 
2954  def __imul__(self, *args):
2955  _IMP_algebra.Vector2D___imul__(self, *args)
2956  return self
2957 
2958 
2959 
2960  def __idiv__(self, *args):
2961  _IMP_algebra.Vector2D___idiv__(self, *args)
2962  return self
2963 
2964 
2965 
2966  def __isub__(self, *args):
2967  _IMP_algebra.Vector2D___isub__(self, *args)
2968  return self
2969 
2970 
2971 
2972  def __len__(self):
2973  """__len__(Vector2D self) -> unsigned int"""
2974  return _IMP_algebra.Vector2D___len__(self)
2975 
2976 
2977  def __rmul__(self, f):
2978  """__rmul__(Vector2D self, double f) -> Vector2D"""
2979  return _IMP_algebra.Vector2D___rmul__(self, f)
2980 
2981 
2982  def __str__(self):
2983  """__str__(Vector2D self) -> std::string"""
2984  return _IMP_algebra.Vector2D___str__(self)
2985 
2986 
2987  def __repr__(self):
2988  """__repr__(Vector2D self) -> std::string"""
2989  return _IMP_algebra.Vector2D___repr__(self)
2990 
2991 
2992  def __cmp__(self, arg2):
2993  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2994  return _IMP_algebra.Vector2D___cmp__(self, arg2)
2995 
2996 
2997  def __eq__(self, arg2):
2998  """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2999  return _IMP_algebra.Vector2D___eq__(self, arg2)
3000 
3001 
3002  __truediv__ = __div__
3003  __itruediv__ = __idiv__
3004 
3005 
3006  def __getitem__(self, index):
3007  """__getitem__(Vector2D self, int index) -> double"""
3008  return _IMP_algebra.Vector2D___getitem__(self, index)
3009 
3010 
3011  def __setitem__(self, index, val):
3012  """__setitem__(Vector2D self, int index, double val)"""
3013  return _IMP_algebra.Vector2D___setitem__(self, index, val)
3014 
3015  __swig_destroy__ = _IMP_algebra.delete_Vector2D
3016  __del__ = lambda self: None
3017 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
3018 Vector2D_swigregister(Vector2D)
3019 
3020 class Vector3D(_VectorBase3D):
3021  """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
3022  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3023 
3024  def get_unit_vector(self):
3025  """get_unit_vector(Vector3D self) -> Vector3D"""
3026  return _IMP_algebra.Vector3D_get_unit_vector(self)
3027 
3028 
3029  def __div__(self, s):
3030  """__div__(Vector3D self, double s) -> Vector3D"""
3031  return _IMP_algebra.Vector3D___div__(self, s)
3032 
3033 
3034  def __neg__(self):
3035  """__neg__(Vector3D self) -> Vector3D"""
3036  return _IMP_algebra.Vector3D___neg__(self)
3037 
3038 
3039  def __sub__(self, o):
3040  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
3041  return _IMP_algebra.Vector3D___sub__(self, o)
3042 
3043 
3044  def __add__(self, ret):
3045  """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
3046  return _IMP_algebra.Vector3D___add__(self, ret)
3047 
3048 
3049  def __mul__(self, *args):
3050  """
3051  __mul__(Vector3D self, double s) -> Vector3D
3052  __mul__(Vector3D self, Vector3D o) -> double
3053  """
3054  return _IMP_algebra.Vector3D___mul__(self, *args)
3055 
3056 
3057  def __init__(self, *args):
3058  """
3059  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3060  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3061  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3062  """
3063  this = _IMP_algebra.new_Vector3D(*args)
3064  try:
3065  self.this.append(this)
3066  except:
3067  self.this = this
3068 
3069  def __iadd__(self, *args):
3070  _IMP_algebra.Vector3D___iadd__(self, *args)
3071  return self
3072 
3073 
3074 
3075  def __imul__(self, *args):
3076  _IMP_algebra.Vector3D___imul__(self, *args)
3077  return self
3078 
3079 
3080 
3081  def __idiv__(self, *args):
3082  _IMP_algebra.Vector3D___idiv__(self, *args)
3083  return self
3084 
3085 
3086 
3087  def __isub__(self, *args):
3088  _IMP_algebra.Vector3D___isub__(self, *args)
3089  return self
3090 
3091 
3092 
3093  def __len__(self):
3094  """__len__(Vector3D self) -> unsigned int"""
3095  return _IMP_algebra.Vector3D___len__(self)
3096 
3097 
3098  def __rmul__(self, f):
3099  """__rmul__(Vector3D self, double f) -> Vector3D"""
3100  return _IMP_algebra.Vector3D___rmul__(self, f)
3101 
3102 
3103  def __str__(self):
3104  """__str__(Vector3D self) -> std::string"""
3105  return _IMP_algebra.Vector3D___str__(self)
3106 
3107 
3108  def __repr__(self):
3109  """__repr__(Vector3D self) -> std::string"""
3110  return _IMP_algebra.Vector3D___repr__(self)
3111 
3112 
3113  def __cmp__(self, arg2):
3114  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3115  return _IMP_algebra.Vector3D___cmp__(self, arg2)
3116 
3117 
3118  def __eq__(self, arg2):
3119  """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3120  return _IMP_algebra.Vector3D___eq__(self, arg2)
3121 
3122 
3123  __truediv__ = __div__
3124  __itruediv__ = __idiv__
3125 
3126 
3127  def __getitem__(self, index):
3128  """__getitem__(Vector3D self, int index) -> double"""
3129  return _IMP_algebra.Vector3D___getitem__(self, index)
3130 
3131 
3132  def __setitem__(self, index, val):
3133  """__setitem__(Vector3D self, int index, double val)"""
3134  return _IMP_algebra.Vector3D___setitem__(self, index, val)
3135 
3136  __swig_destroy__ = _IMP_algebra.delete_Vector3D
3137  __del__ = lambda self: None
3138 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3139 Vector3D_swigregister(Vector3D)
3140 
3141 class Vector4D(_VectorBase4D):
3142  """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
3143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3144 
3145  def get_unit_vector(self):
3146  """get_unit_vector(Vector4D self) -> Vector4D"""
3147  return _IMP_algebra.Vector4D_get_unit_vector(self)
3148 
3149 
3150  def __div__(self, s):
3151  """__div__(Vector4D self, double s) -> Vector4D"""
3152  return _IMP_algebra.Vector4D___div__(self, s)
3153 
3154 
3155  def __neg__(self):
3156  """__neg__(Vector4D self) -> Vector4D"""
3157  return _IMP_algebra.Vector4D___neg__(self)
3158 
3159 
3160  def __sub__(self, o):
3161  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3162  return _IMP_algebra.Vector4D___sub__(self, o)
3163 
3164 
3165  def __add__(self, ret):
3166  """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3167  return _IMP_algebra.Vector4D___add__(self, ret)
3168 
3169 
3170  def __mul__(self, *args):
3171  """
3172  __mul__(Vector4D self, double s) -> Vector4D
3173  __mul__(Vector4D self, Vector4D o) -> double
3174  """
3175  return _IMP_algebra.Vector4D___mul__(self, *args)
3176 
3177 
3178  def __init__(self, *args):
3179  """
3180  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3181  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3182  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3183  """
3184  this = _IMP_algebra.new_Vector4D(*args)
3185  try:
3186  self.this.append(this)
3187  except:
3188  self.this = this
3189 
3190  def __iadd__(self, *args):
3191  _IMP_algebra.Vector4D___iadd__(self, *args)
3192  return self
3193 
3194 
3195 
3196  def __imul__(self, *args):
3197  _IMP_algebra.Vector4D___imul__(self, *args)
3198  return self
3199 
3200 
3201 
3202  def __idiv__(self, *args):
3203  _IMP_algebra.Vector4D___idiv__(self, *args)
3204  return self
3205 
3206 
3207 
3208  def __isub__(self, *args):
3209  _IMP_algebra.Vector4D___isub__(self, *args)
3210  return self
3211 
3212 
3213 
3214  def __len__(self):
3215  """__len__(Vector4D self) -> unsigned int"""
3216  return _IMP_algebra.Vector4D___len__(self)
3217 
3218 
3219  def __rmul__(self, f):
3220  """__rmul__(Vector4D self, double f) -> Vector4D"""
3221  return _IMP_algebra.Vector4D___rmul__(self, f)
3222 
3223 
3224  def __str__(self):
3225  """__str__(Vector4D self) -> std::string"""
3226  return _IMP_algebra.Vector4D___str__(self)
3227 
3228 
3229  def __repr__(self):
3230  """__repr__(Vector4D self) -> std::string"""
3231  return _IMP_algebra.Vector4D___repr__(self)
3232 
3233 
3234  def __cmp__(self, arg2):
3235  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3236  return _IMP_algebra.Vector4D___cmp__(self, arg2)
3237 
3238 
3239  def __eq__(self, arg2):
3240  """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3241  return _IMP_algebra.Vector4D___eq__(self, arg2)
3242 
3243 
3244  __truediv__ = __div__
3245  __itruediv__ = __idiv__
3246 
3247 
3248  def __getitem__(self, index):
3249  """__getitem__(Vector4D self, int index) -> double"""
3250  return _IMP_algebra.Vector4D___getitem__(self, index)
3251 
3252 
3253  def __setitem__(self, index, val):
3254  """__setitem__(Vector4D self, int index, double val)"""
3255  return _IMP_algebra.Vector4D___setitem__(self, index, val)
3256 
3257  __swig_destroy__ = _IMP_algebra.delete_Vector4D
3258  __del__ = lambda self: None
3259 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3260 Vector4D_swigregister(Vector4D)
3261 
3262 class Vector5D(_VectorBase5D):
3263  """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
3264  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3265 
3266  def get_unit_vector(self):
3267  """get_unit_vector(Vector5D self) -> Vector5D"""
3268  return _IMP_algebra.Vector5D_get_unit_vector(self)
3269 
3270 
3271  def __div__(self, s):
3272  """__div__(Vector5D self, double s) -> Vector5D"""
3273  return _IMP_algebra.Vector5D___div__(self, s)
3274 
3275 
3276  def __neg__(self):
3277  """__neg__(Vector5D self) -> Vector5D"""
3278  return _IMP_algebra.Vector5D___neg__(self)
3279 
3280 
3281  def __sub__(self, o):
3282  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3283  return _IMP_algebra.Vector5D___sub__(self, o)
3284 
3285 
3286  def __add__(self, ret):
3287  """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3288  return _IMP_algebra.Vector5D___add__(self, ret)
3289 
3290 
3291  def __mul__(self, *args):
3292  """
3293  __mul__(Vector5D self, double s) -> Vector5D
3294  __mul__(Vector5D self, Vector5D o) -> double
3295  """
3296  return _IMP_algebra.Vector5D___mul__(self, *args)
3297 
3298 
3299  def __init__(self, *args):
3300  """
3301  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3302  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3303  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3304  """
3305  this = _IMP_algebra.new_Vector5D(*args)
3306  try:
3307  self.this.append(this)
3308  except:
3309  self.this = this
3310 
3311  def __iadd__(self, *args):
3312  _IMP_algebra.Vector5D___iadd__(self, *args)
3313  return self
3314 
3315 
3316 
3317  def __imul__(self, *args):
3318  _IMP_algebra.Vector5D___imul__(self, *args)
3319  return self
3320 
3321 
3322 
3323  def __idiv__(self, *args):
3324  _IMP_algebra.Vector5D___idiv__(self, *args)
3325  return self
3326 
3327 
3328 
3329  def __isub__(self, *args):
3330  _IMP_algebra.Vector5D___isub__(self, *args)
3331  return self
3332 
3333 
3334 
3335  def __len__(self):
3336  """__len__(Vector5D self) -> unsigned int"""
3337  return _IMP_algebra.Vector5D___len__(self)
3338 
3339 
3340  def __rmul__(self, f):
3341  """__rmul__(Vector5D self, double f) -> Vector5D"""
3342  return _IMP_algebra.Vector5D___rmul__(self, f)
3343 
3344 
3345  def __str__(self):
3346  """__str__(Vector5D self) -> std::string"""
3347  return _IMP_algebra.Vector5D___str__(self)
3348 
3349 
3350  def __repr__(self):
3351  """__repr__(Vector5D self) -> std::string"""
3352  return _IMP_algebra.Vector5D___repr__(self)
3353 
3354 
3355  def __cmp__(self, arg2):
3356  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3357  return _IMP_algebra.Vector5D___cmp__(self, arg2)
3358 
3359 
3360  def __eq__(self, arg2):
3361  """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3362  return _IMP_algebra.Vector5D___eq__(self, arg2)
3363 
3364 
3365  __truediv__ = __div__
3366  __itruediv__ = __idiv__
3367 
3368 
3369  def __getitem__(self, index):
3370  """__getitem__(Vector5D self, int index) -> double"""
3371  return _IMP_algebra.Vector5D___getitem__(self, index)
3372 
3373 
3374  def __setitem__(self, index, val):
3375  """__setitem__(Vector5D self, int index, double val)"""
3376  return _IMP_algebra.Vector5D___setitem__(self, index, val)
3377 
3378  __swig_destroy__ = _IMP_algebra.delete_Vector5D
3379  __del__ = lambda self: None
3380 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3381 Vector5D_swigregister(Vector5D)
3382 
3383 class Vector6D(_VectorBase6D):
3384  """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
3385  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3386 
3387  def get_unit_vector(self):
3388  """get_unit_vector(Vector6D self) -> Vector6D"""
3389  return _IMP_algebra.Vector6D_get_unit_vector(self)
3390 
3391 
3392  def __div__(self, s):
3393  """__div__(Vector6D self, double s) -> Vector6D"""
3394  return _IMP_algebra.Vector6D___div__(self, s)
3395 
3396 
3397  def __neg__(self):
3398  """__neg__(Vector6D self) -> Vector6D"""
3399  return _IMP_algebra.Vector6D___neg__(self)
3400 
3401 
3402  def __sub__(self, o):
3403  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3404  return _IMP_algebra.Vector6D___sub__(self, o)
3405 
3406 
3407  def __add__(self, ret):
3408  """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3409  return _IMP_algebra.Vector6D___add__(self, ret)
3410 
3411 
3412  def __mul__(self, *args):
3413  """
3414  __mul__(Vector6D self, double s) -> Vector6D
3415  __mul__(Vector6D self, Vector6D o) -> double
3416  """
3417  return _IMP_algebra.Vector6D___mul__(self, *args)
3418 
3419 
3420  def __init__(self, *args):
3421  """
3422  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3423  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3424  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3425  """
3426  this = _IMP_algebra.new_Vector6D(*args)
3427  try:
3428  self.this.append(this)
3429  except:
3430  self.this = this
3431 
3432  def __iadd__(self, *args):
3433  _IMP_algebra.Vector6D___iadd__(self, *args)
3434  return self
3435 
3436 
3437 
3438  def __imul__(self, *args):
3439  _IMP_algebra.Vector6D___imul__(self, *args)
3440  return self
3441 
3442 
3443 
3444  def __idiv__(self, *args):
3445  _IMP_algebra.Vector6D___idiv__(self, *args)
3446  return self
3447 
3448 
3449 
3450  def __isub__(self, *args):
3451  _IMP_algebra.Vector6D___isub__(self, *args)
3452  return self
3453 
3454 
3455 
3456  def __len__(self):
3457  """__len__(Vector6D self) -> unsigned int"""
3458  return _IMP_algebra.Vector6D___len__(self)
3459 
3460 
3461  def __rmul__(self, f):
3462  """__rmul__(Vector6D self, double f) -> Vector6D"""
3463  return _IMP_algebra.Vector6D___rmul__(self, f)
3464 
3465 
3466  def __str__(self):
3467  """__str__(Vector6D self) -> std::string"""
3468  return _IMP_algebra.Vector6D___str__(self)
3469 
3470 
3471  def __repr__(self):
3472  """__repr__(Vector6D self) -> std::string"""
3473  return _IMP_algebra.Vector6D___repr__(self)
3474 
3475 
3476  def __cmp__(self, arg2):
3477  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3478  return _IMP_algebra.Vector6D___cmp__(self, arg2)
3479 
3480 
3481  def __eq__(self, arg2):
3482  """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3483  return _IMP_algebra.Vector6D___eq__(self, arg2)
3484 
3485 
3486  __truediv__ = __div__
3487  __itruediv__ = __idiv__
3488 
3489 
3490  def __getitem__(self, index):
3491  """__getitem__(Vector6D self, int index) -> double"""
3492  return _IMP_algebra.Vector6D___getitem__(self, index)
3493 
3494 
3495  def __setitem__(self, index, val):
3496  """__setitem__(Vector6D self, int index, double val)"""
3497  return _IMP_algebra.Vector6D___setitem__(self, index, val)
3498 
3499  __swig_destroy__ = _IMP_algebra.delete_Vector6D
3500  __del__ = lambda self: None
3501 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3502 Vector6D_swigregister(Vector6D)
3503 
3504 class VectorKD(_VectorBaseKD):
3505  """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
3506  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3507 
3508  def get_unit_vector(self):
3509  """get_unit_vector(VectorKD self) -> VectorKD"""
3510  return _IMP_algebra.VectorKD_get_unit_vector(self)
3511 
3512 
3513  def __div__(self, s):
3514  """__div__(VectorKD self, double s) -> VectorKD"""
3515  return _IMP_algebra.VectorKD___div__(self, s)
3516 
3517 
3518  def __neg__(self):
3519  """__neg__(VectorKD self) -> VectorKD"""
3520  return _IMP_algebra.VectorKD___neg__(self)
3521 
3522 
3523  def __sub__(self, o):
3524  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3525  return _IMP_algebra.VectorKD___sub__(self, o)
3526 
3527 
3528  def __add__(self, ret):
3529  """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3530  return _IMP_algebra.VectorKD___add__(self, ret)
3531 
3532 
3533  def __mul__(self, *args):
3534  """
3535  __mul__(VectorKD self, double s) -> VectorKD
3536  __mul__(VectorKD self, VectorKD o) -> double
3537  """
3538  return _IMP_algebra.VectorKD___mul__(self, *args)
3539 
3540 
3541  def __init__(self, *args):
3542  """
3543  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3544  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3545  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3546  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3547  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3548  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3549  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3550  __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3551  """
3552  this = _IMP_algebra.new_VectorKD(*args)
3553  try:
3554  self.this.append(this)
3555  except:
3556  self.this = this
3557 
3558  def __iadd__(self, *args):
3559  _IMP_algebra.VectorKD___iadd__(self, *args)
3560  return self
3561 
3562 
3563 
3564  def __imul__(self, *args):
3565  _IMP_algebra.VectorKD___imul__(self, *args)
3566  return self
3567 
3568 
3569 
3570  def __idiv__(self, *args):
3571  _IMP_algebra.VectorKD___idiv__(self, *args)
3572  return self
3573 
3574 
3575 
3576  def __isub__(self, *args):
3577  _IMP_algebra.VectorKD___isub__(self, *args)
3578  return self
3579 
3580 
3581 
3582  def __len__(self):
3583  """__len__(VectorKD self) -> unsigned int"""
3584  return _IMP_algebra.VectorKD___len__(self)
3585 
3586 
3587  def __rmul__(self, f):
3588  """__rmul__(VectorKD self, double f) -> VectorKD"""
3589  return _IMP_algebra.VectorKD___rmul__(self, f)
3590 
3591 
3592  def __str__(self):
3593  """__str__(VectorKD self) -> std::string"""
3594  return _IMP_algebra.VectorKD___str__(self)
3595 
3596 
3597  def __repr__(self):
3598  """__repr__(VectorKD self) -> std::string"""
3599  return _IMP_algebra.VectorKD___repr__(self)
3600 
3601 
3602  def __cmp__(self, arg2):
3603  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3604  return _IMP_algebra.VectorKD___cmp__(self, arg2)
3605 
3606 
3607  def __eq__(self, arg2):
3608  """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3609  return _IMP_algebra.VectorKD___eq__(self, arg2)
3610 
3611 
3612  __truediv__ = __div__
3613  __itruediv__ = __idiv__
3614 
3615 
3616  def __getitem__(self, index):
3617  """__getitem__(VectorKD self, int index) -> double"""
3618  return _IMP_algebra.VectorKD___getitem__(self, index)
3619 
3620 
3621  def __setitem__(self, index, val):
3622  """__setitem__(VectorKD self, int index, double val)"""
3623  return _IMP_algebra.VectorKD___setitem__(self, index, val)
3624 
3625  __swig_destroy__ = _IMP_algebra.delete_VectorKD
3626  __del__ = lambda self: None
3627 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3628 VectorKD_swigregister(VectorKD)
3629 
3630 class BoundingBox1D(object):
3631  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3632  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3633 
3634  def get_dimension(self):
3635  """get_dimension(BoundingBox1D self) -> unsigned int"""
3636  return _IMP_algebra.BoundingBox1D_get_dimension(self)
3637 
3638 
3639  def get_corner(self, i):
3640  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3641  return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3642 
3643 
3644  def get_contains(self, *args):
3645  """
3646  get_contains(BoundingBox1D self, Vector1D o) -> bool
3647  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3648  """
3649  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3650 
3651 
3652  def show(self, *args):
3653  """
3654  show(BoundingBox1D self, _ostream out)
3655  show(BoundingBox1D self)
3656  """
3657  return _IMP_algebra.BoundingBox1D_show(self, *args)
3658 
3659 
3660  def __str__(self):
3661  """__str__(BoundingBox1D self) -> std::string"""
3662  return _IMP_algebra.BoundingBox1D___str__(self)
3663 
3664 
3665  def __repr__(self):
3666  """__repr__(BoundingBox1D self) -> std::string"""
3667  return _IMP_algebra.BoundingBox1D___repr__(self)
3668 
3669 
3670  def __cmp__(self, arg2):
3671  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3672  return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3673 
3674 
3675  def __eq__(self, arg2):
3676  """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3677  return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3678 
3679 
3680  def __init__(self, *args):
3681  """
3682  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3683  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3684  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3685  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3686  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3687  """
3688  this = _IMP_algebra.new_BoundingBox1D(*args)
3689  try:
3690  self.this.append(this)
3691  except:
3692  self.this = this
3693 
3694  def __getitem__(self, index):
3695  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3696  return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3697 
3698 
3699  def __iadd__(self, *args):
3700  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3701  return self
3702 
3703 
3704 
3705  def __len__(self):
3706  """__len__(BoundingBox1D self) -> unsigned int"""
3707  return _IMP_algebra.BoundingBox1D___len__(self)
3708 
3709 
3710  def __add__(self, *args):
3711  """
3712  __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3713  __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3714  __add__(BoundingBox1D self, double o) -> BoundingBox1D
3715  """
3716  return _IMP_algebra.BoundingBox1D___add__(self, *args)
3717 
3718  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3719  __del__ = lambda self: None
3720 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3721 BoundingBox1D_swigregister(BoundingBox1D)
3722 
3723 class BoundingBox2D(object):
3724  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
3725  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3726 
3727  def get_dimension(self):
3728  """get_dimension(BoundingBox2D self) -> unsigned int"""
3729  return _IMP_algebra.BoundingBox2D_get_dimension(self)
3730 
3731 
3732  def get_corner(self, i):
3733  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3734  return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3735 
3736 
3737  def get_contains(self, *args):
3738  """
3739  get_contains(BoundingBox2D self, Vector2D o) -> bool
3740  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3741  """
3742  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3743 
3744 
3745  def show(self, *args):
3746  """
3747  show(BoundingBox2D self, _ostream out)
3748  show(BoundingBox2D self)
3749  """
3750  return _IMP_algebra.BoundingBox2D_show(self, *args)
3751 
3752 
3753  def __str__(self):
3754  """__str__(BoundingBox2D self) -> std::string"""
3755  return _IMP_algebra.BoundingBox2D___str__(self)
3756 
3757 
3758  def __repr__(self):
3759  """__repr__(BoundingBox2D self) -> std::string"""
3760  return _IMP_algebra.BoundingBox2D___repr__(self)
3761 
3762 
3763  def __cmp__(self, arg2):
3764  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3765  return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3766 
3767 
3768  def __eq__(self, arg2):
3769  """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3770  return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3771 
3772 
3773  def __init__(self, *args):
3774  """
3775  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3776  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3777  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3778  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3779  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3780  """
3781  this = _IMP_algebra.new_BoundingBox2D(*args)
3782  try:
3783  self.this.append(this)
3784  except:
3785  self.this = this
3786 
3787  def __getitem__(self, index):
3788  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3789  return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3790 
3791 
3792  def __iadd__(self, *args):
3793  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3794  return self
3795 
3796 
3797 
3798  def __len__(self):
3799  """__len__(BoundingBox2D self) -> unsigned int"""
3800  return _IMP_algebra.BoundingBox2D___len__(self)
3801 
3802 
3803  def __add__(self, *args):
3804  """
3805  __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3806  __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3807  __add__(BoundingBox2D self, double o) -> BoundingBox2D
3808  """
3809  return _IMP_algebra.BoundingBox2D___add__(self, *args)
3810 
3811  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3812  __del__ = lambda self: None
3813 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3814 BoundingBox2D_swigregister(BoundingBox2D)
3815 
3816 class BoundingBox3D(object):
3817  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
3818  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3819 
3820  def get_dimension(self):
3821  """get_dimension(BoundingBox3D self) -> unsigned int"""
3822  return _IMP_algebra.BoundingBox3D_get_dimension(self)
3823 
3824 
3825  def get_corner(self, i):
3826  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3827  return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3828 
3829 
3830  def get_contains(self, *args):
3831  """
3832  get_contains(BoundingBox3D self, Vector3D o) -> bool
3833  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3834  """
3835  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3836 
3837 
3838  def show(self, *args):
3839  """
3840  show(BoundingBox3D self, _ostream out)
3841  show(BoundingBox3D self)
3842  """
3843  return _IMP_algebra.BoundingBox3D_show(self, *args)
3844 
3845 
3846  def __str__(self):
3847  """__str__(BoundingBox3D self) -> std::string"""
3848  return _IMP_algebra.BoundingBox3D___str__(self)
3849 
3850 
3851  def __repr__(self):
3852  """__repr__(BoundingBox3D self) -> std::string"""
3853  return _IMP_algebra.BoundingBox3D___repr__(self)
3854 
3855 
3856  def __cmp__(self, arg2):
3857  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3858  return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3859 
3860 
3861  def __eq__(self, arg2):
3862  """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3863  return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3864 
3865 
3866  def __init__(self, *args):
3867  """
3868  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3869  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3870  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3871  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3872  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3873  """
3874  this = _IMP_algebra.new_BoundingBox3D(*args)
3875  try:
3876  self.this.append(this)
3877  except:
3878  self.this = this
3879 
3880  def __getitem__(self, index):
3881  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3882  return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3883 
3884 
3885  def __iadd__(self, *args):
3886  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3887  return self
3888 
3889 
3890 
3891  def __len__(self):
3892  """__len__(BoundingBox3D self) -> unsigned int"""
3893  return _IMP_algebra.BoundingBox3D___len__(self)
3894 
3895 
3896  def __add__(self, *args):
3897  """
3898  __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3899  __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3900  __add__(BoundingBox3D self, double o) -> BoundingBox3D
3901  """
3902  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3903 
3904  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3905  __del__ = lambda self: None
3906 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3907 BoundingBox3D_swigregister(BoundingBox3D)
3908 
3909 class BoundingBox4D(object):
3910  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3911  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3912 
3913  def get_dimension(self):
3914  """get_dimension(BoundingBox4D self) -> unsigned int"""
3915  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3916 
3917 
3918  def get_corner(self, i):
3919  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3920  return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3921 
3922 
3923  def get_contains(self, *args):
3924  """
3925  get_contains(BoundingBox4D self, Vector4D o) -> bool
3926  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3927  """
3928  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3929 
3930 
3931  def show(self, *args):
3932  """
3933  show(BoundingBox4D self, _ostream out)
3934  show(BoundingBox4D self)
3935  """
3936  return _IMP_algebra.BoundingBox4D_show(self, *args)
3937 
3938 
3939  def __str__(self):
3940  """__str__(BoundingBox4D self) -> std::string"""
3941  return _IMP_algebra.BoundingBox4D___str__(self)
3942 
3943 
3944  def __repr__(self):
3945  """__repr__(BoundingBox4D self) -> std::string"""
3946  return _IMP_algebra.BoundingBox4D___repr__(self)
3947 
3948 
3949  def __cmp__(self, arg2):
3950  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3951  return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3952 
3953 
3954  def __eq__(self, arg2):
3955  """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3956  return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3957 
3958 
3959  def __init__(self, *args):
3960  """
3961  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3962  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3963  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3964  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3965  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3966  """
3967  this = _IMP_algebra.new_BoundingBox4D(*args)
3968  try:
3969  self.this.append(this)
3970  except:
3971  self.this = this
3972 
3973  def __getitem__(self, index):
3974  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3975  return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3976 
3977 
3978  def __iadd__(self, *args):
3979  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3980  return self
3981 
3982 
3983 
3984  def __len__(self):
3985  """__len__(BoundingBox4D self) -> unsigned int"""
3986  return _IMP_algebra.BoundingBox4D___len__(self)
3987 
3988 
3989  def __add__(self, *args):
3990  """
3991  __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3992  __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3993  __add__(BoundingBox4D self, double o) -> BoundingBox4D
3994  """
3995  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3996 
3997  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3998  __del__ = lambda self: None
3999 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
4000 BoundingBox4D_swigregister(BoundingBox4D)
4001 
4002 class BoundingBox5D(object):
4003  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
4004  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4005 
4006  def get_dimension(self):
4007  """get_dimension(BoundingBox5D self) -> unsigned int"""
4008  return _IMP_algebra.BoundingBox5D_get_dimension(self)
4009 
4010 
4011  def get_corner(self, i):
4012  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
4013  return _IMP_algebra.BoundingBox5D_get_corner(self, i)
4014 
4015 
4016  def get_contains(self, *args):
4017  """
4018  get_contains(BoundingBox5D self, Vector5D o) -> bool
4019  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
4020  """
4021  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
4022 
4023 
4024  def show(self, *args):
4025  """
4026  show(BoundingBox5D self, _ostream out)
4027  show(BoundingBox5D self)
4028  """
4029  return _IMP_algebra.BoundingBox5D_show(self, *args)
4030 
4031 
4032  def __str__(self):
4033  """__str__(BoundingBox5D self) -> std::string"""
4034  return _IMP_algebra.BoundingBox5D___str__(self)
4035 
4036 
4037  def __repr__(self):
4038  """__repr__(BoundingBox5D self) -> std::string"""
4039  return _IMP_algebra.BoundingBox5D___repr__(self)
4040 
4041 
4042  def __cmp__(self, arg2):
4043  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4044  return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4045 
4046 
4047  def __eq__(self, arg2):
4048  """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4049  return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4050 
4051 
4052  def __init__(self, *args):
4053  """
4054  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4055  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4056  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4057  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4058  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4059  """
4060  this = _IMP_algebra.new_BoundingBox5D(*args)
4061  try:
4062  self.this.append(this)
4063  except:
4064  self.this = this
4065 
4066  def __getitem__(self, index):
4067  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4068  return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4069 
4070 
4071  def __iadd__(self, *args):
4072  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4073  return self
4074 
4075 
4076 
4077  def __len__(self):
4078  """__len__(BoundingBox5D self) -> unsigned int"""
4079  return _IMP_algebra.BoundingBox5D___len__(self)
4080 
4081 
4082  def __add__(self, *args):
4083  """
4084  __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4085  __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4086  __add__(BoundingBox5D self, double o) -> BoundingBox5D
4087  """
4088  return _IMP_algebra.BoundingBox5D___add__(self, *args)
4089 
4090  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4091  __del__ = lambda self: None
4092 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4093 BoundingBox5D_swigregister(BoundingBox5D)
4094 
4095 class BoundingBox6D(object):
4096  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
4097  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4098 
4099  def get_dimension(self):
4100  """get_dimension(BoundingBox6D self) -> unsigned int"""
4101  return _IMP_algebra.BoundingBox6D_get_dimension(self)
4102 
4103 
4104  def get_corner(self, i):
4105  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4106  return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4107 
4108 
4109  def get_contains(self, *args):
4110  """
4111  get_contains(BoundingBox6D self, Vector6D o) -> bool
4112  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4113  """
4114  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4115 
4116 
4117  def show(self, *args):
4118  """
4119  show(BoundingBox6D self, _ostream out)
4120  show(BoundingBox6D self)
4121  """
4122  return _IMP_algebra.BoundingBox6D_show(self, *args)
4123 
4124 
4125  def __str__(self):
4126  """__str__(BoundingBox6D self) -> std::string"""
4127  return _IMP_algebra.BoundingBox6D___str__(self)
4128 
4129 
4130  def __repr__(self):
4131  """__repr__(BoundingBox6D self) -> std::string"""
4132  return _IMP_algebra.BoundingBox6D___repr__(self)
4133 
4134 
4135  def __cmp__(self, arg2):
4136  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4137  return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4138 
4139 
4140  def __eq__(self, arg2):
4141  """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4142  return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4143 
4144 
4145  def __init__(self, *args):
4146  """
4147  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4148  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4149  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4150  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4151  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4152  """
4153  this = _IMP_algebra.new_BoundingBox6D(*args)
4154  try:
4155  self.this.append(this)
4156  except:
4157  self.this = this
4158 
4159  def __getitem__(self, index):
4160  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4161  return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4162 
4163 
4164  def __iadd__(self, *args):
4165  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4166  return self
4167 
4168 
4169 
4170  def __len__(self):
4171  """__len__(BoundingBox6D self) -> unsigned int"""
4172  return _IMP_algebra.BoundingBox6D___len__(self)
4173 
4174 
4175  def __add__(self, *args):
4176  """
4177  __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4178  __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4179  __add__(BoundingBox6D self, double o) -> BoundingBox6D
4180  """
4181  return _IMP_algebra.BoundingBox6D___add__(self, *args)
4182 
4183  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4184  __del__ = lambda self: None
4185 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4186 BoundingBox6D_swigregister(BoundingBox6D)
4187 
4188 class BoundingBoxKD(object):
4189  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
4190  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4191 
4192  def get_dimension(self):
4193  """get_dimension(BoundingBoxKD self) -> unsigned int"""
4194  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4195 
4196 
4197  def get_corner(self, i):
4198  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4199  return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4200 
4201 
4202  def get_contains(self, *args):
4203  """
4204  get_contains(BoundingBoxKD self, VectorKD o) -> bool
4205  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4206  """
4207  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4208 
4209 
4210  def show(self, *args):
4211  """
4212  show(BoundingBoxKD self, _ostream out)
4213  show(BoundingBoxKD self)
4214  """
4215  return _IMP_algebra.BoundingBoxKD_show(self, *args)
4216 
4217 
4218  def __str__(self):
4219  """__str__(BoundingBoxKD self) -> std::string"""
4220  return _IMP_algebra.BoundingBoxKD___str__(self)
4221 
4222 
4223  def __repr__(self):
4224  """__repr__(BoundingBoxKD self) -> std::string"""
4225  return _IMP_algebra.BoundingBoxKD___repr__(self)
4226 
4227 
4228  def __cmp__(self, arg2):
4229  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4230  return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4231 
4232 
4233  def __eq__(self, arg2):
4234  """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4235  return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4236 
4237 
4238  def __init__(self, *args):
4239  """
4240  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4241  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4242  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4243  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4244  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4245  """
4246  this = _IMP_algebra.new_BoundingBoxKD(*args)
4247  try:
4248  self.this.append(this)
4249  except:
4250  self.this = this
4251 
4252  def __getitem__(self, index):
4253  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4254  return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4255 
4256 
4257  def __iadd__(self, *args):
4258  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4259  return self
4260 
4261 
4262 
4263  def __len__(self):
4264  """__len__(BoundingBoxKD self) -> unsigned int"""
4265  return _IMP_algebra.BoundingBoxKD___len__(self)
4266 
4267 
4268  def __add__(self, *args):
4269  """
4270  __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4271  __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4272  __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4273  """
4274  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4275 
4276  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4277  __del__ = lambda self: None
4278 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4279 BoundingBoxKD_swigregister(BoundingBoxKD)
4280 
4281 class Sphere1D(_GeometricPrimitive1D):
4282  """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
4283  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4284 
4285  def __init__(self, *args):
4286  """
4287  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4288  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4289  """
4290  this = _IMP_algebra.new_Sphere1D(*args)
4291  try:
4292  self.this.append(this)
4293  except:
4294  self.this = this
4295 
4296  def get_radius(self):
4297  """get_radius(Sphere1D self) -> double"""
4298  return _IMP_algebra.Sphere1D_get_radius(self)
4299 
4300 
4301  def get_center(self):
4302  """get_center(Sphere1D self) -> Vector1D"""
4303  return _IMP_algebra.Sphere1D_get_center(self)
4304 
4305 
4306  def get_contains(self, *args):
4307  """
4308  get_contains(Sphere1D self, Sphere1D o) -> bool
4309  get_contains(Sphere1D self, Vector1D p) -> bool
4310  """
4311  return _IMP_algebra.Sphere1D_get_contains(self, *args)
4312 
4313 
4314  def show(self, *args):
4315  """
4316  show(Sphere1D self, _ostream out)
4317  show(Sphere1D self)
4318  """
4319  return _IMP_algebra.Sphere1D_show(self, *args)
4320 
4321 
4322  def get_dimension(self):
4323  """get_dimension(Sphere1D self) -> unsigned int"""
4324  return _IMP_algebra.Sphere1D_get_dimension(self)
4325 
4326 
4327  def __str__(self):
4328  """__str__(Sphere1D self) -> std::string"""
4329  return _IMP_algebra.Sphere1D___str__(self)
4330 
4331 
4332  def __repr__(self):
4333  """__repr__(Sphere1D self) -> std::string"""
4334  return _IMP_algebra.Sphere1D___repr__(self)
4335 
4336 
4337  def __cmp__(self, arg2):
4338  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4339  return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4340 
4341 
4342  def __eq__(self, arg2):
4343  """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4344  return _IMP_algebra.Sphere1D___eq__(self, arg2)
4345 
4346  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4347  __del__ = lambda self: None
4348 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4349 Sphere1D_swigregister(Sphere1D)
4350 
4351 class Sphere2D(_GeometricPrimitive2D):
4352  """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
4353  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4354 
4355  def __init__(self, *args):
4356  """
4357  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4358  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4359  """
4360  this = _IMP_algebra.new_Sphere2D(*args)
4361  try:
4362  self.this.append(this)
4363  except:
4364  self.this = this
4365 
4366  def get_radius(self):
4367  """get_radius(Sphere2D self) -> double"""
4368  return _IMP_algebra.Sphere2D_get_radius(self)
4369 
4370 
4371  def get_center(self):
4372  """get_center(Sphere2D self) -> Vector2D"""
4373  return _IMP_algebra.Sphere2D_get_center(self)
4374 
4375 
4376  def get_contains(self, *args):
4377  """
4378  get_contains(Sphere2D self, Sphere2D o) -> bool
4379  get_contains(Sphere2D self, Vector2D p) -> bool
4380  """
4381  return _IMP_algebra.Sphere2D_get_contains(self, *args)
4382 
4383 
4384  def show(self, *args):
4385  """
4386  show(Sphere2D self, _ostream out)
4387  show(Sphere2D self)
4388  """
4389  return _IMP_algebra.Sphere2D_show(self, *args)
4390 
4391 
4392  def get_dimension(self):
4393  """get_dimension(Sphere2D self) -> unsigned int"""
4394  return _IMP_algebra.Sphere2D_get_dimension(self)
4395 
4396 
4397  def __str__(self):
4398  """__str__(Sphere2D self) -> std::string"""
4399  return _IMP_algebra.Sphere2D___str__(self)
4400 
4401 
4402  def __repr__(self):
4403  """__repr__(Sphere2D self) -> std::string"""
4404  return _IMP_algebra.Sphere2D___repr__(self)
4405 
4406 
4407  def __cmp__(self, arg2):
4408  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4409  return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4410 
4411 
4412  def __eq__(self, arg2):
4413  """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4414  return _IMP_algebra.Sphere2D___eq__(self, arg2)
4415 
4416  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4417  __del__ = lambda self: None
4418 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4419 Sphere2D_swigregister(Sphere2D)
4420 
4421 class Sphere3D(_GeometricPrimitive3D):
4422  """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
4423  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4424 
4425  def __init__(self, *args):
4426  """
4427  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4428  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4429  """
4430  this = _IMP_algebra.new_Sphere3D(*args)
4431  try:
4432  self.this.append(this)
4433  except:
4434  self.this = this
4435 
4436  def get_radius(self):
4437  """get_radius(Sphere3D self) -> double"""
4438  return _IMP_algebra.Sphere3D_get_radius(self)
4439 
4440 
4441  def get_center(self):
4442  """get_center(Sphere3D self) -> Vector3D"""
4443  return _IMP_algebra.Sphere3D_get_center(self)
4444 
4445 
4446  def get_contains(self, *args):
4447  """
4448  get_contains(Sphere3D self, Sphere3D o) -> bool
4449  get_contains(Sphere3D self, Vector3D p) -> bool
4450  """
4451  return _IMP_algebra.Sphere3D_get_contains(self, *args)
4452 
4453 
4454  def show(self, *args):
4455  """
4456  show(Sphere3D self, _ostream out)
4457  show(Sphere3D self)
4458  """
4459  return _IMP_algebra.Sphere3D_show(self, *args)
4460 
4461 
4462  def get_dimension(self):
4463  """get_dimension(Sphere3D self) -> unsigned int"""
4464  return _IMP_algebra.Sphere3D_get_dimension(self)
4465 
4466 
4467  def __str__(self):
4468  """__str__(Sphere3D self) -> std::string"""
4469  return _IMP_algebra.Sphere3D___str__(self)
4470 
4471 
4472  def __repr__(self):
4473  """__repr__(Sphere3D self) -> std::string"""
4474  return _IMP_algebra.Sphere3D___repr__(self)
4475 
4476 
4477  def __cmp__(self, arg2):
4478  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4479  return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4480 
4481 
4482  def __eq__(self, arg2):
4483  """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4484  return _IMP_algebra.Sphere3D___eq__(self, arg2)
4485 
4486  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4487  __del__ = lambda self: None
4488 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4489 Sphere3D_swigregister(Sphere3D)
4490 
4491 class Sphere4D(_GeometricPrimitive4D):
4492  """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
4493  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4494 
4495  def __init__(self, *args):
4496  """
4497  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4498  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4499  """
4500  this = _IMP_algebra.new_Sphere4D(*args)
4501  try:
4502  self.this.append(this)
4503  except:
4504  self.this = this
4505 
4506  def get_radius(self):
4507  """get_radius(Sphere4D self) -> double"""
4508  return _IMP_algebra.Sphere4D_get_radius(self)
4509 
4510 
4511  def get_center(self):
4512  """get_center(Sphere4D self) -> Vector4D"""
4513  return _IMP_algebra.Sphere4D_get_center(self)
4514 
4515 
4516  def get_contains(self, *args):
4517  """
4518  get_contains(Sphere4D self, Sphere4D o) -> bool
4519  get_contains(Sphere4D self, Vector4D p) -> bool
4520  """
4521  return _IMP_algebra.Sphere4D_get_contains(self, *args)
4522 
4523 
4524  def show(self, *args):
4525  """
4526  show(Sphere4D self, _ostream out)
4527  show(Sphere4D self)
4528  """
4529  return _IMP_algebra.Sphere4D_show(self, *args)
4530 
4531 
4532  def get_dimension(self):
4533  """get_dimension(Sphere4D self) -> unsigned int"""
4534  return _IMP_algebra.Sphere4D_get_dimension(self)
4535 
4536 
4537  def __str__(self):
4538  """__str__(Sphere4D self) -> std::string"""
4539  return _IMP_algebra.Sphere4D___str__(self)
4540 
4541 
4542  def __repr__(self):
4543  """__repr__(Sphere4D self) -> std::string"""
4544  return _IMP_algebra.Sphere4D___repr__(self)
4545 
4546 
4547  def __cmp__(self, arg2):
4548  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4549  return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4550 
4551 
4552  def __eq__(self, arg2):
4553  """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4554  return _IMP_algebra.Sphere4D___eq__(self, arg2)
4555 
4556  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4557  __del__ = lambda self: None
4558 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4559 Sphere4D_swigregister(Sphere4D)
4560 
4561 class Sphere5D(_GeometricPrimitive5D):
4562  """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
4563  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4564 
4565  def __init__(self, *args):
4566  """
4567  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4568  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4569  """
4570  this = _IMP_algebra.new_Sphere5D(*args)
4571  try:
4572  self.this.append(this)
4573  except:
4574  self.this = this
4575 
4576  def get_radius(self):
4577  """get_radius(Sphere5D self) -> double"""
4578  return _IMP_algebra.Sphere5D_get_radius(self)
4579 
4580 
4581  def get_center(self):
4582  """get_center(Sphere5D self) -> Vector5D"""
4583  return _IMP_algebra.Sphere5D_get_center(self)
4584 
4585 
4586  def get_contains(self, *args):
4587  """
4588  get_contains(Sphere5D self, Sphere5D o) -> bool
4589  get_contains(Sphere5D self, Vector5D p) -> bool
4590  """
4591  return _IMP_algebra.Sphere5D_get_contains(self, *args)
4592 
4593 
4594  def show(self, *args):
4595  """
4596  show(Sphere5D self, _ostream out)
4597  show(Sphere5D self)
4598  """
4599  return _IMP_algebra.Sphere5D_show(self, *args)
4600 
4601 
4602  def get_dimension(self):
4603  """get_dimension(Sphere5D self) -> unsigned int"""
4604  return _IMP_algebra.Sphere5D_get_dimension(self)
4605 
4606 
4607  def __str__(self):
4608  """__str__(Sphere5D self) -> std::string"""
4609  return _IMP_algebra.Sphere5D___str__(self)
4610 
4611 
4612  def __repr__(self):
4613  """__repr__(Sphere5D self) -> std::string"""
4614  return _IMP_algebra.Sphere5D___repr__(self)
4615 
4616 
4617  def __cmp__(self, arg2):
4618  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4619  return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4620 
4621 
4622  def __eq__(self, arg2):
4623  """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4624  return _IMP_algebra.Sphere5D___eq__(self, arg2)
4625 
4626  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4627  __del__ = lambda self: None
4628 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4629 Sphere5D_swigregister(Sphere5D)
4630 
4631 class Sphere6D(_GeometricPrimitive6D):
4632  """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
4633  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4634 
4635  def __init__(self, *args):
4636  """
4637  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4638  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4639  """
4640  this = _IMP_algebra.new_Sphere6D(*args)
4641  try:
4642  self.this.append(this)
4643  except:
4644  self.this = this
4645 
4646  def get_radius(self):
4647  """get_radius(Sphere6D self) -> double"""
4648  return _IMP_algebra.Sphere6D_get_radius(self)
4649 
4650 
4651  def get_center(self):
4652  """get_center(Sphere6D self) -> Vector6D"""
4653  return _IMP_algebra.Sphere6D_get_center(self)
4654 
4655 
4656  def get_contains(self, *args):
4657  """
4658  get_contains(Sphere6D self, Sphere6D o) -> bool
4659  get_contains(Sphere6D self, Vector6D p) -> bool
4660  """
4661  return _IMP_algebra.Sphere6D_get_contains(self, *args)
4662 
4663 
4664  def show(self, *args):
4665  """
4666  show(Sphere6D self, _ostream out)
4667  show(Sphere6D self)
4668  """
4669  return _IMP_algebra.Sphere6D_show(self, *args)
4670 
4671 
4672  def get_dimension(self):
4673  """get_dimension(Sphere6D self) -> unsigned int"""
4674  return _IMP_algebra.Sphere6D_get_dimension(self)
4675 
4676 
4677  def __str__(self):
4678  """__str__(Sphere6D self) -> std::string"""
4679  return _IMP_algebra.Sphere6D___str__(self)
4680 
4681 
4682  def __repr__(self):
4683  """__repr__(Sphere6D self) -> std::string"""
4684  return _IMP_algebra.Sphere6D___repr__(self)
4685 
4686 
4687  def __cmp__(self, arg2):
4688  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4689  return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4690 
4691 
4692  def __eq__(self, arg2):
4693  """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4694  return _IMP_algebra.Sphere6D___eq__(self, arg2)
4695 
4696  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4697  __del__ = lambda self: None
4698 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4699 Sphere6D_swigregister(Sphere6D)
4700 
4701 class SphereKD(_GeometricPrimitiveKD):
4702  """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
4703  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4704 
4705  def __init__(self, *args):
4706  """
4707  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4708  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4709  """
4710  this = _IMP_algebra.new_SphereKD(*args)
4711  try:
4712  self.this.append(this)
4713  except:
4714  self.this = this
4715 
4716  def get_radius(self):
4717  """get_radius(SphereKD self) -> double"""
4718  return _IMP_algebra.SphereKD_get_radius(self)
4719 
4720 
4721  def get_center(self):
4722  """get_center(SphereKD self) -> VectorKD"""
4723  return _IMP_algebra.SphereKD_get_center(self)
4724 
4725 
4726  def get_contains(self, *args):
4727  """
4728  get_contains(SphereKD self, SphereKD o) -> bool
4729  get_contains(SphereKD self, VectorKD p) -> bool
4730  """
4731  return _IMP_algebra.SphereKD_get_contains(self, *args)
4732 
4733 
4734  def show(self, *args):
4735  """
4736  show(SphereKD self, _ostream out)
4737  show(SphereKD self)
4738  """
4739  return _IMP_algebra.SphereKD_show(self, *args)
4740 
4741 
4742  def get_dimension(self):
4743  """get_dimension(SphereKD self) -> unsigned int"""
4744  return _IMP_algebra.SphereKD_get_dimension(self)
4745 
4746 
4747  def __str__(self):
4748  """__str__(SphereKD self) -> std::string"""
4749  return _IMP_algebra.SphereKD___str__(self)
4750 
4751 
4752  def __repr__(self):
4753  """__repr__(SphereKD self) -> std::string"""
4754  return _IMP_algebra.SphereKD___repr__(self)
4755 
4756 
4757  def __cmp__(self, arg2):
4758  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4759  return _IMP_algebra.SphereKD___cmp__(self, arg2)
4760 
4761 
4762  def __eq__(self, arg2):
4763  """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4764  return _IMP_algebra.SphereKD___eq__(self, arg2)
4765 
4766  __swig_destroy__ = _IMP_algebra.delete_SphereKD
4767  __del__ = lambda self: None
4768 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4769 SphereKD_swigregister(SphereKD)
4770 
4771 class UnitSimplex1D(_UnitSimplexBase1D):
4772  """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class"""
4773  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4774 
4775  def __init__(self):
4776  """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
4777  this = _IMP_algebra.new_UnitSimplex1D()
4778  try:
4779  self.this.append(this)
4780  except:
4781  self.this = this
4782 
4783  def show(self, *args):
4784  """
4785  show(UnitSimplex1D self, _ostream out)
4786  show(UnitSimplex1D self)
4787  """
4788  return _IMP_algebra.UnitSimplex1D_show(self, *args)
4789 
4790 
4791  def __str__(self):
4792  """__str__(UnitSimplex1D self) -> std::string"""
4793  return _IMP_algebra.UnitSimplex1D___str__(self)
4794 
4795 
4796  def __repr__(self):
4797  """__repr__(UnitSimplex1D self) -> std::string"""
4798  return _IMP_algebra.UnitSimplex1D___repr__(self)
4799 
4800 
4801  def __cmp__(self, arg2):
4802  """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
4803  return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
4804 
4805 
4806  def __eq__(self, arg2):
4807  """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
4808  return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
4809 
4810  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
4811  __del__ = lambda self: None
4812 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
4813 UnitSimplex1D_swigregister(UnitSimplex1D)
4814 
4815 class UnitSimplex2D(_UnitSimplexBase2D):
4816  """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class"""
4817  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4818 
4819  def __init__(self):
4820  """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
4821  this = _IMP_algebra.new_UnitSimplex2D()
4822  try:
4823  self.this.append(this)
4824  except:
4825  self.this = this
4826 
4827  def show(self, *args):
4828  """
4829  show(UnitSimplex2D self, _ostream out)
4830  show(UnitSimplex2D self)
4831  """
4832  return _IMP_algebra.UnitSimplex2D_show(self, *args)
4833 
4834 
4835  def __str__(self):
4836  """__str__(UnitSimplex2D self) -> std::string"""
4837  return _IMP_algebra.UnitSimplex2D___str__(self)
4838 
4839 
4840  def __repr__(self):
4841  """__repr__(UnitSimplex2D self) -> std::string"""
4842  return _IMP_algebra.UnitSimplex2D___repr__(self)
4843 
4844 
4845  def __cmp__(self, arg2):
4846  """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
4847  return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
4848 
4849 
4850  def __eq__(self, arg2):
4851  """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
4852  return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
4853 
4854  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
4855  __del__ = lambda self: None
4856 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
4857 UnitSimplex2D_swigregister(UnitSimplex2D)
4858 
4859 class UnitSimplex3D(_UnitSimplexBase3D):
4860  """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class"""
4861  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4862 
4863  def __init__(self):
4864  """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
4865  this = _IMP_algebra.new_UnitSimplex3D()
4866  try:
4867  self.this.append(this)
4868  except:
4869  self.this = this
4870 
4871  def show(self, *args):
4872  """
4873  show(UnitSimplex3D self, _ostream out)
4874  show(UnitSimplex3D self)
4875  """
4876  return _IMP_algebra.UnitSimplex3D_show(self, *args)
4877 
4878 
4879  def __str__(self):
4880  """__str__(UnitSimplex3D self) -> std::string"""
4881  return _IMP_algebra.UnitSimplex3D___str__(self)
4882 
4883 
4884  def __repr__(self):
4885  """__repr__(UnitSimplex3D self) -> std::string"""
4886  return _IMP_algebra.UnitSimplex3D___repr__(self)
4887 
4888 
4889  def __cmp__(self, arg2):
4890  """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
4891  return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
4892 
4893 
4894  def __eq__(self, arg2):
4895  """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
4896  return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
4897 
4898  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
4899  __del__ = lambda self: None
4900 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
4901 UnitSimplex3D_swigregister(UnitSimplex3D)
4902 
4903 class UnitSimplex4D(_UnitSimplexBase4D):
4904  """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class"""
4905  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4906 
4907  def __init__(self):
4908  """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
4909  this = _IMP_algebra.new_UnitSimplex4D()
4910  try:
4911  self.this.append(this)
4912  except:
4913  self.this = this
4914 
4915  def show(self, *args):
4916  """
4917  show(UnitSimplex4D self, _ostream out)
4918  show(UnitSimplex4D self)
4919  """
4920  return _IMP_algebra.UnitSimplex4D_show(self, *args)
4921 
4922 
4923  def __str__(self):
4924  """__str__(UnitSimplex4D self) -> std::string"""
4925  return _IMP_algebra.UnitSimplex4D___str__(self)
4926 
4927 
4928  def __repr__(self):
4929  """__repr__(UnitSimplex4D self) -> std::string"""
4930  return _IMP_algebra.UnitSimplex4D___repr__(self)
4931 
4932 
4933  def __cmp__(self, arg2):
4934  """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
4935  return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
4936 
4937 
4938  def __eq__(self, arg2):
4939  """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
4940  return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
4941 
4942  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
4943  __del__ = lambda self: None
4944 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
4945 UnitSimplex4D_swigregister(UnitSimplex4D)
4946 
4947 class UnitSimplex5D(_UnitSimplexBase5D):
4948  """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class"""
4949  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4950 
4951  def __init__(self):
4952  """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
4953  this = _IMP_algebra.new_UnitSimplex5D()
4954  try:
4955  self.this.append(this)
4956  except:
4957  self.this = this
4958 
4959  def show(self, *args):
4960  """
4961  show(UnitSimplex5D self, _ostream out)
4962  show(UnitSimplex5D self)
4963  """
4964  return _IMP_algebra.UnitSimplex5D_show(self, *args)
4965 
4966 
4967  def __str__(self):
4968  """__str__(UnitSimplex5D self) -> std::string"""
4969  return _IMP_algebra.UnitSimplex5D___str__(self)
4970 
4971 
4972  def __repr__(self):
4973  """__repr__(UnitSimplex5D self) -> std::string"""
4974  return _IMP_algebra.UnitSimplex5D___repr__(self)
4975 
4976 
4977  def __cmp__(self, arg2):
4978  """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
4979  return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
4980 
4981 
4982  def __eq__(self, arg2):
4983  """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
4984  return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
4985 
4986  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
4987  __del__ = lambda self: None
4988 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
4989 UnitSimplex5D_swigregister(UnitSimplex5D)
4990 
4991 class UnitSimplex6D(_UnitSimplexBase6D):
4992  """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class"""
4993  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4994 
4995  def __init__(self):
4996  """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
4997  this = _IMP_algebra.new_UnitSimplex6D()
4998  try:
4999  self.this.append(this)
5000  except:
5001  self.this = this
5002 
5003  def show(self, *args):
5004  """
5005  show(UnitSimplex6D self, _ostream out)
5006  show(UnitSimplex6D self)
5007  """
5008  return _IMP_algebra.UnitSimplex6D_show(self, *args)
5009 
5010 
5011  def __str__(self):
5012  """__str__(UnitSimplex6D self) -> std::string"""
5013  return _IMP_algebra.UnitSimplex6D___str__(self)
5014 
5015 
5016  def __repr__(self):
5017  """__repr__(UnitSimplex6D self) -> std::string"""
5018  return _IMP_algebra.UnitSimplex6D___repr__(self)
5019 
5020 
5021  def __cmp__(self, arg2):
5022  """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5023  return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5024 
5025 
5026  def __eq__(self, arg2):
5027  """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5028  return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5029 
5030  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5031  __del__ = lambda self: None
5032 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5033 UnitSimplex6D_swigregister(UnitSimplex6D)
5034 
5035 class UnitSimplexKD(_UnitSimplexBaseKD):
5036  """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class"""
5037  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5038  __repr__ = _swig_repr
5039 
5040  def __init__(self, d=1):
5041  """
5042  __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5043  __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5044  """
5045  this = _IMP_algebra.new_UnitSimplexKD(d)
5046  try:
5047  self.this.append(this)
5048  except:
5049  self.this = this
5050 
5051  def show(self, *args):
5052  """
5053  show(UnitSimplexKD self, _ostream out)
5054  show(UnitSimplexKD self)
5055  """
5056  return _IMP_algebra.UnitSimplexKD_show(self, *args)
5057 
5058  __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5059  __del__ = lambda self: None
5060 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5061 UnitSimplexKD_swigregister(UnitSimplexKD)
5062 
5063 class ReferenceFrame3D(object):
5064  """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
5065  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5066 
5067  def __init__(self, *args):
5068  """
5069  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5070  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5071  """
5072  this = _IMP_algebra.new_ReferenceFrame3D(*args)
5073  try:
5074  self.this.append(this)
5075  except:
5076  self.this = this
5077  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5078  __del__ = lambda self: None
5079 
5080  def get_transformation_to(self):
5081  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5082  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5083 
5084 
5085  def get_transformation_from(self):
5086  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5087  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5088 
5089 
5090  def get_global_coordinates(self, v):
5091  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5092  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5093 
5094 
5095  def get_local_coordinates(self, v):
5096  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5097  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5098 
5099 
5100  def get_global_reference_frame(self, v):
5101  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5102  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5103 
5104 
5105  def get_local_reference_frame(self, v):
5106  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5107  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
5108 
5109 
5110  def show(self, *args):
5111  """
5112  show(ReferenceFrame3D self, _ostream out)
5113  show(ReferenceFrame3D self)
5114  """
5115  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
5116 
5117 
5118  def __str__(self):
5119  """__str__(ReferenceFrame3D self) -> std::string"""
5120  return _IMP_algebra.ReferenceFrame3D___str__(self)
5121 
5122 
5123  def __repr__(self):
5124  """__repr__(ReferenceFrame3D self) -> std::string"""
5125  return _IMP_algebra.ReferenceFrame3D___repr__(self)
5126 
5127 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
5128 ReferenceFrame3D_swigregister(ReferenceFrame3D)
5129 
5130 
5131 def get_transformed(*args):
5132  """
5133  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
5134  get_transformed(Line3D l, Transformation3D tr) -> Line3D
5135  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
5136  """
5137  return _IMP_algebra.get_transformed(*args)
5138 
5139 def get_transformation_from_first_to_second(a, b):
5140  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
5141  return _IMP_algebra.get_transformation_from_first_to_second(a, b)
5142 class SphericalVector3D(_GeometricPrimitive3D):
5143  """Proxy of C++ IMP::algebra::SphericalVector3D class"""
5144  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5145 
5146  def __init__(self, *args):
5147  """
5148  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
5149  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
5150  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
5151  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
5152  """
5153  this = _IMP_algebra.new_SphericalVector3D(*args)
5154  try:
5155  self.this.append(this)
5156  except:
5157  self.this = this
5158 
5159  def get_cartesian_coordinates(self):
5160  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
5161  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
5162 
5163 
5164  def show(self, *args):
5165  """
5166  show(SphericalVector3D self, _ostream out)
5167  show(SphericalVector3D self)
5168  """
5169  return _IMP_algebra.SphericalVector3D_show(self, *args)
5170 
5171 
5172  def __str__(self):
5173  """__str__(SphericalVector3D self) -> std::string"""
5174  return _IMP_algebra.SphericalVector3D___str__(self)
5175 
5176 
5177  def __repr__(self):
5178  """__repr__(SphericalVector3D self) -> std::string"""
5179  return _IMP_algebra.SphericalVector3D___repr__(self)
5180 
5181 
5182  def __getitem__(self, index):
5183  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
5184  return _IMP_algebra.SphericalVector3D___getitem__(self, index)
5185 
5186 
5187  def __setitem__(self, index, val):
5188  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
5189  return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
5190 
5191  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
5192  __del__ = lambda self: None
5193 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
5194 SphericalVector3D_swigregister(SphericalVector3D)
5195 
5196 
5197 def get_alignments_from_first_to_second(pca1, pca2):
5198  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
5199  return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
5200 class Line3D(_GeometricPrimitive3D):
5201  """Proxy of C++ IMP::algebra::Line3D class"""
5202  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5203 
5204  def __init__(self, *args):
5205  """
5206  __init__(IMP::algebra::Line3D self) -> Line3D
5207  __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
5208  __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
5209  """
5210  this = _IMP_algebra.new_Line3D(*args)
5211  try:
5212  self.this.append(this)
5213  except:
5214  self.this = this
5215 
5216  def get_direction(self):
5217  """get_direction(Line3D self) -> Vector3D"""
5218  return _IMP_algebra.Line3D_get_direction(self)
5219 
5220 
5221  def get_point_on_line(self):
5222  """get_point_on_line(Line3D self) -> Vector3D"""
5223  return _IMP_algebra.Line3D_get_point_on_line(self)
5224 
5225 
5226  def get_moment(self, *args):
5227  """
5228  get_moment(Line3D self) -> Vector3D
5229  get_moment(Line3D self, Vector3D v) -> Vector3D
5230  """
5231  return _IMP_algebra.Line3D_get_moment(self, *args)
5232 
5233 
5234  def get_reciprocal_product(self, l):
5235  """get_reciprocal_product(Line3D self, Line3D l) -> double"""
5236  return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
5237 
5238 
5239  def get_opposite(self):
5240  """get_opposite(Line3D self) -> Line3D"""
5241  return _IMP_algebra.Line3D_get_opposite(self)
5242 
5243 
5244  def get_segment_starting_at(self, v, d):
5245  """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
5246  return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
5247 
5248 
5249  def show(self, *args):
5250  """
5251  show(Line3D self, _ostream out)
5252  show(Line3D self)
5253  """
5254  return _IMP_algebra.Line3D_show(self, *args)
5255 
5256 
5257  def __str__(self):
5258  """__str__(Line3D self) -> std::string"""
5259  return _IMP_algebra.Line3D___str__(self)
5260 
5261 
5262  def __repr__(self):
5263  """__repr__(Line3D self) -> std::string"""
5264  return _IMP_algebra.Line3D___repr__(self)
5265 
5266  __swig_destroy__ = _IMP_algebra.delete_Line3D
5267  __del__ = lambda self: None
5268 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
5269 Line3D_swigregister(Line3D)
5270 
5271 
5272 def get_line_3d_geometry(g):
5273  """get_line_3d_geometry(Line3D g) -> Line3D"""
5274  return _IMP_algebra.get_line_3d_geometry(g)
5275 
5276 def get_angle(a, b):
5277  """get_angle(Line3D a, Line3D b) -> double"""
5278  return _IMP_algebra.get_angle(a, b)
5279 
5281  """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
5282  return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
5283 class Segment3D(_GeometricPrimitive3D):
5284  """Proxy of C++ IMP::algebra::Segment3D class"""
5285  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5286 
5287  def __init__(self, *args):
5288  """
5289  __init__(IMP::algebra::Segment3D self) -> Segment3D
5290  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
5291  """
5292  this = _IMP_algebra.new_Segment3D(*args)
5293  try:
5294  self.this.append(this)
5295  except:
5296  self.this = this
5297 
5298  def get_point(self, i):
5299  if i < 0 or i >= 2:
5300  raise IMP.UsageException("Invalid point index")
5301  return _IMP_algebra.Segment3D_get_point(self, i)
5302 
5303 
5304 
5305  def get_middle_point(self):
5306  """get_middle_point(Segment3D self) -> Vector3D"""
5307  return _IMP_algebra.Segment3D_get_middle_point(self)
5308 
5309 
5310  def get_direction(self):
5311  """get_direction(Segment3D self) -> Vector3D"""
5312  return _IMP_algebra.Segment3D_get_direction(self)
5313 
5314 
5315  def get_length(self):
5316  """get_length(Segment3D self) -> double"""
5317  return _IMP_algebra.Segment3D_get_length(self)
5318 
5319 
5320  def show(self, *args):
5321  """
5322  show(Segment3D self, _ostream out)
5323  show(Segment3D self)
5324  """
5325  return _IMP_algebra.Segment3D_show(self, *args)
5326 
5327 
5328  def __str__(self):
5329  """__str__(Segment3D self) -> std::string"""
5330  return _IMP_algebra.Segment3D___str__(self)
5331 
5332 
5333  def __repr__(self):
5334  """__repr__(Segment3D self) -> std::string"""
5335  return _IMP_algebra.Segment3D___repr__(self)
5336 
5337  __swig_destroy__ = _IMP_algebra.delete_Segment3D
5338  __del__ = lambda self: None
5339 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
5340 Segment3D_swigregister(Segment3D)
5341 
5342 
5343 def get_segment_3d_geometry(g):
5344  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
5345  return _IMP_algebra.get_segment_3d_geometry(g)
5346 
5348  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
5349  return _IMP_algebra.get_relative_projection_on_segment(s, p)
5350 class Triangle3D(_GeometricPrimitive3D):
5351  """Proxy of C++ IMP::algebra::Triangle3D class"""
5352  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5353 
5354  def __init__(self, *args):
5355  """
5356  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
5357  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
5358  """
5359  this = _IMP_algebra.new_Triangle3D(*args)
5360  try:
5361  self.this.append(this)
5362  except:
5363  self.this = this
5364 
5365  def get_point(self, i):
5366  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
5367  return _IMP_algebra.Triangle3D_get_point(self, i)
5368 
5369 
5370  def show(self, *args):
5371  """
5372  show(Triangle3D self, _ostream out)
5373  show(Triangle3D self)
5374  """
5375  return _IMP_algebra.Triangle3D_show(self, *args)
5376 
5377 
5378  def get_edge_lengths(self):
5379  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
5380  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
5381 
5382 
5383  def __str__(self):
5384  """__str__(Triangle3D self) -> std::string"""
5385  return _IMP_algebra.Triangle3D___str__(self)
5386 
5387 
5388  def __repr__(self):
5389  """__repr__(Triangle3D self) -> std::string"""
5390  return _IMP_algebra.Triangle3D___repr__(self)
5391 
5392  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
5393  __del__ = lambda self: None
5394 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
5395 Triangle3D_swigregister(Triangle3D)
5396 
5397 
5398 def get_largest_triangle(points):
5399  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
5400  return _IMP_algebra.get_largest_triangle(points)
5401 
5402 def get_transformation_from_first_triangle_to_second(first_tri, second_tri):
5403  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
5404  return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
5405 
5406 def get_are_colinear(p1, p2, p3):
5407  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
5408  return _IMP_algebra.get_are_colinear(p1, p2, p3)
5409 class LinearFit2D(_GeometricPrimitive2D):
5410  """Proxy of C++ IMP::algebra::LinearFit2D class"""
5411  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5412 
5413  def __init__(self, *args):
5414  """
5415  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
5416  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
5417  """
5418  this = _IMP_algebra.new_LinearFit2D(*args)
5419  try:
5420  self.this.append(this)
5421  except:
5422  self.this = this
5423 
5424  def get_fit_error(self):
5425  """get_fit_error(LinearFit2D self) -> double"""
5426  return _IMP_algebra.LinearFit2D_get_fit_error(self)
5427 
5428 
5429  def get_a(self):
5430  """get_a(LinearFit2D self) -> double"""
5431  return _IMP_algebra.LinearFit2D_get_a(self)
5432 
5433 
5434  def get_b(self):
5435  """get_b(LinearFit2D self) -> double"""
5436  return _IMP_algebra.LinearFit2D_get_b(self)
5437 
5438 
5439  def show(self, *args):
5440  """
5441  show(LinearFit2D self, _ostream out)
5442  show(LinearFit2D self)
5443  """
5444  return _IMP_algebra.LinearFit2D_show(self, *args)
5445 
5446 
5447  def __str__(self):
5448  """__str__(LinearFit2D self) -> std::string"""
5449  return _IMP_algebra.LinearFit2D___str__(self)
5450 
5451 
5452  def __repr__(self):
5453  """__repr__(LinearFit2D self) -> std::string"""
5454  return _IMP_algebra.LinearFit2D___repr__(self)
5455 
5456  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
5457  __del__ = lambda self: None
5458 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
5459 LinearFit2D_swigregister(LinearFit2D)
5460 
5461 class ParabolicFit2D(_GeometricPrimitive2D):
5462  """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
5463  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5464 
5465  def __init__(self, data):
5466  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
5467  this = _IMP_algebra.new_ParabolicFit2D(data)
5468  try:
5469  self.this.append(this)
5470  except:
5471  self.this = this
5472 
5473  def get_fit_error(self):
5474  """get_fit_error(ParabolicFit2D self) -> double"""
5475  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
5476 
5477 
5478  def get_a(self):
5479  """get_a(ParabolicFit2D self) -> double"""
5480  return _IMP_algebra.ParabolicFit2D_get_a(self)
5481 
5482 
5483  def get_b(self):
5484  """get_b(ParabolicFit2D self) -> double"""
5485  return _IMP_algebra.ParabolicFit2D_get_b(self)
5486 
5487 
5488  def get_c(self):
5489  """get_c(ParabolicFit2D self) -> double"""
5490  return _IMP_algebra.ParabolicFit2D_get_c(self)
5491 
5492 
5493  def show(self, *args):
5494  """
5495  show(ParabolicFit2D self, _ostream out)
5496  show(ParabolicFit2D self)
5497  """
5498  return _IMP_algebra.ParabolicFit2D_show(self, *args)
5499 
5500 
5501  def __str__(self):
5502  """__str__(ParabolicFit2D self) -> std::string"""
5503  return _IMP_algebra.ParabolicFit2D___str__(self)
5504 
5505 
5506  def __repr__(self):
5507  """__repr__(ParabolicFit2D self) -> std::string"""
5508  return _IMP_algebra.ParabolicFit2D___repr__(self)
5509 
5510  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
5511  __del__ = lambda self: None
5512 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
5513 ParabolicFit2D_swigregister(ParabolicFit2D)
5514 
5515 class Plane3D(_GeometricPrimitive3D):
5516  """Proxy of C++ IMP::algebra::Plane3D class"""
5517  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5518 
5519  def __init__(self, *args):
5520  """
5521  __init__(IMP::algebra::Plane3D self) -> Plane3D
5522  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
5523  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
5524  """
5525  this = _IMP_algebra.new_Plane3D(*args)
5526  try:
5527  self.this.append(this)
5528  except:
5529  self.this = this
5530 
5531  def get_point_on_plane(self):
5532  """get_point_on_plane(Plane3D self) -> Vector3D"""
5533  return _IMP_algebra.Plane3D_get_point_on_plane(self)
5534 
5535 
5536  def get_normal(self):
5537  """get_normal(Plane3D self) -> Vector3D"""
5538  return _IMP_algebra.Plane3D_get_normal(self)
5539 
5540 
5541  def get_projected(self, p):
5542  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
5543  return _IMP_algebra.Plane3D_get_projected(self, p)
5544 
5545 
5546  def get_is_above(self, p):
5547  """get_is_above(Plane3D self, Vector3D p) -> bool"""
5548  return _IMP_algebra.Plane3D_get_is_above(self, p)
5549 
5550 
5551  def get_is_below(self, p):
5552  """get_is_below(Plane3D self, Vector3D p) -> bool"""
5553  return _IMP_algebra.Plane3D_get_is_below(self, p)
5554 
5555 
5556  def get_height(self, p):
5557  """get_height(Plane3D self, Vector3D p) -> double"""
5558  return _IMP_algebra.Plane3D_get_height(self, p)
5559 
5560 
5561  def show(self, *args):
5562  """
5563  show(Plane3D self, _ostream out)
5564  show(Plane3D self)
5565  """
5566  return _IMP_algebra.Plane3D_show(self, *args)
5567 
5568 
5569  def get_opposite(self):
5570  """get_opposite(Plane3D self) -> Plane3D"""
5571  return _IMP_algebra.Plane3D_get_opposite(self)
5572 
5573 
5574  def get_distance_from_origin(self):
5575  """get_distance_from_origin(Plane3D self) -> double"""
5576  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
5577 
5578 
5579  def __str__(self):
5580  """__str__(Plane3D self) -> std::string"""
5581  return _IMP_algebra.Plane3D___str__(self)
5582 
5583 
5584  def __repr__(self):
5585  """__repr__(Plane3D self) -> std::string"""
5586  return _IMP_algebra.Plane3D___repr__(self)
5587 
5588  __swig_destroy__ = _IMP_algebra.delete_Plane3D
5589  __del__ = lambda self: None
5590 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
5591 Plane3D_swigregister(Plane3D)
5592 
5593 
5594 def get_reflected(pln, p):
5595  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
5596  return _IMP_algebra.get_reflected(pln, p)
5597 
5598 def get_plane_3d_geometry(g):
5599  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
5600  return _IMP_algebra.get_plane_3d_geometry(g)
5601 class Reflection3D(_GeometricPrimitive3D):
5602  """Proxy of C++ IMP::algebra::Reflection3D class"""
5603  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5604 
5605  def __init__(self, *args):
5606  """
5607  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
5608  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
5609  """
5610  this = _IMP_algebra.new_Reflection3D(*args)
5611  try:
5612  self.this.append(this)
5613  except:
5614  self.this = this
5615 
5616  def get_reflected(self, v):
5617  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
5618  return _IMP_algebra.Reflection3D_get_reflected(self, v)
5619 
5620 
5621  def show(self, *args):
5622  """
5623  show(Reflection3D self, _ostream out)
5624  show(Reflection3D self)
5625  """
5626  return _IMP_algebra.Reflection3D_show(self, *args)
5627 
5628 
5629  def __str__(self):
5630  """__str__(Reflection3D self) -> std::string"""
5631  return _IMP_algebra.Reflection3D___str__(self)
5632 
5633 
5634  def __repr__(self):
5635  """__repr__(Reflection3D self) -> std::string"""
5636  return _IMP_algebra.Reflection3D___repr__(self)
5637 
5638  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
5639  __del__ = lambda self: None
5640 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
5641 Reflection3D_swigregister(Reflection3D)
5642 
5643 class Cylinder3D(_GeometricPrimitive3D):
5644  """Proxy of C++ IMP::algebra::Cylinder3D class"""
5645  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5646 
5647  def __init__(self, *args):
5648  """
5649  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5650  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5651  """
5652  this = _IMP_algebra.new_Cylinder3D(*args)
5653  try:
5654  self.this.append(this)
5655  except:
5656  self.this = this
5657 
5658  def get_radius(self):
5659  """get_radius(Cylinder3D self) -> double"""
5660  return _IMP_algebra.Cylinder3D_get_radius(self)
5661 
5662 
5663  def get_segment(self):
5664  """get_segment(Cylinder3D self) -> Segment3D"""
5665  return _IMP_algebra.Cylinder3D_get_segment(self)
5666 
5667 
5668  def get_surface_point_at(self, relative_height, angle):
5669  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5670  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5671 
5672 
5673  def get_inner_point_at(self, relative_height, relative_radius, angle):
5674  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5675  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5676 
5677 
5678  def show(self, *args):
5679  """
5680  show(Cylinder3D self, _ostream out)
5681  show(Cylinder3D self)
5682  """
5683  return _IMP_algebra.Cylinder3D_show(self, *args)
5684 
5685 
5686  def __str__(self):
5687  """__str__(Cylinder3D self) -> std::string"""
5688  return _IMP_algebra.Cylinder3D___str__(self)
5689 
5690 
5691  def __repr__(self):
5692  """__repr__(Cylinder3D self) -> std::string"""
5693  return _IMP_algebra.Cylinder3D___repr__(self)
5694 
5695  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5696  __del__ = lambda self: None
5697 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5698 Cylinder3D_swigregister(Cylinder3D)
5699 
5700 
5701 def get_cylinder_3d_geometry(g):
5702  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5703  return _IMP_algebra.get_cylinder_3d_geometry(g)
5704 class Ellipsoid3D(_GeometricPrimitive3D):
5705  """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
5706  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5707 
5708  def __init__(self, *args):
5709  """
5710  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5711  __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5712  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5713  """
5714  this = _IMP_algebra.new_Ellipsoid3D(*args)
5715  try:
5716  self.this.append(this)
5717  except:
5718  self.this = this
5719 
5720  def get_radii(self):
5721  """get_radii(Ellipsoid3D self) -> Vector3D"""
5722  return _IMP_algebra.Ellipsoid3D_get_radii(self)
5723 
5724 
5725  def get_reference_frame(self):
5726  """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5727  return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5728 
5729 
5730  def show(self, *args):
5731  """
5732  show(Ellipsoid3D self, _ostream out)
5733  show(Ellipsoid3D self)
5734  """
5735  return _IMP_algebra.Ellipsoid3D_show(self, *args)
5736 
5737 
5738  def __str__(self):
5739  """__str__(Ellipsoid3D self) -> std::string"""
5740  return _IMP_algebra.Ellipsoid3D___str__(self)
5741 
5742 
5743  def __repr__(self):
5744  """__repr__(Ellipsoid3D self) -> std::string"""
5745  return _IMP_algebra.Ellipsoid3D___repr__(self)
5746 
5747  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5748  __del__ = lambda self: None
5749 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5750 Ellipsoid3D_swigregister(Ellipsoid3D)
5751 
5752 
5753 def get_ellipsoid_3d_geometry(g):
5754  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5755  return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5756 class ConnollySurfacePoint(object):
5757  """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
5758  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5759 
5760  def __init__(self, a0, a1, a2, sp, a, n):
5761  """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5762  this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5763  try:
5764  self.this.append(this)
5765  except:
5766  self.this = this
5767 
5768  def get_atom(self, i):
5769  """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5770  return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5771 
5772 
5773  def get_surface_point(self):
5774  """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5775  return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5776 
5777 
5778  def get_area(self):
5779  """get_area(ConnollySurfacePoint self) -> double"""
5780  return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5781 
5782 
5783  def get_normal(self):
5784  """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5785  return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5786 
5787 
5788  def show(self, *args):
5789  """
5790  show(ConnollySurfacePoint self, _ostream out)
5791  show(ConnollySurfacePoint self)
5792  """
5793  return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5794 
5795 
5796  def __str__(self):
5797  """__str__(ConnollySurfacePoint self) -> std::string"""
5798  return _IMP_algebra.ConnollySurfacePoint___str__(self)
5799 
5800 
5801  def __repr__(self):
5802  """__repr__(ConnollySurfacePoint self) -> std::string"""
5803  return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5804 
5805  __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5806  __del__ = lambda self: None
5807 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5808 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5809 
5810 
5811 def get_connolly_surface(spheres, density, probe_radius):
5812  """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5813  return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5814 class LogEmbedding3D(object):
5815  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
5816  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5817 
5818  def __init__(self, *args):
5819  """
5820  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5821  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5822  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5823  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5824  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5825  """
5826  this = _IMP_algebra.new_LogEmbedding3D(*args)
5827  try:
5828  self.this.append(this)
5829  except:
5830  self.this = this
5831 
5832  def set_origin(self, o):
5833  """set_origin(LogEmbedding3D self, Vector3D o)"""
5834  return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5835 
5836 
5837  def get_origin(self):
5838  """get_origin(LogEmbedding3D self) -> Vector3D"""
5839  return _IMP_algebra.LogEmbedding3D_get_origin(self)
5840 
5841 
5842  def get_dimension(self):
5843  """get_dimension(LogEmbedding3D self) -> unsigned int"""
5844  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5845 
5846 
5847  def set_unit_cell(self, *args):
5848  """
5849  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5850  set_unit_cell(LogEmbedding3D self, Vector3D o)
5851  """
5852  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5853 
5854 
5855  def get_unit_cell(self):
5856  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5857  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5858 
5859 
5860  def get_extended_index(self, o):
5861  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5862  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5863 
5864 
5865  def get_index(self, o):
5866  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5867  return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5868 
5869 
5870  def get_center(self, *args):
5871  """
5872  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5873  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5874  """
5875  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5876 
5877 
5878  def get_bounding_box(self, *args):
5879  """
5880  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5881  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5882  """
5883  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5884 
5885 
5886  def show(self, *args):
5887  """
5888  show(LogEmbedding3D self, _ostream out)
5889  show(LogEmbedding3D self)
5890  """
5891  return _IMP_algebra.LogEmbedding3D_show(self, *args)
5892 
5893 
5894  def __str__(self):
5895  """__str__(LogEmbedding3D self) -> std::string"""
5896  return _IMP_algebra.LogEmbedding3D___str__(self)
5897 
5898 
5899  def __repr__(self):
5900  """__repr__(LogEmbedding3D self) -> std::string"""
5901  return _IMP_algebra.LogEmbedding3D___repr__(self)
5902 
5903 
5904  def __cmp__(self, arg2):
5905  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5906  return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5907 
5908 
5909  def __eq__(self, arg2):
5910  """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5911  return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5912 
5913  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5914  __del__ = lambda self: None
5915 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5916 LogEmbedding3D_swigregister(LogEmbedding3D)
5917 
5918 class LogEmbeddingKD(object):
5919  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
5920  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5921 
5922  def __init__(self, *args):
5923  """
5924  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5925  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5926  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5927  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5928  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5929  """
5930  this = _IMP_algebra.new_LogEmbeddingKD(*args)
5931  try:
5932  self.this.append(this)
5933  except:
5934  self.this = this
5935 
5936  def set_origin(self, o):
5937  """set_origin(LogEmbeddingKD self, VectorKD o)"""
5938  return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5939 
5940 
5941  def get_origin(self):
5942  """get_origin(LogEmbeddingKD self) -> VectorKD"""
5943  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5944 
5945 
5946  def get_dimension(self):
5947  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5948  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5949 
5950 
5951  def set_unit_cell(self, *args):
5952  """
5953  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5954  set_unit_cell(LogEmbeddingKD self, VectorKD o)
5955  """
5956  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5957 
5958 
5959  def get_unit_cell(self):
5960  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5961  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5962 
5963 
5964  def get_extended_index(self, o):
5965  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5966  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5967 
5968 
5969  def get_index(self, o):
5970  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5971  return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5972 
5973 
5974  def get_center(self, *args):
5975  """
5976  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5977  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5978  """
5979  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5980 
5981 
5982  def get_bounding_box(self, *args):
5983  """
5984  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5985  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5986  """
5987  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5988 
5989 
5990  def show(self, *args):
5991  """
5992  show(LogEmbeddingKD self, _ostream out)
5993  show(LogEmbeddingKD self)
5994  """
5995  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5996 
5997 
5998  def __str__(self):
5999  """__str__(LogEmbeddingKD self) -> std::string"""
6000  return _IMP_algebra.LogEmbeddingKD___str__(self)
6001 
6002 
6003  def __repr__(self):
6004  """__repr__(LogEmbeddingKD self) -> std::string"""
6005  return _IMP_algebra.LogEmbeddingKD___repr__(self)
6006 
6007 
6008  def __cmp__(self, arg2):
6009  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
6010  return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
6011 
6012 
6013  def __eq__(self, arg2):
6014  """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
6015  return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
6016 
6017  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
6018  __del__ = lambda self: None
6019 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
6020 LogEmbeddingKD_swigregister(LogEmbeddingKD)
6021 
6022 class DenseFloatLogGridKD(object):
6023  """Proxy of C++ IMP::algebra::DenseFloatLogGridKD 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, sz, le):
6027  """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
6028  this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
6029  try:
6030  self.this.append(this)
6031  except:
6032  self.this = this
6033 
6034  def add_voxel(self, i, q):
6035  """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
6036  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
6037 
6038 
6039  def __getitem__(self, *args):
6040  """
6041  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
6042  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
6043  """
6044  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
6045 
6046 
6047  def __setitem__(self, *args):
6048  """
6049  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
6050  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
6051  """
6052  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
6053 
6054 
6055  def get_bounding_box(self, *args):
6056  """
6057  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6058  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
6059  """
6060  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
6061 
6062 
6063  def get_indexes(self, *args):
6064  """
6065  get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6066  get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6067  """
6068  return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
6069 
6070 
6071  def get_all_indexes(self):
6072  """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6073  return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
6074 
6075 
6076  def get_extended_indexes(self, *args):
6077  """
6078  get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6079  get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6080  """
6081  return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
6082 
6083 
6084  def get_center(self, *args):
6085  """
6086  get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6087  get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
6088  """
6089  return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
6090 
6091 
6092  def get_extended_index(self, v):
6093  """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6094  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
6095 
6096 
6097  def get_index(self, v):
6098  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6099  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
6100 
6101 
6102  def get_origin(self):
6103  """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
6104  return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
6105 
6106 
6107  def get_dimension(self):
6108  """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
6109  return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
6110 
6111 
6112  def get_unit_cell(self):
6113  """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
6114  return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
6115 
6116 
6117  def get_has_index(self, v):
6118  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
6119  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
6120 
6121 
6122  def __str__(self):
6123  """__str__(DenseFloatLogGridKD self) -> std::string"""
6124  return _IMP_algebra.DenseFloatLogGridKD___str__(self)
6125 
6126 
6127  def __repr__(self):
6128  """__repr__(DenseFloatLogGridKD self) -> std::string"""
6129  return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
6130 
6131 
6132  def show(self, *args):
6133  """
6134  show(DenseFloatLogGridKD self, _ostream out)
6135  show(DenseFloatLogGridKD self)
6136  """
6137  return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
6138 
6139  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
6140  __del__ = lambda self: None
6141 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
6142 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
6143 
6144 class DenseIntLogGrid3D(object):
6145  """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
6146  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6147 
6148  def __init__(self, sz, le):
6149  """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
6150  this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
6151  try:
6152  self.this.append(this)
6153  except:
6154  self.this = this
6155 
6156  def add_voxel(self, i, q):
6157  """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6158  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
6159 
6160 
6161  def __getitem__(self, *args):
6162  """
6163  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
6164  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
6165  """
6166  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
6167 
6168 
6169  def __setitem__(self, *args):
6170  """
6171  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
6172  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
6173  """
6174  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
6175 
6176 
6177  def get_bounding_box(self, *args):
6178  """
6179  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6180  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
6181  """
6182  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
6183 
6184 
6185  def get_indexes(self, *args):
6186  """
6187  get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6188  get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6189  """
6190  return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
6191 
6192 
6193  def get_all_indexes(self):
6194  """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6195  return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
6196 
6197 
6198  def get_extended_indexes(self, *args):
6199  """
6200  get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6201  get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6202  """
6203  return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
6204 
6205 
6206  def get_center(self, *args):
6207  """
6208  get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6209  get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
6210  """
6211  return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
6212 
6213 
6214  def get_extended_index(self, v):
6215  """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6216  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
6217 
6218 
6219  def get_index(self, v):
6220  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6221  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
6222 
6223 
6224  def get_origin(self):
6225  """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
6226  return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
6227 
6228 
6229  def get_dimension(self):
6230  """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
6231  return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
6232 
6233 
6234  def get_unit_cell(self):
6235  """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
6236  return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
6237 
6238 
6239  def get_has_index(self, v):
6240  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
6241  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
6242 
6243 
6244  def __str__(self):
6245  """__str__(DenseIntLogGrid3D self) -> std::string"""
6246  return _IMP_algebra.DenseIntLogGrid3D___str__(self)
6247 
6248 
6249  def __repr__(self):
6250  """__repr__(DenseIntLogGrid3D self) -> std::string"""
6251  return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
6252 
6253 
6254  def show(self, *args):
6255  """
6256  show(DenseIntLogGrid3D self, _ostream out)
6257  show(DenseIntLogGrid3D self)
6258  """
6259  return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
6260 
6261  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
6262  __del__ = lambda self: None
6263 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
6264 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
6265 
6266 class DenseDoubleGrid3D(object):
6267  """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
6268  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6269 
6270  def __init__(self, *args):
6271  """
6272  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
6273  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
6274  __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
6275  """
6276  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
6277  try:
6278  self.this.append(this)
6279  except:
6280  self.this = this
6281 
6282  def add_voxel(self, i, q):
6283  """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
6284  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
6285 
6286 
6287  def __getitem__(self, *args):
6288  """
6289  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
6290  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
6291  """
6292  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
6293 
6294 
6295  def __setitem__(self, *args):
6296  """
6297  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
6298  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
6299  """
6300  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
6301 
6302 
6303  def get_bounding_box(self, *args):
6304  """
6305  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6306  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
6307  """
6308  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
6309 
6310 
6311  def get_indexes(self, *args):
6312  """
6313  get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6314  get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6315  """
6316  return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
6317 
6318 
6319  def get_all_indexes(self):
6320  """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6321  return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
6322 
6323 
6324  def get_extended_indexes(self, *args):
6325  """
6326  get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6327  get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6328  """
6329  return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
6330 
6331 
6332  def get_center(self, *args):
6333  """
6334  get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6335  get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
6336  """
6337  return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
6338 
6339 
6340  def get_extended_index(self, v):
6341  """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6342  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
6343 
6344 
6345  def get_index(self, v):
6346  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6347  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
6348 
6349 
6350  def get_origin(self):
6351  """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
6352  return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
6353 
6354 
6355  def get_dimension(self):
6356  """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
6357  return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
6358 
6359 
6360  def get_unit_cell(self):
6361  """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
6362  return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
6363 
6364 
6365  def get_has_index(self, v):
6366  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
6367  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
6368 
6369 
6370  def __str__(self):
6371  """__str__(DenseDoubleGrid3D self) -> std::string"""
6372  return _IMP_algebra.DenseDoubleGrid3D___str__(self)
6373 
6374 
6375  def __repr__(self):
6376  """__repr__(DenseDoubleGrid3D self) -> std::string"""
6377  return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
6378 
6379 
6380  def show(self, *args):
6381  """
6382  show(DenseDoubleGrid3D self, _ostream out)
6383  show(DenseDoubleGrid3D self)
6384  """
6385  return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
6386 
6387  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
6388  __del__ = lambda self: None
6389 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
6390 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
6391 
6392 class DenseFloatGrid3D(object):
6393  """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
6394  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6395 
6396  def __init__(self, *args):
6397  """
6398  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
6399  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
6400  __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
6401  """
6402  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
6403  try:
6404  self.this.append(this)
6405  except:
6406  self.this = this
6407 
6408  def add_voxel(self, i, q):
6409  """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
6410  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
6411 
6412 
6413  def __getitem__(self, *args):
6414  """
6415  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
6416  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
6417  """
6418  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
6419 
6420 
6421  def __setitem__(self, *args):
6422  """
6423  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
6424  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
6425  """
6426  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
6427 
6428 
6429  def get_bounding_box(self, *args):
6430  """
6431  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6432  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
6433  """
6434  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
6435 
6436 
6437  def get_indexes(self, *args):
6438  """
6439  get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6440  get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6441  """
6442  return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
6443 
6444 
6445  def get_all_indexes(self):
6446  """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6447  return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
6448 
6449 
6450  def get_extended_indexes(self, *args):
6451  """
6452  get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6453  get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6454  """
6455  return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
6456 
6457 
6458  def get_center(self, *args):
6459  """
6460  get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6461  get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
6462  """
6463  return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
6464 
6465 
6466  def get_extended_index(self, v):
6467  """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6468  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
6469 
6470 
6471  def get_index(self, v):
6472  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6473  return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
6474 
6475 
6476  def get_origin(self):
6477  """get_origin(DenseFloatGrid3D self) -> Vector3D"""
6478  return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
6479 
6480 
6481  def get_dimension(self):
6482  """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
6483  return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
6484 
6485 
6486  def get_unit_cell(self):
6487  """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
6488  return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
6489 
6490 
6491  def get_has_index(self, v):
6492  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
6493  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
6494 
6495 
6496  def __str__(self):
6497  """__str__(DenseFloatGrid3D self) -> std::string"""
6498  return _IMP_algebra.DenseFloatGrid3D___str__(self)
6499 
6500 
6501  def __repr__(self):
6502  """__repr__(DenseFloatGrid3D self) -> std::string"""
6503  return _IMP_algebra.DenseFloatGrid3D___repr__(self)
6504 
6505 
6506  def show(self, *args):
6507  """
6508  show(DenseFloatGrid3D self, _ostream out)
6509  show(DenseFloatGrid3D self)
6510  """
6511  return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
6512 
6513  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
6514  __del__ = lambda self: None
6515 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
6516 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
6517 
6518 class SparseUnboundedIntGrid3D(object):
6519  """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
6520  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6521 
6522  def __init__(self, *args):
6523  """
6524  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6525  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
6526  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6527  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
6528  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
6529  """
6530  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
6531  try:
6532  self.this.append(this)
6533  except:
6534  self.this = this
6535 
6536  def add_voxel(self, i, q):
6537  """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6538  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
6539 
6540 
6541  def __getitem__(self, *args):
6542  """
6543  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
6544  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
6545  """
6546  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
6547 
6548 
6549  def __setitem__(self, *args):
6550  """
6551  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
6552  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
6553  """
6554  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
6555 
6556 
6557  def get_bounding_box(self, *args):
6558  """
6559  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6560  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
6561  """
6562  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
6563 
6564 
6565  def get_indexes(self, *args):
6566  """
6567  get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6568  get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6569  """
6570  return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
6571 
6572 
6573  def get_all_indexes(self):
6574  """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6575  return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
6576 
6577 
6578  def get_extended_indexes(self, *args):
6579  """
6580  get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6581  get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6582  """
6583  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
6584 
6585 
6586  def get_center(self, *args):
6587  """
6588  get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6589  get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
6590  """
6591  return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
6592 
6593 
6594  def get_extended_index(self, v):
6595  """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6596  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
6597 
6598 
6599  def get_index(self, v):
6600  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6601  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
6602 
6603 
6604  def get_origin(self):
6605  """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
6606  return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
6607 
6608 
6609  def get_dimension(self):
6610  """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
6611  return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
6612 
6613 
6614  def get_unit_cell(self):
6615  """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
6616  return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
6617 
6618 
6619  def get_has_index(self, v):
6620  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
6621  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
6622 
6623 
6624  def __str__(self):
6625  """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
6626  return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
6627 
6628 
6629  def __repr__(self):
6630  """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
6631  return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6632 
6633 
6634  def show(self, *args):
6635  """
6636  show(SparseUnboundedIntGrid3D self, _ostream out)
6637  show(SparseUnboundedIntGrid3D self)
6638  """
6639  return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6640 
6641  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6642  __del__ = lambda self: None
6643 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6644 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6645 
6646 class SparseUnboundedIntGridKD(object):
6647  """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
6648  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6649 
6650  def __init__(self, *args):
6651  """
6652  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6653  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6654  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6655  """
6656  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6657  try:
6658  self.this.append(this)
6659  except:
6660  self.this = this
6661 
6662  def add_voxel(self, i, q):
6663  """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6664  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6665 
6666 
6667  def __getitem__(self, *args):
6668  """
6669  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6670  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6671  """
6672  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6673 
6674 
6675  def __setitem__(self, *args):
6676  """
6677  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6678  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6679  """
6680  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6681 
6682 
6683  def get_bounding_box(self, *args):
6684  """
6685  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6686  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6687  """
6688  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6689 
6690 
6691  def get_indexes(self, *args):
6692  """
6693  get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6694  get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6695  """
6696  return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6697 
6698 
6699  def get_all_indexes(self):
6700  """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6701  return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6702 
6703 
6704  def get_extended_indexes(self, *args):
6705  """
6706  get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6707  get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6708  """
6709  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6710 
6711 
6712  def get_center(self, *args):
6713  """
6714  get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6715  get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6716  """
6717  return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6718 
6719 
6720  def get_extended_index(self, v):
6721  """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6722  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6723 
6724 
6725  def get_index(self, v):
6726  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6727  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6728 
6729 
6730  def get_origin(self):
6731  """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6732  return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6733 
6734 
6735  def get_dimension(self):
6736  """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6737  return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6738 
6739 
6740  def get_unit_cell(self):
6741  """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6742  return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6743 
6744 
6745  def get_has_index(self, v):
6746  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6747  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6748 
6749 
6750  def __str__(self):
6751  """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6752  return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6753 
6754 
6755  def __repr__(self):
6756  """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6757  return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6758 
6759 
6760  def show(self, *args):
6761  """
6762  show(SparseUnboundedIntGridKD self, _ostream out)
6763  show(SparseUnboundedIntGridKD self)
6764  """
6765  return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6766 
6767  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6768  __del__ = lambda self: None
6769 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6770 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6771 
6772 class GridIndex1D(IMP._Value):
6773  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
6774  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6775 
6776  def __init__(self, *args):
6777  """
6778  __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6779  __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6780  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6781  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6782  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6783  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6784  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6785  """
6786  this = _IMP_algebra.new_GridIndex1D(*args)
6787  try:
6788  self.this.append(this)
6789  except:
6790  self.this = this
6791 
6792  def get_dimension(self):
6793  """get_dimension(GridIndex1D self) -> unsigned int"""
6794  return _IMP_algebra.GridIndex1D_get_dimension(self)
6795 
6796 
6797  def __getitem__(self, i):
6798  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6799  return _IMP_algebra.GridIndex1D___getitem__(self, i)
6800 
6801 
6802  def show(self, *args):
6803  """
6804  show(GridIndex1D self, _ostream out)
6805  show(GridIndex1D self)
6806  """
6807  return _IMP_algebra.GridIndex1D_show(self, *args)
6808 
6809 
6810  def __len__(self):
6811  """__len__(GridIndex1D self) -> unsigned int"""
6812  return _IMP_algebra.GridIndex1D___len__(self)
6813 
6814 
6815  def __cmp__(self, o):
6816  """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6817  return _IMP_algebra.GridIndex1D___cmp__(self, o)
6818 
6819 
6820  def __eq__(self, o):
6821  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6822  return _IMP_algebra.GridIndex1D___eq__(self, o)
6823 
6824 
6825  def __ne__(self, o):
6826  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6827  return _IMP_algebra.GridIndex1D___ne__(self, o)
6828 
6829 
6830  def __lt__(self, o):
6831  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6832  return _IMP_algebra.GridIndex1D___lt__(self, o)
6833 
6834 
6835  def __gt__(self, o):
6836  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6837  return _IMP_algebra.GridIndex1D___gt__(self, o)
6838 
6839 
6840  def __ge__(self, o):
6841  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6842  return _IMP_algebra.GridIndex1D___ge__(self, o)
6843 
6844 
6845  def __le__(self, o):
6846  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6847  return _IMP_algebra.GridIndex1D___le__(self, o)
6848 
6849 
6850  def __hash__(self):
6851  """__hash__(GridIndex1D self) -> std::size_t"""
6852  return _IMP_algebra.GridIndex1D___hash__(self)
6853 
6854 
6855  def __str__(self):
6856  """__str__(GridIndex1D self) -> std::string"""
6857  return _IMP_algebra.GridIndex1D___str__(self)
6858 
6859 
6860  def __repr__(self):
6861  """__repr__(GridIndex1D self) -> std::string"""
6862  return _IMP_algebra.GridIndex1D___repr__(self)
6863 
6864  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6865  __del__ = lambda self: None
6866 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6867 GridIndex1D_swigregister(GridIndex1D)
6868 
6869 class GridIndex2D(IMP._Value):
6870  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
6871  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6872 
6873  def __init__(self, *args):
6874  """
6875  __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6876  __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6877  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6878  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6879  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6880  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6881  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6882  """
6883  this = _IMP_algebra.new_GridIndex2D(*args)
6884  try:
6885  self.this.append(this)
6886  except:
6887  self.this = this
6888 
6889  def get_dimension(self):
6890  """get_dimension(GridIndex2D self) -> unsigned int"""
6891  return _IMP_algebra.GridIndex2D_get_dimension(self)
6892 
6893 
6894  def __getitem__(self, i):
6895  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6896  return _IMP_algebra.GridIndex2D___getitem__(self, i)
6897 
6898 
6899  def show(self, *args):
6900  """
6901  show(GridIndex2D self, _ostream out)
6902  show(GridIndex2D self)
6903  """
6904  return _IMP_algebra.GridIndex2D_show(self, *args)
6905 
6906 
6907  def __len__(self):
6908  """__len__(GridIndex2D self) -> unsigned int"""
6909  return _IMP_algebra.GridIndex2D___len__(self)
6910 
6911 
6912  def __cmp__(self, o):
6913  """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6914  return _IMP_algebra.GridIndex2D___cmp__(self, o)
6915 
6916 
6917  def __eq__(self, o):
6918  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6919  return _IMP_algebra.GridIndex2D___eq__(self, o)
6920 
6921 
6922  def __ne__(self, o):
6923  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6924  return _IMP_algebra.GridIndex2D___ne__(self, o)
6925 
6926 
6927  def __lt__(self, o):
6928  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6929  return _IMP_algebra.GridIndex2D___lt__(self, o)
6930 
6931 
6932  def __gt__(self, o):
6933  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6934  return _IMP_algebra.GridIndex2D___gt__(self, o)
6935 
6936 
6937  def __ge__(self, o):
6938  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6939  return _IMP_algebra.GridIndex2D___ge__(self, o)
6940 
6941 
6942  def __le__(self, o):
6943  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6944  return _IMP_algebra.GridIndex2D___le__(self, o)
6945 
6946 
6947  def __hash__(self):
6948  """__hash__(GridIndex2D self) -> std::size_t"""
6949  return _IMP_algebra.GridIndex2D___hash__(self)
6950 
6951 
6952  def __str__(self):
6953  """__str__(GridIndex2D self) -> std::string"""
6954  return _IMP_algebra.GridIndex2D___str__(self)
6955 
6956 
6957  def __repr__(self):
6958  """__repr__(GridIndex2D self) -> std::string"""
6959  return _IMP_algebra.GridIndex2D___repr__(self)
6960 
6961  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6962  __del__ = lambda self: None
6963 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6964 GridIndex2D_swigregister(GridIndex2D)
6965 
6966 class GridIndex3D(IMP._Value):
6967  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
6968  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6969 
6970  def __init__(self, *args):
6971  """
6972  __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6973  __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6974  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6975  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6976  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6977  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6978  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6979  """
6980  this = _IMP_algebra.new_GridIndex3D(*args)
6981  try:
6982  self.this.append(this)
6983  except:
6984  self.this = this
6985 
6986  def get_dimension(self):
6987  """get_dimension(GridIndex3D self) -> unsigned int"""
6988  return _IMP_algebra.GridIndex3D_get_dimension(self)
6989 
6990 
6991  def __getitem__(self, i):
6992  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6993  return _IMP_algebra.GridIndex3D___getitem__(self, i)
6994 
6995 
6996  def show(self, *args):
6997  """
6998  show(GridIndex3D self, _ostream out)
6999  show(GridIndex3D self)
7000  """
7001  return _IMP_algebra.GridIndex3D_show(self, *args)
7002 
7003 
7004  def __len__(self):
7005  """__len__(GridIndex3D self) -> unsigned int"""
7006  return _IMP_algebra.GridIndex3D___len__(self)
7007 
7008 
7009  def __cmp__(self, o):
7010  """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
7011  return _IMP_algebra.GridIndex3D___cmp__(self, o)
7012 
7013 
7014  def __eq__(self, o):
7015  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
7016  return _IMP_algebra.GridIndex3D___eq__(self, o)
7017 
7018 
7019  def __ne__(self, o):
7020  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
7021  return _IMP_algebra.GridIndex3D___ne__(self, o)
7022 
7023 
7024  def __lt__(self, o):
7025  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
7026  return _IMP_algebra.GridIndex3D___lt__(self, o)
7027 
7028 
7029  def __gt__(self, o):
7030  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
7031  return _IMP_algebra.GridIndex3D___gt__(self, o)
7032 
7033 
7034  def __ge__(self, o):
7035  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
7036  return _IMP_algebra.GridIndex3D___ge__(self, o)
7037 
7038 
7039  def __le__(self, o):
7040  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
7041  return _IMP_algebra.GridIndex3D___le__(self, o)
7042 
7043 
7044  def __hash__(self):
7045  """__hash__(GridIndex3D self) -> std::size_t"""
7046  return _IMP_algebra.GridIndex3D___hash__(self)
7047 
7048 
7049  def __str__(self):
7050  """__str__(GridIndex3D self) -> std::string"""
7051  return _IMP_algebra.GridIndex3D___str__(self)
7052 
7053 
7054  def __repr__(self):
7055  """__repr__(GridIndex3D self) -> std::string"""
7056  return _IMP_algebra.GridIndex3D___repr__(self)
7057 
7058  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
7059  __del__ = lambda self: None
7060 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
7061 GridIndex3D_swigregister(GridIndex3D)
7062 
7063 class GridIndex4D(IMP._Value):
7064  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
7065  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7066 
7067  def __init__(self, *args):
7068  """
7069  __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
7070  __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
7071  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
7072  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
7073  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
7074  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
7075  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
7076  """
7077  this = _IMP_algebra.new_GridIndex4D(*args)
7078  try:
7079  self.this.append(this)
7080  except:
7081  self.this = this
7082 
7083  def get_dimension(self):
7084  """get_dimension(GridIndex4D self) -> unsigned int"""
7085  return _IMP_algebra.GridIndex4D_get_dimension(self)
7086 
7087 
7088  def __getitem__(self, i):
7089  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
7090  return _IMP_algebra.GridIndex4D___getitem__(self, i)
7091 
7092 
7093  def show(self, *args):
7094  """
7095  show(GridIndex4D self, _ostream out)
7096  show(GridIndex4D self)
7097  """
7098  return _IMP_algebra.GridIndex4D_show(self, *args)
7099 
7100 
7101  def __len__(self):
7102  """__len__(GridIndex4D self) -> unsigned int"""
7103  return _IMP_algebra.GridIndex4D___len__(self)
7104 
7105 
7106  def __cmp__(self, o):
7107  """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
7108  return _IMP_algebra.GridIndex4D___cmp__(self, o)
7109 
7110 
7111  def __eq__(self, o):
7112  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
7113  return _IMP_algebra.GridIndex4D___eq__(self, o)
7114 
7115 
7116  def __ne__(self, o):
7117  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
7118  return _IMP_algebra.GridIndex4D___ne__(self, o)
7119 
7120 
7121  def __lt__(self, o):
7122  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
7123  return _IMP_algebra.GridIndex4D___lt__(self, o)
7124 
7125 
7126  def __gt__(self, o):
7127  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
7128  return _IMP_algebra.GridIndex4D___gt__(self, o)
7129 
7130 
7131  def __ge__(self, o):
7132  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
7133  return _IMP_algebra.GridIndex4D___ge__(self, o)
7134 
7135 
7136  def __le__(self, o):
7137  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
7138  return _IMP_algebra.GridIndex4D___le__(self, o)
7139 
7140 
7141  def __hash__(self):
7142  """__hash__(GridIndex4D self) -> std::size_t"""
7143  return _IMP_algebra.GridIndex4D___hash__(self)
7144 
7145 
7146  def __str__(self):
7147  """__str__(GridIndex4D self) -> std::string"""
7148  return _IMP_algebra.GridIndex4D___str__(self)
7149 
7150 
7151  def __repr__(self):
7152  """__repr__(GridIndex4D self) -> std::string"""
7153  return _IMP_algebra.GridIndex4D___repr__(self)
7154 
7155  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
7156  __del__ = lambda self: None
7157 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
7158 GridIndex4D_swigregister(GridIndex4D)
7159 
7160 class GridIndex5D(IMP._Value):
7161  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
7162  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7163 
7164  def __init__(self, *args):
7165  """
7166  __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
7167  __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
7168  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
7169  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
7170  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
7171  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
7172  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
7173  """
7174  this = _IMP_algebra.new_GridIndex5D(*args)
7175  try:
7176  self.this.append(this)
7177  except:
7178  self.this = this
7179 
7180  def get_dimension(self):
7181  """get_dimension(GridIndex5D self) -> unsigned int"""
7182  return _IMP_algebra.GridIndex5D_get_dimension(self)
7183 
7184 
7185  def __getitem__(self, i):
7186  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
7187  return _IMP_algebra.GridIndex5D___getitem__(self, i)
7188 
7189 
7190  def show(self, *args):
7191  """
7192  show(GridIndex5D self, _ostream out)
7193  show(GridIndex5D self)
7194  """
7195  return _IMP_algebra.GridIndex5D_show(self, *args)
7196 
7197 
7198  def __len__(self):
7199  """__len__(GridIndex5D self) -> unsigned int"""
7200  return _IMP_algebra.GridIndex5D___len__(self)
7201 
7202 
7203  def __cmp__(self, o):
7204  """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
7205  return _IMP_algebra.GridIndex5D___cmp__(self, o)
7206 
7207 
7208  def __eq__(self, o):
7209  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
7210  return _IMP_algebra.GridIndex5D___eq__(self, o)
7211 
7212 
7213  def __ne__(self, o):
7214  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
7215  return _IMP_algebra.GridIndex5D___ne__(self, o)
7216 
7217 
7218  def __lt__(self, o):
7219  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
7220  return _IMP_algebra.GridIndex5D___lt__(self, o)
7221 
7222 
7223  def __gt__(self, o):
7224  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
7225  return _IMP_algebra.GridIndex5D___gt__(self, o)
7226 
7227 
7228  def __ge__(self, o):
7229  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
7230  return _IMP_algebra.GridIndex5D___ge__(self, o)
7231 
7232 
7233  def __le__(self, o):
7234  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
7235  return _IMP_algebra.GridIndex5D___le__(self, o)
7236 
7237 
7238  def __hash__(self):
7239  """__hash__(GridIndex5D self) -> std::size_t"""
7240  return _IMP_algebra.GridIndex5D___hash__(self)
7241 
7242 
7243  def __str__(self):
7244  """__str__(GridIndex5D self) -> std::string"""
7245  return _IMP_algebra.GridIndex5D___str__(self)
7246 
7247 
7248  def __repr__(self):
7249  """__repr__(GridIndex5D self) -> std::string"""
7250  return _IMP_algebra.GridIndex5D___repr__(self)
7251 
7252  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
7253  __del__ = lambda self: None
7254 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
7255 GridIndex5D_swigregister(GridIndex5D)
7256 
7257 class GridIndex6D(IMP._Value):
7258  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
7259  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7260 
7261  def __init__(self, *args):
7262  """
7263  __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
7264  __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
7265  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
7266  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
7267  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
7268  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
7269  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
7270  """
7271  this = _IMP_algebra.new_GridIndex6D(*args)
7272  try:
7273  self.this.append(this)
7274  except:
7275  self.this = this
7276 
7277  def get_dimension(self):
7278  """get_dimension(GridIndex6D self) -> unsigned int"""
7279  return _IMP_algebra.GridIndex6D_get_dimension(self)
7280 
7281 
7282  def __getitem__(self, i):
7283  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
7284  return _IMP_algebra.GridIndex6D___getitem__(self, i)
7285 
7286 
7287  def show(self, *args):
7288  """
7289  show(GridIndex6D self, _ostream out)
7290  show(GridIndex6D self)
7291  """
7292  return _IMP_algebra.GridIndex6D_show(self, *args)
7293 
7294 
7295  def __len__(self):
7296  """__len__(GridIndex6D self) -> unsigned int"""
7297  return _IMP_algebra.GridIndex6D___len__(self)
7298 
7299 
7300  def __cmp__(self, o):
7301  """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
7302  return _IMP_algebra.GridIndex6D___cmp__(self, o)
7303 
7304 
7305  def __eq__(self, o):
7306  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
7307  return _IMP_algebra.GridIndex6D___eq__(self, o)
7308 
7309 
7310  def __ne__(self, o):
7311  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
7312  return _IMP_algebra.GridIndex6D___ne__(self, o)
7313 
7314 
7315  def __lt__(self, o):
7316  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
7317  return _IMP_algebra.GridIndex6D___lt__(self, o)
7318 
7319 
7320  def __gt__(self, o):
7321  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
7322  return _IMP_algebra.GridIndex6D___gt__(self, o)
7323 
7324 
7325  def __ge__(self, o):
7326  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
7327  return _IMP_algebra.GridIndex6D___ge__(self, o)
7328 
7329 
7330  def __le__(self, o):
7331  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
7332  return _IMP_algebra.GridIndex6D___le__(self, o)
7333 
7334 
7335  def __hash__(self):
7336  """__hash__(GridIndex6D self) -> std::size_t"""
7337  return _IMP_algebra.GridIndex6D___hash__(self)
7338 
7339 
7340  def __str__(self):
7341  """__str__(GridIndex6D self) -> std::string"""
7342  return _IMP_algebra.GridIndex6D___str__(self)
7343 
7344 
7345  def __repr__(self):
7346  """__repr__(GridIndex6D self) -> std::string"""
7347  return _IMP_algebra.GridIndex6D___repr__(self)
7348 
7349  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
7350  __del__ = lambda self: None
7351 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
7352 GridIndex6D_swigregister(GridIndex6D)
7353 
7354 class GridIndexKD(IMP._Value):
7355  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
7356  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7357 
7358  def __init__(self, *args):
7359  """
7360  __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
7361  __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
7362  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
7363  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
7364  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
7365  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
7366  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
7367  """
7368  this = _IMP_algebra.new_GridIndexKD(*args)
7369  try:
7370  self.this.append(this)
7371  except:
7372  self.this = this
7373 
7374  def get_dimension(self):
7375  """get_dimension(GridIndexKD self) -> unsigned int"""
7376  return _IMP_algebra.GridIndexKD_get_dimension(self)
7377 
7378 
7379  def __getitem__(self, i):
7380  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
7381  return _IMP_algebra.GridIndexKD___getitem__(self, i)
7382 
7383 
7384  def show(self, *args):
7385  """
7386  show(GridIndexKD self, _ostream out)
7387  show(GridIndexKD self)
7388  """
7389  return _IMP_algebra.GridIndexKD_show(self, *args)
7390 
7391 
7392  def __len__(self):
7393  """__len__(GridIndexKD self) -> unsigned int"""
7394  return _IMP_algebra.GridIndexKD___len__(self)
7395 
7396 
7397  def __cmp__(self, o):
7398  """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
7399  return _IMP_algebra.GridIndexKD___cmp__(self, o)
7400 
7401 
7402  def __eq__(self, o):
7403  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
7404  return _IMP_algebra.GridIndexKD___eq__(self, o)
7405 
7406 
7407  def __ne__(self, o):
7408  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
7409  return _IMP_algebra.GridIndexKD___ne__(self, o)
7410 
7411 
7412  def __lt__(self, o):
7413  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
7414  return _IMP_algebra.GridIndexKD___lt__(self, o)
7415 
7416 
7417  def __gt__(self, o):
7418  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
7419  return _IMP_algebra.GridIndexKD___gt__(self, o)
7420 
7421 
7422  def __ge__(self, o):
7423  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
7424  return _IMP_algebra.GridIndexKD___ge__(self, o)
7425 
7426 
7427  def __le__(self, o):
7428  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
7429  return _IMP_algebra.GridIndexKD___le__(self, o)
7430 
7431 
7432  def __hash__(self):
7433  """__hash__(GridIndexKD self) -> std::size_t"""
7434  return _IMP_algebra.GridIndexKD___hash__(self)
7435 
7436 
7437  def __str__(self):
7438  """__str__(GridIndexKD self) -> std::string"""
7439  return _IMP_algebra.GridIndexKD___str__(self)
7440 
7441 
7442  def __repr__(self):
7443  """__repr__(GridIndexKD self) -> std::string"""
7444  return _IMP_algebra.GridIndexKD___repr__(self)
7445 
7446  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
7447  __del__ = lambda self: None
7448 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
7449 GridIndexKD_swigregister(GridIndexKD)
7450 
7451 class ExtendedGridIndex1D(IMP._Value):
7452  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
7453  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7454 
7455  def __init__(self, *args):
7456  """
7457  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
7458  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
7459  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
7460  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
7461  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
7462  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
7463  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
7464  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
7465  """
7466  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
7467  try:
7468  self.this.append(this)
7469  except:
7470  self.this = this
7471 
7472  def get_dimension(self):
7473  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
7474  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
7475 
7476 
7477  def __cmp__(self, o):
7478  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
7479  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
7480 
7481 
7482  def __eq__(self, o):
7483  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7484  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
7485 
7486 
7487  def __ne__(self, o):
7488  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7489  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
7490 
7491 
7492  def __lt__(self, o):
7493  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7494  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
7495 
7496 
7497  def __gt__(self, o):
7498  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7499  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
7500 
7501 
7502  def __ge__(self, o):
7503  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7504  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
7505 
7506 
7507  def __le__(self, o):
7508  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7509  return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
7510 
7511 
7512  def __setitem__(self, i, v):
7513  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
7514  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
7515 
7516 
7517  def __getitem__(self, i):
7518  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
7519  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
7520 
7521 
7522  def show(self, *args):
7523  """
7524  show(ExtendedGridIndex1D self, _ostream out)
7525  show(ExtendedGridIndex1D self)
7526  """
7527  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
7528 
7529 
7530  def __len__(self):
7531  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
7532  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
7533 
7534 
7535  def __hash__(self):
7536  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
7537  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
7538 
7539 
7540  def get_uniform_offset(self, ii):
7541  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
7542  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
7543 
7544 
7545  def get_offset(self, i, j, k):
7546  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
7547  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
7548 
7549 
7550  def __str__(self):
7551  """__str__(ExtendedGridIndex1D self) -> std::string"""
7552  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
7553 
7554 
7555  def __repr__(self):
7556  """__repr__(ExtendedGridIndex1D self) -> std::string"""
7557  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
7558 
7559  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
7560  __del__ = lambda self: None
7561 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
7562 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
7563 
7564 class ExtendedGridIndex2D(IMP._Value):
7565  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
7566  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7567 
7568  def __init__(self, *args):
7569  """
7570  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
7571  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
7572  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
7573  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
7574  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
7575  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
7576  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
7577  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
7578  """
7579  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
7580  try:
7581  self.this.append(this)
7582  except:
7583  self.this = this
7584 
7585  def get_dimension(self):
7586  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
7587  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
7588 
7589 
7590  def __cmp__(self, o):
7591  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
7592  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
7593 
7594 
7595  def __eq__(self, o):
7596  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7597  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
7598 
7599 
7600  def __ne__(self, o):
7601  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7602  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
7603 
7604 
7605  def __lt__(self, o):
7606  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7607  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
7608 
7609 
7610  def __gt__(self, o):
7611  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7612  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
7613 
7614 
7615  def __ge__(self, o):
7616  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7617  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
7618 
7619 
7620  def __le__(self, o):
7621  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7622  return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7623 
7624 
7625  def __setitem__(self, i, v):
7626  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7627  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7628 
7629 
7630  def __getitem__(self, i):
7631  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7632  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7633 
7634 
7635  def show(self, *args):
7636  """
7637  show(ExtendedGridIndex2D self, _ostream out)
7638  show(ExtendedGridIndex2D self)
7639  """
7640  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7641 
7642 
7643  def __len__(self):
7644  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7645  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7646 
7647 
7648  def __hash__(self):
7649  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7650  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7651 
7652 
7653  def get_uniform_offset(self, ii):
7654  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7655  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7656 
7657 
7658  def get_offset(self, i, j, k):
7659  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7660  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7661 
7662 
7663  def __str__(self):
7664  """__str__(ExtendedGridIndex2D self) -> std::string"""
7665  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7666 
7667 
7668  def __repr__(self):
7669  """__repr__(ExtendedGridIndex2D self) -> std::string"""
7670  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7671 
7672  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7673  __del__ = lambda self: None
7674 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7675 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7676 
7677 class ExtendedGridIndex3D(IMP._Value):
7678  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
7679  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7680 
7681  def __init__(self, *args):
7682  """
7683  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7684  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7685  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7686  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7687  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7688  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7689  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7690  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7691  """
7692  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7693  try:
7694  self.this.append(this)
7695  except:
7696  self.this = this
7697 
7698  def get_dimension(self):
7699  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7700  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7701 
7702 
7703  def __cmp__(self, o):
7704  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7705  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7706 
7707 
7708  def __eq__(self, o):
7709  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7710  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7711 
7712 
7713  def __ne__(self, o):
7714  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7715  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7716 
7717 
7718  def __lt__(self, o):
7719  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7720  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7721 
7722 
7723  def __gt__(self, o):
7724  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7725  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7726 
7727 
7728  def __ge__(self, o):
7729  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7730  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7731 
7732 
7733  def __le__(self, o):
7734  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7735  return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7736 
7737 
7738  def __setitem__(self, i, v):
7739  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7740  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7741 
7742 
7743  def __getitem__(self, i):
7744  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7745  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7746 
7747 
7748  def show(self, *args):
7749  """
7750  show(ExtendedGridIndex3D self, _ostream out)
7751  show(ExtendedGridIndex3D self)
7752  """
7753  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7754 
7755 
7756  def __len__(self):
7757  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7758  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7759 
7760 
7761  def __hash__(self):
7762  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7763  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7764 
7765 
7766  def get_uniform_offset(self, ii):
7767  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7768  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7769 
7770 
7771  def get_offset(self, i, j, k):
7772  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7773  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7774 
7775 
7776  def __str__(self):
7777  """__str__(ExtendedGridIndex3D self) -> std::string"""
7778  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7779 
7780 
7781  def __repr__(self):
7782  """__repr__(ExtendedGridIndex3D self) -> std::string"""
7783  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7784 
7785  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7786  __del__ = lambda self: None
7787 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7788 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7789 
7790 class ExtendedGridIndex4D(IMP._Value):
7791  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
7792  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7793 
7794  def __init__(self, *args):
7795  """
7796  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7797  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7798  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7799  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7800  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7801  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7802  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7803  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7804  """
7805  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7806  try:
7807  self.this.append(this)
7808  except:
7809  self.this = this
7810 
7811  def get_dimension(self):
7812  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7813  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7814 
7815 
7816  def __cmp__(self, o):
7817  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7818  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7819 
7820 
7821  def __eq__(self, o):
7822  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7823  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7824 
7825 
7826  def __ne__(self, o):
7827  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7828  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7829 
7830 
7831  def __lt__(self, o):
7832  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7833  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7834 
7835 
7836  def __gt__(self, o):
7837  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7838  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7839 
7840 
7841  def __ge__(self, o):
7842  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7843  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7844 
7845 
7846  def __le__(self, o):
7847  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7848  return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7849 
7850 
7851  def __setitem__(self, i, v):
7852  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7853  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7854 
7855 
7856  def __getitem__(self, i):
7857  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7858  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7859 
7860 
7861  def show(self, *args):
7862  """
7863  show(ExtendedGridIndex4D self, _ostream out)
7864  show(ExtendedGridIndex4D self)
7865  """
7866  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7867 
7868 
7869  def __len__(self):
7870  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7871  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7872 
7873 
7874  def __hash__(self):
7875  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7876  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7877 
7878 
7879  def get_uniform_offset(self, ii):
7880  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7881  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7882 
7883 
7884  def get_offset(self, i, j, k):
7885  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7886  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7887 
7888 
7889  def __str__(self):
7890  """__str__(ExtendedGridIndex4D self) -> std::string"""
7891  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7892 
7893 
7894  def __repr__(self):
7895  """__repr__(ExtendedGridIndex4D self) -> std::string"""
7896  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7897 
7898  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7899  __del__ = lambda self: None
7900 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7901 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7902 
7903 class ExtendedGridIndex5D(IMP._Value):
7904  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
7905  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7906 
7907  def __init__(self, *args):
7908  """
7909  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7910  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7911  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7912  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7913  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7914  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7915  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7916  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7917  """
7918  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7919  try:
7920  self.this.append(this)
7921  except:
7922  self.this = this
7923 
7924  def get_dimension(self):
7925  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7926  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7927 
7928 
7929  def __cmp__(self, o):
7930  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7931  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7932 
7933 
7934  def __eq__(self, o):
7935  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7936  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7937 
7938 
7939  def __ne__(self, o):
7940  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7941  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7942 
7943 
7944  def __lt__(self, o):
7945  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7946  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7947 
7948 
7949  def __gt__(self, o):
7950  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7951  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7952 
7953 
7954  def __ge__(self, o):
7955  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7956  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7957 
7958 
7959  def __le__(self, o):
7960  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7961  return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7962 
7963 
7964  def __setitem__(self, i, v):
7965  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7966  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7967 
7968 
7969  def __getitem__(self, i):
7970  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7971  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7972 
7973 
7974  def show(self, *args):
7975  """
7976  show(ExtendedGridIndex5D self, _ostream out)
7977  show(ExtendedGridIndex5D self)
7978  """
7979  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7980 
7981 
7982  def __len__(self):
7983  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7984  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7985 
7986 
7987  def __hash__(self):
7988  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7989  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7990 
7991 
7992  def get_uniform_offset(self, ii):
7993  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7994  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7995 
7996 
7997  def get_offset(self, i, j, k):
7998  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7999  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
8000 
8001 
8002  def __str__(self):
8003  """__str__(ExtendedGridIndex5D self) -> std::string"""
8004  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
8005 
8006 
8007  def __repr__(self):
8008  """__repr__(ExtendedGridIndex5D self) -> std::string"""
8009  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
8010 
8011  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
8012  __del__ = lambda self: None
8013 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
8014 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
8015 
8016 class ExtendedGridIndex6D(IMP._Value):
8017  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
8018  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8019 
8020  def __init__(self, *args):
8021  """
8022  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
8023  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
8024  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
8025  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
8026  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
8027  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
8028  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
8029  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
8030  """
8031  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
8032  try:
8033  self.this.append(this)
8034  except:
8035  self.this = this
8036 
8037  def get_dimension(self):
8038  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
8039  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
8040 
8041 
8042  def __cmp__(self, o):
8043  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
8044  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
8045 
8046 
8047  def __eq__(self, o):
8048  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8049  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
8050 
8051 
8052  def __ne__(self, o):
8053  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8054  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
8055 
8056 
8057  def __lt__(self, o):
8058  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8059  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
8060 
8061 
8062  def __gt__(self, o):
8063  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8064  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
8065 
8066 
8067  def __ge__(self, o):
8068  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8069  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
8070 
8071 
8072  def __le__(self, o):
8073  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8074  return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
8075 
8076 
8077  def __setitem__(self, i, v):
8078  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
8079  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
8080 
8081 
8082  def __getitem__(self, i):
8083  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
8084  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
8085 
8086 
8087  def show(self, *args):
8088  """
8089  show(ExtendedGridIndex6D self, _ostream out)
8090  show(ExtendedGridIndex6D self)
8091  """
8092  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
8093 
8094 
8095  def __len__(self):
8096  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
8097  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
8098 
8099 
8100  def __hash__(self):
8101  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
8102  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
8103 
8104 
8105  def get_uniform_offset(self, ii):
8106  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
8107  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
8108 
8109 
8110  def get_offset(self, i, j, k):
8111  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
8112  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
8113 
8114 
8115  def __str__(self):
8116  """__str__(ExtendedGridIndex6D self) -> std::string"""
8117  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
8118 
8119 
8120  def __repr__(self):
8121  """__repr__(ExtendedGridIndex6D self) -> std::string"""
8122  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
8123 
8124  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
8125  __del__ = lambda self: None
8126 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
8127 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
8128 
8129 class ExtendedGridIndexKD(IMP._Value):
8130  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
8131  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8132 
8133  def __init__(self, *args):
8134  """
8135  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
8136  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
8137  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
8138  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
8139  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
8140  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
8141  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
8142  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
8143  """
8144  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
8145  try:
8146  self.this.append(this)
8147  except:
8148  self.this = this
8149 
8150  def get_dimension(self):
8151  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
8152  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
8153 
8154 
8155  def __cmp__(self, o):
8156  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
8157  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
8158 
8159 
8160  def __eq__(self, o):
8161  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8162  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
8163 
8164 
8165  def __ne__(self, o):
8166  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8167  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
8168 
8169 
8170  def __lt__(self, o):
8171  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8172  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
8173 
8174 
8175  def __gt__(self, o):
8176  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8177  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
8178 
8179 
8180  def __ge__(self, o):
8181  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8182  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
8183 
8184 
8185  def __le__(self, o):
8186  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8187  return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
8188 
8189 
8190  def __setitem__(self, i, v):
8191  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
8192  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
8193 
8194 
8195  def __getitem__(self, i):
8196  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
8197  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
8198 
8199 
8200  def show(self, *args):
8201  """
8202  show(ExtendedGridIndexKD self, _ostream out)
8203  show(ExtendedGridIndexKD self)
8204  """
8205  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
8206 
8207 
8208  def __len__(self):
8209  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
8210  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
8211 
8212 
8213  def __hash__(self):
8214  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
8215  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
8216 
8217 
8218  def get_uniform_offset(self, ii):
8219  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
8220  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
8221 
8222 
8223  def get_offset(self, i, j, k):
8224  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
8225  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
8226 
8227 
8228  def __str__(self):
8229  """__str__(ExtendedGridIndexKD self) -> std::string"""
8230  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
8231 
8232 
8233  def __repr__(self):
8234  """__repr__(ExtendedGridIndexKD self) -> std::string"""
8235  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
8236 
8237  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
8238  __del__ = lambda self: None
8239 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
8240 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
8241 
8242 class BoundedGridRange1D(object):
8243  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
8244  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8245 
8246  def get_is_bounded():
8247  """get_is_bounded() -> bool"""
8248  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8249 
8250  get_is_bounded = staticmethod(get_is_bounded)
8251 
8252  def __init__(self, *args):
8253  """
8254  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
8255  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
8256  """
8257  this = _IMP_algebra.new_BoundedGridRange1D(*args)
8258  try:
8259  self.this.append(this)
8260  except:
8261  self.this = this
8262 
8263  def get_number_of_voxels(self, *args):
8264  """
8265  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
8266  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
8267  """
8268  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
8269 
8270 
8271  def get_end_index(self):
8272  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8273  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
8274 
8275 
8276  def show(self, *args):
8277  """
8278  show(BoundedGridRange1D self, _ostream out)
8279  show(BoundedGridRange1D self)
8280  """
8281  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
8282 
8283 
8284  def get_all_indexes(self):
8285  """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8286  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
8287 
8288 
8289  def get_indexes(self, lb, ub):
8290  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8291  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
8292 
8293 
8294  def get_extended_indexes(self, lb, ub):
8295  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8296  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
8297 
8298 
8299  def get_index(self, v):
8300  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
8301  return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
8302 
8303 
8304  def get_has_index(self, v):
8305  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
8306  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
8307 
8308 
8309  def get_minimum_extended_index(self):
8310  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8311  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
8312 
8313 
8314  def get_maximum_extended_index(self):
8315  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8316  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
8317 
8318 
8319  def __str__(self):
8320  """__str__(BoundedGridRange1D self) -> std::string"""
8321  return _IMP_algebra.BoundedGridRange1D___str__(self)
8322 
8323 
8324  def __repr__(self):
8325  """__repr__(BoundedGridRange1D self) -> std::string"""
8326  return _IMP_algebra.BoundedGridRange1D___repr__(self)
8327 
8328 
8329  def __cmp__(self, arg2):
8330  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
8331  return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
8332 
8333 
8334  def __eq__(self, arg2):
8335  """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
8336  return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
8337 
8338  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
8339  __del__ = lambda self: None
8340 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
8341 BoundedGridRange1D_swigregister(BoundedGridRange1D)
8342 
8343 def BoundedGridRange1D_get_is_bounded():
8344  """BoundedGridRange1D_get_is_bounded() -> bool"""
8345  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8346 
8347 class BoundedGridRange2D(object):
8348  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
8349  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8350 
8351  def get_is_bounded():
8352  """get_is_bounded() -> bool"""
8353  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8354 
8355  get_is_bounded = staticmethod(get_is_bounded)
8356 
8357  def __init__(self, *args):
8358  """
8359  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
8360  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
8361  """
8362  this = _IMP_algebra.new_BoundedGridRange2D(*args)
8363  try:
8364  self.this.append(this)
8365  except:
8366  self.this = this
8367 
8368  def get_number_of_voxels(self, *args):
8369  """
8370  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
8371  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
8372  """
8373  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
8374 
8375 
8376  def get_end_index(self):
8377  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8378  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
8379 
8380 
8381  def show(self, *args):
8382  """
8383  show(BoundedGridRange2D self, _ostream out)
8384  show(BoundedGridRange2D self)
8385  """
8386  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
8387 
8388 
8389  def get_all_indexes(self):
8390  """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8391  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
8392 
8393 
8394  def get_indexes(self, lb, ub):
8395  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8396  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
8397 
8398 
8399  def get_extended_indexes(self, lb, ub):
8400  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8401  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
8402 
8403 
8404  def get_index(self, v):
8405  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
8406  return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
8407 
8408 
8409  def get_has_index(self, v):
8410  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
8411  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
8412 
8413 
8414  def get_minimum_extended_index(self):
8415  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8416  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
8417 
8418 
8419  def get_maximum_extended_index(self):
8420  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8421  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
8422 
8423 
8424  def __str__(self):
8425  """__str__(BoundedGridRange2D self) -> std::string"""
8426  return _IMP_algebra.BoundedGridRange2D___str__(self)
8427 
8428 
8429  def __repr__(self):
8430  """__repr__(BoundedGridRange2D self) -> std::string"""
8431  return _IMP_algebra.BoundedGridRange2D___repr__(self)
8432 
8433 
8434  def __cmp__(self, arg2):
8435  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
8436  return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
8437 
8438 
8439  def __eq__(self, arg2):
8440  """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
8441  return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
8442 
8443  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
8444  __del__ = lambda self: None
8445 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
8446 BoundedGridRange2D_swigregister(BoundedGridRange2D)
8447 
8448 def BoundedGridRange2D_get_is_bounded():
8449  """BoundedGridRange2D_get_is_bounded() -> bool"""
8450  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8451 
8452 class BoundedGridRange3D(object):
8453  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
8454  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8455 
8456  def get_is_bounded():
8457  """get_is_bounded() -> bool"""
8458  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8459 
8460  get_is_bounded = staticmethod(get_is_bounded)
8461 
8462  def __init__(self, *args):
8463  """
8464  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
8465  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
8466  """
8467  this = _IMP_algebra.new_BoundedGridRange3D(*args)
8468  try:
8469  self.this.append(this)
8470  except:
8471  self.this = this
8472 
8473  def get_number_of_voxels(self, *args):
8474  """
8475  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
8476  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
8477  """
8478  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
8479 
8480 
8481  def get_end_index(self):
8482  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8483  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
8484 
8485 
8486  def show(self, *args):
8487  """
8488  show(BoundedGridRange3D self, _ostream out)
8489  show(BoundedGridRange3D self)
8490  """
8491  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
8492 
8493 
8494  def get_all_indexes(self):
8495  """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8496  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
8497 
8498 
8499  def get_indexes(self, lb, ub):
8500  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8501  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
8502 
8503 
8504  def get_extended_indexes(self, lb, ub):
8505  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8506  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
8507 
8508 
8509  def get_index(self, v):
8510  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
8511  return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
8512 
8513 
8514  def get_has_index(self, v):
8515  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
8516  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
8517 
8518 
8519  def get_minimum_extended_index(self):
8520  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8521  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
8522 
8523 
8524  def get_maximum_extended_index(self):
8525  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8526  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
8527 
8528 
8529  def __str__(self):
8530  """__str__(BoundedGridRange3D self) -> std::string"""
8531  return _IMP_algebra.BoundedGridRange3D___str__(self)
8532 
8533 
8534  def __repr__(self):
8535  """__repr__(BoundedGridRange3D self) -> std::string"""
8536  return _IMP_algebra.BoundedGridRange3D___repr__(self)
8537 
8538 
8539  def __cmp__(self, arg2):
8540  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
8541  return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
8542 
8543 
8544  def __eq__(self, arg2):
8545  """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
8546  return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
8547 
8548  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
8549  __del__ = lambda self: None
8550 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
8551 BoundedGridRange3D_swigregister(BoundedGridRange3D)
8552 
8553 def BoundedGridRange3D_get_is_bounded():
8554  """BoundedGridRange3D_get_is_bounded() -> bool"""
8555  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8556 
8557 class BoundedGridRange4D(object):
8558  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
8559  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8560 
8561  def get_is_bounded():
8562  """get_is_bounded() -> bool"""
8563  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8564 
8565  get_is_bounded = staticmethod(get_is_bounded)
8566 
8567  def __init__(self, *args):
8568  """
8569  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
8570  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
8571  """
8572  this = _IMP_algebra.new_BoundedGridRange4D(*args)
8573  try:
8574  self.this.append(this)
8575  except:
8576  self.this = this
8577 
8578  def get_number_of_voxels(self, *args):
8579  """
8580  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
8581  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
8582  """
8583  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
8584 
8585 
8586  def get_end_index(self):
8587  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8588  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
8589 
8590 
8591  def show(self, *args):
8592  """
8593  show(BoundedGridRange4D self, _ostream out)
8594  show(BoundedGridRange4D self)
8595  """
8596  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
8597 
8598 
8599  def get_all_indexes(self):
8600  """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8601  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
8602 
8603 
8604  def get_indexes(self, lb, ub):
8605  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8606  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
8607 
8608 
8609  def get_extended_indexes(self, lb, ub):
8610  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8611  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8612 
8613 
8614  def get_index(self, v):
8615  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8616  return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8617 
8618 
8619  def get_has_index(self, v):
8620  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8621  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8622 
8623 
8624  def get_minimum_extended_index(self):
8625  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8626  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8627 
8628 
8629  def get_maximum_extended_index(self):
8630  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8631  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8632 
8633 
8634  def __str__(self):
8635  """__str__(BoundedGridRange4D self) -> std::string"""
8636  return _IMP_algebra.BoundedGridRange4D___str__(self)
8637 
8638 
8639  def __repr__(self):
8640  """__repr__(BoundedGridRange4D self) -> std::string"""
8641  return _IMP_algebra.BoundedGridRange4D___repr__(self)
8642 
8643 
8644  def __cmp__(self, arg2):
8645  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8646  return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8647 
8648 
8649  def __eq__(self, arg2):
8650  """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8651  return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8652 
8653  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8654  __del__ = lambda self: None
8655 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8656 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8657 
8658 def BoundedGridRange4D_get_is_bounded():
8659  """BoundedGridRange4D_get_is_bounded() -> bool"""
8660  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8661 
8662 class BoundedGridRange5D(object):
8663  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
8664  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8665 
8666  def get_is_bounded():
8667  """get_is_bounded() -> bool"""
8668  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8669 
8670  get_is_bounded = staticmethod(get_is_bounded)
8671 
8672  def __init__(self, *args):
8673  """
8674  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8675  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8676  """
8677  this = _IMP_algebra.new_BoundedGridRange5D(*args)
8678  try:
8679  self.this.append(this)
8680  except:
8681  self.this = this
8682 
8683  def get_number_of_voxels(self, *args):
8684  """
8685  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8686  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8687  """
8688  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8689 
8690 
8691  def get_end_index(self):
8692  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8693  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8694 
8695 
8696  def show(self, *args):
8697  """
8698  show(BoundedGridRange5D self, _ostream out)
8699  show(BoundedGridRange5D self)
8700  """
8701  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8702 
8703 
8704  def get_all_indexes(self):
8705  """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8706  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8707 
8708 
8709  def get_indexes(self, lb, ub):
8710  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8711  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8712 
8713 
8714  def get_extended_indexes(self, lb, ub):
8715  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8716  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8717 
8718 
8719  def get_index(self, v):
8720  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8721  return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8722 
8723 
8724  def get_has_index(self, v):
8725  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8726  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8727 
8728 
8729  def get_minimum_extended_index(self):
8730  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8731  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8732 
8733 
8734  def get_maximum_extended_index(self):
8735  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8736  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8737 
8738 
8739  def __str__(self):
8740  """__str__(BoundedGridRange5D self) -> std::string"""
8741  return _IMP_algebra.BoundedGridRange5D___str__(self)
8742 
8743 
8744  def __repr__(self):
8745  """__repr__(BoundedGridRange5D self) -> std::string"""
8746  return _IMP_algebra.BoundedGridRange5D___repr__(self)
8747 
8748 
8749  def __cmp__(self, arg2):
8750  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8751  return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8752 
8753 
8754  def __eq__(self, arg2):
8755  """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8756  return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8757 
8758  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8759  __del__ = lambda self: None
8760 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8761 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8762 
8763 def BoundedGridRange5D_get_is_bounded():
8764  """BoundedGridRange5D_get_is_bounded() -> bool"""
8765  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8766 
8767 class BoundedGridRange6D(object):
8768  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
8769  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8770 
8771  def get_is_bounded():
8772  """get_is_bounded() -> bool"""
8773  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8774 
8775  get_is_bounded = staticmethod(get_is_bounded)
8776 
8777  def __init__(self, *args):
8778  """
8779  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8780  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8781  """
8782  this = _IMP_algebra.new_BoundedGridRange6D(*args)
8783  try:
8784  self.this.append(this)
8785  except:
8786  self.this = this
8787 
8788  def get_number_of_voxels(self, *args):
8789  """
8790  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8791  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8792  """
8793  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8794 
8795 
8796  def get_end_index(self):
8797  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8798  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8799 
8800 
8801  def show(self, *args):
8802  """
8803  show(BoundedGridRange6D self, _ostream out)
8804  show(BoundedGridRange6D self)
8805  """
8806  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8807 
8808 
8809  def get_all_indexes(self):
8810  """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8811  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8812 
8813 
8814  def get_indexes(self, lb, ub):
8815  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8816  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8817 
8818 
8819  def get_extended_indexes(self, lb, ub):
8820  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8821  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8822 
8823 
8824  def get_index(self, v):
8825  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8826  return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8827 
8828 
8829  def get_has_index(self, v):
8830  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8831  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8832 
8833 
8834  def get_minimum_extended_index(self):
8835  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8836  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8837 
8838 
8839  def get_maximum_extended_index(self):
8840  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8841  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8842 
8843 
8844  def __str__(self):
8845  """__str__(BoundedGridRange6D self) -> std::string"""
8846  return _IMP_algebra.BoundedGridRange6D___str__(self)
8847 
8848 
8849  def __repr__(self):
8850  """__repr__(BoundedGridRange6D self) -> std::string"""
8851  return _IMP_algebra.BoundedGridRange6D___repr__(self)
8852 
8853 
8854  def __cmp__(self, arg2):
8855  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8856  return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8857 
8858 
8859  def __eq__(self, arg2):
8860  """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8861  return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8862 
8863  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8864  __del__ = lambda self: None
8865 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8866 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8867 
8868 def BoundedGridRange6D_get_is_bounded():
8869  """BoundedGridRange6D_get_is_bounded() -> bool"""
8870  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8871 
8872 class BoundedGridRangeKD(object):
8873  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
8874  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8875 
8876  def get_is_bounded():
8877  """get_is_bounded() -> bool"""
8878  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8879 
8880  get_is_bounded = staticmethod(get_is_bounded)
8881 
8882  def __init__(self, *args):
8883  """
8884  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8885  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8886  """
8887  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8888  try:
8889  self.this.append(this)
8890  except:
8891  self.this = this
8892 
8893  def get_number_of_voxels(self, *args):
8894  """
8895  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8896  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8897  """
8898  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8899 
8900 
8901  def get_end_index(self):
8902  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8903  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8904 
8905 
8906  def show(self, *args):
8907  """
8908  show(BoundedGridRangeKD self, _ostream out)
8909  show(BoundedGridRangeKD self)
8910  """
8911  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8912 
8913 
8914  def get_all_indexes(self):
8915  """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8916  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8917 
8918 
8919  def get_indexes(self, lb, ub):
8920  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8921  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8922 
8923 
8924  def get_extended_indexes(self, lb, ub):
8925  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8926  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8927 
8928 
8929  def get_index(self, v):
8930  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8931  return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8932 
8933 
8934  def get_has_index(self, v):
8935  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8936  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8937 
8938 
8939  def get_minimum_extended_index(self):
8940  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8941  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8942 
8943 
8944  def get_maximum_extended_index(self):
8945  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8946  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8947 
8948 
8949  def __str__(self):
8950  """__str__(BoundedGridRangeKD self) -> std::string"""
8951  return _IMP_algebra.BoundedGridRangeKD___str__(self)
8952 
8953 
8954  def __repr__(self):
8955  """__repr__(BoundedGridRangeKD self) -> std::string"""
8956  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8957 
8958 
8959  def __cmp__(self, arg2):
8960  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8961  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8962 
8963 
8964  def __eq__(self, arg2):
8965  """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8966  return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8967 
8968  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8969  __del__ = lambda self: None
8970 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8971 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8972 
8973 def BoundedGridRangeKD_get_is_bounded():
8974  """BoundedGridRangeKD_get_is_bounded() -> bool"""
8975  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8976 
8977 class UnboundedGridRange1D(object):
8978  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
8979  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8980 
8981  def __init__(self, *args):
8982  """
8983  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8984  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8985  """
8986  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8987  try:
8988  self.this.append(this)
8989  except:
8990  self.this = this
8991 
8992  def set_number_of_voxels(self, arg2):
8993  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8994  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8995 
8996 
8997  def get_number_of_voxels(self, arg2):
8998  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8999  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
9000 
9001 
9002  def get_is_bounded():
9003  """get_is_bounded() -> bool"""
9004  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9005 
9006  get_is_bounded = staticmethod(get_is_bounded)
9007 
9008  def get_has_index(self, arg2):
9009  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
9010  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
9011 
9012 
9013  def show(self, *args):
9014  """
9015  show(UnboundedGridRange1D self, _ostream out)
9016  show(UnboundedGridRange1D self)
9017  """
9018  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
9019 
9020 
9021  def get_extended_indexes(self, lb, ub):
9022  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9023  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
9024 
9025 
9026  def __str__(self):
9027  """__str__(UnboundedGridRange1D self) -> std::string"""
9028  return _IMP_algebra.UnboundedGridRange1D___str__(self)
9029 
9030 
9031  def __repr__(self):
9032  """__repr__(UnboundedGridRange1D self) -> std::string"""
9033  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
9034 
9035 
9036  def __cmp__(self, arg2):
9037  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
9038  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
9039 
9040 
9041  def __eq__(self, arg2):
9042  """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
9043  return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
9044 
9045  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
9046  __del__ = lambda self: None
9047 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
9048 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
9049 
9050 def UnboundedGridRange1D_get_is_bounded():
9051  """UnboundedGridRange1D_get_is_bounded() -> bool"""
9052  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9053 
9054 class UnboundedGridRange2D(object):
9055  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
9056  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9057 
9058  def __init__(self, *args):
9059  """
9060  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
9061  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
9062  """
9063  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
9064  try:
9065  self.this.append(this)
9066  except:
9067  self.this = this
9068 
9069  def set_number_of_voxels(self, arg2):
9070  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
9071  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
9072 
9073 
9074  def get_number_of_voxels(self, arg2):
9075  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
9076  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
9077 
9078 
9079  def get_is_bounded():
9080  """get_is_bounded() -> bool"""
9081  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9082 
9083  get_is_bounded = staticmethod(get_is_bounded)
9084 
9085  def get_has_index(self, arg2):
9086  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
9087  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
9088 
9089 
9090  def show(self, *args):
9091  """
9092  show(UnboundedGridRange2D self, _ostream out)
9093  show(UnboundedGridRange2D self)
9094  """
9095  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
9096 
9097 
9098  def get_extended_indexes(self, lb, ub):
9099  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
9100  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
9101 
9102 
9103  def __str__(self):
9104  """__str__(UnboundedGridRange2D self) -> std::string"""
9105  return _IMP_algebra.UnboundedGridRange2D___str__(self)
9106 
9107 
9108  def __repr__(self):
9109  """__repr__(UnboundedGridRange2D self) -> std::string"""
9110  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
9111 
9112 
9113  def __cmp__(self, arg2):
9114  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
9115  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
9116 
9117 
9118  def __eq__(self, arg2):
9119  """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
9120  return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
9121 
9122  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
9123  __del__ = lambda self: None
9124 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
9125 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
9126 
9127 def UnboundedGridRange2D_get_is_bounded():
9128  """UnboundedGridRange2D_get_is_bounded() -> bool"""
9129  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9130 
9131 class UnboundedGridRange3D(object):
9132  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
9133  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9134 
9135  def __init__(self, *args):
9136  """
9137  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
9138  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
9139  """
9140  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
9141  try:
9142  self.this.append(this)
9143  except:
9144  self.this = this
9145 
9146  def set_number_of_voxels(self, arg2):
9147  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
9148  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
9149 
9150 
9151  def get_number_of_voxels(self, arg2):
9152  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
9153  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
9154 
9155 
9156  def get_is_bounded():
9157  """get_is_bounded() -> bool"""
9158  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9159 
9160  get_is_bounded = staticmethod(get_is_bounded)
9161 
9162  def get_has_index(self, arg2):
9163  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
9164  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
9165 
9166 
9167  def show(self, *args):
9168  """
9169  show(UnboundedGridRange3D self, _ostream out)
9170  show(UnboundedGridRange3D self)
9171  """
9172  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
9173 
9174 
9175  def get_extended_indexes(self, lb, ub):
9176  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
9177  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
9178 
9179 
9180  def __str__(self):
9181  """__str__(UnboundedGridRange3D self) -> std::string"""
9182  return _IMP_algebra.UnboundedGridRange3D___str__(self)
9183 
9184 
9185  def __repr__(self):
9186  """__repr__(UnboundedGridRange3D self) -> std::string"""
9187  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
9188 
9189 
9190  def __cmp__(self, arg2):
9191  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
9192  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
9193 
9194 
9195  def __eq__(self, arg2):
9196  """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
9197  return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
9198 
9199  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
9200  __del__ = lambda self: None
9201 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
9202 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
9203 
9204 def UnboundedGridRange3D_get_is_bounded():
9205  """UnboundedGridRange3D_get_is_bounded() -> bool"""
9206  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9207 
9208 class UnboundedGridRange4D(object):
9209  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
9210  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9211 
9212  def __init__(self, *args):
9213  """
9214  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
9215  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
9216  """
9217  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
9218  try:
9219  self.this.append(this)
9220  except:
9221  self.this = this
9222 
9223  def set_number_of_voxels(self, arg2):
9224  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
9225  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
9226 
9227 
9228  def get_number_of_voxels(self, arg2):
9229  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
9230  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
9231 
9232 
9233  def get_is_bounded():
9234  """get_is_bounded() -> bool"""
9235  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9236 
9237  get_is_bounded = staticmethod(get_is_bounded)
9238 
9239  def get_has_index(self, arg2):
9240  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
9241  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
9242 
9243 
9244  def show(self, *args):
9245  """
9246  show(UnboundedGridRange4D self, _ostream out)
9247  show(UnboundedGridRange4D self)
9248  """
9249  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
9250 
9251 
9252  def get_extended_indexes(self, lb, ub):
9253  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
9254  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
9255 
9256 
9257  def __str__(self):
9258  """__str__(UnboundedGridRange4D self) -> std::string"""
9259  return _IMP_algebra.UnboundedGridRange4D___str__(self)
9260 
9261 
9262  def __repr__(self):
9263  """__repr__(UnboundedGridRange4D self) -> std::string"""
9264  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
9265 
9266 
9267  def __cmp__(self, arg2):
9268  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
9269  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
9270 
9271 
9272  def __eq__(self, arg2):
9273  """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
9274  return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
9275 
9276  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
9277  __del__ = lambda self: None
9278 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
9279 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
9280 
9281 def UnboundedGridRange4D_get_is_bounded():
9282  """UnboundedGridRange4D_get_is_bounded() -> bool"""
9283  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9284 
9285 class UnboundedGridRange5D(object):
9286  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
9287  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9288 
9289  def __init__(self, *args):
9290  """
9291  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
9292  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
9293  """
9294  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
9295  try:
9296  self.this.append(this)
9297  except:
9298  self.this = this
9299 
9300  def set_number_of_voxels(self, arg2):
9301  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
9302  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
9303 
9304 
9305  def get_number_of_voxels(self, arg2):
9306  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
9307  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
9308 
9309 
9310  def get_is_bounded():
9311  """get_is_bounded() -> bool"""
9312  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9313 
9314  get_is_bounded = staticmethod(get_is_bounded)
9315 
9316  def get_has_index(self, arg2):
9317  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
9318  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
9319 
9320 
9321  def show(self, *args):
9322  """
9323  show(UnboundedGridRange5D self, _ostream out)
9324  show(UnboundedGridRange5D self)
9325  """
9326  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
9327 
9328 
9329  def get_extended_indexes(self, lb, ub):
9330  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
9331  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
9332 
9333 
9334  def __str__(self):
9335  """__str__(UnboundedGridRange5D self) -> std::string"""
9336  return _IMP_algebra.UnboundedGridRange5D___str__(self)
9337 
9338 
9339  def __repr__(self):
9340  """__repr__(UnboundedGridRange5D self) -> std::string"""
9341  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
9342 
9343 
9344  def __cmp__(self, arg2):
9345  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
9346  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
9347 
9348 
9349  def __eq__(self, arg2):
9350  """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
9351  return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
9352 
9353  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
9354  __del__ = lambda self: None
9355 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
9356 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
9357 
9358 def UnboundedGridRange5D_get_is_bounded():
9359  """UnboundedGridRange5D_get_is_bounded() -> bool"""
9360  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9361 
9362 class UnboundedGridRange6D(object):
9363  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
9364  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9365 
9366  def __init__(self, *args):
9367  """
9368  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
9369  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
9370  """
9371  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
9372  try:
9373  self.this.append(this)
9374  except:
9375  self.this = this
9376 
9377  def set_number_of_voxels(self, arg2):
9378  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
9379  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
9380 
9381 
9382  def get_number_of_voxels(self, arg2):
9383  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
9384  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
9385 
9386 
9387  def get_is_bounded():
9388  """get_is_bounded() -> bool"""
9389  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9390 
9391  get_is_bounded = staticmethod(get_is_bounded)
9392 
9393  def get_has_index(self, arg2):
9394  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
9395  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
9396 
9397 
9398  def show(self, *args):
9399  """
9400  show(UnboundedGridRange6D self, _ostream out)
9401  show(UnboundedGridRange6D self)
9402  """
9403  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
9404 
9405 
9406  def get_extended_indexes(self, lb, ub):
9407  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
9408  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
9409 
9410 
9411  def __str__(self):
9412  """__str__(UnboundedGridRange6D self) -> std::string"""
9413  return _IMP_algebra.UnboundedGridRange6D___str__(self)
9414 
9415 
9416  def __repr__(self):
9417  """__repr__(UnboundedGridRange6D self) -> std::string"""
9418  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
9419 
9420 
9421  def __cmp__(self, arg2):
9422  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
9423  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
9424 
9425 
9426  def __eq__(self, arg2):
9427  """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
9428  return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
9429 
9430  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
9431  __del__ = lambda self: None
9432 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
9433 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
9434 
9435 def UnboundedGridRange6D_get_is_bounded():
9436  """UnboundedGridRange6D_get_is_bounded() -> bool"""
9437  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9438 
9439 class UnboundedGridRangeKD(object):
9440  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
9441  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9442 
9443  def __init__(self, *args):
9444  """
9445  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
9446  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
9447  """
9448  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
9449  try:
9450  self.this.append(this)
9451  except:
9452  self.this = this
9453 
9454  def set_number_of_voxels(self, arg2):
9455  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
9456  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
9457 
9458 
9459  def get_number_of_voxels(self, arg2):
9460  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
9461  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
9462 
9463 
9464  def get_is_bounded():
9465  """get_is_bounded() -> bool"""
9466  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9467 
9468  get_is_bounded = staticmethod(get_is_bounded)
9469 
9470  def get_has_index(self, arg2):
9471  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
9472  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
9473 
9474 
9475  def show(self, *args):
9476  """
9477  show(UnboundedGridRangeKD self, _ostream out)
9478  show(UnboundedGridRangeKD self)
9479  """
9480  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
9481 
9482 
9483  def get_extended_indexes(self, lb, ub):
9484  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
9485  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
9486 
9487 
9488  def __str__(self):
9489  """__str__(UnboundedGridRangeKD self) -> std::string"""
9490  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
9491 
9492 
9493  def __repr__(self):
9494  """__repr__(UnboundedGridRangeKD self) -> std::string"""
9495  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
9496 
9497 
9498  def __cmp__(self, arg2):
9499  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
9500  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
9501 
9502 
9503  def __eq__(self, arg2):
9504  """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
9505  return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
9506 
9507  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
9508  __del__ = lambda self: None
9509 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
9510 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
9511 
9512 def UnboundedGridRangeKD_get_is_bounded():
9513  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
9514  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9515 
9516 class DefaultEmbedding1D(object):
9517  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
9518  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9519 
9520  def __init__(self, *args):
9521  """
9522  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
9523  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
9524  """
9525  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
9526  try:
9527  self.this.append(this)
9528  except:
9529  self.this = this
9530 
9531  def set_origin(self, o):
9532  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
9533  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
9534 
9535 
9536  def get_origin(self):
9537  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
9538  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
9539 
9540 
9541  def get_dimension(self):
9542  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
9543  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
9544 
9545 
9546  def set_unit_cell(self, o):
9547  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
9548  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
9549 
9550 
9551  def get_inverse_unit_cell(self):
9552  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9553  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
9554 
9555 
9556  def get_unit_cell(self):
9557  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9558  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
9559 
9560 
9561  def get_extended_index(self, o):
9562  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9563  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
9564 
9565 
9566  def get_index(self, o):
9567  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
9568  return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
9569 
9570 
9571  def get_center(self, *args):
9572  """
9573  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9574  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
9575  """
9576  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
9577 
9578 
9579  def get_bounding_box(self, *args):
9580  """
9581  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9582  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9583  """
9584  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
9585 
9586 
9587  def show(self, *args):
9588  """
9589  show(DefaultEmbedding1D self, _ostream out)
9590  show(DefaultEmbedding1D self)
9591  """
9592  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
9593 
9594 
9595  def __str__(self):
9596  """__str__(DefaultEmbedding1D self) -> std::string"""
9597  return _IMP_algebra.DefaultEmbedding1D___str__(self)
9598 
9599 
9600  def __repr__(self):
9601  """__repr__(DefaultEmbedding1D self) -> std::string"""
9602  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9603 
9604 
9605  def __cmp__(self, arg2):
9606  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9607  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9608 
9609 
9610  def __eq__(self, arg2):
9611  """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9612  return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9613 
9614  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9615  __del__ = lambda self: None
9616 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9617 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9618 
9619 class DefaultEmbedding2D(object):
9620  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
9621  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9622 
9623  def __init__(self, *args):
9624  """
9625  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9626  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9627  """
9628  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9629  try:
9630  self.this.append(this)
9631  except:
9632  self.this = this
9633 
9634  def set_origin(self, o):
9635  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9636  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9637 
9638 
9639  def get_origin(self):
9640  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9641  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9642 
9643 
9644  def get_dimension(self):
9645  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9646  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9647 
9648 
9649  def set_unit_cell(self, o):
9650  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9651  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9652 
9653 
9654  def get_inverse_unit_cell(self):
9655  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9656  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9657 
9658 
9659  def get_unit_cell(self):
9660  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9661  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9662 
9663 
9664  def get_extended_index(self, o):
9665  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9666  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9667 
9668 
9669  def get_index(self, o):
9670  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9671  return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9672 
9673 
9674  def get_center(self, *args):
9675  """
9676  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9677  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9678  """
9679  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9680 
9681 
9682  def get_bounding_box(self, *args):
9683  """
9684  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9685  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9686  """
9687  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9688 
9689 
9690  def show(self, *args):
9691  """
9692  show(DefaultEmbedding2D self, _ostream out)
9693  show(DefaultEmbedding2D self)
9694  """
9695  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9696 
9697 
9698  def __str__(self):
9699  """__str__(DefaultEmbedding2D self) -> std::string"""
9700  return _IMP_algebra.DefaultEmbedding2D___str__(self)
9701 
9702 
9703  def __repr__(self):
9704  """__repr__(DefaultEmbedding2D self) -> std::string"""
9705  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9706 
9707 
9708  def __cmp__(self, arg2):
9709  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9710  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9711 
9712 
9713  def __eq__(self, arg2):
9714  """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9715  return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9716 
9717  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9718  __del__ = lambda self: None
9719 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9720 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9721 
9722 class DefaultEmbedding3D(object):
9723  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
9724  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9725 
9726  def __init__(self, *args):
9727  """
9728  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9729  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9730  """
9731  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9732  try:
9733  self.this.append(this)
9734  except:
9735  self.this = this
9736 
9737  def set_origin(self, o):
9738  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9739  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9740 
9741 
9742  def get_origin(self):
9743  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9744  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9745 
9746 
9747  def get_dimension(self):
9748  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9749  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9750 
9751 
9752  def set_unit_cell(self, o):
9753  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9754  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9755 
9756 
9757  def get_inverse_unit_cell(self):
9758  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9759  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9760 
9761 
9762  def get_unit_cell(self):
9763  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9764  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9765 
9766 
9767  def get_extended_index(self, o):
9768  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9769  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9770 
9771 
9772  def get_index(self, o):
9773  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9774  return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9775 
9776 
9777  def get_center(self, *args):
9778  """
9779  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9780  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9781  """
9782  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9783 
9784 
9785  def get_bounding_box(self, *args):
9786  """
9787  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9788  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9789  """
9790  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9791 
9792 
9793  def show(self, *args):
9794  """
9795  show(DefaultEmbedding3D self, _ostream out)
9796  show(DefaultEmbedding3D self)
9797  """
9798  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9799 
9800 
9801  def __str__(self):
9802  """__str__(DefaultEmbedding3D self) -> std::string"""
9803  return _IMP_algebra.DefaultEmbedding3D___str__(self)
9804 
9805 
9806  def __repr__(self):
9807  """__repr__(DefaultEmbedding3D self) -> std::string"""
9808  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9809 
9810 
9811  def __cmp__(self, arg2):
9812  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9813  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9814 
9815 
9816  def __eq__(self, arg2):
9817  """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9818  return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9819 
9820  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9821  __del__ = lambda self: None
9822 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9823 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9824 
9825 class DefaultEmbedding4D(object):
9826  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
9827  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9828 
9829  def __init__(self, *args):
9830  """
9831  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9832  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9833  """
9834  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9835  try:
9836  self.this.append(this)
9837  except:
9838  self.this = this
9839 
9840  def set_origin(self, o):
9841  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9842  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9843 
9844 
9845  def get_origin(self):
9846  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9847  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9848 
9849 
9850  def get_dimension(self):
9851  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9852  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9853 
9854 
9855  def set_unit_cell(self, o):
9856  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9857  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9858 
9859 
9860  def get_inverse_unit_cell(self):
9861  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9862  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9863 
9864 
9865  def get_unit_cell(self):
9866  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9867  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9868 
9869 
9870  def get_extended_index(self, o):
9871  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9872  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9873 
9874 
9875  def get_index(self, o):
9876  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9877  return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9878 
9879 
9880  def get_center(self, *args):
9881  """
9882  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9883  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9884  """
9885  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9886 
9887 
9888  def get_bounding_box(self, *args):
9889  """
9890  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9891  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9892  """
9893  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9894 
9895 
9896  def show(self, *args):
9897  """
9898  show(DefaultEmbedding4D self, _ostream out)
9899  show(DefaultEmbedding4D self)
9900  """
9901  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9902 
9903 
9904  def __str__(self):
9905  """__str__(DefaultEmbedding4D self) -> std::string"""
9906  return _IMP_algebra.DefaultEmbedding4D___str__(self)
9907 
9908 
9909  def __repr__(self):
9910  """__repr__(DefaultEmbedding4D self) -> std::string"""
9911  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9912 
9913 
9914  def __cmp__(self, arg2):
9915  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9916  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9917 
9918 
9919  def __eq__(self, arg2):
9920  """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9921  return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9922 
9923  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9924  __del__ = lambda self: None
9925 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9926 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9927 
9928 class DefaultEmbedding5D(object):
9929  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
9930  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9931 
9932  def __init__(self, *args):
9933  """
9934  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9935  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9936  """
9937  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9938  try:
9939  self.this.append(this)
9940  except:
9941  self.this = this
9942 
9943  def set_origin(self, o):
9944  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9945  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9946 
9947 
9948  def get_origin(self):
9949  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9950  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9951 
9952 
9953  def get_dimension(self):
9954  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9955  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9956 
9957 
9958  def set_unit_cell(self, o):
9959  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9960  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9961 
9962 
9963  def get_inverse_unit_cell(self):
9964  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9965  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9966 
9967 
9968  def get_unit_cell(self):
9969  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9970  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9971 
9972 
9973  def get_extended_index(self, o):
9974  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9975  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9976 
9977 
9978  def get_index(self, o):
9979  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9980  return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9981 
9982 
9983  def get_center(self, *args):
9984  """
9985  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9986  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9987  """
9988  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9989 
9990 
9991  def get_bounding_box(self, *args):
9992  """
9993  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9994  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9995  """
9996  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9997 
9998 
9999  def show(self, *args):
10000  """
10001  show(DefaultEmbedding5D self, _ostream out)
10002  show(DefaultEmbedding5D self)
10003  """
10004  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
10005 
10006 
10007  def __str__(self):
10008  """__str__(DefaultEmbedding5D self) -> std::string"""
10009  return _IMP_algebra.DefaultEmbedding5D___str__(self)
10010 
10011 
10012  def __repr__(self):
10013  """__repr__(DefaultEmbedding5D self) -> std::string"""
10014  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
10015 
10016 
10017  def __cmp__(self, arg2):
10018  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
10019  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
10020 
10021 
10022  def __eq__(self, arg2):
10023  """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
10024  return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
10025 
10026  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
10027  __del__ = lambda self: None
10028 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
10029 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
10030 
10031 class DefaultEmbedding6D(object):
10032  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
10033  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10034 
10035  def __init__(self, *args):
10036  """
10037  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
10038  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
10039  """
10040  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
10041  try:
10042  self.this.append(this)
10043  except:
10044  self.this = this
10045 
10046  def set_origin(self, o):
10047  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
10048  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
10049 
10050 
10051  def get_origin(self):
10052  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
10053  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
10054 
10055 
10056  def get_dimension(self):
10057  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
10058  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
10059 
10060 
10061  def set_unit_cell(self, o):
10062  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
10063  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
10064 
10065 
10066  def get_inverse_unit_cell(self):
10067  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10068  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
10069 
10070 
10071  def get_unit_cell(self):
10072  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10073  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
10074 
10075 
10076  def get_extended_index(self, o):
10077  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10078  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
10079 
10080 
10081  def get_index(self, o):
10082  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
10083  return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
10084 
10085 
10086  def get_center(self, *args):
10087  """
10088  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10089  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
10090  """
10091  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
10092 
10093 
10094  def get_bounding_box(self, *args):
10095  """
10096  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10097  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10098  """
10099  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
10100 
10101 
10102  def show(self, *args):
10103  """
10104  show(DefaultEmbedding6D self, _ostream out)
10105  show(DefaultEmbedding6D self)
10106  """
10107  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
10108 
10109 
10110  def __str__(self):
10111  """__str__(DefaultEmbedding6D self) -> std::string"""
10112  return _IMP_algebra.DefaultEmbedding6D___str__(self)
10113 
10114 
10115  def __repr__(self):
10116  """__repr__(DefaultEmbedding6D self) -> std::string"""
10117  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
10118 
10119 
10120  def __cmp__(self, arg2):
10121  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
10122  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
10123 
10124 
10125  def __eq__(self, arg2):
10126  """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
10127  return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
10128 
10129  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
10130  __del__ = lambda self: None
10131 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
10132 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
10133 
10134 class DefaultEmbeddingKD(object):
10135  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
10136  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10137 
10138  def __init__(self, *args):
10139  """
10140  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
10141  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
10142  """
10143  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
10144  try:
10145  self.this.append(this)
10146  except:
10147  self.this = this
10148 
10149  def set_origin(self, o):
10150  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
10151  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
10152 
10153 
10154  def get_origin(self):
10155  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
10156  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
10157 
10158 
10159  def get_dimension(self):
10160  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
10161  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
10162 
10163 
10164  def set_unit_cell(self, o):
10165  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
10166  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
10167 
10168 
10169  def get_inverse_unit_cell(self):
10170  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10171  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
10172 
10173 
10174  def get_unit_cell(self):
10175  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10176  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
10177 
10178 
10179  def get_extended_index(self, o):
10180  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
10181  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
10182 
10183 
10184  def get_index(self, o):
10185  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
10186  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
10187 
10188 
10189  def get_center(self, *args):
10190  """
10191  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
10192  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
10193  """
10194  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
10195 
10196 
10197  def get_bounding_box(self, *args):
10198  """
10199  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
10200  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
10201  """
10202  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
10203 
10204 
10205  def show(self, *args):
10206  """
10207  show(DefaultEmbeddingKD self, _ostream out)
10208  show(DefaultEmbeddingKD self)
10209  """
10210  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
10211 
10212 
10213  def __str__(self):
10214  """__str__(DefaultEmbeddingKD self) -> std::string"""
10215  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
10216 
10217 
10218  def __repr__(self):
10219  """__repr__(DefaultEmbeddingKD self) -> std::string"""
10220  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
10221 
10222 
10223  def __cmp__(self, arg2):
10224  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
10225  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
10226 
10227 
10228  def __eq__(self, arg2):
10229  """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
10230  return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
10231 
10232  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
10233  __del__ = lambda self: None
10234 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
10235 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
10236 
10237 class LogEmbedding1D(object):
10238  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
10239  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10240 
10241  def __init__(self, *args):
10242  """
10243  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
10244  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
10245  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
10246  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
10247  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
10248  """
10249  this = _IMP_algebra.new_LogEmbedding1D(*args)
10250  try:
10251  self.this.append(this)
10252  except:
10253  self.this = this
10254 
10255  def set_origin(self, o):
10256  """set_origin(LogEmbedding1D self, Vector1D o)"""
10257  return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
10258 
10259 
10260  def get_origin(self):
10261  """get_origin(LogEmbedding1D self) -> Vector1D"""
10262  return _IMP_algebra.LogEmbedding1D_get_origin(self)
10263 
10264 
10265  def get_dimension(self):
10266  """get_dimension(LogEmbedding1D self) -> unsigned int"""
10267  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
10268 
10269 
10270  def set_unit_cell(self, *args):
10271  """
10272  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
10273  set_unit_cell(LogEmbedding1D self, Vector1D o)
10274  """
10275  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
10276 
10277 
10278  def get_unit_cell(self):
10279  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
10280  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
10281 
10282 
10283  def get_extended_index(self, o):
10284  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
10285  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
10286 
10287 
10288  def get_index(self, o):
10289  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
10290  return _IMP_algebra.LogEmbedding1D_get_index(self, o)
10291 
10292 
10293  def get_center(self, *args):
10294  """
10295  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
10296  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
10297  """
10298  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
10299 
10300 
10301  def get_bounding_box(self, *args):
10302  """
10303  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
10304  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
10305  """
10306  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
10307 
10308 
10309  def show(self, *args):
10310  """
10311  show(LogEmbedding1D self, _ostream out)
10312  show(LogEmbedding1D self)
10313  """
10314  return _IMP_algebra.LogEmbedding1D_show(self, *args)
10315 
10316 
10317  def __str__(self):
10318  """__str__(LogEmbedding1D self) -> std::string"""
10319  return _IMP_algebra.LogEmbedding1D___str__(self)
10320 
10321 
10322  def __repr__(self):
10323  """__repr__(LogEmbedding1D self) -> std::string"""
10324  return _IMP_algebra.LogEmbedding1D___repr__(self)
10325 
10326 
10327  def __cmp__(self, arg2):
10328  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
10329  return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
10330 
10331 
10332  def __eq__(self, arg2):
10333  """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
10334  return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
10335 
10336  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
10337  __del__ = lambda self: None
10338 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
10339 LogEmbedding1D_swigregister(LogEmbedding1D)
10340 
10341 class LogEmbedding2D(object):
10342  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
10343  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10344 
10345  def __init__(self, *args):
10346  """
10347  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
10348  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
10349  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
10350  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
10351  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
10352  """
10353  this = _IMP_algebra.new_LogEmbedding2D(*args)
10354  try:
10355  self.this.append(this)
10356  except:
10357  self.this = this
10358 
10359  def set_origin(self, o):
10360  """set_origin(LogEmbedding2D self, Vector2D o)"""
10361  return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
10362 
10363 
10364  def get_origin(self):
10365  """get_origin(LogEmbedding2D self) -> Vector2D"""
10366  return _IMP_algebra.LogEmbedding2D_get_origin(self)
10367 
10368 
10369  def get_dimension(self):
10370  """get_dimension(LogEmbedding2D self) -> unsigned int"""
10371  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
10372 
10373 
10374  def set_unit_cell(self, *args):
10375  """
10376  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
10377  set_unit_cell(LogEmbedding2D self, Vector2D o)
10378  """
10379  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
10380 
10381 
10382  def get_unit_cell(self):
10383  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
10384  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
10385 
10386 
10387  def get_extended_index(self, o):
10388  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
10389  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
10390 
10391 
10392  def get_index(self, o):
10393  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
10394  return _IMP_algebra.LogEmbedding2D_get_index(self, o)
10395 
10396 
10397  def get_center(self, *args):
10398  """
10399  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
10400  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
10401  """
10402  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
10403 
10404 
10405  def get_bounding_box(self, *args):
10406  """
10407  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
10408  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
10409  """
10410  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
10411 
10412 
10413  def show(self, *args):
10414  """
10415  show(LogEmbedding2D self, _ostream out)
10416  show(LogEmbedding2D self)
10417  """
10418  return _IMP_algebra.LogEmbedding2D_show(self, *args)
10419 
10420 
10421  def __str__(self):
10422  """__str__(LogEmbedding2D self) -> std::string"""
10423  return _IMP_algebra.LogEmbedding2D___str__(self)
10424 
10425 
10426  def __repr__(self):
10427  """__repr__(LogEmbedding2D self) -> std::string"""
10428  return _IMP_algebra.LogEmbedding2D___repr__(self)
10429 
10430 
10431  def __cmp__(self, arg2):
10432  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
10433  return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
10434 
10435 
10436  def __eq__(self, arg2):
10437  """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
10438  return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
10439 
10440  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
10441  __del__ = lambda self: None
10442 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
10443 LogEmbedding2D_swigregister(LogEmbedding2D)
10444 
10445 class LogEmbedding4D(object):
10446  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
10447  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10448 
10449  def __init__(self, *args):
10450  """
10451  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
10452  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
10453  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
10454  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
10455  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
10456  """
10457  this = _IMP_algebra.new_LogEmbedding4D(*args)
10458  try:
10459  self.this.append(this)
10460  except:
10461  self.this = this
10462 
10463  def set_origin(self, o):
10464  """set_origin(LogEmbedding4D self, Vector4D o)"""
10465  return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
10466 
10467 
10468  def get_origin(self):
10469  """get_origin(LogEmbedding4D self) -> Vector4D"""
10470  return _IMP_algebra.LogEmbedding4D_get_origin(self)
10471 
10472 
10473  def get_dimension(self):
10474  """get_dimension(LogEmbedding4D self) -> unsigned int"""
10475  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
10476 
10477 
10478  def set_unit_cell(self, *args):
10479  """
10480  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
10481  set_unit_cell(LogEmbedding4D self, Vector4D o)
10482  """
10483  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
10484 
10485 
10486  def get_unit_cell(self):
10487  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
10488  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
10489 
10490 
10491  def get_extended_index(self, o):
10492  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
10493  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
10494 
10495 
10496  def get_index(self, o):
10497  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
10498  return _IMP_algebra.LogEmbedding4D_get_index(self, o)
10499 
10500 
10501  def get_center(self, *args):
10502  """
10503  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
10504  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
10505  """
10506  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
10507 
10508 
10509  def get_bounding_box(self, *args):
10510  """
10511  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
10512  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
10513  """
10514  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
10515 
10516 
10517  def show(self, *args):
10518  """
10519  show(LogEmbedding4D self, _ostream out)
10520  show(LogEmbedding4D self)
10521  """
10522  return _IMP_algebra.LogEmbedding4D_show(self, *args)
10523 
10524 
10525  def __str__(self):
10526  """__str__(LogEmbedding4D self) -> std::string"""
10527  return _IMP_algebra.LogEmbedding4D___str__(self)
10528 
10529 
10530  def __repr__(self):
10531  """__repr__(LogEmbedding4D self) -> std::string"""
10532  return _IMP_algebra.LogEmbedding4D___repr__(self)
10533 
10534 
10535  def __cmp__(self, arg2):
10536  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
10537  return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
10538 
10539 
10540  def __eq__(self, arg2):
10541  """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
10542  return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
10543 
10544  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
10545  __del__ = lambda self: None
10546 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
10547 LogEmbedding4D_swigregister(LogEmbedding4D)
10548 
10549 class LogEmbedding5D(object):
10550  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
10551  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10552 
10553  def __init__(self, *args):
10554  """
10555  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
10556  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
10557  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
10558  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
10559  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
10560  """
10561  this = _IMP_algebra.new_LogEmbedding5D(*args)
10562  try:
10563  self.this.append(this)
10564  except:
10565  self.this = this
10566 
10567  def set_origin(self, o):
10568  """set_origin(LogEmbedding5D self, Vector5D o)"""
10569  return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
10570 
10571 
10572  def get_origin(self):
10573  """get_origin(LogEmbedding5D self) -> Vector5D"""
10574  return _IMP_algebra.LogEmbedding5D_get_origin(self)
10575 
10576 
10577  def get_dimension(self):
10578  """get_dimension(LogEmbedding5D self) -> unsigned int"""
10579  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
10580 
10581 
10582  def set_unit_cell(self, *args):
10583  """
10584  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
10585  set_unit_cell(LogEmbedding5D self, Vector5D o)
10586  """
10587  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
10588 
10589 
10590  def get_unit_cell(self):
10591  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
10592  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10593 
10594 
10595  def get_extended_index(self, o):
10596  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10597  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10598 
10599 
10600  def get_index(self, o):
10601  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10602  return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10603 
10604 
10605  def get_center(self, *args):
10606  """
10607  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10608  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10609  """
10610  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10611 
10612 
10613  def get_bounding_box(self, *args):
10614  """
10615  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10616  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10617  """
10618  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10619 
10620 
10621  def show(self, *args):
10622  """
10623  show(LogEmbedding5D self, _ostream out)
10624  show(LogEmbedding5D self)
10625  """
10626  return _IMP_algebra.LogEmbedding5D_show(self, *args)
10627 
10628 
10629  def __str__(self):
10630  """__str__(LogEmbedding5D self) -> std::string"""
10631  return _IMP_algebra.LogEmbedding5D___str__(self)
10632 
10633 
10634  def __repr__(self):
10635  """__repr__(LogEmbedding5D self) -> std::string"""
10636  return _IMP_algebra.LogEmbedding5D___repr__(self)
10637 
10638 
10639  def __cmp__(self, arg2):
10640  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10641  return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10642 
10643 
10644  def __eq__(self, arg2):
10645  """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10646  return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10647 
10648  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10649  __del__ = lambda self: None
10650 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10651 LogEmbedding5D_swigregister(LogEmbedding5D)
10652 
10653 class LogEmbedding6D(object):
10654  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
10655  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10656 
10657  def __init__(self, *args):
10658  """
10659  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10660  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10661  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10662  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10663  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10664  """
10665  this = _IMP_algebra.new_LogEmbedding6D(*args)
10666  try:
10667  self.this.append(this)
10668  except:
10669  self.this = this
10670 
10671  def set_origin(self, o):
10672  """set_origin(LogEmbedding6D self, Vector6D o)"""
10673  return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10674 
10675 
10676  def get_origin(self):
10677  """get_origin(LogEmbedding6D self) -> Vector6D"""
10678  return _IMP_algebra.LogEmbedding6D_get_origin(self)
10679 
10680 
10681  def get_dimension(self):
10682  """get_dimension(LogEmbedding6D self) -> unsigned int"""
10683  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10684 
10685 
10686  def set_unit_cell(self, *args):
10687  """
10688  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10689  set_unit_cell(LogEmbedding6D self, Vector6D o)
10690  """
10691  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10692 
10693 
10694  def get_unit_cell(self):
10695  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10696  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10697 
10698 
10699  def get_extended_index(self, o):
10700  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10701  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10702 
10703 
10704  def get_index(self, o):
10705  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10706  return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10707 
10708 
10709  def get_center(self, *args):
10710  """
10711  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10712  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10713  """
10714  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10715 
10716 
10717  def get_bounding_box(self, *args):
10718  """
10719  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10720  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10721  """
10722  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10723 
10724 
10725  def show(self, *args):
10726  """
10727  show(LogEmbedding6D self, _ostream out)
10728  show(LogEmbedding6D self)
10729  """
10730  return _IMP_algebra.LogEmbedding6D_show(self, *args)
10731 
10732 
10733  def __str__(self):
10734  """__str__(LogEmbedding6D self) -> std::string"""
10735  return _IMP_algebra.LogEmbedding6D___str__(self)
10736 
10737 
10738  def __repr__(self):
10739  """__repr__(LogEmbedding6D self) -> std::string"""
10740  return _IMP_algebra.LogEmbedding6D___repr__(self)
10741 
10742 
10743  def __cmp__(self, arg2):
10744  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10745  return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10746 
10747 
10748  def __eq__(self, arg2):
10749  """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10750  return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10751 
10752  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10753  __del__ = lambda self: None
10754 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10755 LogEmbedding6D_swigregister(LogEmbedding6D)
10756 
10757 class SpherePatch3D(_GeometricPrimitive3D):
10758  """Proxy of C++ IMP::algebra::SpherePatch3D class"""
10759  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10760 
10761  def __init__(self, *args):
10762  """
10763  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10764  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10765  """
10766  this = _IMP_algebra.new_SpherePatch3D(*args)
10767  try:
10768  self.this.append(this)
10769  except:
10770  self.this = this
10771 
10772  def get_contains(self, p):
10773  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10774  return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10775 
10776 
10777  def get_plane(self):
10778  """get_plane(SpherePatch3D self) -> Plane3D"""
10779  return _IMP_algebra.SpherePatch3D_get_plane(self)
10780 
10781 
10782  def get_sphere(self):
10783  """get_sphere(SpherePatch3D self) -> Sphere3D"""
10784  return _IMP_algebra.SpherePatch3D_get_sphere(self)
10785 
10786 
10787  def show(self, *args):
10788  """
10789  show(SpherePatch3D self, _ostream out)
10790  show(SpherePatch3D self)
10791  """
10792  return _IMP_algebra.SpherePatch3D_show(self, *args)
10793 
10794 
10795  def get_boundary_point(self):
10796  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10797  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10798 
10799 
10800  def __str__(self):
10801  """__str__(SpherePatch3D self) -> std::string"""
10802  return _IMP_algebra.SpherePatch3D___str__(self)
10803 
10804 
10805  def __repr__(self):
10806  """__repr__(SpherePatch3D self) -> std::string"""
10807  return _IMP_algebra.SpherePatch3D___repr__(self)
10808 
10809  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10810  __del__ = lambda self: None
10811 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10812 SpherePatch3D_swigregister(SpherePatch3D)
10813 
10814 
10815 def get_area(*args):
10816  """
10817  get_area(Plane3D g) -> double
10818  get_area(SpherePatch3D g) -> double
10819  """
10820  return _IMP_algebra.get_area(*args)
10821 
10822 def get_sphere_patch_3d_geometry(g):
10823  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10824  return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10825 class Cone3D(_GeometricPrimitive3D):
10826  """Proxy of C++ IMP::algebra::Cone3D class"""
10827  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10828 
10829  def __init__(self, *args):
10830  """
10831  __init__(IMP::algebra::Cone3D self) -> Cone3D
10832  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10833  """
10834  this = _IMP_algebra.new_Cone3D(*args)
10835  try:
10836  self.this.append(this)
10837  except:
10838  self.this = this
10839 
10840  def get_tip(self):
10841  """get_tip(Cone3D self) -> Vector3D"""
10842  return _IMP_algebra.Cone3D_get_tip(self)
10843 
10844 
10845  def get_direction(self):
10846  """get_direction(Cone3D self) -> Vector3D"""
10847  return _IMP_algebra.Cone3D_get_direction(self)
10848 
10849 
10850  def get_height(self):
10851  """get_height(Cone3D self) -> double"""
10852  return _IMP_algebra.Cone3D_get_height(self)
10853 
10854 
10855  def get_angle(self):
10856  """get_angle(Cone3D self) -> double"""
10857  return _IMP_algebra.Cone3D_get_angle(self)
10858 
10859 
10860  def get_radius(self):
10861  """get_radius(Cone3D self) -> double"""
10862  return _IMP_algebra.Cone3D_get_radius(self)
10863 
10864 
10865  def get_contains(self, v):
10866  """get_contains(Cone3D self, Vector3D v) -> bool"""
10867  return _IMP_algebra.Cone3D_get_contains(self, v)
10868 
10869 
10870  def get_base_plane(self):
10871  """get_base_plane(Cone3D self) -> Plane3D"""
10872  return _IMP_algebra.Cone3D_get_base_plane(self)
10873 
10874 
10875  def show(self, *args):
10876  """
10877  show(Cone3D self, _ostream out)
10878  show(Cone3D self)
10879  """
10880  return _IMP_algebra.Cone3D_show(self, *args)
10881 
10882 
10883  def __str__(self):
10884  """__str__(Cone3D self) -> std::string"""
10885  return _IMP_algebra.Cone3D___str__(self)
10886 
10887 
10888  def __repr__(self):
10889  """__repr__(Cone3D self) -> std::string"""
10890  return _IMP_algebra.Cone3D___repr__(self)
10891 
10892  __swig_destroy__ = _IMP_algebra.delete_Cone3D
10893  __del__ = lambda self: None
10894 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10895 Cone3D_swigregister(Cone3D)
10896 
10897 
10898 def get_surface_area(*args):
10899  """
10900  get_surface_area(BoundingBox3D g) -> double
10901  get_surface_area(Sphere3D g) -> double
10902  get_surface_area(Cylinder3D g) -> double
10903  get_surface_area(Ellipsoid3D g) -> double
10904  get_surface_area(Cone3D g) -> double
10905  """
10906  return _IMP_algebra.get_surface_area(*args)
10907 
10908 def get_volume(*args):
10909  """
10910  get_volume(BoundingBox3D g) -> double
10911  get_volume(Sphere3D g) -> double
10912  get_volume(Cylinder3D g) -> double
10913  get_volume(Ellipsoid3D g) -> double
10914  get_volume(Cone3D g) -> double
10915  """
10916  return _IMP_algebra.get_volume(*args)
10917 
10918 def get_cone_3d_geometry(g):
10919  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10920  return _IMP_algebra.get_cone_3d_geometry(g)
10921 
10922 def write_pts(vs, out):
10923  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10924  return _IMP_algebra.write_pts(vs, out)
10925 
10926 def read_pts(input):
10927  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10928  return _IMP_algebra.read_pts(input)
10929 
10930 def write_spheres(vs, out):
10931  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10932  return _IMP_algebra.write_spheres(vs, out)
10933 
10934 def read_spheres(input):
10935  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10936  return _IMP_algebra.read_spheres(input)
10937 
10939  """get_random_vector_on_unit_sphere() -> Vector3D"""
10940  return _IMP_algebra.get_random_vector_on_unit_sphere()
10941 
10942 def get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle):
10943  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10944  return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10945 
10946 def get_random_chain(*args):
10947  """
10948  get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10949  get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10950  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10951  """
10952  return _IMP_algebra.get_random_chain(*args)
10953 
10954 def reversed_read(dest, size, nitems, f, reverse):
10955  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10956  return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10957 
10958 def reversed_write(src, size, nitems, f, reverse=False):
10959  """
10960  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10961  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10962  """
10963  return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10964 
10965 def get_is_big_endian():
10966  """get_is_big_endian() -> bool"""
10967  return _IMP_algebra.get_is_big_endian()
10968 
10969 def get_is_little_endian():
10970  """get_is_little_endian() -> bool"""
10971  return _IMP_algebra.get_is_little_endian()
10972 
10973 def get_shortest_segment(*args):
10974  """
10975  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10976  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10977  """
10978  return _IMP_algebra.get_shortest_segment(*args)
10979 class DynamicNearestNeighbor3D(IMP.Object):
10980  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
10981  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10982 
10983  def __init__(self, vs, query_estimate=1):
10984  """
10985  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10986  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10987  """
10988  this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10989  try:
10990  self.this.append(this)
10991  except:
10992  self.this = this
10993 
10994  def get_in_ball(self, id, distance):
10995  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10996  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10997 
10998 
10999  def set_coordinates(self, id, nc):
11000  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
11001  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
11002 
11003 
11004  def get_version_info(self):
11005  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
11006  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
11007 
11008 
11009  def __str__(self):
11010  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
11011  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
11012 
11013 
11014  def __repr__(self):
11015  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
11016  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
11017 
11018 
11019  @staticmethod
11020  def get_from(o):
11021  return _object_cast_to_DynamicNearestNeighbor3D(o)
11022 
11023 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
11024 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
11025 
11026 class VectorKDMetric(IMP.Object):
11027  """Proxy of C++ IMP::algebra::VectorKDMetric class"""
11028  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11029 
11030  def __init__(self, name):
11031  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
11032  if self.__class__ == VectorKDMetric:
11033  _self = None
11034  else:
11035  _self = self
11036  this = _IMP_algebra.new_VectorKDMetric(_self, name)
11037  try:
11038  self.this.append(this)
11039  except:
11040  self.this = this
11041 
11042  if self.__class__ != VectorKDMetric:
11043  _director_objects.register(self)
11044 
11045 
11046 
11047 
11048  def get_distance(self, a, b):
11049  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
11050  return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
11051 
11052 
11053  def get_centroid(self, vs):
11054  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
11055  return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
11056 
11057 
11058  def __str__(self):
11059  """__str__(VectorKDMetric self) -> std::string"""
11060  return _IMP_algebra.VectorKDMetric___str__(self)
11061 
11062 
11063  def __repr__(self):
11064  """__repr__(VectorKDMetric self) -> std::string"""
11065  return _IMP_algebra.VectorKDMetric___repr__(self)
11066 
11067 
11068  @staticmethod
11069  def get_from(o):
11070  return _object_cast_to_VectorKDMetric(o)
11071 
11072 
11073  def get_type_name(self):
11074  return self.__class__.__name__
11075  def do_show(self, out):
11076  pass
11077  def get_version_info(self):
11078  if"IMP::algebra" == "IMP":
11079  return VersionInfo(self.__module__,
11080  __import__(self.__module__).get_module_version())
11081  else:
11082  return IMP.VersionInfo(self.__module__,
11083  __import__(self.__module__).get_module_version())
11084  @staticmethod
11085  def get_from(o):
11086  return _object_cast_to_VectorKDMetric(o)
11087 
11088  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
11089  __del__ = lambda self: None
11090  def __disown__(self):
11091  self.this.disown()
11092  _IMP_algebra.disown_VectorKDMetric(self)
11093  return weakref_proxy(self)
11094 
11095  def do_destroy(self):
11096  """do_destroy(VectorKDMetric self)"""
11097  return _IMP_algebra.VectorKDMetric_do_destroy(self)
11098 
11099 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
11100 VectorKDMetric_swigregister(VectorKDMetric)
11101 
11102 class EuclideanVectorKDMetric(VectorKDMetric):
11103  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
11104  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11105 
11106  def __init__(self, *args):
11107  """
11108  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
11109  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
11110  """
11111  this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
11112  try:
11113  self.this.append(this)
11114  except:
11115  self.this = this
11116 
11117  def get_version_info(self):
11118  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
11119  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
11120 
11121 
11122  def __str__(self):
11123  """__str__(EuclideanVectorKDMetric self) -> std::string"""
11124  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
11125 
11126 
11127  def __repr__(self):
11128  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
11129  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
11130 
11131 
11132  @staticmethod
11133  def get_from(o):
11134  return _object_cast_to_EuclideanVectorKDMetric(o)
11135 
11136 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
11137 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
11138 
11139 class MaxVectorKDMetric(VectorKDMetric):
11140  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
11141  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11142 
11143  def __init__(self, *args):
11144  """
11145  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
11146  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
11147  """
11148  this = _IMP_algebra.new_MaxVectorKDMetric(*args)
11149  try:
11150  self.this.append(this)
11151  except:
11152  self.this = this
11153 
11154  def get_version_info(self):
11155  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
11156  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
11157 
11158 
11159  def __str__(self):
11160  """__str__(MaxVectorKDMetric self) -> std::string"""
11161  return _IMP_algebra.MaxVectorKDMetric___str__(self)
11162 
11163 
11164  def __repr__(self):
11165  """__repr__(MaxVectorKDMetric self) -> std::string"""
11166  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
11167 
11168 
11169  @staticmethod
11170  def get_from(o):
11171  return _object_cast_to_MaxVectorKDMetric(o)
11172 
11173 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
11174 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
11175 
11176 class Gaussian3D(_GeometricPrimitive3D):
11177  """Proxy of C++ IMP::algebra::Gaussian3D class"""
11178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11179 
11180  def __init__(self, *args):
11181  """
11182  __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
11183  __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
11184  """
11185  this = _IMP_algebra.new_Gaussian3D(*args)
11186  try:
11187  self.this.append(this)
11188  except:
11189  self.this = this
11190 
11191  def get_reference_frame(self):
11192  """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
11193  return _IMP_algebra.Gaussian3D_get_reference_frame(self)
11194 
11195 
11196  def get_variances(self):
11197  """get_variances(Gaussian3D self) -> Vector3D"""
11198  return _IMP_algebra.Gaussian3D_get_variances(self)
11199 
11200 
11201  def get_center(self):
11202  """get_center(Gaussian3D self) -> Vector3D"""
11203  return _IMP_algebra.Gaussian3D_get_center(self)
11204 
11205 
11206  def show(self, *args):
11207  """
11208  show(Gaussian3D self, _ostream out)
11209  show(Gaussian3D self)
11210  """
11211  return _IMP_algebra.Gaussian3D_show(self, *args)
11212 
11213 
11214  def __str__(self):
11215  """__str__(Gaussian3D self) -> std::string"""
11216  return _IMP_algebra.Gaussian3D___str__(self)
11217 
11218 
11219  def __repr__(self):
11220  """__repr__(Gaussian3D self) -> std::string"""
11221  return _IMP_algebra.Gaussian3D___repr__(self)
11222 
11223  __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
11224  __del__ = lambda self: None
11225 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
11226 Gaussian3D_swigregister(Gaussian3D)
11227 
11228 
11229 def get_covariance(g):
11230  """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
11231  return _IMP_algebra.get_covariance(g)
11232 
11233 def get_gaussian_from_covariance(covariance, center):
11234  """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
11235  return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
11236 
11237 def get_rasterized(gmm, weights, cell_width, bb):
11238  """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
11239  return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
11240 
11241 def get_rasterized_fast(gmm, weights, cell_width, bb, factor=2.5):
11242  """
11243  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
11244  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
11245  """
11246  return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
11247 
11248 def _pass_matrix_xf(m):
11249  """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
11250  return _IMP_algebra._pass_matrix_xf(m)
11251 
11252 def _pass_matrix_xd(m):
11253  """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
11254  return _IMP_algebra._pass_matrix_xd(m)
11255 
11256 def _pass_matrix_3d(m):
11257  """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
11258  return _IMP_algebra._pass_matrix_3d(m)
11259 
11260 def _pass_array_xd(m):
11261  """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
11262  return _IMP_algebra._pass_array_xd(m)
11263 
11264 def _pass_vector_xd(m):
11265  """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
11266  return _IMP_algebra._pass_vector_xd(m)
11267 class NearestNeighbor1D(IMP.Object):
11268  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
11269  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11270 
11271  def __init__(self, *args):
11272  """
11273  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
11274  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
11275  """
11276  this = _IMP_algebra.new_NearestNeighbor1D(*args)
11277  try:
11278  self.this.append(this)
11279  except:
11280  self.this = this
11281 
11282  def set_query_log(self, fname):
11283  """set_query_log(NearestNeighbor1D self, std::string fname)"""
11284  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
11285 
11286 
11287  def get_nearest_neighbor(self, *args):
11288  """
11289  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
11290  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
11291  """
11292  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
11293 
11294 
11295  def get_nearest_neighbors(self, *args):
11296  """
11297  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
11298  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
11299  """
11300  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
11301 
11302 
11303  def get_in_ball(self, *args):
11304  """
11305  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
11306  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
11307  """
11308  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
11309 
11310 
11311  def get_version_info(self):
11312  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
11313  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
11314 
11315 
11316  def __str__(self):
11317  """__str__(NearestNeighbor1D self) -> std::string"""
11318  return _IMP_algebra.NearestNeighbor1D___str__(self)
11319 
11320 
11321  def __repr__(self):
11322  """__repr__(NearestNeighbor1D self) -> std::string"""
11323  return _IMP_algebra.NearestNeighbor1D___repr__(self)
11324 
11325 
11326  @staticmethod
11327  def get_from(o):
11328  return _object_cast_to_NearestNeighborD(o)
11329 
11330 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
11331 NearestNeighbor1D_swigregister(NearestNeighbor1D)
11332 
11333 class NearestNeighbor2D(IMP.Object):
11334  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
11335  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11336 
11337  def __init__(self, *args):
11338  """
11339  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
11340  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
11341  """
11342  this = _IMP_algebra.new_NearestNeighbor2D(*args)
11343  try:
11344  self.this.append(this)
11345  except:
11346  self.this = this
11347 
11348  def set_query_log(self, fname):
11349  """set_query_log(NearestNeighbor2D self, std::string fname)"""
11350  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
11351 
11352 
11353  def get_nearest_neighbor(self, *args):
11354  """
11355  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
11356  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
11357  """
11358  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
11359 
11360 
11361  def get_nearest_neighbors(self, *args):
11362  """
11363  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
11364  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
11365  """
11366  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
11367 
11368 
11369  def get_in_ball(self, *args):
11370  """
11371  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
11372  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
11373  """
11374  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
11375 
11376 
11377  def get_version_info(self):
11378  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
11379  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
11380 
11381 
11382  def __str__(self):
11383  """__str__(NearestNeighbor2D self) -> std::string"""
11384  return _IMP_algebra.NearestNeighbor2D___str__(self)
11385 
11386 
11387  def __repr__(self):
11388  """__repr__(NearestNeighbor2D self) -> std::string"""
11389  return _IMP_algebra.NearestNeighbor2D___repr__(self)
11390 
11391 
11392  @staticmethod
11393  def get_from(o):
11394  return _object_cast_to_NearestNeighborD(o)
11395 
11396 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
11397 NearestNeighbor2D_swigregister(NearestNeighbor2D)
11398 
11399 class NearestNeighbor3D(IMP.Object):
11400  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
11401  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11402 
11403  def __init__(self, *args):
11404  """
11405  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
11406  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
11407  """
11408  this = _IMP_algebra.new_NearestNeighbor3D(*args)
11409  try:
11410  self.this.append(this)
11411  except:
11412  self.this = this
11413 
11414  def set_query_log(self, fname):
11415  """set_query_log(NearestNeighbor3D self, std::string fname)"""
11416  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
11417 
11418 
11419  def get_nearest_neighbor(self, *args):
11420  """
11421  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
11422  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
11423  """
11424  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
11425 
11426 
11427  def get_nearest_neighbors(self, *args):
11428  """
11429  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
11430  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
11431  """
11432  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
11433 
11434 
11435  def get_in_ball(self, *args):
11436  """
11437  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
11438  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
11439  """
11440  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
11441 
11442 
11443  def get_version_info(self):
11444  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
11445  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
11446 
11447 
11448  def __str__(self):
11449  """__str__(NearestNeighbor3D self) -> std::string"""
11450  return _IMP_algebra.NearestNeighbor3D___str__(self)
11451 
11452 
11453  def __repr__(self):
11454  """__repr__(NearestNeighbor3D self) -> std::string"""
11455  return _IMP_algebra.NearestNeighbor3D___repr__(self)
11456 
11457 
11458  @staticmethod
11459  def get_from(o):
11460  return _object_cast_to_NearestNeighborD(o)
11461 
11462 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
11463 NearestNeighbor3D_swigregister(NearestNeighbor3D)
11464 
11465 class NearestNeighbor4D(IMP.Object):
11466  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
11467  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11468 
11469  def __init__(self, *args):
11470  """
11471  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
11472  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
11473  """
11474  this = _IMP_algebra.new_NearestNeighbor4D(*args)
11475  try:
11476  self.this.append(this)
11477  except:
11478  self.this = this
11479 
11480  def set_query_log(self, fname):
11481  """set_query_log(NearestNeighbor4D self, std::string fname)"""
11482  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
11483 
11484 
11485  def get_nearest_neighbor(self, *args):
11486  """
11487  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
11488  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
11489  """
11490  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
11491 
11492 
11493  def get_nearest_neighbors(self, *args):
11494  """
11495  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
11496  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
11497  """
11498  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
11499 
11500 
11501  def get_in_ball(self, *args):
11502  """
11503  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
11504  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
11505  """
11506  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
11507 
11508 
11509  def get_version_info(self):
11510  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
11511  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
11512 
11513 
11514  def __str__(self):
11515  """__str__(NearestNeighbor4D self) -> std::string"""
11516  return _IMP_algebra.NearestNeighbor4D___str__(self)
11517 
11518 
11519  def __repr__(self):
11520  """__repr__(NearestNeighbor4D self) -> std::string"""
11521  return _IMP_algebra.NearestNeighbor4D___repr__(self)
11522 
11523 
11524  @staticmethod
11525  def get_from(o):
11526  return _object_cast_to_NearestNeighborD(o)
11527 
11528 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
11529 NearestNeighbor4D_swigregister(NearestNeighbor4D)
11530 
11531 class NearestNeighbor5D(IMP.Object):
11532  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
11533  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11534 
11535  def __init__(self, *args):
11536  """
11537  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
11538  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
11539  """
11540  this = _IMP_algebra.new_NearestNeighbor5D(*args)
11541  try:
11542  self.this.append(this)
11543  except:
11544  self.this = this
11545 
11546  def set_query_log(self, fname):
11547  """set_query_log(NearestNeighbor5D self, std::string fname)"""
11548  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
11549 
11550 
11551  def get_nearest_neighbor(self, *args):
11552  """
11553  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
11554  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
11555  """
11556  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
11557 
11558 
11559  def get_nearest_neighbors(self, *args):
11560  """
11561  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
11562  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
11563  """
11564  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
11565 
11566 
11567  def get_in_ball(self, *args):
11568  """
11569  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
11570  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
11571  """
11572  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
11573 
11574 
11575  def get_version_info(self):
11576  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
11577  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11578 
11579 
11580  def __str__(self):
11581  """__str__(NearestNeighbor5D self) -> std::string"""
11582  return _IMP_algebra.NearestNeighbor5D___str__(self)
11583 
11584 
11585  def __repr__(self):
11586  """__repr__(NearestNeighbor5D self) -> std::string"""
11587  return _IMP_algebra.NearestNeighbor5D___repr__(self)
11588 
11589 
11590  @staticmethod
11591  def get_from(o):
11592  return _object_cast_to_NearestNeighborD(o)
11593 
11594 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11595 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11596 
11597 class NearestNeighbor6D(IMP.Object):
11598  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
11599  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11600 
11601  def __init__(self, *args):
11602  """
11603  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11604  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11605  """
11606  this = _IMP_algebra.new_NearestNeighbor6D(*args)
11607  try:
11608  self.this.append(this)
11609  except:
11610  self.this = this
11611 
11612  def set_query_log(self, fname):
11613  """set_query_log(NearestNeighbor6D self, std::string fname)"""
11614  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11615 
11616 
11617  def get_nearest_neighbor(self, *args):
11618  """
11619  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11620  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11621  """
11622  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11623 
11624 
11625  def get_nearest_neighbors(self, *args):
11626  """
11627  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11628  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11629  """
11630  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11631 
11632 
11633  def get_in_ball(self, *args):
11634  """
11635  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11636  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11637  """
11638  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11639 
11640 
11641  def get_version_info(self):
11642  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11643  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11644 
11645 
11646  def __str__(self):
11647  """__str__(NearestNeighbor6D self) -> std::string"""
11648  return _IMP_algebra.NearestNeighbor6D___str__(self)
11649 
11650 
11651  def __repr__(self):
11652  """__repr__(NearestNeighbor6D self) -> std::string"""
11653  return _IMP_algebra.NearestNeighbor6D___repr__(self)
11654 
11655 
11656  @staticmethod
11657  def get_from(o):
11658  return _object_cast_to_NearestNeighborD(o)
11659 
11660 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11661 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11662 
11663 class NearestNeighborKD(IMP.Object):
11664  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
11665  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11666 
11667  def __init__(self, *args):
11668  """
11669  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11670  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11671  """
11672  this = _IMP_algebra.new_NearestNeighborKD(*args)
11673  try:
11674  self.this.append(this)
11675  except:
11676  self.this = this
11677 
11678  def set_query_log(self, fname):
11679  """set_query_log(NearestNeighborKD self, std::string fname)"""
11680  return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11681 
11682 
11683  def get_nearest_neighbor(self, *args):
11684  """
11685  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11686  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11687  """
11688  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11689 
11690 
11691  def get_nearest_neighbors(self, *args):
11692  """
11693  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11694  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11695  """
11696  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11697 
11698 
11699  def get_in_ball(self, *args):
11700  """
11701  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11702  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11703  """
11704  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11705 
11706 
11707  def get_version_info(self):
11708  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11709  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11710 
11711 
11712  def __str__(self):
11713  """__str__(NearestNeighborKD self) -> std::string"""
11714  return _IMP_algebra.NearestNeighborKD___str__(self)
11715 
11716 
11717  def __repr__(self):
11718  """__repr__(NearestNeighborKD self) -> std::string"""
11719  return _IMP_algebra.NearestNeighborKD___repr__(self)
11720 
11721 
11722  @staticmethod
11723  def get_from(o):
11724  return _object_cast_to_NearestNeighborD(o)
11725 
11726 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11727 NearestNeighborKD_swigregister(NearestNeighborKD)
11728 
11729 
11730 def get_transformation_aligning_pair(set_from, set_to):
11731  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11732  return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11733 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11734  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
11735  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11736 
11737  def __init__(self, *args):
11738  """
11739  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11740  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11741  """
11742  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11743  try:
11744  self.this.append(this)
11745  except:
11746  self.this = this
11747 
11748  def get_principal_components(self):
11749  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11750  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11751 
11752 
11753  def get_principal_component(self, i):
11754  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11755  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11756 
11757 
11758  def get_principal_values(self):
11759  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11760  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11761 
11762 
11763  def get_principal_value(self, i):
11764  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11765  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11766 
11767 
11768  def get_centroid(self):
11769  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11770  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11771 
11772 
11773  def set_centroid(self, cntr):
11774  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11775  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11776 
11777 
11778  def show(self, *args):
11779  """
11780  show(PrincipalComponentAnalysis1D self, _ostream out)
11781  show(PrincipalComponentAnalysis1D self)
11782  """
11783  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11784 
11785 
11786  def __cmp__(self, o):
11787  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11788  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11789 
11790 
11791  def __eq__(self, o):
11792  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11793  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11794 
11795 
11796  def __ne__(self, o):
11797  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11798  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11799 
11800 
11801  def __lt__(self, o):
11802  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11803  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11804 
11805 
11806  def __gt__(self, o):
11807  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11808  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11809 
11810 
11811  def __ge__(self, o):
11812  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11813  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11814 
11815 
11816  def __le__(self, o):
11817  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11818  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11819 
11820 
11821  def __str__(self):
11822  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11823  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11824 
11825 
11826  def __repr__(self):
11827  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11828  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11829 
11830  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11831  __del__ = lambda self: None
11832 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11833 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11834 
11835 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11836  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
11837  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11838 
11839  def __init__(self, *args):
11840  """
11841  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11842  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11843  """
11844  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11845  try:
11846  self.this.append(this)
11847  except:
11848  self.this = this
11849 
11850  def get_principal_components(self):
11851  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11852  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11853 
11854 
11855  def get_principal_component(self, i):
11856  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11857  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11858 
11859 
11860  def get_principal_values(self):
11861  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11862  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11863 
11864 
11865  def get_principal_value(self, i):
11866  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11867  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11868 
11869 
11870  def get_centroid(self):
11871  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11872  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11873 
11874 
11875  def set_centroid(self, cntr):
11876  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11877  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11878 
11879 
11880  def show(self, *args):
11881  """
11882  show(PrincipalComponentAnalysis2D self, _ostream out)
11883  show(PrincipalComponentAnalysis2D self)
11884  """
11885  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11886 
11887 
11888  def __cmp__(self, o):
11889  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11890  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11891 
11892 
11893  def __eq__(self, o):
11894  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11895  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11896 
11897 
11898  def __ne__(self, o):
11899  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11900  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11901 
11902 
11903  def __lt__(self, o):
11904  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11905  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11906 
11907 
11908  def __gt__(self, o):
11909  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11910  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11911 
11912 
11913  def __ge__(self, o):
11914  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11915  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11916 
11917 
11918  def __le__(self, o):
11919  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11920  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11921 
11922 
11923  def __str__(self):
11924  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11925  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11926 
11927 
11928  def __repr__(self):
11929  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11930  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11931 
11932  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11933  __del__ = lambda self: None
11934 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11935 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11936 
11937 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11938  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
11939  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11940 
11941  def __init__(self, *args):
11942  """
11943  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11944  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11945  """
11946  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11947  try:
11948  self.this.append(this)
11949  except:
11950  self.this = this
11951 
11952  def get_principal_components(self):
11953  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11954  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11955 
11956 
11957  def get_principal_component(self, i):
11958  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11959  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11960 
11961 
11962  def get_principal_values(self):
11963  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11964  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11965 
11966 
11967  def get_principal_value(self, i):
11968  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11969  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11970 
11971 
11972  def get_centroid(self):
11973  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11974  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11975 
11976 
11977  def set_centroid(self, cntr):
11978  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11979  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11980 
11981 
11982  def show(self, *args):
11983  """
11984  show(PrincipalComponentAnalysis3D self, _ostream out)
11985  show(PrincipalComponentAnalysis3D self)
11986  """
11987  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11988 
11989 
11990  def __cmp__(self, o):
11991  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11992  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11993 
11994 
11995  def __eq__(self, o):
11996  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11997  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11998 
11999 
12000  def __ne__(self, o):
12001  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12002  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
12003 
12004 
12005  def __lt__(self, o):
12006  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12007  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
12008 
12009 
12010  def __gt__(self, o):
12011  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12012  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
12013 
12014 
12015  def __ge__(self, o):
12016  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12017  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
12018 
12019 
12020  def __le__(self, o):
12021  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12022  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
12023 
12024 
12025  def __str__(self):
12026  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
12027  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
12028 
12029 
12030  def __repr__(self):
12031  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
12032  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
12033 
12034  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
12035  __del__ = lambda self: None
12036 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
12037 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
12038 
12039 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
12040  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
12041  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12042 
12043  def __init__(self, *args):
12044  """
12045  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
12046  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
12047  """
12048  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
12049  try:
12050  self.this.append(this)
12051  except:
12052  self.this = this
12053 
12054  def get_principal_components(self):
12055  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
12056  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
12057 
12058 
12059  def get_principal_component(self, i):
12060  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
12061  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
12062 
12063 
12064  def get_principal_values(self):
12065  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
12066  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
12067 
12068 
12069  def get_principal_value(self, i):
12070  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
12071  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
12072 
12073 
12074  def get_centroid(self):
12075  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
12076  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
12077 
12078 
12079  def set_centroid(self, cntr):
12080  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
12081  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
12082 
12083 
12084  def show(self, *args):
12085  """
12086  show(PrincipalComponentAnalysis4D self, _ostream out)
12087  show(PrincipalComponentAnalysis4D self)
12088  """
12089  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
12090 
12091 
12092  def __cmp__(self, o):
12093  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
12094  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
12095 
12096 
12097  def __eq__(self, o):
12098  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12099  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
12100 
12101 
12102  def __ne__(self, o):
12103  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12104  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
12105 
12106 
12107  def __lt__(self, o):
12108  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12109  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
12110 
12111 
12112  def __gt__(self, o):
12113  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12114  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
12115 
12116 
12117  def __ge__(self, o):
12118  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12119  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
12120 
12121 
12122  def __le__(self, o):
12123  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12124  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
12125 
12126 
12127  def __str__(self):
12128  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
12129  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
12130 
12131 
12132  def __repr__(self):
12133  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
12134  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
12135 
12136  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
12137  __del__ = lambda self: None
12138 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
12139 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
12140 
12141 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
12142  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
12143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12144 
12145  def __init__(self, *args):
12146  """
12147  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
12148  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
12149  """
12150  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
12151  try:
12152  self.this.append(this)
12153  except:
12154  self.this = this
12155 
12156  def get_principal_components(self):
12157  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
12158  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
12159 
12160 
12161  def get_principal_component(self, i):
12162  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
12163  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
12164 
12165 
12166  def get_principal_values(self):
12167  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
12168  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
12169 
12170 
12171  def get_principal_value(self, i):
12172  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
12173  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
12174 
12175 
12176  def get_centroid(self):
12177  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
12178  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
12179 
12180 
12181  def set_centroid(self, cntr):
12182  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
12183  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
12184 
12185 
12186  def show(self, *args):
12187  """
12188  show(PrincipalComponentAnalysis5D self, _ostream out)
12189  show(PrincipalComponentAnalysis5D self)
12190  """
12191  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
12192 
12193 
12194  def __cmp__(self, o):
12195  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
12196  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
12197 
12198 
12199  def __eq__(self, o):
12200  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12201  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
12202 
12203 
12204  def __ne__(self, o):
12205  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12206  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
12207 
12208 
12209  def __lt__(self, o):
12210  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12211  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
12212 
12213 
12214  def __gt__(self, o):
12215  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12216  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
12217 
12218 
12219  def __ge__(self, o):
12220  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12221  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
12222 
12223 
12224  def __le__(self, o):
12225  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12226  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
12227 
12228 
12229  def __str__(self):
12230  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
12231  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
12232 
12233 
12234  def __repr__(self):
12235  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
12236  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
12237 
12238  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
12239  __del__ = lambda self: None
12240 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
12241 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
12242 
12243 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
12244  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
12245  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12246 
12247  def __init__(self, *args):
12248  """
12249  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
12250  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
12251  """
12252  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
12253  try:
12254  self.this.append(this)
12255  except:
12256  self.this = this
12257 
12258  def get_principal_components(self):
12259  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
12260  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
12261 
12262 
12263  def get_principal_component(self, i):
12264  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
12265  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
12266 
12267 
12268  def get_principal_values(self):
12269  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
12270  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
12271 
12272 
12273  def get_principal_value(self, i):
12274  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
12275  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
12276 
12277 
12278  def get_centroid(self):
12279  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
12280  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
12281 
12282 
12283  def set_centroid(self, cntr):
12284  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
12285  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
12286 
12287 
12288  def show(self, *args):
12289  """
12290  show(PrincipalComponentAnalysis6D self, _ostream out)
12291  show(PrincipalComponentAnalysis6D self)
12292  """
12293  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
12294 
12295 
12296  def __cmp__(self, o):
12297  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
12298  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
12299 
12300 
12301  def __eq__(self, o):
12302  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12303  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
12304 
12305 
12306  def __ne__(self, o):
12307  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12308  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
12309 
12310 
12311  def __lt__(self, o):
12312  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12313  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
12314 
12315 
12316  def __gt__(self, o):
12317  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12318  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
12319 
12320 
12321  def __ge__(self, o):
12322  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12323  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
12324 
12325 
12326  def __le__(self, o):
12327  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12328  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
12329 
12330 
12331  def __str__(self):
12332  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
12333  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
12334 
12335 
12336  def __repr__(self):
12337  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
12338  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
12339 
12340  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
12341  __del__ = lambda self: None
12342 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
12343 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
12344 
12345 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
12346  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
12347  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12348 
12349  def __init__(self, *args):
12350  """
12351  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
12352  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
12353  """
12354  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
12355  try:
12356  self.this.append(this)
12357  except:
12358  self.this = this
12359 
12360  def get_principal_components(self):
12361  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
12362  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
12363 
12364 
12365  def get_principal_component(self, i):
12366  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
12367  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
12368 
12369 
12370  def get_principal_values(self):
12371  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
12372  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
12373 
12374 
12375  def get_principal_value(self, i):
12376  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
12377  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
12378 
12379 
12380  def get_centroid(self):
12381  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
12382  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
12383 
12384 
12385  def set_centroid(self, cntr):
12386  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
12387  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
12388 
12389 
12390  def show(self, *args):
12391  """
12392  show(PrincipalComponentAnalysisKD self, _ostream out)
12393  show(PrincipalComponentAnalysisKD self)
12394  """
12395  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
12396 
12397 
12398  def __cmp__(self, o):
12399  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
12400  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
12401 
12402 
12403  def __eq__(self, o):
12404  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12405  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
12406 
12407 
12408  def __ne__(self, o):
12409  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12410  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
12411 
12412 
12413  def __lt__(self, o):
12414  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12415  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
12416 
12417 
12418  def __gt__(self, o):
12419  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12420  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
12421 
12422 
12423  def __ge__(self, o):
12424  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12425  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
12426 
12427 
12428  def __le__(self, o):
12429  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12430  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
12431 
12432 
12433  def __str__(self):
12434  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
12435  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
12436 
12437 
12438  def __repr__(self):
12439  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
12440  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
12441 
12442  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
12443  __del__ = lambda self: None
12444 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
12445 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
12446 
12447 
12448 def get_principal_components(*args):
12449  """
12450  get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
12451  get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
12452  get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
12453  get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
12454  get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
12455  get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
12456  get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
12457  """
12458  return _IMP_algebra.get_principal_components(*args)
12459 
12460 def get_distance(*args):
12461  """
12462  get_distance(Rotation3D r0, Rotation3D r1) -> double
12463  get_distance(Line3D s, Vector3D p) -> double
12464  get_distance(Line3D a, Line3D b) -> double
12465  get_distance(Segment3D s, Vector3D p) -> double
12466  get_distance(Segment3D a, Segment3D b) -> double
12467  get_distance(Plane3D pln, Vector3D p) -> double
12468  get_distance(Vector1D a, Vector1D b) -> double
12469  get_distance(Vector2D a, Vector2D b) -> double
12470  get_distance(Vector3D a, Vector3D b) -> double
12471  get_distance(Vector4D a, Vector4D b) -> double
12472  get_distance(Vector5D a, Vector5D b) -> double
12473  get_distance(Vector6D a, Vector6D b) -> double
12474  get_distance(VectorKD a, VectorKD b) -> double
12475  get_distance(Sphere1D a, Sphere1D b) -> double
12476  get_distance(Sphere2D a, Sphere2D b) -> double
12477  get_distance(Sphere3D a, Sphere3D b) -> double
12478  get_distance(Sphere4D a, Sphere4D b) -> double
12479  get_distance(Sphere5D a, Sphere5D b) -> double
12480  get_distance(Sphere6D a, Sphere6D b) -> double
12481  get_distance(SphereKD a, SphereKD b) -> double
12482  """
12483  return _IMP_algebra.get_distance(*args)
12484 
12485 def get_squared_distance(*args):
12486  """
12487  get_squared_distance(Vector1D a, Vector1D b) -> double
12488  get_squared_distance(Vector2D a, Vector2D b) -> double
12489  get_squared_distance(Vector3D a, Vector3D b) -> double
12490  get_squared_distance(Vector4D a, Vector4D b) -> double
12491  get_squared_distance(Vector5D a, Vector5D b) -> double
12492  get_squared_distance(Vector6D a, Vector6D b) -> double
12493  get_squared_distance(VectorKD a, VectorKD b) -> double
12494  """
12495  return _IMP_algebra.get_squared_distance(*args)
12496 
12497 def get_basis_vector_1d(coordinate):
12498  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
12499  return _IMP_algebra.get_basis_vector_1d(coordinate)
12500 
12501 def get_basis_vector_2d(coordinate):
12502  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
12503  return _IMP_algebra.get_basis_vector_2d(coordinate)
12504 
12505 def get_basis_vector_3d(coordinate):
12506  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
12507  return _IMP_algebra.get_basis_vector_3d(coordinate)
12508 
12509 def get_basis_vector_4d(coordinate):
12510  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
12511  return _IMP_algebra.get_basis_vector_4d(coordinate)
12512 
12513 def get_basis_vector_5d(coordinate):
12514  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
12515  return _IMP_algebra.get_basis_vector_5d(coordinate)
12516 
12517 def get_basis_vector_6d(coordinate):
12518  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
12519  return _IMP_algebra.get_basis_vector_6d(coordinate)
12520 
12521 def get_zero_vector_1d():
12522  """get_zero_vector_1d() -> Vector1D"""
12523  return _IMP_algebra.get_zero_vector_1d()
12524 
12525 def get_zero_vector_2d():
12526  """get_zero_vector_2d() -> Vector2D"""
12527  return _IMP_algebra.get_zero_vector_2d()
12528 
12529 def get_zero_vector_3d():
12530  """get_zero_vector_3d() -> Vector3D"""
12531  return _IMP_algebra.get_zero_vector_3d()
12532 
12533 def get_zero_vector_4d():
12534  """get_zero_vector_4d() -> Vector4D"""
12535  return _IMP_algebra.get_zero_vector_4d()
12536 
12537 def get_zero_vector_5d():
12538  """get_zero_vector_5d() -> Vector5D"""
12539  return _IMP_algebra.get_zero_vector_5d()
12540 
12541 def get_zero_vector_6d():
12542  """get_zero_vector_6d() -> Vector6D"""
12543  return _IMP_algebra.get_zero_vector_6d()
12544 
12545 def get_ones_vector_1d(v=1):
12546  """
12547  get_ones_vector_1d(double v=1) -> Vector1D
12548  get_ones_vector_1d() -> Vector1D
12549  """
12550  return _IMP_algebra.get_ones_vector_1d(v)
12551 
12552 def get_ones_vector_2d(v=1):
12553  """
12554  get_ones_vector_2d(double v=1) -> Vector2D
12555  get_ones_vector_2d() -> Vector2D
12556  """
12557  return _IMP_algebra.get_ones_vector_2d(v)
12558 
12559 def get_ones_vector_3d(v=1):
12560  """
12561  get_ones_vector_3d(double v=1) -> Vector3D
12562  get_ones_vector_3d() -> Vector3D
12563  """
12564  return _IMP_algebra.get_ones_vector_3d(v)
12565 
12566 def get_ones_vector_4d(v=1):
12567  """
12568  get_ones_vector_4d(double v=1) -> Vector4D
12569  get_ones_vector_4d() -> Vector4D
12570  """
12571  return _IMP_algebra.get_ones_vector_4d(v)
12572 
12573 def get_ones_vector_5d(v=1):
12574  """
12575  get_ones_vector_5d(double v=1) -> Vector5D
12576  get_ones_vector_5d() -> Vector5D
12577  """
12578  return _IMP_algebra.get_ones_vector_5d(v)
12579 
12580 def get_ones_vector_6d(v=1):
12581  """
12582  get_ones_vector_6d(double v=1) -> Vector6D
12583  get_ones_vector_6d() -> Vector6D
12584  """
12585  return _IMP_algebra.get_ones_vector_6d(v)
12586 
12587 def get_unit_bounding_box_1d():
12588  """get_unit_bounding_box_1d() -> BoundingBox1D"""
12589  return _IMP_algebra.get_unit_bounding_box_1d()
12590 
12591 def get_unit_bounding_box_2d():
12592  """get_unit_bounding_box_2d() -> BoundingBox2D"""
12593  return _IMP_algebra.get_unit_bounding_box_2d()
12594 
12595 def get_unit_bounding_box_3d():
12596  """get_unit_bounding_box_3d() -> BoundingBox3D"""
12597  return _IMP_algebra.get_unit_bounding_box_3d()
12598 
12599 def get_unit_bounding_box_4d():
12600  """get_unit_bounding_box_4d() -> BoundingBox4D"""
12601  return _IMP_algebra.get_unit_bounding_box_4d()
12602 
12603 def get_unit_bounding_box_5d():
12604  """get_unit_bounding_box_5d() -> BoundingBox5D"""
12605  return _IMP_algebra.get_unit_bounding_box_5d()
12606 
12607 def get_unit_bounding_box_6d():
12608  """get_unit_bounding_box_6d() -> BoundingBox6D"""
12609  return _IMP_algebra.get_unit_bounding_box_6d()
12610 
12611 def get_cube_1d(radius):
12612  """get_cube_1d(double radius) -> BoundingBox1D"""
12613  return _IMP_algebra.get_cube_1d(radius)
12614 
12615 def get_cube_2d(radius):
12616  """get_cube_2d(double radius) -> BoundingBox2D"""
12617  return _IMP_algebra.get_cube_2d(radius)
12618 
12619 def get_cube_3d(radius):
12620  """get_cube_3d(double radius) -> BoundingBox3D"""
12621  return _IMP_algebra.get_cube_3d(radius)
12622 
12623 def get_cube_4d(radius):
12624  """get_cube_4d(double radius) -> BoundingBox4D"""
12625  return _IMP_algebra.get_cube_4d(radius)
12626 
12627 def get_cube_5d(radius):
12628  """get_cube_5d(double radius) -> BoundingBox5D"""
12629  return _IMP_algebra.get_cube_5d(radius)
12630 
12631 def get_cube_6d(radius):
12632  """get_cube_6d(double radius) -> BoundingBox6D"""
12633  return _IMP_algebra.get_cube_6d(radius)
12634 
12635 def get_unit_sphere_1d():
12636  """get_unit_sphere_1d() -> Sphere1D"""
12637  return _IMP_algebra.get_unit_sphere_1d()
12638 
12639 def get_unit_sphere_2d():
12640  """get_unit_sphere_2d() -> Sphere2D"""
12641  return _IMP_algebra.get_unit_sphere_2d()
12642 
12643 def get_unit_sphere_3d():
12644  """get_unit_sphere_3d() -> Sphere3D"""
12645  return _IMP_algebra.get_unit_sphere_3d()
12646 
12647 def get_unit_sphere_4d():
12648  """get_unit_sphere_4d() -> Sphere4D"""
12649  return _IMP_algebra.get_unit_sphere_4d()
12650 
12651 def get_unit_sphere_5d():
12652  """get_unit_sphere_5d() -> Sphere5D"""
12653  return _IMP_algebra.get_unit_sphere_5d()
12654 
12655 def get_unit_sphere_6d():
12656  """get_unit_sphere_6d() -> Sphere6D"""
12657  return _IMP_algebra.get_unit_sphere_6d()
12658 
12659 def get_interiors_intersect(*args):
12660  """
12661  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12662  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12663  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12664  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12665  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12666  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12667  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12668  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12669  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12670  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12671  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12672  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12673  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12674  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12675  """
12676  return _IMP_algebra.get_interiors_intersect(*args)
12677 
12678 def get_random_vector_on(*args):
12679  """
12680  get_random_vector_on(Sphere1D a) -> Vector1D
12681  get_random_vector_on(Sphere2D a) -> Vector2D
12682  get_random_vector_on(Sphere3D a) -> Vector3D
12683  get_random_vector_on(Sphere4D a) -> Vector4D
12684  get_random_vector_on(Sphere5D a) -> Vector5D
12685  get_random_vector_on(Sphere6D a) -> Vector6D
12686  get_random_vector_on(SphereKD a) -> VectorKD
12687  get_random_vector_on(UnitSimplex1D a) -> Vector1D
12688  get_random_vector_on(UnitSimplex2D a) -> Vector2D
12689  get_random_vector_on(UnitSimplex3D a) -> Vector3D
12690  get_random_vector_on(UnitSimplex4D a) -> Vector4D
12691  get_random_vector_on(UnitSimplex5D a) -> Vector5D
12692  get_random_vector_on(UnitSimplex6D a) -> Vector6D
12693  get_random_vector_on(UnitSimplexKD a) -> VectorKD
12694  get_random_vector_on(BoundingBox1D a) -> Vector1D
12695  get_random_vector_on(BoundingBox2D a) -> Vector2D
12696  get_random_vector_on(BoundingBox3D a) -> Vector3D
12697  get_random_vector_on(BoundingBox4D a) -> Vector4D
12698  get_random_vector_on(BoundingBox5D a) -> Vector5D
12699  get_random_vector_on(BoundingBox6D a) -> Vector6D
12700  get_random_vector_on(BoundingBoxKD a) -> VectorKD
12701  """
12702  return _IMP_algebra.get_random_vector_on(*args)
12703 
12704 def get_random_vector_in(*args):
12705  """
12706  get_random_vector_in(Cylinder3D c) -> Vector3D
12707  get_random_vector_in(Sphere1D a) -> Vector1D
12708  get_random_vector_in(Sphere2D a) -> Vector2D
12709  get_random_vector_in(Sphere3D a) -> Vector3D
12710  get_random_vector_in(Sphere4D a) -> Vector4D
12711  get_random_vector_in(Sphere5D a) -> Vector5D
12712  get_random_vector_in(Sphere6D a) -> Vector6D
12713  get_random_vector_in(SphereKD a) -> VectorKD
12714  get_random_vector_in(BoundingBox1D a) -> Vector1D
12715  get_random_vector_in(BoundingBox2D a) -> Vector2D
12716  get_random_vector_in(BoundingBox3D a) -> Vector3D
12717  get_random_vector_in(BoundingBox4D a) -> Vector4D
12718  get_random_vector_in(BoundingBox5D a) -> Vector5D
12719  get_random_vector_in(BoundingBox6D a) -> Vector6D
12720  get_random_vector_in(BoundingBoxKD a) -> VectorKD
12721  """
12722  return _IMP_algebra.get_random_vector_in(*args)
12723 
12724 def get_intersection(*args):
12725  """
12726  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12727  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12728  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12729  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12730  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12731  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12732  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12733  """
12734  return _IMP_algebra.get_intersection(*args)
12735 
12736 def get_union(*args):
12737  """
12738  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12739  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12740  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12741  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12742  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12743  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12744  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12745  """
12746  return _IMP_algebra.get_union(*args)
12747 
12748 def get_bounding_box(*args):
12749  """
12750  get_bounding_box(Line3D g) -> BoundingBox3D
12751  get_bounding_box(Segment3D g) -> BoundingBox3D
12752  get_bounding_box(Plane3D g) -> BoundingBox3D
12753  get_bounding_box(Cylinder3D g) -> BoundingBox3D
12754  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12755  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12756  get_bounding_box(Cone3D g) -> BoundingBox3D
12757  get_bounding_box(Sphere1D a) -> BoundingBox1D
12758  get_bounding_box(Sphere2D a) -> BoundingBox2D
12759  get_bounding_box(Sphere3D a) -> BoundingBox3D
12760  get_bounding_box(Sphere4D a) -> BoundingBox4D
12761  get_bounding_box(Sphere5D a) -> BoundingBox5D
12762  get_bounding_box(Sphere6D a) -> BoundingBox6D
12763  get_bounding_box(SphereKD a) -> BoundingBoxKD
12764  """
12765  return _IMP_algebra.get_bounding_box(*args)
12766 
12767 def get_uniform_surface_cover(*args):
12768  """
12769  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12770  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12771  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12772  get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12773  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12774  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12775  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12776  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12777  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12778  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12779  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12780  """
12781  return _IMP_algebra.get_uniform_surface_cover(*args)
12782 
12784  """
12785  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12786  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12787  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12788  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12789  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12790  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12791  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12792  """
12793  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12794 
12795 def get_projected(*args):
12796  """
12797  get_projected(Line3D l, Vector3D p) -> Vector3D
12798  get_projected(Line3D l, Segment3D s) -> Segment3D
12799  get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
12800  get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
12801  get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
12802  get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
12803  get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
12804  get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
12805  get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
12806  """
12807  return _IMP_algebra.get_projected(*args)
12808 
12809 def get_vertices(*args):
12810  """
12811  get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12812  get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12813  get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12814  get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12815  get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12816  get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12817  get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12818  get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12819  get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12820  get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12821  get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12822  get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12823  get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12824  get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12825  """
12826  return _IMP_algebra.get_vertices(*args)
12827 
12828 def get_increasing_from_embedded(*args):
12829  """
12830  get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
12831  get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
12832  get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
12833  get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
12834  get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
12835  get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
12836  get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
12837  """
12838  return _IMP_algebra.get_increasing_from_embedded(*args)
12839 
12840 def get_embedded_from_increasing(*args):
12841  """
12842  get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
12843  get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
12844  get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
12845  get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
12846  get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
12847  get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
12848  get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
12849  """
12850  return _IMP_algebra.get_embedded_from_increasing(*args)
12851 class _AxisAnglePair(object):
12852  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
12853  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12854  __repr__ = _swig_repr
12855 
12856  def __init__(self, *args):
12857  """
12858  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12859  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12860  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12861  """
12862  this = _IMP_algebra.new__AxisAnglePair(*args)
12863  try:
12864  self.this.append(this)
12865  except:
12866  self.this = this
12867  first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12868  second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12869  def __len__(self):
12870  return 2
12871  def __repr__(self):
12872  return str((self.first, self.second))
12873  def __getitem__(self, index):
12874  if not (index % 2):
12875  return self.first
12876  else:
12877  return self.second
12878  def __setitem__(self, index, val):
12879  if not (index % 2):
12880  self.first = val
12881  else:
12882  self.second = val
12883  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12884  __del__ = lambda self: None
12885 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12886 _AxisAnglePair_swigregister(_AxisAnglePair)
12887 
12888 
12890  """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12891  return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12892 class _RotatedVector3DAdjoint(object):
12893  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class"""
12894  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12895  __repr__ = _swig_repr
12896 
12897  def __init__(self, *args):
12898  """
12899  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
12900  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
12901  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
12902  """
12903  this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
12904  try:
12905  self.this.append(this)
12906  except:
12907  self.this = this
12908  first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
12909  second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
12910  def __len__(self):
12911  return 2
12912  def __repr__(self):
12913  return str((self.first, self.second))
12914  def __getitem__(self, index):
12915  if not (index % 2):
12916  return self.first
12917  else:
12918  return self.second
12919  def __setitem__(self, index, val):
12920  if not (index % 2):
12921  self.first = val
12922  else:
12923  self.second = val
12924  __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
12925  __del__ = lambda self: None
12926 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
12927 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
12928 
12929 class _ComposeRotation3DAdjoint(object):
12930  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class"""
12931  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12932  __repr__ = _swig_repr
12933 
12934  def __init__(self, *args):
12935  """
12936  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
12937  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
12938  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
12939  """
12940  this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
12941  try:
12942  self.this.append(this)
12943  except:
12944  self.this = this
12945  first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
12946  second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
12947  def __len__(self):
12948  return 2
12949  def __repr__(self):
12950  return str((self.first, self.second))
12951  def __getitem__(self, index):
12952  if not (index % 2):
12953  return self.first
12954  else:
12955  return self.second
12956  def __setitem__(self, index, val):
12957  if not (index % 2):
12958  self.first = val
12959  else:
12960  self.second = val
12961  __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
12962  __del__ = lambda self: None
12963 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
12964 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
12965 
12966 class _Transformation3DAdjoint(object):
12967  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class"""
12968  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12969  __repr__ = _swig_repr
12970 
12971  def __init__(self, *args):
12972  """
12973  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
12974  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
12975  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
12976  """
12977  this = _IMP_algebra.new__Transformation3DAdjoint(*args)
12978  try:
12979  self.this.append(this)
12980  except:
12981  self.this = this
12982  first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
12983  second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
12984  def __len__(self):
12985  return 2
12986  def __repr__(self):
12987  return str((self.first, self.second))
12988  def __getitem__(self, index):
12989  if not (index % 2):
12990  return self.first
12991  else:
12992  return self.second
12993  def __setitem__(self, index, val):
12994  if not (index % 2):
12995  self.first = val
12996  else:
12997  self.second = val
12998  __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
12999  __del__ = lambda self: None
13000 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
13001 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
13002 
13003 class _TransformedVector3DAdjoint(object):
13004  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13005  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13006  __repr__ = _swig_repr
13007 
13008  def __init__(self, *args):
13009  """
13010  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
13011  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
13012  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
13013  """
13014  this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
13015  try:
13016  self.this.append(this)
13017  except:
13018  self.this = this
13019  first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
13020  second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
13021  def __len__(self):
13022  return 2
13023  def __repr__(self):
13024  return str((self.first, self.second))
13025  def __getitem__(self, index):
13026  if not (index % 2):
13027  return self.first
13028  else:
13029  return self.second
13030  def __setitem__(self, index, val):
13031  if not (index % 2):
13032  self.first = val
13033  else:
13034  self.second = val
13035  __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
13036  __del__ = lambda self: None
13037 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
13038 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
13039 
13040 class _ComposeTransformation3DAdjoint(object):
13041  """Proxy of C++ std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13042  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13043  __repr__ = _swig_repr
13044 
13045  def __init__(self, *args):
13046  """
13047  __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _ComposeTransformation3DAdjoint
13048  __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _Transformation3DAdjoint first, _Transformation3DAdjoint second) -> _ComposeTransformation3DAdjoint
13049  __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _ComposeTransformation3DAdjoint p) -> _ComposeTransformation3DAdjoint
13050  """
13051  this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
13052  try:
13053  self.this.append(this)
13054  except:
13055  self.this = this
13056  first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
13057  second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
13058  def __len__(self):
13059  return 2
13060  def __repr__(self):
13061  return str((self.first, self.second))
13062  def __getitem__(self, index):
13063  if not (index % 2):
13064  return self.first
13065  else:
13066  return self.second
13067  def __setitem__(self, index, val):
13068  if not (index % 2):
13069  self.first = val
13070  else:
13071  self.second = val
13072  __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
13073  __del__ = lambda self: None
13074 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
13075 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
13076 
13077 
13078 def get_rmsd_transforming_first(tr, v0, v1):
13079  """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13080  return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
13081 
13082 def get_rmsd(v0, v1):
13083  """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13084  return _IMP_algebra.get_rmsd(v0, v1)
13085 
13086 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
13087  """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13088  return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
13089 
13090 def get_weighted_rmsd(v0, v1, weights):
13091  """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13092  return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
13093 
13094 LinearFit=LinearFit2D
13095 ParabolicFit=ParabolicFit2D
13096 
13097 
13098 def get_module_version():
13099  """get_module_version() -> std::string const"""
13100  return _IMP_algebra.get_module_version()
13101 
13102 def get_example_path(fname):
13103  """get_example_path(std::string fname) -> std::string"""
13104  return _IMP_algebra.get_example_path(fname)
13105 
13106 def get_data_path(fname):
13107  """get_data_path(std::string fname) -> std::string"""
13108  return _IMP_algebra.get_data_path(fname)
13109 
13110 from . import _version_check
13111 _version_check.check_version(get_module_version())
13112 __version__ = get_module_version()
13113 
13114 
13115 
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
Definition: Rotation3D.h:395
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Definition: Surface.h:129
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
Definition: SphereD.h:96
SphereD< 3 > Sphere3D
Typedef for Python.
Definition: SphereD.h:96
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:433
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:417
void compose_adjoint(const Rotation3D &A, const Rotation3D &B, Vector4D DC, Rotation3DAdjoint *DA, Rotation3DAdjoint *DB)
Get adjoint of inputs to compose from adjoint of output.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Definition: VectorD.h:276
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:429
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:274
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Definition: exception.h:123
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D &center)
Return a Gaussian centered at the origin from a covariance matrix.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
Definition: BoundingBoxD.h:307
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD< 2 > Sphere2D
Typedef for Python.
Definition: SphereD.h:96
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:254
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
Definition: VectorD.h:201
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Definition: VectorBaseD.h:229
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
Definition: Sphere3D.h:35
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
Definition: Plane3D.h:68
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Eigen::MatrixXd get_jacobian_of_composed_wrt_first(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get gradient of quaternion product with respect to first quaternion.
VectorD< D > get_basis_vector_kd(int Di, unsigned int coordinate)
Return the basis vector for the given coordinate.
Definition: VectorD.h:236
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< 4 > Vector4D
Definition: VectorD.h:425
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
Definition: VectorD.h:309
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Definition: Rotation3D.h:421
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
Definition: BoundingBoxD.h:223
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Definition: BoundingBoxD.h:163
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
Definition: Vector3D.h:31
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Definition: BoundingBoxD.h:209
VectorD< D > get_increasing_from_embedded(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from embedded to increasing coordinates.
Definition: UnitSimplexD.h:137
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
VectorD< D > get_embedded_from_increasing(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from increasing to embedded coordinates.
Definition: UnitSimplexD.h:151
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:90
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
Definition: SphereD.h:96
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:96
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Definition: BoundingBoxD.h:187
Version and module information for Objects.
Definition: VersionInfo.h:28
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
VectorD< 1 > Vector1D
Definition: VectorD.h:413
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Definition: SphereD.h:96
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Definition: Rotation3D.h:609
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
Definition: Rotation3D.h:488
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Definition: BoundingBoxD.h:201
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Definition: Rotation2D.h:100
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
Definition: Vector3D.h:68
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
Eigen::MatrixXd get_jacobian_of_composed_wrt_second(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get Jacobian of quaternion product with respect to second quaternion.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
VectorD< 3 > Vector3D
Definition: VectorD.h:421
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
Definition: Rotation3D.h:356
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3D spheres to a file.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
Get a set of balls that approximates the surface of the passed set.
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
Definition: Vector3D.h:51
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
VectorD<-1 > VectorKD
Definition: VectorD.h:437
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD<-1 > SphereKD
Typedef for Python.
Definition: SphereD.h:96
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
Definition: BoundingBoxD.h:176
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
std::string get_module_version()
Return the version of this module, as a string.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:93