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