IMP logo
IMP Reference Guide  2.17.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 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2022 IMP Inventors. All rights reserved.
10 
11 from __future__ import print_function, division, absolute_import
12 
13 
14 
15 
16 
17 from sys import version_info
18 if version_info >= (2, 6, 0):
19  def swig_import_helper():
20  from os.path import dirname
21  import imp
22  fp = None
23  try:
24  fp, pathname, description = imp.find_module('_IMP_algebra', [dirname(__file__)])
25  except ImportError:
26  import _IMP_algebra
27  return _IMP_algebra
28  if fp is not None:
29  try:
30  _mod = imp.load_module('_IMP_algebra', fp, pathname, description)
31  finally:
32  fp.close()
33  return _mod
34  _IMP_algebra = swig_import_helper()
35  del swig_import_helper
36 else:
37  import _IMP_algebra
38 del version_info
39 try:
40  _swig_property = property
41 except NameError:
42  pass # Python < 2.2 doesn't have 'property'.
43 
44 
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46  if (name == "thisown"):
47  return self.this.own(value)
48  if (name == "this"):
49  if type(value).__name__ == 'SwigPyObject':
50  self.__dict__[name] = value
51  return
52  method = class_type.__swig_setmethods__.get(name, None)
53  if method:
54  return method(self, value)
55  if (not static):
56  object.__setattr__(self, name, value)
57  else:
58  raise AttributeError("You cannot add attributes to %s" % self)
59 
60 
61 def _swig_setattr(self, class_type, name, value):
62  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 
64 
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66  if (name == "thisown"):
67  return self.this.own()
68  method = class_type.__swig_getmethods__.get(name, None)
69  if method:
70  return method(self)
71  if (not static):
72  return object.__getattr__(self, name)
73  else:
74  raise AttributeError(name)
75 
76 def _swig_getattr(self, class_type, name):
77  return _swig_getattr_nondynamic(self, class_type, name, 0)
78 
79 
80 def _swig_repr(self):
81  try:
82  strthis = "proxy of " + self.this.__repr__()
83  except:
84  strthis = ""
85  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
86 
87 try:
88  _object = object
89  _newclass = 1
90 except AttributeError:
91  class _object:
92  pass
93  _newclass = 0
94 
95 
96 
97 def _swig_setattr_nondynamic_method(set):
98  def set_attr(self, name, value):
99  if (name == "thisown"):
100  return self.this.own(value)
101  if hasattr(self, name) or (name == "this"):
102  set(self, name, value)
103  else:
104  raise AttributeError("You cannot add attributes to %s" % self)
105  return set_attr
106 
107 
108 try:
109  import weakref
110  weakref_proxy = weakref.proxy
111 except:
112  weakref_proxy = lambda x: x
113 
114 
115 class IMP_ALGEBRA_SwigPyIterator(object):
116  """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
117  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
118 
119  def __init__(self, *args, **kwargs):
120  raise AttributeError("No constructor defined - class is abstract")
121  __repr__ = _swig_repr
122  __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
123  __del__ = lambda self: None
124 
125  def value(self):
126  """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
127  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
128 
129 
130  def incr(self, n=1):
131  """
132  incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
133  incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
134  """
135  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
136 
137 
138  def decr(self, n=1):
139  """
140  decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
141  decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
142  """
143  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
144 
145 
146  def distance(self, x):
147  """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
148  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
149 
150 
151  def equal(self, x):
152  """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
153  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
154 
155 
156  def copy(self):
157  """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
158  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
159 
160 
161  def next(self):
162  """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
163  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
164 
165 
166  def __next__(self):
167  """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
168  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
169 
170 
171  def previous(self):
172  """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
173  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
174 
175 
176  def advance(self, n):
177  """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
178  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
179 
180 
181  def __eq__(self, x):
182  """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
183  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
184 
185 
186  def __ne__(self, x):
187  """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
188  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
189 
190 
191  def __iadd__(self, n):
192  """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
193  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
194 
195 
196  def __isub__(self, n):
197  """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
198  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
199 
200 
201  def __add__(self, n):
202  """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
203  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
204 
205 
206  def __sub__(self, *args):
207  """
208  __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
209  __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
210  """
211  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
212 
213  def __iter__(self):
214  return self
215 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
216 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
217 
218 
219 _value_types=[]
220 _object_types=[]
221 _raii_types=[]
222 _plural_types=[]
223 
224 
225 _IMP_algebra.IMP_DEBUG_swigconstant(_IMP_algebra)
226 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
227 
228 _IMP_algebra.IMP_RELEASE_swigconstant(_IMP_algebra)
229 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
230 
231 _IMP_algebra.IMP_SILENT_swigconstant(_IMP_algebra)
232 IMP_SILENT = _IMP_algebra.IMP_SILENT
233 
234 _IMP_algebra.IMP_PROGRESS_swigconstant(_IMP_algebra)
235 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
236 
237 _IMP_algebra.IMP_TERSE_swigconstant(_IMP_algebra)
238 IMP_TERSE = _IMP_algebra.IMP_TERSE
239 
240 _IMP_algebra.IMP_VERBOSE_swigconstant(_IMP_algebra)
241 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
242 
243 _IMP_algebra.IMP_MEMORY_swigconstant(_IMP_algebra)
244 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
245 
246 _IMP_algebra.IMP_NONE_swigconstant(_IMP_algebra)
247 IMP_NONE = _IMP_algebra.IMP_NONE
248 
249 _IMP_algebra.IMP_USAGE_swigconstant(_IMP_algebra)
250 IMP_USAGE = _IMP_algebra.IMP_USAGE
251 
252 _IMP_algebra.IMP_INTERNAL_swigconstant(_IMP_algebra)
253 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
254 
255 _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_algebra)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
257 
258 _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_algebra)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
260 
261 _IMP_algebra.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_algebra)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_algebra.IMP_COMPILER_HAS_RANDOM_SHUFFLE
263 
264 _IMP_algebra.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_algebra)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_algebra.IMP_COMPILER_HAS_THREE_WAY
266 
267 _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
269 
270 _IMP_algebra.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_algebra)
271 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
272 
273 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
275 
276 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
278 
279 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
281 
282 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
284 
285 import sys
286 class _DirectorObjects(object):
287  """@internal Simple class to keep references to director objects
288  to prevent premature deletion."""
289  def __init__(self):
290  self._objects = []
291  def register(self, obj):
292  """Take a reference to a director object; will only work for
293  refcounted C++ classes"""
294  if hasattr(obj, 'get_ref_count'):
295  self._objects.append(obj)
296  def cleanup(self):
297  """Only drop our reference and allow cleanup by Python if no other
298  Python references exist (we hold 3 references: one in self._objects,
299  one in x, and one in the argument list for getrefcount) *and* no
300  other C++ references exist (the Python object always holds one)"""
301  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
302  or x.get_ref_count() > 1]
303 # Do in two steps so the references are kept until the end of the
304 # function (deleting references may trigger a fresh call to this method)
305  self._objects = objs
306  def get_object_count(self):
307  """Get number of director objects (useful for testing only)"""
308  return len(self._objects)
309 _director_objects = _DirectorObjects()
310 
311 class _ostream(object):
312  """Proxy of C++ std::ostream class"""
313  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
314 
315  def __init__(self, *args, **kwargs):
316  raise AttributeError("No constructor defined")
317  __repr__ = _swig_repr
318 
319  def write(self, osa_buf):
320  """write(_ostream self, char const * osa_buf)"""
321  return _IMP_algebra._ostream_write(self, osa_buf)
322 
323 _ostream_swigregister = _IMP_algebra._ostream_swigregister
324 _ostream_swigregister(_ostream)
325 
326 
327 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
328 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
329 
330 _IMP_algebra.IMP_C_OPEN_BINARY_swigconstant(_IMP_algebra)
331 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
332 import IMP
333 
334 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
336 
337 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
339 
340 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
342 
343 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
345 
346 _IMP_algebra.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_algebra)
347 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
348 
349 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
350 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
351 import IMP.cgal
352 
353 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
355 
356 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
358 
359 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
361 
362 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
364 
365 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
367 
368 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
370 
371 _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_algebra)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
373 
374 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
375 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
376 
377 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
379 
380 def get_vector(v):
381  try:
382  return v.get_coordinates()
383  except:
384  return v
385 def get_sphere(v):
386  try:
387  return v.get_sphere()
388  except:
389  return v
390 
391 
392 _object_types.append("VectorKDMetric")
393 
394 
395 def _object_cast_to_VectorKDMetric(o):
396  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
397  return _IMP_algebra._object_cast_to_VectorKDMetric(o)
398 
399 _object_types.append("EuclideanVectorKDMetric")
400 
401 
402 def _object_cast_to_EuclideanVectorKDMetric(o):
403  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
404  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
405 
406 _object_types.append("MaxVectorKDMetric")
407 
408 
409 def _object_cast_to_MaxVectorKDMetric(o):
410  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
411  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
412 
413 _object_types.append("DynamicNearestNeighbor3D")
414 
415 
416 def _object_cast_to_DynamicNearestNeighbor3D(o):
417  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
418  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
419 
420 Rotation2Ds=list
421 _plural_types.append("Rotation2Ds")
422 _value_types.append("Rotation2D")
423 
424 
425 Rotation3Ds=list
426 _plural_types.append("Rotation3Ds")
427 _value_types.append("Rotation3D")
428 
429 
430 Reflection3Ds=list
431 _plural_types.append("Reflection3Ds")
432 _value_types.append("Reflection3D")
433 
434 
435 Transformation2Ds=list
436 _plural_types.append("Transformation2Ds")
437 _value_types.append("Transformation2D")
438 
439 
440 Transformation3Ds=list
441 _plural_types.append("Transformation3Ds")
442 _value_types.append("Transformation3D")
443 
444 
445 SphericalVector3Ds=list
446 _plural_types.append("SphericalVector3Ds")
447 _value_types.append("SphericalVector3D")
448 
449 
450 Triangle3Ds=list
451 _plural_types.append("Triangle3Ds")
452 _value_types.append("Triangle3D")
453 
454 
455 Cone3Ds=list
456 _plural_types.append("Cone3Ds")
457 _value_types.append("Cone3D")
458 
459 
460 Cylinder3Ds=list
461 _plural_types.append("Cylinder3Ds")
462 _value_types.append("Cylinder3D")
463 
464 
465 Ellipsoid3Ds=list
466 _plural_types.append("Ellipsoid3Ds")
467 _value_types.append("Ellipsoid3D")
468 
469 
470 Line3Ds=list
471 _plural_types.append("Line3Ds")
472 _value_types.append("Line3D")
473 
474 
475 Plane3Ds=list
476 _plural_types.append("Plane3Ds")
477 _value_types.append("Plane3D")
478 
479 
480 Segment3Ds=list
481 _plural_types.append("Segment3Ds")
482 _value_types.append("Segment3D")
483 
484 
485 SpherePatch3Ds=list
486 _plural_types.append("SpherePatch3Ds")
487 _value_types.append("SpherePatch3D")
488 
489 
490 ConnollySurfacePoints=list
491 _plural_types.append("ConnollySurfacePoints")
492 _value_types.append("ConnollySurfacePoint")
493 
494 
495 Sphere1Ds=list
496 _plural_types.append("Sphere1Ds")
497 _value_types.append("Sphere1D")
498 
499 
500 Sphere2Ds=list
501 _plural_types.append("Sphere2Ds")
502 _value_types.append("Sphere2D")
503 
504 
505 Sphere3Ds=list
506 _plural_types.append("Sphere3Ds")
507 _value_types.append("Sphere3D")
508 
509 
510 Sphere4Ds=list
511 _plural_types.append("Sphere4Ds")
512 _value_types.append("Sphere4D")
513 
514 
515 Sphere5Ds=list
516 _plural_types.append("Sphere5Ds")
517 _value_types.append("Sphere5D")
518 
519 
520 Sphere6Ds=list
521 _plural_types.append("Sphere6Ds")
522 _value_types.append("Sphere6D")
523 
524 
525 Sphere1Ds=list
526 _plural_types.append("Sphere1Ds")
527 _value_types.append("SphereD<1>")
528 
529 
530 Sphere2Ds=list
531 _plural_types.append("Sphere2Ds")
532 _value_types.append("SphereD<2>")
533 
534 
535 Sphere3Ds=list
536 _plural_types.append("Sphere3Ds")
537 _value_types.append("SphereD<3>")
538 
539 
540 Sphere4Ds=list
541 _plural_types.append("Sphere4Ds")
542 _value_types.append("SphereD<4>")
543 
544 
545 Sphere5Ds=list
546 _plural_types.append("Sphere5Ds")
547 _value_types.append("SphereD<5>")
548 
549 
550 Sphere6Ds=list
551 _plural_types.append("Sphere6Ds")
552 _value_types.append("SphereD<6>")
553 
554 
555 SphereKDs=list
556 _plural_types.append("SphereKDs")
557 _value_types.append("SphereKD")
558 
559 
560 SphereKDs=list
561 _plural_types.append("SphereKDs")
562 _value_types.append("SphereD<-1>")
563 
564 
565 UnitSimplex1Ds=list
566 _plural_types.append("UnitSimplex1Ds")
567 _value_types.append("UnitSimplex1D")
568 
569 
570 UnitSimplex2Ds=list
571 _plural_types.append("UnitSimplex2Ds")
572 _value_types.append("UnitSimplex2D")
573 
574 
575 UnitSimplex3Ds=list
576 _plural_types.append("UnitSimplex3Ds")
577 _value_types.append("UnitSimplex3D")
578 
579 
580 UnitSimplex4Ds=list
581 _plural_types.append("UnitSimplex4Ds")
582 _value_types.append("UnitSimplex4D")
583 
584 
585 UnitSimplex5Ds=list
586 _plural_types.append("UnitSimplex5Ds")
587 _value_types.append("UnitSimplex5D")
588 
589 
590 UnitSimplex6Ds=list
591 _plural_types.append("UnitSimplex6Ds")
592 _value_types.append("UnitSimplex6D")
593 
594 
595 UnitSimplex1Ds=list
596 _plural_types.append("UnitSimplex1Ds")
597 _value_types.append("UnitSimplexD<1>")
598 
599 
600 UnitSimplex2Ds=list
601 _plural_types.append("UnitSimplex2Ds")
602 _value_types.append("UnitSimplexD<2>")
603 
604 
605 UnitSimplex3Ds=list
606 _plural_types.append("UnitSimplex3Ds")
607 _value_types.append("UnitSimplexD<3>")
608 
609 
610 UnitSimplex4Ds=list
611 _plural_types.append("UnitSimplex4Ds")
612 _value_types.append("UnitSimplexD<4>")
613 
614 
615 UnitSimplex5Ds=list
616 _plural_types.append("UnitSimplex5Ds")
617 _value_types.append("UnitSimplexD<5>")
618 
619 
620 UnitSimplex6Ds=list
621 _plural_types.append("UnitSimplex6Ds")
622 _value_types.append("UnitSimplexD<6>")
623 
624 
625 UnitSimplexKDs=list
626 _plural_types.append("UnitSimplexKDs")
627 _value_types.append("UnitSimplexKD")
628 
629 
630 UnitSimplexKDs=list
631 _plural_types.append("UnitSimplexKDs")
632 _value_types.append("UnitSimplexD<-1>")
633 
634 
635 BoundingBox1Ds=list
636 _plural_types.append("BoundingBox1Ds")
637 _value_types.append("BoundingBox1D")
638 
639 
640 BoundingBox2Ds=list
641 _plural_types.append("BoundingBox2Ds")
642 _value_types.append("BoundingBox2D")
643 
644 
645 BoundingBox3Ds=list
646 _plural_types.append("BoundingBox3Ds")
647 _value_types.append("BoundingBox3D")
648 
649 
650 BoundingBox4Ds=list
651 _plural_types.append("BoundingBox4Ds")
652 _value_types.append("BoundingBox4D")
653 
654 
655 BoundingBox5Ds=list
656 _plural_types.append("BoundingBox5Ds")
657 _value_types.append("BoundingBox5D")
658 
659 
660 BoundingBox6Ds=list
661 _plural_types.append("BoundingBox6Ds")
662 _value_types.append("BoundingBox6D")
663 
664 
665 BoundingBox1Ds=list
666 _plural_types.append("BoundingBox1Ds")
667 _value_types.append("BoundingBoxD<1>")
668 
669 
670 BoundingBox2Ds=list
671 _plural_types.append("BoundingBox2Ds")
672 _value_types.append("BoundingBoxD<2>")
673 
674 
675 BoundingBox3Ds=list
676 _plural_types.append("BoundingBox3Ds")
677 _value_types.append("BoundingBoxD<3>")
678 
679 
680 BoundingBox4Ds=list
681 _plural_types.append("BoundingBox4Ds")
682 _value_types.append("BoundingBoxD<4>")
683 
684 
685 BoundingBox5Ds=list
686 _plural_types.append("BoundingBox5Ds")
687 _value_types.append("BoundingBoxD<5>")
688 
689 
690 BoundingBox6Ds=list
691 _plural_types.append("BoundingBox6Ds")
692 _value_types.append("BoundingBoxD<6>")
693 
694 
695 BoundingBoxKDs=list
696 _plural_types.append("BoundingBoxKDs")
697 _value_types.append("BoundingBoxKD")
698 
699 
700 BoundingBoxKDs=list
701 _plural_types.append("BoundingBoxKDs")
702 _value_types.append("BoundingBoxD<-1>")
703 
704 
705 PrincipalComponentAnalysis1Ds=list
706 _plural_types.append("PrincipalComponentAnalysis1Ds")
707 _value_types.append("PrincipalComponentAnalysis1D")
708 
709 
710 PrincipalComponentAnalysis2Ds=list
711 _plural_types.append("PrincipalComponentAnalysis2Ds")
712 _value_types.append("PrincipalComponentAnalysis2D")
713 
714 
715 PrincipalComponentAnalysis3Ds=list
716 _plural_types.append("PrincipalComponentAnalysis3Ds")
717 _value_types.append("PrincipalComponentAnalysis3D")
718 
719 
720 PrincipalComponentAnalysis4Ds=list
721 _plural_types.append("PrincipalComponentAnalysis4Ds")
722 _value_types.append("PrincipalComponentAnalysis4D")
723 
724 
725 PrincipalComponentAnalysis5Ds=list
726 _plural_types.append("PrincipalComponentAnalysis5Ds")
727 _value_types.append("PrincipalComponentAnalysis5D")
728 
729 
730 PrincipalComponentAnalysis6Ds=list
731 _plural_types.append("PrincipalComponentAnalysis6Ds")
732 _value_types.append("PrincipalComponentAnalysis6D")
733 
734 
735 PrincipalComponentAnalysis1Ds=list
736 _plural_types.append("PrincipalComponentAnalysis1Ds")
737 _value_types.append("PrincipalComponentAnalysisD<1>")
738 
739 
740 PrincipalComponentAnalysis2Ds=list
741 _plural_types.append("PrincipalComponentAnalysis2Ds")
742 _value_types.append("PrincipalComponentAnalysisD<2>")
743 
744 
745 PrincipalComponentAnalysis3Ds=list
746 _plural_types.append("PrincipalComponentAnalysis3Ds")
747 _value_types.append("PrincipalComponentAnalysisD<3>")
748 
749 
750 PrincipalComponentAnalysis4Ds=list
751 _plural_types.append("PrincipalComponentAnalysis4Ds")
752 _value_types.append("PrincipalComponentAnalysisD<4>")
753 
754 
755 PrincipalComponentAnalysis5Ds=list
756 _plural_types.append("PrincipalComponentAnalysis5Ds")
757 _value_types.append("PrincipalComponentAnalysisD<5>")
758 
759 
760 PrincipalComponentAnalysis6Ds=list
761 _plural_types.append("PrincipalComponentAnalysis6Ds")
762 _value_types.append("PrincipalComponentAnalysisD<6>")
763 
764 
765 PrincipalComponentAnalysisKDs=list
766 _plural_types.append("PrincipalComponentAnalysisKDs")
767 _value_types.append("PrincipalComponentAnalysisKD")
768 
769 
770 PrincipalComponentAnalysisKDs=list
771 _plural_types.append("PrincipalComponentAnalysisKDs")
772 _value_types.append("PrincipalComponentAnalysisD<-1>")
773 
774 
775 _object_types.append("NearestNeighbor1D")
776 
777 
778 def _object_cast_to_NearestNeighbor1D(o):
779  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
780  return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
781 
782 _object_types.append("NearestNeighbor2D")
783 
784 
785 def _object_cast_to_NearestNeighbor2D(o):
786  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
787  return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
788 
789 _object_types.append("NearestNeighbor3D")
790 
791 
792 def _object_cast_to_NearestNeighbor3D(o):
793  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
794  return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
795 
796 _object_types.append("NearestNeighbor4D")
797 
798 
799 def _object_cast_to_NearestNeighbor4D(o):
800  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
801  return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
802 
803 _object_types.append("NearestNeighbor5D")
804 
805 
806 def _object_cast_to_NearestNeighbor5D(o):
807  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
808  return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
809 
810 _object_types.append("NearestNeighbor6D")
811 
812 
813 def _object_cast_to_NearestNeighbor6D(o):
814  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
815  return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
816 
817 _object_types.append("NearestNeighborKD")
818 
819 
820 def _object_cast_to_NearestNeighborKD(o):
821  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
822  return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
823 
824 ReferenceFrame3Ds=list
825 _plural_types.append("ReferenceFrame3Ds")
826 _value_types.append("ReferenceFrame3D")
827 
828 
829 Gaussian3Ds=list
830 _plural_types.append("Gaussian3Ds")
831 _value_types.append("Gaussian3D")
832 
833 
834 DefaultEmbedding1Ds=list
835 _plural_types.append("DefaultEmbedding1Ds")
836 _value_types.append("DefaultEmbedding1D")
837 
838 
839 DefaultEmbedding2Ds=list
840 _plural_types.append("DefaultEmbedding2Ds")
841 _value_types.append("DefaultEmbedding2D")
842 
843 
844 DefaultEmbedding3Ds=list
845 _plural_types.append("DefaultEmbedding3Ds")
846 _value_types.append("DefaultEmbedding3D")
847 
848 
849 DefaultEmbedding4Ds=list
850 _plural_types.append("DefaultEmbedding4Ds")
851 _value_types.append("DefaultEmbedding4D")
852 
853 
854 DefaultEmbedding5Ds=list
855 _plural_types.append("DefaultEmbedding5Ds")
856 _value_types.append("DefaultEmbedding5D")
857 
858 
859 DefaultEmbedding6Ds=list
860 _plural_types.append("DefaultEmbedding6Ds")
861 _value_types.append("DefaultEmbedding6D")
862 
863 
864 DefaultEmbedding1Ds=list
865 _plural_types.append("DefaultEmbedding1Ds")
866 _value_types.append("DefaultEmbeddingD<1>")
867 
868 
869 DefaultEmbedding2Ds=list
870 _plural_types.append("DefaultEmbedding2Ds")
871 _value_types.append("DefaultEmbeddingD<2>")
872 
873 
874 DefaultEmbedding3Ds=list
875 _plural_types.append("DefaultEmbedding3Ds")
876 _value_types.append("DefaultEmbeddingD<3>")
877 
878 
879 DefaultEmbedding4Ds=list
880 _plural_types.append("DefaultEmbedding4Ds")
881 _value_types.append("DefaultEmbeddingD<4>")
882 
883 
884 DefaultEmbedding5Ds=list
885 _plural_types.append("DefaultEmbedding5Ds")
886 _value_types.append("DefaultEmbeddingD<5>")
887 
888 
889 DefaultEmbedding6Ds=list
890 _plural_types.append("DefaultEmbedding6Ds")
891 _value_types.append("DefaultEmbeddingD<6>")
892 
893 
894 DefaultEmbeddingKDs=list
895 _plural_types.append("DefaultEmbeddingKDs")
896 _value_types.append("DefaultEmbeddingKD")
897 
898 
899 DefaultEmbeddingKDs=list
900 _plural_types.append("DefaultEmbeddingKDs")
901 _value_types.append("DefaultEmbeddingD<-1>")
902 
903 
904 LogEmbedding1Ds=list
905 _plural_types.append("LogEmbedding1Ds")
906 _value_types.append("LogEmbedding1D")
907 
908 
909 LogEmbedding2Ds=list
910 _plural_types.append("LogEmbedding2Ds")
911 _value_types.append("LogEmbedding2D")
912 
913 
914 LogEmbedding3Ds=list
915 _plural_types.append("LogEmbedding3Ds")
916 _value_types.append("LogEmbedding3D")
917 
918 
919 LogEmbedding4Ds=list
920 _plural_types.append("LogEmbedding4Ds")
921 _value_types.append("LogEmbedding4D")
922 
923 
924 LogEmbedding5Ds=list
925 _plural_types.append("LogEmbedding5Ds")
926 _value_types.append("LogEmbedding5D")
927 
928 
929 LogEmbedding6Ds=list
930 _plural_types.append("LogEmbedding6Ds")
931 _value_types.append("LogEmbedding6D")
932 
933 
934 LogEmbedding1Ds=list
935 _plural_types.append("LogEmbedding1Ds")
936 _value_types.append("LogEmbeddingD<1>")
937 
938 
939 LogEmbedding2Ds=list
940 _plural_types.append("LogEmbedding2Ds")
941 _value_types.append("LogEmbeddingD<2>")
942 
943 
944 LogEmbedding3Ds=list
945 _plural_types.append("LogEmbedding3Ds")
946 _value_types.append("LogEmbeddingD<3>")
947 
948 
949 LogEmbedding4Ds=list
950 _plural_types.append("LogEmbedding4Ds")
951 _value_types.append("LogEmbeddingD<4>")
952 
953 
954 LogEmbedding5Ds=list
955 _plural_types.append("LogEmbedding5Ds")
956 _value_types.append("LogEmbeddingD<5>")
957 
958 
959 LogEmbedding6Ds=list
960 _plural_types.append("LogEmbedding6Ds")
961 _value_types.append("LogEmbeddingD<6>")
962 
963 
964 LogEmbeddingKDs=list
965 _plural_types.append("LogEmbeddingKDs")
966 _value_types.append("LogEmbeddingKD")
967 
968 
969 LogEmbeddingKDs=list
970 _plural_types.append("LogEmbeddingKDs")
971 _value_types.append("LogEmbeddingD<-1>")
972 
973 
974 GridIndex1Ds=list
975 _plural_types.append("GridIndex1Ds")
976 _value_types.append("GridIndex1D")
977 
978 
979 GridIndex2Ds=list
980 _plural_types.append("GridIndex2Ds")
981 _value_types.append("GridIndex2D")
982 
983 
984 GridIndex3Ds=list
985 _plural_types.append("GridIndex3Ds")
986 _value_types.append("GridIndex3D")
987 
988 
989 GridIndex4Ds=list
990 _plural_types.append("GridIndex4Ds")
991 _value_types.append("GridIndex4D")
992 
993 
994 GridIndex5Ds=list
995 _plural_types.append("GridIndex5Ds")
996 _value_types.append("GridIndex5D")
997 
998 
999 GridIndex6Ds=list
1000 _plural_types.append("GridIndex6Ds")
1001 _value_types.append("GridIndex6D")
1002 
1003 
1004 GridIndex1Ds=list
1005 _plural_types.append("GridIndex1Ds")
1006 _value_types.append("GridIndexD<1>")
1007 
1008 
1009 GridIndex2Ds=list
1010 _plural_types.append("GridIndex2Ds")
1011 _value_types.append("GridIndexD<2>")
1012 
1013 
1014 GridIndex3Ds=list
1015 _plural_types.append("GridIndex3Ds")
1016 _value_types.append("GridIndexD<3>")
1017 
1018 
1019 GridIndex4Ds=list
1020 _plural_types.append("GridIndex4Ds")
1021 _value_types.append("GridIndexD<4>")
1022 
1023 
1024 GridIndex5Ds=list
1025 _plural_types.append("GridIndex5Ds")
1026 _value_types.append("GridIndexD<5>")
1027 
1028 
1029 GridIndex6Ds=list
1030 _plural_types.append("GridIndex6Ds")
1031 _value_types.append("GridIndexD<6>")
1032 
1033 
1034 GridIndexKDs=list
1035 _plural_types.append("GridIndexKDs")
1036 _value_types.append("GridIndexKD")
1037 
1038 
1039 GridIndexKDs=list
1040 _plural_types.append("GridIndexKDs")
1041 _value_types.append("GridIndexD<-1>")
1042 
1043 
1044 ExtendedGridIndex1Ds=list
1045 _plural_types.append("ExtendedGridIndex1Ds")
1046 _value_types.append("ExtendedGridIndex1D")
1047 
1048 
1049 ExtendedGridIndex2Ds=list
1050 _plural_types.append("ExtendedGridIndex2Ds")
1051 _value_types.append("ExtendedGridIndex2D")
1052 
1053 
1054 ExtendedGridIndex3Ds=list
1055 _plural_types.append("ExtendedGridIndex3Ds")
1056 _value_types.append("ExtendedGridIndex3D")
1057 
1058 
1059 ExtendedGridIndex4Ds=list
1060 _plural_types.append("ExtendedGridIndex4Ds")
1061 _value_types.append("ExtendedGridIndex4D")
1062 
1063 
1064 ExtendedGridIndex5Ds=list
1065 _plural_types.append("ExtendedGridIndex5Ds")
1066 _value_types.append("ExtendedGridIndex5D")
1067 
1068 
1069 ExtendedGridIndex6Ds=list
1070 _plural_types.append("ExtendedGridIndex6Ds")
1071 _value_types.append("ExtendedGridIndex6D")
1072 
1073 
1074 ExtendedGridIndex1Ds=list
1075 _plural_types.append("ExtendedGridIndex1Ds")
1076 _value_types.append("ExtendedGridIndexD<1>")
1077 
1078 
1079 ExtendedGridIndex2Ds=list
1080 _plural_types.append("ExtendedGridIndex2Ds")
1081 _value_types.append("ExtendedGridIndexD<2>")
1082 
1083 
1084 ExtendedGridIndex3Ds=list
1085 _plural_types.append("ExtendedGridIndex3Ds")
1086 _value_types.append("ExtendedGridIndexD<3>")
1087 
1088 
1089 ExtendedGridIndex4Ds=list
1090 _plural_types.append("ExtendedGridIndex4Ds")
1091 _value_types.append("ExtendedGridIndexD<4>")
1092 
1093 
1094 ExtendedGridIndex5Ds=list
1095 _plural_types.append("ExtendedGridIndex5Ds")
1096 _value_types.append("ExtendedGridIndexD<5>")
1097 
1098 
1099 ExtendedGridIndex6Ds=list
1100 _plural_types.append("ExtendedGridIndex6Ds")
1101 _value_types.append("ExtendedGridIndexD<6>")
1102 
1103 
1104 ExtendedGridIndexKDs=list
1105 _plural_types.append("ExtendedGridIndexKDs")
1106 _value_types.append("ExtendedGridIndexKD")
1107 
1108 
1109 ExtendedGridIndexKDs=list
1110 _plural_types.append("ExtendedGridIndexKDs")
1111 _value_types.append("ExtendedGridIndexD<-1>")
1112 
1113 
1114 BoundedGridRange1Ds=list
1115 _plural_types.append("BoundedGridRange1Ds")
1116 _value_types.append("BoundedGridRange1D")
1117 
1118 
1119 BoundedGridRange2Ds=list
1120 _plural_types.append("BoundedGridRange2Ds")
1121 _value_types.append("BoundedGridRange2D")
1122 
1123 
1124 BoundedGridRange3Ds=list
1125 _plural_types.append("BoundedGridRange3Ds")
1126 _value_types.append("BoundedGridRange3D")
1127 
1128 
1129 BoundedGridRange4Ds=list
1130 _plural_types.append("BoundedGridRange4Ds")
1131 _value_types.append("BoundedGridRange4D")
1132 
1133 
1134 BoundedGridRange5Ds=list
1135 _plural_types.append("BoundedGridRange5Ds")
1136 _value_types.append("BoundedGridRange5D")
1137 
1138 
1139 BoundedGridRange6Ds=list
1140 _plural_types.append("BoundedGridRange6Ds")
1141 _value_types.append("BoundedGridRange6D")
1142 
1143 
1144 BoundedGridRange1Ds=list
1145 _plural_types.append("BoundedGridRange1Ds")
1146 _value_types.append("BoundedGridRangeD<1>")
1147 
1148 
1149 BoundedGridRange2Ds=list
1150 _plural_types.append("BoundedGridRange2Ds")
1151 _value_types.append("BoundedGridRangeD<2>")
1152 
1153 
1154 BoundedGridRange3Ds=list
1155 _plural_types.append("BoundedGridRange3Ds")
1156 _value_types.append("BoundedGridRangeD<3>")
1157 
1158 
1159 BoundedGridRange4Ds=list
1160 _plural_types.append("BoundedGridRange4Ds")
1161 _value_types.append("BoundedGridRangeD<4>")
1162 
1163 
1164 BoundedGridRange5Ds=list
1165 _plural_types.append("BoundedGridRange5Ds")
1166 _value_types.append("BoundedGridRangeD<5>")
1167 
1168 
1169 BoundedGridRange6Ds=list
1170 _plural_types.append("BoundedGridRange6Ds")
1171 _value_types.append("BoundedGridRangeD<6>")
1172 
1173 
1174 BoundedGridRangeKDs=list
1175 _plural_types.append("BoundedGridRangeKDs")
1176 _value_types.append("BoundedGridRangeKD")
1177 
1178 
1179 BoundedGridRangeKDs=list
1180 _plural_types.append("BoundedGridRangeKDs")
1181 _value_types.append("BoundedGridRangeD<-1>")
1182 
1183 
1184 UnboundedGridRange1Ds=list
1185 _plural_types.append("UnboundedGridRange1Ds")
1186 _value_types.append("UnboundedGridRange1D")
1187 
1188 
1189 UnboundedGridRange2Ds=list
1190 _plural_types.append("UnboundedGridRange2Ds")
1191 _value_types.append("UnboundedGridRange2D")
1192 
1193 
1194 UnboundedGridRange3Ds=list
1195 _plural_types.append("UnboundedGridRange3Ds")
1196 _value_types.append("UnboundedGridRange3D")
1197 
1198 
1199 UnboundedGridRange4Ds=list
1200 _plural_types.append("UnboundedGridRange4Ds")
1201 _value_types.append("UnboundedGridRange4D")
1202 
1203 
1204 UnboundedGridRange5Ds=list
1205 _plural_types.append("UnboundedGridRange5Ds")
1206 _value_types.append("UnboundedGridRange5D")
1207 
1208 
1209 UnboundedGridRange6Ds=list
1210 _plural_types.append("UnboundedGridRange6Ds")
1211 _value_types.append("UnboundedGridRange6D")
1212 
1213 
1214 UnboundedGridRange1Ds=list
1215 _plural_types.append("UnboundedGridRange1Ds")
1216 _value_types.append("UnboundedGridRangeD<1>")
1217 
1218 
1219 UnboundedGridRange2Ds=list
1220 _plural_types.append("UnboundedGridRange2Ds")
1221 _value_types.append("UnboundedGridRangeD<2>")
1222 
1223 
1224 UnboundedGridRange3Ds=list
1225 _plural_types.append("UnboundedGridRange3Ds")
1226 _value_types.append("UnboundedGridRangeD<3>")
1227 
1228 
1229 UnboundedGridRange4Ds=list
1230 _plural_types.append("UnboundedGridRange4Ds")
1231 _value_types.append("UnboundedGridRangeD<4>")
1232 
1233 
1234 UnboundedGridRange5Ds=list
1235 _plural_types.append("UnboundedGridRange5Ds")
1236 _value_types.append("UnboundedGridRangeD<5>")
1237 
1238 
1239 UnboundedGridRange6Ds=list
1240 _plural_types.append("UnboundedGridRange6Ds")
1241 _value_types.append("UnboundedGridRangeD<6>")
1242 
1243 
1244 UnboundedGridRangeKDs=list
1245 _plural_types.append("UnboundedGridRangeKDs")
1246 _value_types.append("UnboundedGridRangeKD")
1247 
1248 
1249 UnboundedGridRangeKDs=list
1250 _plural_types.append("UnboundedGridRangeKDs")
1251 _value_types.append("UnboundedGridRangeD<-1>")
1252 
1253 
1254 LinearFit2Ds=list
1255 _plural_types.append("LinearFit2Ds")
1256 _value_types.append("LinearFit2D")
1257 
1258 
1259 ParabolicFit2Ds=list
1260 _plural_types.append("ParabolicFit2Ds")
1261 _value_types.append("ParabolicFit2D")
1262 
1263 
1264 FixedXYZs=list
1265 _plural_types.append("FixedXYZs")
1266 _value_types.append("FixedXYZ")
1267 
1268 class _GeometricPrimitive1D(object):
1269  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1270  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1271 
1272  def __init__(self, *args, **kwargs):
1273  raise AttributeError("No constructor defined")
1274  __repr__ = _swig_repr
1275  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1276  __del__ = lambda self: None
1277 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1278 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1279 
1280 class _GeometricPrimitive2D(object):
1281  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1282  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1283 
1284  def __init__(self, *args, **kwargs):
1285  raise AttributeError("No constructor defined")
1286  __repr__ = _swig_repr
1287  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1288  __del__ = lambda self: None
1289 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1290 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1291 
1292 class _GeometricPrimitive3D(object):
1293  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1294  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1295 
1296  def __init__(self, *args, **kwargs):
1297  raise AttributeError("No constructor defined")
1298  __repr__ = _swig_repr
1299  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1300  __del__ = lambda self: None
1301 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1302 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1303 
1304 class _GeometricPrimitive4D(object):
1305  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1306  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1307 
1308  def __init__(self, *args, **kwargs):
1309  raise AttributeError("No constructor defined")
1310  __repr__ = _swig_repr
1311  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1312  __del__ = lambda self: None
1313 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1314 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1315 
1316 class _GeometricPrimitive5D(object):
1317  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1318  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1319 
1320  def __init__(self, *args, **kwargs):
1321  raise AttributeError("No constructor defined")
1322  __repr__ = _swig_repr
1323  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1324  __del__ = lambda self: None
1325 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1326 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1327 
1328 class _GeometricPrimitive6D(object):
1329  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1330  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1331 
1332  def __init__(self, *args, **kwargs):
1333  raise AttributeError("No constructor defined")
1334  __repr__ = _swig_repr
1335  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1336  __del__ = lambda self: None
1337 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1338 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1339 
1340 class _GeometricPrimitiveKD(object):
1341  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1342  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1343 
1344  def __init__(self, *args, **kwargs):
1345  raise AttributeError("No constructor defined")
1346  __repr__ = _swig_repr
1347  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1348  __del__ = lambda self: None
1349 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1350 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1351 
1352 
1353 Vector1Ds=list
1354 _plural_types.append("Vector1Ds")
1355 _value_types.append("Vector1D")
1356 
1357 
1358 Vector2Ds=list
1359 _plural_types.append("Vector2Ds")
1360 _value_types.append("Vector2D")
1361 
1362 
1363 Vector3Ds=list
1364 _plural_types.append("Vector3Ds")
1365 _value_types.append("Vector3D")
1366 
1367 
1368 Vector4Ds=list
1369 _plural_types.append("Vector4Ds")
1370 _value_types.append("Vector4D")
1371 
1372 
1373 Vector5Ds=list
1374 _plural_types.append("Vector5Ds")
1375 _value_types.append("Vector5D")
1376 
1377 
1378 Vector6Ds=list
1379 _plural_types.append("Vector6Ds")
1380 _value_types.append("Vector6D")
1381 
1382 
1383 Vector1Ds=list
1384 _plural_types.append("Vector1Ds")
1385 _value_types.append("VectorD<1>")
1386 
1387 
1388 Vector2Ds=list
1389 _plural_types.append("Vector2Ds")
1390 _value_types.append("VectorD<2>")
1391 
1392 
1393 Vector3Ds=list
1394 _plural_types.append("Vector3Ds")
1395 _value_types.append("VectorD<3>")
1396 
1397 
1398 Vector4Ds=list
1399 _plural_types.append("Vector4Ds")
1400 _value_types.append("VectorD<4>")
1401 
1402 
1403 Vector5Ds=list
1404 _plural_types.append("Vector5Ds")
1405 _value_types.append("VectorD<5>")
1406 
1407 
1408 Vector6Ds=list
1409 _plural_types.append("Vector6Ds")
1410 _value_types.append("VectorD<6>")
1411 
1412 
1413 VectorKDs=list
1414 _plural_types.append("VectorKDs")
1415 _value_types.append("VectorKD")
1416 
1417 
1418 VectorKDs=list
1419 _plural_types.append("VectorKDs")
1420 _value_types.append("VectorD<-1>")
1421 
1422 class _VectorBaseKD(_GeometricPrimitiveKD):
1423  """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1424  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1425  __repr__ = _swig_repr
1426 
1427  def __init__(self):
1428  """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1429  this = _IMP_algebra.new__VectorBaseKD()
1430  try:
1431  self.this.append(this)
1432  except:
1433  self.this = this
1434 
1435  def get_scalar_product(self, o):
1436  """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1437  return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1438 
1439 
1440  def get_squared_magnitude(self):
1441  """get_squared_magnitude(_VectorBaseKD self) -> double"""
1442  return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1443 
1444 
1445  def get_magnitude(self):
1446  """get_magnitude(_VectorBaseKD self) -> double"""
1447  return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1448 
1449 
1450  def __mul__(self, o):
1451  """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1452  return _IMP_algebra._VectorBaseKD___mul__(self, o)
1453 
1454 
1455  def __iadd__(self, o):
1456  """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1457  return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1458 
1459 
1460  def __isub__(self, o):
1461  """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1462  return _IMP_algebra._VectorBaseKD___isub__(self, o)
1463 
1464 
1465  def __idiv__(self, f):
1466  """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1467  return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1468 
1469 
1470  def __imul__(self, f):
1471  """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1472  return _IMP_algebra._VectorBaseKD___imul__(self, f)
1473 
1474 
1475  def show(self, *args):
1476  """
1477  show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1478  show(_VectorBaseKD self, _ostream out, std::string delim)
1479  show(_VectorBaseKD self, _ostream out)
1480  show(_VectorBaseKD self)
1481  """
1482  return _IMP_algebra._VectorBaseKD_show(self, *args)
1483 
1484 
1485  def get_dimension(self):
1486  """get_dimension(_VectorBaseKD self) -> unsigned int"""
1487  return _IMP_algebra._VectorBaseKD_get_dimension(self)
1488 
1489  __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1490  __del__ = lambda self: None
1491 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1492 _VectorBaseKD_swigregister(_VectorBaseKD)
1493 
1494 class _VectorBase1D(_GeometricPrimitive1D):
1495  """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1496  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1497  __repr__ = _swig_repr
1498 
1499  def __init__(self):
1500  """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1501  this = _IMP_algebra.new__VectorBase1D()
1502  try:
1503  self.this.append(this)
1504  except:
1505  self.this = this
1506 
1507  def get_scalar_product(self, o):
1508  """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1509  return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1510 
1511 
1512  def get_squared_magnitude(self):
1513  """get_squared_magnitude(_VectorBase1D self) -> double"""
1514  return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1515 
1516 
1517  def get_magnitude(self):
1518  """get_magnitude(_VectorBase1D self) -> double"""
1519  return _IMP_algebra._VectorBase1D_get_magnitude(self)
1520 
1521 
1522  def __mul__(self, o):
1523  """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1524  return _IMP_algebra._VectorBase1D___mul__(self, o)
1525 
1526 
1527  def __iadd__(self, o):
1528  """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1529  return _IMP_algebra._VectorBase1D___iadd__(self, o)
1530 
1531 
1532  def __isub__(self, o):
1533  """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1534  return _IMP_algebra._VectorBase1D___isub__(self, o)
1535 
1536 
1537  def __idiv__(self, f):
1538  """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1539  return _IMP_algebra._VectorBase1D___idiv__(self, f)
1540 
1541 
1542  def __imul__(self, f):
1543  """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1544  return _IMP_algebra._VectorBase1D___imul__(self, f)
1545 
1546 
1547  def show(self, *args):
1548  """
1549  show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1550  show(_VectorBase1D self, _ostream out, std::string delim)
1551  show(_VectorBase1D self, _ostream out)
1552  show(_VectorBase1D self)
1553  """
1554  return _IMP_algebra._VectorBase1D_show(self, *args)
1555 
1556 
1557  def get_dimension(self):
1558  """get_dimension(_VectorBase1D self) -> unsigned int"""
1559  return _IMP_algebra._VectorBase1D_get_dimension(self)
1560 
1561  __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1562  __del__ = lambda self: None
1563 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1564 _VectorBase1D_swigregister(_VectorBase1D)
1565 
1566 class _VectorBase2D(_GeometricPrimitive2D):
1567  """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1568  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1569  __repr__ = _swig_repr
1570 
1571  def __init__(self):
1572  """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1573  this = _IMP_algebra.new__VectorBase2D()
1574  try:
1575  self.this.append(this)
1576  except:
1577  self.this = this
1578 
1579  def get_scalar_product(self, o):
1580  """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1581  return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1582 
1583 
1584  def get_squared_magnitude(self):
1585  """get_squared_magnitude(_VectorBase2D self) -> double"""
1586  return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1587 
1588 
1589  def get_magnitude(self):
1590  """get_magnitude(_VectorBase2D self) -> double"""
1591  return _IMP_algebra._VectorBase2D_get_magnitude(self)
1592 
1593 
1594  def __mul__(self, o):
1595  """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1596  return _IMP_algebra._VectorBase2D___mul__(self, o)
1597 
1598 
1599  def __iadd__(self, o):
1600  """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1601  return _IMP_algebra._VectorBase2D___iadd__(self, o)
1602 
1603 
1604  def __isub__(self, o):
1605  """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1606  return _IMP_algebra._VectorBase2D___isub__(self, o)
1607 
1608 
1609  def __idiv__(self, f):
1610  """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1611  return _IMP_algebra._VectorBase2D___idiv__(self, f)
1612 
1613 
1614  def __imul__(self, f):
1615  """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1616  return _IMP_algebra._VectorBase2D___imul__(self, f)
1617 
1618 
1619  def show(self, *args):
1620  """
1621  show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1622  show(_VectorBase2D self, _ostream out, std::string delim)
1623  show(_VectorBase2D self, _ostream out)
1624  show(_VectorBase2D self)
1625  """
1626  return _IMP_algebra._VectorBase2D_show(self, *args)
1627 
1628 
1629  def get_dimension(self):
1630  """get_dimension(_VectorBase2D self) -> unsigned int"""
1631  return _IMP_algebra._VectorBase2D_get_dimension(self)
1632 
1633  __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1634  __del__ = lambda self: None
1635 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1636 _VectorBase2D_swigregister(_VectorBase2D)
1637 
1638 class _VectorBase3D(_GeometricPrimitive3D):
1639  """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1640  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1641  __repr__ = _swig_repr
1642 
1643  def __init__(self):
1644  """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1645  this = _IMP_algebra.new__VectorBase3D()
1646  try:
1647  self.this.append(this)
1648  except:
1649  self.this = this
1650 
1651  def get_scalar_product(self, o):
1652  """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1653  return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1654 
1655 
1656  def get_squared_magnitude(self):
1657  """get_squared_magnitude(_VectorBase3D self) -> double"""
1658  return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1659 
1660 
1661  def get_magnitude(self):
1662  """get_magnitude(_VectorBase3D self) -> double"""
1663  return _IMP_algebra._VectorBase3D_get_magnitude(self)
1664 
1665 
1666  def __mul__(self, o):
1667  """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1668  return _IMP_algebra._VectorBase3D___mul__(self, o)
1669 
1670 
1671  def __iadd__(self, o):
1672  """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1673  return _IMP_algebra._VectorBase3D___iadd__(self, o)
1674 
1675 
1676  def __isub__(self, o):
1677  """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1678  return _IMP_algebra._VectorBase3D___isub__(self, o)
1679 
1680 
1681  def __idiv__(self, f):
1682  """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1683  return _IMP_algebra._VectorBase3D___idiv__(self, f)
1684 
1685 
1686  def __imul__(self, f):
1687  """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1688  return _IMP_algebra._VectorBase3D___imul__(self, f)
1689 
1690 
1691  def show(self, *args):
1692  """
1693  show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1694  show(_VectorBase3D self, _ostream out, std::string delim)
1695  show(_VectorBase3D self, _ostream out)
1696  show(_VectorBase3D self)
1697  """
1698  return _IMP_algebra._VectorBase3D_show(self, *args)
1699 
1700 
1701  def get_dimension(self):
1702  """get_dimension(_VectorBase3D self) -> unsigned int"""
1703  return _IMP_algebra._VectorBase3D_get_dimension(self)
1704 
1705  __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1706  __del__ = lambda self: None
1707 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1708 _VectorBase3D_swigregister(_VectorBase3D)
1709 
1710 class _VectorBase4D(_GeometricPrimitive4D):
1711  """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1712  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1713  __repr__ = _swig_repr
1714 
1715  def __init__(self):
1716  """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1717  this = _IMP_algebra.new__VectorBase4D()
1718  try:
1719  self.this.append(this)
1720  except:
1721  self.this = this
1722 
1723  def get_scalar_product(self, o):
1724  """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1725  return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1726 
1727 
1728  def get_squared_magnitude(self):
1729  """get_squared_magnitude(_VectorBase4D self) -> double"""
1730  return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1731 
1732 
1733  def get_magnitude(self):
1734  """get_magnitude(_VectorBase4D self) -> double"""
1735  return _IMP_algebra._VectorBase4D_get_magnitude(self)
1736 
1737 
1738  def __mul__(self, o):
1739  """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1740  return _IMP_algebra._VectorBase4D___mul__(self, o)
1741 
1742 
1743  def __iadd__(self, o):
1744  """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1745  return _IMP_algebra._VectorBase4D___iadd__(self, o)
1746 
1747 
1748  def __isub__(self, o):
1749  """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1750  return _IMP_algebra._VectorBase4D___isub__(self, o)
1751 
1752 
1753  def __idiv__(self, f):
1754  """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1755  return _IMP_algebra._VectorBase4D___idiv__(self, f)
1756 
1757 
1758  def __imul__(self, f):
1759  """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1760  return _IMP_algebra._VectorBase4D___imul__(self, f)
1761 
1762 
1763  def show(self, *args):
1764  """
1765  show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1766  show(_VectorBase4D self, _ostream out, std::string delim)
1767  show(_VectorBase4D self, _ostream out)
1768  show(_VectorBase4D self)
1769  """
1770  return _IMP_algebra._VectorBase4D_show(self, *args)
1771 
1772 
1773  def get_dimension(self):
1774  """get_dimension(_VectorBase4D self) -> unsigned int"""
1775  return _IMP_algebra._VectorBase4D_get_dimension(self)
1776 
1777  __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1778  __del__ = lambda self: None
1779 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1780 _VectorBase4D_swigregister(_VectorBase4D)
1781 
1782 class _VectorBase5D(_GeometricPrimitive5D):
1783  """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1784  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1785  __repr__ = _swig_repr
1786 
1787  def __init__(self):
1788  """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1789  this = _IMP_algebra.new__VectorBase5D()
1790  try:
1791  self.this.append(this)
1792  except:
1793  self.this = this
1794 
1795  def get_scalar_product(self, o):
1796  """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1797  return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1798 
1799 
1800  def get_squared_magnitude(self):
1801  """get_squared_magnitude(_VectorBase5D self) -> double"""
1802  return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1803 
1804 
1805  def get_magnitude(self):
1806  """get_magnitude(_VectorBase5D self) -> double"""
1807  return _IMP_algebra._VectorBase5D_get_magnitude(self)
1808 
1809 
1810  def __mul__(self, o):
1811  """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1812  return _IMP_algebra._VectorBase5D___mul__(self, o)
1813 
1814 
1815  def __iadd__(self, o):
1816  """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1817  return _IMP_algebra._VectorBase5D___iadd__(self, o)
1818 
1819 
1820  def __isub__(self, o):
1821  """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1822  return _IMP_algebra._VectorBase5D___isub__(self, o)
1823 
1824 
1825  def __idiv__(self, f):
1826  """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1827  return _IMP_algebra._VectorBase5D___idiv__(self, f)
1828 
1829 
1830  def __imul__(self, f):
1831  """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1832  return _IMP_algebra._VectorBase5D___imul__(self, f)
1833 
1834 
1835  def show(self, *args):
1836  """
1837  show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1838  show(_VectorBase5D self, _ostream out, std::string delim)
1839  show(_VectorBase5D self, _ostream out)
1840  show(_VectorBase5D self)
1841  """
1842  return _IMP_algebra._VectorBase5D_show(self, *args)
1843 
1844 
1845  def get_dimension(self):
1846  """get_dimension(_VectorBase5D self) -> unsigned int"""
1847  return _IMP_algebra._VectorBase5D_get_dimension(self)
1848 
1849  __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1850  __del__ = lambda self: None
1851 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1852 _VectorBase5D_swigregister(_VectorBase5D)
1853 
1854 class _VectorBase6D(_GeometricPrimitive6D):
1855  """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1856  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1857  __repr__ = _swig_repr
1858 
1859  def __init__(self):
1860  """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1861  this = _IMP_algebra.new__VectorBase6D()
1862  try:
1863  self.this.append(this)
1864  except:
1865  self.this = this
1866 
1867  def get_scalar_product(self, o):
1868  """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1869  return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1870 
1871 
1872  def get_squared_magnitude(self):
1873  """get_squared_magnitude(_VectorBase6D self) -> double"""
1874  return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1875 
1876 
1877  def get_magnitude(self):
1878  """get_magnitude(_VectorBase6D self) -> double"""
1879  return _IMP_algebra._VectorBase6D_get_magnitude(self)
1880 
1881 
1882  def __mul__(self, o):
1883  """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1884  return _IMP_algebra._VectorBase6D___mul__(self, o)
1885 
1886 
1887  def __iadd__(self, o):
1888  """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1889  return _IMP_algebra._VectorBase6D___iadd__(self, o)
1890 
1891 
1892  def __isub__(self, o):
1893  """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1894  return _IMP_algebra._VectorBase6D___isub__(self, o)
1895 
1896 
1897  def __idiv__(self, f):
1898  """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1899  return _IMP_algebra._VectorBase6D___idiv__(self, f)
1900 
1901 
1902  def __imul__(self, f):
1903  """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1904  return _IMP_algebra._VectorBase6D___imul__(self, f)
1905 
1906 
1907  def show(self, *args):
1908  """
1909  show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1910  show(_VectorBase6D self, _ostream out, std::string delim)
1911  show(_VectorBase6D self, _ostream out)
1912  show(_VectorBase6D self)
1913  """
1914  return _IMP_algebra._VectorBase6D_show(self, *args)
1915 
1916 
1917  def get_dimension(self):
1918  """get_dimension(_VectorBase6D self) -> unsigned int"""
1919  return _IMP_algebra._VectorBase6D_get_dimension(self)
1920 
1921  __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1922  __del__ = lambda self: None
1923 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1924 _VectorBase6D_swigregister(_VectorBase6D)
1925 
1926 
1927 def get_basis_vector_kd(D, coordinate):
1928  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1929  return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1930 
1931 def get_zero_vector_kd(D):
1932  """get_zero_vector_kd(int D) -> VectorKD"""
1933  return _IMP_algebra.get_zero_vector_kd(D)
1934 
1935 def get_ones_vector_kd(D, v=1):
1936  """
1937  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1938  get_ones_vector_kd(unsigned int D) -> VectorKD
1939  """
1940  return _IMP_algebra.get_ones_vector_kd(D, v)
1941 
1942 def get_vector_product(p1, p2):
1943  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1944  return _IMP_algebra.get_vector_product(p1, p2)
1945 
1946 def get_orthogonal_vector(v):
1947  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1948  return _IMP_algebra.get_orthogonal_vector(v)
1949 
1950 def get_centroid(ps):
1951  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1952  return _IMP_algebra.get_centroid(ps)
1953 
1954 def get_radius_of_gyration(ps):
1955  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1956  return _IMP_algebra.get_radius_of_gyration(ps)
1957 class Rotation3D(_GeometricPrimitive3D):
1958  """Proxy of C++ IMP::algebra::Rotation3D class"""
1959  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1960 
1961  def __init__(self, *args):
1962  """
1963  __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1964  __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1965  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1966  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1967  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1968  """
1969  this = _IMP_algebra.new_Rotation3D(*args)
1970  try:
1971  self.this.append(this)
1972  except:
1973  self.this = this
1974  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1975  __del__ = lambda self: None
1976 
1977  def get_rotated_no_cache(self, o):
1978  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1979  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1980 
1981 
1982  def get_rotated_one_coordinate_no_cache(self, o, coord):
1983  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1984  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1985 
1986 
1987  def get_rotated(self, o):
1988  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1989  return _IMP_algebra.Rotation3D_get_rotated(self, o)
1990 
1991 
1992  def get_rotated_adjoint(self, v, Dw):
1993  """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
1994  return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
1995 
1996 
1997  def get_rotated_one_coordinate(self, o, coord):
1998  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1999  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
2000 
2001 
2002  def get_rotation_matrix_row(self, i):
2003  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
2004  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
2005 
2006 
2007  def show(self, *args):
2008  """
2009  show(Rotation3D self, _ostream out)
2010  show(Rotation3D self)
2011  """
2012  return _IMP_algebra.Rotation3D_show(self, *args)
2013 
2014 
2015  def get_inverse(self):
2016  """get_inverse(Rotation3D self) -> Rotation3D"""
2017  return _IMP_algebra.Rotation3D_get_inverse(self)
2018 
2019 
2020  def get_quaternion(self):
2021  """get_quaternion(Rotation3D self) -> Vector4D"""
2022  return _IMP_algebra.Rotation3D_get_quaternion(self)
2023 
2024 
2025  def __mul__(self, *args):
2026  """
2027  __mul__(Rotation3D self, Vector3D v) -> Vector3D
2028  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
2029  """
2030  return _IMP_algebra.Rotation3D___mul__(self, *args)
2031 
2032 
2033  def __div__(self, r):
2034  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
2035  return _IMP_algebra.Rotation3D___div__(self, r)
2036 
2037 
2038  def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
2039  """
2040  get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
2041  get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2042  """
2043  return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
2044 
2045 
2046  def get_derivative(self, v, i, wrt_unnorm=True):
2047  """
2048  get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
2049  get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2050  """
2051  return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
2052 
2053 
2054  def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
2055  """
2056  get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2057  get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2058  """
2059  return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2060 
2061 
2062  def get_gradient(self, v, wrt_unnorm=True):
2063  """
2064  get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2065  get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2066  """
2067  return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2068 
2069 
2070  def get_is_valid(self):
2071  """get_is_valid(Rotation3D self) -> bool"""
2072  return _IMP_algebra.Rotation3D_get_is_valid(self)
2073 
2074 
2075  def __str__(self):
2076  """__str__(Rotation3D self) -> std::string"""
2077  return _IMP_algebra.Rotation3D___str__(self)
2078 
2079 
2080  def __repr__(self):
2081  """__repr__(Rotation3D self) -> std::string"""
2082  return _IMP_algebra.Rotation3D___repr__(self)
2083 
2084 
2085  __truediv__ = __div__
2086 
2087 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2088 Rotation3D_swigregister(Rotation3D)
2089 
2090 
2091 def get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm=False):
2092  """
2093  get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2094  get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2095  """
2096  return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2097 
2098 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2099  """
2100  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2101  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2102  """
2103  return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2104 
2105 def get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm=False):
2106  """
2107  get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2108  get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2109  """
2110  return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2111 
2112 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2113  """
2114  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2115  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2116  """
2117  return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2118 
2120  """get_identity_rotation_3d() -> Rotation3D"""
2121  return _IMP_algebra.get_identity_rotation_3d()
2122 
2123 def get_rotation_about_normalized_axis(axis_norm, angle):
2124  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2125  return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2126 
2127 def get_rotation_about_axis(axis, angle):
2128  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2129  return _IMP_algebra.get_rotation_about_axis(axis, angle)
2130 
2132  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2133  return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2134 
2135 def get_rotation_from_matrix(*args):
2136  """
2137  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2138  get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2139  """
2140  return _IMP_algebra.get_rotation_from_matrix(*args)
2141 
2142 def get_random_rotation_3d(*args):
2143  """
2144  get_random_rotation_3d() -> Rotation3D
2145  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2146  """
2147  return _IMP_algebra.get_random_rotation_3d(*args)
2148 
2149 def get_uniform_cover_rotations_3d(num_points):
2150  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2151  return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2152 
2154  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2155  return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2156 
2158  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2159  return _IMP_algebra.get_rotation_from_vector4d(v)
2160 
2161 def get_rotation_from_fixed_xyz(xr, yr, zr):
2162  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2163  return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2164 
2165 def get_rotation_from_fixed_zxz(phi, theta, psi):
2166  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2167  return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2168 
2169 def get_rotation_from_fixed_zyz(Rot, Tilt, Psi):
2170  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2171  return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2172 class FixedXYZ(_GeometricPrimitive3D):
2173  """Proxy of C++ IMP::algebra::FixedXYZ class"""
2174  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2175 
2176  def __init__(self, *args):
2177  """
2178  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2179  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2180  """
2181  this = _IMP_algebra.new_FixedXYZ(*args)
2182  try:
2183  self.this.append(this)
2184  except:
2185  self.this = this
2186 
2187  def get_x(self):
2188  """get_x(FixedXYZ self) -> double"""
2189  return _IMP_algebra.FixedXYZ_get_x(self)
2190 
2191 
2192  def get_y(self):
2193  """get_y(FixedXYZ self) -> double"""
2194  return _IMP_algebra.FixedXYZ_get_y(self)
2195 
2196 
2197  def get_z(self):
2198  """get_z(FixedXYZ self) -> double"""
2199  return _IMP_algebra.FixedXYZ_get_z(self)
2200 
2201 
2202  def show(self, *args):
2203  """
2204  show(FixedXYZ self, _ostream out)
2205  show(FixedXYZ self)
2206  """
2207  return _IMP_algebra.FixedXYZ_show(self, *args)
2208 
2209 
2210  def __str__(self):
2211  """__str__(FixedXYZ self) -> std::string"""
2212  return _IMP_algebra.FixedXYZ___str__(self)
2213 
2214 
2215  def __repr__(self):
2216  """__repr__(FixedXYZ self) -> std::string"""
2217  return _IMP_algebra.FixedXYZ___repr__(self)
2218 
2219  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2220  __del__ = lambda self: None
2221 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2222 FixedXYZ_swigregister(FixedXYZ)
2223 
2224 
2226  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2227  return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2228 
2229 def get_interpolated(a, b, f):
2230  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2231  return _IMP_algebra.get_interpolated(a, b, f)
2232 
2233 def get_rotation_from_x_y_axes(x, y):
2234  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2235  return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2236 
2237 def get_axis_and_angle(rot):
2238  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2239  return _IMP_algebra.get_axis_and_angle(rot)
2240 
2242  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2243  return _IMP_algebra.get_unit_bounding_box_kd(d)
2244 
2245 def get_cube_kd(d, radius):
2246  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2247  return _IMP_algebra.get_cube_kd(d, radius)
2248 
2249 def get_edges(arg1):
2250  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2251  return _IMP_algebra.get_edges(arg1)
2252 class Transformation3D(_GeometricPrimitive3D):
2253  """Proxy of C++ IMP::algebra::Transformation3D class"""
2254  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2255 
2256  def __init__(self, *args):
2257  """
2258  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2259  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2260  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2261  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2262  """
2263  this = _IMP_algebra.new_Transformation3D(*args)
2264  try:
2265  self.this.append(this)
2266  except:
2267  self.this = this
2268  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2269  __del__ = lambda self: None
2270 
2271  def get_transformed(self, o):
2272  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2273  return _IMP_algebra.Transformation3D_get_transformed(self, o)
2274 
2275 
2276  def get_transformed_adjoint(self, v, Dw):
2277  """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2278  return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2279 
2280 
2281  def __mul__(self, *args):
2282  """
2283  __mul__(Transformation3D self, Vector3D v) -> Vector3D
2284  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2285  """
2286  return _IMP_algebra.Transformation3D___mul__(self, *args)
2287 
2288 
2289  def __div__(self, b):
2290  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2291  return _IMP_algebra.Transformation3D___div__(self, b)
2292 
2293 
2294  def get_rotation(self):
2295  """get_rotation(Transformation3D self) -> Rotation3D"""
2296  return _IMP_algebra.Transformation3D_get_rotation(self)
2297 
2298 
2299  def get_translation(self):
2300  """get_translation(Transformation3D self) -> Vector3D"""
2301  return _IMP_algebra.Transformation3D_get_translation(self)
2302 
2303 
2304  def show(self, *args):
2305  """
2306  show(Transformation3D self, _ostream out)
2307  show(Transformation3D self)
2308  """
2309  return _IMP_algebra.Transformation3D_show(self, *args)
2310 
2311 
2312  def get_inverse(self):
2313  """get_inverse(Transformation3D self) -> Transformation3D"""
2314  return _IMP_algebra.Transformation3D_get_inverse(self)
2315 
2316 
2317  def get_is_valid(self):
2318  """get_is_valid(Transformation3D self) -> bool"""
2319  return _IMP_algebra.Transformation3D_get_is_valid(self)
2320 
2321 
2322  def __str__(self):
2323  """__str__(Transformation3D self) -> std::string"""
2324  return _IMP_algebra.Transformation3D___str__(self)
2325 
2326 
2327  def __repr__(self):
2328  """__repr__(Transformation3D self) -> std::string"""
2329  return _IMP_algebra.Transformation3D___repr__(self)
2330 
2331 
2332  __truediv__ = __div__
2333 
2334 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2335 Transformation3D_swigregister(Transformation3D)
2336 
2337 
2339  """get_identity_transformation_3d() -> Transformation3D"""
2340  return _IMP_algebra.get_identity_transformation_3d()
2341 
2342 def compose_adjoint(*args):
2343  """
2344  compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2345  compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2346  """
2347  return _IMP_algebra.compose_adjoint(*args)
2348 
2349 def get_transformation_3d(t2d):
2350  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2351  return _IMP_algebra.get_transformation_3d(t2d)
2352 
2353 def get_random_local_transformation(origin, max_translation=5., max_angle_in_rad=0.26):
2354  """
2355  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2356  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2357  get_random_local_transformation(Vector3D origin) -> Transformation3D
2358  """
2359  return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2360 class Rotation2D(_GeometricPrimitive2D):
2361  """Proxy of C++ IMP::algebra::Rotation2D class"""
2362  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2363 
2364  def __init__(self, *args):
2365  """
2366  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2367  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2368  """
2369  this = _IMP_algebra.new_Rotation2D(*args)
2370  try:
2371  self.this.append(this)
2372  except:
2373  self.this = this
2374 
2375  def get_rotated(self, *args):
2376  """
2377  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2378  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2379  """
2380  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2381 
2382 
2383  def get_inverse(self):
2384  """get_inverse(Rotation2D self) -> Rotation2D"""
2385  return _IMP_algebra.Rotation2D_get_inverse(self)
2386 
2387 
2388  def set_angle(self, angle):
2389  """set_angle(Rotation2D self, double angle)"""
2390  return _IMP_algebra.Rotation2D_set_angle(self, angle)
2391 
2392 
2393  def get_angle(self):
2394  """get_angle(Rotation2D self) -> double"""
2395  return _IMP_algebra.Rotation2D_get_angle(self)
2396 
2397 
2398  def show(self, *args):
2399  """
2400  show(Rotation2D self, _ostream out)
2401  show(Rotation2D self)
2402  """
2403  return _IMP_algebra.Rotation2D_show(self, *args)
2404 
2405 
2406  def __str__(self):
2407  """__str__(Rotation2D self) -> std::string"""
2408  return _IMP_algebra.Rotation2D___str__(self)
2409 
2410 
2411  def __repr__(self):
2412  """__repr__(Rotation2D self) -> std::string"""
2413  return _IMP_algebra.Rotation2D___repr__(self)
2414 
2415  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2416  __del__ = lambda self: None
2417 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2418 Rotation2D_swigregister(Rotation2D)
2419 
2420 
2422  """get_identity_rotation_2d() -> Rotation2D"""
2423  return _IMP_algebra.get_identity_rotation_2d()
2424 
2426  """get_random_rotation_2d() -> Rotation2D"""
2427  return _IMP_algebra.get_random_rotation_2d()
2428 
2429 def get_rotation_to_x_axis(v):
2430  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2431  return _IMP_algebra.get_rotation_to_x_axis(v)
2432 class Transformation2D(_GeometricPrimitive2D):
2433  """Proxy of C++ IMP::algebra::Transformation2D class"""
2434  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2435 
2436  def __init__(self, *args):
2437  """
2438  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2439  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2440  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2441  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2442  """
2443  this = _IMP_algebra.new_Transformation2D(*args)
2444  try:
2445  self.this.append(this)
2446  except:
2447  self.this = this
2448  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2449  __del__ = lambda self: None
2450 
2451  def get_transformed(self, o):
2452  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2453  return _IMP_algebra.Transformation2D_get_transformed(self, o)
2454 
2455 
2456  def __mul__(self, *args):
2457  """
2458  __mul__(Transformation2D self, Vector2D v) -> Vector2D
2459  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2460  """
2461  return _IMP_algebra.Transformation2D___mul__(self, *args)
2462 
2463 
2464  def __div__(self, b):
2465  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2466  return _IMP_algebra.Transformation2D___div__(self, b)
2467 
2468 
2469  def get_rotation(self):
2470  """get_rotation(Transformation2D self) -> Rotation2D"""
2471  return _IMP_algebra.Transformation2D_get_rotation(self)
2472 
2473 
2474  def set_rotation(self, angle):
2475  """set_rotation(Transformation2D self, double angle)"""
2476  return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2477 
2478 
2479  def get_translation(self):
2480  """get_translation(Transformation2D self) -> Vector2D"""
2481  return _IMP_algebra.Transformation2D_get_translation(self)
2482 
2483 
2484  def set_translation(self, v):
2485  """set_translation(Transformation2D self, Vector2D v)"""
2486  return _IMP_algebra.Transformation2D_set_translation(self, v)
2487 
2488 
2489  def show(self, *args):
2490  """
2491  show(Transformation2D self, _ostream out)
2492  show(Transformation2D self)
2493  """
2494  return _IMP_algebra.Transformation2D_show(self, *args)
2495 
2496 
2497  def get_inverse(self):
2498  """get_inverse(Transformation2D self) -> Transformation2D"""
2499  return _IMP_algebra.Transformation2D_get_inverse(self)
2500 
2501 
2502  def __str__(self):
2503  """__str__(Transformation2D self) -> std::string"""
2504  return _IMP_algebra.Transformation2D___str__(self)
2505 
2506 
2507  def __repr__(self):
2508  """__repr__(Transformation2D self) -> std::string"""
2509  return _IMP_algebra.Transformation2D___repr__(self)
2510 
2511 
2512  __truediv__ = __div__
2513 
2514 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2515 Transformation2D_swigregister(Transformation2D)
2516 
2517 
2519  """get_identity_transformation_2d() -> Transformation2D"""
2520  return _IMP_algebra.get_identity_transformation_2d()
2521 
2522 def get_rotation_about_point(*args):
2523  """
2524  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2525  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2526  """
2527  return _IMP_algebra.get_rotation_about_point(*args)
2528 
2529 def compose(*args):
2530  """
2531  compose(Rotation3D a, Rotation3D b) -> Rotation3D
2532  compose(Transformation3D a, Transformation3D b) -> Transformation3D
2533  compose(Rotation2D a, Rotation2D b) -> Rotation2D
2534  compose(Transformation2D a, Transformation2D b) -> Transformation2D
2535  """
2536  return _IMP_algebra.compose(*args)
2537 
2538 def get_unit_sphere_kd(d):
2539  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2540  return _IMP_algebra.get_unit_sphere_kd(d)
2541 
2542 def get_enclosing_sphere(*args):
2543  """
2544  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2545  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2546  """
2547  return _IMP_algebra.get_enclosing_sphere(*args)
2548 
2549 def get_ball_radius_from_volume_3d(volume):
2550  """get_ball_radius_from_volume_3d(double volume) -> double"""
2551  return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2552 
2554  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2555  return _IMP_algebra.get_surface_area_and_volume(ss)
2556 
2557 def get_simplified_from_volume(arg1, maximum_allowed_error_angstroms):
2558  """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2559  return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2560 
2561 def get_triangle_3d(s):
2562  """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2563  return _IMP_algebra.get_triangle_3d(s)
2564 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2565  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class"""
2566  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2567 
2568  def __init__(self, *args, **kwargs):
2569  raise AttributeError("No constructor defined - class is abstract")
2570  __repr__ = _swig_repr
2571 
2572  def get_dimension(self):
2573  """get_dimension(_UnitSimplexBaseKD self) -> int"""
2574  return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2575 
2576 
2577  def get_barycenter(self):
2578  """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2579  return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2580 
2581 
2582  def get_contains(self, *args):
2583  """
2584  get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2585  get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2586  """
2587  return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2588 
2589  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2590  __del__ = lambda self: None
2591 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2592 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2593 
2594 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2595  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class"""
2596  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2597 
2598  def __init__(self, *args, **kwargs):
2599  raise AttributeError("No constructor defined - class is abstract")
2600  __repr__ = _swig_repr
2601 
2602  def get_dimension(self):
2603  """get_dimension(_UnitSimplexBase1D self) -> int"""
2604  return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2605 
2606 
2607  def get_barycenter(self):
2608  """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2609  return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2610 
2611 
2612  def get_contains(self, *args):
2613  """
2614  get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2615  get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2616  """
2617  return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2618 
2619  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2620  __del__ = lambda self: None
2621 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2622 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2623 
2624 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2625  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class"""
2626  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2627 
2628  def __init__(self, *args, **kwargs):
2629  raise AttributeError("No constructor defined - class is abstract")
2630  __repr__ = _swig_repr
2631 
2632  def get_dimension(self):
2633  """get_dimension(_UnitSimplexBase2D self) -> int"""
2634  return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2635 
2636 
2637  def get_barycenter(self):
2638  """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2639  return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2640 
2641 
2642  def get_contains(self, *args):
2643  """
2644  get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2645  get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2646  """
2647  return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2648 
2649  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2650  __del__ = lambda self: None
2651 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2652 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2653 
2654 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2655  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class"""
2656  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2657 
2658  def __init__(self, *args, **kwargs):
2659  raise AttributeError("No constructor defined - class is abstract")
2660  __repr__ = _swig_repr
2661 
2662  def get_dimension(self):
2663  """get_dimension(_UnitSimplexBase3D self) -> int"""
2664  return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2665 
2666 
2667  def get_barycenter(self):
2668  """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2669  return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2670 
2671 
2672  def get_contains(self, *args):
2673  """
2674  get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2675  get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2676  """
2677  return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2678 
2679  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2680  __del__ = lambda self: None
2681 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2682 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2683 
2684 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2685  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class"""
2686  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2687 
2688  def __init__(self, *args, **kwargs):
2689  raise AttributeError("No constructor defined - class is abstract")
2690  __repr__ = _swig_repr
2691 
2692  def get_dimension(self):
2693  """get_dimension(_UnitSimplexBase4D self) -> int"""
2694  return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2695 
2696 
2697  def get_barycenter(self):
2698  """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2699  return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2700 
2701 
2702  def get_contains(self, *args):
2703  """
2704  get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2705  get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2706  """
2707  return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2708 
2709  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2710  __del__ = lambda self: None
2711 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2712 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2713 
2714 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2715  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class"""
2716  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2717 
2718  def __init__(self, *args, **kwargs):
2719  raise AttributeError("No constructor defined - class is abstract")
2720  __repr__ = _swig_repr
2721 
2722  def get_dimension(self):
2723  """get_dimension(_UnitSimplexBase5D self) -> int"""
2724  return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2725 
2726 
2727  def get_barycenter(self):
2728  """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2729  return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2730 
2731 
2732  def get_contains(self, *args):
2733  """
2734  get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2735  get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2736  """
2737  return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2738 
2739  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2740  __del__ = lambda self: None
2741 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2742 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2743 
2744 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2745  """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class"""
2746  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2747 
2748  def __init__(self, *args, **kwargs):
2749  raise AttributeError("No constructor defined - class is abstract")
2750  __repr__ = _swig_repr
2751 
2752  def get_dimension(self):
2753  """get_dimension(_UnitSimplexBase6D self) -> int"""
2754  return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2755 
2756 
2757  def get_barycenter(self):
2758  """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2759  return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2760 
2761 
2762  def get_contains(self, *args):
2763  """
2764  get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2765  get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2766  """
2767  return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2768 
2769  __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2770  __del__ = lambda self: None
2771 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2772 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2773 
2774 class Vector1D(_VectorBase1D):
2775  """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2776  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2777 
2778  def get_unit_vector(self):
2779  """get_unit_vector(Vector1D self) -> Vector1D"""
2780  return _IMP_algebra.Vector1D_get_unit_vector(self)
2781 
2782 
2783  def __div__(self, s):
2784  """__div__(Vector1D self, double s) -> Vector1D"""
2785  return _IMP_algebra.Vector1D___div__(self, s)
2786 
2787 
2788  def __neg__(self):
2789  """__neg__(Vector1D self) -> Vector1D"""
2790  return _IMP_algebra.Vector1D___neg__(self)
2791 
2792 
2793  def __sub__(self, o):
2794  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2795  return _IMP_algebra.Vector1D___sub__(self, o)
2796 
2797 
2798  def __add__(self, ret):
2799  """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2800  return _IMP_algebra.Vector1D___add__(self, ret)
2801 
2802 
2803  def __mul__(self, *args):
2804  """
2805  __mul__(Vector1D self, double s) -> Vector1D
2806  __mul__(Vector1D self, Vector1D o) -> double
2807  """
2808  return _IMP_algebra.Vector1D___mul__(self, *args)
2809 
2810 
2811  def __init__(self, *args):
2812  """
2813  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2814  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2815  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2816  """
2817  this = _IMP_algebra.new_Vector1D(*args)
2818  try:
2819  self.this.append(this)
2820  except:
2821  self.this = this
2822 
2823  def __iadd__(self, *args):
2824  _IMP_algebra.Vector1D___iadd__(self, *args)
2825  return self
2826 
2827 
2828 
2829  def __imul__(self, *args):
2830  _IMP_algebra.Vector1D___imul__(self, *args)
2831  return self
2832 
2833 
2834 
2835  def __idiv__(self, *args):
2836  _IMP_algebra.Vector1D___idiv__(self, *args)
2837  return self
2838 
2839 
2840 
2841  def __isub__(self, *args):
2842  _IMP_algebra.Vector1D___isub__(self, *args)
2843  return self
2844 
2845 
2846 
2847  def __len__(self):
2848  """__len__(Vector1D self) -> unsigned int"""
2849  return _IMP_algebra.Vector1D___len__(self)
2850 
2851 
2852  def __rmul__(self, f):
2853  """__rmul__(Vector1D self, double f) -> Vector1D"""
2854  return _IMP_algebra.Vector1D___rmul__(self, f)
2855 
2856 
2857  def __str__(self):
2858  """__str__(Vector1D self) -> std::string"""
2859  return _IMP_algebra.Vector1D___str__(self)
2860 
2861 
2862  def __repr__(self):
2863  """__repr__(Vector1D self) -> std::string"""
2864  return _IMP_algebra.Vector1D___repr__(self)
2865 
2866 
2867  def __cmp__(self, arg2):
2868  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2869  return _IMP_algebra.Vector1D___cmp__(self, arg2)
2870 
2871 
2872  def __eq__(self, arg2):
2873  """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2874  return _IMP_algebra.Vector1D___eq__(self, arg2)
2875 
2876 
2877  __truediv__ = __div__
2878  __itruediv__ = __idiv__
2879 
2880 
2881  def __getitem__(self, index):
2882  """__getitem__(Vector1D self, int index) -> double"""
2883  return _IMP_algebra.Vector1D___getitem__(self, index)
2884 
2885 
2886  def __setitem__(self, index, val):
2887  """__setitem__(Vector1D self, int index, double val)"""
2888  return _IMP_algebra.Vector1D___setitem__(self, index, val)
2889 
2890  __swig_destroy__ = _IMP_algebra.delete_Vector1D
2891  __del__ = lambda self: None
2892 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2893 Vector1D_swigregister(Vector1D)
2894 
2895 class Vector2D(_VectorBase2D):
2896  """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2897  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2898 
2899  def get_unit_vector(self):
2900  """get_unit_vector(Vector2D self) -> Vector2D"""
2901  return _IMP_algebra.Vector2D_get_unit_vector(self)
2902 
2903 
2904  def __div__(self, s):
2905  """__div__(Vector2D self, double s) -> Vector2D"""
2906  return _IMP_algebra.Vector2D___div__(self, s)
2907 
2908 
2909  def __neg__(self):
2910  """__neg__(Vector2D self) -> Vector2D"""
2911  return _IMP_algebra.Vector2D___neg__(self)
2912 
2913 
2914  def __sub__(self, o):
2915  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2916  return _IMP_algebra.Vector2D___sub__(self, o)
2917 
2918 
2919  def __add__(self, ret):
2920  """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2921  return _IMP_algebra.Vector2D___add__(self, ret)
2922 
2923 
2924  def __mul__(self, *args):
2925  """
2926  __mul__(Vector2D self, double s) -> Vector2D
2927  __mul__(Vector2D self, Vector2D o) -> double
2928  """
2929  return _IMP_algebra.Vector2D___mul__(self, *args)
2930 
2931 
2932  def __init__(self, *args):
2933  """
2934  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2935  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2936  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2937  """
2938  this = _IMP_algebra.new_Vector2D(*args)
2939  try:
2940  self.this.append(this)
2941  except:
2942  self.this = this
2943 
2944  def __iadd__(self, *args):
2945  _IMP_algebra.Vector2D___iadd__(self, *args)
2946  return self
2947 
2948 
2949 
2950  def __imul__(self, *args):
2951  _IMP_algebra.Vector2D___imul__(self, *args)
2952  return self
2953 
2954 
2955 
2956  def __idiv__(self, *args):
2957  _IMP_algebra.Vector2D___idiv__(self, *args)
2958  return self
2959 
2960 
2961 
2962  def __isub__(self, *args):
2963  _IMP_algebra.Vector2D___isub__(self, *args)
2964  return self
2965 
2966 
2967 
2968  def __len__(self):
2969  """__len__(Vector2D self) -> unsigned int"""
2970  return _IMP_algebra.Vector2D___len__(self)
2971 
2972 
2973  def __rmul__(self, f):
2974  """__rmul__(Vector2D self, double f) -> Vector2D"""
2975  return _IMP_algebra.Vector2D___rmul__(self, f)
2976 
2977 
2978  def __str__(self):
2979  """__str__(Vector2D self) -> std::string"""
2980  return _IMP_algebra.Vector2D___str__(self)
2981 
2982 
2983  def __repr__(self):
2984  """__repr__(Vector2D self) -> std::string"""
2985  return _IMP_algebra.Vector2D___repr__(self)
2986 
2987 
2988  def __cmp__(self, arg2):
2989  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2990  return _IMP_algebra.Vector2D___cmp__(self, arg2)
2991 
2992 
2993  def __eq__(self, arg2):
2994  """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2995  return _IMP_algebra.Vector2D___eq__(self, arg2)
2996 
2997 
2998  __truediv__ = __div__
2999  __itruediv__ = __idiv__
3000 
3001 
3002  def __getitem__(self, index):
3003  """__getitem__(Vector2D self, int index) -> double"""
3004  return _IMP_algebra.Vector2D___getitem__(self, index)
3005 
3006 
3007  def __setitem__(self, index, val):
3008  """__setitem__(Vector2D self, int index, double val)"""
3009  return _IMP_algebra.Vector2D___setitem__(self, index, val)
3010 
3011  __swig_destroy__ = _IMP_algebra.delete_Vector2D
3012  __del__ = lambda self: None
3013 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
3014 Vector2D_swigregister(Vector2D)
3015 
3016 class Vector3D(_VectorBase3D):
3017  """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
3018  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3019 
3020  def get_unit_vector(self):
3021  """get_unit_vector(Vector3D self) -> Vector3D"""
3022  return _IMP_algebra.Vector3D_get_unit_vector(self)
3023 
3024 
3025  def __div__(self, s):
3026  """__div__(Vector3D self, double s) -> Vector3D"""
3027  return _IMP_algebra.Vector3D___div__(self, s)
3028 
3029 
3030  def __neg__(self):
3031  """__neg__(Vector3D self) -> Vector3D"""
3032  return _IMP_algebra.Vector3D___neg__(self)
3033 
3034 
3035  def __sub__(self, o):
3036  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
3037  return _IMP_algebra.Vector3D___sub__(self, o)
3038 
3039 
3040  def __add__(self, ret):
3041  """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
3042  return _IMP_algebra.Vector3D___add__(self, ret)
3043 
3044 
3045  def __mul__(self, *args):
3046  """
3047  __mul__(Vector3D self, double s) -> Vector3D
3048  __mul__(Vector3D self, Vector3D o) -> double
3049  """
3050  return _IMP_algebra.Vector3D___mul__(self, *args)
3051 
3052 
3053  def __init__(self, *args):
3054  """
3055  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3056  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3057  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3058  """
3059  this = _IMP_algebra.new_Vector3D(*args)
3060  try:
3061  self.this.append(this)
3062  except:
3063  self.this = this
3064 
3065  def __iadd__(self, *args):
3066  _IMP_algebra.Vector3D___iadd__(self, *args)
3067  return self
3068 
3069 
3070 
3071  def __imul__(self, *args):
3072  _IMP_algebra.Vector3D___imul__(self, *args)
3073  return self
3074 
3075 
3076 
3077  def __idiv__(self, *args):
3078  _IMP_algebra.Vector3D___idiv__(self, *args)
3079  return self
3080 
3081 
3082 
3083  def __isub__(self, *args):
3084  _IMP_algebra.Vector3D___isub__(self, *args)
3085  return self
3086 
3087 
3088 
3089  def __len__(self):
3090  """__len__(Vector3D self) -> unsigned int"""
3091  return _IMP_algebra.Vector3D___len__(self)
3092 
3093 
3094  def __rmul__(self, f):
3095  """__rmul__(Vector3D self, double f) -> Vector3D"""
3096  return _IMP_algebra.Vector3D___rmul__(self, f)
3097 
3098 
3099  def __str__(self):
3100  """__str__(Vector3D self) -> std::string"""
3101  return _IMP_algebra.Vector3D___str__(self)
3102 
3103 
3104  def __repr__(self):
3105  """__repr__(Vector3D self) -> std::string"""
3106  return _IMP_algebra.Vector3D___repr__(self)
3107 
3108 
3109  def __cmp__(self, arg2):
3110  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3111  return _IMP_algebra.Vector3D___cmp__(self, arg2)
3112 
3113 
3114  def __eq__(self, arg2):
3115  """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3116  return _IMP_algebra.Vector3D___eq__(self, arg2)
3117 
3118 
3119  __truediv__ = __div__
3120  __itruediv__ = __idiv__
3121 
3122 
3123  def __getitem__(self, index):
3124  """__getitem__(Vector3D self, int index) -> double"""
3125  return _IMP_algebra.Vector3D___getitem__(self, index)
3126 
3127 
3128  def __setitem__(self, index, val):
3129  """__setitem__(Vector3D self, int index, double val)"""
3130  return _IMP_algebra.Vector3D___setitem__(self, index, val)
3131 
3132  __swig_destroy__ = _IMP_algebra.delete_Vector3D
3133  __del__ = lambda self: None
3134 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3135 Vector3D_swigregister(Vector3D)
3136 
3137 class Vector4D(_VectorBase4D):
3138  """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
3139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3140 
3141  def get_unit_vector(self):
3142  """get_unit_vector(Vector4D self) -> Vector4D"""
3143  return _IMP_algebra.Vector4D_get_unit_vector(self)
3144 
3145 
3146  def __div__(self, s):
3147  """__div__(Vector4D self, double s) -> Vector4D"""
3148  return _IMP_algebra.Vector4D___div__(self, s)
3149 
3150 
3151  def __neg__(self):
3152  """__neg__(Vector4D self) -> Vector4D"""
3153  return _IMP_algebra.Vector4D___neg__(self)
3154 
3155 
3156  def __sub__(self, o):
3157  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3158  return _IMP_algebra.Vector4D___sub__(self, o)
3159 
3160 
3161  def __add__(self, ret):
3162  """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3163  return _IMP_algebra.Vector4D___add__(self, ret)
3164 
3165 
3166  def __mul__(self, *args):
3167  """
3168  __mul__(Vector4D self, double s) -> Vector4D
3169  __mul__(Vector4D self, Vector4D o) -> double
3170  """
3171  return _IMP_algebra.Vector4D___mul__(self, *args)
3172 
3173 
3174  def __init__(self, *args):
3175  """
3176  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3177  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3178  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3179  """
3180  this = _IMP_algebra.new_Vector4D(*args)
3181  try:
3182  self.this.append(this)
3183  except:
3184  self.this = this
3185 
3186  def __iadd__(self, *args):
3187  _IMP_algebra.Vector4D___iadd__(self, *args)
3188  return self
3189 
3190 
3191 
3192  def __imul__(self, *args):
3193  _IMP_algebra.Vector4D___imul__(self, *args)
3194  return self
3195 
3196 
3197 
3198  def __idiv__(self, *args):
3199  _IMP_algebra.Vector4D___idiv__(self, *args)
3200  return self
3201 
3202 
3203 
3204  def __isub__(self, *args):
3205  _IMP_algebra.Vector4D___isub__(self, *args)
3206  return self
3207 
3208 
3209 
3210  def __len__(self):
3211  """__len__(Vector4D self) -> unsigned int"""
3212  return _IMP_algebra.Vector4D___len__(self)
3213 
3214 
3215  def __rmul__(self, f):
3216  """__rmul__(Vector4D self, double f) -> Vector4D"""
3217  return _IMP_algebra.Vector4D___rmul__(self, f)
3218 
3219 
3220  def __str__(self):
3221  """__str__(Vector4D self) -> std::string"""
3222  return _IMP_algebra.Vector4D___str__(self)
3223 
3224 
3225  def __repr__(self):
3226  """__repr__(Vector4D self) -> std::string"""
3227  return _IMP_algebra.Vector4D___repr__(self)
3228 
3229 
3230  def __cmp__(self, arg2):
3231  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3232  return _IMP_algebra.Vector4D___cmp__(self, arg2)
3233 
3234 
3235  def __eq__(self, arg2):
3236  """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3237  return _IMP_algebra.Vector4D___eq__(self, arg2)
3238 
3239 
3240  __truediv__ = __div__
3241  __itruediv__ = __idiv__
3242 
3243 
3244  def __getitem__(self, index):
3245  """__getitem__(Vector4D self, int index) -> double"""
3246  return _IMP_algebra.Vector4D___getitem__(self, index)
3247 
3248 
3249  def __setitem__(self, index, val):
3250  """__setitem__(Vector4D self, int index, double val)"""
3251  return _IMP_algebra.Vector4D___setitem__(self, index, val)
3252 
3253  __swig_destroy__ = _IMP_algebra.delete_Vector4D
3254  __del__ = lambda self: None
3255 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3256 Vector4D_swigregister(Vector4D)
3257 
3258 class Vector5D(_VectorBase5D):
3259  """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
3260  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3261 
3262  def get_unit_vector(self):
3263  """get_unit_vector(Vector5D self) -> Vector5D"""
3264  return _IMP_algebra.Vector5D_get_unit_vector(self)
3265 
3266 
3267  def __div__(self, s):
3268  """__div__(Vector5D self, double s) -> Vector5D"""
3269  return _IMP_algebra.Vector5D___div__(self, s)
3270 
3271 
3272  def __neg__(self):
3273  """__neg__(Vector5D self) -> Vector5D"""
3274  return _IMP_algebra.Vector5D___neg__(self)
3275 
3276 
3277  def __sub__(self, o):
3278  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3279  return _IMP_algebra.Vector5D___sub__(self, o)
3280 
3281 
3282  def __add__(self, ret):
3283  """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3284  return _IMP_algebra.Vector5D___add__(self, ret)
3285 
3286 
3287  def __mul__(self, *args):
3288  """
3289  __mul__(Vector5D self, double s) -> Vector5D
3290  __mul__(Vector5D self, Vector5D o) -> double
3291  """
3292  return _IMP_algebra.Vector5D___mul__(self, *args)
3293 
3294 
3295  def __init__(self, *args):
3296  """
3297  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3298  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3299  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3300  """
3301  this = _IMP_algebra.new_Vector5D(*args)
3302  try:
3303  self.this.append(this)
3304  except:
3305  self.this = this
3306 
3307  def __iadd__(self, *args):
3308  _IMP_algebra.Vector5D___iadd__(self, *args)
3309  return self
3310 
3311 
3312 
3313  def __imul__(self, *args):
3314  _IMP_algebra.Vector5D___imul__(self, *args)
3315  return self
3316 
3317 
3318 
3319  def __idiv__(self, *args):
3320  _IMP_algebra.Vector5D___idiv__(self, *args)
3321  return self
3322 
3323 
3324 
3325  def __isub__(self, *args):
3326  _IMP_algebra.Vector5D___isub__(self, *args)
3327  return self
3328 
3329 
3330 
3331  def __len__(self):
3332  """__len__(Vector5D self) -> unsigned int"""
3333  return _IMP_algebra.Vector5D___len__(self)
3334 
3335 
3336  def __rmul__(self, f):
3337  """__rmul__(Vector5D self, double f) -> Vector5D"""
3338  return _IMP_algebra.Vector5D___rmul__(self, f)
3339 
3340 
3341  def __str__(self):
3342  """__str__(Vector5D self) -> std::string"""
3343  return _IMP_algebra.Vector5D___str__(self)
3344 
3345 
3346  def __repr__(self):
3347  """__repr__(Vector5D self) -> std::string"""
3348  return _IMP_algebra.Vector5D___repr__(self)
3349 
3350 
3351  def __cmp__(self, arg2):
3352  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3353  return _IMP_algebra.Vector5D___cmp__(self, arg2)
3354 
3355 
3356  def __eq__(self, arg2):
3357  """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3358  return _IMP_algebra.Vector5D___eq__(self, arg2)
3359 
3360 
3361  __truediv__ = __div__
3362  __itruediv__ = __idiv__
3363 
3364 
3365  def __getitem__(self, index):
3366  """__getitem__(Vector5D self, int index) -> double"""
3367  return _IMP_algebra.Vector5D___getitem__(self, index)
3368 
3369 
3370  def __setitem__(self, index, val):
3371  """__setitem__(Vector5D self, int index, double val)"""
3372  return _IMP_algebra.Vector5D___setitem__(self, index, val)
3373 
3374  __swig_destroy__ = _IMP_algebra.delete_Vector5D
3375  __del__ = lambda self: None
3376 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3377 Vector5D_swigregister(Vector5D)
3378 
3379 class Vector6D(_VectorBase6D):
3380  """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
3381  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3382 
3383  def get_unit_vector(self):
3384  """get_unit_vector(Vector6D self) -> Vector6D"""
3385  return _IMP_algebra.Vector6D_get_unit_vector(self)
3386 
3387 
3388  def __div__(self, s):
3389  """__div__(Vector6D self, double s) -> Vector6D"""
3390  return _IMP_algebra.Vector6D___div__(self, s)
3391 
3392 
3393  def __neg__(self):
3394  """__neg__(Vector6D self) -> Vector6D"""
3395  return _IMP_algebra.Vector6D___neg__(self)
3396 
3397 
3398  def __sub__(self, o):
3399  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3400  return _IMP_algebra.Vector6D___sub__(self, o)
3401 
3402 
3403  def __add__(self, ret):
3404  """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3405  return _IMP_algebra.Vector6D___add__(self, ret)
3406 
3407 
3408  def __mul__(self, *args):
3409  """
3410  __mul__(Vector6D self, double s) -> Vector6D
3411  __mul__(Vector6D self, Vector6D o) -> double
3412  """
3413  return _IMP_algebra.Vector6D___mul__(self, *args)
3414 
3415 
3416  def __init__(self, *args):
3417  """
3418  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3419  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3420  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3421  """
3422  this = _IMP_algebra.new_Vector6D(*args)
3423  try:
3424  self.this.append(this)
3425  except:
3426  self.this = this
3427 
3428  def __iadd__(self, *args):
3429  _IMP_algebra.Vector6D___iadd__(self, *args)
3430  return self
3431 
3432 
3433 
3434  def __imul__(self, *args):
3435  _IMP_algebra.Vector6D___imul__(self, *args)
3436  return self
3437 
3438 
3439 
3440  def __idiv__(self, *args):
3441  _IMP_algebra.Vector6D___idiv__(self, *args)
3442  return self
3443 
3444 
3445 
3446  def __isub__(self, *args):
3447  _IMP_algebra.Vector6D___isub__(self, *args)
3448  return self
3449 
3450 
3451 
3452  def __len__(self):
3453  """__len__(Vector6D self) -> unsigned int"""
3454  return _IMP_algebra.Vector6D___len__(self)
3455 
3456 
3457  def __rmul__(self, f):
3458  """__rmul__(Vector6D self, double f) -> Vector6D"""
3459  return _IMP_algebra.Vector6D___rmul__(self, f)
3460 
3461 
3462  def __str__(self):
3463  """__str__(Vector6D self) -> std::string"""
3464  return _IMP_algebra.Vector6D___str__(self)
3465 
3466 
3467  def __repr__(self):
3468  """__repr__(Vector6D self) -> std::string"""
3469  return _IMP_algebra.Vector6D___repr__(self)
3470 
3471 
3472  def __cmp__(self, arg2):
3473  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3474  return _IMP_algebra.Vector6D___cmp__(self, arg2)
3475 
3476 
3477  def __eq__(self, arg2):
3478  """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3479  return _IMP_algebra.Vector6D___eq__(self, arg2)
3480 
3481 
3482  __truediv__ = __div__
3483  __itruediv__ = __idiv__
3484 
3485 
3486  def __getitem__(self, index):
3487  """__getitem__(Vector6D self, int index) -> double"""
3488  return _IMP_algebra.Vector6D___getitem__(self, index)
3489 
3490 
3491  def __setitem__(self, index, val):
3492  """__setitem__(Vector6D self, int index, double val)"""
3493  return _IMP_algebra.Vector6D___setitem__(self, index, val)
3494 
3495  __swig_destroy__ = _IMP_algebra.delete_Vector6D
3496  __del__ = lambda self: None
3497 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3498 Vector6D_swigregister(Vector6D)
3499 
3500 class VectorKD(_VectorBaseKD):
3501  """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
3502  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3503 
3504  def get_unit_vector(self):
3505  """get_unit_vector(VectorKD self) -> VectorKD"""
3506  return _IMP_algebra.VectorKD_get_unit_vector(self)
3507 
3508 
3509  def __div__(self, s):
3510  """__div__(VectorKD self, double s) -> VectorKD"""
3511  return _IMP_algebra.VectorKD___div__(self, s)
3512 
3513 
3514  def __neg__(self):
3515  """__neg__(VectorKD self) -> VectorKD"""
3516  return _IMP_algebra.VectorKD___neg__(self)
3517 
3518 
3519  def __sub__(self, o):
3520  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3521  return _IMP_algebra.VectorKD___sub__(self, o)
3522 
3523 
3524  def __add__(self, ret):
3525  """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3526  return _IMP_algebra.VectorKD___add__(self, ret)
3527 
3528 
3529  def __mul__(self, *args):
3530  """
3531  __mul__(VectorKD self, double s) -> VectorKD
3532  __mul__(VectorKD self, VectorKD o) -> double
3533  """
3534  return _IMP_algebra.VectorKD___mul__(self, *args)
3535 
3536 
3537  def __init__(self, *args):
3538  """
3539  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3540  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3541  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3542  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3543  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3544  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3545  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3546  __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3547  """
3548  this = _IMP_algebra.new_VectorKD(*args)
3549  try:
3550  self.this.append(this)
3551  except:
3552  self.this = this
3553 
3554  def __iadd__(self, *args):
3555  _IMP_algebra.VectorKD___iadd__(self, *args)
3556  return self
3557 
3558 
3559 
3560  def __imul__(self, *args):
3561  _IMP_algebra.VectorKD___imul__(self, *args)
3562  return self
3563 
3564 
3565 
3566  def __idiv__(self, *args):
3567  _IMP_algebra.VectorKD___idiv__(self, *args)
3568  return self
3569 
3570 
3571 
3572  def __isub__(self, *args):
3573  _IMP_algebra.VectorKD___isub__(self, *args)
3574  return self
3575 
3576 
3577 
3578  def __len__(self):
3579  """__len__(VectorKD self) -> unsigned int"""
3580  return _IMP_algebra.VectorKD___len__(self)
3581 
3582 
3583  def __rmul__(self, f):
3584  """__rmul__(VectorKD self, double f) -> VectorKD"""
3585  return _IMP_algebra.VectorKD___rmul__(self, f)
3586 
3587 
3588  def __str__(self):
3589  """__str__(VectorKD self) -> std::string"""
3590  return _IMP_algebra.VectorKD___str__(self)
3591 
3592 
3593  def __repr__(self):
3594  """__repr__(VectorKD self) -> std::string"""
3595  return _IMP_algebra.VectorKD___repr__(self)
3596 
3597 
3598  def __cmp__(self, arg2):
3599  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3600  return _IMP_algebra.VectorKD___cmp__(self, arg2)
3601 
3602 
3603  def __eq__(self, arg2):
3604  """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3605  return _IMP_algebra.VectorKD___eq__(self, arg2)
3606 
3607 
3608  __truediv__ = __div__
3609  __itruediv__ = __idiv__
3610 
3611 
3612  def __getitem__(self, index):
3613  """__getitem__(VectorKD self, int index) -> double"""
3614  return _IMP_algebra.VectorKD___getitem__(self, index)
3615 
3616 
3617  def __setitem__(self, index, val):
3618  """__setitem__(VectorKD self, int index, double val)"""
3619  return _IMP_algebra.VectorKD___setitem__(self, index, val)
3620 
3621  __swig_destroy__ = _IMP_algebra.delete_VectorKD
3622  __del__ = lambda self: None
3623 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3624 VectorKD_swigregister(VectorKD)
3625 
3626 class BoundingBox1D(object):
3627  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3628  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3629 
3630  def get_dimension(self):
3631  """get_dimension(BoundingBox1D self) -> unsigned int"""
3632  return _IMP_algebra.BoundingBox1D_get_dimension(self)
3633 
3634 
3635  def get_corner(self, i):
3636  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3637  return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3638 
3639 
3640  def get_contains(self, *args):
3641  """
3642  get_contains(BoundingBox1D self, Vector1D o) -> bool
3643  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3644  """
3645  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3646 
3647 
3648  def show(self, *args):
3649  """
3650  show(BoundingBox1D self, _ostream out)
3651  show(BoundingBox1D self)
3652  """
3653  return _IMP_algebra.BoundingBox1D_show(self, *args)
3654 
3655 
3656  def __str__(self):
3657  """__str__(BoundingBox1D self) -> std::string"""
3658  return _IMP_algebra.BoundingBox1D___str__(self)
3659 
3660 
3661  def __repr__(self):
3662  """__repr__(BoundingBox1D self) -> std::string"""
3663  return _IMP_algebra.BoundingBox1D___repr__(self)
3664 
3665 
3666  def __cmp__(self, arg2):
3667  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3668  return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3669 
3670 
3671  def __eq__(self, arg2):
3672  """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3673  return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3674 
3675 
3676  def __init__(self, *args):
3677  """
3678  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3679  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3680  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3681  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3682  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3683  """
3684  this = _IMP_algebra.new_BoundingBox1D(*args)
3685  try:
3686  self.this.append(this)
3687  except:
3688  self.this = this
3689 
3690  def __getitem__(self, index):
3691  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3692  return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3693 
3694 
3695  def __iadd__(self, *args):
3696  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3697  return self
3698 
3699 
3700 
3701  def __len__(self):
3702  """__len__(BoundingBox1D self) -> unsigned int"""
3703  return _IMP_algebra.BoundingBox1D___len__(self)
3704 
3705 
3706  def __add__(self, *args):
3707  """
3708  __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3709  __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3710  __add__(BoundingBox1D self, double o) -> BoundingBox1D
3711  """
3712  return _IMP_algebra.BoundingBox1D___add__(self, *args)
3713 
3714  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3715  __del__ = lambda self: None
3716 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3717 BoundingBox1D_swigregister(BoundingBox1D)
3718 
3719 class BoundingBox2D(object):
3720  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
3721  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3722 
3723  def get_dimension(self):
3724  """get_dimension(BoundingBox2D self) -> unsigned int"""
3725  return _IMP_algebra.BoundingBox2D_get_dimension(self)
3726 
3727 
3728  def get_corner(self, i):
3729  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3730  return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3731 
3732 
3733  def get_contains(self, *args):
3734  """
3735  get_contains(BoundingBox2D self, Vector2D o) -> bool
3736  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3737  """
3738  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3739 
3740 
3741  def show(self, *args):
3742  """
3743  show(BoundingBox2D self, _ostream out)
3744  show(BoundingBox2D self)
3745  """
3746  return _IMP_algebra.BoundingBox2D_show(self, *args)
3747 
3748 
3749  def __str__(self):
3750  """__str__(BoundingBox2D self) -> std::string"""
3751  return _IMP_algebra.BoundingBox2D___str__(self)
3752 
3753 
3754  def __repr__(self):
3755  """__repr__(BoundingBox2D self) -> std::string"""
3756  return _IMP_algebra.BoundingBox2D___repr__(self)
3757 
3758 
3759  def __cmp__(self, arg2):
3760  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3761  return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3762 
3763 
3764  def __eq__(self, arg2):
3765  """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3766  return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3767 
3768 
3769  def __init__(self, *args):
3770  """
3771  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3772  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3773  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3774  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3775  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3776  """
3777  this = _IMP_algebra.new_BoundingBox2D(*args)
3778  try:
3779  self.this.append(this)
3780  except:
3781  self.this = this
3782 
3783  def __getitem__(self, index):
3784  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3785  return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3786 
3787 
3788  def __iadd__(self, *args):
3789  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3790  return self
3791 
3792 
3793 
3794  def __len__(self):
3795  """__len__(BoundingBox2D self) -> unsigned int"""
3796  return _IMP_algebra.BoundingBox2D___len__(self)
3797 
3798 
3799  def __add__(self, *args):
3800  """
3801  __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3802  __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3803  __add__(BoundingBox2D self, double o) -> BoundingBox2D
3804  """
3805  return _IMP_algebra.BoundingBox2D___add__(self, *args)
3806 
3807  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3808  __del__ = lambda self: None
3809 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3810 BoundingBox2D_swigregister(BoundingBox2D)
3811 
3812 class BoundingBox3D(object):
3813  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
3814  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3815 
3816  def get_dimension(self):
3817  """get_dimension(BoundingBox3D self) -> unsigned int"""
3818  return _IMP_algebra.BoundingBox3D_get_dimension(self)
3819 
3820 
3821  def get_corner(self, i):
3822  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3823  return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3824 
3825 
3826  def get_contains(self, *args):
3827  """
3828  get_contains(BoundingBox3D self, Vector3D o) -> bool
3829  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3830  """
3831  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3832 
3833 
3834  def show(self, *args):
3835  """
3836  show(BoundingBox3D self, _ostream out)
3837  show(BoundingBox3D self)
3838  """
3839  return _IMP_algebra.BoundingBox3D_show(self, *args)
3840 
3841 
3842  def __str__(self):
3843  """__str__(BoundingBox3D self) -> std::string"""
3844  return _IMP_algebra.BoundingBox3D___str__(self)
3845 
3846 
3847  def __repr__(self):
3848  """__repr__(BoundingBox3D self) -> std::string"""
3849  return _IMP_algebra.BoundingBox3D___repr__(self)
3850 
3851 
3852  def __cmp__(self, arg2):
3853  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3854  return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3855 
3856 
3857  def __eq__(self, arg2):
3858  """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3859  return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3860 
3861 
3862  def __init__(self, *args):
3863  """
3864  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3865  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3866  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3867  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3868  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3869  """
3870  this = _IMP_algebra.new_BoundingBox3D(*args)
3871  try:
3872  self.this.append(this)
3873  except:
3874  self.this = this
3875 
3876  def __getitem__(self, index):
3877  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3878  return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3879 
3880 
3881  def __iadd__(self, *args):
3882  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3883  return self
3884 
3885 
3886 
3887  def __len__(self):
3888  """__len__(BoundingBox3D self) -> unsigned int"""
3889  return _IMP_algebra.BoundingBox3D___len__(self)
3890 
3891 
3892  def __add__(self, *args):
3893  """
3894  __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3895  __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3896  __add__(BoundingBox3D self, double o) -> BoundingBox3D
3897  """
3898  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3899 
3900  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3901  __del__ = lambda self: None
3902 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3903 BoundingBox3D_swigregister(BoundingBox3D)
3904 
3905 class BoundingBox4D(object):
3906  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3907  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3908 
3909  def get_dimension(self):
3910  """get_dimension(BoundingBox4D self) -> unsigned int"""
3911  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3912 
3913 
3914  def get_corner(self, i):
3915  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3916  return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3917 
3918 
3919  def get_contains(self, *args):
3920  """
3921  get_contains(BoundingBox4D self, Vector4D o) -> bool
3922  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3923  """
3924  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3925 
3926 
3927  def show(self, *args):
3928  """
3929  show(BoundingBox4D self, _ostream out)
3930  show(BoundingBox4D self)
3931  """
3932  return _IMP_algebra.BoundingBox4D_show(self, *args)
3933 
3934 
3935  def __str__(self):
3936  """__str__(BoundingBox4D self) -> std::string"""
3937  return _IMP_algebra.BoundingBox4D___str__(self)
3938 
3939 
3940  def __repr__(self):
3941  """__repr__(BoundingBox4D self) -> std::string"""
3942  return _IMP_algebra.BoundingBox4D___repr__(self)
3943 
3944 
3945  def __cmp__(self, arg2):
3946  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3947  return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3948 
3949 
3950  def __eq__(self, arg2):
3951  """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3952  return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3953 
3954 
3955  def __init__(self, *args):
3956  """
3957  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3958  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3959  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3960  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3961  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3962  """
3963  this = _IMP_algebra.new_BoundingBox4D(*args)
3964  try:
3965  self.this.append(this)
3966  except:
3967  self.this = this
3968 
3969  def __getitem__(self, index):
3970  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3971  return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3972 
3973 
3974  def __iadd__(self, *args):
3975  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3976  return self
3977 
3978 
3979 
3980  def __len__(self):
3981  """__len__(BoundingBox4D self) -> unsigned int"""
3982  return _IMP_algebra.BoundingBox4D___len__(self)
3983 
3984 
3985  def __add__(self, *args):
3986  """
3987  __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3988  __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3989  __add__(BoundingBox4D self, double o) -> BoundingBox4D
3990  """
3991  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3992 
3993  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3994  __del__ = lambda self: None
3995 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3996 BoundingBox4D_swigregister(BoundingBox4D)
3997 
3998 class BoundingBox5D(object):
3999  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
4000  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4001 
4002  def get_dimension(self):
4003  """get_dimension(BoundingBox5D self) -> unsigned int"""
4004  return _IMP_algebra.BoundingBox5D_get_dimension(self)
4005 
4006 
4007  def get_corner(self, i):
4008  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
4009  return _IMP_algebra.BoundingBox5D_get_corner(self, i)
4010 
4011 
4012  def get_contains(self, *args):
4013  """
4014  get_contains(BoundingBox5D self, Vector5D o) -> bool
4015  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
4016  """
4017  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
4018 
4019 
4020  def show(self, *args):
4021  """
4022  show(BoundingBox5D self, _ostream out)
4023  show(BoundingBox5D self)
4024  """
4025  return _IMP_algebra.BoundingBox5D_show(self, *args)
4026 
4027 
4028  def __str__(self):
4029  """__str__(BoundingBox5D self) -> std::string"""
4030  return _IMP_algebra.BoundingBox5D___str__(self)
4031 
4032 
4033  def __repr__(self):
4034  """__repr__(BoundingBox5D self) -> std::string"""
4035  return _IMP_algebra.BoundingBox5D___repr__(self)
4036 
4037 
4038  def __cmp__(self, arg2):
4039  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4040  return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4041 
4042 
4043  def __eq__(self, arg2):
4044  """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4045  return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4046 
4047 
4048  def __init__(self, *args):
4049  """
4050  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4051  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4052  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4053  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4054  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4055  """
4056  this = _IMP_algebra.new_BoundingBox5D(*args)
4057  try:
4058  self.this.append(this)
4059  except:
4060  self.this = this
4061 
4062  def __getitem__(self, index):
4063  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4064  return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4065 
4066 
4067  def __iadd__(self, *args):
4068  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4069  return self
4070 
4071 
4072 
4073  def __len__(self):
4074  """__len__(BoundingBox5D self) -> unsigned int"""
4075  return _IMP_algebra.BoundingBox5D___len__(self)
4076 
4077 
4078  def __add__(self, *args):
4079  """
4080  __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4081  __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4082  __add__(BoundingBox5D self, double o) -> BoundingBox5D
4083  """
4084  return _IMP_algebra.BoundingBox5D___add__(self, *args)
4085 
4086  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4087  __del__ = lambda self: None
4088 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4089 BoundingBox5D_swigregister(BoundingBox5D)
4090 
4091 class BoundingBox6D(object):
4092  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
4093  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4094 
4095  def get_dimension(self):
4096  """get_dimension(BoundingBox6D self) -> unsigned int"""
4097  return _IMP_algebra.BoundingBox6D_get_dimension(self)
4098 
4099 
4100  def get_corner(self, i):
4101  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4102  return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4103 
4104 
4105  def get_contains(self, *args):
4106  """
4107  get_contains(BoundingBox6D self, Vector6D o) -> bool
4108  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4109  """
4110  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4111 
4112 
4113  def show(self, *args):
4114  """
4115  show(BoundingBox6D self, _ostream out)
4116  show(BoundingBox6D self)
4117  """
4118  return _IMP_algebra.BoundingBox6D_show(self, *args)
4119 
4120 
4121  def __str__(self):
4122  """__str__(BoundingBox6D self) -> std::string"""
4123  return _IMP_algebra.BoundingBox6D___str__(self)
4124 
4125 
4126  def __repr__(self):
4127  """__repr__(BoundingBox6D self) -> std::string"""
4128  return _IMP_algebra.BoundingBox6D___repr__(self)
4129 
4130 
4131  def __cmp__(self, arg2):
4132  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4133  return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4134 
4135 
4136  def __eq__(self, arg2):
4137  """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4138  return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4139 
4140 
4141  def __init__(self, *args):
4142  """
4143  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4144  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4145  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4146  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4147  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4148  """
4149  this = _IMP_algebra.new_BoundingBox6D(*args)
4150  try:
4151  self.this.append(this)
4152  except:
4153  self.this = this
4154 
4155  def __getitem__(self, index):
4156  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4157  return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4158 
4159 
4160  def __iadd__(self, *args):
4161  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4162  return self
4163 
4164 
4165 
4166  def __len__(self):
4167  """__len__(BoundingBox6D self) -> unsigned int"""
4168  return _IMP_algebra.BoundingBox6D___len__(self)
4169 
4170 
4171  def __add__(self, *args):
4172  """
4173  __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4174  __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4175  __add__(BoundingBox6D self, double o) -> BoundingBox6D
4176  """
4177  return _IMP_algebra.BoundingBox6D___add__(self, *args)
4178 
4179  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4180  __del__ = lambda self: None
4181 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4182 BoundingBox6D_swigregister(BoundingBox6D)
4183 
4184 class BoundingBoxKD(object):
4185  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
4186  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4187 
4188  def get_dimension(self):
4189  """get_dimension(BoundingBoxKD self) -> unsigned int"""
4190  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4191 
4192 
4193  def get_corner(self, i):
4194  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4195  return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4196 
4197 
4198  def get_contains(self, *args):
4199  """
4200  get_contains(BoundingBoxKD self, VectorKD o) -> bool
4201  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4202  """
4203  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4204 
4205 
4206  def show(self, *args):
4207  """
4208  show(BoundingBoxKD self, _ostream out)
4209  show(BoundingBoxKD self)
4210  """
4211  return _IMP_algebra.BoundingBoxKD_show(self, *args)
4212 
4213 
4214  def __str__(self):
4215  """__str__(BoundingBoxKD self) -> std::string"""
4216  return _IMP_algebra.BoundingBoxKD___str__(self)
4217 
4218 
4219  def __repr__(self):
4220  """__repr__(BoundingBoxKD self) -> std::string"""
4221  return _IMP_algebra.BoundingBoxKD___repr__(self)
4222 
4223 
4224  def __cmp__(self, arg2):
4225  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4226  return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4227 
4228 
4229  def __eq__(self, arg2):
4230  """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4231  return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4232 
4233 
4234  def __init__(self, *args):
4235  """
4236  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4237  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4238  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4239  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4240  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4241  """
4242  this = _IMP_algebra.new_BoundingBoxKD(*args)
4243  try:
4244  self.this.append(this)
4245  except:
4246  self.this = this
4247 
4248  def __getitem__(self, index):
4249  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4250  return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4251 
4252 
4253  def __iadd__(self, *args):
4254  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4255  return self
4256 
4257 
4258 
4259  def __len__(self):
4260  """__len__(BoundingBoxKD self) -> unsigned int"""
4261  return _IMP_algebra.BoundingBoxKD___len__(self)
4262 
4263 
4264  def __add__(self, *args):
4265  """
4266  __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4267  __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4268  __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4269  """
4270  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4271 
4272  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4273  __del__ = lambda self: None
4274 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4275 BoundingBoxKD_swigregister(BoundingBoxKD)
4276 
4277 class Sphere1D(_GeometricPrimitive1D):
4278  """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
4279  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4280 
4281  def __init__(self, *args):
4282  """
4283  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4284  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4285  """
4286  this = _IMP_algebra.new_Sphere1D(*args)
4287  try:
4288  self.this.append(this)
4289  except:
4290  self.this = this
4291 
4292  def get_radius(self):
4293  """get_radius(Sphere1D self) -> double"""
4294  return _IMP_algebra.Sphere1D_get_radius(self)
4295 
4296 
4297  def get_center(self):
4298  """get_center(Sphere1D self) -> Vector1D"""
4299  return _IMP_algebra.Sphere1D_get_center(self)
4300 
4301 
4302  def get_contains(self, *args):
4303  """
4304  get_contains(Sphere1D self, Sphere1D o) -> bool
4305  get_contains(Sphere1D self, Vector1D p) -> bool
4306  """
4307  return _IMP_algebra.Sphere1D_get_contains(self, *args)
4308 
4309 
4310  def show(self, *args):
4311  """
4312  show(Sphere1D self, _ostream out)
4313  show(Sphere1D self)
4314  """
4315  return _IMP_algebra.Sphere1D_show(self, *args)
4316 
4317 
4318  def get_dimension(self):
4319  """get_dimension(Sphere1D self) -> unsigned int"""
4320  return _IMP_algebra.Sphere1D_get_dimension(self)
4321 
4322 
4323  def __str__(self):
4324  """__str__(Sphere1D self) -> std::string"""
4325  return _IMP_algebra.Sphere1D___str__(self)
4326 
4327 
4328  def __repr__(self):
4329  """__repr__(Sphere1D self) -> std::string"""
4330  return _IMP_algebra.Sphere1D___repr__(self)
4331 
4332 
4333  def __cmp__(self, arg2):
4334  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4335  return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4336 
4337 
4338  def __eq__(self, arg2):
4339  """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4340  return _IMP_algebra.Sphere1D___eq__(self, arg2)
4341 
4342  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4343  __del__ = lambda self: None
4344 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4345 Sphere1D_swigregister(Sphere1D)
4346 
4347 class Sphere2D(_GeometricPrimitive2D):
4348  """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
4349  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4350 
4351  def __init__(self, *args):
4352  """
4353  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4354  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4355  """
4356  this = _IMP_algebra.new_Sphere2D(*args)
4357  try:
4358  self.this.append(this)
4359  except:
4360  self.this = this
4361 
4362  def get_radius(self):
4363  """get_radius(Sphere2D self) -> double"""
4364  return _IMP_algebra.Sphere2D_get_radius(self)
4365 
4366 
4367  def get_center(self):
4368  """get_center(Sphere2D self) -> Vector2D"""
4369  return _IMP_algebra.Sphere2D_get_center(self)
4370 
4371 
4372  def get_contains(self, *args):
4373  """
4374  get_contains(Sphere2D self, Sphere2D o) -> bool
4375  get_contains(Sphere2D self, Vector2D p) -> bool
4376  """
4377  return _IMP_algebra.Sphere2D_get_contains(self, *args)
4378 
4379 
4380  def show(self, *args):
4381  """
4382  show(Sphere2D self, _ostream out)
4383  show(Sphere2D self)
4384  """
4385  return _IMP_algebra.Sphere2D_show(self, *args)
4386 
4387 
4388  def get_dimension(self):
4389  """get_dimension(Sphere2D self) -> unsigned int"""
4390  return _IMP_algebra.Sphere2D_get_dimension(self)
4391 
4392 
4393  def __str__(self):
4394  """__str__(Sphere2D self) -> std::string"""
4395  return _IMP_algebra.Sphere2D___str__(self)
4396 
4397 
4398  def __repr__(self):
4399  """__repr__(Sphere2D self) -> std::string"""
4400  return _IMP_algebra.Sphere2D___repr__(self)
4401 
4402 
4403  def __cmp__(self, arg2):
4404  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4405  return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4406 
4407 
4408  def __eq__(self, arg2):
4409  """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4410  return _IMP_algebra.Sphere2D___eq__(self, arg2)
4411 
4412  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4413  __del__ = lambda self: None
4414 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4415 Sphere2D_swigregister(Sphere2D)
4416 
4417 class Sphere3D(_GeometricPrimitive3D):
4418  """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
4419  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4420 
4421  def __init__(self, *args):
4422  """
4423  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4424  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4425  """
4426  this = _IMP_algebra.new_Sphere3D(*args)
4427  try:
4428  self.this.append(this)
4429  except:
4430  self.this = this
4431 
4432  def get_radius(self):
4433  """get_radius(Sphere3D self) -> double"""
4434  return _IMP_algebra.Sphere3D_get_radius(self)
4435 
4436 
4437  def get_center(self):
4438  """get_center(Sphere3D self) -> Vector3D"""
4439  return _IMP_algebra.Sphere3D_get_center(self)
4440 
4441 
4442  def get_contains(self, *args):
4443  """
4444  get_contains(Sphere3D self, Sphere3D o) -> bool
4445  get_contains(Sphere3D self, Vector3D p) -> bool
4446  """
4447  return _IMP_algebra.Sphere3D_get_contains(self, *args)
4448 
4449 
4450  def show(self, *args):
4451  """
4452  show(Sphere3D self, _ostream out)
4453  show(Sphere3D self)
4454  """
4455  return _IMP_algebra.Sphere3D_show(self, *args)
4456 
4457 
4458  def get_dimension(self):
4459  """get_dimension(Sphere3D self) -> unsigned int"""
4460  return _IMP_algebra.Sphere3D_get_dimension(self)
4461 
4462 
4463  def __str__(self):
4464  """__str__(Sphere3D self) -> std::string"""
4465  return _IMP_algebra.Sphere3D___str__(self)
4466 
4467 
4468  def __repr__(self):
4469  """__repr__(Sphere3D self) -> std::string"""
4470  return _IMP_algebra.Sphere3D___repr__(self)
4471 
4472 
4473  def __cmp__(self, arg2):
4474  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4475  return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4476 
4477 
4478  def __eq__(self, arg2):
4479  """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4480  return _IMP_algebra.Sphere3D___eq__(self, arg2)
4481 
4482  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4483  __del__ = lambda self: None
4484 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4485 Sphere3D_swigregister(Sphere3D)
4486 
4487 class Sphere4D(_GeometricPrimitive4D):
4488  """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
4489  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4490 
4491  def __init__(self, *args):
4492  """
4493  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4494  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4495  """
4496  this = _IMP_algebra.new_Sphere4D(*args)
4497  try:
4498  self.this.append(this)
4499  except:
4500  self.this = this
4501 
4502  def get_radius(self):
4503  """get_radius(Sphere4D self) -> double"""
4504  return _IMP_algebra.Sphere4D_get_radius(self)
4505 
4506 
4507  def get_center(self):
4508  """get_center(Sphere4D self) -> Vector4D"""
4509  return _IMP_algebra.Sphere4D_get_center(self)
4510 
4511 
4512  def get_contains(self, *args):
4513  """
4514  get_contains(Sphere4D self, Sphere4D o) -> bool
4515  get_contains(Sphere4D self, Vector4D p) -> bool
4516  """
4517  return _IMP_algebra.Sphere4D_get_contains(self, *args)
4518 
4519 
4520  def show(self, *args):
4521  """
4522  show(Sphere4D self, _ostream out)
4523  show(Sphere4D self)
4524  """
4525  return _IMP_algebra.Sphere4D_show(self, *args)
4526 
4527 
4528  def get_dimension(self):
4529  """get_dimension(Sphere4D self) -> unsigned int"""
4530  return _IMP_algebra.Sphere4D_get_dimension(self)
4531 
4532 
4533  def __str__(self):
4534  """__str__(Sphere4D self) -> std::string"""
4535  return _IMP_algebra.Sphere4D___str__(self)
4536 
4537 
4538  def __repr__(self):
4539  """__repr__(Sphere4D self) -> std::string"""
4540  return _IMP_algebra.Sphere4D___repr__(self)
4541 
4542 
4543  def __cmp__(self, arg2):
4544  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4545  return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4546 
4547 
4548  def __eq__(self, arg2):
4549  """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4550  return _IMP_algebra.Sphere4D___eq__(self, arg2)
4551 
4552  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4553  __del__ = lambda self: None
4554 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4555 Sphere4D_swigregister(Sphere4D)
4556 
4557 class Sphere5D(_GeometricPrimitive5D):
4558  """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
4559  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4560 
4561  def __init__(self, *args):
4562  """
4563  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4564  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4565  """
4566  this = _IMP_algebra.new_Sphere5D(*args)
4567  try:
4568  self.this.append(this)
4569  except:
4570  self.this = this
4571 
4572  def get_radius(self):
4573  """get_radius(Sphere5D self) -> double"""
4574  return _IMP_algebra.Sphere5D_get_radius(self)
4575 
4576 
4577  def get_center(self):
4578  """get_center(Sphere5D self) -> Vector5D"""
4579  return _IMP_algebra.Sphere5D_get_center(self)
4580 
4581 
4582  def get_contains(self, *args):
4583  """
4584  get_contains(Sphere5D self, Sphere5D o) -> bool
4585  get_contains(Sphere5D self, Vector5D p) -> bool
4586  """
4587  return _IMP_algebra.Sphere5D_get_contains(self, *args)
4588 
4589 
4590  def show(self, *args):
4591  """
4592  show(Sphere5D self, _ostream out)
4593  show(Sphere5D self)
4594  """
4595  return _IMP_algebra.Sphere5D_show(self, *args)
4596 
4597 
4598  def get_dimension(self):
4599  """get_dimension(Sphere5D self) -> unsigned int"""
4600  return _IMP_algebra.Sphere5D_get_dimension(self)
4601 
4602 
4603  def __str__(self):
4604  """__str__(Sphere5D self) -> std::string"""
4605  return _IMP_algebra.Sphere5D___str__(self)
4606 
4607 
4608  def __repr__(self):
4609  """__repr__(Sphere5D self) -> std::string"""
4610  return _IMP_algebra.Sphere5D___repr__(self)
4611 
4612 
4613  def __cmp__(self, arg2):
4614  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4615  return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4616 
4617 
4618  def __eq__(self, arg2):
4619  """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4620  return _IMP_algebra.Sphere5D___eq__(self, arg2)
4621 
4622  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4623  __del__ = lambda self: None
4624 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4625 Sphere5D_swigregister(Sphere5D)
4626 
4627 class Sphere6D(_GeometricPrimitive6D):
4628  """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
4629  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4630 
4631  def __init__(self, *args):
4632  """
4633  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4634  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4635  """
4636  this = _IMP_algebra.new_Sphere6D(*args)
4637  try:
4638  self.this.append(this)
4639  except:
4640  self.this = this
4641 
4642  def get_radius(self):
4643  """get_radius(Sphere6D self) -> double"""
4644  return _IMP_algebra.Sphere6D_get_radius(self)
4645 
4646 
4647  def get_center(self):
4648  """get_center(Sphere6D self) -> Vector6D"""
4649  return _IMP_algebra.Sphere6D_get_center(self)
4650 
4651 
4652  def get_contains(self, *args):
4653  """
4654  get_contains(Sphere6D self, Sphere6D o) -> bool
4655  get_contains(Sphere6D self, Vector6D p) -> bool
4656  """
4657  return _IMP_algebra.Sphere6D_get_contains(self, *args)
4658 
4659 
4660  def show(self, *args):
4661  """
4662  show(Sphere6D self, _ostream out)
4663  show(Sphere6D self)
4664  """
4665  return _IMP_algebra.Sphere6D_show(self, *args)
4666 
4667 
4668  def get_dimension(self):
4669  """get_dimension(Sphere6D self) -> unsigned int"""
4670  return _IMP_algebra.Sphere6D_get_dimension(self)
4671 
4672 
4673  def __str__(self):
4674  """__str__(Sphere6D self) -> std::string"""
4675  return _IMP_algebra.Sphere6D___str__(self)
4676 
4677 
4678  def __repr__(self):
4679  """__repr__(Sphere6D self) -> std::string"""
4680  return _IMP_algebra.Sphere6D___repr__(self)
4681 
4682 
4683  def __cmp__(self, arg2):
4684  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4685  return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4686 
4687 
4688  def __eq__(self, arg2):
4689  """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4690  return _IMP_algebra.Sphere6D___eq__(self, arg2)
4691 
4692  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4693  __del__ = lambda self: None
4694 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4695 Sphere6D_swigregister(Sphere6D)
4696 
4697 class SphereKD(_GeometricPrimitiveKD):
4698  """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
4699  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4700 
4701  def __init__(self, *args):
4702  """
4703  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4704  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4705  """
4706  this = _IMP_algebra.new_SphereKD(*args)
4707  try:
4708  self.this.append(this)
4709  except:
4710  self.this = this
4711 
4712  def get_radius(self):
4713  """get_radius(SphereKD self) -> double"""
4714  return _IMP_algebra.SphereKD_get_radius(self)
4715 
4716 
4717  def get_center(self):
4718  """get_center(SphereKD self) -> VectorKD"""
4719  return _IMP_algebra.SphereKD_get_center(self)
4720 
4721 
4722  def get_contains(self, *args):
4723  """
4724  get_contains(SphereKD self, SphereKD o) -> bool
4725  get_contains(SphereKD self, VectorKD p) -> bool
4726  """
4727  return _IMP_algebra.SphereKD_get_contains(self, *args)
4728 
4729 
4730  def show(self, *args):
4731  """
4732  show(SphereKD self, _ostream out)
4733  show(SphereKD self)
4734  """
4735  return _IMP_algebra.SphereKD_show(self, *args)
4736 
4737 
4738  def get_dimension(self):
4739  """get_dimension(SphereKD self) -> unsigned int"""
4740  return _IMP_algebra.SphereKD_get_dimension(self)
4741 
4742 
4743  def __str__(self):
4744  """__str__(SphereKD self) -> std::string"""
4745  return _IMP_algebra.SphereKD___str__(self)
4746 
4747 
4748  def __repr__(self):
4749  """__repr__(SphereKD self) -> std::string"""
4750  return _IMP_algebra.SphereKD___repr__(self)
4751 
4752 
4753  def __cmp__(self, arg2):
4754  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4755  return _IMP_algebra.SphereKD___cmp__(self, arg2)
4756 
4757 
4758  def __eq__(self, arg2):
4759  """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4760  return _IMP_algebra.SphereKD___eq__(self, arg2)
4761 
4762  __swig_destroy__ = _IMP_algebra.delete_SphereKD
4763  __del__ = lambda self: None
4764 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4765 SphereKD_swigregister(SphereKD)
4766 
4767 class UnitSimplex1D(_UnitSimplexBase1D):
4768  """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class"""
4769  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4770 
4771  def __init__(self):
4772  """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
4773  this = _IMP_algebra.new_UnitSimplex1D()
4774  try:
4775  self.this.append(this)
4776  except:
4777  self.this = this
4778 
4779  def show(self, *args):
4780  """
4781  show(UnitSimplex1D self, _ostream out)
4782  show(UnitSimplex1D self)
4783  """
4784  return _IMP_algebra.UnitSimplex1D_show(self, *args)
4785 
4786 
4787  def __str__(self):
4788  """__str__(UnitSimplex1D self) -> std::string"""
4789  return _IMP_algebra.UnitSimplex1D___str__(self)
4790 
4791 
4792  def __repr__(self):
4793  """__repr__(UnitSimplex1D self) -> std::string"""
4794  return _IMP_algebra.UnitSimplex1D___repr__(self)
4795 
4796 
4797  def __cmp__(self, arg2):
4798  """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
4799  return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
4800 
4801 
4802  def __eq__(self, arg2):
4803  """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
4804  return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
4805 
4806  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
4807  __del__ = lambda self: None
4808 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
4809 UnitSimplex1D_swigregister(UnitSimplex1D)
4810 
4811 class UnitSimplex2D(_UnitSimplexBase2D):
4812  """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class"""
4813  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4814 
4815  def __init__(self):
4816  """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
4817  this = _IMP_algebra.new_UnitSimplex2D()
4818  try:
4819  self.this.append(this)
4820  except:
4821  self.this = this
4822 
4823  def show(self, *args):
4824  """
4825  show(UnitSimplex2D self, _ostream out)
4826  show(UnitSimplex2D self)
4827  """
4828  return _IMP_algebra.UnitSimplex2D_show(self, *args)
4829 
4830 
4831  def __str__(self):
4832  """__str__(UnitSimplex2D self) -> std::string"""
4833  return _IMP_algebra.UnitSimplex2D___str__(self)
4834 
4835 
4836  def __repr__(self):
4837  """__repr__(UnitSimplex2D self) -> std::string"""
4838  return _IMP_algebra.UnitSimplex2D___repr__(self)
4839 
4840 
4841  def __cmp__(self, arg2):
4842  """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
4843  return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
4844 
4845 
4846  def __eq__(self, arg2):
4847  """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
4848  return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
4849 
4850  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
4851  __del__ = lambda self: None
4852 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
4853 UnitSimplex2D_swigregister(UnitSimplex2D)
4854 
4855 class UnitSimplex3D(_UnitSimplexBase3D):
4856  """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class"""
4857  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4858 
4859  def __init__(self):
4860  """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
4861  this = _IMP_algebra.new_UnitSimplex3D()
4862  try:
4863  self.this.append(this)
4864  except:
4865  self.this = this
4866 
4867  def show(self, *args):
4868  """
4869  show(UnitSimplex3D self, _ostream out)
4870  show(UnitSimplex3D self)
4871  """
4872  return _IMP_algebra.UnitSimplex3D_show(self, *args)
4873 
4874 
4875  def __str__(self):
4876  """__str__(UnitSimplex3D self) -> std::string"""
4877  return _IMP_algebra.UnitSimplex3D___str__(self)
4878 
4879 
4880  def __repr__(self):
4881  """__repr__(UnitSimplex3D self) -> std::string"""
4882  return _IMP_algebra.UnitSimplex3D___repr__(self)
4883 
4884 
4885  def __cmp__(self, arg2):
4886  """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
4887  return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
4888 
4889 
4890  def __eq__(self, arg2):
4891  """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
4892  return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
4893 
4894  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
4895  __del__ = lambda self: None
4896 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
4897 UnitSimplex3D_swigregister(UnitSimplex3D)
4898 
4899 class UnitSimplex4D(_UnitSimplexBase4D):
4900  """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class"""
4901  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4902 
4903  def __init__(self):
4904  """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
4905  this = _IMP_algebra.new_UnitSimplex4D()
4906  try:
4907  self.this.append(this)
4908  except:
4909  self.this = this
4910 
4911  def show(self, *args):
4912  """
4913  show(UnitSimplex4D self, _ostream out)
4914  show(UnitSimplex4D self)
4915  """
4916  return _IMP_algebra.UnitSimplex4D_show(self, *args)
4917 
4918 
4919  def __str__(self):
4920  """__str__(UnitSimplex4D self) -> std::string"""
4921  return _IMP_algebra.UnitSimplex4D___str__(self)
4922 
4923 
4924  def __repr__(self):
4925  """__repr__(UnitSimplex4D self) -> std::string"""
4926  return _IMP_algebra.UnitSimplex4D___repr__(self)
4927 
4928 
4929  def __cmp__(self, arg2):
4930  """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
4931  return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
4932 
4933 
4934  def __eq__(self, arg2):
4935  """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
4936  return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
4937 
4938  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
4939  __del__ = lambda self: None
4940 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
4941 UnitSimplex4D_swigregister(UnitSimplex4D)
4942 
4943 class UnitSimplex5D(_UnitSimplexBase5D):
4944  """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class"""
4945  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4946 
4947  def __init__(self):
4948  """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
4949  this = _IMP_algebra.new_UnitSimplex5D()
4950  try:
4951  self.this.append(this)
4952  except:
4953  self.this = this
4954 
4955  def show(self, *args):
4956  """
4957  show(UnitSimplex5D self, _ostream out)
4958  show(UnitSimplex5D self)
4959  """
4960  return _IMP_algebra.UnitSimplex5D_show(self, *args)
4961 
4962 
4963  def __str__(self):
4964  """__str__(UnitSimplex5D self) -> std::string"""
4965  return _IMP_algebra.UnitSimplex5D___str__(self)
4966 
4967 
4968  def __repr__(self):
4969  """__repr__(UnitSimplex5D self) -> std::string"""
4970  return _IMP_algebra.UnitSimplex5D___repr__(self)
4971 
4972 
4973  def __cmp__(self, arg2):
4974  """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
4975  return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
4976 
4977 
4978  def __eq__(self, arg2):
4979  """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
4980  return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
4981 
4982  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
4983  __del__ = lambda self: None
4984 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
4985 UnitSimplex5D_swigregister(UnitSimplex5D)
4986 
4987 class UnitSimplex6D(_UnitSimplexBase6D):
4988  """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class"""
4989  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4990 
4991  def __init__(self):
4992  """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
4993  this = _IMP_algebra.new_UnitSimplex6D()
4994  try:
4995  self.this.append(this)
4996  except:
4997  self.this = this
4998 
4999  def show(self, *args):
5000  """
5001  show(UnitSimplex6D self, _ostream out)
5002  show(UnitSimplex6D self)
5003  """
5004  return _IMP_algebra.UnitSimplex6D_show(self, *args)
5005 
5006 
5007  def __str__(self):
5008  """__str__(UnitSimplex6D self) -> std::string"""
5009  return _IMP_algebra.UnitSimplex6D___str__(self)
5010 
5011 
5012  def __repr__(self):
5013  """__repr__(UnitSimplex6D self) -> std::string"""
5014  return _IMP_algebra.UnitSimplex6D___repr__(self)
5015 
5016 
5017  def __cmp__(self, arg2):
5018  """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5019  return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5020 
5021 
5022  def __eq__(self, arg2):
5023  """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5024  return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5025 
5026  __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5027  __del__ = lambda self: None
5028 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5029 UnitSimplex6D_swigregister(UnitSimplex6D)
5030 
5031 class UnitSimplexKD(_UnitSimplexBaseKD):
5032  """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class"""
5033  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5034  __repr__ = _swig_repr
5035 
5036  def __init__(self, d=1):
5037  """
5038  __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5039  __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5040  """
5041  this = _IMP_algebra.new_UnitSimplexKD(d)
5042  try:
5043  self.this.append(this)
5044  except:
5045  self.this = this
5046 
5047  def show(self, *args):
5048  """
5049  show(UnitSimplexKD self, _ostream out)
5050  show(UnitSimplexKD self)
5051  """
5052  return _IMP_algebra.UnitSimplexKD_show(self, *args)
5053 
5054  __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5055  __del__ = lambda self: None
5056 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5057 UnitSimplexKD_swigregister(UnitSimplexKD)
5058 
5059 class ReferenceFrame3D(object):
5060  """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
5061  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5062 
5063  def __init__(self, *args):
5064  """
5065  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5066  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5067  """
5068  this = _IMP_algebra.new_ReferenceFrame3D(*args)
5069  try:
5070  self.this.append(this)
5071  except:
5072  self.this = this
5073  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5074  __del__ = lambda self: None
5075 
5076  def get_transformation_to(self):
5077  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5078  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5079 
5080 
5081  def get_transformation_from(self):
5082  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5083  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5084 
5085 
5086  def get_global_coordinates(self, v):
5087  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5088  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5089 
5090 
5091  def get_local_coordinates(self, v):
5092  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5093  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5094 
5095 
5096  def get_global_reference_frame(self, v):
5097  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5098  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5099 
5100 
5101  def get_local_reference_frame(self, v):
5102  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5103  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
5104 
5105 
5106  def show(self, *args):
5107  """
5108  show(ReferenceFrame3D self, _ostream out)
5109  show(ReferenceFrame3D self)
5110  """
5111  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
5112 
5113 
5114  def __str__(self):
5115  """__str__(ReferenceFrame3D self) -> std::string"""
5116  return _IMP_algebra.ReferenceFrame3D___str__(self)
5117 
5118 
5119  def __repr__(self):
5120  """__repr__(ReferenceFrame3D self) -> std::string"""
5121  return _IMP_algebra.ReferenceFrame3D___repr__(self)
5122 
5123 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
5124 ReferenceFrame3D_swigregister(ReferenceFrame3D)
5125 
5126 
5127 def get_transformed(*args):
5128  """
5129  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
5130  get_transformed(Line3D l, Transformation3D tr) -> Line3D
5131  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
5132  """
5133  return _IMP_algebra.get_transformed(*args)
5134 
5135 def get_transformation_from_first_to_second(a, b):
5136  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
5137  return _IMP_algebra.get_transformation_from_first_to_second(a, b)
5138 class SphericalVector3D(_GeometricPrimitive3D):
5139  """Proxy of C++ IMP::algebra::SphericalVector3D class"""
5140  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5141 
5142  def __init__(self, *args):
5143  """
5144  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
5145  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
5146  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
5147  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
5148  """
5149  this = _IMP_algebra.new_SphericalVector3D(*args)
5150  try:
5151  self.this.append(this)
5152  except:
5153  self.this = this
5154 
5155  def get_cartesian_coordinates(self):
5156  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
5157  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
5158 
5159 
5160  def show(self, *args):
5161  """
5162  show(SphericalVector3D self, _ostream out)
5163  show(SphericalVector3D self)
5164  """
5165  return _IMP_algebra.SphericalVector3D_show(self, *args)
5166 
5167 
5168  def __str__(self):
5169  """__str__(SphericalVector3D self) -> std::string"""
5170  return _IMP_algebra.SphericalVector3D___str__(self)
5171 
5172 
5173  def __repr__(self):
5174  """__repr__(SphericalVector3D self) -> std::string"""
5175  return _IMP_algebra.SphericalVector3D___repr__(self)
5176 
5177 
5178  def __getitem__(self, index):
5179  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
5180  return _IMP_algebra.SphericalVector3D___getitem__(self, index)
5181 
5182 
5183  def __setitem__(self, index, val):
5184  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
5185  return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
5186 
5187  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
5188  __del__ = lambda self: None
5189 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
5190 SphericalVector3D_swigregister(SphericalVector3D)
5191 
5192 
5193 def get_alignments_from_first_to_second(pca1, pca2):
5194  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
5195  return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
5196 class Line3D(_GeometricPrimitive3D):
5197  """Proxy of C++ IMP::algebra::Line3D class"""
5198  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5199 
5200  def __init__(self, *args):
5201  """
5202  __init__(IMP::algebra::Line3D self) -> Line3D
5203  __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
5204  __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
5205  """
5206  this = _IMP_algebra.new_Line3D(*args)
5207  try:
5208  self.this.append(this)
5209  except:
5210  self.this = this
5211 
5212  def get_direction(self):
5213  """get_direction(Line3D self) -> Vector3D"""
5214  return _IMP_algebra.Line3D_get_direction(self)
5215 
5216 
5217  def get_point_on_line(self):
5218  """get_point_on_line(Line3D self) -> Vector3D"""
5219  return _IMP_algebra.Line3D_get_point_on_line(self)
5220 
5221 
5222  def get_moment(self, *args):
5223  """
5224  get_moment(Line3D self) -> Vector3D
5225  get_moment(Line3D self, Vector3D v) -> Vector3D
5226  """
5227  return _IMP_algebra.Line3D_get_moment(self, *args)
5228 
5229 
5230  def get_reciprocal_product(self, l):
5231  """get_reciprocal_product(Line3D self, Line3D l) -> double"""
5232  return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
5233 
5234 
5235  def get_opposite(self):
5236  """get_opposite(Line3D self) -> Line3D"""
5237  return _IMP_algebra.Line3D_get_opposite(self)
5238 
5239 
5240  def get_segment_starting_at(self, v, d):
5241  """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
5242  return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
5243 
5244 
5245  def show(self, *args):
5246  """
5247  show(Line3D self, _ostream out)
5248  show(Line3D self)
5249  """
5250  return _IMP_algebra.Line3D_show(self, *args)
5251 
5252 
5253  def __str__(self):
5254  """__str__(Line3D self) -> std::string"""
5255  return _IMP_algebra.Line3D___str__(self)
5256 
5257 
5258  def __repr__(self):
5259  """__repr__(Line3D self) -> std::string"""
5260  return _IMP_algebra.Line3D___repr__(self)
5261 
5262  __swig_destroy__ = _IMP_algebra.delete_Line3D
5263  __del__ = lambda self: None
5264 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
5265 Line3D_swigregister(Line3D)
5266 
5267 
5268 def get_line_3d_geometry(g):
5269  """get_line_3d_geometry(Line3D g) -> Line3D"""
5270  return _IMP_algebra.get_line_3d_geometry(g)
5271 
5272 def get_angle(a, b):
5273  """get_angle(Line3D a, Line3D b) -> double"""
5274  return _IMP_algebra.get_angle(a, b)
5275 
5277  """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
5278  return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
5279 class Segment3D(_GeometricPrimitive3D):
5280  """Proxy of C++ IMP::algebra::Segment3D class"""
5281  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5282 
5283  def __init__(self, *args):
5284  """
5285  __init__(IMP::algebra::Segment3D self) -> Segment3D
5286  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
5287  """
5288  this = _IMP_algebra.new_Segment3D(*args)
5289  try:
5290  self.this.append(this)
5291  except:
5292  self.this = this
5293 
5294  def get_point(self, i):
5295  if i < 0 or i >= 2:
5296  raise IMP.UsageException("Invalid point index")
5297  return _IMP_algebra.Segment3D_get_point(self, i)
5298 
5299 
5300 
5301  def get_middle_point(self):
5302  """get_middle_point(Segment3D self) -> Vector3D"""
5303  return _IMP_algebra.Segment3D_get_middle_point(self)
5304 
5305 
5306  def get_direction(self):
5307  """get_direction(Segment3D self) -> Vector3D"""
5308  return _IMP_algebra.Segment3D_get_direction(self)
5309 
5310 
5311  def get_length(self):
5312  """get_length(Segment3D self) -> double"""
5313  return _IMP_algebra.Segment3D_get_length(self)
5314 
5315 
5316  def show(self, *args):
5317  """
5318  show(Segment3D self, _ostream out)
5319  show(Segment3D self)
5320  """
5321  return _IMP_algebra.Segment3D_show(self, *args)
5322 
5323 
5324  def __str__(self):
5325  """__str__(Segment3D self) -> std::string"""
5326  return _IMP_algebra.Segment3D___str__(self)
5327 
5328 
5329  def __repr__(self):
5330  """__repr__(Segment3D self) -> std::string"""
5331  return _IMP_algebra.Segment3D___repr__(self)
5332 
5333  __swig_destroy__ = _IMP_algebra.delete_Segment3D
5334  __del__ = lambda self: None
5335 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
5336 Segment3D_swigregister(Segment3D)
5337 
5338 
5339 def get_segment_3d_geometry(g):
5340  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
5341  return _IMP_algebra.get_segment_3d_geometry(g)
5342 
5344  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
5345  return _IMP_algebra.get_relative_projection_on_segment(s, p)
5346 class Triangle3D(_GeometricPrimitive3D):
5347  """Proxy of C++ IMP::algebra::Triangle3D class"""
5348  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5349 
5350  def __init__(self, *args):
5351  """
5352  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
5353  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
5354  """
5355  this = _IMP_algebra.new_Triangle3D(*args)
5356  try:
5357  self.this.append(this)
5358  except:
5359  self.this = this
5360 
5361  def get_point(self, i):
5362  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
5363  return _IMP_algebra.Triangle3D_get_point(self, i)
5364 
5365 
5366  def show(self, *args):
5367  """
5368  show(Triangle3D self, _ostream out)
5369  show(Triangle3D self)
5370  """
5371  return _IMP_algebra.Triangle3D_show(self, *args)
5372 
5373 
5374  def get_edge_lengths(self):
5375  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
5376  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
5377 
5378 
5379  def __str__(self):
5380  """__str__(Triangle3D self) -> std::string"""
5381  return _IMP_algebra.Triangle3D___str__(self)
5382 
5383 
5384  def __repr__(self):
5385  """__repr__(Triangle3D self) -> std::string"""
5386  return _IMP_algebra.Triangle3D___repr__(self)
5387 
5388  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
5389  __del__ = lambda self: None
5390 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
5391 Triangle3D_swigregister(Triangle3D)
5392 
5393 
5394 def get_largest_triangle(points):
5395  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
5396  return _IMP_algebra.get_largest_triangle(points)
5397 
5398 def get_transformation_from_first_triangle_to_second(first_tri, second_tri):
5399  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
5400  return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
5401 
5402 def get_are_colinear(p1, p2, p3):
5403  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
5404  return _IMP_algebra.get_are_colinear(p1, p2, p3)
5405 class LinearFit2D(_GeometricPrimitive2D):
5406  """Proxy of C++ IMP::algebra::LinearFit2D class"""
5407  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5408 
5409  def __init__(self, *args):
5410  """
5411  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
5412  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
5413  """
5414  this = _IMP_algebra.new_LinearFit2D(*args)
5415  try:
5416  self.this.append(this)
5417  except:
5418  self.this = this
5419 
5420  def get_fit_error(self):
5421  """get_fit_error(LinearFit2D self) -> double"""
5422  return _IMP_algebra.LinearFit2D_get_fit_error(self)
5423 
5424 
5425  def get_a(self):
5426  """get_a(LinearFit2D self) -> double"""
5427  return _IMP_algebra.LinearFit2D_get_a(self)
5428 
5429 
5430  def get_b(self):
5431  """get_b(LinearFit2D self) -> double"""
5432  return _IMP_algebra.LinearFit2D_get_b(self)
5433 
5434 
5435  def show(self, *args):
5436  """
5437  show(LinearFit2D self, _ostream out)
5438  show(LinearFit2D self)
5439  """
5440  return _IMP_algebra.LinearFit2D_show(self, *args)
5441 
5442 
5443  def __str__(self):
5444  """__str__(LinearFit2D self) -> std::string"""
5445  return _IMP_algebra.LinearFit2D___str__(self)
5446 
5447 
5448  def __repr__(self):
5449  """__repr__(LinearFit2D self) -> std::string"""
5450  return _IMP_algebra.LinearFit2D___repr__(self)
5451 
5452  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
5453  __del__ = lambda self: None
5454 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
5455 LinearFit2D_swigregister(LinearFit2D)
5456 
5457 class ParabolicFit2D(_GeometricPrimitive2D):
5458  """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
5459  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5460 
5461  def __init__(self, data):
5462  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
5463  this = _IMP_algebra.new_ParabolicFit2D(data)
5464  try:
5465  self.this.append(this)
5466  except:
5467  self.this = this
5468 
5469  def get_fit_error(self):
5470  """get_fit_error(ParabolicFit2D self) -> double"""
5471  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
5472 
5473 
5474  def get_a(self):
5475  """get_a(ParabolicFit2D self) -> double"""
5476  return _IMP_algebra.ParabolicFit2D_get_a(self)
5477 
5478 
5479  def get_b(self):
5480  """get_b(ParabolicFit2D self) -> double"""
5481  return _IMP_algebra.ParabolicFit2D_get_b(self)
5482 
5483 
5484  def get_c(self):
5485  """get_c(ParabolicFit2D self) -> double"""
5486  return _IMP_algebra.ParabolicFit2D_get_c(self)
5487 
5488 
5489  def show(self, *args):
5490  """
5491  show(ParabolicFit2D self, _ostream out)
5492  show(ParabolicFit2D self)
5493  """
5494  return _IMP_algebra.ParabolicFit2D_show(self, *args)
5495 
5496 
5497  def __str__(self):
5498  """__str__(ParabolicFit2D self) -> std::string"""
5499  return _IMP_algebra.ParabolicFit2D___str__(self)
5500 
5501 
5502  def __repr__(self):
5503  """__repr__(ParabolicFit2D self) -> std::string"""
5504  return _IMP_algebra.ParabolicFit2D___repr__(self)
5505 
5506  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
5507  __del__ = lambda self: None
5508 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
5509 ParabolicFit2D_swigregister(ParabolicFit2D)
5510 
5511 class Plane3D(_GeometricPrimitive3D):
5512  """Proxy of C++ IMP::algebra::Plane3D class"""
5513  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5514 
5515  def __init__(self, *args):
5516  """
5517  __init__(IMP::algebra::Plane3D self) -> Plane3D
5518  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
5519  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
5520  """
5521  this = _IMP_algebra.new_Plane3D(*args)
5522  try:
5523  self.this.append(this)
5524  except:
5525  self.this = this
5526 
5527  def get_point_on_plane(self):
5528  """get_point_on_plane(Plane3D self) -> Vector3D"""
5529  return _IMP_algebra.Plane3D_get_point_on_plane(self)
5530 
5531 
5532  def get_normal(self):
5533  """get_normal(Plane3D self) -> Vector3D"""
5534  return _IMP_algebra.Plane3D_get_normal(self)
5535 
5536 
5537  def get_projected(self, p):
5538  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
5539  return _IMP_algebra.Plane3D_get_projected(self, p)
5540 
5541 
5542  def get_is_above(self, p):
5543  """get_is_above(Plane3D self, Vector3D p) -> bool"""
5544  return _IMP_algebra.Plane3D_get_is_above(self, p)
5545 
5546 
5547  def get_is_below(self, p):
5548  """get_is_below(Plane3D self, Vector3D p) -> bool"""
5549  return _IMP_algebra.Plane3D_get_is_below(self, p)
5550 
5551 
5552  def get_height(self, p):
5553  """get_height(Plane3D self, Vector3D p) -> double"""
5554  return _IMP_algebra.Plane3D_get_height(self, p)
5555 
5556 
5557  def show(self, *args):
5558  """
5559  show(Plane3D self, _ostream out)
5560  show(Plane3D self)
5561  """
5562  return _IMP_algebra.Plane3D_show(self, *args)
5563 
5564 
5565  def get_opposite(self):
5566  """get_opposite(Plane3D self) -> Plane3D"""
5567  return _IMP_algebra.Plane3D_get_opposite(self)
5568 
5569 
5570  def get_distance_from_origin(self):
5571  """get_distance_from_origin(Plane3D self) -> double"""
5572  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
5573 
5574 
5575  def __str__(self):
5576  """__str__(Plane3D self) -> std::string"""
5577  return _IMP_algebra.Plane3D___str__(self)
5578 
5579 
5580  def __repr__(self):
5581  """__repr__(Plane3D self) -> std::string"""
5582  return _IMP_algebra.Plane3D___repr__(self)
5583 
5584  __swig_destroy__ = _IMP_algebra.delete_Plane3D
5585  __del__ = lambda self: None
5586 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
5587 Plane3D_swigregister(Plane3D)
5588 
5589 
5590 def get_reflected(pln, p):
5591  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
5592  return _IMP_algebra.get_reflected(pln, p)
5593 
5594 def get_plane_3d_geometry(g):
5595  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
5596  return _IMP_algebra.get_plane_3d_geometry(g)
5597 class Reflection3D(_GeometricPrimitive3D):
5598  """Proxy of C++ IMP::algebra::Reflection3D class"""
5599  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5600 
5601  def __init__(self, *args):
5602  """
5603  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
5604  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
5605  """
5606  this = _IMP_algebra.new_Reflection3D(*args)
5607  try:
5608  self.this.append(this)
5609  except:
5610  self.this = this
5611 
5612  def get_reflected(self, v):
5613  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
5614  return _IMP_algebra.Reflection3D_get_reflected(self, v)
5615 
5616 
5617  def show(self, *args):
5618  """
5619  show(Reflection3D self, _ostream out)
5620  show(Reflection3D self)
5621  """
5622  return _IMP_algebra.Reflection3D_show(self, *args)
5623 
5624 
5625  def __str__(self):
5626  """__str__(Reflection3D self) -> std::string"""
5627  return _IMP_algebra.Reflection3D___str__(self)
5628 
5629 
5630  def __repr__(self):
5631  """__repr__(Reflection3D self) -> std::string"""
5632  return _IMP_algebra.Reflection3D___repr__(self)
5633 
5634  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
5635  __del__ = lambda self: None
5636 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
5637 Reflection3D_swigregister(Reflection3D)
5638 
5639 class Cylinder3D(_GeometricPrimitive3D):
5640  """Proxy of C++ IMP::algebra::Cylinder3D class"""
5641  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5642 
5643  def __init__(self, *args):
5644  """
5645  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5646  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5647  """
5648  this = _IMP_algebra.new_Cylinder3D(*args)
5649  try:
5650  self.this.append(this)
5651  except:
5652  self.this = this
5653 
5654  def get_radius(self):
5655  """get_radius(Cylinder3D self) -> double"""
5656  return _IMP_algebra.Cylinder3D_get_radius(self)
5657 
5658 
5659  def get_segment(self):
5660  """get_segment(Cylinder3D self) -> Segment3D"""
5661  return _IMP_algebra.Cylinder3D_get_segment(self)
5662 
5663 
5664  def get_surface_point_at(self, relative_height, angle):
5665  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5666  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5667 
5668 
5669  def get_inner_point_at(self, relative_height, relative_radius, angle):
5670  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5671  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5672 
5673 
5674  def show(self, *args):
5675  """
5676  show(Cylinder3D self, _ostream out)
5677  show(Cylinder3D self)
5678  """
5679  return _IMP_algebra.Cylinder3D_show(self, *args)
5680 
5681 
5682  def __str__(self):
5683  """__str__(Cylinder3D self) -> std::string"""
5684  return _IMP_algebra.Cylinder3D___str__(self)
5685 
5686 
5687  def __repr__(self):
5688  """__repr__(Cylinder3D self) -> std::string"""
5689  return _IMP_algebra.Cylinder3D___repr__(self)
5690 
5691  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5692  __del__ = lambda self: None
5693 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5694 Cylinder3D_swigregister(Cylinder3D)
5695 
5696 
5697 def get_cylinder_3d_geometry(g):
5698  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5699  return _IMP_algebra.get_cylinder_3d_geometry(g)
5700 class Ellipsoid3D(_GeometricPrimitive3D):
5701  """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
5702  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5703 
5704  def __init__(self, *args):
5705  """
5706  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5707  __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5708  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5709  """
5710  this = _IMP_algebra.new_Ellipsoid3D(*args)
5711  try:
5712  self.this.append(this)
5713  except:
5714  self.this = this
5715 
5716  def get_radii(self):
5717  """get_radii(Ellipsoid3D self) -> Vector3D"""
5718  return _IMP_algebra.Ellipsoid3D_get_radii(self)
5719 
5720 
5721  def get_reference_frame(self):
5722  """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5723  return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5724 
5725 
5726  def show(self, *args):
5727  """
5728  show(Ellipsoid3D self, _ostream out)
5729  show(Ellipsoid3D self)
5730  """
5731  return _IMP_algebra.Ellipsoid3D_show(self, *args)
5732 
5733 
5734  def __str__(self):
5735  """__str__(Ellipsoid3D self) -> std::string"""
5736  return _IMP_algebra.Ellipsoid3D___str__(self)
5737 
5738 
5739  def __repr__(self):
5740  """__repr__(Ellipsoid3D self) -> std::string"""
5741  return _IMP_algebra.Ellipsoid3D___repr__(self)
5742 
5743  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5744  __del__ = lambda self: None
5745 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5746 Ellipsoid3D_swigregister(Ellipsoid3D)
5747 
5748 
5749 def get_ellipsoid_3d_geometry(g):
5750  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5751  return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5752 class ConnollySurfacePoint(object):
5753  """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
5754  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5755 
5756  def __init__(self, a0, a1, a2, sp, a, n):
5757  """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5758  this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5759  try:
5760  self.this.append(this)
5761  except:
5762  self.this = this
5763 
5764  def get_atom(self, i):
5765  """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5766  return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5767 
5768 
5769  def get_surface_point(self):
5770  """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5771  return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5772 
5773 
5774  def get_area(self):
5775  """get_area(ConnollySurfacePoint self) -> double"""
5776  return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5777 
5778 
5779  def get_normal(self):
5780  """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5781  return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5782 
5783 
5784  def show(self, *args):
5785  """
5786  show(ConnollySurfacePoint self, _ostream out)
5787  show(ConnollySurfacePoint self)
5788  """
5789  return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5790 
5791 
5792  def __str__(self):
5793  """__str__(ConnollySurfacePoint self) -> std::string"""
5794  return _IMP_algebra.ConnollySurfacePoint___str__(self)
5795 
5796 
5797  def __repr__(self):
5798  """__repr__(ConnollySurfacePoint self) -> std::string"""
5799  return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5800 
5801  __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5802  __del__ = lambda self: None
5803 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5804 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5805 
5806 
5807 def get_connolly_surface(spheres, density, probe_radius):
5808  """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5809  return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5810 class LogEmbedding3D(object):
5811  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
5812  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5813 
5814  def __init__(self, *args):
5815  """
5816  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5817  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5818  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5819  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5820  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5821  """
5822  this = _IMP_algebra.new_LogEmbedding3D(*args)
5823  try:
5824  self.this.append(this)
5825  except:
5826  self.this = this
5827 
5828  def set_origin(self, o):
5829  """set_origin(LogEmbedding3D self, Vector3D o)"""
5830  return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5831 
5832 
5833  def get_origin(self):
5834  """get_origin(LogEmbedding3D self) -> Vector3D"""
5835  return _IMP_algebra.LogEmbedding3D_get_origin(self)
5836 
5837 
5838  def get_dimension(self):
5839  """get_dimension(LogEmbedding3D self) -> unsigned int"""
5840  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5841 
5842 
5843  def set_unit_cell(self, *args):
5844  """
5845  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5846  set_unit_cell(LogEmbedding3D self, Vector3D o)
5847  """
5848  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5849 
5850 
5851  def get_unit_cell(self):
5852  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5853  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5854 
5855 
5856  def get_extended_index(self, o):
5857  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5858  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5859 
5860 
5861  def get_index(self, o):
5862  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5863  return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5864 
5865 
5866  def get_center(self, *args):
5867  """
5868  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5869  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5870  """
5871  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5872 
5873 
5874  def get_bounding_box(self, *args):
5875  """
5876  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5877  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5878  """
5879  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5880 
5881 
5882  def show(self, *args):
5883  """
5884  show(LogEmbedding3D self, _ostream out)
5885  show(LogEmbedding3D self)
5886  """
5887  return _IMP_algebra.LogEmbedding3D_show(self, *args)
5888 
5889 
5890  def __str__(self):
5891  """__str__(LogEmbedding3D self) -> std::string"""
5892  return _IMP_algebra.LogEmbedding3D___str__(self)
5893 
5894 
5895  def __repr__(self):
5896  """__repr__(LogEmbedding3D self) -> std::string"""
5897  return _IMP_algebra.LogEmbedding3D___repr__(self)
5898 
5899 
5900  def __cmp__(self, arg2):
5901  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5902  return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5903 
5904 
5905  def __eq__(self, arg2):
5906  """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5907  return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5908 
5909  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5910  __del__ = lambda self: None
5911 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5912 LogEmbedding3D_swigregister(LogEmbedding3D)
5913 
5914 class LogEmbeddingKD(object):
5915  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
5916  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5917 
5918  def __init__(self, *args):
5919  """
5920  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5921  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5922  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5923  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5924  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5925  """
5926  this = _IMP_algebra.new_LogEmbeddingKD(*args)
5927  try:
5928  self.this.append(this)
5929  except:
5930  self.this = this
5931 
5932  def set_origin(self, o):
5933  """set_origin(LogEmbeddingKD self, VectorKD o)"""
5934  return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5935 
5936 
5937  def get_origin(self):
5938  """get_origin(LogEmbeddingKD self) -> VectorKD"""
5939  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5940 
5941 
5942  def get_dimension(self):
5943  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5944  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5945 
5946 
5947  def set_unit_cell(self, *args):
5948  """
5949  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5950  set_unit_cell(LogEmbeddingKD self, VectorKD o)
5951  """
5952  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5953 
5954 
5955  def get_unit_cell(self):
5956  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5957  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5958 
5959 
5960  def get_extended_index(self, o):
5961  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5962  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5963 
5964 
5965  def get_index(self, o):
5966  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5967  return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5968 
5969 
5970  def get_center(self, *args):
5971  """
5972  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5973  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5974  """
5975  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5976 
5977 
5978  def get_bounding_box(self, *args):
5979  """
5980  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5981  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5982  """
5983  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5984 
5985 
5986  def show(self, *args):
5987  """
5988  show(LogEmbeddingKD self, _ostream out)
5989  show(LogEmbeddingKD self)
5990  """
5991  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5992 
5993 
5994  def __str__(self):
5995  """__str__(LogEmbeddingKD self) -> std::string"""
5996  return _IMP_algebra.LogEmbeddingKD___str__(self)
5997 
5998 
5999  def __repr__(self):
6000  """__repr__(LogEmbeddingKD self) -> std::string"""
6001  return _IMP_algebra.LogEmbeddingKD___repr__(self)
6002 
6003 
6004  def __cmp__(self, arg2):
6005  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
6006  return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
6007 
6008 
6009  def __eq__(self, arg2):
6010  """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
6011  return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
6012 
6013  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
6014  __del__ = lambda self: None
6015 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
6016 LogEmbeddingKD_swigregister(LogEmbeddingKD)
6017 
6018 class DenseFloatLogGridKD(object):
6019  """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
6020  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6021 
6022  def __init__(self, sz, le):
6023  """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
6024  this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
6025  try:
6026  self.this.append(this)
6027  except:
6028  self.this = this
6029 
6030  def add_voxel(self, i, q):
6031  """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
6032  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
6033 
6034 
6035  def __getitem__(self, *args):
6036  """
6037  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
6038  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
6039  """
6040  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
6041 
6042 
6043  def __setitem__(self, *args):
6044  """
6045  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
6046  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
6047  """
6048  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
6049 
6050 
6051  def get_bounding_box(self, *args):
6052  """
6053  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6054  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
6055  """
6056  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
6057 
6058 
6059  def get_indexes(self, *args):
6060  """
6061  get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6062  get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6063  """
6064  return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
6065 
6066 
6067  def get_all_indexes(self):
6068  """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6069  return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
6070 
6071 
6072  def get_extended_indexes(self, *args):
6073  """
6074  get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6075  get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6076  """
6077  return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
6078 
6079 
6080  def get_center(self, *args):
6081  """
6082  get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6083  get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
6084  """
6085  return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
6086 
6087 
6088  def get_extended_index(self, v):
6089  """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6090  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
6091 
6092 
6093  def get_index(self, v):
6094  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6095  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
6096 
6097 
6098  def get_origin(self):
6099  """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
6100  return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
6101 
6102 
6103  def get_dimension(self):
6104  """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
6105  return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
6106 
6107 
6108  def get_unit_cell(self):
6109  """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
6110  return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
6111 
6112 
6113  def get_has_index(self, v):
6114  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
6115  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
6116 
6117 
6118  def __str__(self):
6119  """__str__(DenseFloatLogGridKD self) -> std::string"""
6120  return _IMP_algebra.DenseFloatLogGridKD___str__(self)
6121 
6122 
6123  def __repr__(self):
6124  """__repr__(DenseFloatLogGridKD self) -> std::string"""
6125  return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
6126 
6127 
6128  def show(self, *args):
6129  """
6130  show(DenseFloatLogGridKD self, _ostream out)
6131  show(DenseFloatLogGridKD self)
6132  """
6133  return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
6134 
6135  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
6136  __del__ = lambda self: None
6137 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
6138 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
6139 
6140 class DenseIntLogGrid3D(object):
6141  """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
6142  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6143 
6144  def __init__(self, sz, le):
6145  """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
6146  this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
6147  try:
6148  self.this.append(this)
6149  except:
6150  self.this = this
6151 
6152  def add_voxel(self, i, q):
6153  """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6154  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
6155 
6156 
6157  def __getitem__(self, *args):
6158  """
6159  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
6160  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
6161  """
6162  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
6163 
6164 
6165  def __setitem__(self, *args):
6166  """
6167  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
6168  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
6169  """
6170  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
6171 
6172 
6173  def get_bounding_box(self, *args):
6174  """
6175  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6176  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
6177  """
6178  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
6179 
6180 
6181  def get_indexes(self, *args):
6182  """
6183  get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6184  get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6185  """
6186  return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
6187 
6188 
6189  def get_all_indexes(self):
6190  """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6191  return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
6192 
6193 
6194  def get_extended_indexes(self, *args):
6195  """
6196  get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6197  get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6198  """
6199  return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
6200 
6201 
6202  def get_center(self, *args):
6203  """
6204  get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6205  get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
6206  """
6207  return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
6208 
6209 
6210  def get_extended_index(self, v):
6211  """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6212  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
6213 
6214 
6215  def get_index(self, v):
6216  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6217  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
6218 
6219 
6220  def get_origin(self):
6221  """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
6222  return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
6223 
6224 
6225  def get_dimension(self):
6226  """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
6227  return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
6228 
6229 
6230  def get_unit_cell(self):
6231  """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
6232  return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
6233 
6234 
6235  def get_has_index(self, v):
6236  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
6237  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
6238 
6239 
6240  def __str__(self):
6241  """__str__(DenseIntLogGrid3D self) -> std::string"""
6242  return _IMP_algebra.DenseIntLogGrid3D___str__(self)
6243 
6244 
6245  def __repr__(self):
6246  """__repr__(DenseIntLogGrid3D self) -> std::string"""
6247  return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
6248 
6249 
6250  def show(self, *args):
6251  """
6252  show(DenseIntLogGrid3D self, _ostream out)
6253  show(DenseIntLogGrid3D self)
6254  """
6255  return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
6256 
6257  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
6258  __del__ = lambda self: None
6259 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
6260 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
6261 
6262 class DenseDoubleGrid3D(object):
6263  """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
6264  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6265 
6266  def __init__(self, *args):
6267  """
6268  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
6269  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
6270  __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
6271  """
6272  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
6273  try:
6274  self.this.append(this)
6275  except:
6276  self.this = this
6277 
6278  def add_voxel(self, i, q):
6279  """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
6280  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
6281 
6282 
6283  def __getitem__(self, *args):
6284  """
6285  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
6286  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
6287  """
6288  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
6289 
6290 
6291  def __setitem__(self, *args):
6292  """
6293  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
6294  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
6295  """
6296  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
6297 
6298 
6299  def get_bounding_box(self, *args):
6300  """
6301  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6302  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
6303  """
6304  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
6305 
6306 
6307  def get_indexes(self, *args):
6308  """
6309  get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6310  get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6311  """
6312  return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
6313 
6314 
6315  def get_all_indexes(self):
6316  """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6317  return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
6318 
6319 
6320  def get_extended_indexes(self, *args):
6321  """
6322  get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6323  get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6324  """
6325  return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
6326 
6327 
6328  def get_center(self, *args):
6329  """
6330  get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6331  get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
6332  """
6333  return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
6334 
6335 
6336  def get_extended_index(self, v):
6337  """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6338  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
6339 
6340 
6341  def get_index(self, v):
6342  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6343  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
6344 
6345 
6346  def get_origin(self):
6347  """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
6348  return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
6349 
6350 
6351  def get_dimension(self):
6352  """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
6353  return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
6354 
6355 
6356  def get_unit_cell(self):
6357  """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
6358  return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
6359 
6360 
6361  def get_has_index(self, v):
6362  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
6363  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
6364 
6365 
6366  def __str__(self):
6367  """__str__(DenseDoubleGrid3D self) -> std::string"""
6368  return _IMP_algebra.DenseDoubleGrid3D___str__(self)
6369 
6370 
6371  def __repr__(self):
6372  """__repr__(DenseDoubleGrid3D self) -> std::string"""
6373  return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
6374 
6375 
6376  def show(self, *args):
6377  """
6378  show(DenseDoubleGrid3D self, _ostream out)
6379  show(DenseDoubleGrid3D self)
6380  """
6381  return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
6382 
6383  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
6384  __del__ = lambda self: None
6385 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
6386 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
6387 
6388 class DenseFloatGrid3D(object):
6389  """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
6390  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6391 
6392  def __init__(self, *args):
6393  """
6394  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
6395  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
6396  __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
6397  """
6398  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
6399  try:
6400  self.this.append(this)
6401  except:
6402  self.this = this
6403 
6404  def add_voxel(self, i, q):
6405  """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
6406  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
6407 
6408 
6409  def __getitem__(self, *args):
6410  """
6411  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
6412  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
6413  """
6414  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
6415 
6416 
6417  def __setitem__(self, *args):
6418  """
6419  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
6420  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
6421  """
6422  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
6423 
6424 
6425  def get_bounding_box(self, *args):
6426  """
6427  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6428  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
6429  """
6430  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
6431 
6432 
6433  def get_indexes(self, *args):
6434  """
6435  get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6436  get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6437  """
6438  return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
6439 
6440 
6441  def get_all_indexes(self):
6442  """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6443  return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
6444 
6445 
6446  def get_extended_indexes(self, *args):
6447  """
6448  get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6449  get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6450  """
6451  return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
6452 
6453 
6454  def get_center(self, *args):
6455  """
6456  get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6457  get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
6458  """
6459  return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
6460 
6461 
6462  def get_extended_index(self, v):
6463  """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6464  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
6465 
6466 
6467  def get_index(self, v):
6468  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6469  return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
6470 
6471 
6472  def get_origin(self):
6473  """get_origin(DenseFloatGrid3D self) -> Vector3D"""
6474  return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
6475 
6476 
6477  def get_dimension(self):
6478  """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
6479  return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
6480 
6481 
6482  def get_unit_cell(self):
6483  """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
6484  return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
6485 
6486 
6487  def get_has_index(self, v):
6488  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
6489  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
6490 
6491 
6492  def __str__(self):
6493  """__str__(DenseFloatGrid3D self) -> std::string"""
6494  return _IMP_algebra.DenseFloatGrid3D___str__(self)
6495 
6496 
6497  def __repr__(self):
6498  """__repr__(DenseFloatGrid3D self) -> std::string"""
6499  return _IMP_algebra.DenseFloatGrid3D___repr__(self)
6500 
6501 
6502  def show(self, *args):
6503  """
6504  show(DenseFloatGrid3D self, _ostream out)
6505  show(DenseFloatGrid3D self)
6506  """
6507  return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
6508 
6509  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
6510  __del__ = lambda self: None
6511 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
6512 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
6513 
6514 class SparseUnboundedIntGrid3D(object):
6515  """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
6516  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6517 
6518  def __init__(self, *args):
6519  """
6520  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6521  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
6522  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6523  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
6524  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
6525  """
6526  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
6527  try:
6528  self.this.append(this)
6529  except:
6530  self.this = this
6531 
6532  def add_voxel(self, i, q):
6533  """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6534  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
6535 
6536 
6537  def __getitem__(self, *args):
6538  """
6539  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
6540  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
6541  """
6542  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
6543 
6544 
6545  def __setitem__(self, *args):
6546  """
6547  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
6548  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
6549  """
6550  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
6551 
6552 
6553  def get_bounding_box(self, *args):
6554  """
6555  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6556  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
6557  """
6558  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
6559 
6560 
6561  def get_indexes(self, *args):
6562  """
6563  get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6564  get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6565  """
6566  return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
6567 
6568 
6569  def get_all_indexes(self):
6570  """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6571  return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
6572 
6573 
6574  def get_extended_indexes(self, *args):
6575  """
6576  get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6577  get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6578  """
6579  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
6580 
6581 
6582  def get_center(self, *args):
6583  """
6584  get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6585  get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
6586  """
6587  return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
6588 
6589 
6590  def get_extended_index(self, v):
6591  """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6592  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
6593 
6594 
6595  def get_index(self, v):
6596  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6597  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
6598 
6599 
6600  def get_origin(self):
6601  """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
6602  return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
6603 
6604 
6605  def get_dimension(self):
6606  """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
6607  return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
6608 
6609 
6610  def get_unit_cell(self):
6611  """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
6612  return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
6613 
6614 
6615  def get_has_index(self, v):
6616  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
6617  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
6618 
6619 
6620  def __str__(self):
6621  """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
6622  return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
6623 
6624 
6625  def __repr__(self):
6626  """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
6627  return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6628 
6629 
6630  def show(self, *args):
6631  """
6632  show(SparseUnboundedIntGrid3D self, _ostream out)
6633  show(SparseUnboundedIntGrid3D self)
6634  """
6635  return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6636 
6637  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6638  __del__ = lambda self: None
6639 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6640 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6641 
6642 class SparseUnboundedIntGridKD(object):
6643  """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
6644  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6645 
6646  def __init__(self, *args):
6647  """
6648  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6649  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6650  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6651  """
6652  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6653  try:
6654  self.this.append(this)
6655  except:
6656  self.this = this
6657 
6658  def add_voxel(self, i, q):
6659  """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6660  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6661 
6662 
6663  def __getitem__(self, *args):
6664  """
6665  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6666  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6667  """
6668  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6669 
6670 
6671  def __setitem__(self, *args):
6672  """
6673  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6674  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6675  """
6676  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6677 
6678 
6679  def get_bounding_box(self, *args):
6680  """
6681  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6682  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6683  """
6684  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6685 
6686 
6687  def get_indexes(self, *args):
6688  """
6689  get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6690  get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6691  """
6692  return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6693 
6694 
6695  def get_all_indexes(self):
6696  """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6697  return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6698 
6699 
6700  def get_extended_indexes(self, *args):
6701  """
6702  get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6703  get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6704  """
6705  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6706 
6707 
6708  def get_center(self, *args):
6709  """
6710  get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6711  get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6712  """
6713  return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6714 
6715 
6716  def get_extended_index(self, v):
6717  """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6718  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6719 
6720 
6721  def get_index(self, v):
6722  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6723  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6724 
6725 
6726  def get_origin(self):
6727  """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6728  return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6729 
6730 
6731  def get_dimension(self):
6732  """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6733  return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6734 
6735 
6736  def get_unit_cell(self):
6737  """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6738  return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6739 
6740 
6741  def get_has_index(self, v):
6742  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6743  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6744 
6745 
6746  def __str__(self):
6747  """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6748  return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6749 
6750 
6751  def __repr__(self):
6752  """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6753  return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6754 
6755 
6756  def show(self, *args):
6757  """
6758  show(SparseUnboundedIntGridKD self, _ostream out)
6759  show(SparseUnboundedIntGridKD self)
6760  """
6761  return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6762 
6763  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6764  __del__ = lambda self: None
6765 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6766 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6767 
6768 class GridIndex1D(IMP._Value):
6769  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
6770  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6771 
6772  def __init__(self, *args):
6773  """
6774  __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6775  __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6776  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6777  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6778  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6779  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6780  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6781  """
6782  this = _IMP_algebra.new_GridIndex1D(*args)
6783  try:
6784  self.this.append(this)
6785  except:
6786  self.this = this
6787 
6788  def get_dimension(self):
6789  """get_dimension(GridIndex1D self) -> unsigned int"""
6790  return _IMP_algebra.GridIndex1D_get_dimension(self)
6791 
6792 
6793  def __getitem__(self, i):
6794  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6795  return _IMP_algebra.GridIndex1D___getitem__(self, i)
6796 
6797 
6798  def show(self, *args):
6799  """
6800  show(GridIndex1D self, _ostream out)
6801  show(GridIndex1D self)
6802  """
6803  return _IMP_algebra.GridIndex1D_show(self, *args)
6804 
6805 
6806  def __len__(self):
6807  """__len__(GridIndex1D self) -> unsigned int"""
6808  return _IMP_algebra.GridIndex1D___len__(self)
6809 
6810 
6811  def __cmp__(self, o):
6812  """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6813  return _IMP_algebra.GridIndex1D___cmp__(self, o)
6814 
6815 
6816  def __eq__(self, o):
6817  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6818  return _IMP_algebra.GridIndex1D___eq__(self, o)
6819 
6820 
6821  def __ne__(self, o):
6822  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6823  return _IMP_algebra.GridIndex1D___ne__(self, o)
6824 
6825 
6826  def __lt__(self, o):
6827  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6828  return _IMP_algebra.GridIndex1D___lt__(self, o)
6829 
6830 
6831  def __gt__(self, o):
6832  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6833  return _IMP_algebra.GridIndex1D___gt__(self, o)
6834 
6835 
6836  def __ge__(self, o):
6837  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6838  return _IMP_algebra.GridIndex1D___ge__(self, o)
6839 
6840 
6841  def __le__(self, o):
6842  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6843  return _IMP_algebra.GridIndex1D___le__(self, o)
6844 
6845 
6846  def __hash__(self):
6847  """__hash__(GridIndex1D self) -> std::size_t"""
6848  return _IMP_algebra.GridIndex1D___hash__(self)
6849 
6850 
6851  def __str__(self):
6852  """__str__(GridIndex1D self) -> std::string"""
6853  return _IMP_algebra.GridIndex1D___str__(self)
6854 
6855 
6856  def __repr__(self):
6857  """__repr__(GridIndex1D self) -> std::string"""
6858  return _IMP_algebra.GridIndex1D___repr__(self)
6859 
6860  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6861  __del__ = lambda self: None
6862 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6863 GridIndex1D_swigregister(GridIndex1D)
6864 
6865 class GridIndex2D(IMP._Value):
6866  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
6867  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6868 
6869  def __init__(self, *args):
6870  """
6871  __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6872  __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6873  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6874  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6875  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6876  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6877  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6878  """
6879  this = _IMP_algebra.new_GridIndex2D(*args)
6880  try:
6881  self.this.append(this)
6882  except:
6883  self.this = this
6884 
6885  def get_dimension(self):
6886  """get_dimension(GridIndex2D self) -> unsigned int"""
6887  return _IMP_algebra.GridIndex2D_get_dimension(self)
6888 
6889 
6890  def __getitem__(self, i):
6891  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6892  return _IMP_algebra.GridIndex2D___getitem__(self, i)
6893 
6894 
6895  def show(self, *args):
6896  """
6897  show(GridIndex2D self, _ostream out)
6898  show(GridIndex2D self)
6899  """
6900  return _IMP_algebra.GridIndex2D_show(self, *args)
6901 
6902 
6903  def __len__(self):
6904  """__len__(GridIndex2D self) -> unsigned int"""
6905  return _IMP_algebra.GridIndex2D___len__(self)
6906 
6907 
6908  def __cmp__(self, o):
6909  """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6910  return _IMP_algebra.GridIndex2D___cmp__(self, o)
6911 
6912 
6913  def __eq__(self, o):
6914  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6915  return _IMP_algebra.GridIndex2D___eq__(self, o)
6916 
6917 
6918  def __ne__(self, o):
6919  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6920  return _IMP_algebra.GridIndex2D___ne__(self, o)
6921 
6922 
6923  def __lt__(self, o):
6924  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6925  return _IMP_algebra.GridIndex2D___lt__(self, o)
6926 
6927 
6928  def __gt__(self, o):
6929  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6930  return _IMP_algebra.GridIndex2D___gt__(self, o)
6931 
6932 
6933  def __ge__(self, o):
6934  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6935  return _IMP_algebra.GridIndex2D___ge__(self, o)
6936 
6937 
6938  def __le__(self, o):
6939  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6940  return _IMP_algebra.GridIndex2D___le__(self, o)
6941 
6942 
6943  def __hash__(self):
6944  """__hash__(GridIndex2D self) -> std::size_t"""
6945  return _IMP_algebra.GridIndex2D___hash__(self)
6946 
6947 
6948  def __str__(self):
6949  """__str__(GridIndex2D self) -> std::string"""
6950  return _IMP_algebra.GridIndex2D___str__(self)
6951 
6952 
6953  def __repr__(self):
6954  """__repr__(GridIndex2D self) -> std::string"""
6955  return _IMP_algebra.GridIndex2D___repr__(self)
6956 
6957  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6958  __del__ = lambda self: None
6959 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6960 GridIndex2D_swigregister(GridIndex2D)
6961 
6962 class GridIndex3D(IMP._Value):
6963  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
6964  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6965 
6966  def __init__(self, *args):
6967  """
6968  __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6969  __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6970  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6971  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6972  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6973  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6974  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6975  """
6976  this = _IMP_algebra.new_GridIndex3D(*args)
6977  try:
6978  self.this.append(this)
6979  except:
6980  self.this = this
6981 
6982  def get_dimension(self):
6983  """get_dimension(GridIndex3D self) -> unsigned int"""
6984  return _IMP_algebra.GridIndex3D_get_dimension(self)
6985 
6986 
6987  def __getitem__(self, i):
6988  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6989  return _IMP_algebra.GridIndex3D___getitem__(self, i)
6990 
6991 
6992  def show(self, *args):
6993  """
6994  show(GridIndex3D self, _ostream out)
6995  show(GridIndex3D self)
6996  """
6997  return _IMP_algebra.GridIndex3D_show(self, *args)
6998 
6999 
7000  def __len__(self):
7001  """__len__(GridIndex3D self) -> unsigned int"""
7002  return _IMP_algebra.GridIndex3D___len__(self)
7003 
7004 
7005  def __cmp__(self, o):
7006  """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
7007  return _IMP_algebra.GridIndex3D___cmp__(self, o)
7008 
7009 
7010  def __eq__(self, o):
7011  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
7012  return _IMP_algebra.GridIndex3D___eq__(self, o)
7013 
7014 
7015  def __ne__(self, o):
7016  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
7017  return _IMP_algebra.GridIndex3D___ne__(self, o)
7018 
7019 
7020  def __lt__(self, o):
7021  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
7022  return _IMP_algebra.GridIndex3D___lt__(self, o)
7023 
7024 
7025  def __gt__(self, o):
7026  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
7027  return _IMP_algebra.GridIndex3D___gt__(self, o)
7028 
7029 
7030  def __ge__(self, o):
7031  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
7032  return _IMP_algebra.GridIndex3D___ge__(self, o)
7033 
7034 
7035  def __le__(self, o):
7036  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
7037  return _IMP_algebra.GridIndex3D___le__(self, o)
7038 
7039 
7040  def __hash__(self):
7041  """__hash__(GridIndex3D self) -> std::size_t"""
7042  return _IMP_algebra.GridIndex3D___hash__(self)
7043 
7044 
7045  def __str__(self):
7046  """__str__(GridIndex3D self) -> std::string"""
7047  return _IMP_algebra.GridIndex3D___str__(self)
7048 
7049 
7050  def __repr__(self):
7051  """__repr__(GridIndex3D self) -> std::string"""
7052  return _IMP_algebra.GridIndex3D___repr__(self)
7053 
7054  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
7055  __del__ = lambda self: None
7056 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
7057 GridIndex3D_swigregister(GridIndex3D)
7058 
7059 class GridIndex4D(IMP._Value):
7060  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
7061  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7062 
7063  def __init__(self, *args):
7064  """
7065  __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
7066  __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
7067  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
7068  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
7069  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
7070  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
7071  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
7072  """
7073  this = _IMP_algebra.new_GridIndex4D(*args)
7074  try:
7075  self.this.append(this)
7076  except:
7077  self.this = this
7078 
7079  def get_dimension(self):
7080  """get_dimension(GridIndex4D self) -> unsigned int"""
7081  return _IMP_algebra.GridIndex4D_get_dimension(self)
7082 
7083 
7084  def __getitem__(self, i):
7085  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
7086  return _IMP_algebra.GridIndex4D___getitem__(self, i)
7087 
7088 
7089  def show(self, *args):
7090  """
7091  show(GridIndex4D self, _ostream out)
7092  show(GridIndex4D self)
7093  """
7094  return _IMP_algebra.GridIndex4D_show(self, *args)
7095 
7096 
7097  def __len__(self):
7098  """__len__(GridIndex4D self) -> unsigned int"""
7099  return _IMP_algebra.GridIndex4D___len__(self)
7100 
7101 
7102  def __cmp__(self, o):
7103  """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
7104  return _IMP_algebra.GridIndex4D___cmp__(self, o)
7105 
7106 
7107  def __eq__(self, o):
7108  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
7109  return _IMP_algebra.GridIndex4D___eq__(self, o)
7110 
7111 
7112  def __ne__(self, o):
7113  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
7114  return _IMP_algebra.GridIndex4D___ne__(self, o)
7115 
7116 
7117  def __lt__(self, o):
7118  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
7119  return _IMP_algebra.GridIndex4D___lt__(self, o)
7120 
7121 
7122  def __gt__(self, o):
7123  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
7124  return _IMP_algebra.GridIndex4D___gt__(self, o)
7125 
7126 
7127  def __ge__(self, o):
7128  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
7129  return _IMP_algebra.GridIndex4D___ge__(self, o)
7130 
7131 
7132  def __le__(self, o):
7133  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
7134  return _IMP_algebra.GridIndex4D___le__(self, o)
7135 
7136 
7137  def __hash__(self):
7138  """__hash__(GridIndex4D self) -> std::size_t"""
7139  return _IMP_algebra.GridIndex4D___hash__(self)
7140 
7141 
7142  def __str__(self):
7143  """__str__(GridIndex4D self) -> std::string"""
7144  return _IMP_algebra.GridIndex4D___str__(self)
7145 
7146 
7147  def __repr__(self):
7148  """__repr__(GridIndex4D self) -> std::string"""
7149  return _IMP_algebra.GridIndex4D___repr__(self)
7150 
7151  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
7152  __del__ = lambda self: None
7153 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
7154 GridIndex4D_swigregister(GridIndex4D)
7155 
7156 class GridIndex5D(IMP._Value):
7157  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
7158  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7159 
7160  def __init__(self, *args):
7161  """
7162  __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
7163  __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
7164  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
7165  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
7166  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
7167  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
7168  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
7169  """
7170  this = _IMP_algebra.new_GridIndex5D(*args)
7171  try:
7172  self.this.append(this)
7173  except:
7174  self.this = this
7175 
7176  def get_dimension(self):
7177  """get_dimension(GridIndex5D self) -> unsigned int"""
7178  return _IMP_algebra.GridIndex5D_get_dimension(self)
7179 
7180 
7181  def __getitem__(self, i):
7182  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
7183  return _IMP_algebra.GridIndex5D___getitem__(self, i)
7184 
7185 
7186  def show(self, *args):
7187  """
7188  show(GridIndex5D self, _ostream out)
7189  show(GridIndex5D self)
7190  """
7191  return _IMP_algebra.GridIndex5D_show(self, *args)
7192 
7193 
7194  def __len__(self):
7195  """__len__(GridIndex5D self) -> unsigned int"""
7196  return _IMP_algebra.GridIndex5D___len__(self)
7197 
7198 
7199  def __cmp__(self, o):
7200  """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
7201  return _IMP_algebra.GridIndex5D___cmp__(self, o)
7202 
7203 
7204  def __eq__(self, o):
7205  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
7206  return _IMP_algebra.GridIndex5D___eq__(self, o)
7207 
7208 
7209  def __ne__(self, o):
7210  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
7211  return _IMP_algebra.GridIndex5D___ne__(self, o)
7212 
7213 
7214  def __lt__(self, o):
7215  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
7216  return _IMP_algebra.GridIndex5D___lt__(self, o)
7217 
7218 
7219  def __gt__(self, o):
7220  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
7221  return _IMP_algebra.GridIndex5D___gt__(self, o)
7222 
7223 
7224  def __ge__(self, o):
7225  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
7226  return _IMP_algebra.GridIndex5D___ge__(self, o)
7227 
7228 
7229  def __le__(self, o):
7230  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
7231  return _IMP_algebra.GridIndex5D___le__(self, o)
7232 
7233 
7234  def __hash__(self):
7235  """__hash__(GridIndex5D self) -> std::size_t"""
7236  return _IMP_algebra.GridIndex5D___hash__(self)
7237 
7238 
7239  def __str__(self):
7240  """__str__(GridIndex5D self) -> std::string"""
7241  return _IMP_algebra.GridIndex5D___str__(self)
7242 
7243 
7244  def __repr__(self):
7245  """__repr__(GridIndex5D self) -> std::string"""
7246  return _IMP_algebra.GridIndex5D___repr__(self)
7247 
7248  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
7249  __del__ = lambda self: None
7250 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
7251 GridIndex5D_swigregister(GridIndex5D)
7252 
7253 class GridIndex6D(IMP._Value):
7254  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
7255  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7256 
7257  def __init__(self, *args):
7258  """
7259  __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
7260  __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
7261  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
7262  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
7263  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
7264  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
7265  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
7266  """
7267  this = _IMP_algebra.new_GridIndex6D(*args)
7268  try:
7269  self.this.append(this)
7270  except:
7271  self.this = this
7272 
7273  def get_dimension(self):
7274  """get_dimension(GridIndex6D self) -> unsigned int"""
7275  return _IMP_algebra.GridIndex6D_get_dimension(self)
7276 
7277 
7278  def __getitem__(self, i):
7279  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
7280  return _IMP_algebra.GridIndex6D___getitem__(self, i)
7281 
7282 
7283  def show(self, *args):
7284  """
7285  show(GridIndex6D self, _ostream out)
7286  show(GridIndex6D self)
7287  """
7288  return _IMP_algebra.GridIndex6D_show(self, *args)
7289 
7290 
7291  def __len__(self):
7292  """__len__(GridIndex6D self) -> unsigned int"""
7293  return _IMP_algebra.GridIndex6D___len__(self)
7294 
7295 
7296  def __cmp__(self, o):
7297  """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
7298  return _IMP_algebra.GridIndex6D___cmp__(self, o)
7299 
7300 
7301  def __eq__(self, o):
7302  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
7303  return _IMP_algebra.GridIndex6D___eq__(self, o)
7304 
7305 
7306  def __ne__(self, o):
7307  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
7308  return _IMP_algebra.GridIndex6D___ne__(self, o)
7309 
7310 
7311  def __lt__(self, o):
7312  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
7313  return _IMP_algebra.GridIndex6D___lt__(self, o)
7314 
7315 
7316  def __gt__(self, o):
7317  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
7318  return _IMP_algebra.GridIndex6D___gt__(self, o)
7319 
7320 
7321  def __ge__(self, o):
7322  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
7323  return _IMP_algebra.GridIndex6D___ge__(self, o)
7324 
7325 
7326  def __le__(self, o):
7327  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
7328  return _IMP_algebra.GridIndex6D___le__(self, o)
7329 
7330 
7331  def __hash__(self):
7332  """__hash__(GridIndex6D self) -> std::size_t"""
7333  return _IMP_algebra.GridIndex6D___hash__(self)
7334 
7335 
7336  def __str__(self):
7337  """__str__(GridIndex6D self) -> std::string"""
7338  return _IMP_algebra.GridIndex6D___str__(self)
7339 
7340 
7341  def __repr__(self):
7342  """__repr__(GridIndex6D self) -> std::string"""
7343  return _IMP_algebra.GridIndex6D___repr__(self)
7344 
7345  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
7346  __del__ = lambda self: None
7347 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
7348 GridIndex6D_swigregister(GridIndex6D)
7349 
7350 class GridIndexKD(IMP._Value):
7351  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
7352  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7353 
7354  def __init__(self, *args):
7355  """
7356  __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
7357  __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
7358  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
7359  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
7360  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
7361  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
7362  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
7363  """
7364  this = _IMP_algebra.new_GridIndexKD(*args)
7365  try:
7366  self.this.append(this)
7367  except:
7368  self.this = this
7369 
7370  def get_dimension(self):
7371  """get_dimension(GridIndexKD self) -> unsigned int"""
7372  return _IMP_algebra.GridIndexKD_get_dimension(self)
7373 
7374 
7375  def __getitem__(self, i):
7376  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
7377  return _IMP_algebra.GridIndexKD___getitem__(self, i)
7378 
7379 
7380  def show(self, *args):
7381  """
7382  show(GridIndexKD self, _ostream out)
7383  show(GridIndexKD self)
7384  """
7385  return _IMP_algebra.GridIndexKD_show(self, *args)
7386 
7387 
7388  def __len__(self):
7389  """__len__(GridIndexKD self) -> unsigned int"""
7390  return _IMP_algebra.GridIndexKD___len__(self)
7391 
7392 
7393  def __cmp__(self, o):
7394  """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
7395  return _IMP_algebra.GridIndexKD___cmp__(self, o)
7396 
7397 
7398  def __eq__(self, o):
7399  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
7400  return _IMP_algebra.GridIndexKD___eq__(self, o)
7401 
7402 
7403  def __ne__(self, o):
7404  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
7405  return _IMP_algebra.GridIndexKD___ne__(self, o)
7406 
7407 
7408  def __lt__(self, o):
7409  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
7410  return _IMP_algebra.GridIndexKD___lt__(self, o)
7411 
7412 
7413  def __gt__(self, o):
7414  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
7415  return _IMP_algebra.GridIndexKD___gt__(self, o)
7416 
7417 
7418  def __ge__(self, o):
7419  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
7420  return _IMP_algebra.GridIndexKD___ge__(self, o)
7421 
7422 
7423  def __le__(self, o):
7424  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
7425  return _IMP_algebra.GridIndexKD___le__(self, o)
7426 
7427 
7428  def __hash__(self):
7429  """__hash__(GridIndexKD self) -> std::size_t"""
7430  return _IMP_algebra.GridIndexKD___hash__(self)
7431 
7432 
7433  def __str__(self):
7434  """__str__(GridIndexKD self) -> std::string"""
7435  return _IMP_algebra.GridIndexKD___str__(self)
7436 
7437 
7438  def __repr__(self):
7439  """__repr__(GridIndexKD self) -> std::string"""
7440  return _IMP_algebra.GridIndexKD___repr__(self)
7441 
7442  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
7443  __del__ = lambda self: None
7444 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
7445 GridIndexKD_swigregister(GridIndexKD)
7446 
7447 class ExtendedGridIndex1D(IMP._Value):
7448  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
7449  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7450 
7451  def __init__(self, *args):
7452  """
7453  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
7454  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
7455  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
7456  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
7457  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
7458  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
7459  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
7460  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
7461  """
7462  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
7463  try:
7464  self.this.append(this)
7465  except:
7466  self.this = this
7467 
7468  def get_dimension(self):
7469  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
7470  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
7471 
7472 
7473  def __cmp__(self, o):
7474  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
7475  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
7476 
7477 
7478  def __eq__(self, o):
7479  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7480  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
7481 
7482 
7483  def __ne__(self, o):
7484  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7485  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
7486 
7487 
7488  def __lt__(self, o):
7489  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7490  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
7491 
7492 
7493  def __gt__(self, o):
7494  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7495  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
7496 
7497 
7498  def __ge__(self, o):
7499  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7500  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
7501 
7502 
7503  def __le__(self, o):
7504  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7505  return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
7506 
7507 
7508  def __setitem__(self, i, v):
7509  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
7510  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
7511 
7512 
7513  def __getitem__(self, i):
7514  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
7515  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
7516 
7517 
7518  def show(self, *args):
7519  """
7520  show(ExtendedGridIndex1D self, _ostream out)
7521  show(ExtendedGridIndex1D self)
7522  """
7523  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
7524 
7525 
7526  def __len__(self):
7527  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
7528  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
7529 
7530 
7531  def __hash__(self):
7532  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
7533  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
7534 
7535 
7536  def get_uniform_offset(self, ii):
7537  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
7538  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
7539 
7540 
7541  def get_offset(self, i, j, k):
7542  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
7543  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
7544 
7545 
7546  def __str__(self):
7547  """__str__(ExtendedGridIndex1D self) -> std::string"""
7548  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
7549 
7550 
7551  def __repr__(self):
7552  """__repr__(ExtendedGridIndex1D self) -> std::string"""
7553  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
7554 
7555  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
7556  __del__ = lambda self: None
7557 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
7558 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
7559 
7560 class ExtendedGridIndex2D(IMP._Value):
7561  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
7562  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7563 
7564  def __init__(self, *args):
7565  """
7566  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
7567  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
7568  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
7569  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
7570  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
7571  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
7572  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
7573  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
7574  """
7575  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
7576  try:
7577  self.this.append(this)
7578  except:
7579  self.this = this
7580 
7581  def get_dimension(self):
7582  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
7583  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
7584 
7585 
7586  def __cmp__(self, o):
7587  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
7588  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
7589 
7590 
7591  def __eq__(self, o):
7592  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7593  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
7594 
7595 
7596  def __ne__(self, o):
7597  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7598  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
7599 
7600 
7601  def __lt__(self, o):
7602  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7603  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
7604 
7605 
7606  def __gt__(self, o):
7607  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7608  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
7609 
7610 
7611  def __ge__(self, o):
7612  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7613  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
7614 
7615 
7616  def __le__(self, o):
7617  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7618  return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7619 
7620 
7621  def __setitem__(self, i, v):
7622  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7623  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7624 
7625 
7626  def __getitem__(self, i):
7627  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7628  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7629 
7630 
7631  def show(self, *args):
7632  """
7633  show(ExtendedGridIndex2D self, _ostream out)
7634  show(ExtendedGridIndex2D self)
7635  """
7636  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7637 
7638 
7639  def __len__(self):
7640  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7641  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7642 
7643 
7644  def __hash__(self):
7645  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7646  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7647 
7648 
7649  def get_uniform_offset(self, ii):
7650  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7651  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7652 
7653 
7654  def get_offset(self, i, j, k):
7655  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7656  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7657 
7658 
7659  def __str__(self):
7660  """__str__(ExtendedGridIndex2D self) -> std::string"""
7661  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7662 
7663 
7664  def __repr__(self):
7665  """__repr__(ExtendedGridIndex2D self) -> std::string"""
7666  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7667 
7668  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7669  __del__ = lambda self: None
7670 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7671 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7672 
7673 class ExtendedGridIndex3D(IMP._Value):
7674  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
7675  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7676 
7677  def __init__(self, *args):
7678  """
7679  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7680  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7681  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7682  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7683  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7684  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7685  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7686  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7687  """
7688  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7689  try:
7690  self.this.append(this)
7691  except:
7692  self.this = this
7693 
7694  def get_dimension(self):
7695  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7696  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7697 
7698 
7699  def __cmp__(self, o):
7700  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7701  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7702 
7703 
7704  def __eq__(self, o):
7705  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7706  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7707 
7708 
7709  def __ne__(self, o):
7710  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7711  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7712 
7713 
7714  def __lt__(self, o):
7715  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7716  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7717 
7718 
7719  def __gt__(self, o):
7720  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7721  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7722 
7723 
7724  def __ge__(self, o):
7725  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7726  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7727 
7728 
7729  def __le__(self, o):
7730  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7731  return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7732 
7733 
7734  def __setitem__(self, i, v):
7735  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7736  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7737 
7738 
7739  def __getitem__(self, i):
7740  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7741  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7742 
7743 
7744  def show(self, *args):
7745  """
7746  show(ExtendedGridIndex3D self, _ostream out)
7747  show(ExtendedGridIndex3D self)
7748  """
7749  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7750 
7751 
7752  def __len__(self):
7753  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7754  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7755 
7756 
7757  def __hash__(self):
7758  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7759  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7760 
7761 
7762  def get_uniform_offset(self, ii):
7763  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7764  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7765 
7766 
7767  def get_offset(self, i, j, k):
7768  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7769  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7770 
7771 
7772  def __str__(self):
7773  """__str__(ExtendedGridIndex3D self) -> std::string"""
7774  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7775 
7776 
7777  def __repr__(self):
7778  """__repr__(ExtendedGridIndex3D self) -> std::string"""
7779  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7780 
7781  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7782  __del__ = lambda self: None
7783 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7784 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7785 
7786 class ExtendedGridIndex4D(IMP._Value):
7787  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
7788  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7789 
7790  def __init__(self, *args):
7791  """
7792  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7793  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7794  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7795  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7796  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7797  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7798  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7799  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7800  """
7801  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7802  try:
7803  self.this.append(this)
7804  except:
7805  self.this = this
7806 
7807  def get_dimension(self):
7808  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7809  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7810 
7811 
7812  def __cmp__(self, o):
7813  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7814  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7815 
7816 
7817  def __eq__(self, o):
7818  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7819  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7820 
7821 
7822  def __ne__(self, o):
7823  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7824  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7825 
7826 
7827  def __lt__(self, o):
7828  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7829  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7830 
7831 
7832  def __gt__(self, o):
7833  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7834  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7835 
7836 
7837  def __ge__(self, o):
7838  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7839  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7840 
7841 
7842  def __le__(self, o):
7843  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7844  return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7845 
7846 
7847  def __setitem__(self, i, v):
7848  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7849  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7850 
7851 
7852  def __getitem__(self, i):
7853  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7854  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7855 
7856 
7857  def show(self, *args):
7858  """
7859  show(ExtendedGridIndex4D self, _ostream out)
7860  show(ExtendedGridIndex4D self)
7861  """
7862  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7863 
7864 
7865  def __len__(self):
7866  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7867  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7868 
7869 
7870  def __hash__(self):
7871  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7872  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7873 
7874 
7875  def get_uniform_offset(self, ii):
7876  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7877  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7878 
7879 
7880  def get_offset(self, i, j, k):
7881  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7882  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7883 
7884 
7885  def __str__(self):
7886  """__str__(ExtendedGridIndex4D self) -> std::string"""
7887  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7888 
7889 
7890  def __repr__(self):
7891  """__repr__(ExtendedGridIndex4D self) -> std::string"""
7892  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7893 
7894  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7895  __del__ = lambda self: None
7896 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7897 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7898 
7899 class ExtendedGridIndex5D(IMP._Value):
7900  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
7901  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7902 
7903  def __init__(self, *args):
7904  """
7905  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7906  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7907  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7908  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7909  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7910  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7911  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7912  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7913  """
7914  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7915  try:
7916  self.this.append(this)
7917  except:
7918  self.this = this
7919 
7920  def get_dimension(self):
7921  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7922  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7923 
7924 
7925  def __cmp__(self, o):
7926  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7927  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7928 
7929 
7930  def __eq__(self, o):
7931  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7932  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7933 
7934 
7935  def __ne__(self, o):
7936  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7937  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7938 
7939 
7940  def __lt__(self, o):
7941  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7942  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7943 
7944 
7945  def __gt__(self, o):
7946  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7947  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7948 
7949 
7950  def __ge__(self, o):
7951  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7952  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7953 
7954 
7955  def __le__(self, o):
7956  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7957  return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7958 
7959 
7960  def __setitem__(self, i, v):
7961  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7962  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7963 
7964 
7965  def __getitem__(self, i):
7966  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7967  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7968 
7969 
7970  def show(self, *args):
7971  """
7972  show(ExtendedGridIndex5D self, _ostream out)
7973  show(ExtendedGridIndex5D self)
7974  """
7975  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7976 
7977 
7978  def __len__(self):
7979  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7980  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7981 
7982 
7983  def __hash__(self):
7984  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7985  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7986 
7987 
7988  def get_uniform_offset(self, ii):
7989  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7990  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7991 
7992 
7993  def get_offset(self, i, j, k):
7994  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7995  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7996 
7997 
7998  def __str__(self):
7999  """__str__(ExtendedGridIndex5D self) -> std::string"""
8000  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
8001 
8002 
8003  def __repr__(self):
8004  """__repr__(ExtendedGridIndex5D self) -> std::string"""
8005  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
8006 
8007  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
8008  __del__ = lambda self: None
8009 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
8010 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
8011 
8012 class ExtendedGridIndex6D(IMP._Value):
8013  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
8014  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8015 
8016  def __init__(self, *args):
8017  """
8018  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
8019  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
8020  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
8021  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
8022  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
8023  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
8024  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
8025  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
8026  """
8027  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
8028  try:
8029  self.this.append(this)
8030  except:
8031  self.this = this
8032 
8033  def get_dimension(self):
8034  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
8035  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
8036 
8037 
8038  def __cmp__(self, o):
8039  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
8040  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
8041 
8042 
8043  def __eq__(self, o):
8044  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8045  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
8046 
8047 
8048  def __ne__(self, o):
8049  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8050  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
8051 
8052 
8053  def __lt__(self, o):
8054  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8055  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
8056 
8057 
8058  def __gt__(self, o):
8059  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8060  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
8061 
8062 
8063  def __ge__(self, o):
8064  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8065  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
8066 
8067 
8068  def __le__(self, o):
8069  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8070  return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
8071 
8072 
8073  def __setitem__(self, i, v):
8074  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
8075  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
8076 
8077 
8078  def __getitem__(self, i):
8079  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
8080  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
8081 
8082 
8083  def show(self, *args):
8084  """
8085  show(ExtendedGridIndex6D self, _ostream out)
8086  show(ExtendedGridIndex6D self)
8087  """
8088  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
8089 
8090 
8091  def __len__(self):
8092  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
8093  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
8094 
8095 
8096  def __hash__(self):
8097  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
8098  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
8099 
8100 
8101  def get_uniform_offset(self, ii):
8102  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
8103  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
8104 
8105 
8106  def get_offset(self, i, j, k):
8107  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
8108  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
8109 
8110 
8111  def __str__(self):
8112  """__str__(ExtendedGridIndex6D self) -> std::string"""
8113  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
8114 
8115 
8116  def __repr__(self):
8117  """__repr__(ExtendedGridIndex6D self) -> std::string"""
8118  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
8119 
8120  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
8121  __del__ = lambda self: None
8122 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
8123 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
8124 
8125 class ExtendedGridIndexKD(IMP._Value):
8126  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
8127  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8128 
8129  def __init__(self, *args):
8130  """
8131  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
8132  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
8133  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
8134  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
8135  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
8136  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
8137  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
8138  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
8139  """
8140  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
8141  try:
8142  self.this.append(this)
8143  except:
8144  self.this = this
8145 
8146  def get_dimension(self):
8147  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
8148  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
8149 
8150 
8151  def __cmp__(self, o):
8152  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
8153  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
8154 
8155 
8156  def __eq__(self, o):
8157  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8158  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
8159 
8160 
8161  def __ne__(self, o):
8162  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8163  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
8164 
8165 
8166  def __lt__(self, o):
8167  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8168  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
8169 
8170 
8171  def __gt__(self, o):
8172  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8173  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
8174 
8175 
8176  def __ge__(self, o):
8177  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8178  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
8179 
8180 
8181  def __le__(self, o):
8182  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8183  return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
8184 
8185 
8186  def __setitem__(self, i, v):
8187  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
8188  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
8189 
8190 
8191  def __getitem__(self, i):
8192  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
8193  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
8194 
8195 
8196  def show(self, *args):
8197  """
8198  show(ExtendedGridIndexKD self, _ostream out)
8199  show(ExtendedGridIndexKD self)
8200  """
8201  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
8202 
8203 
8204  def __len__(self):
8205  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
8206  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
8207 
8208 
8209  def __hash__(self):
8210  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
8211  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
8212 
8213 
8214  def get_uniform_offset(self, ii):
8215  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
8216  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
8217 
8218 
8219  def get_offset(self, i, j, k):
8220  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
8221  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
8222 
8223 
8224  def __str__(self):
8225  """__str__(ExtendedGridIndexKD self) -> std::string"""
8226  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
8227 
8228 
8229  def __repr__(self):
8230  """__repr__(ExtendedGridIndexKD self) -> std::string"""
8231  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
8232 
8233  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
8234  __del__ = lambda self: None
8235 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
8236 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
8237 
8238 class BoundedGridRange1D(object):
8239  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
8240  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8241 
8242  def get_is_bounded():
8243  """get_is_bounded() -> bool"""
8244  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8245 
8246  get_is_bounded = staticmethod(get_is_bounded)
8247 
8248  def __init__(self, *args):
8249  """
8250  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
8251  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
8252  """
8253  this = _IMP_algebra.new_BoundedGridRange1D(*args)
8254  try:
8255  self.this.append(this)
8256  except:
8257  self.this = this
8258 
8259  def get_number_of_voxels(self, *args):
8260  """
8261  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
8262  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
8263  """
8264  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
8265 
8266 
8267  def get_end_index(self):
8268  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8269  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
8270 
8271 
8272  def show(self, *args):
8273  """
8274  show(BoundedGridRange1D self, _ostream out)
8275  show(BoundedGridRange1D self)
8276  """
8277  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
8278 
8279 
8280  def get_all_indexes(self):
8281  """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8282  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
8283 
8284 
8285  def get_indexes(self, lb, ub):
8286  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8287  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
8288 
8289 
8290  def get_extended_indexes(self, lb, ub):
8291  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8292  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
8293 
8294 
8295  def get_index(self, v):
8296  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
8297  return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
8298 
8299 
8300  def get_has_index(self, v):
8301  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
8302  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
8303 
8304 
8305  def get_minimum_extended_index(self):
8306  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8307  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
8308 
8309 
8310  def get_maximum_extended_index(self):
8311  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8312  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
8313 
8314 
8315  def __str__(self):
8316  """__str__(BoundedGridRange1D self) -> std::string"""
8317  return _IMP_algebra.BoundedGridRange1D___str__(self)
8318 
8319 
8320  def __repr__(self):
8321  """__repr__(BoundedGridRange1D self) -> std::string"""
8322  return _IMP_algebra.BoundedGridRange1D___repr__(self)
8323 
8324 
8325  def __cmp__(self, arg2):
8326  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
8327  return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
8328 
8329 
8330  def __eq__(self, arg2):
8331  """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
8332  return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
8333 
8334  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
8335  __del__ = lambda self: None
8336 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
8337 BoundedGridRange1D_swigregister(BoundedGridRange1D)
8338 
8339 def BoundedGridRange1D_get_is_bounded():
8340  """BoundedGridRange1D_get_is_bounded() -> bool"""
8341  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8342 
8343 class BoundedGridRange2D(object):
8344  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
8345  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8346 
8347  def get_is_bounded():
8348  """get_is_bounded() -> bool"""
8349  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8350 
8351  get_is_bounded = staticmethod(get_is_bounded)
8352 
8353  def __init__(self, *args):
8354  """
8355  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
8356  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
8357  """
8358  this = _IMP_algebra.new_BoundedGridRange2D(*args)
8359  try:
8360  self.this.append(this)
8361  except:
8362  self.this = this
8363 
8364  def get_number_of_voxels(self, *args):
8365  """
8366  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
8367  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
8368  """
8369  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
8370 
8371 
8372  def get_end_index(self):
8373  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8374  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
8375 
8376 
8377  def show(self, *args):
8378  """
8379  show(BoundedGridRange2D self, _ostream out)
8380  show(BoundedGridRange2D self)
8381  """
8382  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
8383 
8384 
8385  def get_all_indexes(self):
8386  """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8387  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
8388 
8389 
8390  def get_indexes(self, lb, ub):
8391  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8392  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
8393 
8394 
8395  def get_extended_indexes(self, lb, ub):
8396  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8397  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
8398 
8399 
8400  def get_index(self, v):
8401  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
8402  return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
8403 
8404 
8405  def get_has_index(self, v):
8406  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
8407  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
8408 
8409 
8410  def get_minimum_extended_index(self):
8411  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8412  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
8413 
8414 
8415  def get_maximum_extended_index(self):
8416  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8417  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
8418 
8419 
8420  def __str__(self):
8421  """__str__(BoundedGridRange2D self) -> std::string"""
8422  return _IMP_algebra.BoundedGridRange2D___str__(self)
8423 
8424 
8425  def __repr__(self):
8426  """__repr__(BoundedGridRange2D self) -> std::string"""
8427  return _IMP_algebra.BoundedGridRange2D___repr__(self)
8428 
8429 
8430  def __cmp__(self, arg2):
8431  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
8432  return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
8433 
8434 
8435  def __eq__(self, arg2):
8436  """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
8437  return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
8438 
8439  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
8440  __del__ = lambda self: None
8441 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
8442 BoundedGridRange2D_swigregister(BoundedGridRange2D)
8443 
8444 def BoundedGridRange2D_get_is_bounded():
8445  """BoundedGridRange2D_get_is_bounded() -> bool"""
8446  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8447 
8448 class BoundedGridRange3D(object):
8449  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
8450  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8451 
8452  def get_is_bounded():
8453  """get_is_bounded() -> bool"""
8454  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8455 
8456  get_is_bounded = staticmethod(get_is_bounded)
8457 
8458  def __init__(self, *args):
8459  """
8460  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
8461  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
8462  """
8463  this = _IMP_algebra.new_BoundedGridRange3D(*args)
8464  try:
8465  self.this.append(this)
8466  except:
8467  self.this = this
8468 
8469  def get_number_of_voxels(self, *args):
8470  """
8471  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
8472  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
8473  """
8474  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
8475 
8476 
8477  def get_end_index(self):
8478  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8479  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
8480 
8481 
8482  def show(self, *args):
8483  """
8484  show(BoundedGridRange3D self, _ostream out)
8485  show(BoundedGridRange3D self)
8486  """
8487  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
8488 
8489 
8490  def get_all_indexes(self):
8491  """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8492  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
8493 
8494 
8495  def get_indexes(self, lb, ub):
8496  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8497  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
8498 
8499 
8500  def get_extended_indexes(self, lb, ub):
8501  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8502  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
8503 
8504 
8505  def get_index(self, v):
8506  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
8507  return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
8508 
8509 
8510  def get_has_index(self, v):
8511  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
8512  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
8513 
8514 
8515  def get_minimum_extended_index(self):
8516  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8517  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
8518 
8519 
8520  def get_maximum_extended_index(self):
8521  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8522  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
8523 
8524 
8525  def __str__(self):
8526  """__str__(BoundedGridRange3D self) -> std::string"""
8527  return _IMP_algebra.BoundedGridRange3D___str__(self)
8528 
8529 
8530  def __repr__(self):
8531  """__repr__(BoundedGridRange3D self) -> std::string"""
8532  return _IMP_algebra.BoundedGridRange3D___repr__(self)
8533 
8534 
8535  def __cmp__(self, arg2):
8536  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
8537  return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
8538 
8539 
8540  def __eq__(self, arg2):
8541  """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
8542  return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
8543 
8544  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
8545  __del__ = lambda self: None
8546 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
8547 BoundedGridRange3D_swigregister(BoundedGridRange3D)
8548 
8549 def BoundedGridRange3D_get_is_bounded():
8550  """BoundedGridRange3D_get_is_bounded() -> bool"""
8551  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8552 
8553 class BoundedGridRange4D(object):
8554  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
8555  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8556 
8557  def get_is_bounded():
8558  """get_is_bounded() -> bool"""
8559  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8560 
8561  get_is_bounded = staticmethod(get_is_bounded)
8562 
8563  def __init__(self, *args):
8564  """
8565  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
8566  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
8567  """
8568  this = _IMP_algebra.new_BoundedGridRange4D(*args)
8569  try:
8570  self.this.append(this)
8571  except:
8572  self.this = this
8573 
8574  def get_number_of_voxels(self, *args):
8575  """
8576  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
8577  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
8578  """
8579  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
8580 
8581 
8582  def get_end_index(self):
8583  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8584  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
8585 
8586 
8587  def show(self, *args):
8588  """
8589  show(BoundedGridRange4D self, _ostream out)
8590  show(BoundedGridRange4D self)
8591  """
8592  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
8593 
8594 
8595  def get_all_indexes(self):
8596  """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8597  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
8598 
8599 
8600  def get_indexes(self, lb, ub):
8601  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8602  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
8603 
8604 
8605  def get_extended_indexes(self, lb, ub):
8606  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8607  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8608 
8609 
8610  def get_index(self, v):
8611  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8612  return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8613 
8614 
8615  def get_has_index(self, v):
8616  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8617  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8618 
8619 
8620  def get_minimum_extended_index(self):
8621  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8622  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8623 
8624 
8625  def get_maximum_extended_index(self):
8626  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8627  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8628 
8629 
8630  def __str__(self):
8631  """__str__(BoundedGridRange4D self) -> std::string"""
8632  return _IMP_algebra.BoundedGridRange4D___str__(self)
8633 
8634 
8635  def __repr__(self):
8636  """__repr__(BoundedGridRange4D self) -> std::string"""
8637  return _IMP_algebra.BoundedGridRange4D___repr__(self)
8638 
8639 
8640  def __cmp__(self, arg2):
8641  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8642  return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8643 
8644 
8645  def __eq__(self, arg2):
8646  """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8647  return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8648 
8649  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8650  __del__ = lambda self: None
8651 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8652 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8653 
8654 def BoundedGridRange4D_get_is_bounded():
8655  """BoundedGridRange4D_get_is_bounded() -> bool"""
8656  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8657 
8658 class BoundedGridRange5D(object):
8659  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
8660  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8661 
8662  def get_is_bounded():
8663  """get_is_bounded() -> bool"""
8664  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8665 
8666  get_is_bounded = staticmethod(get_is_bounded)
8667 
8668  def __init__(self, *args):
8669  """
8670  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8671  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8672  """
8673  this = _IMP_algebra.new_BoundedGridRange5D(*args)
8674  try:
8675  self.this.append(this)
8676  except:
8677  self.this = this
8678 
8679  def get_number_of_voxels(self, *args):
8680  """
8681  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8682  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8683  """
8684  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8685 
8686 
8687  def get_end_index(self):
8688  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8689  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8690 
8691 
8692  def show(self, *args):
8693  """
8694  show(BoundedGridRange5D self, _ostream out)
8695  show(BoundedGridRange5D self)
8696  """
8697  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8698 
8699 
8700  def get_all_indexes(self):
8701  """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8702  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8703 
8704 
8705  def get_indexes(self, lb, ub):
8706  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8707  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8708 
8709 
8710  def get_extended_indexes(self, lb, ub):
8711  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8712  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8713 
8714 
8715  def get_index(self, v):
8716  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8717  return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8718 
8719 
8720  def get_has_index(self, v):
8721  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8722  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8723 
8724 
8725  def get_minimum_extended_index(self):
8726  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8727  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8728 
8729 
8730  def get_maximum_extended_index(self):
8731  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8732  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8733 
8734 
8735  def __str__(self):
8736  """__str__(BoundedGridRange5D self) -> std::string"""
8737  return _IMP_algebra.BoundedGridRange5D___str__(self)
8738 
8739 
8740  def __repr__(self):
8741  """__repr__(BoundedGridRange5D self) -> std::string"""
8742  return _IMP_algebra.BoundedGridRange5D___repr__(self)
8743 
8744 
8745  def __cmp__(self, arg2):
8746  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8747  return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8748 
8749 
8750  def __eq__(self, arg2):
8751  """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8752  return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8753 
8754  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8755  __del__ = lambda self: None
8756 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8757 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8758 
8759 def BoundedGridRange5D_get_is_bounded():
8760  """BoundedGridRange5D_get_is_bounded() -> bool"""
8761  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8762 
8763 class BoundedGridRange6D(object):
8764  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
8765  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8766 
8767  def get_is_bounded():
8768  """get_is_bounded() -> bool"""
8769  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8770 
8771  get_is_bounded = staticmethod(get_is_bounded)
8772 
8773  def __init__(self, *args):
8774  """
8775  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8776  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8777  """
8778  this = _IMP_algebra.new_BoundedGridRange6D(*args)
8779  try:
8780  self.this.append(this)
8781  except:
8782  self.this = this
8783 
8784  def get_number_of_voxels(self, *args):
8785  """
8786  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8787  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8788  """
8789  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8790 
8791 
8792  def get_end_index(self):
8793  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8794  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8795 
8796 
8797  def show(self, *args):
8798  """
8799  show(BoundedGridRange6D self, _ostream out)
8800  show(BoundedGridRange6D self)
8801  """
8802  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8803 
8804 
8805  def get_all_indexes(self):
8806  """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8807  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8808 
8809 
8810  def get_indexes(self, lb, ub):
8811  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8812  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8813 
8814 
8815  def get_extended_indexes(self, lb, ub):
8816  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8817  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8818 
8819 
8820  def get_index(self, v):
8821  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8822  return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8823 
8824 
8825  def get_has_index(self, v):
8826  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8827  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8828 
8829 
8830  def get_minimum_extended_index(self):
8831  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8832  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8833 
8834 
8835  def get_maximum_extended_index(self):
8836  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8837  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8838 
8839 
8840  def __str__(self):
8841  """__str__(BoundedGridRange6D self) -> std::string"""
8842  return _IMP_algebra.BoundedGridRange6D___str__(self)
8843 
8844 
8845  def __repr__(self):
8846  """__repr__(BoundedGridRange6D self) -> std::string"""
8847  return _IMP_algebra.BoundedGridRange6D___repr__(self)
8848 
8849 
8850  def __cmp__(self, arg2):
8851  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8852  return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8853 
8854 
8855  def __eq__(self, arg2):
8856  """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8857  return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8858 
8859  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8860  __del__ = lambda self: None
8861 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8862 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8863 
8864 def BoundedGridRange6D_get_is_bounded():
8865  """BoundedGridRange6D_get_is_bounded() -> bool"""
8866  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8867 
8868 class BoundedGridRangeKD(object):
8869  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
8870  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8871 
8872  def get_is_bounded():
8873  """get_is_bounded() -> bool"""
8874  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8875 
8876  get_is_bounded = staticmethod(get_is_bounded)
8877 
8878  def __init__(self, *args):
8879  """
8880  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8881  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8882  """
8883  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8884  try:
8885  self.this.append(this)
8886  except:
8887  self.this = this
8888 
8889  def get_number_of_voxels(self, *args):
8890  """
8891  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8892  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8893  """
8894  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8895 
8896 
8897  def get_end_index(self):
8898  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8899  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8900 
8901 
8902  def show(self, *args):
8903  """
8904  show(BoundedGridRangeKD self, _ostream out)
8905  show(BoundedGridRangeKD self)
8906  """
8907  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8908 
8909 
8910  def get_all_indexes(self):
8911  """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8912  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8913 
8914 
8915  def get_indexes(self, lb, ub):
8916  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8917  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8918 
8919 
8920  def get_extended_indexes(self, lb, ub):
8921  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8922  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8923 
8924 
8925  def get_index(self, v):
8926  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8927  return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8928 
8929 
8930  def get_has_index(self, v):
8931  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8932  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8933 
8934 
8935  def get_minimum_extended_index(self):
8936  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8937  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8938 
8939 
8940  def get_maximum_extended_index(self):
8941  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8942  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8943 
8944 
8945  def __str__(self):
8946  """__str__(BoundedGridRangeKD self) -> std::string"""
8947  return _IMP_algebra.BoundedGridRangeKD___str__(self)
8948 
8949 
8950  def __repr__(self):
8951  """__repr__(BoundedGridRangeKD self) -> std::string"""
8952  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8953 
8954 
8955  def __cmp__(self, arg2):
8956  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8957  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8958 
8959 
8960  def __eq__(self, arg2):
8961  """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8962  return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8963 
8964  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8965  __del__ = lambda self: None
8966 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8967 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8968 
8969 def BoundedGridRangeKD_get_is_bounded():
8970  """BoundedGridRangeKD_get_is_bounded() -> bool"""
8971  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8972 
8973 class UnboundedGridRange1D(object):
8974  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
8975  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8976 
8977  def __init__(self, *args):
8978  """
8979  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8980  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8981  """
8982  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8983  try:
8984  self.this.append(this)
8985  except:
8986  self.this = this
8987 
8988  def set_number_of_voxels(self, arg2):
8989  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8990  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8991 
8992 
8993  def get_number_of_voxels(self, arg2):
8994  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8995  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8996 
8997 
8998  def get_is_bounded():
8999  """get_is_bounded() -> bool"""
9000  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9001 
9002  get_is_bounded = staticmethod(get_is_bounded)
9003 
9004  def get_has_index(self, arg2):
9005  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
9006  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
9007 
9008 
9009  def show(self, *args):
9010  """
9011  show(UnboundedGridRange1D self, _ostream out)
9012  show(UnboundedGridRange1D self)
9013  """
9014  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
9015 
9016 
9017  def get_extended_indexes(self, lb, ub):
9018  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9019  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
9020 
9021 
9022  def __str__(self):
9023  """__str__(UnboundedGridRange1D self) -> std::string"""
9024  return _IMP_algebra.UnboundedGridRange1D___str__(self)
9025 
9026 
9027  def __repr__(self):
9028  """__repr__(UnboundedGridRange1D self) -> std::string"""
9029  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
9030 
9031 
9032  def __cmp__(self, arg2):
9033  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
9034  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
9035 
9036 
9037  def __eq__(self, arg2):
9038  """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
9039  return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
9040 
9041  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
9042  __del__ = lambda self: None
9043 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
9044 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
9045 
9046 def UnboundedGridRange1D_get_is_bounded():
9047  """UnboundedGridRange1D_get_is_bounded() -> bool"""
9048  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9049 
9050 class UnboundedGridRange2D(object):
9051  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
9052  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9053 
9054  def __init__(self, *args):
9055  """
9056  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
9057  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
9058  """
9059  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
9060  try:
9061  self.this.append(this)
9062  except:
9063  self.this = this
9064 
9065  def set_number_of_voxels(self, arg2):
9066  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
9067  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
9068 
9069 
9070  def get_number_of_voxels(self, arg2):
9071  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
9072  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
9073 
9074 
9075  def get_is_bounded():
9076  """get_is_bounded() -> bool"""
9077  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9078 
9079  get_is_bounded = staticmethod(get_is_bounded)
9080 
9081  def get_has_index(self, arg2):
9082  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
9083  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
9084 
9085 
9086  def show(self, *args):
9087  """
9088  show(UnboundedGridRange2D self, _ostream out)
9089  show(UnboundedGridRange2D self)
9090  """
9091  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
9092 
9093 
9094  def get_extended_indexes(self, lb, ub):
9095  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
9096  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
9097 
9098 
9099  def __str__(self):
9100  """__str__(UnboundedGridRange2D self) -> std::string"""
9101  return _IMP_algebra.UnboundedGridRange2D___str__(self)
9102 
9103 
9104  def __repr__(self):
9105  """__repr__(UnboundedGridRange2D self) -> std::string"""
9106  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
9107 
9108 
9109  def __cmp__(self, arg2):
9110  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
9111  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
9112 
9113 
9114  def __eq__(self, arg2):
9115  """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
9116  return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
9117 
9118  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
9119  __del__ = lambda self: None
9120 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
9121 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
9122 
9123 def UnboundedGridRange2D_get_is_bounded():
9124  """UnboundedGridRange2D_get_is_bounded() -> bool"""
9125  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9126 
9127 class UnboundedGridRange3D(object):
9128  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
9129  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9130 
9131  def __init__(self, *args):
9132  """
9133  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
9134  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
9135  """
9136  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
9137  try:
9138  self.this.append(this)
9139  except:
9140  self.this = this
9141 
9142  def set_number_of_voxels(self, arg2):
9143  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
9144  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
9145 
9146 
9147  def get_number_of_voxels(self, arg2):
9148  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
9149  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
9150 
9151 
9152  def get_is_bounded():
9153  """get_is_bounded() -> bool"""
9154  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9155 
9156  get_is_bounded = staticmethod(get_is_bounded)
9157 
9158  def get_has_index(self, arg2):
9159  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
9160  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
9161 
9162 
9163  def show(self, *args):
9164  """
9165  show(UnboundedGridRange3D self, _ostream out)
9166  show(UnboundedGridRange3D self)
9167  """
9168  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
9169 
9170 
9171  def get_extended_indexes(self, lb, ub):
9172  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
9173  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
9174 
9175 
9176  def __str__(self):
9177  """__str__(UnboundedGridRange3D self) -> std::string"""
9178  return _IMP_algebra.UnboundedGridRange3D___str__(self)
9179 
9180 
9181  def __repr__(self):
9182  """__repr__(UnboundedGridRange3D self) -> std::string"""
9183  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
9184 
9185 
9186  def __cmp__(self, arg2):
9187  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
9188  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
9189 
9190 
9191  def __eq__(self, arg2):
9192  """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
9193  return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
9194 
9195  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
9196  __del__ = lambda self: None
9197 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
9198 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
9199 
9200 def UnboundedGridRange3D_get_is_bounded():
9201  """UnboundedGridRange3D_get_is_bounded() -> bool"""
9202  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9203 
9204 class UnboundedGridRange4D(object):
9205  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
9206  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9207 
9208  def __init__(self, *args):
9209  """
9210  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
9211  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
9212  """
9213  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
9214  try:
9215  self.this.append(this)
9216  except:
9217  self.this = this
9218 
9219  def set_number_of_voxels(self, arg2):
9220  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
9221  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
9222 
9223 
9224  def get_number_of_voxels(self, arg2):
9225  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
9226  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
9227 
9228 
9229  def get_is_bounded():
9230  """get_is_bounded() -> bool"""
9231  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9232 
9233  get_is_bounded = staticmethod(get_is_bounded)
9234 
9235  def get_has_index(self, arg2):
9236  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
9237  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
9238 
9239 
9240  def show(self, *args):
9241  """
9242  show(UnboundedGridRange4D self, _ostream out)
9243  show(UnboundedGridRange4D self)
9244  """
9245  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
9246 
9247 
9248  def get_extended_indexes(self, lb, ub):
9249  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
9250  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
9251 
9252 
9253  def __str__(self):
9254  """__str__(UnboundedGridRange4D self) -> std::string"""
9255  return _IMP_algebra.UnboundedGridRange4D___str__(self)
9256 
9257 
9258  def __repr__(self):
9259  """__repr__(UnboundedGridRange4D self) -> std::string"""
9260  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
9261 
9262 
9263  def __cmp__(self, arg2):
9264  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
9265  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
9266 
9267 
9268  def __eq__(self, arg2):
9269  """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
9270  return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
9271 
9272  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
9273  __del__ = lambda self: None
9274 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
9275 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
9276 
9277 def UnboundedGridRange4D_get_is_bounded():
9278  """UnboundedGridRange4D_get_is_bounded() -> bool"""
9279  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9280 
9281 class UnboundedGridRange5D(object):
9282  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
9283  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9284 
9285  def __init__(self, *args):
9286  """
9287  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
9288  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
9289  """
9290  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
9291  try:
9292  self.this.append(this)
9293  except:
9294  self.this = this
9295 
9296  def set_number_of_voxels(self, arg2):
9297  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
9298  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
9299 
9300 
9301  def get_number_of_voxels(self, arg2):
9302  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
9303  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
9304 
9305 
9306  def get_is_bounded():
9307  """get_is_bounded() -> bool"""
9308  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9309 
9310  get_is_bounded = staticmethod(get_is_bounded)
9311 
9312  def get_has_index(self, arg2):
9313  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
9314  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
9315 
9316 
9317  def show(self, *args):
9318  """
9319  show(UnboundedGridRange5D self, _ostream out)
9320  show(UnboundedGridRange5D self)
9321  """
9322  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
9323 
9324 
9325  def get_extended_indexes(self, lb, ub):
9326  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
9327  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
9328 
9329 
9330  def __str__(self):
9331  """__str__(UnboundedGridRange5D self) -> std::string"""
9332  return _IMP_algebra.UnboundedGridRange5D___str__(self)
9333 
9334 
9335  def __repr__(self):
9336  """__repr__(UnboundedGridRange5D self) -> std::string"""
9337  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
9338 
9339 
9340  def __cmp__(self, arg2):
9341  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
9342  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
9343 
9344 
9345  def __eq__(self, arg2):
9346  """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
9347  return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
9348 
9349  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
9350  __del__ = lambda self: None
9351 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
9352 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
9353 
9354 def UnboundedGridRange5D_get_is_bounded():
9355  """UnboundedGridRange5D_get_is_bounded() -> bool"""
9356  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9357 
9358 class UnboundedGridRange6D(object):
9359  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
9360  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9361 
9362  def __init__(self, *args):
9363  """
9364  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
9365  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
9366  """
9367  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
9368  try:
9369  self.this.append(this)
9370  except:
9371  self.this = this
9372 
9373  def set_number_of_voxels(self, arg2):
9374  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
9375  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
9376 
9377 
9378  def get_number_of_voxels(self, arg2):
9379  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
9380  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
9381 
9382 
9383  def get_is_bounded():
9384  """get_is_bounded() -> bool"""
9385  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9386 
9387  get_is_bounded = staticmethod(get_is_bounded)
9388 
9389  def get_has_index(self, arg2):
9390  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
9391  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
9392 
9393 
9394  def show(self, *args):
9395  """
9396  show(UnboundedGridRange6D self, _ostream out)
9397  show(UnboundedGridRange6D self)
9398  """
9399  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
9400 
9401 
9402  def get_extended_indexes(self, lb, ub):
9403  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
9404  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
9405 
9406 
9407  def __str__(self):
9408  """__str__(UnboundedGridRange6D self) -> std::string"""
9409  return _IMP_algebra.UnboundedGridRange6D___str__(self)
9410 
9411 
9412  def __repr__(self):
9413  """__repr__(UnboundedGridRange6D self) -> std::string"""
9414  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
9415 
9416 
9417  def __cmp__(self, arg2):
9418  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
9419  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
9420 
9421 
9422  def __eq__(self, arg2):
9423  """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
9424  return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
9425 
9426  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
9427  __del__ = lambda self: None
9428 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
9429 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
9430 
9431 def UnboundedGridRange6D_get_is_bounded():
9432  """UnboundedGridRange6D_get_is_bounded() -> bool"""
9433  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9434 
9435 class UnboundedGridRangeKD(object):
9436  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
9437  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9438 
9439  def __init__(self, *args):
9440  """
9441  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
9442  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
9443  """
9444  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
9445  try:
9446  self.this.append(this)
9447  except:
9448  self.this = this
9449 
9450  def set_number_of_voxels(self, arg2):
9451  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
9452  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
9453 
9454 
9455  def get_number_of_voxels(self, arg2):
9456  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
9457  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
9458 
9459 
9460  def get_is_bounded():
9461  """get_is_bounded() -> bool"""
9462  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9463 
9464  get_is_bounded = staticmethod(get_is_bounded)
9465 
9466  def get_has_index(self, arg2):
9467  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
9468  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
9469 
9470 
9471  def show(self, *args):
9472  """
9473  show(UnboundedGridRangeKD self, _ostream out)
9474  show(UnboundedGridRangeKD self)
9475  """
9476  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
9477 
9478 
9479  def get_extended_indexes(self, lb, ub):
9480  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
9481  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
9482 
9483 
9484  def __str__(self):
9485  """__str__(UnboundedGridRangeKD self) -> std::string"""
9486  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
9487 
9488 
9489  def __repr__(self):
9490  """__repr__(UnboundedGridRangeKD self) -> std::string"""
9491  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
9492 
9493 
9494  def __cmp__(self, arg2):
9495  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
9496  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
9497 
9498 
9499  def __eq__(self, arg2):
9500  """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
9501  return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
9502 
9503  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
9504  __del__ = lambda self: None
9505 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
9506 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
9507 
9508 def UnboundedGridRangeKD_get_is_bounded():
9509  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
9510  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9511 
9512 class DefaultEmbedding1D(object):
9513  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
9514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9515 
9516  def __init__(self, *args):
9517  """
9518  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
9519  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
9520  """
9521  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
9522  try:
9523  self.this.append(this)
9524  except:
9525  self.this = this
9526 
9527  def set_origin(self, o):
9528  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
9529  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
9530 
9531 
9532  def get_origin(self):
9533  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
9534  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
9535 
9536 
9537  def get_dimension(self):
9538  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
9539  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
9540 
9541 
9542  def set_unit_cell(self, o):
9543  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
9544  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
9545 
9546 
9547  def get_inverse_unit_cell(self):
9548  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9549  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
9550 
9551 
9552  def get_unit_cell(self):
9553  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9554  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
9555 
9556 
9557  def get_extended_index(self, o):
9558  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9559  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
9560 
9561 
9562  def get_index(self, o):
9563  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
9564  return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
9565 
9566 
9567  def get_center(self, *args):
9568  """
9569  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9570  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
9571  """
9572  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
9573 
9574 
9575  def get_bounding_box(self, *args):
9576  """
9577  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9578  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9579  """
9580  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
9581 
9582 
9583  def show(self, *args):
9584  """
9585  show(DefaultEmbedding1D self, _ostream out)
9586  show(DefaultEmbedding1D self)
9587  """
9588  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
9589 
9590 
9591  def __str__(self):
9592  """__str__(DefaultEmbedding1D self) -> std::string"""
9593  return _IMP_algebra.DefaultEmbedding1D___str__(self)
9594 
9595 
9596  def __repr__(self):
9597  """__repr__(DefaultEmbedding1D self) -> std::string"""
9598  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9599 
9600 
9601  def __cmp__(self, arg2):
9602  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9603  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9604 
9605 
9606  def __eq__(self, arg2):
9607  """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9608  return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9609 
9610  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9611  __del__ = lambda self: None
9612 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9613 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9614 
9615 class DefaultEmbedding2D(object):
9616  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
9617  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9618 
9619  def __init__(self, *args):
9620  """
9621  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9622  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9623  """
9624  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9625  try:
9626  self.this.append(this)
9627  except:
9628  self.this = this
9629 
9630  def set_origin(self, o):
9631  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9632  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9633 
9634 
9635  def get_origin(self):
9636  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9637  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9638 
9639 
9640  def get_dimension(self):
9641  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9642  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9643 
9644 
9645  def set_unit_cell(self, o):
9646  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9647  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9648 
9649 
9650  def get_inverse_unit_cell(self):
9651  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9652  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9653 
9654 
9655  def get_unit_cell(self):
9656  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9657  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9658 
9659 
9660  def get_extended_index(self, o):
9661  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9662  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9663 
9664 
9665  def get_index(self, o):
9666  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9667  return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9668 
9669 
9670  def get_center(self, *args):
9671  """
9672  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9673  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9674  """
9675  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9676 
9677 
9678  def get_bounding_box(self, *args):
9679  """
9680  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9681  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9682  """
9683  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9684 
9685 
9686  def show(self, *args):
9687  """
9688  show(DefaultEmbedding2D self, _ostream out)
9689  show(DefaultEmbedding2D self)
9690  """
9691  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9692 
9693 
9694  def __str__(self):
9695  """__str__(DefaultEmbedding2D self) -> std::string"""
9696  return _IMP_algebra.DefaultEmbedding2D___str__(self)
9697 
9698 
9699  def __repr__(self):
9700  """__repr__(DefaultEmbedding2D self) -> std::string"""
9701  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9702 
9703 
9704  def __cmp__(self, arg2):
9705  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9706  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9707 
9708 
9709  def __eq__(self, arg2):
9710  """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9711  return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9712 
9713  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9714  __del__ = lambda self: None
9715 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9716 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9717 
9718 class DefaultEmbedding3D(object):
9719  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
9720  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9721 
9722  def __init__(self, *args):
9723  """
9724  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9725  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9726  """
9727  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9728  try:
9729  self.this.append(this)
9730  except:
9731  self.this = this
9732 
9733  def set_origin(self, o):
9734  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9735  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9736 
9737 
9738  def get_origin(self):
9739  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9740  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9741 
9742 
9743  def get_dimension(self):
9744  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9745  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9746 
9747 
9748  def set_unit_cell(self, o):
9749  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9750  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9751 
9752 
9753  def get_inverse_unit_cell(self):
9754  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9755  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9756 
9757 
9758  def get_unit_cell(self):
9759  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9760  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9761 
9762 
9763  def get_extended_index(self, o):
9764  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9765  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9766 
9767 
9768  def get_index(self, o):
9769  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9770  return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9771 
9772 
9773  def get_center(self, *args):
9774  """
9775  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9776  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9777  """
9778  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9779 
9780 
9781  def get_bounding_box(self, *args):
9782  """
9783  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9784  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9785  """
9786  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9787 
9788 
9789  def show(self, *args):
9790  """
9791  show(DefaultEmbedding3D self, _ostream out)
9792  show(DefaultEmbedding3D self)
9793  """
9794  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9795 
9796 
9797  def __str__(self):
9798  """__str__(DefaultEmbedding3D self) -> std::string"""
9799  return _IMP_algebra.DefaultEmbedding3D___str__(self)
9800 
9801 
9802  def __repr__(self):
9803  """__repr__(DefaultEmbedding3D self) -> std::string"""
9804  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9805 
9806 
9807  def __cmp__(self, arg2):
9808  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9809  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9810 
9811 
9812  def __eq__(self, arg2):
9813  """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9814  return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9815 
9816  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9817  __del__ = lambda self: None
9818 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9819 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9820 
9821 class DefaultEmbedding4D(object):
9822  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
9823  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9824 
9825  def __init__(self, *args):
9826  """
9827  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9828  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9829  """
9830  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9831  try:
9832  self.this.append(this)
9833  except:
9834  self.this = this
9835 
9836  def set_origin(self, o):
9837  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9838  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9839 
9840 
9841  def get_origin(self):
9842  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9843  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9844 
9845 
9846  def get_dimension(self):
9847  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9848  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9849 
9850 
9851  def set_unit_cell(self, o):
9852  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9853  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9854 
9855 
9856  def get_inverse_unit_cell(self):
9857  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9858  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9859 
9860 
9861  def get_unit_cell(self):
9862  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9863  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9864 
9865 
9866  def get_extended_index(self, o):
9867  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9868  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9869 
9870 
9871  def get_index(self, o):
9872  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9873  return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9874 
9875 
9876  def get_center(self, *args):
9877  """
9878  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9879  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9880  """
9881  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9882 
9883 
9884  def get_bounding_box(self, *args):
9885  """
9886  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9887  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9888  """
9889  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9890 
9891 
9892  def show(self, *args):
9893  """
9894  show(DefaultEmbedding4D self, _ostream out)
9895  show(DefaultEmbedding4D self)
9896  """
9897  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9898 
9899 
9900  def __str__(self):
9901  """__str__(DefaultEmbedding4D self) -> std::string"""
9902  return _IMP_algebra.DefaultEmbedding4D___str__(self)
9903 
9904 
9905  def __repr__(self):
9906  """__repr__(DefaultEmbedding4D self) -> std::string"""
9907  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9908 
9909 
9910  def __cmp__(self, arg2):
9911  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9912  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9913 
9914 
9915  def __eq__(self, arg2):
9916  """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9917  return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9918 
9919  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9920  __del__ = lambda self: None
9921 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9922 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9923 
9924 class DefaultEmbedding5D(object):
9925  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
9926  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9927 
9928  def __init__(self, *args):
9929  """
9930  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9931  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9932  """
9933  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9934  try:
9935  self.this.append(this)
9936  except:
9937  self.this = this
9938 
9939  def set_origin(self, o):
9940  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9941  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9942 
9943 
9944  def get_origin(self):
9945  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9946  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9947 
9948 
9949  def get_dimension(self):
9950  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9951  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9952 
9953 
9954  def set_unit_cell(self, o):
9955  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9956  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9957 
9958 
9959  def get_inverse_unit_cell(self):
9960  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9961  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9962 
9963 
9964  def get_unit_cell(self):
9965  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9966  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9967 
9968 
9969  def get_extended_index(self, o):
9970  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9971  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9972 
9973 
9974  def get_index(self, o):
9975  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9976  return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9977 
9978 
9979  def get_center(self, *args):
9980  """
9981  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9982  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9983  """
9984  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9985 
9986 
9987  def get_bounding_box(self, *args):
9988  """
9989  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9990  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9991  """
9992  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9993 
9994 
9995  def show(self, *args):
9996  """
9997  show(DefaultEmbedding5D self, _ostream out)
9998  show(DefaultEmbedding5D self)
9999  """
10000  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
10001 
10002 
10003  def __str__(self):
10004  """__str__(DefaultEmbedding5D self) -> std::string"""
10005  return _IMP_algebra.DefaultEmbedding5D___str__(self)
10006 
10007 
10008  def __repr__(self):
10009  """__repr__(DefaultEmbedding5D self) -> std::string"""
10010  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
10011 
10012 
10013  def __cmp__(self, arg2):
10014  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
10015  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
10016 
10017 
10018  def __eq__(self, arg2):
10019  """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
10020  return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
10021 
10022  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
10023  __del__ = lambda self: None
10024 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
10025 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
10026 
10027 class DefaultEmbedding6D(object):
10028  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
10029  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10030 
10031  def __init__(self, *args):
10032  """
10033  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
10034  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
10035  """
10036  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
10037  try:
10038  self.this.append(this)
10039  except:
10040  self.this = this
10041 
10042  def set_origin(self, o):
10043  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
10044  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
10045 
10046 
10047  def get_origin(self):
10048  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
10049  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
10050 
10051 
10052  def get_dimension(self):
10053  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
10054  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
10055 
10056 
10057  def set_unit_cell(self, o):
10058  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
10059  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
10060 
10061 
10062  def get_inverse_unit_cell(self):
10063  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10064  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
10065 
10066 
10067  def get_unit_cell(self):
10068  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10069  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
10070 
10071 
10072  def get_extended_index(self, o):
10073  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10074  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
10075 
10076 
10077  def get_index(self, o):
10078  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
10079  return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
10080 
10081 
10082  def get_center(self, *args):
10083  """
10084  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10085  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
10086  """
10087  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
10088 
10089 
10090  def get_bounding_box(self, *args):
10091  """
10092  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10093  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10094  """
10095  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
10096 
10097 
10098  def show(self, *args):
10099  """
10100  show(DefaultEmbedding6D self, _ostream out)
10101  show(DefaultEmbedding6D self)
10102  """
10103  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
10104 
10105 
10106  def __str__(self):
10107  """__str__(DefaultEmbedding6D self) -> std::string"""
10108  return _IMP_algebra.DefaultEmbedding6D___str__(self)
10109 
10110 
10111  def __repr__(self):
10112  """__repr__(DefaultEmbedding6D self) -> std::string"""
10113  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
10114 
10115 
10116  def __cmp__(self, arg2):
10117  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
10118  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
10119 
10120 
10121  def __eq__(self, arg2):
10122  """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
10123  return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
10124 
10125  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
10126  __del__ = lambda self: None
10127 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
10128 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
10129 
10130 class DefaultEmbeddingKD(object):
10131  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
10132  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10133 
10134  def __init__(self, *args):
10135  """
10136  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
10137  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
10138  """
10139  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
10140  try:
10141  self.this.append(this)
10142  except:
10143  self.this = this
10144 
10145  def set_origin(self, o):
10146  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
10147  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
10148 
10149 
10150  def get_origin(self):
10151  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
10152  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
10153 
10154 
10155  def get_dimension(self):
10156  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
10157  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
10158 
10159 
10160  def set_unit_cell(self, o):
10161  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
10162  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
10163 
10164 
10165  def get_inverse_unit_cell(self):
10166  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10167  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
10168 
10169 
10170  def get_unit_cell(self):
10171  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10172  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
10173 
10174 
10175  def get_extended_index(self, o):
10176  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
10177  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
10178 
10179 
10180  def get_index(self, o):
10181  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
10182  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
10183 
10184 
10185  def get_center(self, *args):
10186  """
10187  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
10188  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
10189  """
10190  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
10191 
10192 
10193  def get_bounding_box(self, *args):
10194  """
10195  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
10196  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
10197  """
10198  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
10199 
10200 
10201  def show(self, *args):
10202  """
10203  show(DefaultEmbeddingKD self, _ostream out)
10204  show(DefaultEmbeddingKD self)
10205  """
10206  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
10207 
10208 
10209  def __str__(self):
10210  """__str__(DefaultEmbeddingKD self) -> std::string"""
10211  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
10212 
10213 
10214  def __repr__(self):
10215  """__repr__(DefaultEmbeddingKD self) -> std::string"""
10216  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
10217 
10218 
10219  def __cmp__(self, arg2):
10220  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
10221  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
10222 
10223 
10224  def __eq__(self, arg2):
10225  """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
10226  return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
10227 
10228  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
10229  __del__ = lambda self: None
10230 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
10231 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
10232 
10233 class LogEmbedding1D(object):
10234  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
10235  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10236 
10237  def __init__(self, *args):
10238  """
10239  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
10240  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
10241  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
10242  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
10243  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
10244  """
10245  this = _IMP_algebra.new_LogEmbedding1D(*args)
10246  try:
10247  self.this.append(this)
10248  except:
10249  self.this = this
10250 
10251  def set_origin(self, o):
10252  """set_origin(LogEmbedding1D self, Vector1D o)"""
10253  return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
10254 
10255 
10256  def get_origin(self):
10257  """get_origin(LogEmbedding1D self) -> Vector1D"""
10258  return _IMP_algebra.LogEmbedding1D_get_origin(self)
10259 
10260 
10261  def get_dimension(self):
10262  """get_dimension(LogEmbedding1D self) -> unsigned int"""
10263  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
10264 
10265 
10266  def set_unit_cell(self, *args):
10267  """
10268  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
10269  set_unit_cell(LogEmbedding1D self, Vector1D o)
10270  """
10271  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
10272 
10273 
10274  def get_unit_cell(self):
10275  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
10276  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
10277 
10278 
10279  def get_extended_index(self, o):
10280  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
10281  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
10282 
10283 
10284  def get_index(self, o):
10285  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
10286  return _IMP_algebra.LogEmbedding1D_get_index(self, o)
10287 
10288 
10289  def get_center(self, *args):
10290  """
10291  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
10292  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
10293  """
10294  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
10295 
10296 
10297  def get_bounding_box(self, *args):
10298  """
10299  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
10300  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
10301  """
10302  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
10303 
10304 
10305  def show(self, *args):
10306  """
10307  show(LogEmbedding1D self, _ostream out)
10308  show(LogEmbedding1D self)
10309  """
10310  return _IMP_algebra.LogEmbedding1D_show(self, *args)
10311 
10312 
10313  def __str__(self):
10314  """__str__(LogEmbedding1D self) -> std::string"""
10315  return _IMP_algebra.LogEmbedding1D___str__(self)
10316 
10317 
10318  def __repr__(self):
10319  """__repr__(LogEmbedding1D self) -> std::string"""
10320  return _IMP_algebra.LogEmbedding1D___repr__(self)
10321 
10322 
10323  def __cmp__(self, arg2):
10324  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
10325  return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
10326 
10327 
10328  def __eq__(self, arg2):
10329  """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
10330  return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
10331 
10332  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
10333  __del__ = lambda self: None
10334 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
10335 LogEmbedding1D_swigregister(LogEmbedding1D)
10336 
10337 class LogEmbedding2D(object):
10338  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
10339  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10340 
10341  def __init__(self, *args):
10342  """
10343  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
10344  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
10345  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
10346  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
10347  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
10348  """
10349  this = _IMP_algebra.new_LogEmbedding2D(*args)
10350  try:
10351  self.this.append(this)
10352  except:
10353  self.this = this
10354 
10355  def set_origin(self, o):
10356  """set_origin(LogEmbedding2D self, Vector2D o)"""
10357  return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
10358 
10359 
10360  def get_origin(self):
10361  """get_origin(LogEmbedding2D self) -> Vector2D"""
10362  return _IMP_algebra.LogEmbedding2D_get_origin(self)
10363 
10364 
10365  def get_dimension(self):
10366  """get_dimension(LogEmbedding2D self) -> unsigned int"""
10367  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
10368 
10369 
10370  def set_unit_cell(self, *args):
10371  """
10372  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
10373  set_unit_cell(LogEmbedding2D self, Vector2D o)
10374  """
10375  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
10376 
10377 
10378  def get_unit_cell(self):
10379  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
10380  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
10381 
10382 
10383  def get_extended_index(self, o):
10384  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
10385  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
10386 
10387 
10388  def get_index(self, o):
10389  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
10390  return _IMP_algebra.LogEmbedding2D_get_index(self, o)
10391 
10392 
10393  def get_center(self, *args):
10394  """
10395  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
10396  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
10397  """
10398  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
10399 
10400 
10401  def get_bounding_box(self, *args):
10402  """
10403  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
10404  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
10405  """
10406  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
10407 
10408 
10409  def show(self, *args):
10410  """
10411  show(LogEmbedding2D self, _ostream out)
10412  show(LogEmbedding2D self)
10413  """
10414  return _IMP_algebra.LogEmbedding2D_show(self, *args)
10415 
10416 
10417  def __str__(self):
10418  """__str__(LogEmbedding2D self) -> std::string"""
10419  return _IMP_algebra.LogEmbedding2D___str__(self)
10420 
10421 
10422  def __repr__(self):
10423  """__repr__(LogEmbedding2D self) -> std::string"""
10424  return _IMP_algebra.LogEmbedding2D___repr__(self)
10425 
10426 
10427  def __cmp__(self, arg2):
10428  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
10429  return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
10430 
10431 
10432  def __eq__(self, arg2):
10433  """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
10434  return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
10435 
10436  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
10437  __del__ = lambda self: None
10438 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
10439 LogEmbedding2D_swigregister(LogEmbedding2D)
10440 
10441 class LogEmbedding4D(object):
10442  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
10443  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10444 
10445  def __init__(self, *args):
10446  """
10447  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
10448  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
10449  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
10450  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
10451  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
10452  """
10453  this = _IMP_algebra.new_LogEmbedding4D(*args)
10454  try:
10455  self.this.append(this)
10456  except:
10457  self.this = this
10458 
10459  def set_origin(self, o):
10460  """set_origin(LogEmbedding4D self, Vector4D o)"""
10461  return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
10462 
10463 
10464  def get_origin(self):
10465  """get_origin(LogEmbedding4D self) -> Vector4D"""
10466  return _IMP_algebra.LogEmbedding4D_get_origin(self)
10467 
10468 
10469  def get_dimension(self):
10470  """get_dimension(LogEmbedding4D self) -> unsigned int"""
10471  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
10472 
10473 
10474  def set_unit_cell(self, *args):
10475  """
10476  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
10477  set_unit_cell(LogEmbedding4D self, Vector4D o)
10478  """
10479  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
10480 
10481 
10482  def get_unit_cell(self):
10483  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
10484  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
10485 
10486 
10487  def get_extended_index(self, o):
10488  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
10489  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
10490 
10491 
10492  def get_index(self, o):
10493  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
10494  return _IMP_algebra.LogEmbedding4D_get_index(self, o)
10495 
10496 
10497  def get_center(self, *args):
10498  """
10499  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
10500  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
10501  """
10502  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
10503 
10504 
10505  def get_bounding_box(self, *args):
10506  """
10507  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
10508  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
10509  """
10510  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
10511 
10512 
10513  def show(self, *args):
10514  """
10515  show(LogEmbedding4D self, _ostream out)
10516  show(LogEmbedding4D self)
10517  """
10518  return _IMP_algebra.LogEmbedding4D_show(self, *args)
10519 
10520 
10521  def __str__(self):
10522  """__str__(LogEmbedding4D self) -> std::string"""
10523  return _IMP_algebra.LogEmbedding4D___str__(self)
10524 
10525 
10526  def __repr__(self):
10527  """__repr__(LogEmbedding4D self) -> std::string"""
10528  return _IMP_algebra.LogEmbedding4D___repr__(self)
10529 
10530 
10531  def __cmp__(self, arg2):
10532  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
10533  return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
10534 
10535 
10536  def __eq__(self, arg2):
10537  """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
10538  return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
10539 
10540  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
10541  __del__ = lambda self: None
10542 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
10543 LogEmbedding4D_swigregister(LogEmbedding4D)
10544 
10545 class LogEmbedding5D(object):
10546  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
10547  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10548 
10549  def __init__(self, *args):
10550  """
10551  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
10552  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
10553  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
10554  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
10555  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
10556  """
10557  this = _IMP_algebra.new_LogEmbedding5D(*args)
10558  try:
10559  self.this.append(this)
10560  except:
10561  self.this = this
10562 
10563  def set_origin(self, o):
10564  """set_origin(LogEmbedding5D self, Vector5D o)"""
10565  return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
10566 
10567 
10568  def get_origin(self):
10569  """get_origin(LogEmbedding5D self) -> Vector5D"""
10570  return _IMP_algebra.LogEmbedding5D_get_origin(self)
10571 
10572 
10573  def get_dimension(self):
10574  """get_dimension(LogEmbedding5D self) -> unsigned int"""
10575  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
10576 
10577 
10578  def set_unit_cell(self, *args):
10579  """
10580  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
10581  set_unit_cell(LogEmbedding5D self, Vector5D o)
10582  """
10583  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
10584 
10585 
10586  def get_unit_cell(self):
10587  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
10588  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10589 
10590 
10591  def get_extended_index(self, o):
10592  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10593  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10594 
10595 
10596  def get_index(self, o):
10597  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10598  return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10599 
10600 
10601  def get_center(self, *args):
10602  """
10603  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10604  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10605  """
10606  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10607 
10608 
10609  def get_bounding_box(self, *args):
10610  """
10611  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10612  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10613  """
10614  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10615 
10616 
10617  def show(self, *args):
10618  """
10619  show(LogEmbedding5D self, _ostream out)
10620  show(LogEmbedding5D self)
10621  """
10622  return _IMP_algebra.LogEmbedding5D_show(self, *args)
10623 
10624 
10625  def __str__(self):
10626  """__str__(LogEmbedding5D self) -> std::string"""
10627  return _IMP_algebra.LogEmbedding5D___str__(self)
10628 
10629 
10630  def __repr__(self):
10631  """__repr__(LogEmbedding5D self) -> std::string"""
10632  return _IMP_algebra.LogEmbedding5D___repr__(self)
10633 
10634 
10635  def __cmp__(self, arg2):
10636  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10637  return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10638 
10639 
10640  def __eq__(self, arg2):
10641  """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10642  return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10643 
10644  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10645  __del__ = lambda self: None
10646 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10647 LogEmbedding5D_swigregister(LogEmbedding5D)
10648 
10649 class LogEmbedding6D(object):
10650  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
10651  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10652 
10653  def __init__(self, *args):
10654  """
10655  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10656  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10657  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10658  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10659  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10660  """
10661  this = _IMP_algebra.new_LogEmbedding6D(*args)
10662  try:
10663  self.this.append(this)
10664  except:
10665  self.this = this
10666 
10667  def set_origin(self, o):
10668  """set_origin(LogEmbedding6D self, Vector6D o)"""
10669  return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10670 
10671 
10672  def get_origin(self):
10673  """get_origin(LogEmbedding6D self) -> Vector6D"""
10674  return _IMP_algebra.LogEmbedding6D_get_origin(self)
10675 
10676 
10677  def get_dimension(self):
10678  """get_dimension(LogEmbedding6D self) -> unsigned int"""
10679  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10680 
10681 
10682  def set_unit_cell(self, *args):
10683  """
10684  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10685  set_unit_cell(LogEmbedding6D self, Vector6D o)
10686  """
10687  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10688 
10689 
10690  def get_unit_cell(self):
10691  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10692  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10693 
10694 
10695  def get_extended_index(self, o):
10696  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10697  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10698 
10699 
10700  def get_index(self, o):
10701  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10702  return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10703 
10704 
10705  def get_center(self, *args):
10706  """
10707  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10708  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10709  """
10710  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10711 
10712 
10713  def get_bounding_box(self, *args):
10714  """
10715  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10716  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10717  """
10718  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10719 
10720 
10721  def show(self, *args):
10722  """
10723  show(LogEmbedding6D self, _ostream out)
10724  show(LogEmbedding6D self)
10725  """
10726  return _IMP_algebra.LogEmbedding6D_show(self, *args)
10727 
10728 
10729  def __str__(self):
10730  """__str__(LogEmbedding6D self) -> std::string"""
10731  return _IMP_algebra.LogEmbedding6D___str__(self)
10732 
10733 
10734  def __repr__(self):
10735  """__repr__(LogEmbedding6D self) -> std::string"""
10736  return _IMP_algebra.LogEmbedding6D___repr__(self)
10737 
10738 
10739  def __cmp__(self, arg2):
10740  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10741  return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10742 
10743 
10744  def __eq__(self, arg2):
10745  """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10746  return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10747 
10748  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10749  __del__ = lambda self: None
10750 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10751 LogEmbedding6D_swigregister(LogEmbedding6D)
10752 
10753 class SpherePatch3D(_GeometricPrimitive3D):
10754  """Proxy of C++ IMP::algebra::SpherePatch3D class"""
10755  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10756 
10757  def __init__(self, *args):
10758  """
10759  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10760  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10761  """
10762  this = _IMP_algebra.new_SpherePatch3D(*args)
10763  try:
10764  self.this.append(this)
10765  except:
10766  self.this = this
10767 
10768  def get_contains(self, p):
10769  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10770  return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10771 
10772 
10773  def get_plane(self):
10774  """get_plane(SpherePatch3D self) -> Plane3D"""
10775  return _IMP_algebra.SpherePatch3D_get_plane(self)
10776 
10777 
10778  def get_sphere(self):
10779  """get_sphere(SpherePatch3D self) -> Sphere3D"""
10780  return _IMP_algebra.SpherePatch3D_get_sphere(self)
10781 
10782 
10783  def show(self, *args):
10784  """
10785  show(SpherePatch3D self, _ostream out)
10786  show(SpherePatch3D self)
10787  """
10788  return _IMP_algebra.SpherePatch3D_show(self, *args)
10789 
10790 
10791  def get_boundary_point(self):
10792  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10793  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10794 
10795 
10796  def __str__(self):
10797  """__str__(SpherePatch3D self) -> std::string"""
10798  return _IMP_algebra.SpherePatch3D___str__(self)
10799 
10800 
10801  def __repr__(self):
10802  """__repr__(SpherePatch3D self) -> std::string"""
10803  return _IMP_algebra.SpherePatch3D___repr__(self)
10804 
10805  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10806  __del__ = lambda self: None
10807 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10808 SpherePatch3D_swigregister(SpherePatch3D)
10809 
10810 
10811 def get_area(*args):
10812  """
10813  get_area(Plane3D g) -> double
10814  get_area(SpherePatch3D g) -> double
10815  """
10816  return _IMP_algebra.get_area(*args)
10817 
10818 def get_sphere_patch_3d_geometry(g):
10819  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10820  return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10821 class Cone3D(_GeometricPrimitive3D):
10822  """Proxy of C++ IMP::algebra::Cone3D class"""
10823  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10824 
10825  def __init__(self, *args):
10826  """
10827  __init__(IMP::algebra::Cone3D self) -> Cone3D
10828  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10829  """
10830  this = _IMP_algebra.new_Cone3D(*args)
10831  try:
10832  self.this.append(this)
10833  except:
10834  self.this = this
10835 
10836  def get_tip(self):
10837  """get_tip(Cone3D self) -> Vector3D"""
10838  return _IMP_algebra.Cone3D_get_tip(self)
10839 
10840 
10841  def get_direction(self):
10842  """get_direction(Cone3D self) -> Vector3D"""
10843  return _IMP_algebra.Cone3D_get_direction(self)
10844 
10845 
10846  def get_height(self):
10847  """get_height(Cone3D self) -> double"""
10848  return _IMP_algebra.Cone3D_get_height(self)
10849 
10850 
10851  def get_angle(self):
10852  """get_angle(Cone3D self) -> double"""
10853  return _IMP_algebra.Cone3D_get_angle(self)
10854 
10855 
10856  def get_radius(self):
10857  """get_radius(Cone3D self) -> double"""
10858  return _IMP_algebra.Cone3D_get_radius(self)
10859 
10860 
10861  def get_contains(self, v):
10862  """get_contains(Cone3D self, Vector3D v) -> bool"""
10863  return _IMP_algebra.Cone3D_get_contains(self, v)
10864 
10865 
10866  def get_base_plane(self):
10867  """get_base_plane(Cone3D self) -> Plane3D"""
10868  return _IMP_algebra.Cone3D_get_base_plane(self)
10869 
10870 
10871  def show(self, *args):
10872  """
10873  show(Cone3D self, _ostream out)
10874  show(Cone3D self)
10875  """
10876  return _IMP_algebra.Cone3D_show(self, *args)
10877 
10878 
10879  def __str__(self):
10880  """__str__(Cone3D self) -> std::string"""
10881  return _IMP_algebra.Cone3D___str__(self)
10882 
10883 
10884  def __repr__(self):
10885  """__repr__(Cone3D self) -> std::string"""
10886  return _IMP_algebra.Cone3D___repr__(self)
10887 
10888  __swig_destroy__ = _IMP_algebra.delete_Cone3D
10889  __del__ = lambda self: None
10890 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10891 Cone3D_swigregister(Cone3D)
10892 
10893 
10894 def get_surface_area(*args):
10895  """
10896  get_surface_area(BoundingBox3D g) -> double
10897  get_surface_area(Sphere3D g) -> double
10898  get_surface_area(Cylinder3D g) -> double
10899  get_surface_area(Ellipsoid3D g) -> double
10900  get_surface_area(Cone3D g) -> double
10901  """
10902  return _IMP_algebra.get_surface_area(*args)
10903 
10904 def get_volume(*args):
10905  """
10906  get_volume(BoundingBox3D g) -> double
10907  get_volume(Sphere3D g) -> double
10908  get_volume(Cylinder3D g) -> double
10909  get_volume(Ellipsoid3D g) -> double
10910  get_volume(Cone3D g) -> double
10911  """
10912  return _IMP_algebra.get_volume(*args)
10913 
10914 def get_cone_3d_geometry(g):
10915  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10916  return _IMP_algebra.get_cone_3d_geometry(g)
10917 
10918 def write_pts(vs, out):
10919  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10920  return _IMP_algebra.write_pts(vs, out)
10921 
10922 def read_pts(input):
10923  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10924  return _IMP_algebra.read_pts(input)
10925 
10926 def write_spheres(vs, out):
10927  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10928  return _IMP_algebra.write_spheres(vs, out)
10929 
10930 def read_spheres(input):
10931  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10932  return _IMP_algebra.read_spheres(input)
10933 
10935  """get_random_vector_on_unit_sphere() -> Vector3D"""
10936  return _IMP_algebra.get_random_vector_on_unit_sphere()
10937 
10938 def get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle):
10939  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10940  return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10941 
10942 def get_random_chain(*args):
10943  """
10944  get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10945  get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10946  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10947  """
10948  return _IMP_algebra.get_random_chain(*args)
10949 
10950 def reversed_read(dest, size, nitems, f, reverse):
10951  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10952  return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10953 
10954 def reversed_write(src, size, nitems, f, reverse=False):
10955  """
10956  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10957  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10958  """
10959  return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10960 
10961 def get_is_big_endian():
10962  """get_is_big_endian() -> bool"""
10963  return _IMP_algebra.get_is_big_endian()
10964 
10965 def get_is_little_endian():
10966  """get_is_little_endian() -> bool"""
10967  return _IMP_algebra.get_is_little_endian()
10968 
10969 def get_shortest_segment(*args):
10970  """
10971  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10972  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10973  """
10974  return _IMP_algebra.get_shortest_segment(*args)
10975 class DynamicNearestNeighbor3D(IMP.Object):
10976  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
10977  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10978 
10979  def __init__(self, vs, query_estimate=1):
10980  """
10981  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10982  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10983  """
10984  this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10985  try:
10986  self.this.append(this)
10987  except:
10988  self.this = this
10989 
10990  def get_in_ball(self, id, distance):
10991  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10992  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10993 
10994 
10995  def set_coordinates(self, id, nc):
10996  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10997  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10998 
10999 
11000  def get_version_info(self):
11001  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
11002  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
11003 
11004 
11005  def __str__(self):
11006  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
11007  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
11008 
11009 
11010  def __repr__(self):
11011  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
11012  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
11013 
11014 
11015  @staticmethod
11016  def get_from(o):
11017  return _object_cast_to_DynamicNearestNeighbor3D(o)
11018 
11019 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
11020 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
11021 
11022 class VectorKDMetric(IMP.Object):
11023  """Proxy of C++ IMP::algebra::VectorKDMetric class"""
11024  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11025 
11026  def __init__(self, name):
11027  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
11028  if self.__class__ == VectorKDMetric:
11029  _self = None
11030  else:
11031  _self = self
11032  this = _IMP_algebra.new_VectorKDMetric(_self, name)
11033  try:
11034  self.this.append(this)
11035  except:
11036  self.this = this
11037 
11038  if self.__class__ != VectorKDMetric:
11039  _director_objects.register(self)
11040 
11041 
11042 
11043 
11044  def get_distance(self, a, b):
11045  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
11046  return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
11047 
11048 
11049  def get_centroid(self, vs):
11050  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
11051  return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
11052 
11053 
11054  def __str__(self):
11055  """__str__(VectorKDMetric self) -> std::string"""
11056  return _IMP_algebra.VectorKDMetric___str__(self)
11057 
11058 
11059  def __repr__(self):
11060  """__repr__(VectorKDMetric self) -> std::string"""
11061  return _IMP_algebra.VectorKDMetric___repr__(self)
11062 
11063 
11064  @staticmethod
11065  def get_from(o):
11066  return _object_cast_to_VectorKDMetric(o)
11067 
11068 
11069  def get_type_name(self):
11070  return self.__class__.__name__
11071  def do_show(self, out):
11072  pass
11073  def get_version_info(self):
11074  if"IMP::algebra" == "IMP":
11075  return VersionInfo(self.__module__,
11076  __import__(self.__module__).get_module_version())
11077  else:
11078  return IMP.VersionInfo(self.__module__,
11079  __import__(self.__module__).get_module_version())
11080  @staticmethod
11081  def get_from(o):
11082  return _object_cast_to_VectorKDMetric(o)
11083 
11084  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
11085  __del__ = lambda self: None
11086  def __disown__(self):
11087  self.this.disown()
11088  _IMP_algebra.disown_VectorKDMetric(self)
11089  return weakref_proxy(self)
11090 
11091  def do_destroy(self):
11092  """do_destroy(VectorKDMetric self)"""
11093  return _IMP_algebra.VectorKDMetric_do_destroy(self)
11094 
11095 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
11096 VectorKDMetric_swigregister(VectorKDMetric)
11097 
11098 class EuclideanVectorKDMetric(VectorKDMetric):
11099  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
11100  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11101 
11102  def __init__(self, *args):
11103  """
11104  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
11105  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
11106  """
11107  this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
11108  try:
11109  self.this.append(this)
11110  except:
11111  self.this = this
11112 
11113  def get_version_info(self):
11114  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
11115  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
11116 
11117 
11118  def __str__(self):
11119  """__str__(EuclideanVectorKDMetric self) -> std::string"""
11120  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
11121 
11122 
11123  def __repr__(self):
11124  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
11125  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
11126 
11127 
11128  @staticmethod
11129  def get_from(o):
11130  return _object_cast_to_EuclideanVectorKDMetric(o)
11131 
11132 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
11133 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
11134 
11135 class MaxVectorKDMetric(VectorKDMetric):
11136  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
11137  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11138 
11139  def __init__(self, *args):
11140  """
11141  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
11142  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
11143  """
11144  this = _IMP_algebra.new_MaxVectorKDMetric(*args)
11145  try:
11146  self.this.append(this)
11147  except:
11148  self.this = this
11149 
11150  def get_version_info(self):
11151  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
11152  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
11153 
11154 
11155  def __str__(self):
11156  """__str__(MaxVectorKDMetric self) -> std::string"""
11157  return _IMP_algebra.MaxVectorKDMetric___str__(self)
11158 
11159 
11160  def __repr__(self):
11161  """__repr__(MaxVectorKDMetric self) -> std::string"""
11162  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
11163 
11164 
11165  @staticmethod
11166  def get_from(o):
11167  return _object_cast_to_MaxVectorKDMetric(o)
11168 
11169 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
11170 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
11171 
11172 class Gaussian3D(_GeometricPrimitive3D):
11173  """Proxy of C++ IMP::algebra::Gaussian3D class"""
11174  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11175 
11176  def __init__(self, *args):
11177  """
11178  __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
11179  __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
11180  """
11181  this = _IMP_algebra.new_Gaussian3D(*args)
11182  try:
11183  self.this.append(this)
11184  except:
11185  self.this = this
11186 
11187  def get_reference_frame(self):
11188  """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
11189  return _IMP_algebra.Gaussian3D_get_reference_frame(self)
11190 
11191 
11192  def get_variances(self):
11193  """get_variances(Gaussian3D self) -> Vector3D"""
11194  return _IMP_algebra.Gaussian3D_get_variances(self)
11195 
11196 
11197  def get_center(self):
11198  """get_center(Gaussian3D self) -> Vector3D"""
11199  return _IMP_algebra.Gaussian3D_get_center(self)
11200 
11201 
11202  def show(self, *args):
11203  """
11204  show(Gaussian3D self, _ostream out)
11205  show(Gaussian3D self)
11206  """
11207  return _IMP_algebra.Gaussian3D_show(self, *args)
11208 
11209 
11210  def __str__(self):
11211  """__str__(Gaussian3D self) -> std::string"""
11212  return _IMP_algebra.Gaussian3D___str__(self)
11213 
11214 
11215  def __repr__(self):
11216  """__repr__(Gaussian3D self) -> std::string"""
11217  return _IMP_algebra.Gaussian3D___repr__(self)
11218 
11219  __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
11220  __del__ = lambda self: None
11221 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
11222 Gaussian3D_swigregister(Gaussian3D)
11223 
11224 
11225 def get_covariance(g):
11226  """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
11227  return _IMP_algebra.get_covariance(g)
11228 
11229 def get_gaussian_from_covariance(covariance, center):
11230  """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
11231  return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
11232 
11233 def get_rasterized(gmm, weights, cell_width, bb):
11234  """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
11235  return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
11236 
11237 def get_rasterized_fast(gmm, weights, cell_width, bb, factor=2.5):
11238  """
11239  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
11240  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
11241  """
11242  return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
11243 
11244 def _pass_matrix_xf(m):
11245  """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
11246  return _IMP_algebra._pass_matrix_xf(m)
11247 
11248 def _pass_matrix_xd(m):
11249  """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
11250  return _IMP_algebra._pass_matrix_xd(m)
11251 
11252 def _pass_matrix_3d(m):
11253  """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
11254  return _IMP_algebra._pass_matrix_3d(m)
11255 
11256 def _pass_array_xd(m):
11257  """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
11258  return _IMP_algebra._pass_array_xd(m)
11259 
11260 def _pass_vector_xd(m):
11261  """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
11262  return _IMP_algebra._pass_vector_xd(m)
11263 class NearestNeighbor1D(IMP.Object):
11264  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
11265  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11266 
11267  def __init__(self, *args):
11268  """
11269  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
11270  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
11271  """
11272  this = _IMP_algebra.new_NearestNeighbor1D(*args)
11273  try:
11274  self.this.append(this)
11275  except:
11276  self.this = this
11277 
11278  def set_query_log(self, fname):
11279  """set_query_log(NearestNeighbor1D self, std::string fname)"""
11280  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
11281 
11282 
11283  def get_nearest_neighbor(self, *args):
11284  """
11285  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
11286  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
11287  """
11288  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
11289 
11290 
11291  def get_nearest_neighbors(self, *args):
11292  """
11293  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
11294  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
11295  """
11296  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
11297 
11298 
11299  def get_in_ball(self, *args):
11300  """
11301  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
11302  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
11303  """
11304  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
11305 
11306 
11307  def get_version_info(self):
11308  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
11309  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
11310 
11311 
11312  def __str__(self):
11313  """__str__(NearestNeighbor1D self) -> std::string"""
11314  return _IMP_algebra.NearestNeighbor1D___str__(self)
11315 
11316 
11317  def __repr__(self):
11318  """__repr__(NearestNeighbor1D self) -> std::string"""
11319  return _IMP_algebra.NearestNeighbor1D___repr__(self)
11320 
11321 
11322  @staticmethod
11323  def get_from(o):
11324  return _object_cast_to_NearestNeighborD(o)
11325 
11326 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
11327 NearestNeighbor1D_swigregister(NearestNeighbor1D)
11328 
11329 class NearestNeighbor2D(IMP.Object):
11330  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
11331  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11332 
11333  def __init__(self, *args):
11334  """
11335  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
11336  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
11337  """
11338  this = _IMP_algebra.new_NearestNeighbor2D(*args)
11339  try:
11340  self.this.append(this)
11341  except:
11342  self.this = this
11343 
11344  def set_query_log(self, fname):
11345  """set_query_log(NearestNeighbor2D self, std::string fname)"""
11346  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
11347 
11348 
11349  def get_nearest_neighbor(self, *args):
11350  """
11351  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
11352  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
11353  """
11354  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
11355 
11356 
11357  def get_nearest_neighbors(self, *args):
11358  """
11359  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
11360  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
11361  """
11362  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
11363 
11364 
11365  def get_in_ball(self, *args):
11366  """
11367  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
11368  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
11369  """
11370  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
11371 
11372 
11373  def get_version_info(self):
11374  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
11375  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
11376 
11377 
11378  def __str__(self):
11379  """__str__(NearestNeighbor2D self) -> std::string"""
11380  return _IMP_algebra.NearestNeighbor2D___str__(self)
11381 
11382 
11383  def __repr__(self):
11384  """__repr__(NearestNeighbor2D self) -> std::string"""
11385  return _IMP_algebra.NearestNeighbor2D___repr__(self)
11386 
11387 
11388  @staticmethod
11389  def get_from(o):
11390  return _object_cast_to_NearestNeighborD(o)
11391 
11392 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
11393 NearestNeighbor2D_swigregister(NearestNeighbor2D)
11394 
11395 class NearestNeighbor3D(IMP.Object):
11396  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
11397  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11398 
11399  def __init__(self, *args):
11400  """
11401  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
11402  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
11403  """
11404  this = _IMP_algebra.new_NearestNeighbor3D(*args)
11405  try:
11406  self.this.append(this)
11407  except:
11408  self.this = this
11409 
11410  def set_query_log(self, fname):
11411  """set_query_log(NearestNeighbor3D self, std::string fname)"""
11412  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
11413 
11414 
11415  def get_nearest_neighbor(self, *args):
11416  """
11417  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
11418  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
11419  """
11420  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
11421 
11422 
11423  def get_nearest_neighbors(self, *args):
11424  """
11425  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
11426  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
11427  """
11428  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
11429 
11430 
11431  def get_in_ball(self, *args):
11432  """
11433  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
11434  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
11435  """
11436  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
11437 
11438 
11439  def get_version_info(self):
11440  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
11441  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
11442 
11443 
11444  def __str__(self):
11445  """__str__(NearestNeighbor3D self) -> std::string"""
11446  return _IMP_algebra.NearestNeighbor3D___str__(self)
11447 
11448 
11449  def __repr__(self):
11450  """__repr__(NearestNeighbor3D self) -> std::string"""
11451  return _IMP_algebra.NearestNeighbor3D___repr__(self)
11452 
11453 
11454  @staticmethod
11455  def get_from(o):
11456  return _object_cast_to_NearestNeighborD(o)
11457 
11458 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
11459 NearestNeighbor3D_swigregister(NearestNeighbor3D)
11460 
11461 class NearestNeighbor4D(IMP.Object):
11462  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
11463  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11464 
11465  def __init__(self, *args):
11466  """
11467  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
11468  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
11469  """
11470  this = _IMP_algebra.new_NearestNeighbor4D(*args)
11471  try:
11472  self.this.append(this)
11473  except:
11474  self.this = this
11475 
11476  def set_query_log(self, fname):
11477  """set_query_log(NearestNeighbor4D self, std::string fname)"""
11478  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
11479 
11480 
11481  def get_nearest_neighbor(self, *args):
11482  """
11483  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
11484  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
11485  """
11486  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
11487 
11488 
11489  def get_nearest_neighbors(self, *args):
11490  """
11491  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
11492  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
11493  """
11494  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
11495 
11496 
11497  def get_in_ball(self, *args):
11498  """
11499  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
11500  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
11501  """
11502  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
11503 
11504 
11505  def get_version_info(self):
11506  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
11507  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
11508 
11509 
11510  def __str__(self):
11511  """__str__(NearestNeighbor4D self) -> std::string"""
11512  return _IMP_algebra.NearestNeighbor4D___str__(self)
11513 
11514 
11515  def __repr__(self):
11516  """__repr__(NearestNeighbor4D self) -> std::string"""
11517  return _IMP_algebra.NearestNeighbor4D___repr__(self)
11518 
11519 
11520  @staticmethod
11521  def get_from(o):
11522  return _object_cast_to_NearestNeighborD(o)
11523 
11524 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
11525 NearestNeighbor4D_swigregister(NearestNeighbor4D)
11526 
11527 class NearestNeighbor5D(IMP.Object):
11528  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
11529  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11530 
11531  def __init__(self, *args):
11532  """
11533  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
11534  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
11535  """
11536  this = _IMP_algebra.new_NearestNeighbor5D(*args)
11537  try:
11538  self.this.append(this)
11539  except:
11540  self.this = this
11541 
11542  def set_query_log(self, fname):
11543  """set_query_log(NearestNeighbor5D self, std::string fname)"""
11544  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
11545 
11546 
11547  def get_nearest_neighbor(self, *args):
11548  """
11549  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
11550  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
11551  """
11552  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
11553 
11554 
11555  def get_nearest_neighbors(self, *args):
11556  """
11557  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
11558  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
11559  """
11560  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
11561 
11562 
11563  def get_in_ball(self, *args):
11564  """
11565  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
11566  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
11567  """
11568  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
11569 
11570 
11571  def get_version_info(self):
11572  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
11573  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11574 
11575 
11576  def __str__(self):
11577  """__str__(NearestNeighbor5D self) -> std::string"""
11578  return _IMP_algebra.NearestNeighbor5D___str__(self)
11579 
11580 
11581  def __repr__(self):
11582  """__repr__(NearestNeighbor5D self) -> std::string"""
11583  return _IMP_algebra.NearestNeighbor5D___repr__(self)
11584 
11585 
11586  @staticmethod
11587  def get_from(o):
11588  return _object_cast_to_NearestNeighborD(o)
11589 
11590 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11591 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11592 
11593 class NearestNeighbor6D(IMP.Object):
11594  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
11595  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11596 
11597  def __init__(self, *args):
11598  """
11599  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11600  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11601  """
11602  this = _IMP_algebra.new_NearestNeighbor6D(*args)
11603  try:
11604  self.this.append(this)
11605  except:
11606  self.this = this
11607 
11608  def set_query_log(self, fname):
11609  """set_query_log(NearestNeighbor6D self, std::string fname)"""
11610  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11611 
11612 
11613  def get_nearest_neighbor(self, *args):
11614  """
11615  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11616  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11617  """
11618  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11619 
11620 
11621  def get_nearest_neighbors(self, *args):
11622  """
11623  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11624  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11625  """
11626  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11627 
11628 
11629  def get_in_ball(self, *args):
11630  """
11631  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11632  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11633  """
11634  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11635 
11636 
11637  def get_version_info(self):
11638  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11639  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11640 
11641 
11642  def __str__(self):
11643  """__str__(NearestNeighbor6D self) -> std::string"""
11644  return _IMP_algebra.NearestNeighbor6D___str__(self)
11645 
11646 
11647  def __repr__(self):
11648  """__repr__(NearestNeighbor6D self) -> std::string"""
11649  return _IMP_algebra.NearestNeighbor6D___repr__(self)
11650 
11651 
11652  @staticmethod
11653  def get_from(o):
11654  return _object_cast_to_NearestNeighborD(o)
11655 
11656 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11657 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11658 
11659 class NearestNeighborKD(IMP.Object):
11660  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
11661  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11662 
11663  def __init__(self, *args):
11664  """
11665  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11666  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11667  """
11668  this = _IMP_algebra.new_NearestNeighborKD(*args)
11669  try:
11670  self.this.append(this)
11671  except:
11672  self.this = this
11673 
11674  def set_query_log(self, fname):
11675  """set_query_log(NearestNeighborKD self, std::string fname)"""
11676  return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11677 
11678 
11679  def get_nearest_neighbor(self, *args):
11680  """
11681  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11682  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11683  """
11684  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11685 
11686 
11687  def get_nearest_neighbors(self, *args):
11688  """
11689  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11690  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11691  """
11692  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11693 
11694 
11695  def get_in_ball(self, *args):
11696  """
11697  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11698  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11699  """
11700  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11701 
11702 
11703  def get_version_info(self):
11704  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11705  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11706 
11707 
11708  def __str__(self):
11709  """__str__(NearestNeighborKD self) -> std::string"""
11710  return _IMP_algebra.NearestNeighborKD___str__(self)
11711 
11712 
11713  def __repr__(self):
11714  """__repr__(NearestNeighborKD self) -> std::string"""
11715  return _IMP_algebra.NearestNeighborKD___repr__(self)
11716 
11717 
11718  @staticmethod
11719  def get_from(o):
11720  return _object_cast_to_NearestNeighborD(o)
11721 
11722 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11723 NearestNeighborKD_swigregister(NearestNeighborKD)
11724 
11725 
11726 def get_transformation_aligning_pair(set_from, set_to):
11727  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11728  return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11729 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11730  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
11731  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11732 
11733  def __init__(self, *args):
11734  """
11735  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11736  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11737  """
11738  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11739  try:
11740  self.this.append(this)
11741  except:
11742  self.this = this
11743 
11744  def get_principal_components(self):
11745  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11746  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11747 
11748 
11749  def get_principal_component(self, i):
11750  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11751  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11752 
11753 
11754  def get_principal_values(self):
11755  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11756  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11757 
11758 
11759  def get_principal_value(self, i):
11760  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11761  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11762 
11763 
11764  def get_centroid(self):
11765  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11766  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11767 
11768 
11769  def set_centroid(self, cntr):
11770  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11771  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11772 
11773 
11774  def show(self, *args):
11775  """
11776  show(PrincipalComponentAnalysis1D self, _ostream out)
11777  show(PrincipalComponentAnalysis1D self)
11778  """
11779  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11780 
11781 
11782  def __cmp__(self, o):
11783  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11784  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11785 
11786 
11787  def __eq__(self, o):
11788  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11789  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11790 
11791 
11792  def __ne__(self, o):
11793  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11794  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11795 
11796 
11797  def __lt__(self, o):
11798  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11799  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11800 
11801 
11802  def __gt__(self, o):
11803  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11804  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11805 
11806 
11807  def __ge__(self, o):
11808  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11809  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11810 
11811 
11812  def __le__(self, o):
11813  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11814  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11815 
11816 
11817  def __str__(self):
11818  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11819  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11820 
11821 
11822  def __repr__(self):
11823  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11824  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11825 
11826  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11827  __del__ = lambda self: None
11828 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11829 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11830 
11831 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11832  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
11833  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11834 
11835  def __init__(self, *args):
11836  """
11837  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11838  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11839  """
11840  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11841  try:
11842  self.this.append(this)
11843  except:
11844  self.this = this
11845 
11846  def get_principal_components(self):
11847  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11848  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11849 
11850 
11851  def get_principal_component(self, i):
11852  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11853  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11854 
11855 
11856  def get_principal_values(self):
11857  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11858  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11859 
11860 
11861  def get_principal_value(self, i):
11862  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11863  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11864 
11865 
11866  def get_centroid(self):
11867  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11868  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11869 
11870 
11871  def set_centroid(self, cntr):
11872  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11873  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11874 
11875 
11876  def show(self, *args):
11877  """
11878  show(PrincipalComponentAnalysis2D self, _ostream out)
11879  show(PrincipalComponentAnalysis2D self)
11880  """
11881  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11882 
11883 
11884  def __cmp__(self, o):
11885  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11886  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11887 
11888 
11889  def __eq__(self, o):
11890  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11891  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11892 
11893 
11894  def __ne__(self, o):
11895  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11896  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11897 
11898 
11899  def __lt__(self, o):
11900  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11901  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11902 
11903 
11904  def __gt__(self, o):
11905  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11906  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11907 
11908 
11909  def __ge__(self, o):
11910  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11911  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11912 
11913 
11914  def __le__(self, o):
11915  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11916  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11917 
11918 
11919  def __str__(self):
11920  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11921  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11922 
11923 
11924  def __repr__(self):
11925  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11926  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11927 
11928  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11929  __del__ = lambda self: None
11930 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11931 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11932 
11933 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11934  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
11935  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11936 
11937  def __init__(self, *args):
11938  """
11939  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11940  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11941  """
11942  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11943  try:
11944  self.this.append(this)
11945  except:
11946  self.this = this
11947 
11948  def get_principal_components(self):
11949  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11950  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11951 
11952 
11953  def get_principal_component(self, i):
11954  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11955  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11956 
11957 
11958  def get_principal_values(self):
11959  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11960  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11961 
11962 
11963  def get_principal_value(self, i):
11964  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11965  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11966 
11967 
11968  def get_centroid(self):
11969  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11970  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11971 
11972 
11973  def set_centroid(self, cntr):
11974  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11975  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11976 
11977 
11978  def show(self, *args):
11979  """
11980  show(PrincipalComponentAnalysis3D self, _ostream out)
11981  show(PrincipalComponentAnalysis3D self)
11982  """
11983  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11984 
11985 
11986  def __cmp__(self, o):
11987  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11988  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11989 
11990 
11991  def __eq__(self, o):
11992  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11993  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11994 
11995 
11996  def __ne__(self, o):
11997  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11998  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11999 
12000 
12001  def __lt__(self, o):
12002  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12003  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
12004 
12005 
12006  def __gt__(self, o):
12007  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12008  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
12009 
12010 
12011  def __ge__(self, o):
12012  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12013  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
12014 
12015 
12016  def __le__(self, o):
12017  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12018  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
12019 
12020 
12021  def __str__(self):
12022  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
12023  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
12024 
12025 
12026  def __repr__(self):
12027  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
12028  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
12029 
12030  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
12031  __del__ = lambda self: None
12032 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
12033 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
12034 
12035 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
12036  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
12037  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12038 
12039  def __init__(self, *args):
12040  """
12041  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
12042  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
12043  """
12044  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
12045  try:
12046  self.this.append(this)
12047  except:
12048  self.this = this
12049 
12050  def get_principal_components(self):
12051  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
12052  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
12053 
12054 
12055  def get_principal_component(self, i):
12056  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
12057  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
12058 
12059 
12060  def get_principal_values(self):
12061  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
12062  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
12063 
12064 
12065  def get_principal_value(self, i):
12066  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
12067  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
12068 
12069 
12070  def get_centroid(self):
12071  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
12072  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
12073 
12074 
12075  def set_centroid(self, cntr):
12076  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
12077  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
12078 
12079 
12080  def show(self, *args):
12081  """
12082  show(PrincipalComponentAnalysis4D self, _ostream out)
12083  show(PrincipalComponentAnalysis4D self)
12084  """
12085  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
12086 
12087 
12088  def __cmp__(self, o):
12089  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
12090  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
12091 
12092 
12093  def __eq__(self, o):
12094  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12095  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
12096 
12097 
12098  def __ne__(self, o):
12099  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12100  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
12101 
12102 
12103  def __lt__(self, o):
12104  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12105  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
12106 
12107 
12108  def __gt__(self, o):
12109  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12110  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
12111 
12112 
12113  def __ge__(self, o):
12114  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12115  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
12116 
12117 
12118  def __le__(self, o):
12119  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12120  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
12121 
12122 
12123  def __str__(self):
12124  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
12125  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
12126 
12127 
12128  def __repr__(self):
12129  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
12130  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
12131 
12132  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
12133  __del__ = lambda self: None
12134 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
12135 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
12136 
12137 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
12138  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
12139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12140 
12141  def __init__(self, *args):
12142  """
12143  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
12144  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
12145  """
12146  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
12147  try:
12148  self.this.append(this)
12149  except:
12150  self.this = this
12151 
12152  def get_principal_components(self):
12153  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
12154  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
12155 
12156 
12157  def get_principal_component(self, i):
12158  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
12159  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
12160 
12161 
12162  def get_principal_values(self):
12163  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
12164  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
12165 
12166 
12167  def get_principal_value(self, i):
12168  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
12169  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
12170 
12171 
12172  def get_centroid(self):
12173  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
12174  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
12175 
12176 
12177  def set_centroid(self, cntr):
12178  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
12179  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
12180 
12181 
12182  def show(self, *args):
12183  """
12184  show(PrincipalComponentAnalysis5D self, _ostream out)
12185  show(PrincipalComponentAnalysis5D self)
12186  """
12187  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
12188 
12189 
12190  def __cmp__(self, o):
12191  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
12192  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
12193 
12194 
12195  def __eq__(self, o):
12196  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12197  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
12198 
12199 
12200  def __ne__(self, o):
12201  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12202  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
12203 
12204 
12205  def __lt__(self, o):
12206  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12207  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
12208 
12209 
12210  def __gt__(self, o):
12211  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12212  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
12213 
12214 
12215  def __ge__(self, o):
12216  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12217  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
12218 
12219 
12220  def __le__(self, o):
12221  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12222  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
12223 
12224 
12225  def __str__(self):
12226  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
12227  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
12228 
12229 
12230  def __repr__(self):
12231  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
12232  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
12233 
12234  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
12235  __del__ = lambda self: None
12236 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
12237 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
12238 
12239 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
12240  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
12241  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12242 
12243  def __init__(self, *args):
12244  """
12245  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
12246  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
12247  """
12248  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
12249  try:
12250  self.this.append(this)
12251  except:
12252  self.this = this
12253 
12254  def get_principal_components(self):
12255  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
12256  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
12257 
12258 
12259  def get_principal_component(self, i):
12260  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
12261  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
12262 
12263 
12264  def get_principal_values(self):
12265  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
12266  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
12267 
12268 
12269  def get_principal_value(self, i):
12270  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
12271  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
12272 
12273 
12274  def get_centroid(self):
12275  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
12276  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
12277 
12278 
12279  def set_centroid(self, cntr):
12280  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
12281  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
12282 
12283 
12284  def show(self, *args):
12285  """
12286  show(PrincipalComponentAnalysis6D self, _ostream out)
12287  show(PrincipalComponentAnalysis6D self)
12288  """
12289  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
12290 
12291 
12292  def __cmp__(self, o):
12293  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
12294  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
12295 
12296 
12297  def __eq__(self, o):
12298  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12299  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
12300 
12301 
12302  def __ne__(self, o):
12303  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12304  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
12305 
12306 
12307  def __lt__(self, o):
12308  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12309  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
12310 
12311 
12312  def __gt__(self, o):
12313  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12314  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
12315 
12316 
12317  def __ge__(self, o):
12318  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12319  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
12320 
12321 
12322  def __le__(self, o):
12323  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12324  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
12325 
12326 
12327  def __str__(self):
12328  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
12329  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
12330 
12331 
12332  def __repr__(self):
12333  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
12334  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
12335 
12336  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
12337  __del__ = lambda self: None
12338 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
12339 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
12340 
12341 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
12342  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
12343  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12344 
12345  def __init__(self, *args):
12346  """
12347  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
12348  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
12349  """
12350  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
12351  try:
12352  self.this.append(this)
12353  except:
12354  self.this = this
12355 
12356  def get_principal_components(self):
12357  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
12358  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
12359 
12360 
12361  def get_principal_component(self, i):
12362  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
12363  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
12364 
12365 
12366  def get_principal_values(self):
12367  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
12368  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
12369 
12370 
12371  def get_principal_value(self, i):
12372  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
12373  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
12374 
12375 
12376  def get_centroid(self):
12377  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
12378  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
12379 
12380 
12381  def set_centroid(self, cntr):
12382  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
12383  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
12384 
12385 
12386  def show(self, *args):
12387  """
12388  show(PrincipalComponentAnalysisKD self, _ostream out)
12389  show(PrincipalComponentAnalysisKD self)
12390  """
12391  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
12392 
12393 
12394  def __cmp__(self, o):
12395  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
12396  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
12397 
12398 
12399  def __eq__(self, o):
12400  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12401  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
12402 
12403 
12404  def __ne__(self, o):
12405  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12406  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
12407 
12408 
12409  def __lt__(self, o):
12410  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12411  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
12412 
12413 
12414  def __gt__(self, o):
12415  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12416  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
12417 
12418 
12419  def __ge__(self, o):
12420  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12421  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
12422 
12423 
12424  def __le__(self, o):
12425  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12426  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
12427 
12428 
12429  def __str__(self):
12430  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
12431  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
12432 
12433 
12434  def __repr__(self):
12435  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
12436  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
12437 
12438  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
12439  __del__ = lambda self: None
12440 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
12441 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
12442 
12443 
12444 def get_principal_components(*args):
12445  """
12446  get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
12447  get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
12448  get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
12449  get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
12450  get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
12451  get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
12452  get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
12453  """
12454  return _IMP_algebra.get_principal_components(*args)
12455 
12456 def get_distance(*args):
12457  """
12458  get_distance(Rotation3D r0, Rotation3D r1) -> double
12459  get_distance(Line3D s, Vector3D p) -> double
12460  get_distance(Line3D a, Line3D b) -> double
12461  get_distance(Segment3D s, Vector3D p) -> double
12462  get_distance(Segment3D a, Segment3D b) -> double
12463  get_distance(Plane3D pln, Vector3D p) -> double
12464  get_distance(Vector1D a, Vector1D b) -> double
12465  get_distance(Vector2D a, Vector2D b) -> double
12466  get_distance(Vector3D a, Vector3D b) -> double
12467  get_distance(Vector4D a, Vector4D b) -> double
12468  get_distance(Vector5D a, Vector5D b) -> double
12469  get_distance(Vector6D a, Vector6D b) -> double
12470  get_distance(VectorKD a, VectorKD b) -> double
12471  get_distance(Sphere1D a, Sphere1D b) -> double
12472  get_distance(Sphere2D a, Sphere2D b) -> double
12473  get_distance(Sphere3D a, Sphere3D b) -> double
12474  get_distance(Sphere4D a, Sphere4D b) -> double
12475  get_distance(Sphere5D a, Sphere5D b) -> double
12476  get_distance(Sphere6D a, Sphere6D b) -> double
12477  get_distance(SphereKD a, SphereKD b) -> double
12478  """
12479  return _IMP_algebra.get_distance(*args)
12480 
12481 def get_squared_distance(*args):
12482  """
12483  get_squared_distance(Vector1D a, Vector1D b) -> double
12484  get_squared_distance(Vector2D a, Vector2D b) -> double
12485  get_squared_distance(Vector3D a, Vector3D b) -> double
12486  get_squared_distance(Vector4D a, Vector4D b) -> double
12487  get_squared_distance(Vector5D a, Vector5D b) -> double
12488  get_squared_distance(Vector6D a, Vector6D b) -> double
12489  get_squared_distance(VectorKD a, VectorKD b) -> double
12490  """
12491  return _IMP_algebra.get_squared_distance(*args)
12492 
12493 def get_basis_vector_1d(coordinate):
12494  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
12495  return _IMP_algebra.get_basis_vector_1d(coordinate)
12496 
12497 def get_basis_vector_2d(coordinate):
12498  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
12499  return _IMP_algebra.get_basis_vector_2d(coordinate)
12500 
12501 def get_basis_vector_3d(coordinate):
12502  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
12503  return _IMP_algebra.get_basis_vector_3d(coordinate)
12504 
12505 def get_basis_vector_4d(coordinate):
12506  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
12507  return _IMP_algebra.get_basis_vector_4d(coordinate)
12508 
12509 def get_basis_vector_5d(coordinate):
12510  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
12511  return _IMP_algebra.get_basis_vector_5d(coordinate)
12512 
12513 def get_basis_vector_6d(coordinate):
12514  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
12515  return _IMP_algebra.get_basis_vector_6d(coordinate)
12516 
12517 def get_zero_vector_1d():
12518  """get_zero_vector_1d() -> Vector1D"""
12519  return _IMP_algebra.get_zero_vector_1d()
12520 
12521 def get_zero_vector_2d():
12522  """get_zero_vector_2d() -> Vector2D"""
12523  return _IMP_algebra.get_zero_vector_2d()
12524 
12525 def get_zero_vector_3d():
12526  """get_zero_vector_3d() -> Vector3D"""
12527  return _IMP_algebra.get_zero_vector_3d()
12528 
12529 def get_zero_vector_4d():
12530  """get_zero_vector_4d() -> Vector4D"""
12531  return _IMP_algebra.get_zero_vector_4d()
12532 
12533 def get_zero_vector_5d():
12534  """get_zero_vector_5d() -> Vector5D"""
12535  return _IMP_algebra.get_zero_vector_5d()
12536 
12537 def get_zero_vector_6d():
12538  """get_zero_vector_6d() -> Vector6D"""
12539  return _IMP_algebra.get_zero_vector_6d()
12540 
12541 def get_ones_vector_1d(v=1):
12542  """
12543  get_ones_vector_1d(double v=1) -> Vector1D
12544  get_ones_vector_1d() -> Vector1D
12545  """
12546  return _IMP_algebra.get_ones_vector_1d(v)
12547 
12548 def get_ones_vector_2d(v=1):
12549  """
12550  get_ones_vector_2d(double v=1) -> Vector2D
12551  get_ones_vector_2d() -> Vector2D
12552  """
12553  return _IMP_algebra.get_ones_vector_2d(v)
12554 
12555 def get_ones_vector_3d(v=1):
12556  """
12557  get_ones_vector_3d(double v=1) -> Vector3D
12558  get_ones_vector_3d() -> Vector3D
12559  """
12560  return _IMP_algebra.get_ones_vector_3d(v)
12561 
12562 def get_ones_vector_4d(v=1):
12563  """
12564  get_ones_vector_4d(double v=1) -> Vector4D
12565  get_ones_vector_4d() -> Vector4D
12566  """
12567  return _IMP_algebra.get_ones_vector_4d(v)
12568 
12569 def get_ones_vector_5d(v=1):
12570  """
12571  get_ones_vector_5d(double v=1) -> Vector5D
12572  get_ones_vector_5d() -> Vector5D
12573  """
12574  return _IMP_algebra.get_ones_vector_5d(v)
12575 
12576 def get_ones_vector_6d(v=1):
12577  """
12578  get_ones_vector_6d(double v=1) -> Vector6D
12579  get_ones_vector_6d() -> Vector6D
12580  """
12581  return _IMP_algebra.get_ones_vector_6d(v)
12582 
12583 def get_unit_bounding_box_1d():
12584  """get_unit_bounding_box_1d() -> BoundingBox1D"""
12585  return _IMP_algebra.get_unit_bounding_box_1d()
12586 
12587 def get_unit_bounding_box_2d():
12588  """get_unit_bounding_box_2d() -> BoundingBox2D"""
12589  return _IMP_algebra.get_unit_bounding_box_2d()
12590 
12591 def get_unit_bounding_box_3d():
12592  """get_unit_bounding_box_3d() -> BoundingBox3D"""
12593  return _IMP_algebra.get_unit_bounding_box_3d()
12594 
12595 def get_unit_bounding_box_4d():
12596  """get_unit_bounding_box_4d() -> BoundingBox4D"""
12597  return _IMP_algebra.get_unit_bounding_box_4d()
12598 
12599 def get_unit_bounding_box_5d():
12600  """get_unit_bounding_box_5d() -> BoundingBox5D"""
12601  return _IMP_algebra.get_unit_bounding_box_5d()
12602 
12603 def get_unit_bounding_box_6d():
12604  """get_unit_bounding_box_6d() -> BoundingBox6D"""
12605  return _IMP_algebra.get_unit_bounding_box_6d()
12606 
12607 def get_cube_1d(radius):
12608  """get_cube_1d(double radius) -> BoundingBox1D"""
12609  return _IMP_algebra.get_cube_1d(radius)
12610 
12611 def get_cube_2d(radius):
12612  """get_cube_2d(double radius) -> BoundingBox2D"""
12613  return _IMP_algebra.get_cube_2d(radius)
12614 
12615 def get_cube_3d(radius):
12616  """get_cube_3d(double radius) -> BoundingBox3D"""
12617  return _IMP_algebra.get_cube_3d(radius)
12618 
12619 def get_cube_4d(radius):
12620  """get_cube_4d(double radius) -> BoundingBox4D"""
12621  return _IMP_algebra.get_cube_4d(radius)
12622 
12623 def get_cube_5d(radius):
12624  """get_cube_5d(double radius) -> BoundingBox5D"""
12625  return _IMP_algebra.get_cube_5d(radius)
12626 
12627 def get_cube_6d(radius):
12628  """get_cube_6d(double radius) -> BoundingBox6D"""
12629  return _IMP_algebra.get_cube_6d(radius)
12630 
12631 def get_unit_sphere_1d():
12632  """get_unit_sphere_1d() -> Sphere1D"""
12633  return _IMP_algebra.get_unit_sphere_1d()
12634 
12635 def get_unit_sphere_2d():
12636  """get_unit_sphere_2d() -> Sphere2D"""
12637  return _IMP_algebra.get_unit_sphere_2d()
12638 
12639 def get_unit_sphere_3d():
12640  """get_unit_sphere_3d() -> Sphere3D"""
12641  return _IMP_algebra.get_unit_sphere_3d()
12642 
12643 def get_unit_sphere_4d():
12644  """get_unit_sphere_4d() -> Sphere4D"""
12645  return _IMP_algebra.get_unit_sphere_4d()
12646 
12647 def get_unit_sphere_5d():
12648  """get_unit_sphere_5d() -> Sphere5D"""
12649  return _IMP_algebra.get_unit_sphere_5d()
12650 
12651 def get_unit_sphere_6d():
12652  """get_unit_sphere_6d() -> Sphere6D"""
12653  return _IMP_algebra.get_unit_sphere_6d()
12654 
12655 def get_interiors_intersect(*args):
12656  """
12657  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12658  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12659  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12660  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12661  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12662  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12663  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12664  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12665  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12666  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12667  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12668  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12669  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12670  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12671  """
12672  return _IMP_algebra.get_interiors_intersect(*args)
12673 
12674 def get_random_vector_on(*args):
12675  """
12676  get_random_vector_on(Sphere1D a) -> Vector1D
12677  get_random_vector_on(Sphere2D a) -> Vector2D
12678  get_random_vector_on(Sphere3D a) -> Vector3D
12679  get_random_vector_on(Sphere4D a) -> Vector4D
12680  get_random_vector_on(Sphere5D a) -> Vector5D
12681  get_random_vector_on(Sphere6D a) -> Vector6D
12682  get_random_vector_on(SphereKD a) -> VectorKD
12683  get_random_vector_on(UnitSimplex1D a) -> Vector1D
12684  get_random_vector_on(UnitSimplex2D a) -> Vector2D
12685  get_random_vector_on(UnitSimplex3D a) -> Vector3D
12686  get_random_vector_on(UnitSimplex4D a) -> Vector4D
12687  get_random_vector_on(UnitSimplex5D a) -> Vector5D
12688  get_random_vector_on(UnitSimplex6D a) -> Vector6D
12689  get_random_vector_on(UnitSimplexKD a) -> VectorKD
12690  get_random_vector_on(BoundingBox1D a) -> Vector1D
12691  get_random_vector_on(BoundingBox2D a) -> Vector2D
12692  get_random_vector_on(BoundingBox3D a) -> Vector3D
12693  get_random_vector_on(BoundingBox4D a) -> Vector4D
12694  get_random_vector_on(BoundingBox5D a) -> Vector5D
12695  get_random_vector_on(BoundingBox6D a) -> Vector6D
12696  get_random_vector_on(BoundingBoxKD a) -> VectorKD
12697  """
12698  return _IMP_algebra.get_random_vector_on(*args)
12699 
12700 def get_random_vector_in(*args):
12701  """
12702  get_random_vector_in(Cylinder3D c) -> Vector3D
12703  get_random_vector_in(Sphere1D a) -> Vector1D
12704  get_random_vector_in(Sphere2D a) -> Vector2D
12705  get_random_vector_in(Sphere3D a) -> Vector3D
12706  get_random_vector_in(Sphere4D a) -> Vector4D
12707  get_random_vector_in(Sphere5D a) -> Vector5D
12708  get_random_vector_in(Sphere6D a) -> Vector6D
12709  get_random_vector_in(SphereKD a) -> VectorKD
12710  get_random_vector_in(BoundingBox1D a) -> Vector1D
12711  get_random_vector_in(BoundingBox2D a) -> Vector2D
12712  get_random_vector_in(BoundingBox3D a) -> Vector3D
12713  get_random_vector_in(BoundingBox4D a) -> Vector4D
12714  get_random_vector_in(BoundingBox5D a) -> Vector5D
12715  get_random_vector_in(BoundingBox6D a) -> Vector6D
12716  get_random_vector_in(BoundingBoxKD a) -> VectorKD
12717  """
12718  return _IMP_algebra.get_random_vector_in(*args)
12719 
12720 def get_intersection(*args):
12721  """
12722  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12723  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12724  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12725  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12726  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12727  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12728  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12729  """
12730  return _IMP_algebra.get_intersection(*args)
12731 
12732 def get_union(*args):
12733  """
12734  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12735  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12736  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12737  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12738  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12739  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12740  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12741  """
12742  return _IMP_algebra.get_union(*args)
12743 
12744 def get_bounding_box(*args):
12745  """
12746  get_bounding_box(Line3D g) -> BoundingBox3D
12747  get_bounding_box(Segment3D g) -> BoundingBox3D
12748  get_bounding_box(Plane3D g) -> BoundingBox3D
12749  get_bounding_box(Cylinder3D g) -> BoundingBox3D
12750  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12751  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12752  get_bounding_box(Cone3D g) -> BoundingBox3D
12753  get_bounding_box(Sphere1D a) -> BoundingBox1D
12754  get_bounding_box(Sphere2D a) -> BoundingBox2D
12755  get_bounding_box(Sphere3D a) -> BoundingBox3D
12756  get_bounding_box(Sphere4D a) -> BoundingBox4D
12757  get_bounding_box(Sphere5D a) -> BoundingBox5D
12758  get_bounding_box(Sphere6D a) -> BoundingBox6D
12759  get_bounding_box(SphereKD a) -> BoundingBoxKD
12760  """
12761  return _IMP_algebra.get_bounding_box(*args)
12762 
12763 def get_uniform_surface_cover(*args):
12764  """
12765  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12766  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12767  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12768  get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12769  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12770  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12771  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12772  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12773  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12774  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12775  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12776  """
12777  return _IMP_algebra.get_uniform_surface_cover(*args)
12778 
12780  """
12781  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12782  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12783  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12784  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12785  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12786  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12787  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12788  """
12789  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12790 
12791 def get_projected(*args):
12792  """
12793  get_projected(Line3D l, Vector3D p) -> Vector3D
12794  get_projected(Line3D l, Segment3D s) -> Segment3D
12795  get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
12796  get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
12797  get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
12798  get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
12799  get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
12800  get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
12801  get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
12802  """
12803  return _IMP_algebra.get_projected(*args)
12804 
12805 def get_vertices(*args):
12806  """
12807  get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12808  get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12809  get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12810  get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12811  get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12812  get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12813  get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12814  get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12815  get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12816  get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12817  get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12818  get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12819  get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12820  get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12821  """
12822  return _IMP_algebra.get_vertices(*args)
12823 
12824 def get_increasing_from_embedded(*args):
12825  """
12826  get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
12827  get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
12828  get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
12829  get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
12830  get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
12831  get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
12832  get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
12833  """
12834  return _IMP_algebra.get_increasing_from_embedded(*args)
12835 
12836 def get_embedded_from_increasing(*args):
12837  """
12838  get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
12839  get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
12840  get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
12841  get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
12842  get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
12843  get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
12844  get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
12845  """
12846  return _IMP_algebra.get_embedded_from_increasing(*args)
12847 class _AxisAnglePair(object):
12848  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
12849  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12850  __repr__ = _swig_repr
12851 
12852  def __init__(self, *args):
12853  """
12854  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12855  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12856  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12857  """
12858  this = _IMP_algebra.new__AxisAnglePair(*args)
12859  try:
12860  self.this.append(this)
12861  except:
12862  self.this = this
12863  first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12864  second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12865  def __len__(self):
12866  return 2
12867  def __repr__(self):
12868  return str((self.first, self.second))
12869  def __getitem__(self, index):
12870  if not (index % 2):
12871  return self.first
12872  else:
12873  return self.second
12874  def __setitem__(self, index, val):
12875  if not (index % 2):
12876  self.first = val
12877  else:
12878  self.second = val
12879  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12880  __del__ = lambda self: None
12881 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12882 _AxisAnglePair_swigregister(_AxisAnglePair)
12883 
12884 
12886  """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12887  return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12888 class _RotatedVector3DAdjoint(object):
12889  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class"""
12890  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12891  __repr__ = _swig_repr
12892 
12893  def __init__(self, *args):
12894  """
12895  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
12896  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
12897  __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
12898  """
12899  this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
12900  try:
12901  self.this.append(this)
12902  except:
12903  self.this = this
12904  first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
12905  second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
12906  def __len__(self):
12907  return 2
12908  def __repr__(self):
12909  return str((self.first, self.second))
12910  def __getitem__(self, index):
12911  if not (index % 2):
12912  return self.first
12913  else:
12914  return self.second
12915  def __setitem__(self, index, val):
12916  if not (index % 2):
12917  self.first = val
12918  else:
12919  self.second = val
12920  __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
12921  __del__ = lambda self: None
12922 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
12923 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
12924 
12925 class _ComposeRotation3DAdjoint(object):
12926  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class"""
12927  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12928  __repr__ = _swig_repr
12929 
12930  def __init__(self, *args):
12931  """
12932  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
12933  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
12934  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
12935  """
12936  this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
12937  try:
12938  self.this.append(this)
12939  except:
12940  self.this = this
12941  first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
12942  second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
12943  def __len__(self):
12944  return 2
12945  def __repr__(self):
12946  return str((self.first, self.second))
12947  def __getitem__(self, index):
12948  if not (index % 2):
12949  return self.first
12950  else:
12951  return self.second
12952  def __setitem__(self, index, val):
12953  if not (index % 2):
12954  self.first = val
12955  else:
12956  self.second = val
12957  __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
12958  __del__ = lambda self: None
12959 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
12960 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
12961 
12962 class _Transformation3DAdjoint(object):
12963  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class"""
12964  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12965  __repr__ = _swig_repr
12966 
12967  def __init__(self, *args):
12968  """
12969  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
12970  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
12971  __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
12972  """
12973  this = _IMP_algebra.new__Transformation3DAdjoint(*args)
12974  try:
12975  self.this.append(this)
12976  except:
12977  self.this = this
12978  first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
12979  second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
12980  def __len__(self):
12981  return 2
12982  def __repr__(self):
12983  return str((self.first, self.second))
12984  def __getitem__(self, index):
12985  if not (index % 2):
12986  return self.first
12987  else:
12988  return self.second
12989  def __setitem__(self, index, val):
12990  if not (index % 2):
12991  self.first = val
12992  else:
12993  self.second = val
12994  __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
12995  __del__ = lambda self: None
12996 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
12997 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
12998 
12999 class _TransformedVector3DAdjoint(object):
13000  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13001  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13002  __repr__ = _swig_repr
13003 
13004  def __init__(self, *args):
13005  """
13006  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
13007  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
13008  __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
13009  """
13010  this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
13011  try:
13012  self.this.append(this)
13013  except:
13014  self.this = this
13015  first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
13016  second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
13017  def __len__(self):
13018  return 2
13019  def __repr__(self):
13020  return str((self.first, self.second))
13021  def __getitem__(self, index):
13022  if not (index % 2):
13023  return self.first
13024  else:
13025  return self.second
13026  def __setitem__(self, index, val):
13027  if not (index % 2):
13028  self.first = val
13029  else:
13030  self.second = val
13031  __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
13032  __del__ = lambda self: None
13033 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
13034 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
13035 
13036 class _ComposeTransformation3DAdjoint(object):
13037  """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"""
13038  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13039  __repr__ = _swig_repr
13040 
13041  def __init__(self, *args):
13042  """
13043  __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
13044  __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
13045  __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
13046  """
13047  this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
13048  try:
13049  self.this.append(this)
13050  except:
13051  self.this = this
13052  first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
13053  second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
13054  def __len__(self):
13055  return 2
13056  def __repr__(self):
13057  return str((self.first, self.second))
13058  def __getitem__(self, index):
13059  if not (index % 2):
13060  return self.first
13061  else:
13062  return self.second
13063  def __setitem__(self, index, val):
13064  if not (index % 2):
13065  self.first = val
13066  else:
13067  self.second = val
13068  __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
13069  __del__ = lambda self: None
13070 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
13071 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
13072 
13073 
13074 def get_rmsd_transforming_first(tr, v0, v1):
13075  """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13076  return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
13077 
13078 def get_rmsd(v0, v1):
13079  """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13080  return _IMP_algebra.get_rmsd(v0, v1)
13081 
13082 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
13083  """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13084  return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
13085 
13086 def get_weighted_rmsd(v0, v1, weights):
13087  """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13088  return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
13089 
13090 LinearFit=LinearFit2D
13091 ParabolicFit=ParabolicFit2D
13092 
13093 
13094 def get_module_version():
13095  """get_module_version() -> std::string const"""
13096  return _IMP_algebra.get_module_version()
13097 
13098 def get_example_path(fname):
13099  """get_example_path(std::string fname) -> std::string"""
13100  return _IMP_algebra.get_example_path(fname)
13101 
13102 def get_data_path(fname):
13103  """get_data_path(std::string fname) -> std::string"""
13104  return _IMP_algebra.get_data_path(fname)
13105 
13106 from . import _version_check
13107 _version_check.check_version(get_module_version())
13108 __version__ = get_module_version()
13109 
13110 
13111 
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:122
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:239
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