IMP  2.0.0
The Integrative Modeling Platform
algebra/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.8
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 from sys import version_info
10 if version_info >= (2,6,0):
11  def swig_import_helper():
12  from os.path import dirname
13  import imp
14  fp = None
15  try:
16  fp, pathname, description = imp.find_module('_IMP_algebra', [dirname(__file__)])
17  except ImportError:
18  import _IMP_algebra
19  return _IMP_algebra
20  if fp is not None:
21  try:
22  _mod = imp.load_module('_IMP_algebra', fp, pathname, description)
23  finally:
24  fp.close()
25  return _mod
26  _IMP_algebra = swig_import_helper()
27  del swig_import_helper
28 else:
29  import _IMP_algebra
30 del version_info
31 try:
32  _swig_property = property
33 except NameError:
34  pass # Python < 2.2 doesn't have 'property'.
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36  if (name == "thisown"): return self.this.own(value)
37  if (name == "this"):
38  if type(value).__name__ == 'SwigPyObject':
39  self.__dict__[name] = value
40  return
41  method = class_type.__swig_setmethods__.get(name,None)
42  if method: return method(self,value)
43  if (not static):
44  self.__dict__[name] = value
45  else:
46  raise AttributeError("You cannot add attributes to %s" % self)
47 
48 def _swig_setattr(self,class_type,name,value):
49  return _swig_setattr_nondynamic(self,class_type,name,value,0)
50 
51 def _swig_getattr(self,class_type,name):
52  if (name == "thisown"): return self.this.own()
53  method = class_type.__swig_getmethods__.get(name,None)
54  if method: return method(self)
55  raise AttributeError(name)
56 
57 def _swig_repr(self):
58  try: strthis = "proxy of " + self.this.__repr__()
59  except: strthis = ""
60  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
61 
62 try:
63  _object = object
64  _newclass = 1
65 except AttributeError:
66  class _object : pass
67  _newclass = 0
68 
69 
70 try:
71  import weakref
72  weakref_proxy = weakref.proxy
73 except:
74  weakref_proxy = lambda x: x
75 
76 
77 class IMP_ALGEBRA_SwigPyIterator(_object):
78  """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
79  __swig_setmethods__ = {}
80  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_ALGEBRA_SwigPyIterator, name, value)
81  __swig_getmethods__ = {}
82  __getattr__ = lambda self, name: _swig_getattr(self, IMP_ALGEBRA_SwigPyIterator, name)
83  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
84  __repr__ = _swig_repr
85  __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
86  __del__ = lambda self : None;
87  def value(self):
88  """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
89  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
90 
91  def incr(self, n=1):
92  """
93  incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
94  incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
95  """
96  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
97 
98  def decr(self, n=1):
99  """
100  decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
101  decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
102  """
103  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
104 
105  def distance(self, *args):
106  """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
107  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, *args)
108 
109  def equal(self, *args):
110  """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
111  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, *args)
112 
113  def copy(self):
114  """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
115  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
116 
117  def next(self):
118  """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
119  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
120 
121  def __next__(self):
122  """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
123  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
124 
125  def previous(self):
126  """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
127  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
128 
129  def advance(self, *args):
130  """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
131  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, *args)
132 
133  def __eq__(self, *args):
134  """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
135  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, *args)
136 
137  def __ne__(self, *args):
138  """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
139  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, *args)
140 
141  def __iadd__(self, *args):
142  """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
143  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, *args)
144 
145  def __isub__(self, *args):
146  """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
147  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, *args)
148 
149  def __add__(self, *args):
150  """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
151  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, *args)
152 
153  def __sub__(self, *args):
154  """
155  __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
156  __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
157  """
158  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
159 
160  def __iter__(self): return self
161 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
162 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
163 
164 _value_types=[]
165 _object_types=[]
166 _raii_types=[]
167 _plural_types=[]
168 
169 IMP_HAS_DEPRECATED = _IMP_algebra.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
171 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
172 IMP_SILENT = _IMP_algebra.IMP_SILENT
173 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
174 IMP_TERSE = _IMP_algebra.IMP_TERSE
175 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
176 IMP_NONE = _IMP_algebra.IMP_NONE
177 IMP_USAGE = _IMP_algebra.IMP_USAGE
178 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_algebra.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_algebra.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_algebra.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_algebra.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
187 import sys
188 class _DirectorObjects(object):
189  """@internal Simple class to keep references to director objects
190  to prevent premature deletion."""
191  def __init__(self):
192  self._objects = []
193  def register(self, obj):
194  """Take a reference to a director object; will only work for
195  refcounted C++ classes"""
196  if hasattr(obj, 'get_ref_count'):
197  self._objects.append(obj)
198  def cleanup(self):
199  """Only drop our reference and allow cleanup by Python if no other
200  Python references exist (we hold 3 references: one in self._objects,
201  one in x, and one in the argument list for getrefcount) *and* no
202  other C++ references exist (the Python object always holds one)"""
203  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
204  or x.get_ref_count() > 1]
205 
206 
207  self._objects = objs
208  def get_object_count(self):
209  """Get number of director objects (useful for testing only)"""
210  return len(self._objects)
211 _director_objects = _DirectorObjects()
212 
213 DEFAULT_CHECK = _IMP_algebra.DEFAULT_CHECK
214 NONE = _IMP_algebra.NONE
215 USAGE = _IMP_algebra.USAGE
216 USAGE_AND_INTERNAL = _IMP_algebra.USAGE_AND_INTERNAL
217 
218 def set_check_level(*args):
219  """set_check_level(IMP::base::CheckLevel tf)"""
220  return _IMP_algebra.set_check_level(*args)
221 
222 def get_check_level():
223  """get_check_level() -> IMP::base::CheckLevel"""
224  return _IMP_algebra.get_check_level()
225 class _ostream(_object):
226  """Proxy of C++ std::ostream class"""
227  __swig_setmethods__ = {}
228  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229  __swig_getmethods__ = {}
230  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
231  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
232  __repr__ = _swig_repr
233  def write(self, *args):
234  """write(_ostream self, char const * osa_buf)"""
235  return _IMP_algebra._ostream_write(self, *args)
236 
237 _ostream_swigregister = _IMP_algebra._ostream_swigregister
238 _ostream_swigregister(_ostream)
239 
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
242 import IMP.base
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
247 import IMP.cgal
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
255 def get_vector(v):
256  try:
257  return v.get_coordinates()
258  except:
259  return v
260 def get_sphere(v):
261  try:
262  return v.get_sphere()
263  except:
264  return v
265 
266 _object_types.append("VectorKDMetric")
267 
268 
269 def _object_cast_to_VectorKDMetric(*args):
270  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
271  return _IMP_algebra._object_cast_to_VectorKDMetric(*args)
272 _object_types.append("EuclideanVectorKDMetric")
273 
274 
275 def _object_cast_to_EuclideanVectorKDMetric(*args):
276  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
277  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(*args)
278 _object_types.append("MaxVectorKDMetric")
279 
280 
281 def _object_cast_to_MaxVectorKDMetric(*args):
282  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
283  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(*args)
284 _object_types.append("DynamicNearestNeighbor3D")
285 
286 
287 def _object_cast_to_DynamicNearestNeighbor3D(*args):
288  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
289  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(*args)
290 Rotation2Ds=list
291 _plural_types.append("Rotation2Ds")
292 _value_types.append("Rotation2D")
293 
294 Rotation3Ds=list
295 _plural_types.append("Rotation3Ds")
296 _value_types.append("Rotation3D")
297 
298 Reflection3Ds=list
299 _plural_types.append("Reflection3Ds")
300 _value_types.append("Reflection3D")
301 
302 Transformation2Ds=list
303 _plural_types.append("Transformation2Ds")
304 _value_types.append("Transformation2D")
305 
306 Transformation3Ds=list
307 _plural_types.append("Transformation3Ds")
308 _value_types.append("Transformation3D")
309 
310 SphericalVector3Ds=list
311 _plural_types.append("SphericalVector3Ds")
312 _value_types.append("SphericalVector3D")
313 
314 Triangle3Ds=list
315 _plural_types.append("Triangle3Ds")
316 _value_types.append("Triangle3D")
317 
318 Cone3Ds=list
319 _plural_types.append("Cone3Ds")
320 _value_types.append("Cone3D")
321 
322 Cylinder3Ds=list
323 _plural_types.append("Cylinder3Ds")
324 _value_types.append("Cylinder3D")
325 
326 Ellipsoid3Ds=list
327 _plural_types.append("Ellipsoid3Ds")
328 _value_types.append("Ellipsoid3D")
329 
330 Plane3Ds=list
331 _plural_types.append("Plane3Ds")
332 _value_types.append("Plane3D")
333 
334 Segment3Ds=list
335 _plural_types.append("Segment3Ds")
336 _value_types.append("Segment3D")
337 
338 SpherePatch3Ds=list
339 _plural_types.append("SpherePatch3Ds")
340 _value_types.append("SpherePatch3D")
341 
342 Vector1Ds=list
343 _plural_types.append("Vector1Ds")
344 _value_types.append("Vector1D")
345 
346 Vector2Ds=list
347 _plural_types.append("Vector2Ds")
348 _value_types.append("Vector2D")
349 
350 Vector3Ds=list
351 _plural_types.append("Vector3Ds")
352 _value_types.append("Vector3D")
353 
354 Vector4Ds=list
355 _plural_types.append("Vector4Ds")
356 _value_types.append("Vector4D")
357 
358 Vector5Ds=list
359 _plural_types.append("Vector5Ds")
360 _value_types.append("Vector5D")
361 
362 Vector6Ds=list
363 _plural_types.append("Vector6Ds")
364 _value_types.append("Vector6D")
365 
366 Vector1Ds=list
367 _plural_types.append("Vector1Ds")
368 _value_types.append("VectorD<1>")
369 
370 Vector2Ds=list
371 _plural_types.append("Vector2Ds")
372 _value_types.append("VectorD<2>")
373 
374 Vector3Ds=list
375 _plural_types.append("Vector3Ds")
376 _value_types.append("VectorD<3>")
377 
378 Vector4Ds=list
379 _plural_types.append("Vector4Ds")
380 _value_types.append("VectorD<4>")
381 
382 Vector5Ds=list
383 _plural_types.append("Vector5Ds")
384 _value_types.append("VectorD<5>")
385 
386 Vector6Ds=list
387 _plural_types.append("Vector6Ds")
388 _value_types.append("VectorD<6>")
389 
390 VectorKDs=list
391 _plural_types.append("VectorKDs")
392 _value_types.append("VectorKD")
393 
394 VectorKDs=list
395 _plural_types.append("VectorKDs")
396 _value_types.append("VectorD<-1>")
397 
398 Sphere1Ds=list
399 _plural_types.append("Sphere1Ds")
400 _value_types.append("Sphere1D")
401 
402 Sphere2Ds=list
403 _plural_types.append("Sphere2Ds")
404 _value_types.append("Sphere2D")
405 
406 Sphere3Ds=list
407 _plural_types.append("Sphere3Ds")
408 _value_types.append("Sphere3D")
409 
410 Sphere4Ds=list
411 _plural_types.append("Sphere4Ds")
412 _value_types.append("Sphere4D")
413 
414 Sphere5Ds=list
415 _plural_types.append("Sphere5Ds")
416 _value_types.append("Sphere5D")
417 
418 Sphere6Ds=list
419 _plural_types.append("Sphere6Ds")
420 _value_types.append("Sphere6D")
421 
422 Sphere1Ds=list
423 _plural_types.append("Sphere1Ds")
424 _value_types.append("SphereD<1>")
425 
426 Sphere2Ds=list
427 _plural_types.append("Sphere2Ds")
428 _value_types.append("SphereD<2>")
429 
430 Sphere3Ds=list
431 _plural_types.append("Sphere3Ds")
432 _value_types.append("SphereD<3>")
433 
434 Sphere4Ds=list
435 _plural_types.append("Sphere4Ds")
436 _value_types.append("SphereD<4>")
437 
438 Sphere5Ds=list
439 _plural_types.append("Sphere5Ds")
440 _value_types.append("SphereD<5>")
441 
442 Sphere6Ds=list
443 _plural_types.append("Sphere6Ds")
444 _value_types.append("SphereD<6>")
445 
446 SphereKDs=list
447 _plural_types.append("SphereKDs")
448 _value_types.append("SphereKD")
449 
450 SphereKDs=list
451 _plural_types.append("SphereKDs")
452 _value_types.append("SphereD<-1>")
453 
454 BoundingBox1Ds=list
455 _plural_types.append("BoundingBox1Ds")
456 _value_types.append("BoundingBox1D")
457 
458 BoundingBox2Ds=list
459 _plural_types.append("BoundingBox2Ds")
460 _value_types.append("BoundingBox2D")
461 
462 BoundingBox3Ds=list
463 _plural_types.append("BoundingBox3Ds")
464 _value_types.append("BoundingBox3D")
465 
466 BoundingBox4Ds=list
467 _plural_types.append("BoundingBox4Ds")
468 _value_types.append("BoundingBox4D")
469 
470 BoundingBox5Ds=list
471 _plural_types.append("BoundingBox5Ds")
472 _value_types.append("BoundingBox5D")
473 
474 BoundingBox6Ds=list
475 _plural_types.append("BoundingBox6Ds")
476 _value_types.append("BoundingBox6D")
477 
478 BoundingBox1Ds=list
479 _plural_types.append("BoundingBox1Ds")
480 _value_types.append("BoundingBoxD<1>")
481 
482 BoundingBox2Ds=list
483 _plural_types.append("BoundingBox2Ds")
484 _value_types.append("BoundingBoxD<2>")
485 
486 BoundingBox3Ds=list
487 _plural_types.append("BoundingBox3Ds")
488 _value_types.append("BoundingBoxD<3>")
489 
490 BoundingBox4Ds=list
491 _plural_types.append("BoundingBox4Ds")
492 _value_types.append("BoundingBoxD<4>")
493 
494 BoundingBox5Ds=list
495 _plural_types.append("BoundingBox5Ds")
496 _value_types.append("BoundingBoxD<5>")
497 
498 BoundingBox6Ds=list
499 _plural_types.append("BoundingBox6Ds")
500 _value_types.append("BoundingBoxD<6>")
501 
502 BoundingBoxKDs=list
503 _plural_types.append("BoundingBoxKDs")
504 _value_types.append("BoundingBoxKD")
505 
506 BoundingBoxKDs=list
507 _plural_types.append("BoundingBoxKDs")
508 _value_types.append("BoundingBoxD<-1>")
509 
510 VectorInput1Ds=list
511 _plural_types.append("VectorInput1Ds")
512 _value_types.append("VectorInput1D")
513 
514 VectorInput2Ds=list
515 _plural_types.append("VectorInput2Ds")
516 _value_types.append("VectorInput2D")
517 
518 VectorInput3Ds=list
519 _plural_types.append("VectorInput3Ds")
520 _value_types.append("VectorInput3D")
521 
522 VectorInput4Ds=list
523 _plural_types.append("VectorInput4Ds")
524 _value_types.append("VectorInput4D")
525 
526 VectorInput5Ds=list
527 _plural_types.append("VectorInput5Ds")
528 _value_types.append("VectorInput5D")
529 
530 VectorInput6Ds=list
531 _plural_types.append("VectorInput6Ds")
532 _value_types.append("VectorInput6D")
533 
534 VectorInput1Ds=list
535 _plural_types.append("VectorInput1Ds")
536 _value_types.append("VectorInputD<1>")
537 
538 VectorInput2Ds=list
539 _plural_types.append("VectorInput2Ds")
540 _value_types.append("VectorInputD<2>")
541 
542 VectorInput3Ds=list
543 _plural_types.append("VectorInput3Ds")
544 _value_types.append("VectorInputD<3>")
545 
546 VectorInput4Ds=list
547 _plural_types.append("VectorInput4Ds")
548 _value_types.append("VectorInputD<4>")
549 
550 VectorInput5Ds=list
551 _plural_types.append("VectorInput5Ds")
552 _value_types.append("VectorInputD<5>")
553 
554 VectorInput6Ds=list
555 _plural_types.append("VectorInput6Ds")
556 _value_types.append("VectorInputD<6>")
557 
558 VectorInputKDs=list
559 _plural_types.append("VectorInputKDs")
560 _value_types.append("VectorInputKD")
561 
562 VectorInputKDs=list
563 _plural_types.append("VectorInputKDs")
564 _value_types.append("VectorInputD<-1>")
565 
566 PrincipalComponentAnalysis1Ds=list
567 _plural_types.append("PrincipalComponentAnalysis1Ds")
568 _value_types.append("PrincipalComponentAnalysis1D")
569 
570 PrincipalComponentAnalysis2Ds=list
571 _plural_types.append("PrincipalComponentAnalysis2Ds")
572 _value_types.append("PrincipalComponentAnalysis2D")
573 
574 PrincipalComponentAnalysis3Ds=list
575 _plural_types.append("PrincipalComponentAnalysis3Ds")
576 _value_types.append("PrincipalComponentAnalysis3D")
577 
578 PrincipalComponentAnalysis4Ds=list
579 _plural_types.append("PrincipalComponentAnalysis4Ds")
580 _value_types.append("PrincipalComponentAnalysis4D")
581 
582 PrincipalComponentAnalysis5Ds=list
583 _plural_types.append("PrincipalComponentAnalysis5Ds")
584 _value_types.append("PrincipalComponentAnalysis5D")
585 
586 PrincipalComponentAnalysis6Ds=list
587 _plural_types.append("PrincipalComponentAnalysis6Ds")
588 _value_types.append("PrincipalComponentAnalysis6D")
589 
590 PrincipalComponentAnalysis1Ds=list
591 _plural_types.append("PrincipalComponentAnalysis1Ds")
592 _value_types.append("PrincipalComponentAnalysisD<1>")
593 
594 PrincipalComponentAnalysis2Ds=list
595 _plural_types.append("PrincipalComponentAnalysis2Ds")
596 _value_types.append("PrincipalComponentAnalysisD<2>")
597 
598 PrincipalComponentAnalysis3Ds=list
599 _plural_types.append("PrincipalComponentAnalysis3Ds")
600 _value_types.append("PrincipalComponentAnalysisD<3>")
601 
602 PrincipalComponentAnalysis4Ds=list
603 _plural_types.append("PrincipalComponentAnalysis4Ds")
604 _value_types.append("PrincipalComponentAnalysisD<4>")
605 
606 PrincipalComponentAnalysis5Ds=list
607 _plural_types.append("PrincipalComponentAnalysis5Ds")
608 _value_types.append("PrincipalComponentAnalysisD<5>")
609 
610 PrincipalComponentAnalysis6Ds=list
611 _plural_types.append("PrincipalComponentAnalysis6Ds")
612 _value_types.append("PrincipalComponentAnalysisD<6>")
613 
614 PrincipalComponentAnalysisKDs=list
615 _plural_types.append("PrincipalComponentAnalysisKDs")
616 _value_types.append("PrincipalComponentAnalysisKD")
617 
618 PrincipalComponentAnalysisKDs=list
619 _plural_types.append("PrincipalComponentAnalysisKDs")
620 _value_types.append("PrincipalComponentAnalysisD<-1>")
621 
622 _object_types.append("NearestNeighbor1D")
623 
624 
625 def _object_cast_to_NearestNeighbor1D(*args):
626  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
627  return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
628 _object_types.append("NearestNeighbor2D")
629 
630 
631 def _object_cast_to_NearestNeighbor2D(*args):
632  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
633  return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
634 _object_types.append("NearestNeighbor3D")
635 
636 
637 def _object_cast_to_NearestNeighbor3D(*args):
638  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
639  return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
640 _object_types.append("NearestNeighbor4D")
641 
642 
643 def _object_cast_to_NearestNeighbor4D(*args):
644  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
645  return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
646 _object_types.append("NearestNeighbor5D")
647 
648 
649 def _object_cast_to_NearestNeighbor5D(*args):
650  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
651  return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
652 _object_types.append("NearestNeighbor6D")
653 
654 
655 def _object_cast_to_NearestNeighbor6D(*args):
656  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
657  return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
658 _object_types.append("NearestNeighborKD")
659 
660 
661 def _object_cast_to_NearestNeighborKD(*args):
662  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
663  return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
664 ReferenceFrame3Ds=list
665 _plural_types.append("ReferenceFrame3Ds")
666 _value_types.append("ReferenceFrame3D")
667 
668 DefaultEmbedding1Ds=list
669 _plural_types.append("DefaultEmbedding1Ds")
670 _value_types.append("DefaultEmbedding1D")
671 
672 DefaultEmbedding2Ds=list
673 _plural_types.append("DefaultEmbedding2Ds")
674 _value_types.append("DefaultEmbedding2D")
675 
676 DefaultEmbedding3Ds=list
677 _plural_types.append("DefaultEmbedding3Ds")
678 _value_types.append("DefaultEmbedding3D")
679 
680 DefaultEmbedding4Ds=list
681 _plural_types.append("DefaultEmbedding4Ds")
682 _value_types.append("DefaultEmbedding4D")
683 
684 DefaultEmbedding5Ds=list
685 _plural_types.append("DefaultEmbedding5Ds")
686 _value_types.append("DefaultEmbedding5D")
687 
688 DefaultEmbedding6Ds=list
689 _plural_types.append("DefaultEmbedding6Ds")
690 _value_types.append("DefaultEmbedding6D")
691 
692 DefaultEmbedding1Ds=list
693 _plural_types.append("DefaultEmbedding1Ds")
694 _value_types.append("DefaultEmbeddingD<1>")
695 
696 DefaultEmbedding2Ds=list
697 _plural_types.append("DefaultEmbedding2Ds")
698 _value_types.append("DefaultEmbeddingD<2>")
699 
700 DefaultEmbedding3Ds=list
701 _plural_types.append("DefaultEmbedding3Ds")
702 _value_types.append("DefaultEmbeddingD<3>")
703 
704 DefaultEmbedding4Ds=list
705 _plural_types.append("DefaultEmbedding4Ds")
706 _value_types.append("DefaultEmbeddingD<4>")
707 
708 DefaultEmbedding5Ds=list
709 _plural_types.append("DefaultEmbedding5Ds")
710 _value_types.append("DefaultEmbeddingD<5>")
711 
712 DefaultEmbedding6Ds=list
713 _plural_types.append("DefaultEmbedding6Ds")
714 _value_types.append("DefaultEmbeddingD<6>")
715 
716 DefaultEmbeddingKDs=list
717 _plural_types.append("DefaultEmbeddingKDs")
718 _value_types.append("DefaultEmbeddingKD")
719 
720 DefaultEmbeddingKDs=list
721 _plural_types.append("DefaultEmbeddingKDs")
722 _value_types.append("DefaultEmbeddingD<-1>")
723 
724 LogEmbedding1Ds=list
725 _plural_types.append("LogEmbedding1Ds")
726 _value_types.append("LogEmbedding1D")
727 
728 LogEmbedding2Ds=list
729 _plural_types.append("LogEmbedding2Ds")
730 _value_types.append("LogEmbedding2D")
731 
732 LogEmbedding3Ds=list
733 _plural_types.append("LogEmbedding3Ds")
734 _value_types.append("LogEmbedding3D")
735 
736 LogEmbedding4Ds=list
737 _plural_types.append("LogEmbedding4Ds")
738 _value_types.append("LogEmbedding4D")
739 
740 LogEmbedding5Ds=list
741 _plural_types.append("LogEmbedding5Ds")
742 _value_types.append("LogEmbedding5D")
743 
744 LogEmbedding6Ds=list
745 _plural_types.append("LogEmbedding6Ds")
746 _value_types.append("LogEmbedding6D")
747 
748 LogEmbedding1Ds=list
749 _plural_types.append("LogEmbedding1Ds")
750 _value_types.append("LogEmbeddingD<1>")
751 
752 LogEmbedding2Ds=list
753 _plural_types.append("LogEmbedding2Ds")
754 _value_types.append("LogEmbeddingD<2>")
755 
756 LogEmbedding3Ds=list
757 _plural_types.append("LogEmbedding3Ds")
758 _value_types.append("LogEmbeddingD<3>")
759 
760 LogEmbedding4Ds=list
761 _plural_types.append("LogEmbedding4Ds")
762 _value_types.append("LogEmbeddingD<4>")
763 
764 LogEmbedding5Ds=list
765 _plural_types.append("LogEmbedding5Ds")
766 _value_types.append("LogEmbeddingD<5>")
767 
768 LogEmbedding6Ds=list
769 _plural_types.append("LogEmbedding6Ds")
770 _value_types.append("LogEmbeddingD<6>")
771 
772 LogEmbeddingKDs=list
773 _plural_types.append("LogEmbeddingKDs")
774 _value_types.append("LogEmbeddingKD")
775 
776 LogEmbeddingKDs=list
777 _plural_types.append("LogEmbeddingKDs")
778 _value_types.append("LogEmbeddingD<-1>")
779 
780 GridIndex1Ds=list
781 _plural_types.append("GridIndex1Ds")
782 _value_types.append("GridIndex1D")
783 
784 GridIndex2Ds=list
785 _plural_types.append("GridIndex2Ds")
786 _value_types.append("GridIndex2D")
787 
788 GridIndex3Ds=list
789 _plural_types.append("GridIndex3Ds")
790 _value_types.append("GridIndex3D")
791 
792 GridIndex4Ds=list
793 _plural_types.append("GridIndex4Ds")
794 _value_types.append("GridIndex4D")
795 
796 GridIndex5Ds=list
797 _plural_types.append("GridIndex5Ds")
798 _value_types.append("GridIndex5D")
799 
800 GridIndex6Ds=list
801 _plural_types.append("GridIndex6Ds")
802 _value_types.append("GridIndex6D")
803 
804 GridIndex1Ds=list
805 _plural_types.append("GridIndex1Ds")
806 _value_types.append("GridIndexD<1>")
807 
808 GridIndex2Ds=list
809 _plural_types.append("GridIndex2Ds")
810 _value_types.append("GridIndexD<2>")
811 
812 GridIndex3Ds=list
813 _plural_types.append("GridIndex3Ds")
814 _value_types.append("GridIndexD<3>")
815 
816 GridIndex4Ds=list
817 _plural_types.append("GridIndex4Ds")
818 _value_types.append("GridIndexD<4>")
819 
820 GridIndex5Ds=list
821 _plural_types.append("GridIndex5Ds")
822 _value_types.append("GridIndexD<5>")
823 
824 GridIndex6Ds=list
825 _plural_types.append("GridIndex6Ds")
826 _value_types.append("GridIndexD<6>")
827 
828 GridIndexKDs=list
829 _plural_types.append("GridIndexKDs")
830 _value_types.append("GridIndexKD")
831 
832 GridIndexKDs=list
833 _plural_types.append("GridIndexKDs")
834 _value_types.append("GridIndexD<-1>")
835 
836 ExtendedGridIndex1Ds=list
837 _plural_types.append("ExtendedGridIndex1Ds")
838 _value_types.append("ExtendedGridIndex1D")
839 
840 ExtendedGridIndex2Ds=list
841 _plural_types.append("ExtendedGridIndex2Ds")
842 _value_types.append("ExtendedGridIndex2D")
843 
844 ExtendedGridIndex3Ds=list
845 _plural_types.append("ExtendedGridIndex3Ds")
846 _value_types.append("ExtendedGridIndex3D")
847 
848 ExtendedGridIndex4Ds=list
849 _plural_types.append("ExtendedGridIndex4Ds")
850 _value_types.append("ExtendedGridIndex4D")
851 
852 ExtendedGridIndex5Ds=list
853 _plural_types.append("ExtendedGridIndex5Ds")
854 _value_types.append("ExtendedGridIndex5D")
855 
856 ExtendedGridIndex6Ds=list
857 _plural_types.append("ExtendedGridIndex6Ds")
858 _value_types.append("ExtendedGridIndex6D")
859 
860 ExtendedGridIndex1Ds=list
861 _plural_types.append("ExtendedGridIndex1Ds")
862 _value_types.append("ExtendedGridIndexD<1>")
863 
864 ExtendedGridIndex2Ds=list
865 _plural_types.append("ExtendedGridIndex2Ds")
866 _value_types.append("ExtendedGridIndexD<2>")
867 
868 ExtendedGridIndex3Ds=list
869 _plural_types.append("ExtendedGridIndex3Ds")
870 _value_types.append("ExtendedGridIndexD<3>")
871 
872 ExtendedGridIndex4Ds=list
873 _plural_types.append("ExtendedGridIndex4Ds")
874 _value_types.append("ExtendedGridIndexD<4>")
875 
876 ExtendedGridIndex5Ds=list
877 _plural_types.append("ExtendedGridIndex5Ds")
878 _value_types.append("ExtendedGridIndexD<5>")
879 
880 ExtendedGridIndex6Ds=list
881 _plural_types.append("ExtendedGridIndex6Ds")
882 _value_types.append("ExtendedGridIndexD<6>")
883 
884 ExtendedGridIndexKDs=list
885 _plural_types.append("ExtendedGridIndexKDs")
886 _value_types.append("ExtendedGridIndexKD")
887 
888 ExtendedGridIndexKDs=list
889 _plural_types.append("ExtendedGridIndexKDs")
890 _value_types.append("ExtendedGridIndexD<-1>")
891 
892 BoundedGridRange1Ds=list
893 _plural_types.append("BoundedGridRange1Ds")
894 _value_types.append("BoundedGridRange1D")
895 
896 BoundedGridRange2Ds=list
897 _plural_types.append("BoundedGridRange2Ds")
898 _value_types.append("BoundedGridRange2D")
899 
900 BoundedGridRange3Ds=list
901 _plural_types.append("BoundedGridRange3Ds")
902 _value_types.append("BoundedGridRange3D")
903 
904 BoundedGridRange4Ds=list
905 _plural_types.append("BoundedGridRange4Ds")
906 _value_types.append("BoundedGridRange4D")
907 
908 BoundedGridRange5Ds=list
909 _plural_types.append("BoundedGridRange5Ds")
910 _value_types.append("BoundedGridRange5D")
911 
912 BoundedGridRange6Ds=list
913 _plural_types.append("BoundedGridRange6Ds")
914 _value_types.append("BoundedGridRange6D")
915 
916 BoundedGridRange1Ds=list
917 _plural_types.append("BoundedGridRange1Ds")
918 _value_types.append("BoundedGridRangeD<1>")
919 
920 BoundedGridRange2Ds=list
921 _plural_types.append("BoundedGridRange2Ds")
922 _value_types.append("BoundedGridRangeD<2>")
923 
924 BoundedGridRange3Ds=list
925 _plural_types.append("BoundedGridRange3Ds")
926 _value_types.append("BoundedGridRangeD<3>")
927 
928 BoundedGridRange4Ds=list
929 _plural_types.append("BoundedGridRange4Ds")
930 _value_types.append("BoundedGridRangeD<4>")
931 
932 BoundedGridRange5Ds=list
933 _plural_types.append("BoundedGridRange5Ds")
934 _value_types.append("BoundedGridRangeD<5>")
935 
936 BoundedGridRange6Ds=list
937 _plural_types.append("BoundedGridRange6Ds")
938 _value_types.append("BoundedGridRangeD<6>")
939 
940 BoundedGridRangeKDs=list
941 _plural_types.append("BoundedGridRangeKDs")
942 _value_types.append("BoundedGridRangeKD")
943 
944 BoundedGridRangeKDs=list
945 _plural_types.append("BoundedGridRangeKDs")
946 _value_types.append("BoundedGridRangeD<-1>")
947 
948 UnboundedGridRange1Ds=list
949 _plural_types.append("UnboundedGridRange1Ds")
950 _value_types.append("UnboundedGridRange1D")
951 
952 UnboundedGridRange2Ds=list
953 _plural_types.append("UnboundedGridRange2Ds")
954 _value_types.append("UnboundedGridRange2D")
955 
956 UnboundedGridRange3Ds=list
957 _plural_types.append("UnboundedGridRange3Ds")
958 _value_types.append("UnboundedGridRange3D")
959 
960 UnboundedGridRange4Ds=list
961 _plural_types.append("UnboundedGridRange4Ds")
962 _value_types.append("UnboundedGridRange4D")
963 
964 UnboundedGridRange5Ds=list
965 _plural_types.append("UnboundedGridRange5Ds")
966 _value_types.append("UnboundedGridRange5D")
967 
968 UnboundedGridRange6Ds=list
969 _plural_types.append("UnboundedGridRange6Ds")
970 _value_types.append("UnboundedGridRange6D")
971 
972 UnboundedGridRange1Ds=list
973 _plural_types.append("UnboundedGridRange1Ds")
974 _value_types.append("UnboundedGridRangeD<1>")
975 
976 UnboundedGridRange2Ds=list
977 _plural_types.append("UnboundedGridRange2Ds")
978 _value_types.append("UnboundedGridRangeD<2>")
979 
980 UnboundedGridRange3Ds=list
981 _plural_types.append("UnboundedGridRange3Ds")
982 _value_types.append("UnboundedGridRangeD<3>")
983 
984 UnboundedGridRange4Ds=list
985 _plural_types.append("UnboundedGridRange4Ds")
986 _value_types.append("UnboundedGridRangeD<4>")
987 
988 UnboundedGridRange5Ds=list
989 _plural_types.append("UnboundedGridRange5Ds")
990 _value_types.append("UnboundedGridRangeD<5>")
991 
992 UnboundedGridRange6Ds=list
993 _plural_types.append("UnboundedGridRange6Ds")
994 _value_types.append("UnboundedGridRangeD<6>")
995 
996 UnboundedGridRangeKDs=list
997 _plural_types.append("UnboundedGridRangeKDs")
998 _value_types.append("UnboundedGridRangeKD")
999 
1000 UnboundedGridRangeKDs=list
1001 _plural_types.append("UnboundedGridRangeKDs")
1002 _value_types.append("UnboundedGridRangeD<-1>")
1003 
1004 LinearFit2Ds=list
1005 _plural_types.append("LinearFit2Ds")
1006 _value_types.append("LinearFit2D")
1007 
1008 ParabolicFit2Ds=list
1009 _plural_types.append("ParabolicFit2Ds")
1010 _value_types.append("ParabolicFit2D")
1011 
1012 FixedZYZs=list
1013 _plural_types.append("FixedZYZs")
1014 _value_types.append("FixedZYZ")
1015 
1016 FixedXYZs=list
1017 _plural_types.append("FixedXYZs")
1018 _value_types.append("FixedXYZ")
1019 
1020 FixedZXZs=list
1021 _plural_types.append("FixedZXZs")
1022 _value_types.append("FixedZXZ")
1023 
1024 class _GeometricPrimitive1D(_object):
1025  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1026  __swig_setmethods__ = {}
1027  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive1D, name, value)
1028  __swig_getmethods__ = {}
1029  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive1D, name)
1030  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1031  __repr__ = _swig_repr
1032  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1033  __del__ = lambda self : None;
1034 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1035 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1036 
1037 class _GeometricPrimitive2D(_object):
1038  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1039  __swig_setmethods__ = {}
1040  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive2D, name, value)
1041  __swig_getmethods__ = {}
1042  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive2D, name)
1043  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1044  __repr__ = _swig_repr
1045  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1046  __del__ = lambda self : None;
1047 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1048 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1049 
1050 class _GeometricPrimitive3D(_object):
1051  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1052  __swig_setmethods__ = {}
1053  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive3D, name, value)
1054  __swig_getmethods__ = {}
1055  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive3D, name)
1056  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1057  __repr__ = _swig_repr
1058  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1059  __del__ = lambda self : None;
1060 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1061 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1062 
1063 class _GeometricPrimitive4D(_object):
1064  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1065  __swig_setmethods__ = {}
1066  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive4D, name, value)
1067  __swig_getmethods__ = {}
1068  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive4D, name)
1069  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1070  __repr__ = _swig_repr
1071  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1072  __del__ = lambda self : None;
1073 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1074 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1075 
1076 class _GeometricPrimitive5D(_object):
1077  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1078  __swig_setmethods__ = {}
1079  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive5D, name, value)
1080  __swig_getmethods__ = {}
1081  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive5D, name)
1082  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1083  __repr__ = _swig_repr
1084  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1085  __del__ = lambda self : None;
1086 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1087 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1088 
1089 class _GeometricPrimitive6D(_object):
1090  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1091  __swig_setmethods__ = {}
1092  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive6D, name, value)
1093  __swig_getmethods__ = {}
1094  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive6D, name)
1095  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1096  __repr__ = _swig_repr
1097  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1098  __del__ = lambda self : None;
1099 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1100 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1101 
1102 class _GeometricPrimitiveKD(_object):
1103  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1104  __swig_setmethods__ = {}
1105  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitiveKD, name, value)
1106  __swig_getmethods__ = {}
1107  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitiveKD, name)
1108  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1109  __repr__ = _swig_repr
1110  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1111  __del__ = lambda self : None;
1112 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1113 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1114 
1115 
1116 def get_basis_vector_kd(*args):
1117  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1118  return _IMP_algebra.get_basis_vector_kd(*args)
1119 
1120 def get_zero_vector_kd(*args):
1121  """get_zero_vector_kd(int D) -> VectorKD"""
1122  return _IMP_algebra.get_zero_vector_kd(*args)
1123 
1124 def get_ones_vector_kd(*args):
1125  """
1126  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1127  get_ones_vector_kd(unsigned int D) -> VectorKD
1128  """
1129  return _IMP_algebra.get_ones_vector_kd(*args)
1130 
1131 def get_vector_product(*args):
1132  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1133  return _IMP_algebra.get_vector_product(*args)
1134 
1135 def get_orthogonal_vector(*args):
1136  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1137  return _IMP_algebra.get_orthogonal_vector(*args)
1138 
1139 def get_centroid(*args):
1140  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1141  return _IMP_algebra.get_centroid(*args)
1142 
1143 def get_radius_of_gyration(*args):
1144  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1145  return _IMP_algebra.get_radius_of_gyration(*args)
1146 class Rotation3D(_GeometricPrimitive3D):
1147  """Proxy of C++ IMP::algebra::Rotation3D class"""
1148  __swig_setmethods__ = {}
1149  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1150  __setattr__ = lambda self, name, value: _swig_setattr(self, Rotation3D, name, value)
1151  __swig_getmethods__ = {}
1152  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1153  __getattr__ = lambda self, name: _swig_getattr(self, Rotation3D, name)
1154  def __init__(self, *args):
1155  """
1156  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1157  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1158  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1159  """
1160  this = _IMP_algebra.new_Rotation3D(*args)
1161  try: self.this.append(this)
1162  except: self.this = this
1163  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1164  __del__ = lambda self : None;
1165  def get_rotated_no_cache(self, *args):
1166  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1167  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1168 
1169  def get_rotated_one_coordinate_no_cache(self, *args):
1170  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1171  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1172 
1173  def get_rotated(self, *args):
1174  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1175  return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1176 
1177  def get_rotated_one_coordinate(self, *args):
1178  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1179  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1180 
1181  def get_rotation_matrix_row(self, *args):
1182  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1183  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1184 
1185  def show(self, *args):
1186  """
1187  show(Rotation3D self, _ostream out=std::cout)
1188  show(Rotation3D self)
1189  """
1190  return _IMP_algebra.Rotation3D_show(self, *args)
1191 
1192  def get_inverse(self):
1193  """get_inverse(Rotation3D self) -> Rotation3D"""
1194  return _IMP_algebra.Rotation3D_get_inverse(self)
1195 
1196  def get_quaternion(self):
1197  """get_quaternion(Rotation3D self) -> Vector4D"""
1198  return _IMP_algebra.Rotation3D_get_quaternion(self)
1199 
1200  def __mul__(self, *args):
1201  """
1202  __mul__(Rotation3D self, Vector3D v) -> Vector3D
1203  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1204  """
1205  return _IMP_algebra.Rotation3D___mul__(self, *args)
1206 
1207  def __div__(self, *args):
1208  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1209  return _IMP_algebra.Rotation3D___div__(self, *args)
1210 
1211  def get_derivative(self, *args):
1212  """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1213  return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1214 
1215  def __str__(self):
1216  """__str__(Rotation3D self) -> std::string"""
1217  return _IMP_algebra.Rotation3D___str__(self)
1218 
1219  def __repr__(self):
1220  """__repr__(Rotation3D self) -> std::string"""
1221  return _IMP_algebra.Rotation3D___repr__(self)
1222 
1223 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1224 Rotation3D_swigregister(Rotation3D)
1225 
1226 
1228  """get_identity_rotation_3d() -> Rotation3D"""
1229  return _IMP_algebra.get_identity_rotation_3d()
1230 
1231 def get_rotation_about_axis(*args):
1232  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1233  return _IMP_algebra.get_rotation_about_axis(*args)
1234 
1236  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1237  return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1238 
1239 def get_rotation_from_matrix(*args):
1240  """
1241  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1242  double m21, double m22) -> Rotation3D
1243  """
1244  return _IMP_algebra.get_rotation_from_matrix(*args)
1245 
1246 def get_random_rotation_3d(*args):
1247  """
1248  get_random_rotation_3d() -> Rotation3D
1249  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1250  """
1251  return _IMP_algebra.get_random_rotation_3d(*args)
1252 
1254  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1255  return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1256 
1258  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1259  return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1260 
1261 def get_rotation_from_vector4d(*args):
1262  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1263  return _IMP_algebra.get_rotation_from_vector4d(*args)
1264 
1265 def get_rotation_from_fixed_xyz(*args):
1266  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1267  return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1268 
1269 def get_rotation_from_fixed_zxz(*args):
1270  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1271  return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1272 
1273 def get_rotation_from_fixed_zyz(*args):
1274  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1275  return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1276 class FixedZYZ(_GeometricPrimitive3D):
1277  """Proxy of C++ IMP::algebra::FixedZYZ class"""
1278  __swig_setmethods__ = {}
1279  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1280  __setattr__ = lambda self, name, value: _swig_setattr(self, FixedZYZ, name, value)
1281  __swig_getmethods__ = {}
1282  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1283  __getattr__ = lambda self, name: _swig_getattr(self, FixedZYZ, name)
1284  def __init__(self, *args):
1285  """
1286  __init__(IMP::algebra::FixedZYZ self) -> FixedZYZ
1287  __init__(IMP::algebra::FixedZYZ self, double rot, double tilt, double psi) -> FixedZYZ
1288  """
1289  this = _IMP_algebra.new_FixedZYZ(*args)
1290  try: self.this.append(this)
1291  except: self.this = this
1292  def get_rot(self):
1293  """get_rot(FixedZYZ self) -> double"""
1294  return _IMP_algebra.FixedZYZ_get_rot(self)
1295 
1296  def get_tilt(self):
1297  """get_tilt(FixedZYZ self) -> double"""
1298  return _IMP_algebra.FixedZYZ_get_tilt(self)
1299 
1300  def get_psi(self):
1301  """get_psi(FixedZYZ self) -> double"""
1302  return _IMP_algebra.FixedZYZ_get_psi(self)
1303 
1304  def show(self, *args):
1305  """
1306  show(FixedZYZ self, _ostream out=std::cout)
1307  show(FixedZYZ self)
1308  """
1309  return _IMP_algebra.FixedZYZ_show(self, *args)
1310 
1311  def __str__(self):
1312  """__str__(FixedZYZ self) -> std::string"""
1313  return _IMP_algebra.FixedZYZ___str__(self)
1314 
1315  def __repr__(self):
1316  """__repr__(FixedZYZ self) -> std::string"""
1317  return _IMP_algebra.FixedZYZ___repr__(self)
1318 
1319  __swig_destroy__ = _IMP_algebra.delete_FixedZYZ
1320  __del__ = lambda self : None;
1321 FixedZYZ_swigregister = _IMP_algebra.FixedZYZ_swigregister
1322 FixedZYZ_swigregister(FixedZYZ)
1323 
1324 class FixedZXZ(_GeometricPrimitive3D):
1325  """Proxy of C++ IMP::algebra::FixedZXZ class"""
1326  __swig_setmethods__ = {}
1327  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1328  __setattr__ = lambda self, name, value: _swig_setattr(self, FixedZXZ, name, value)
1329  __swig_getmethods__ = {}
1330  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1331  __getattr__ = lambda self, name: _swig_getattr(self, FixedZXZ, name)
1332  def __init__(self, *args):
1333  """
1334  __init__(IMP::algebra::FixedZXZ self) -> FixedZXZ
1335  __init__(IMP::algebra::FixedZXZ self, double psi, double theta, double phi) -> FixedZXZ
1336  """
1337  this = _IMP_algebra.new_FixedZXZ(*args)
1338  try: self.this.append(this)
1339  except: self.this = this
1340  def get_psi(self):
1341  """get_psi(FixedZXZ self) -> double"""
1342  return _IMP_algebra.FixedZXZ_get_psi(self)
1343 
1344  def get_theta(self):
1345  """get_theta(FixedZXZ self) -> double"""
1346  return _IMP_algebra.FixedZXZ_get_theta(self)
1347 
1348  def get_phi(self):
1349  """get_phi(FixedZXZ self) -> double"""
1350  return _IMP_algebra.FixedZXZ_get_phi(self)
1351 
1352  def show(self, *args):
1353  """
1354  show(FixedZXZ self, _ostream out=std::cout)
1355  show(FixedZXZ self)
1356  """
1357  return _IMP_algebra.FixedZXZ_show(self, *args)
1358 
1359  def __str__(self):
1360  """__str__(FixedZXZ self) -> std::string"""
1361  return _IMP_algebra.FixedZXZ___str__(self)
1362 
1363  def __repr__(self):
1364  """__repr__(FixedZXZ self) -> std::string"""
1365  return _IMP_algebra.FixedZXZ___repr__(self)
1366 
1367  __swig_destroy__ = _IMP_algebra.delete_FixedZXZ
1368  __del__ = lambda self : None;
1369 FixedZXZ_swigregister = _IMP_algebra.FixedZXZ_swigregister
1370 FixedZXZ_swigregister(FixedZXZ)
1371 
1372 class FixedXYZ(_GeometricPrimitive3D):
1373  """Proxy of C++ IMP::algebra::FixedXYZ class"""
1374  __swig_setmethods__ = {}
1375  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1376  __setattr__ = lambda self, name, value: _swig_setattr(self, FixedXYZ, name, value)
1377  __swig_getmethods__ = {}
1378  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1379  __getattr__ = lambda self, name: _swig_getattr(self, FixedXYZ, name)
1380  def __init__(self, *args):
1381  """
1382  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1383  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1384  """
1385  this = _IMP_algebra.new_FixedXYZ(*args)
1386  try: self.this.append(this)
1387  except: self.this = this
1388  def get_x(self):
1389  """get_x(FixedXYZ self) -> double"""
1390  return _IMP_algebra.FixedXYZ_get_x(self)
1391 
1392  def get_y(self):
1393  """get_y(FixedXYZ self) -> double"""
1394  return _IMP_algebra.FixedXYZ_get_y(self)
1395 
1396  def get_z(self):
1397  """get_z(FixedXYZ self) -> double"""
1398  return _IMP_algebra.FixedXYZ_get_z(self)
1399 
1400  def show(self, *args):
1401  """
1402  show(FixedXYZ self, _ostream out=std::cout)
1403  show(FixedXYZ self)
1404  """
1405  return _IMP_algebra.FixedXYZ_show(self, *args)
1406 
1407  def __str__(self):
1408  """__str__(FixedXYZ self) -> std::string"""
1409  return _IMP_algebra.FixedXYZ___str__(self)
1410 
1411  def __repr__(self):
1412  """__repr__(FixedXYZ self) -> std::string"""
1413  return _IMP_algebra.FixedXYZ___repr__(self)
1414 
1415  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1416  __del__ = lambda self : None;
1417 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1418 FixedXYZ_swigregister(FixedXYZ)
1419 
1420 
1421 def get_fixed_zyz_from_rotation(*args):
1422  """get_fixed_zyz_from_rotation(Rotation3D r) -> FixedZYZ"""
1423  return _IMP_algebra.get_fixed_zyz_from_rotation(*args)
1424 
1425 def get_fixed_zxz_from_rotation(*args):
1426  """get_fixed_zxz_from_rotation(Rotation3D r) -> FixedZXZ"""
1427  return _IMP_algebra.get_fixed_zxz_from_rotation(*args)
1428 
1429 def get_fixed_xyz_from_rotation(*args):
1430  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1431  return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1432 
1433 def get_interpolated(*args):
1434  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1435  return _IMP_algebra.get_interpolated(*args)
1436 
1437 def get_rotation_from_x_y_axes(*args):
1438  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1439  return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1440 
1441 def get_axis_and_angle(*args):
1442  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1443  return _IMP_algebra.get_axis_and_angle(*args)
1444 
1445 def get_unit_bounding_box_kd(*args):
1446  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1447  return _IMP_algebra.get_unit_bounding_box_kd(*args)
1448 
1449 def get_cube_kd(*args):
1450  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1451  return _IMP_algebra.get_cube_kd(*args)
1452 
1453 def get_vertices(*args):
1454  """get_vertices(BoundingBox3D bb) -> IMP::algebra::Vector3Ds"""
1455  return _IMP_algebra.get_vertices(*args)
1456 
1457 def get_edges(*args):
1458  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1459  return _IMP_algebra.get_edges(*args)
1460 class Transformation3D(_GeometricPrimitive3D):
1461  """Proxy of C++ IMP::algebra::Transformation3D class"""
1462  __swig_setmethods__ = {}
1463  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1464  __setattr__ = lambda self, name, value: _swig_setattr(self, Transformation3D, name, value)
1465  __swig_getmethods__ = {}
1466  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1467  __getattr__ = lambda self, name: _swig_getattr(self, Transformation3D, name)
1468  def __init__(self, *args):
1469  """
1470  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1471  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0,0,0)) -> Transformation3D
1472  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1473  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1474  """
1475  this = _IMP_algebra.new_Transformation3D(*args)
1476  try: self.this.append(this)
1477  except: self.this = this
1478  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1479  __del__ = lambda self : None;
1480  def get_transformed(self, *args):
1481  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1482  return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1483 
1484  def __mul__(self, *args):
1485  """
1486  __mul__(Transformation3D self, Vector3D v) -> Vector3D
1487  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1488  """
1489  return _IMP_algebra.Transformation3D___mul__(self, *args)
1490 
1491  def __div__(self, *args):
1492  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1493  return _IMP_algebra.Transformation3D___div__(self, *args)
1494 
1495  def get_rotation(self):
1496  """get_rotation(Transformation3D self) -> Rotation3D"""
1497  return _IMP_algebra.Transformation3D_get_rotation(self)
1498 
1499  def get_translation(self):
1500  """get_translation(Transformation3D self) -> Vector3D"""
1501  return _IMP_algebra.Transformation3D_get_translation(self)
1502 
1503  def show(self, *args):
1504  """
1505  show(Transformation3D self, _ostream out=std::cout)
1506  show(Transformation3D self)
1507  """
1508  return _IMP_algebra.Transformation3D_show(self, *args)
1509 
1510  def get_inverse(self):
1511  """get_inverse(Transformation3D self) -> Transformation3D"""
1512  return _IMP_algebra.Transformation3D_get_inverse(self)
1513 
1514  def __str__(self):
1515  """__str__(Transformation3D self) -> std::string"""
1516  return _IMP_algebra.Transformation3D___str__(self)
1517 
1518  def __repr__(self):
1519  """__repr__(Transformation3D self) -> std::string"""
1520  return _IMP_algebra.Transformation3D___repr__(self)
1521 
1522 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1523 Transformation3D_swigregister(Transformation3D)
1524 
1525 
1527  """get_identity_transformation_3d() -> Transformation3D"""
1528  return _IMP_algebra.get_identity_transformation_3d()
1529 
1530 def get_transformation_3d(*args):
1531  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1532  return _IMP_algebra.get_transformation_3d(*args)
1533 
1535  """
1536  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1537  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1538  get_random_local_transformation(Vector3D origin) -> Transformation3D
1539  """
1540  return _IMP_algebra.get_random_local_transformation(*args)
1541 class Rotation2D(_GeometricPrimitive2D):
1542  """Proxy of C++ IMP::algebra::Rotation2D class"""
1543  __swig_setmethods__ = {}
1544  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1545  __setattr__ = lambda self, name, value: _swig_setattr(self, Rotation2D, name, value)
1546  __swig_getmethods__ = {}
1547  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1548  __getattr__ = lambda self, name: _swig_getattr(self, Rotation2D, name)
1549  def __init__(self, *args):
1550  """
1551  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1552  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1553  """
1554  this = _IMP_algebra.new_Rotation2D(*args)
1555  try: self.this.append(this)
1556  except: self.this = this
1557  def get_rotated(self, *args):
1558  """
1559  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1560  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1561  """
1562  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1563 
1564  def get_inverse(self):
1565  """get_inverse(Rotation2D self) -> Rotation2D"""
1566  return _IMP_algebra.Rotation2D_get_inverse(self)
1567 
1568  def set_angle(self, *args):
1569  """set_angle(Rotation2D self, double angle)"""
1570  return _IMP_algebra.Rotation2D_set_angle(self, *args)
1571 
1572  def get_angle(self):
1573  """get_angle(Rotation2D self) -> double"""
1574  return _IMP_algebra.Rotation2D_get_angle(self)
1575 
1576  def show(self, *args):
1577  """
1578  show(Rotation2D self, _ostream out=std::cout)
1579  show(Rotation2D self)
1580  """
1581  return _IMP_algebra.Rotation2D_show(self, *args)
1582 
1583  def __str__(self):
1584  """__str__(Rotation2D self) -> std::string"""
1585  return _IMP_algebra.Rotation2D___str__(self)
1586 
1587  def __repr__(self):
1588  """__repr__(Rotation2D self) -> std::string"""
1589  return _IMP_algebra.Rotation2D___repr__(self)
1590 
1591  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1592  __del__ = lambda self : None;
1593 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1594 Rotation2D_swigregister(Rotation2D)
1595 
1596 
1598  """get_identity_rotation_2d() -> Rotation2D"""
1599  return _IMP_algebra.get_identity_rotation_2d()
1600 
1602  """get_random_rotation_2d() -> Rotation2D"""
1603  return _IMP_algebra.get_random_rotation_2d()
1604 
1605 def get_rotation_to_x_axis(*args):
1606  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1607  return _IMP_algebra.get_rotation_to_x_axis(*args)
1608 class Transformation2D(_GeometricPrimitive2D):
1609  """Proxy of C++ IMP::algebra::Transformation2D class"""
1610  __swig_setmethods__ = {}
1611  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1612  __setattr__ = lambda self, name, value: _swig_setattr(self, Transformation2D, name, value)
1613  __swig_getmethods__ = {}
1614  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1615  __getattr__ = lambda self, name: _swig_getattr(self, Transformation2D, name)
1616  def __init__(self, *args):
1617  """
1618  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1619  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0,0.0)) -> Transformation2D
1620  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1621  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1622  """
1623  this = _IMP_algebra.new_Transformation2D(*args)
1624  try: self.this.append(this)
1625  except: self.this = this
1626  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1627  __del__ = lambda self : None;
1628  def get_transformed(self, *args):
1629  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1630  return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1631 
1632  def __mul__(self, *args):
1633  """
1634  __mul__(Transformation2D self, Vector2D v) -> Vector2D
1635  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1636  """
1637  return _IMP_algebra.Transformation2D___mul__(self, *args)
1638 
1639  def __div__(self, *args):
1640  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1641  return _IMP_algebra.Transformation2D___div__(self, *args)
1642 
1643  def get_rotation(self):
1644  """get_rotation(Transformation2D self) -> Rotation2D"""
1645  return _IMP_algebra.Transformation2D_get_rotation(self)
1646 
1647  def set_rotation(self, *args):
1648  """set_rotation(Transformation2D self, double angle)"""
1649  return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1650 
1651  def get_translation(self):
1652  """get_translation(Transformation2D self) -> Vector2D"""
1653  return _IMP_algebra.Transformation2D_get_translation(self)
1654 
1655  def set_translation(self, *args):
1656  """set_translation(Transformation2D self, Vector2D v)"""
1657  return _IMP_algebra.Transformation2D_set_translation(self, *args)
1658 
1659  def show(self, *args):
1660  """
1661  show(Transformation2D self, _ostream out=std::cout)
1662  show(Transformation2D self)
1663  """
1664  return _IMP_algebra.Transformation2D_show(self, *args)
1665 
1666  def get_inverse(self):
1667  """get_inverse(Transformation2D self) -> Transformation2D"""
1668  return _IMP_algebra.Transformation2D_get_inverse(self)
1669 
1670  def __str__(self):
1671  """__str__(Transformation2D self) -> std::string"""
1672  return _IMP_algebra.Transformation2D___str__(self)
1673 
1674  def __repr__(self):
1675  """__repr__(Transformation2D self) -> std::string"""
1676  return _IMP_algebra.Transformation2D___repr__(self)
1677 
1678 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1679 Transformation2D_swigregister(Transformation2D)
1680 
1681 
1683  """get_identity_transformation_2d() -> Transformation2D"""
1684  return _IMP_algebra.get_identity_transformation_2d()
1685 
1686 def get_rotation_about_point(*args):
1687  """
1688  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1689  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1690  """
1691  return _IMP_algebra.get_rotation_about_point(*args)
1692 
1693 def compose(*args):
1694  """
1695  compose(Rotation3D a, Rotation3D b) -> Rotation3D
1696  compose(Transformation3D a, Transformation3D b) -> Transformation3D
1697  compose(Rotation2D a, Rotation2D b) -> Rotation2D
1698  compose(Transformation2D a, Transformation2D b) -> Transformation2D
1699  """
1700  return _IMP_algebra.compose(*args)
1701 
1702 def get_unit_sphere_kd(*args):
1703  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
1704  return _IMP_algebra.get_unit_sphere_kd(*args)
1705 
1706 def get_enclosing_sphere(*args):
1707  """
1708  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
1709  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
1710  """
1711  return _IMP_algebra.get_enclosing_sphere(*args)
1712 
1714  """get_ball_radius_from_volume_3d(double volume) -> double"""
1715  return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
1716 
1717 def get_surface_area_and_volume(*args):
1718  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
1719  return _IMP_algebra.get_surface_area_and_volume(*args)
1720 class Vector1D(_GeometricPrimitive1D):
1721  """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
1722  __swig_setmethods__ = {}
1723  for _s in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1724  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector1D, name, value)
1725  __swig_getmethods__ = {}
1726  for _s in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1727  __getattr__ = lambda self, name: _swig_getattr(self, Vector1D, name)
1728  def __init__(self, *args):
1729  """
1730  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
1731  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
1732  __init__(IMP::algebra::VectorD<(1)> self, double x, double y) -> Vector1D
1733  __init__(IMP::algebra::VectorD<(1)> self, double x, double y, double z) -> Vector1D
1734  __init__(IMP::algebra::VectorD<(1)> self, double x0, double x1, double x2, double x3) -> Vector1D
1735  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
1736  """
1737  this = _IMP_algebra.new_Vector1D(*args)
1738  try: self.this.append(this)
1739  except: self.this = this
1740  def get_scalar_product(self, *args):
1741  """get_scalar_product(Vector1D self, Vector1D o) -> double"""
1742  return _IMP_algebra.Vector1D_get_scalar_product(self, *args)
1743 
1744  def get_squared_magnitude(self):
1745  """get_squared_magnitude(Vector1D self) -> double"""
1746  return _IMP_algebra.Vector1D_get_squared_magnitude(self)
1747 
1748  def get_magnitude(self):
1749  """get_magnitude(Vector1D self) -> double"""
1750  return _IMP_algebra.Vector1D_get_magnitude(self)
1751 
1752  def get_unit_vector(self):
1753  """get_unit_vector(Vector1D self) -> Vector1D"""
1754  return _IMP_algebra.Vector1D_get_unit_vector(self)
1755 
1756  def __mul__(self, *args):
1757  """
1758  __mul__(Vector1D self, Vector1D o) -> double
1759  __mul__(Vector1D self, double s) -> Vector1D
1760  """
1761  return _IMP_algebra.Vector1D___mul__(self, *args)
1762 
1763  def __div__(self, *args):
1764  """__div__(Vector1D self, double s) -> Vector1D"""
1765  return _IMP_algebra.Vector1D___div__(self, *args)
1766 
1767  def __neg__(self):
1768  """__neg__(Vector1D self) -> Vector1D"""
1769  return _IMP_algebra.Vector1D___neg__(self)
1770 
1771  def __sub__(self, *args):
1772  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
1773  return _IMP_algebra.Vector1D___sub__(self, *args)
1774 
1775  def __add__(self, *args):
1776  """__add__(Vector1D self, Vector1D o) -> Vector1D"""
1777  return _IMP_algebra.Vector1D___add__(self, *args)
1778 
1779  def show(self, *args):
1780  """
1781  show(Vector1D self, _ostream out, std::string delim, bool parens=True)
1782  show(Vector1D self, _ostream out, std::string delim)
1783  show(Vector1D self, _ostream out=std::cout)
1784  show(Vector1D self)
1785  """
1786  return _IMP_algebra.Vector1D_show(self, *args)
1787 
1788  def get_dimension(self):
1789  """get_dimension(Vector1D self) -> unsigned int"""
1790  return _IMP_algebra.Vector1D_get_dimension(self)
1791 
1792  def __str__(self):
1793  """__str__(Vector1D self) -> std::string"""
1794  return _IMP_algebra.Vector1D___str__(self)
1795 
1796  def __repr__(self):
1797  """__repr__(Vector1D self) -> std::string"""
1798  return _IMP_algebra.Vector1D___repr__(self)
1799 
1800  def __cmp__(self, *args):
1801  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
1802  return _IMP_algebra.Vector1D___cmp__(self, *args)
1803 
1804  def __getitem__(self, *args):
1805  """__getitem__(Vector1D self, unsigned int index) -> double"""
1806  return _IMP_algebra.Vector1D___getitem__(self, *args)
1807 
1808  def __setitem__(self, *args):
1809  """__setitem__(Vector1D self, unsigned int index, double val)"""
1810  return _IMP_algebra.Vector1D___setitem__(self, *args)
1811 
1812  def __iadd__(self, *args):
1813  _IMP_algebra.Vector1D___iadd__(self, *args)
1814  return self
1815 
1816 
1817  def __imul__(self, *args):
1818  _IMP_algebra.Vector1D___imul__(self, *args)
1819  return self
1820 
1821 
1822  def __idiv__(self, *args):
1823  _IMP_algebra.Vector1D___idiv__(self, *args)
1824  return self
1825 
1826 
1827  def __isub__(self, *args):
1828  _IMP_algebra.Vector1D___isub__(self, *args)
1829  return self
1830 
1831 
1832  def __len__(self):
1833  """__len__(Vector1D self) -> unsigned int"""
1834  return _IMP_algebra.Vector1D___len__(self)
1835 
1836  def __rmul__(self, *args):
1837  """__rmul__(Vector1D self, double f) -> Vector1D"""
1838  return _IMP_algebra.Vector1D___rmul__(self, *args)
1839 
1840  __swig_destroy__ = _IMP_algebra.delete_Vector1D
1841  __del__ = lambda self : None;
1842 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
1843 Vector1D_swigregister(Vector1D)
1844 
1845 class Vector2D(_GeometricPrimitive2D):
1846  """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
1847  __swig_setmethods__ = {}
1848  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1849  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector2D, name, value)
1850  __swig_getmethods__ = {}
1851  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1852  __getattr__ = lambda self, name: _swig_getattr(self, Vector2D, name)
1853  def __init__(self, *args):
1854  """
1855  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
1856  __init__(IMP::algebra::VectorD<(2)> self, double x) -> Vector2D
1857  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
1858  __init__(IMP::algebra::VectorD<(2)> self, double x, double y, double z) -> Vector2D
1859  __init__(IMP::algebra::VectorD<(2)> self, double x0, double x1, double x2, double x3) -> Vector2D
1860  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
1861  """
1862  this = _IMP_algebra.new_Vector2D(*args)
1863  try: self.this.append(this)
1864  except: self.this = this
1865  def get_scalar_product(self, *args):
1866  """get_scalar_product(Vector2D self, Vector2D o) -> double"""
1867  return _IMP_algebra.Vector2D_get_scalar_product(self, *args)
1868 
1869  def get_squared_magnitude(self):
1870  """get_squared_magnitude(Vector2D self) -> double"""
1871  return _IMP_algebra.Vector2D_get_squared_magnitude(self)
1872 
1873  def get_magnitude(self):
1874  """get_magnitude(Vector2D self) -> double"""
1875  return _IMP_algebra.Vector2D_get_magnitude(self)
1876 
1877  def get_unit_vector(self):
1878  """get_unit_vector(Vector2D self) -> Vector2D"""
1879  return _IMP_algebra.Vector2D_get_unit_vector(self)
1880 
1881  def __mul__(self, *args):
1882  """
1883  __mul__(Vector2D self, Vector2D o) -> double
1884  __mul__(Vector2D self, double s) -> Vector2D
1885  """
1886  return _IMP_algebra.Vector2D___mul__(self, *args)
1887 
1888  def __div__(self, *args):
1889  """__div__(Vector2D self, double s) -> Vector2D"""
1890  return _IMP_algebra.Vector2D___div__(self, *args)
1891 
1892  def __neg__(self):
1893  """__neg__(Vector2D self) -> Vector2D"""
1894  return _IMP_algebra.Vector2D___neg__(self)
1895 
1896  def __sub__(self, *args):
1897  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
1898  return _IMP_algebra.Vector2D___sub__(self, *args)
1899 
1900  def __add__(self, *args):
1901  """__add__(Vector2D self, Vector2D o) -> Vector2D"""
1902  return _IMP_algebra.Vector2D___add__(self, *args)
1903 
1904  def show(self, *args):
1905  """
1906  show(Vector2D self, _ostream out, std::string delim, bool parens=True)
1907  show(Vector2D self, _ostream out, std::string delim)
1908  show(Vector2D self, _ostream out=std::cout)
1909  show(Vector2D self)
1910  """
1911  return _IMP_algebra.Vector2D_show(self, *args)
1912 
1913  def get_dimension(self):
1914  """get_dimension(Vector2D self) -> unsigned int"""
1915  return _IMP_algebra.Vector2D_get_dimension(self)
1916 
1917  def __str__(self):
1918  """__str__(Vector2D self) -> std::string"""
1919  return _IMP_algebra.Vector2D___str__(self)
1920 
1921  def __repr__(self):
1922  """__repr__(Vector2D self) -> std::string"""
1923  return _IMP_algebra.Vector2D___repr__(self)
1924 
1925  def __cmp__(self, *args):
1926  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
1927  return _IMP_algebra.Vector2D___cmp__(self, *args)
1928 
1929  def __getitem__(self, *args):
1930  """__getitem__(Vector2D self, unsigned int index) -> double"""
1931  return _IMP_algebra.Vector2D___getitem__(self, *args)
1932 
1933  def __setitem__(self, *args):
1934  """__setitem__(Vector2D self, unsigned int index, double val)"""
1935  return _IMP_algebra.Vector2D___setitem__(self, *args)
1936 
1937  def __iadd__(self, *args):
1938  _IMP_algebra.Vector2D___iadd__(self, *args)
1939  return self
1940 
1941 
1942  def __imul__(self, *args):
1943  _IMP_algebra.Vector2D___imul__(self, *args)
1944  return self
1945 
1946 
1947  def __idiv__(self, *args):
1948  _IMP_algebra.Vector2D___idiv__(self, *args)
1949  return self
1950 
1951 
1952  def __isub__(self, *args):
1953  _IMP_algebra.Vector2D___isub__(self, *args)
1954  return self
1955 
1956 
1957  def __len__(self):
1958  """__len__(Vector2D self) -> unsigned int"""
1959  return _IMP_algebra.Vector2D___len__(self)
1960 
1961  def __rmul__(self, *args):
1962  """__rmul__(Vector2D self, double f) -> Vector2D"""
1963  return _IMP_algebra.Vector2D___rmul__(self, *args)
1964 
1965  __swig_destroy__ = _IMP_algebra.delete_Vector2D
1966  __del__ = lambda self : None;
1967 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
1968 Vector2D_swigregister(Vector2D)
1969 
1970 class Vector3D(_GeometricPrimitive3D):
1971  """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
1972  __swig_setmethods__ = {}
1973  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1974  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector3D, name, value)
1975  __swig_getmethods__ = {}
1976  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1977  __getattr__ = lambda self, name: _swig_getattr(self, Vector3D, name)
1978  def __init__(self, *args):
1979  """
1980  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
1981  __init__(IMP::algebra::VectorD<(3)> self, double x) -> Vector3D
1982  __init__(IMP::algebra::VectorD<(3)> self, double x, double y) -> Vector3D
1983  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
1984  __init__(IMP::algebra::VectorD<(3)> self, double x0, double x1, double x2, double x3) -> Vector3D
1985  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
1986  """
1987  this = _IMP_algebra.new_Vector3D(*args)
1988  try: self.this.append(this)
1989  except: self.this = this
1990  def get_scalar_product(self, *args):
1991  """get_scalar_product(Vector3D self, Vector3D o) -> double"""
1992  return _IMP_algebra.Vector3D_get_scalar_product(self, *args)
1993 
1994  def get_squared_magnitude(self):
1995  """get_squared_magnitude(Vector3D self) -> double"""
1996  return _IMP_algebra.Vector3D_get_squared_magnitude(self)
1997 
1998  def get_magnitude(self):
1999  """get_magnitude(Vector3D self) -> double"""
2000  return _IMP_algebra.Vector3D_get_magnitude(self)
2001 
2002  def get_unit_vector(self):
2003  """get_unit_vector(Vector3D self) -> Vector3D"""
2004  return _IMP_algebra.Vector3D_get_unit_vector(self)
2005 
2006  def __mul__(self, *args):
2007  """
2008  __mul__(Vector3D self, Vector3D o) -> double
2009  __mul__(Vector3D self, double s) -> Vector3D
2010  """
2011  return _IMP_algebra.Vector3D___mul__(self, *args)
2012 
2013  def __div__(self, *args):
2014  """__div__(Vector3D self, double s) -> Vector3D"""
2015  return _IMP_algebra.Vector3D___div__(self, *args)
2016 
2017  def __neg__(self):
2018  """__neg__(Vector3D self) -> Vector3D"""
2019  return _IMP_algebra.Vector3D___neg__(self)
2020 
2021  def __sub__(self, *args):
2022  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2023  return _IMP_algebra.Vector3D___sub__(self, *args)
2024 
2025  def __add__(self, *args):
2026  """__add__(Vector3D self, Vector3D o) -> Vector3D"""
2027  return _IMP_algebra.Vector3D___add__(self, *args)
2028 
2029  def show(self, *args):
2030  """
2031  show(Vector3D self, _ostream out, std::string delim, bool parens=True)
2032  show(Vector3D self, _ostream out, std::string delim)
2033  show(Vector3D self, _ostream out=std::cout)
2034  show(Vector3D self)
2035  """
2036  return _IMP_algebra.Vector3D_show(self, *args)
2037 
2038  def get_dimension(self):
2039  """get_dimension(Vector3D self) -> unsigned int"""
2040  return _IMP_algebra.Vector3D_get_dimension(self)
2041 
2042  def __str__(self):
2043  """__str__(Vector3D self) -> std::string"""
2044  return _IMP_algebra.Vector3D___str__(self)
2045 
2046  def __repr__(self):
2047  """__repr__(Vector3D self) -> std::string"""
2048  return _IMP_algebra.Vector3D___repr__(self)
2049 
2050  def __cmp__(self, *args):
2051  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2052  return _IMP_algebra.Vector3D___cmp__(self, *args)
2053 
2054  def __getitem__(self, *args):
2055  """__getitem__(Vector3D self, unsigned int index) -> double"""
2056  return _IMP_algebra.Vector3D___getitem__(self, *args)
2057 
2058  def __setitem__(self, *args):
2059  """__setitem__(Vector3D self, unsigned int index, double val)"""
2060  return _IMP_algebra.Vector3D___setitem__(self, *args)
2061 
2062  def __iadd__(self, *args):
2063  _IMP_algebra.Vector3D___iadd__(self, *args)
2064  return self
2065 
2066 
2067  def __imul__(self, *args):
2068  _IMP_algebra.Vector3D___imul__(self, *args)
2069  return self
2070 
2071 
2072  def __idiv__(self, *args):
2073  _IMP_algebra.Vector3D___idiv__(self, *args)
2074  return self
2075 
2076 
2077  def __isub__(self, *args):
2078  _IMP_algebra.Vector3D___isub__(self, *args)
2079  return self
2080 
2081 
2082  def __len__(self):
2083  """__len__(Vector3D self) -> unsigned int"""
2084  return _IMP_algebra.Vector3D___len__(self)
2085 
2086  def __rmul__(self, *args):
2087  """__rmul__(Vector3D self, double f) -> Vector3D"""
2088  return _IMP_algebra.Vector3D___rmul__(self, *args)
2089 
2090  __swig_destroy__ = _IMP_algebra.delete_Vector3D
2091  __del__ = lambda self : None;
2092 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2093 Vector3D_swigregister(Vector3D)
2094 
2095 class Vector4D(_GeometricPrimitive4D):
2096  """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2097  __swig_setmethods__ = {}
2098  for _s in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2099  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector4D, name, value)
2100  __swig_getmethods__ = {}
2101  for _s in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2102  __getattr__ = lambda self, name: _swig_getattr(self, Vector4D, name)
2103  def __init__(self, *args):
2104  """
2105  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2106  __init__(IMP::algebra::VectorD<(4)> self, double x) -> Vector4D
2107  __init__(IMP::algebra::VectorD<(4)> self, double x, double y) -> Vector4D
2108  __init__(IMP::algebra::VectorD<(4)> self, double x, double y, double z) -> Vector4D
2109  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2110  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2111  """
2112  this = _IMP_algebra.new_Vector4D(*args)
2113  try: self.this.append(this)
2114  except: self.this = this
2115  def get_scalar_product(self, *args):
2116  """get_scalar_product(Vector4D self, Vector4D o) -> double"""
2117  return _IMP_algebra.Vector4D_get_scalar_product(self, *args)
2118 
2119  def get_squared_magnitude(self):
2120  """get_squared_magnitude(Vector4D self) -> double"""
2121  return _IMP_algebra.Vector4D_get_squared_magnitude(self)
2122 
2123  def get_magnitude(self):
2124  """get_magnitude(Vector4D self) -> double"""
2125  return _IMP_algebra.Vector4D_get_magnitude(self)
2126 
2127  def get_unit_vector(self):
2128  """get_unit_vector(Vector4D self) -> Vector4D"""
2129  return _IMP_algebra.Vector4D_get_unit_vector(self)
2130 
2131  def __mul__(self, *args):
2132  """
2133  __mul__(Vector4D self, Vector4D o) -> double
2134  __mul__(Vector4D self, double s) -> Vector4D
2135  """
2136  return _IMP_algebra.Vector4D___mul__(self, *args)
2137 
2138  def __div__(self, *args):
2139  """__div__(Vector4D self, double s) -> Vector4D"""
2140  return _IMP_algebra.Vector4D___div__(self, *args)
2141 
2142  def __neg__(self):
2143  """__neg__(Vector4D self) -> Vector4D"""
2144  return _IMP_algebra.Vector4D___neg__(self)
2145 
2146  def __sub__(self, *args):
2147  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2148  return _IMP_algebra.Vector4D___sub__(self, *args)
2149 
2150  def __add__(self, *args):
2151  """__add__(Vector4D self, Vector4D o) -> Vector4D"""
2152  return _IMP_algebra.Vector4D___add__(self, *args)
2153 
2154  def show(self, *args):
2155  """
2156  show(Vector4D self, _ostream out, std::string delim, bool parens=True)
2157  show(Vector4D self, _ostream out, std::string delim)
2158  show(Vector4D self, _ostream out=std::cout)
2159  show(Vector4D self)
2160  """
2161  return _IMP_algebra.Vector4D_show(self, *args)
2162 
2163  def get_dimension(self):
2164  """get_dimension(Vector4D self) -> unsigned int"""
2165  return _IMP_algebra.Vector4D_get_dimension(self)
2166 
2167  def __str__(self):
2168  """__str__(Vector4D self) -> std::string"""
2169  return _IMP_algebra.Vector4D___str__(self)
2170 
2171  def __repr__(self):
2172  """__repr__(Vector4D self) -> std::string"""
2173  return _IMP_algebra.Vector4D___repr__(self)
2174 
2175  def __cmp__(self, *args):
2176  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2177  return _IMP_algebra.Vector4D___cmp__(self, *args)
2178 
2179  def __getitem__(self, *args):
2180  """__getitem__(Vector4D self, unsigned int index) -> double"""
2181  return _IMP_algebra.Vector4D___getitem__(self, *args)
2182 
2183  def __setitem__(self, *args):
2184  """__setitem__(Vector4D self, unsigned int index, double val)"""
2185  return _IMP_algebra.Vector4D___setitem__(self, *args)
2186 
2187  def __iadd__(self, *args):
2188  _IMP_algebra.Vector4D___iadd__(self, *args)
2189  return self
2190 
2191 
2192  def __imul__(self, *args):
2193  _IMP_algebra.Vector4D___imul__(self, *args)
2194  return self
2195 
2196 
2197  def __idiv__(self, *args):
2198  _IMP_algebra.Vector4D___idiv__(self, *args)
2199  return self
2200 
2201 
2202  def __isub__(self, *args):
2203  _IMP_algebra.Vector4D___isub__(self, *args)
2204  return self
2205 
2206 
2207  def __len__(self):
2208  """__len__(Vector4D self) -> unsigned int"""
2209  return _IMP_algebra.Vector4D___len__(self)
2210 
2211  def __rmul__(self, *args):
2212  """__rmul__(Vector4D self, double f) -> Vector4D"""
2213  return _IMP_algebra.Vector4D___rmul__(self, *args)
2214 
2215  __swig_destroy__ = _IMP_algebra.delete_Vector4D
2216  __del__ = lambda self : None;
2217 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2218 Vector4D_swigregister(Vector4D)
2219 
2220 class Vector5D(_GeometricPrimitive5D):
2221  """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2222  __swig_setmethods__ = {}
2223  for _s in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2224  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector5D, name, value)
2225  __swig_getmethods__ = {}
2226  for _s in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2227  __getattr__ = lambda self, name: _swig_getattr(self, Vector5D, name)
2228  def __init__(self, *args):
2229  """
2230  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2231  __init__(IMP::algebra::VectorD<(5)> self, double x) -> Vector5D
2232  __init__(IMP::algebra::VectorD<(5)> self, double x, double y) -> Vector5D
2233  __init__(IMP::algebra::VectorD<(5)> self, double x, double y, double z) -> Vector5D
2234  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3) -> Vector5D
2235  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2236  """
2237  this = _IMP_algebra.new_Vector5D(*args)
2238  try: self.this.append(this)
2239  except: self.this = this
2240  def get_scalar_product(self, *args):
2241  """get_scalar_product(Vector5D self, Vector5D o) -> double"""
2242  return _IMP_algebra.Vector5D_get_scalar_product(self, *args)
2243 
2244  def get_squared_magnitude(self):
2245  """get_squared_magnitude(Vector5D self) -> double"""
2246  return _IMP_algebra.Vector5D_get_squared_magnitude(self)
2247 
2248  def get_magnitude(self):
2249  """get_magnitude(Vector5D self) -> double"""
2250  return _IMP_algebra.Vector5D_get_magnitude(self)
2251 
2252  def get_unit_vector(self):
2253  """get_unit_vector(Vector5D self) -> Vector5D"""
2254  return _IMP_algebra.Vector5D_get_unit_vector(self)
2255 
2256  def __mul__(self, *args):
2257  """
2258  __mul__(Vector5D self, Vector5D o) -> double
2259  __mul__(Vector5D self, double s) -> Vector5D
2260  """
2261  return _IMP_algebra.Vector5D___mul__(self, *args)
2262 
2263  def __div__(self, *args):
2264  """__div__(Vector5D self, double s) -> Vector5D"""
2265  return _IMP_algebra.Vector5D___div__(self, *args)
2266 
2267  def __neg__(self):
2268  """__neg__(Vector5D self) -> Vector5D"""
2269  return _IMP_algebra.Vector5D___neg__(self)
2270 
2271  def __sub__(self, *args):
2272  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2273  return _IMP_algebra.Vector5D___sub__(self, *args)
2274 
2275  def __add__(self, *args):
2276  """__add__(Vector5D self, Vector5D o) -> Vector5D"""
2277  return _IMP_algebra.Vector5D___add__(self, *args)
2278 
2279  def show(self, *args):
2280  """
2281  show(Vector5D self, _ostream out, std::string delim, bool parens=True)
2282  show(Vector5D self, _ostream out, std::string delim)
2283  show(Vector5D self, _ostream out=std::cout)
2284  show(Vector5D self)
2285  """
2286  return _IMP_algebra.Vector5D_show(self, *args)
2287 
2288  def get_dimension(self):
2289  """get_dimension(Vector5D self) -> unsigned int"""
2290  return _IMP_algebra.Vector5D_get_dimension(self)
2291 
2292  def __str__(self):
2293  """__str__(Vector5D self) -> std::string"""
2294  return _IMP_algebra.Vector5D___str__(self)
2295 
2296  def __repr__(self):
2297  """__repr__(Vector5D self) -> std::string"""
2298  return _IMP_algebra.Vector5D___repr__(self)
2299 
2300  def __cmp__(self, *args):
2301  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2302  return _IMP_algebra.Vector5D___cmp__(self, *args)
2303 
2304  def __getitem__(self, *args):
2305  """__getitem__(Vector5D self, unsigned int index) -> double"""
2306  return _IMP_algebra.Vector5D___getitem__(self, *args)
2307 
2308  def __setitem__(self, *args):
2309  """__setitem__(Vector5D self, unsigned int index, double val)"""
2310  return _IMP_algebra.Vector5D___setitem__(self, *args)
2311 
2312  def __iadd__(self, *args):
2313  _IMP_algebra.Vector5D___iadd__(self, *args)
2314  return self
2315 
2316 
2317  def __imul__(self, *args):
2318  _IMP_algebra.Vector5D___imul__(self, *args)
2319  return self
2320 
2321 
2322  def __idiv__(self, *args):
2323  _IMP_algebra.Vector5D___idiv__(self, *args)
2324  return self
2325 
2326 
2327  def __isub__(self, *args):
2328  _IMP_algebra.Vector5D___isub__(self, *args)
2329  return self
2330 
2331 
2332  def __len__(self):
2333  """__len__(Vector5D self) -> unsigned int"""
2334  return _IMP_algebra.Vector5D___len__(self)
2335 
2336  def __rmul__(self, *args):
2337  """__rmul__(Vector5D self, double f) -> Vector5D"""
2338  return _IMP_algebra.Vector5D___rmul__(self, *args)
2339 
2340  __swig_destroy__ = _IMP_algebra.delete_Vector5D
2341  __del__ = lambda self : None;
2342 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2343 Vector5D_swigregister(Vector5D)
2344 
2345 class Vector6D(_GeometricPrimitive6D):
2346  """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2347  __swig_setmethods__ = {}
2348  for _s in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2349  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector6D, name, value)
2350  __swig_getmethods__ = {}
2351  for _s in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2352  __getattr__ = lambda self, name: _swig_getattr(self, Vector6D, name)
2353  def __init__(self, *args):
2354  """
2355  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2356  __init__(IMP::algebra::VectorD<(6)> self, double x) -> Vector6D
2357  __init__(IMP::algebra::VectorD<(6)> self, double x, double y) -> Vector6D
2358  __init__(IMP::algebra::VectorD<(6)> self, double x, double y, double z) -> Vector6D
2359  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3) -> Vector6D
2360  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2361  """
2362  this = _IMP_algebra.new_Vector6D(*args)
2363  try: self.this.append(this)
2364  except: self.this = this
2365  def get_scalar_product(self, *args):
2366  """get_scalar_product(Vector6D self, Vector6D o) -> double"""
2367  return _IMP_algebra.Vector6D_get_scalar_product(self, *args)
2368 
2369  def get_squared_magnitude(self):
2370  """get_squared_magnitude(Vector6D self) -> double"""
2371  return _IMP_algebra.Vector6D_get_squared_magnitude(self)
2372 
2373  def get_magnitude(self):
2374  """get_magnitude(Vector6D self) -> double"""
2375  return _IMP_algebra.Vector6D_get_magnitude(self)
2376 
2377  def get_unit_vector(self):
2378  """get_unit_vector(Vector6D self) -> Vector6D"""
2379  return _IMP_algebra.Vector6D_get_unit_vector(self)
2380 
2381  def __mul__(self, *args):
2382  """
2383  __mul__(Vector6D self, Vector6D o) -> double
2384  __mul__(Vector6D self, double s) -> Vector6D
2385  """
2386  return _IMP_algebra.Vector6D___mul__(self, *args)
2387 
2388  def __div__(self, *args):
2389  """__div__(Vector6D self, double s) -> Vector6D"""
2390  return _IMP_algebra.Vector6D___div__(self, *args)
2391 
2392  def __neg__(self):
2393  """__neg__(Vector6D self) -> Vector6D"""
2394  return _IMP_algebra.Vector6D___neg__(self)
2395 
2396  def __sub__(self, *args):
2397  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2398  return _IMP_algebra.Vector6D___sub__(self, *args)
2399 
2400  def __add__(self, *args):
2401  """__add__(Vector6D self, Vector6D o) -> Vector6D"""
2402  return _IMP_algebra.Vector6D___add__(self, *args)
2403 
2404  def show(self, *args):
2405  """
2406  show(Vector6D self, _ostream out, std::string delim, bool parens=True)
2407  show(Vector6D self, _ostream out, std::string delim)
2408  show(Vector6D self, _ostream out=std::cout)
2409  show(Vector6D self)
2410  """
2411  return _IMP_algebra.Vector6D_show(self, *args)
2412 
2413  def get_dimension(self):
2414  """get_dimension(Vector6D self) -> unsigned int"""
2415  return _IMP_algebra.Vector6D_get_dimension(self)
2416 
2417  def __str__(self):
2418  """__str__(Vector6D self) -> std::string"""
2419  return _IMP_algebra.Vector6D___str__(self)
2420 
2421  def __repr__(self):
2422  """__repr__(Vector6D self) -> std::string"""
2423  return _IMP_algebra.Vector6D___repr__(self)
2424 
2425  def __cmp__(self, *args):
2426  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2427  return _IMP_algebra.Vector6D___cmp__(self, *args)
2428 
2429  def __getitem__(self, *args):
2430  """__getitem__(Vector6D self, unsigned int index) -> double"""
2431  return _IMP_algebra.Vector6D___getitem__(self, *args)
2432 
2433  def __setitem__(self, *args):
2434  """__setitem__(Vector6D self, unsigned int index, double val)"""
2435  return _IMP_algebra.Vector6D___setitem__(self, *args)
2436 
2437  def __iadd__(self, *args):
2438  _IMP_algebra.Vector6D___iadd__(self, *args)
2439  return self
2440 
2441 
2442  def __imul__(self, *args):
2443  _IMP_algebra.Vector6D___imul__(self, *args)
2444  return self
2445 
2446 
2447  def __idiv__(self, *args):
2448  _IMP_algebra.Vector6D___idiv__(self, *args)
2449  return self
2450 
2451 
2452  def __isub__(self, *args):
2453  _IMP_algebra.Vector6D___isub__(self, *args)
2454  return self
2455 
2456 
2457  def __len__(self):
2458  """__len__(Vector6D self) -> unsigned int"""
2459  return _IMP_algebra.Vector6D___len__(self)
2460 
2461  def __rmul__(self, *args):
2462  """__rmul__(Vector6D self, double f) -> Vector6D"""
2463  return _IMP_algebra.Vector6D___rmul__(self, *args)
2464 
2465  __swig_destroy__ = _IMP_algebra.delete_Vector6D
2466  __del__ = lambda self : None;
2467 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2468 Vector6D_swigregister(Vector6D)
2469 
2470 class VectorKD(_GeometricPrimitiveKD):
2471  """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2472  __swig_setmethods__ = {}
2473  for _s in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2474  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorKD, name, value)
2475  __swig_getmethods__ = {}
2476  for _s in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2477  __getattr__ = lambda self, name: _swig_getattr(self, VectorKD, name)
2478  def __init__(self, *args):
2479  """
2480  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2481  __init__(IMP::algebra::VectorD<(-1)> self, double x) -> VectorKD
2482  __init__(IMP::algebra::VectorD<(-1)> self, double x, double y) -> VectorKD
2483  __init__(IMP::algebra::VectorD<(-1)> self, double x, double y, double z) -> VectorKD
2484  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
2485  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2486  """
2487  this = _IMP_algebra.new_VectorKD(*args)
2488  try: self.this.append(this)
2489  except: self.this = this
2490  def get_scalar_product(self, *args):
2491  """get_scalar_product(VectorKD self, VectorKD o) -> double"""
2492  return _IMP_algebra.VectorKD_get_scalar_product(self, *args)
2493 
2494  def get_squared_magnitude(self):
2495  """get_squared_magnitude(VectorKD self) -> double"""
2496  return _IMP_algebra.VectorKD_get_squared_magnitude(self)
2497 
2498  def get_magnitude(self):
2499  """get_magnitude(VectorKD self) -> double"""
2500  return _IMP_algebra.VectorKD_get_magnitude(self)
2501 
2502  def get_unit_vector(self):
2503  """get_unit_vector(VectorKD self) -> VectorKD"""
2504  return _IMP_algebra.VectorKD_get_unit_vector(self)
2505 
2506  def __mul__(self, *args):
2507  """
2508  __mul__(VectorKD self, VectorKD o) -> double
2509  __mul__(VectorKD self, double s) -> VectorKD
2510  """
2511  return _IMP_algebra.VectorKD___mul__(self, *args)
2512 
2513  def __div__(self, *args):
2514  """__div__(VectorKD self, double s) -> VectorKD"""
2515  return _IMP_algebra.VectorKD___div__(self, *args)
2516 
2517  def __neg__(self):
2518  """__neg__(VectorKD self) -> VectorKD"""
2519  return _IMP_algebra.VectorKD___neg__(self)
2520 
2521  def __sub__(self, *args):
2522  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2523  return _IMP_algebra.VectorKD___sub__(self, *args)
2524 
2525  def __add__(self, *args):
2526  """__add__(VectorKD self, VectorKD o) -> VectorKD"""
2527  return _IMP_algebra.VectorKD___add__(self, *args)
2528 
2529  def show(self, *args):
2530  """
2531  show(VectorKD self, _ostream out, std::string delim, bool parens=True)
2532  show(VectorKD self, _ostream out, std::string delim)
2533  show(VectorKD self, _ostream out=std::cout)
2534  show(VectorKD self)
2535  """
2536  return _IMP_algebra.VectorKD_show(self, *args)
2537 
2538  def get_dimension(self):
2539  """get_dimension(VectorKD self) -> unsigned int"""
2540  return _IMP_algebra.VectorKD_get_dimension(self)
2541 
2542  def __str__(self):
2543  """__str__(VectorKD self) -> std::string"""
2544  return _IMP_algebra.VectorKD___str__(self)
2545 
2546  def __repr__(self):
2547  """__repr__(VectorKD self) -> std::string"""
2548  return _IMP_algebra.VectorKD___repr__(self)
2549 
2550  def __cmp__(self, *args):
2551  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2552  return _IMP_algebra.VectorKD___cmp__(self, *args)
2553 
2554  def __getitem__(self, *args):
2555  """__getitem__(VectorKD self, unsigned int index) -> double"""
2556  return _IMP_algebra.VectorKD___getitem__(self, *args)
2557 
2558  def __setitem__(self, *args):
2559  """__setitem__(VectorKD self, unsigned int index, double val)"""
2560  return _IMP_algebra.VectorKD___setitem__(self, *args)
2561 
2562  def __iadd__(self, *args):
2563  _IMP_algebra.VectorKD___iadd__(self, *args)
2564  return self
2565 
2566 
2567  def __imul__(self, *args):
2568  _IMP_algebra.VectorKD___imul__(self, *args)
2569  return self
2570 
2571 
2572  def __idiv__(self, *args):
2573  _IMP_algebra.VectorKD___idiv__(self, *args)
2574  return self
2575 
2576 
2577  def __isub__(self, *args):
2578  _IMP_algebra.VectorKD___isub__(self, *args)
2579  return self
2580 
2581 
2582  def __len__(self):
2583  """__len__(VectorKD self) -> unsigned int"""
2584  return _IMP_algebra.VectorKD___len__(self)
2585 
2586  def __rmul__(self, *args):
2587  """__rmul__(VectorKD self, double f) -> VectorKD"""
2588  return _IMP_algebra.VectorKD___rmul__(self, *args)
2589 
2590  __swig_destroy__ = _IMP_algebra.delete_VectorKD
2591  __del__ = lambda self : None;
2592 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2593 VectorKD_swigregister(VectorKD)
2594 
2595 class VectorInput1D(Vector1D,IMP.base._InputAdaptor):
2596  """Proxy of C++ IMP::algebra::VectorInputD<(1)> class"""
2597  __swig_setmethods__ = {}
2598  for _s in [Vector1D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2599  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput1D, name, value)
2600  __swig_getmethods__ = {}
2601  for _s in [Vector1D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2602  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput1D, name)
2603  __repr__ = _swig_repr
2604  def __init__(self, *args):
2605  """
2606  __init__(IMP::algebra::VectorInputD<(1)> self, Vector1D v) -> VectorInput1D
2607  __init__(IMP::algebra::VectorInputD<(1)> self, IMP::Floats const & v) -> VectorInput1D
2608  __init__(IMP::algebra::VectorInputD<(1)> self, double v) -> VectorInput1D
2609  """
2610  this = _IMP_algebra.new_VectorInput1D(*args)
2611  try: self.this.append(this)
2612  except: self.this = this
2613  __swig_destroy__ = _IMP_algebra.delete_VectorInput1D
2614  __del__ = lambda self : None;
2615 VectorInput1D_swigregister = _IMP_algebra.VectorInput1D_swigregister
2616 VectorInput1D_swigregister(VectorInput1D)
2617 
2618 class VectorInput2D(Vector2D,IMP.base._InputAdaptor):
2619  """Proxy of C++ IMP::algebra::VectorInputD<(2)> class"""
2620  __swig_setmethods__ = {}
2621  for _s in [Vector2D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2622  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput2D, name, value)
2623  __swig_getmethods__ = {}
2624  for _s in [Vector2D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2625  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput2D, name)
2626  def __init__(self, *args):
2627  """
2628  __init__(IMP::algebra::VectorInputD<(2)> self, Vector2D v) -> VectorInput2D
2629  __init__(IMP::algebra::VectorInputD<(2)> self, IMP::Floats const & v) -> VectorInput2D
2630  """
2631  this = _IMP_algebra.new_VectorInput2D(*args)
2632  try: self.this.append(this)
2633  except: self.this = this
2634  def __str__(self):
2635  """__str__(VectorInput2D self) -> std::string"""
2636  return _IMP_algebra.VectorInput2D___str__(self)
2637 
2638  def __repr__(self):
2639  """__repr__(VectorInput2D self) -> std::string"""
2640  return _IMP_algebra.VectorInput2D___repr__(self)
2641 
2642  def __cmp__(self, *args):
2643  """__cmp__(VectorInput2D self, VectorInput2D arg2) -> int"""
2644  return _IMP_algebra.VectorInput2D___cmp__(self, *args)
2645 
2646  __swig_destroy__ = _IMP_algebra.delete_VectorInput2D
2647  __del__ = lambda self : None;
2648 VectorInput2D_swigregister = _IMP_algebra.VectorInput2D_swigregister
2649 VectorInput2D_swigregister(VectorInput2D)
2650 
2651 class VectorInput3D(Vector3D,IMP.base._InputAdaptor):
2652  """Proxy of C++ IMP::algebra::VectorInputD<(3)> class"""
2653  __swig_setmethods__ = {}
2654  for _s in [Vector3D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2655  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput3D, name, value)
2656  __swig_getmethods__ = {}
2657  for _s in [Vector3D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2658  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput3D, name)
2659  def __init__(self, *args):
2660  """
2661  __init__(IMP::algebra::VectorInputD<(3)> self, Vector3D v) -> VectorInput3D
2662  __init__(IMP::algebra::VectorInputD<(3)> self, IMP::Floats const & v) -> VectorInput3D
2663  """
2664  this = _IMP_algebra.new_VectorInput3D(*args)
2665  try: self.this.append(this)
2666  except: self.this = this
2667  def __str__(self):
2668  """__str__(VectorInput3D self) -> std::string"""
2669  return _IMP_algebra.VectorInput3D___str__(self)
2670 
2671  def __repr__(self):
2672  """__repr__(VectorInput3D self) -> std::string"""
2673  return _IMP_algebra.VectorInput3D___repr__(self)
2674 
2675  def __cmp__(self, *args):
2676  """__cmp__(VectorInput3D self, VectorInput3D arg2) -> int"""
2677  return _IMP_algebra.VectorInput3D___cmp__(self, *args)
2678 
2679  __swig_destroy__ = _IMP_algebra.delete_VectorInput3D
2680  __del__ = lambda self : None;
2681 VectorInput3D_swigregister = _IMP_algebra.VectorInput3D_swigregister
2682 VectorInput3D_swigregister(VectorInput3D)
2683 
2684 class VectorInput4D(Vector4D,IMP.base._InputAdaptor):
2685  """Proxy of C++ IMP::algebra::VectorInputD<(4)> class"""
2686  __swig_setmethods__ = {}
2687  for _s in [Vector4D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2688  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput4D, name, value)
2689  __swig_getmethods__ = {}
2690  for _s in [Vector4D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2691  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput4D, name)
2692  def __init__(self, *args):
2693  """
2694  __init__(IMP::algebra::VectorInputD<(4)> self, Vector4D v) -> VectorInput4D
2695  __init__(IMP::algebra::VectorInputD<(4)> self, IMP::Floats const & v) -> VectorInput4D
2696  """
2697  this = _IMP_algebra.new_VectorInput4D(*args)
2698  try: self.this.append(this)
2699  except: self.this = this
2700  def __str__(self):
2701  """__str__(VectorInput4D self) -> std::string"""
2702  return _IMP_algebra.VectorInput4D___str__(self)
2703 
2704  def __repr__(self):
2705  """__repr__(VectorInput4D self) -> std::string"""
2706  return _IMP_algebra.VectorInput4D___repr__(self)
2707 
2708  def __cmp__(self, *args):
2709  """__cmp__(VectorInput4D self, VectorInput4D arg2) -> int"""
2710  return _IMP_algebra.VectorInput4D___cmp__(self, *args)
2711 
2712  __swig_destroy__ = _IMP_algebra.delete_VectorInput4D
2713  __del__ = lambda self : None;
2714 VectorInput4D_swigregister = _IMP_algebra.VectorInput4D_swigregister
2715 VectorInput4D_swigregister(VectorInput4D)
2716 
2717 class VectorInput5D(Vector5D,IMP.base._InputAdaptor):
2718  """Proxy of C++ IMP::algebra::VectorInputD<(5)> class"""
2719  __swig_setmethods__ = {}
2720  for _s in [Vector5D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2721  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput5D, name, value)
2722  __swig_getmethods__ = {}
2723  for _s in [Vector5D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2724  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput5D, name)
2725  def __init__(self, *args):
2726  """
2727  __init__(IMP::algebra::VectorInputD<(5)> self, Vector5D v) -> VectorInput5D
2728  __init__(IMP::algebra::VectorInputD<(5)> self, IMP::Floats const & v) -> VectorInput5D
2729  """
2730  this = _IMP_algebra.new_VectorInput5D(*args)
2731  try: self.this.append(this)
2732  except: self.this = this
2733  def __str__(self):
2734  """__str__(VectorInput5D self) -> std::string"""
2735  return _IMP_algebra.VectorInput5D___str__(self)
2736 
2737  def __repr__(self):
2738  """__repr__(VectorInput5D self) -> std::string"""
2739  return _IMP_algebra.VectorInput5D___repr__(self)
2740 
2741  def __cmp__(self, *args):
2742  """__cmp__(VectorInput5D self, VectorInput5D arg2) -> int"""
2743  return _IMP_algebra.VectorInput5D___cmp__(self, *args)
2744 
2745  __swig_destroy__ = _IMP_algebra.delete_VectorInput5D
2746  __del__ = lambda self : None;
2747 VectorInput5D_swigregister = _IMP_algebra.VectorInput5D_swigregister
2748 VectorInput5D_swigregister(VectorInput5D)
2749 
2750 class VectorInput6D(Vector6D,IMP.base._InputAdaptor):
2751  """Proxy of C++ IMP::algebra::VectorInputD<(6)> class"""
2752  __swig_setmethods__ = {}
2753  for _s in [Vector6D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2754  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput6D, name, value)
2755  __swig_getmethods__ = {}
2756  for _s in [Vector6D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2757  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput6D, name)
2758  def __init__(self, *args):
2759  """
2760  __init__(IMP::algebra::VectorInputD<(6)> self, Vector6D v) -> VectorInput6D
2761  __init__(IMP::algebra::VectorInputD<(6)> self, IMP::Floats const & v) -> VectorInput6D
2762  """
2763  this = _IMP_algebra.new_VectorInput6D(*args)
2764  try: self.this.append(this)
2765  except: self.this = this
2766  def __str__(self):
2767  """__str__(VectorInput6D self) -> std::string"""
2768  return _IMP_algebra.VectorInput6D___str__(self)
2769 
2770  def __repr__(self):
2771  """__repr__(VectorInput6D self) -> std::string"""
2772  return _IMP_algebra.VectorInput6D___repr__(self)
2773 
2774  def __cmp__(self, *args):
2775  """__cmp__(VectorInput6D self, VectorInput6D arg2) -> int"""
2776  return _IMP_algebra.VectorInput6D___cmp__(self, *args)
2777 
2778  __swig_destroy__ = _IMP_algebra.delete_VectorInput6D
2779  __del__ = lambda self : None;
2780 VectorInput6D_swigregister = _IMP_algebra.VectorInput6D_swigregister
2781 VectorInput6D_swigregister(VectorInput6D)
2782 
2783 class VectorInputKD(VectorKD,IMP.base._InputAdaptor):
2784  """Proxy of C++ IMP::algebra::VectorInputD<(-1)> class"""
2785  __swig_setmethods__ = {}
2786  for _s in [VectorKD,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2787  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInputKD, name, value)
2788  __swig_getmethods__ = {}
2789  for _s in [VectorKD,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2790  __getattr__ = lambda self, name: _swig_getattr(self, VectorInputKD, name)
2791  def __init__(self, *args):
2792  """
2793  __init__(IMP::algebra::VectorInputD<(-1)> self, VectorKD v) -> VectorInputKD
2794  __init__(IMP::algebra::VectorInputD<(-1)> self, IMP::Floats const & v) -> VectorInputKD
2795  """
2796  this = _IMP_algebra.new_VectorInputKD(*args)
2797  try: self.this.append(this)
2798  except: self.this = this
2799  def __str__(self):
2800  """__str__(VectorInputKD self) -> std::string"""
2801  return _IMP_algebra.VectorInputKD___str__(self)
2802 
2803  def __repr__(self):
2804  """__repr__(VectorInputKD self) -> std::string"""
2805  return _IMP_algebra.VectorInputKD___repr__(self)
2806 
2807  def __cmp__(self, *args):
2808  """__cmp__(VectorInputKD self, VectorInputKD arg2) -> int"""
2809  return _IMP_algebra.VectorInputKD___cmp__(self, *args)
2810 
2811  __swig_destroy__ = _IMP_algebra.delete_VectorInputKD
2812  __del__ = lambda self : None;
2813 VectorInputKD_swigregister = _IMP_algebra.VectorInputKD_swigregister
2814 VectorInputKD_swigregister(VectorInputKD)
2815 
2816 class BoundingBox1D(_object):
2817  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2818  __swig_setmethods__ = {}
2819  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox1D, name, value)
2820  __swig_getmethods__ = {}
2821  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox1D, name)
2822  def __init__(self, *args):
2823  """
2824  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2825  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2826  __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D lb, VectorInput1D ub) -> BoundingBox1D
2827  __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D v) -> BoundingBox1D
2828  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2829  """
2830  this = _IMP_algebra.new_BoundingBox1D(*args)
2831  try: self.this.append(this)
2832  except: self.this = this
2833  def get_dimension(self):
2834  """get_dimension(BoundingBox1D self) -> unsigned int"""
2835  return _IMP_algebra.BoundingBox1D_get_dimension(self)
2836 
2837  def get_corner(self, *args):
2838  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2839  return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2840 
2841  def get_contains(self, *args):
2842  """
2843  get_contains(BoundingBox1D self, Vector1D o) -> bool
2844  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2845  """
2846  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2847 
2848  def show(self, *args):
2849  """
2850  show(BoundingBox1D self, _ostream out=std::cout)
2851  show(BoundingBox1D self)
2852  """
2853  return _IMP_algebra.BoundingBox1D_show(self, *args)
2854 
2855  def __str__(self):
2856  """__str__(BoundingBox1D self) -> std::string"""
2857  return _IMP_algebra.BoundingBox1D___str__(self)
2858 
2859  def __repr__(self):
2860  """__repr__(BoundingBox1D self) -> std::string"""
2861  return _IMP_algebra.BoundingBox1D___repr__(self)
2862 
2863  def __cmp__(self, *args):
2864  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2865  return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2866 
2867  def __getitem__(self, *args):
2868  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2869  return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2870 
2871  def __iadd__(self, *args):
2872  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2873  return self
2874 
2875 
2876  def __add__(self, *args):
2877  """__add__(BoundingBox1D self, BoundingBox1D o)"""
2878  return _IMP_algebra.BoundingBox1D___add__(self, *args)
2879 
2880  def __len__(self):
2881  """__len__(BoundingBox1D self) -> unsigned int"""
2882  return _IMP_algebra.BoundingBox1D___len__(self)
2883 
2884  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2885  __del__ = lambda self : None;
2886 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2887 BoundingBox1D_swigregister(BoundingBox1D)
2888 
2889 class BoundingBox2D(_object):
2890  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2891  __swig_setmethods__ = {}
2892  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox2D, name, value)
2893  __swig_getmethods__ = {}
2894  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox2D, name)
2895  def __init__(self, *args):
2896  """
2897  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2898  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2899  __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D lb, VectorInput2D ub) -> BoundingBox2D
2900  __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D v) -> BoundingBox2D
2901  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2902  """
2903  this = _IMP_algebra.new_BoundingBox2D(*args)
2904  try: self.this.append(this)
2905  except: self.this = this
2906  def get_dimension(self):
2907  """get_dimension(BoundingBox2D self) -> unsigned int"""
2908  return _IMP_algebra.BoundingBox2D_get_dimension(self)
2909 
2910  def get_corner(self, *args):
2911  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2912  return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2913 
2914  def get_contains(self, *args):
2915  """
2916  get_contains(BoundingBox2D self, Vector2D o) -> bool
2917  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2918  """
2919  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2920 
2921  def show(self, *args):
2922  """
2923  show(BoundingBox2D self, _ostream out=std::cout)
2924  show(BoundingBox2D self)
2925  """
2926  return _IMP_algebra.BoundingBox2D_show(self, *args)
2927 
2928  def __str__(self):
2929  """__str__(BoundingBox2D self) -> std::string"""
2930  return _IMP_algebra.BoundingBox2D___str__(self)
2931 
2932  def __repr__(self):
2933  """__repr__(BoundingBox2D self) -> std::string"""
2934  return _IMP_algebra.BoundingBox2D___repr__(self)
2935 
2936  def __cmp__(self, *args):
2937  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2938  return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2939 
2940  def __getitem__(self, *args):
2941  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2942  return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2943 
2944  def __iadd__(self, *args):
2945  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2946  return self
2947 
2948 
2949  def __add__(self, *args):
2950  """__add__(BoundingBox2D self, BoundingBox2D o)"""
2951  return _IMP_algebra.BoundingBox2D___add__(self, *args)
2952 
2953  def __len__(self):
2954  """__len__(BoundingBox2D self) -> unsigned int"""
2955  return _IMP_algebra.BoundingBox2D___len__(self)
2956 
2957  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2958  __del__ = lambda self : None;
2959 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2960 BoundingBox2D_swigregister(BoundingBox2D)
2961 
2962 class BoundingBox3D(_object):
2963  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2964  __swig_setmethods__ = {}
2965  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox3D, name, value)
2966  __swig_getmethods__ = {}
2967  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox3D, name)
2968  def __init__(self, *args):
2969  """
2970  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2971  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2972  __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D lb, VectorInput3D ub) -> BoundingBox3D
2973  __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D v) -> BoundingBox3D
2974  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2975  """
2976  this = _IMP_algebra.new_BoundingBox3D(*args)
2977  try: self.this.append(this)
2978  except: self.this = this
2979  def get_dimension(self):
2980  """get_dimension(BoundingBox3D self) -> unsigned int"""
2981  return _IMP_algebra.BoundingBox3D_get_dimension(self)
2982 
2983  def get_corner(self, *args):
2984  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2985  return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2986 
2987  def get_contains(self, *args):
2988  """
2989  get_contains(BoundingBox3D self, Vector3D o) -> bool
2990  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2991  """
2992  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2993 
2994  def show(self, *args):
2995  """
2996  show(BoundingBox3D self, _ostream out=std::cout)
2997  show(BoundingBox3D self)
2998  """
2999  return _IMP_algebra.BoundingBox3D_show(self, *args)
3000 
3001  def __str__(self):
3002  """__str__(BoundingBox3D self) -> std::string"""
3003  return _IMP_algebra.BoundingBox3D___str__(self)
3004 
3005  def __repr__(self):
3006  """__repr__(BoundingBox3D self) -> std::string"""
3007  return _IMP_algebra.BoundingBox3D___repr__(self)
3008 
3009  def __cmp__(self, *args):
3010  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3011  return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
3012 
3013  def __getitem__(self, *args):
3014  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3015  return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
3016 
3017  def __iadd__(self, *args):
3018  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3019  return self
3020 
3021 
3022  def __add__(self, *args):
3023  """__add__(BoundingBox3D self, BoundingBox3D o)"""
3024  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3025 
3026  def __len__(self):
3027  """__len__(BoundingBox3D self) -> unsigned int"""
3028  return _IMP_algebra.BoundingBox3D___len__(self)
3029 
3030  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3031  __del__ = lambda self : None;
3032 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3033 BoundingBox3D_swigregister(BoundingBox3D)
3034 
3035 class BoundingBox4D(_object):
3036  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3037  __swig_setmethods__ = {}
3038  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox4D, name, value)
3039  __swig_getmethods__ = {}
3040  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox4D, name)
3041  def __init__(self, *args):
3042  """
3043  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3044  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3045  __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D lb, VectorInput4D ub) -> BoundingBox4D
3046  __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D v) -> BoundingBox4D
3047  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3048  """
3049  this = _IMP_algebra.new_BoundingBox4D(*args)
3050  try: self.this.append(this)
3051  except: self.this = this
3052  def get_dimension(self):
3053  """get_dimension(BoundingBox4D self) -> unsigned int"""
3054  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3055 
3056  def get_corner(self, *args):
3057  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3058  return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
3059 
3060  def get_contains(self, *args):
3061  """
3062  get_contains(BoundingBox4D self, Vector4D o) -> bool
3063  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3064  """
3065  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3066 
3067  def show(self, *args):
3068  """
3069  show(BoundingBox4D self, _ostream out=std::cout)
3070  show(BoundingBox4D self)
3071  """
3072  return _IMP_algebra.BoundingBox4D_show(self, *args)
3073 
3074  def __str__(self):
3075  """__str__(BoundingBox4D self) -> std::string"""
3076  return _IMP_algebra.BoundingBox4D___str__(self)
3077 
3078  def __repr__(self):
3079  """__repr__(BoundingBox4D self) -> std::string"""
3080  return _IMP_algebra.BoundingBox4D___repr__(self)
3081 
3082  def __cmp__(self, *args):
3083  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3084  return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
3085 
3086  def __getitem__(self, *args):
3087  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3088  return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
3089 
3090  def __iadd__(self, *args):
3091  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3092  return self
3093 
3094 
3095  def __add__(self, *args):
3096  """__add__(BoundingBox4D self, BoundingBox4D o)"""
3097  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3098 
3099  def __len__(self):
3100  """__len__(BoundingBox4D self) -> unsigned int"""
3101  return _IMP_algebra.BoundingBox4D___len__(self)
3102 
3103  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3104  __del__ = lambda self : None;
3105 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3106 BoundingBox4D_swigregister(BoundingBox4D)
3107 
3108 class BoundingBox5D(_object):
3109  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3110  __swig_setmethods__ = {}
3111  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox5D, name, value)
3112  __swig_getmethods__ = {}
3113  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox5D, name)
3114  def __init__(self, *args):
3115  """
3116  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3117  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3118  __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D lb, VectorInput5D ub) -> BoundingBox5D
3119  __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D v) -> BoundingBox5D
3120  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3121  """
3122  this = _IMP_algebra.new_BoundingBox5D(*args)
3123  try: self.this.append(this)
3124  except: self.this = this
3125  def get_dimension(self):
3126  """get_dimension(BoundingBox5D self) -> unsigned int"""
3127  return _IMP_algebra.BoundingBox5D_get_dimension(self)
3128 
3129  def get_corner(self, *args):
3130  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3131  return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
3132 
3133  def get_contains(self, *args):
3134  """
3135  get_contains(BoundingBox5D self, Vector5D o) -> bool
3136  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3137  """
3138  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3139 
3140  def show(self, *args):
3141  """
3142  show(BoundingBox5D self, _ostream out=std::cout)
3143  show(BoundingBox5D self)
3144  """
3145  return _IMP_algebra.BoundingBox5D_show(self, *args)
3146 
3147  def __str__(self):
3148  """__str__(BoundingBox5D self) -> std::string"""
3149  return _IMP_algebra.BoundingBox5D___str__(self)
3150 
3151  def __repr__(self):
3152  """__repr__(BoundingBox5D self) -> std::string"""
3153  return _IMP_algebra.BoundingBox5D___repr__(self)
3154 
3155  def __cmp__(self, *args):
3156  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3157  return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
3158 
3159  def __getitem__(self, *args):
3160  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3161  return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3162 
3163  def __iadd__(self, *args):
3164  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3165  return self
3166 
3167 
3168  def __add__(self, *args):
3169  """__add__(BoundingBox5D self, BoundingBox5D o)"""
3170  return _IMP_algebra.BoundingBox5D___add__(self, *args)
3171 
3172  def __len__(self):
3173  """__len__(BoundingBox5D self) -> unsigned int"""
3174  return _IMP_algebra.BoundingBox5D___len__(self)
3175 
3176  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3177  __del__ = lambda self : None;
3178 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3179 BoundingBox5D_swigregister(BoundingBox5D)
3180 
3181 class BoundingBox6D(_object):
3182  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3183  __swig_setmethods__ = {}
3184  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox6D, name, value)
3185  __swig_getmethods__ = {}
3186  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox6D, name)
3187  def __init__(self, *args):
3188  """
3189  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3190  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3191  __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D lb, VectorInput6D ub) -> BoundingBox6D
3192  __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D v) -> BoundingBox6D
3193  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3194  """
3195  this = _IMP_algebra.new_BoundingBox6D(*args)
3196  try: self.this.append(this)
3197  except: self.this = this
3198  def get_dimension(self):
3199  """get_dimension(BoundingBox6D self) -> unsigned int"""
3200  return _IMP_algebra.BoundingBox6D_get_dimension(self)
3201 
3202  def get_corner(self, *args):
3203  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3204  return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3205 
3206  def get_contains(self, *args):
3207  """
3208  get_contains(BoundingBox6D self, Vector6D o) -> bool
3209  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3210  """
3211  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3212 
3213  def show(self, *args):
3214  """
3215  show(BoundingBox6D self, _ostream out=std::cout)
3216  show(BoundingBox6D self)
3217  """
3218  return _IMP_algebra.BoundingBox6D_show(self, *args)
3219 
3220  def __str__(self):
3221  """__str__(BoundingBox6D self) -> std::string"""
3222  return _IMP_algebra.BoundingBox6D___str__(self)
3223 
3224  def __repr__(self):
3225  """__repr__(BoundingBox6D self) -> std::string"""
3226  return _IMP_algebra.BoundingBox6D___repr__(self)
3227 
3228  def __cmp__(self, *args):
3229  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3230  return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3231 
3232  def __getitem__(self, *args):
3233  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3234  return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3235 
3236  def __iadd__(self, *args):
3237  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3238  return self
3239 
3240 
3241  def __add__(self, *args):
3242  """__add__(BoundingBox6D self, BoundingBox6D o)"""
3243  return _IMP_algebra.BoundingBox6D___add__(self, *args)
3244 
3245  def __len__(self):
3246  """__len__(BoundingBox6D self) -> unsigned int"""
3247  return _IMP_algebra.BoundingBox6D___len__(self)
3248 
3249  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3250  __del__ = lambda self : None;
3251 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3252 BoundingBox6D_swigregister(BoundingBox6D)
3253 
3254 class BoundingBoxKD(_object):
3255  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3256  __swig_setmethods__ = {}
3257  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBoxKD, name, value)
3258  __swig_getmethods__ = {}
3259  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBoxKD, name)
3260  def __init__(self, *args):
3261  """
3262  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3263  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3264  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD lb, VectorInputKD ub) -> BoundingBoxKD
3265  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD v) -> BoundingBoxKD
3266  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3267  """
3268  this = _IMP_algebra.new_BoundingBoxKD(*args)
3269  try: self.this.append(this)
3270  except: self.this = this
3271  def get_dimension(self):
3272  """get_dimension(BoundingBoxKD self) -> unsigned int"""
3273  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3274 
3275  def get_corner(self, *args):
3276  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3277  return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3278 
3279  def get_contains(self, *args):
3280  """
3281  get_contains(BoundingBoxKD self, VectorKD o) -> bool
3282  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3283  """
3284  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3285 
3286  def show(self, *args):
3287  """
3288  show(BoundingBoxKD self, _ostream out=std::cout)
3289  show(BoundingBoxKD self)
3290  """
3291  return _IMP_algebra.BoundingBoxKD_show(self, *args)
3292 
3293  def __str__(self):
3294  """__str__(BoundingBoxKD self) -> std::string"""
3295  return _IMP_algebra.BoundingBoxKD___str__(self)
3296 
3297  def __repr__(self):
3298  """__repr__(BoundingBoxKD self) -> std::string"""
3299  return _IMP_algebra.BoundingBoxKD___repr__(self)
3300 
3301  def __cmp__(self, *args):
3302  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3303  return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3304 
3305  def __getitem__(self, *args):
3306  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3307  return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3308 
3309  def __iadd__(self, *args):
3310  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3311  return self
3312 
3313 
3314  def __add__(self, *args):
3315  """__add__(BoundingBoxKD self, BoundingBoxKD o)"""
3316  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3317 
3318  def __len__(self):
3319  """__len__(BoundingBoxKD self) -> unsigned int"""
3320  return _IMP_algebra.BoundingBoxKD___len__(self)
3321 
3322  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3323  __del__ = lambda self : None;
3324 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3325 BoundingBoxKD_swigregister(BoundingBoxKD)
3326 
3327 class Sphere1D(_GeometricPrimitive1D):
3328  """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3329  __swig_setmethods__ = {}
3330  for _s in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3331  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere1D, name, value)
3332  __swig_getmethods__ = {}
3333  for _s in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3334  __getattr__ = lambda self, name: _swig_getattr(self, Sphere1D, name)
3335  def __init__(self, *args):
3336  """
3337  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3338  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3339  """
3340  this = _IMP_algebra.new_Sphere1D(*args)
3341  try: self.this.append(this)
3342  except: self.this = this
3343  def get_radius(self):
3344  """get_radius(Sphere1D self) -> double"""
3345  return _IMP_algebra.Sphere1D_get_radius(self)
3346 
3347  def get_center(self):
3348  """get_center(Sphere1D self) -> Vector1D"""
3349  return _IMP_algebra.Sphere1D_get_center(self)
3350 
3351  def get_contains(self, *args):
3352  """
3353  get_contains(Sphere1D self, Sphere1D o) -> bool
3354  get_contains(Sphere1D self, Vector1D p) -> bool
3355  """
3356  return _IMP_algebra.Sphere1D_get_contains(self, *args)
3357 
3358  def show(self, *args):
3359  """
3360  show(Sphere1D self, _ostream out=std::cout)
3361  show(Sphere1D self)
3362  """
3363  return _IMP_algebra.Sphere1D_show(self, *args)
3364 
3365  def get_dimension(self):
3366  """get_dimension(Sphere1D self) -> unsigned int"""
3367  return _IMP_algebra.Sphere1D_get_dimension(self)
3368 
3369  def __str__(self):
3370  """__str__(Sphere1D self) -> std::string"""
3371  return _IMP_algebra.Sphere1D___str__(self)
3372 
3373  def __repr__(self):
3374  """__repr__(Sphere1D self) -> std::string"""
3375  return _IMP_algebra.Sphere1D___repr__(self)
3376 
3377  def __cmp__(self, *args):
3378  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3379  return _IMP_algebra.Sphere1D___cmp__(self, *args)
3380 
3381  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3382  __del__ = lambda self : None;
3383 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3384 Sphere1D_swigregister(Sphere1D)
3385 
3386 class Sphere2D(_GeometricPrimitive2D):
3387  """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3388  __swig_setmethods__ = {}
3389  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3390  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere2D, name, value)
3391  __swig_getmethods__ = {}
3392  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3393  __getattr__ = lambda self, name: _swig_getattr(self, Sphere2D, name)
3394  def __init__(self, *args):
3395  """
3396  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3397  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3398  """
3399  this = _IMP_algebra.new_Sphere2D(*args)
3400  try: self.this.append(this)
3401  except: self.this = this
3402  def get_radius(self):
3403  """get_radius(Sphere2D self) -> double"""
3404  return _IMP_algebra.Sphere2D_get_radius(self)
3405 
3406  def get_center(self):
3407  """get_center(Sphere2D self) -> Vector2D"""
3408  return _IMP_algebra.Sphere2D_get_center(self)
3409 
3410  def get_contains(self, *args):
3411  """
3412  get_contains(Sphere2D self, Sphere2D o) -> bool
3413  get_contains(Sphere2D self, Vector2D p) -> bool
3414  """
3415  return _IMP_algebra.Sphere2D_get_contains(self, *args)
3416 
3417  def show(self, *args):
3418  """
3419  show(Sphere2D self, _ostream out=std::cout)
3420  show(Sphere2D self)
3421  """
3422  return _IMP_algebra.Sphere2D_show(self, *args)
3423 
3424  def get_dimension(self):
3425  """get_dimension(Sphere2D self) -> unsigned int"""
3426  return _IMP_algebra.Sphere2D_get_dimension(self)
3427 
3428  def __str__(self):
3429  """__str__(Sphere2D self) -> std::string"""
3430  return _IMP_algebra.Sphere2D___str__(self)
3431 
3432  def __repr__(self):
3433  """__repr__(Sphere2D self) -> std::string"""
3434  return _IMP_algebra.Sphere2D___repr__(self)
3435 
3436  def __cmp__(self, *args):
3437  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3438  return _IMP_algebra.Sphere2D___cmp__(self, *args)
3439 
3440  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3441  __del__ = lambda self : None;
3442 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3443 Sphere2D_swigregister(Sphere2D)
3444 
3445 class Sphere3D(_GeometricPrimitive3D):
3446  """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3447  __swig_setmethods__ = {}
3448  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3449  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere3D, name, value)
3450  __swig_getmethods__ = {}
3451  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3452  __getattr__ = lambda self, name: _swig_getattr(self, Sphere3D, name)
3453  def __init__(self, *args):
3454  """
3455  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3456  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3457  """
3458  this = _IMP_algebra.new_Sphere3D(*args)
3459  try: self.this.append(this)
3460  except: self.this = this
3461  def get_radius(self):
3462  """get_radius(Sphere3D self) -> double"""
3463  return _IMP_algebra.Sphere3D_get_radius(self)
3464 
3465  def get_center(self):
3466  """get_center(Sphere3D self) -> Vector3D"""
3467  return _IMP_algebra.Sphere3D_get_center(self)
3468 
3469  def get_contains(self, *args):
3470  """
3471  get_contains(Sphere3D self, Sphere3D o) -> bool
3472  get_contains(Sphere3D self, Vector3D p) -> bool
3473  """
3474  return _IMP_algebra.Sphere3D_get_contains(self, *args)
3475 
3476  def show(self, *args):
3477  """
3478  show(Sphere3D self, _ostream out=std::cout)
3479  show(Sphere3D self)
3480  """
3481  return _IMP_algebra.Sphere3D_show(self, *args)
3482 
3483  def get_dimension(self):
3484  """get_dimension(Sphere3D self) -> unsigned int"""
3485  return _IMP_algebra.Sphere3D_get_dimension(self)
3486 
3487  def __str__(self):
3488  """__str__(Sphere3D self) -> std::string"""
3489  return _IMP_algebra.Sphere3D___str__(self)
3490 
3491  def __repr__(self):
3492  """__repr__(Sphere3D self) -> std::string"""
3493  return _IMP_algebra.Sphere3D___repr__(self)
3494 
3495  def __cmp__(self, *args):
3496  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3497  return _IMP_algebra.Sphere3D___cmp__(self, *args)
3498 
3499  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3500  __del__ = lambda self : None;
3501 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3502 Sphere3D_swigregister(Sphere3D)
3503 
3504 class Sphere4D(_GeometricPrimitive4D):
3505  """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3506  __swig_setmethods__ = {}
3507  for _s in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3508  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere4D, name, value)
3509  __swig_getmethods__ = {}
3510  for _s in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3511  __getattr__ = lambda self, name: _swig_getattr(self, Sphere4D, name)
3512  def __init__(self, *args):
3513  """
3514  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3515  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3516  """
3517  this = _IMP_algebra.new_Sphere4D(*args)
3518  try: self.this.append(this)
3519  except: self.this = this
3520  def get_radius(self):
3521  """get_radius(Sphere4D self) -> double"""
3522  return _IMP_algebra.Sphere4D_get_radius(self)
3523 
3524  def get_center(self):
3525  """get_center(Sphere4D self) -> Vector4D"""
3526  return _IMP_algebra.Sphere4D_get_center(self)
3527 
3528  def get_contains(self, *args):
3529  """
3530  get_contains(Sphere4D self, Sphere4D o) -> bool
3531  get_contains(Sphere4D self, Vector4D p) -> bool
3532  """
3533  return _IMP_algebra.Sphere4D_get_contains(self, *args)
3534 
3535  def show(self, *args):
3536  """
3537  show(Sphere4D self, _ostream out=std::cout)
3538  show(Sphere4D self)
3539  """
3540  return _IMP_algebra.Sphere4D_show(self, *args)
3541 
3542  def get_dimension(self):
3543  """get_dimension(Sphere4D self) -> unsigned int"""
3544  return _IMP_algebra.Sphere4D_get_dimension(self)
3545 
3546  def __str__(self):
3547  """__str__(Sphere4D self) -> std::string"""
3548  return _IMP_algebra.Sphere4D___str__(self)
3549 
3550  def __repr__(self):
3551  """__repr__(Sphere4D self) -> std::string"""
3552  return _IMP_algebra.Sphere4D___repr__(self)
3553 
3554  def __cmp__(self, *args):
3555  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3556  return _IMP_algebra.Sphere4D___cmp__(self, *args)
3557 
3558  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3559  __del__ = lambda self : None;
3560 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3561 Sphere4D_swigregister(Sphere4D)
3562 
3563 class Sphere5D(_GeometricPrimitive5D):
3564  """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3565  __swig_setmethods__ = {}
3566  for _s in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3567  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere5D, name, value)
3568  __swig_getmethods__ = {}
3569  for _s in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3570  __getattr__ = lambda self, name: _swig_getattr(self, Sphere5D, name)
3571  def __init__(self, *args):
3572  """
3573  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3574  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3575  """
3576  this = _IMP_algebra.new_Sphere5D(*args)
3577  try: self.this.append(this)
3578  except: self.this = this
3579  def get_radius(self):
3580  """get_radius(Sphere5D self) -> double"""
3581  return _IMP_algebra.Sphere5D_get_radius(self)
3582 
3583  def get_center(self):
3584  """get_center(Sphere5D self) -> Vector5D"""
3585  return _IMP_algebra.Sphere5D_get_center(self)
3586 
3587  def get_contains(self, *args):
3588  """
3589  get_contains(Sphere5D self, Sphere5D o) -> bool
3590  get_contains(Sphere5D self, Vector5D p) -> bool
3591  """
3592  return _IMP_algebra.Sphere5D_get_contains(self, *args)
3593 
3594  def show(self, *args):
3595  """
3596  show(Sphere5D self, _ostream out=std::cout)
3597  show(Sphere5D self)
3598  """
3599  return _IMP_algebra.Sphere5D_show(self, *args)
3600 
3601  def get_dimension(self):
3602  """get_dimension(Sphere5D self) -> unsigned int"""
3603  return _IMP_algebra.Sphere5D_get_dimension(self)
3604 
3605  def __str__(self):
3606  """__str__(Sphere5D self) -> std::string"""
3607  return _IMP_algebra.Sphere5D___str__(self)
3608 
3609  def __repr__(self):
3610  """__repr__(Sphere5D self) -> std::string"""
3611  return _IMP_algebra.Sphere5D___repr__(self)
3612 
3613  def __cmp__(self, *args):
3614  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3615  return _IMP_algebra.Sphere5D___cmp__(self, *args)
3616 
3617  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3618  __del__ = lambda self : None;
3619 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3620 Sphere5D_swigregister(Sphere5D)
3621 
3622 class Sphere6D(_GeometricPrimitive6D):
3623  """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3624  __swig_setmethods__ = {}
3625  for _s in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3626  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere6D, name, value)
3627  __swig_getmethods__ = {}
3628  for _s in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3629  __getattr__ = lambda self, name: _swig_getattr(self, Sphere6D, name)
3630  def __init__(self, *args):
3631  """
3632  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3633  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3634  """
3635  this = _IMP_algebra.new_Sphere6D(*args)
3636  try: self.this.append(this)
3637  except: self.this = this
3638  def get_radius(self):
3639  """get_radius(Sphere6D self) -> double"""
3640  return _IMP_algebra.Sphere6D_get_radius(self)
3641 
3642  def get_center(self):
3643  """get_center(Sphere6D self) -> Vector6D"""
3644  return _IMP_algebra.Sphere6D_get_center(self)
3645 
3646  def get_contains(self, *args):
3647  """
3648  get_contains(Sphere6D self, Sphere6D o) -> bool
3649  get_contains(Sphere6D self, Vector6D p) -> bool
3650  """
3651  return _IMP_algebra.Sphere6D_get_contains(self, *args)
3652 
3653  def show(self, *args):
3654  """
3655  show(Sphere6D self, _ostream out=std::cout)
3656  show(Sphere6D self)
3657  """
3658  return _IMP_algebra.Sphere6D_show(self, *args)
3659 
3660  def get_dimension(self):
3661  """get_dimension(Sphere6D self) -> unsigned int"""
3662  return _IMP_algebra.Sphere6D_get_dimension(self)
3663 
3664  def __str__(self):
3665  """__str__(Sphere6D self) -> std::string"""
3666  return _IMP_algebra.Sphere6D___str__(self)
3667 
3668  def __repr__(self):
3669  """__repr__(Sphere6D self) -> std::string"""
3670  return _IMP_algebra.Sphere6D___repr__(self)
3671 
3672  def __cmp__(self, *args):
3673  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3674  return _IMP_algebra.Sphere6D___cmp__(self, *args)
3675 
3676  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3677  __del__ = lambda self : None;
3678 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3679 Sphere6D_swigregister(Sphere6D)
3680 
3681 class SphereKD(_GeometricPrimitiveKD):
3682  """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3683  __swig_setmethods__ = {}
3684  for _s in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3685  __setattr__ = lambda self, name, value: _swig_setattr(self, SphereKD, name, value)
3686  __swig_getmethods__ = {}
3687  for _s in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3688  __getattr__ = lambda self, name: _swig_getattr(self, SphereKD, name)
3689  def __init__(self, *args):
3690  """
3691  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3692  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3693  """
3694  this = _IMP_algebra.new_SphereKD(*args)
3695  try: self.this.append(this)
3696  except: self.this = this
3697  def get_radius(self):
3698  """get_radius(SphereKD self) -> double"""
3699  return _IMP_algebra.SphereKD_get_radius(self)
3700 
3701  def get_center(self):
3702  """get_center(SphereKD self) -> VectorKD"""
3703  return _IMP_algebra.SphereKD_get_center(self)
3704 
3705  def get_contains(self, *args):
3706  """
3707  get_contains(SphereKD self, SphereKD o) -> bool
3708  get_contains(SphereKD self, VectorKD p) -> bool
3709  """
3710  return _IMP_algebra.SphereKD_get_contains(self, *args)
3711 
3712  def show(self, *args):
3713  """
3714  show(SphereKD self, _ostream out=std::cout)
3715  show(SphereKD self)
3716  """
3717  return _IMP_algebra.SphereKD_show(self, *args)
3718 
3719  def get_dimension(self):
3720  """get_dimension(SphereKD self) -> unsigned int"""
3721  return _IMP_algebra.SphereKD_get_dimension(self)
3722 
3723  def __str__(self):
3724  """__str__(SphereKD self) -> std::string"""
3725  return _IMP_algebra.SphereKD___str__(self)
3726 
3727  def __repr__(self):
3728  """__repr__(SphereKD self) -> std::string"""
3729  return _IMP_algebra.SphereKD___repr__(self)
3730 
3731  def __cmp__(self, *args):
3732  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3733  return _IMP_algebra.SphereKD___cmp__(self, *args)
3734 
3735  __swig_destroy__ = _IMP_algebra.delete_SphereKD
3736  __del__ = lambda self : None;
3737 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3738 SphereKD_swigregister(SphereKD)
3739 
3740 class ReferenceFrame3D(_object):
3741  """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3742  __swig_setmethods__ = {}
3743  __setattr__ = lambda self, name, value: _swig_setattr(self, ReferenceFrame3D, name, value)
3744  __swig_getmethods__ = {}
3745  __getattr__ = lambda self, name: _swig_getattr(self, ReferenceFrame3D, name)
3746  def __init__(self, *args):
3747  """
3748  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3749  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3750  """
3751  this = _IMP_algebra.new_ReferenceFrame3D(*args)
3752  try: self.this.append(this)
3753  except: self.this = this
3754  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3755  __del__ = lambda self : None;
3756  def get_transformation_to(self):
3757  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3758  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3759 
3760  def get_transformation_from(self):
3761  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3762  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3763 
3764  def get_global_coordinates(self, *args):
3765  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3766  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3767 
3768  def get_local_coordinates(self, *args):
3769  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3770  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3771 
3772  def get_global_reference_frame(self, *args):
3773  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3774  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3775 
3776  def get_local_reference_frame(self, *args):
3777  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3778  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3779 
3780  def show(self, *args):
3781  """
3782  show(ReferenceFrame3D self, _ostream out=std::cout)
3783  show(ReferenceFrame3D self)
3784  """
3785  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3786 
3787  def __str__(self):
3788  """__str__(ReferenceFrame3D self) -> std::string"""
3789  return _IMP_algebra.ReferenceFrame3D___str__(self)
3790 
3791  def __repr__(self):
3792  """__repr__(ReferenceFrame3D self) -> std::string"""
3793  return _IMP_algebra.ReferenceFrame3D___repr__(self)
3794 
3795 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3796 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3797 
3798 
3799 def get_transformed(*args):
3800  """
3801  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3802  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3803  """
3804  return _IMP_algebra.get_transformed(*args)
3805 
3806 def get_transformation_from_first_to_second(*args):
3807  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3808  return _IMP_algebra.get_transformation_from_first_to_second(*args)
3809 class SphericalVector3D(_GeometricPrimitive3D):
3810  """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3811  __swig_setmethods__ = {}
3812  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3813  __setattr__ = lambda self, name, value: _swig_setattr(self, SphericalVector3D, name, value)
3814  __swig_getmethods__ = {}
3815  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3816  __getattr__ = lambda self, name: _swig_getattr(self, SphericalVector3D, name)
3817  def __init__(self, *args):
3818  """
3819  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3820  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3821  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3822  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3823  """
3824  this = _IMP_algebra.new_SphericalVector3D(*args)
3825  try: self.this.append(this)
3826  except: self.this = this
3827  def get_cartesian_coordinates(self):
3828  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3829  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3830 
3831  def show(self, *args):
3832  """
3833  show(SphericalVector3D self, _ostream out=std::cout)
3834  show(SphericalVector3D self)
3835  """
3836  return _IMP_algebra.SphericalVector3D_show(self, *args)
3837 
3838  def __str__(self):
3839  """__str__(SphericalVector3D self) -> std::string"""
3840  return _IMP_algebra.SphericalVector3D___str__(self)
3841 
3842  def __repr__(self):
3843  """__repr__(SphericalVector3D self) -> std::string"""
3844  return _IMP_algebra.SphericalVector3D___repr__(self)
3845 
3846  def __getitem__(self, *args):
3847  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3848  return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3849 
3850  def __setitem__(self, *args):
3851  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3852  return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3853 
3854  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3855  __del__ = lambda self : None;
3856 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3857 SphericalVector3D_swigregister(SphericalVector3D)
3858 
3859 
3861  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3862  return _IMP_algebra.get_alignments_from_first_to_second(*args)
3863 class Segment3D(_GeometricPrimitive3D):
3864  """Proxy of C++ IMP::algebra::Segment3D class"""
3865  __swig_setmethods__ = {}
3866  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3867  __setattr__ = lambda self, name, value: _swig_setattr(self, Segment3D, name, value)
3868  __swig_getmethods__ = {}
3869  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3870  __getattr__ = lambda self, name: _swig_getattr(self, Segment3D, name)
3871  def __init__(self, *args):
3872  """
3873  __init__(IMP::algebra::Segment3D self) -> Segment3D
3874  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3875  """
3876  this = _IMP_algebra.new_Segment3D(*args)
3877  try: self.this.append(this)
3878  except: self.this = this
3879  def get_point(self, *args):
3880  """get_point(Segment3D self, unsigned int i) -> Vector3D"""
3881  return _IMP_algebra.Segment3D_get_point(self, *args)
3882 
3883  def get_middle_point(self):
3884  """get_middle_point(Segment3D self) -> Vector3D"""
3885  return _IMP_algebra.Segment3D_get_middle_point(self)
3886 
3887  def get_direction(self):
3888  """get_direction(Segment3D self) -> Vector3D"""
3889  return _IMP_algebra.Segment3D_get_direction(self)
3890 
3891  def get_length(self):
3892  """get_length(Segment3D self) -> double"""
3893  return _IMP_algebra.Segment3D_get_length(self)
3894 
3895  def show(self, *args):
3896  """
3897  show(Segment3D self, _ostream out=std::cout)
3898  show(Segment3D self)
3899  """
3900  return _IMP_algebra.Segment3D_show(self, *args)
3901 
3902  def __str__(self):
3903  """__str__(Segment3D self) -> std::string"""
3904  return _IMP_algebra.Segment3D___str__(self)
3905 
3906  def __repr__(self):
3907  """__repr__(Segment3D self) -> std::string"""
3908  return _IMP_algebra.Segment3D___repr__(self)
3909 
3910  __swig_destroy__ = _IMP_algebra.delete_Segment3D
3911  __del__ = lambda self : None;
3912 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3913 Segment3D_swigregister(Segment3D)
3914 
3915 
3916 def get_segment_3d_geometry(*args):
3917  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3918  return _IMP_algebra.get_segment_3d_geometry(*args)
3919 
3921  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3922  return _IMP_algebra.get_relative_projection_on_segment(*args)
3923 class Triangle3D(_GeometricPrimitive3D):
3924  """Proxy of C++ IMP::algebra::Triangle3D class"""
3925  __swig_setmethods__ = {}
3926  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3927  __setattr__ = lambda self, name, value: _swig_setattr(self, Triangle3D, name, value)
3928  __swig_getmethods__ = {}
3929  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3930  __getattr__ = lambda self, name: _swig_getattr(self, Triangle3D, name)
3931  def __init__(self, *args):
3932  """
3933  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3934  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3935  """
3936  this = _IMP_algebra.new_Triangle3D(*args)
3937  try: self.this.append(this)
3938  except: self.this = this
3939  def get_point(self, *args):
3940  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3941  return _IMP_algebra.Triangle3D_get_point(self, *args)
3942 
3943  def show(self, *args):
3944  """
3945  show(Triangle3D self, _ostream out=std::cout)
3946  show(Triangle3D self)
3947  """
3948  return _IMP_algebra.Triangle3D_show(self, *args)
3949 
3950  def get_edge_lengths(self):
3951  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3952  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3953 
3954  def __str__(self):
3955  """__str__(Triangle3D self) -> std::string"""
3956  return _IMP_algebra.Triangle3D___str__(self)
3957 
3958  def __repr__(self):
3959  """__repr__(Triangle3D self) -> std::string"""
3960  return _IMP_algebra.Triangle3D___repr__(self)
3961 
3962  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3963  __del__ = lambda self : None;
3964 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3965 Triangle3D_swigregister(Triangle3D)
3966 
3967 
3968 def get_largest_triangle(*args):
3969  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3970  return _IMP_algebra.get_largest_triangle(*args)
3971 
3973  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3974  return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3975 
3976 def get_are_colinear(*args):
3977  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3978  return _IMP_algebra.get_are_colinear(*args)
3979 class LinearFit2D(_GeometricPrimitive2D):
3980  """Proxy of C++ IMP::algebra::LinearFit2D class"""
3981  __swig_setmethods__ = {}
3982  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3983  __setattr__ = lambda self, name, value: _swig_setattr(self, LinearFit2D, name, value)
3984  __swig_getmethods__ = {}
3985  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3986  __getattr__ = lambda self, name: _swig_getattr(self, LinearFit2D, name)
3987  def __init__(self, *args):
3988  """
3989  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3990  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3991  """
3992  this = _IMP_algebra.new_LinearFit2D(*args)
3993  try: self.this.append(this)
3994  except: self.this = this
3995  def get_fit_error(self):
3996  """get_fit_error(LinearFit2D self) -> double"""
3997  return _IMP_algebra.LinearFit2D_get_fit_error(self)
3998 
3999  def get_a(self):
4000  """get_a(LinearFit2D self) -> double"""
4001  return _IMP_algebra.LinearFit2D_get_a(self)
4002 
4003  def get_b(self):
4004  """get_b(LinearFit2D self) -> double"""
4005  return _IMP_algebra.LinearFit2D_get_b(self)
4006 
4007  def show(self, *args):
4008  """
4009  show(LinearFit2D self, _ostream out=std::cout)
4010  show(LinearFit2D self)
4011  """
4012  return _IMP_algebra.LinearFit2D_show(self, *args)
4013 
4014  def __str__(self):
4015  """__str__(LinearFit2D self) -> std::string"""
4016  return _IMP_algebra.LinearFit2D___str__(self)
4017 
4018  def __repr__(self):
4019  """__repr__(LinearFit2D self) -> std::string"""
4020  return _IMP_algebra.LinearFit2D___repr__(self)
4021 
4022  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4023  __del__ = lambda self : None;
4024 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4025 LinearFit2D_swigregister(LinearFit2D)
4026 
4027 class ParabolicFit2D(_GeometricPrimitive2D):
4028  """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
4029  __swig_setmethods__ = {}
4030  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4031  __setattr__ = lambda self, name, value: _swig_setattr(self, ParabolicFit2D, name, value)
4032  __swig_getmethods__ = {}
4033  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4034  __getattr__ = lambda self, name: _swig_getattr(self, ParabolicFit2D, name)
4035  def __init__(self, *args):
4036  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4037  this = _IMP_algebra.new_ParabolicFit2D(*args)
4038  try: self.this.append(this)
4039  except: self.this = this
4040  def get_fit_error(self):
4041  """get_fit_error(ParabolicFit2D self) -> double"""
4042  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4043 
4044  def get_a(self):
4045  """get_a(ParabolicFit2D self) -> double"""
4046  return _IMP_algebra.ParabolicFit2D_get_a(self)
4047 
4048  def get_b(self):
4049  """get_b(ParabolicFit2D self) -> double"""
4050  return _IMP_algebra.ParabolicFit2D_get_b(self)
4051 
4052  def get_c(self):
4053  """get_c(ParabolicFit2D self) -> double"""
4054  return _IMP_algebra.ParabolicFit2D_get_c(self)
4055 
4056  def show(self, *args):
4057  """
4058  show(ParabolicFit2D self, _ostream out=std::cout)
4059  show(ParabolicFit2D self)
4060  """
4061  return _IMP_algebra.ParabolicFit2D_show(self, *args)
4062 
4063  def __str__(self):
4064  """__str__(ParabolicFit2D self) -> std::string"""
4065  return _IMP_algebra.ParabolicFit2D___str__(self)
4066 
4067  def __repr__(self):
4068  """__repr__(ParabolicFit2D self) -> std::string"""
4069  return _IMP_algebra.ParabolicFit2D___repr__(self)
4070 
4071  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4072  __del__ = lambda self : None;
4073 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4074 ParabolicFit2D_swigregister(ParabolicFit2D)
4075 
4076 class Plane3D(_GeometricPrimitive3D):
4077  """Proxy of C++ IMP::algebra::Plane3D class"""
4078  __swig_setmethods__ = {}
4079  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4080  __setattr__ = lambda self, name, value: _swig_setattr(self, Plane3D, name, value)
4081  __swig_getmethods__ = {}
4082  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4083  __getattr__ = lambda self, name: _swig_getattr(self, Plane3D, name)
4084  def __init__(self, *args):
4085  """
4086  __init__(IMP::algebra::Plane3D self) -> Plane3D
4087  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4088  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4089  """
4090  this = _IMP_algebra.new_Plane3D(*args)
4091  try: self.this.append(this)
4092  except: self.this = this
4093  def get_point_on_plane(self):
4094  """get_point_on_plane(Plane3D self) -> Vector3D"""
4095  return _IMP_algebra.Plane3D_get_point_on_plane(self)
4096 
4097  def get_normal(self):
4098  """get_normal(Plane3D self) -> Vector3D"""
4099  return _IMP_algebra.Plane3D_get_normal(self)
4100 
4101  def get_projected(self, *args):
4102  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4103  return _IMP_algebra.Plane3D_get_projected(self, *args)
4104 
4105  def get_projection(self, *args):
4106  """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
4107  return _IMP_algebra.Plane3D_get_projection(self, *args)
4108 
4109  def get_is_above(self, *args):
4110  """get_is_above(Plane3D self, Vector3D p) -> bool"""
4111  return _IMP_algebra.Plane3D_get_is_above(self, *args)
4112 
4113  def get_is_below(self, *args):
4114  """get_is_below(Plane3D self, Vector3D p) -> bool"""
4115  return _IMP_algebra.Plane3D_get_is_below(self, *args)
4116 
4117  def get_height(self, *args):
4118  """get_height(Plane3D self, Vector3D p) -> double"""
4119  return _IMP_algebra.Plane3D_get_height(self, *args)
4120 
4121  def show(self, *args):
4122  """
4123  show(Plane3D self, _ostream out=std::cout)
4124  show(Plane3D self)
4125  """
4126  return _IMP_algebra.Plane3D_show(self, *args)
4127 
4128  def get_opposite(self):
4129  """get_opposite(Plane3D self) -> Plane3D"""
4130  return _IMP_algebra.Plane3D_get_opposite(self)
4131 
4132  def get_distance_from_origin(self):
4133  """get_distance_from_origin(Plane3D self) -> double"""
4134  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4135 
4136  def __str__(self):
4137  """__str__(Plane3D self) -> std::string"""
4138  return _IMP_algebra.Plane3D___str__(self)
4139 
4140  def __repr__(self):
4141  """__repr__(Plane3D self) -> std::string"""
4142  return _IMP_algebra.Plane3D___repr__(self)
4143 
4144  __swig_destroy__ = _IMP_algebra.delete_Plane3D
4145  __del__ = lambda self : None;
4146 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4147 Plane3D_swigregister(Plane3D)
4148 
4149 
4150 def get_reflected(*args):
4151  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4152  return _IMP_algebra.get_reflected(*args)
4153 
4154 def get_plane_3d_geometry(*args):
4155  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4156  return _IMP_algebra.get_plane_3d_geometry(*args)
4157 class Reflection3D(_GeometricPrimitive3D):
4158  """Proxy of C++ IMP::algebra::Reflection3D class"""
4159  __swig_setmethods__ = {}
4160  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4161  __setattr__ = lambda self, name, value: _swig_setattr(self, Reflection3D, name, value)
4162  __swig_getmethods__ = {}
4163  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4164  __getattr__ = lambda self, name: _swig_getattr(self, Reflection3D, name)
4165  def __init__(self, *args):
4166  """
4167  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4168  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4169  """
4170  this = _IMP_algebra.new_Reflection3D(*args)
4171  try: self.this.append(this)
4172  except: self.this = this
4173  def get_reflected(self, *args):
4174  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4175  return _IMP_algebra.Reflection3D_get_reflected(self, *args)
4176 
4177  def show(self, *args):
4178  """
4179  show(Reflection3D self, _ostream out=std::cout)
4180  show(Reflection3D self)
4181  """
4182  return _IMP_algebra.Reflection3D_show(self, *args)
4183 
4184  def __str__(self):
4185  """__str__(Reflection3D self) -> std::string"""
4186  return _IMP_algebra.Reflection3D___str__(self)
4187 
4188  def __repr__(self):
4189  """__repr__(Reflection3D self) -> std::string"""
4190  return _IMP_algebra.Reflection3D___repr__(self)
4191 
4192  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4193  __del__ = lambda self : None;
4194 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4195 Reflection3D_swigregister(Reflection3D)
4196 
4197 class Cylinder3D(_GeometricPrimitive3D):
4198  """Proxy of C++ IMP::algebra::Cylinder3D class"""
4199  __swig_setmethods__ = {}
4200  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4201  __setattr__ = lambda self, name, value: _swig_setattr(self, Cylinder3D, name, value)
4202  __swig_getmethods__ = {}
4203  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4204  __getattr__ = lambda self, name: _swig_getattr(self, Cylinder3D, name)
4205  def __init__(self, *args):
4206  """
4207  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4208  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4209  """
4210  this = _IMP_algebra.new_Cylinder3D(*args)
4211  try: self.this.append(this)
4212  except: self.this = this
4213  def get_radius(self):
4214  """get_radius(Cylinder3D self) -> double"""
4215  return _IMP_algebra.Cylinder3D_get_radius(self)
4216 
4217  def get_segment(self):
4218  """get_segment(Cylinder3D self) -> Segment3D"""
4219  return _IMP_algebra.Cylinder3D_get_segment(self)
4220 
4221  def get_surface_point_at(self, *args):
4222  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4223  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4224 
4225  def get_inner_point_at(self, *args):
4226  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4227  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4228 
4229  def show(self, *args):
4230  """
4231  show(Cylinder3D self, _ostream out=std::cout)
4232  show(Cylinder3D self)
4233  """
4234  return _IMP_algebra.Cylinder3D_show(self, *args)
4235 
4236  def __str__(self):
4237  """__str__(Cylinder3D self) -> std::string"""
4238  return _IMP_algebra.Cylinder3D___str__(self)
4239 
4240  def __repr__(self):
4241  """__repr__(Cylinder3D self) -> std::string"""
4242  return _IMP_algebra.Cylinder3D___repr__(self)
4243 
4244  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4245  __del__ = lambda self : None;
4246 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4247 Cylinder3D_swigregister(Cylinder3D)
4248 
4249 
4250 def get_cylinder_3d_geometry(*args):
4251  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4252  return _IMP_algebra.get_cylinder_3d_geometry(*args)
4253 class Ellipsoid3D(_GeometricPrimitive3D):
4254  """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4255  __swig_setmethods__ = {}
4256  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4257  __setattr__ = lambda self, name, value: _swig_setattr(self, Ellipsoid3D, name, value)
4258  __swig_getmethods__ = {}
4259  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4260  __getattr__ = lambda self, name: _swig_getattr(self, Ellipsoid3D, name)
4261  def __init__(self, *args):
4262  """
4263  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4264  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4265  """
4266  this = _IMP_algebra.new_Ellipsoid3D(*args)
4267  try: self.this.append(this)
4268  except: self.this = this
4269  def get_radius(self, *args):
4270  """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4271  return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4272 
4273  def get_center(self):
4274  """get_center(Ellipsoid3D self) -> Vector3D"""
4275  return _IMP_algebra.Ellipsoid3D_get_center(self)
4276 
4277  def get_rotation(self):
4278  """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4279  return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4280 
4281  def get_transformation(self):
4282  """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4283  return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4284 
4285  def show(self, *args):
4286  """
4287  show(Ellipsoid3D self, _ostream out=std::cout)
4288  show(Ellipsoid3D self)
4289  """
4290  return _IMP_algebra.Ellipsoid3D_show(self, *args)
4291 
4292  def __str__(self):
4293  """__str__(Ellipsoid3D self) -> std::string"""
4294  return _IMP_algebra.Ellipsoid3D___str__(self)
4295 
4296  def __repr__(self):
4297  """__repr__(Ellipsoid3D self) -> std::string"""
4298  return _IMP_algebra.Ellipsoid3D___repr__(self)
4299 
4300  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4301  __del__ = lambda self : None;
4302 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4303 Ellipsoid3D_swigregister(Ellipsoid3D)
4304 
4305 
4306 def get_ellipsoid_3d_geometry(*args):
4307  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4308  return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4309 class GridIndex1D(IMP.base._Value):
4310  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
4311  __swig_setmethods__ = {}
4312  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4313  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex1D, name, value)
4314  __swig_getmethods__ = {}
4315  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4316  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex1D, name)
4317  def __init__(self):
4318  """__init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D"""
4319  this = _IMP_algebra.new_GridIndex1D()
4320  try: self.this.append(this)
4321  except: self.this = this
4322  def get_dimension(self):
4323  """get_dimension(GridIndex1D self) -> unsigned int"""
4324  return _IMP_algebra.GridIndex1D_get_dimension(self)
4325 
4326  def __getitem__(self, *args):
4327  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
4328  return _IMP_algebra.GridIndex1D___getitem__(self, *args)
4329 
4330  def show(self, *args):
4331  """
4332  show(GridIndex1D self, _ostream out=std::cout)
4333  show(GridIndex1D self)
4334  """
4335  return _IMP_algebra.GridIndex1D_show(self, *args)
4336 
4337  def __len__(self):
4338  """__len__(GridIndex1D self) -> unsigned int"""
4339  return _IMP_algebra.GridIndex1D___len__(self)
4340 
4341  def __eq__(self, *args):
4342  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
4343  return _IMP_algebra.GridIndex1D___eq__(self, *args)
4344 
4345  def __ne__(self, *args):
4346  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
4347  return _IMP_algebra.GridIndex1D___ne__(self, *args)
4348 
4349  def __lt__(self, *args):
4350  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
4351  return _IMP_algebra.GridIndex1D___lt__(self, *args)
4352 
4353  def __gt__(self, *args):
4354  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
4355  return _IMP_algebra.GridIndex1D___gt__(self, *args)
4356 
4357  def __ge__(self, *args):
4358  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
4359  return _IMP_algebra.GridIndex1D___ge__(self, *args)
4360 
4361  def __le__(self, *args):
4362  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
4363  return _IMP_algebra.GridIndex1D___le__(self, *args)
4364 
4365  def __hash__(self):
4366  """__hash__(GridIndex1D self) -> std::size_t"""
4367  return _IMP_algebra.GridIndex1D___hash__(self)
4368 
4369  def __str__(self):
4370  """__str__(GridIndex1D self) -> std::string"""
4371  return _IMP_algebra.GridIndex1D___str__(self)
4372 
4373  def __repr__(self):
4374  """__repr__(GridIndex1D self) -> std::string"""
4375  return _IMP_algebra.GridIndex1D___repr__(self)
4376 
4377  def __cmp__(self, *args):
4378  """__cmp__(GridIndex1D self, GridIndex1D arg2) -> int"""
4379  return _IMP_algebra.GridIndex1D___cmp__(self, *args)
4380 
4381  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
4382  __del__ = lambda self : None;
4383 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
4384 GridIndex1D_swigregister(GridIndex1D)
4385 
4386 class GridIndex2D(IMP.base._Value):
4387  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
4388  __swig_setmethods__ = {}
4389  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4390  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex2D, name, value)
4391  __swig_getmethods__ = {}
4392  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4393  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex2D, name)
4394  def __init__(self):
4395  """__init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D"""
4396  this = _IMP_algebra.new_GridIndex2D()
4397  try: self.this.append(this)
4398  except: self.this = this
4399  def get_dimension(self):
4400  """get_dimension(GridIndex2D self) -> unsigned int"""
4401  return _IMP_algebra.GridIndex2D_get_dimension(self)
4402 
4403  def __getitem__(self, *args):
4404  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
4405  return _IMP_algebra.GridIndex2D___getitem__(self, *args)
4406 
4407  def show(self, *args):
4408  """
4409  show(GridIndex2D self, _ostream out=std::cout)
4410  show(GridIndex2D self)
4411  """
4412  return _IMP_algebra.GridIndex2D_show(self, *args)
4413 
4414  def __len__(self):
4415  """__len__(GridIndex2D self) -> unsigned int"""
4416  return _IMP_algebra.GridIndex2D___len__(self)
4417 
4418  def __eq__(self, *args):
4419  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
4420  return _IMP_algebra.GridIndex2D___eq__(self, *args)
4421 
4422  def __ne__(self, *args):
4423  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
4424  return _IMP_algebra.GridIndex2D___ne__(self, *args)
4425 
4426  def __lt__(self, *args):
4427  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
4428  return _IMP_algebra.GridIndex2D___lt__(self, *args)
4429 
4430  def __gt__(self, *args):
4431  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
4432  return _IMP_algebra.GridIndex2D___gt__(self, *args)
4433 
4434  def __ge__(self, *args):
4435  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
4436  return _IMP_algebra.GridIndex2D___ge__(self, *args)
4437 
4438  def __le__(self, *args):
4439  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
4440  return _IMP_algebra.GridIndex2D___le__(self, *args)
4441 
4442  def __hash__(self):
4443  """__hash__(GridIndex2D self) -> std::size_t"""
4444  return _IMP_algebra.GridIndex2D___hash__(self)
4445 
4446  def __str__(self):
4447  """__str__(GridIndex2D self) -> std::string"""
4448  return _IMP_algebra.GridIndex2D___str__(self)
4449 
4450  def __repr__(self):
4451  """__repr__(GridIndex2D self) -> std::string"""
4452  return _IMP_algebra.GridIndex2D___repr__(self)
4453 
4454  def __cmp__(self, *args):
4455  """__cmp__(GridIndex2D self, GridIndex2D arg2) -> int"""
4456  return _IMP_algebra.GridIndex2D___cmp__(self, *args)
4457 
4458  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
4459  __del__ = lambda self : None;
4460 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
4461 GridIndex2D_swigregister(GridIndex2D)
4462 
4463 class GridIndex3D(IMP.base._Value):
4464  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
4465  __swig_setmethods__ = {}
4466  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4467  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex3D, name, value)
4468  __swig_getmethods__ = {}
4469  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4470  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex3D, name)
4471  def __init__(self):
4472  """__init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D"""
4473  this = _IMP_algebra.new_GridIndex3D()
4474  try: self.this.append(this)
4475  except: self.this = this
4476  def get_dimension(self):
4477  """get_dimension(GridIndex3D self) -> unsigned int"""
4478  return _IMP_algebra.GridIndex3D_get_dimension(self)
4479 
4480  def __getitem__(self, *args):
4481  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
4482  return _IMP_algebra.GridIndex3D___getitem__(self, *args)
4483 
4484  def show(self, *args):
4485  """
4486  show(GridIndex3D self, _ostream out=std::cout)
4487  show(GridIndex3D self)
4488  """
4489  return _IMP_algebra.GridIndex3D_show(self, *args)
4490 
4491  def __len__(self):
4492  """__len__(GridIndex3D self) -> unsigned int"""
4493  return _IMP_algebra.GridIndex3D___len__(self)
4494 
4495  def __eq__(self, *args):
4496  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
4497  return _IMP_algebra.GridIndex3D___eq__(self, *args)
4498 
4499  def __ne__(self, *args):
4500  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
4501  return _IMP_algebra.GridIndex3D___ne__(self, *args)
4502 
4503  def __lt__(self, *args):
4504  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
4505  return _IMP_algebra.GridIndex3D___lt__(self, *args)
4506 
4507  def __gt__(self, *args):
4508  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
4509  return _IMP_algebra.GridIndex3D___gt__(self, *args)
4510 
4511  def __ge__(self, *args):
4512  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
4513  return _IMP_algebra.GridIndex3D___ge__(self, *args)
4514 
4515  def __le__(self, *args):
4516  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
4517  return _IMP_algebra.GridIndex3D___le__(self, *args)
4518 
4519  def __hash__(self):
4520  """__hash__(GridIndex3D self) -> std::size_t"""
4521  return _IMP_algebra.GridIndex3D___hash__(self)
4522 
4523  def __str__(self):
4524  """__str__(GridIndex3D self) -> std::string"""
4525  return _IMP_algebra.GridIndex3D___str__(self)
4526 
4527  def __repr__(self):
4528  """__repr__(GridIndex3D self) -> std::string"""
4529  return _IMP_algebra.GridIndex3D___repr__(self)
4530 
4531  def __cmp__(self, *args):
4532  """__cmp__(GridIndex3D self, GridIndex3D arg2) -> int"""
4533  return _IMP_algebra.GridIndex3D___cmp__(self, *args)
4534 
4535  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
4536  __del__ = lambda self : None;
4537 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
4538 GridIndex3D_swigregister(GridIndex3D)
4539 
4540 class GridIndex4D(IMP.base._Value):
4541  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
4542  __swig_setmethods__ = {}
4543  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4544  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex4D, name, value)
4545  __swig_getmethods__ = {}
4546  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4547  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex4D, name)
4548  def __init__(self):
4549  """__init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D"""
4550  this = _IMP_algebra.new_GridIndex4D()
4551  try: self.this.append(this)
4552  except: self.this = this
4553  def get_dimension(self):
4554  """get_dimension(GridIndex4D self) -> unsigned int"""
4555  return _IMP_algebra.GridIndex4D_get_dimension(self)
4556 
4557  def __getitem__(self, *args):
4558  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
4559  return _IMP_algebra.GridIndex4D___getitem__(self, *args)
4560 
4561  def show(self, *args):
4562  """
4563  show(GridIndex4D self, _ostream out=std::cout)
4564  show(GridIndex4D self)
4565  """
4566  return _IMP_algebra.GridIndex4D_show(self, *args)
4567 
4568  def __len__(self):
4569  """__len__(GridIndex4D self) -> unsigned int"""
4570  return _IMP_algebra.GridIndex4D___len__(self)
4571 
4572  def __eq__(self, *args):
4573  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
4574  return _IMP_algebra.GridIndex4D___eq__(self, *args)
4575 
4576  def __ne__(self, *args):
4577  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
4578  return _IMP_algebra.GridIndex4D___ne__(self, *args)
4579 
4580  def __lt__(self, *args):
4581  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
4582  return _IMP_algebra.GridIndex4D___lt__(self, *args)
4583 
4584  def __gt__(self, *args):
4585  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
4586  return _IMP_algebra.GridIndex4D___gt__(self, *args)
4587 
4588  def __ge__(self, *args):
4589  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
4590  return _IMP_algebra.GridIndex4D___ge__(self, *args)
4591 
4592  def __le__(self, *args):
4593  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
4594  return _IMP_algebra.GridIndex4D___le__(self, *args)
4595 
4596  def __hash__(self):
4597  """__hash__(GridIndex4D self) -> std::size_t"""
4598  return _IMP_algebra.GridIndex4D___hash__(self)
4599 
4600  def __str__(self):
4601  """__str__(GridIndex4D self) -> std::string"""
4602  return _IMP_algebra.GridIndex4D___str__(self)
4603 
4604  def __repr__(self):
4605  """__repr__(GridIndex4D self) -> std::string"""
4606  return _IMP_algebra.GridIndex4D___repr__(self)
4607 
4608  def __cmp__(self, *args):
4609  """__cmp__(GridIndex4D self, GridIndex4D arg2) -> int"""
4610  return _IMP_algebra.GridIndex4D___cmp__(self, *args)
4611 
4612  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
4613  __del__ = lambda self : None;
4614 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
4615 GridIndex4D_swigregister(GridIndex4D)
4616 
4617 class GridIndex5D(IMP.base._Value):
4618  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
4619  __swig_setmethods__ = {}
4620  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4621  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex5D, name, value)
4622  __swig_getmethods__ = {}
4623  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4624  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex5D, name)
4625  def __init__(self):
4626  """__init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D"""
4627  this = _IMP_algebra.new_GridIndex5D()
4628  try: self.this.append(this)
4629  except: self.this = this
4630  def get_dimension(self):
4631  """get_dimension(GridIndex5D self) -> unsigned int"""
4632  return _IMP_algebra.GridIndex5D_get_dimension(self)
4633 
4634  def __getitem__(self, *args):
4635  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
4636  return _IMP_algebra.GridIndex5D___getitem__(self, *args)
4637 
4638  def show(self, *args):
4639  """
4640  show(GridIndex5D self, _ostream out=std::cout)
4641  show(GridIndex5D self)
4642  """
4643  return _IMP_algebra.GridIndex5D_show(self, *args)
4644 
4645  def __len__(self):
4646  """__len__(GridIndex5D self) -> unsigned int"""
4647  return _IMP_algebra.GridIndex5D___len__(self)
4648 
4649  def __eq__(self, *args):
4650  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
4651  return _IMP_algebra.GridIndex5D___eq__(self, *args)
4652 
4653  def __ne__(self, *args):
4654  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
4655  return _IMP_algebra.GridIndex5D___ne__(self, *args)
4656 
4657  def __lt__(self, *args):
4658  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
4659  return _IMP_algebra.GridIndex5D___lt__(self, *args)
4660 
4661  def __gt__(self, *args):
4662  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
4663  return _IMP_algebra.GridIndex5D___gt__(self, *args)
4664 
4665  def __ge__(self, *args):
4666  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
4667  return _IMP_algebra.GridIndex5D___ge__(self, *args)
4668 
4669  def __le__(self, *args):
4670  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
4671  return _IMP_algebra.GridIndex5D___le__(self, *args)
4672 
4673  def __hash__(self):
4674  """__hash__(GridIndex5D self) -> std::size_t"""
4675  return _IMP_algebra.GridIndex5D___hash__(self)
4676 
4677  def __str__(self):
4678  """__str__(GridIndex5D self) -> std::string"""
4679  return _IMP_algebra.GridIndex5D___str__(self)
4680 
4681  def __repr__(self):
4682  """__repr__(GridIndex5D self) -> std::string"""
4683  return _IMP_algebra.GridIndex5D___repr__(self)
4684 
4685  def __cmp__(self, *args):
4686  """__cmp__(GridIndex5D self, GridIndex5D arg2) -> int"""
4687  return _IMP_algebra.GridIndex5D___cmp__(self, *args)
4688 
4689  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
4690  __del__ = lambda self : None;
4691 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
4692 GridIndex5D_swigregister(GridIndex5D)
4693 
4694 class GridIndex6D(IMP.base._Value):
4695  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
4696  __swig_setmethods__ = {}
4697  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4698  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex6D, name, value)
4699  __swig_getmethods__ = {}
4700  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4701  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex6D, name)
4702  def __init__(self):
4703  """__init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D"""
4704  this = _IMP_algebra.new_GridIndex6D()
4705  try: self.this.append(this)
4706  except: self.this = this
4707  def get_dimension(self):
4708  """get_dimension(GridIndex6D self) -> unsigned int"""
4709  return _IMP_algebra.GridIndex6D_get_dimension(self)
4710 
4711  def __getitem__(self, *args):
4712  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
4713  return _IMP_algebra.GridIndex6D___getitem__(self, *args)
4714 
4715  def show(self, *args):
4716  """
4717  show(GridIndex6D self, _ostream out=std::cout)
4718  show(GridIndex6D self)
4719  """
4720  return _IMP_algebra.GridIndex6D_show(self, *args)
4721 
4722  def __len__(self):
4723  """__len__(GridIndex6D self) -> unsigned int"""
4724  return _IMP_algebra.GridIndex6D___len__(self)
4725 
4726  def __eq__(self, *args):
4727  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
4728  return _IMP_algebra.GridIndex6D___eq__(self, *args)
4729 
4730  def __ne__(self, *args):
4731  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
4732  return _IMP_algebra.GridIndex6D___ne__(self, *args)
4733 
4734  def __lt__(self, *args):
4735  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
4736  return _IMP_algebra.GridIndex6D___lt__(self, *args)
4737 
4738  def __gt__(self, *args):
4739  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
4740  return _IMP_algebra.GridIndex6D___gt__(self, *args)
4741 
4742  def __ge__(self, *args):
4743  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
4744  return _IMP_algebra.GridIndex6D___ge__(self, *args)
4745 
4746  def __le__(self, *args):
4747  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
4748  return _IMP_algebra.GridIndex6D___le__(self, *args)
4749 
4750  def __hash__(self):
4751  """__hash__(GridIndex6D self) -> std::size_t"""
4752  return _IMP_algebra.GridIndex6D___hash__(self)
4753 
4754  def __str__(self):
4755  """__str__(GridIndex6D self) -> std::string"""
4756  return _IMP_algebra.GridIndex6D___str__(self)
4757 
4758  def __repr__(self):
4759  """__repr__(GridIndex6D self) -> std::string"""
4760  return _IMP_algebra.GridIndex6D___repr__(self)
4761 
4762  def __cmp__(self, *args):
4763  """__cmp__(GridIndex6D self, GridIndex6D arg2) -> int"""
4764  return _IMP_algebra.GridIndex6D___cmp__(self, *args)
4765 
4766  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
4767  __del__ = lambda self : None;
4768 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
4769 GridIndex6D_swigregister(GridIndex6D)
4770 
4771 class GridIndexKD(IMP.base._Value):
4772  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
4773  __swig_setmethods__ = {}
4774  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4775  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndexKD, name, value)
4776  __swig_getmethods__ = {}
4777  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4778  __getattr__ = lambda self, name: _swig_getattr(self, GridIndexKD, name)
4779  def __init__(self):
4780  """__init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD"""
4781  this = _IMP_algebra.new_GridIndexKD()
4782  try: self.this.append(this)
4783  except: self.this = this
4784  def get_dimension(self):
4785  """get_dimension(GridIndexKD self) -> unsigned int"""
4786  return _IMP_algebra.GridIndexKD_get_dimension(self)
4787 
4788  def __getitem__(self, *args):
4789  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
4790  return _IMP_algebra.GridIndexKD___getitem__(self, *args)
4791 
4792  def show(self, *args):
4793  """
4794  show(GridIndexKD self, _ostream out=std::cout)
4795  show(GridIndexKD self)
4796  """
4797  return _IMP_algebra.GridIndexKD_show(self, *args)
4798 
4799  def __len__(self):
4800  """__len__(GridIndexKD self) -> unsigned int"""
4801  return _IMP_algebra.GridIndexKD___len__(self)
4802 
4803  def __eq__(self, *args):
4804  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
4805  return _IMP_algebra.GridIndexKD___eq__(self, *args)
4806 
4807  def __ne__(self, *args):
4808  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
4809  return _IMP_algebra.GridIndexKD___ne__(self, *args)
4810 
4811  def __lt__(self, *args):
4812  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
4813  return _IMP_algebra.GridIndexKD___lt__(self, *args)
4814 
4815  def __gt__(self, *args):
4816  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
4817  return _IMP_algebra.GridIndexKD___gt__(self, *args)
4818 
4819  def __ge__(self, *args):
4820  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
4821  return _IMP_algebra.GridIndexKD___ge__(self, *args)
4822 
4823  def __le__(self, *args):
4824  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
4825  return _IMP_algebra.GridIndexKD___le__(self, *args)
4826 
4827  def __hash__(self):
4828  """__hash__(GridIndexKD self) -> std::size_t"""
4829  return _IMP_algebra.GridIndexKD___hash__(self)
4830 
4831  def __str__(self):
4832  """__str__(GridIndexKD self) -> std::string"""
4833  return _IMP_algebra.GridIndexKD___str__(self)
4834 
4835  def __repr__(self):
4836  """__repr__(GridIndexKD self) -> std::string"""
4837  return _IMP_algebra.GridIndexKD___repr__(self)
4838 
4839  def __cmp__(self, *args):
4840  """__cmp__(GridIndexKD self, GridIndexKD arg2) -> int"""
4841  return _IMP_algebra.GridIndexKD___cmp__(self, *args)
4842 
4843  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
4844  __del__ = lambda self : None;
4845 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
4846 GridIndexKD_swigregister(GridIndexKD)
4847 
4848 class ExtendedGridIndex1D(IMP.base._Value):
4849  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
4850  __swig_setmethods__ = {}
4851  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4852  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex1D, name, value)
4853  __swig_getmethods__ = {}
4854  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4855  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex1D, name)
4856  def __init__(self, *args):
4857  """
4858  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
4859  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
4860  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
4861  """
4862  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
4863  try: self.this.append(this)
4864  except: self.this = this
4865  def get_dimension(self):
4866  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
4867  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
4868 
4869  def __eq__(self, *args):
4870  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4871  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
4872 
4873  def __ne__(self, *args):
4874  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4875  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
4876 
4877  def __lt__(self, *args):
4878  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4879  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
4880 
4881  def __gt__(self, *args):
4882  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4883  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
4884 
4885  def __ge__(self, *args):
4886  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4887  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
4888 
4889  def __le__(self, *args):
4890  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4891  return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
4892 
4893  def __setitem__(self, *args):
4894  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
4895  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
4896 
4897  def __getitem__(self, *args):
4898  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
4899  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
4900 
4901  def show(self, *args):
4902  """
4903  show(ExtendedGridIndex1D self, _ostream out=std::cout)
4904  show(ExtendedGridIndex1D self)
4905  """
4906  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
4907 
4908  def __len__(self):
4909  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
4910  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
4911 
4912  def __hash__(self):
4913  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
4914  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
4915 
4916  def get_uniform_offset(self, *args):
4917  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
4918  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
4919 
4920  def get_offset(self, *args):
4921  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
4922  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
4923 
4924  def __str__(self):
4925  """__str__(ExtendedGridIndex1D self) -> std::string"""
4926  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
4927 
4928  def __repr__(self):
4929  """__repr__(ExtendedGridIndex1D self) -> std::string"""
4930  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
4931 
4932  def __cmp__(self, *args):
4933  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D arg2) -> int"""
4934  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
4935 
4936  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
4937  __del__ = lambda self : None;
4938 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
4939 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
4940 
4941 class ExtendedGridIndex2D(IMP.base._Value):
4942  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
4943  __swig_setmethods__ = {}
4944  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4945  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex2D, name, value)
4946  __swig_getmethods__ = {}
4947  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4948  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex2D, name)
4949  def __init__(self, *args):
4950  """
4951  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
4952  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
4953  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
4954  """
4955  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
4956  try: self.this.append(this)
4957  except: self.this = this
4958  def get_dimension(self):
4959  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
4960  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
4961 
4962  def __eq__(self, *args):
4963  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4964  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
4965 
4966  def __ne__(self, *args):
4967  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4968  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
4969 
4970  def __lt__(self, *args):
4971  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4972  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
4973 
4974  def __gt__(self, *args):
4975  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4976  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
4977 
4978  def __ge__(self, *args):
4979  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4980  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
4981 
4982  def __le__(self, *args):
4983  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4984  return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
4985 
4986  def __setitem__(self, *args):
4987  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
4988  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
4989 
4990  def __getitem__(self, *args):
4991  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
4992  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
4993 
4994  def show(self, *args):
4995  """
4996  show(ExtendedGridIndex2D self, _ostream out=std::cout)
4997  show(ExtendedGridIndex2D self)
4998  """
4999  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
5000 
5001  def __len__(self):
5002  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
5003  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
5004 
5005  def __hash__(self):
5006  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
5007  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
5008 
5009  def get_uniform_offset(self, *args):
5010  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
5011  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
5012 
5013  def get_offset(self, *args):
5014  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
5015  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
5016 
5017  def __str__(self):
5018  """__str__(ExtendedGridIndex2D self) -> std::string"""
5019  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
5020 
5021  def __repr__(self):
5022  """__repr__(ExtendedGridIndex2D self) -> std::string"""
5023  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
5024 
5025  def __cmp__(self, *args):
5026  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D arg2) -> int"""
5027  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
5028 
5029  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
5030  __del__ = lambda self : None;
5031 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
5032 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
5033 
5034 class ExtendedGridIndex3D(IMP.base._Value):
5035  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
5036  __swig_setmethods__ = {}
5037  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5038  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex3D, name, value)
5039  __swig_getmethods__ = {}
5040  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5041  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex3D, name)
5042  def __init__(self, *args):
5043  """
5044  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
5045  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
5046  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
5047  """
5048  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
5049  try: self.this.append(this)
5050  except: self.this = this
5051  def get_dimension(self):
5052  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
5053  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
5054 
5055  def __eq__(self, *args):
5056  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5057  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
5058 
5059  def __ne__(self, *args):
5060  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5061  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
5062 
5063  def __lt__(self, *args):
5064  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5065  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
5066 
5067  def __gt__(self, *args):
5068  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5069  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
5070 
5071  def __ge__(self, *args):
5072  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5073  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
5074 
5075  def __le__(self, *args):
5076  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5077  return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
5078 
5079  def __setitem__(self, *args):
5080  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
5081  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
5082 
5083  def __getitem__(self, *args):
5084  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
5085  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
5086 
5087  def show(self, *args):
5088  """
5089  show(ExtendedGridIndex3D self, _ostream out=std::cout)
5090  show(ExtendedGridIndex3D self)
5091  """
5092  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
5093 
5094  def __len__(self):
5095  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
5096  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
5097 
5098  def __hash__(self):
5099  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
5100  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
5101 
5102  def get_uniform_offset(self, *args):
5103  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5104  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5105 
5106  def get_offset(self, *args):
5107  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5108  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5109 
5110  def __str__(self):
5111  """__str__(ExtendedGridIndex3D self) -> std::string"""
5112  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5113 
5114  def __repr__(self):
5115  """__repr__(ExtendedGridIndex3D self) -> std::string"""
5116  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5117 
5118  def __cmp__(self, *args):
5119  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D arg2) -> int"""
5120  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5121 
5122  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5123  __del__ = lambda self : None;
5124 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5125 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5126 
5127 class ExtendedGridIndex4D(IMP.base._Value):
5128  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5129  __swig_setmethods__ = {}
5130  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5131  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex4D, name, value)
5132  __swig_getmethods__ = {}
5133  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5134  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex4D, name)
5135  def __init__(self, *args):
5136  """
5137  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5138  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5139  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5140  """
5141  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5142  try: self.this.append(this)
5143  except: self.this = this
5144  def get_dimension(self):
5145  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
5146  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
5147 
5148  def __eq__(self, *args):
5149  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5150  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
5151 
5152  def __ne__(self, *args):
5153  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5154  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
5155 
5156  def __lt__(self, *args):
5157  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5158  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
5159 
5160  def __gt__(self, *args):
5161  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5162  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
5163 
5164  def __ge__(self, *args):
5165  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5166  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
5167 
5168  def __le__(self, *args):
5169  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5170  return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
5171 
5172  def __setitem__(self, *args):
5173  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
5174  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
5175 
5176  def __getitem__(self, *args):
5177  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
5178  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
5179 
5180  def show(self, *args):
5181  """
5182  show(ExtendedGridIndex4D self, _ostream out=std::cout)
5183  show(ExtendedGridIndex4D self)
5184  """
5185  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
5186 
5187  def __len__(self):
5188  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
5189  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
5190 
5191  def __hash__(self):
5192  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
5193  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
5194 
5195  def get_uniform_offset(self, *args):
5196  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
5197  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
5198 
5199  def get_offset(self, *args):
5200  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
5201  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
5202 
5203  def __str__(self):
5204  """__str__(ExtendedGridIndex4D self) -> std::string"""
5205  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
5206 
5207  def __repr__(self):
5208  """__repr__(ExtendedGridIndex4D self) -> std::string"""
5209  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
5210 
5211  def __cmp__(self, *args):
5212  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D arg2) -> int"""
5213  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
5214 
5215  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
5216  __del__ = lambda self : None;
5217 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
5218 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
5219 
5220 class ExtendedGridIndex5D(IMP.base._Value):
5221  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
5222  __swig_setmethods__ = {}
5223  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5224  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex5D, name, value)
5225  __swig_getmethods__ = {}
5226  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5227  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex5D, name)
5228  def __init__(self, *args):
5229  """
5230  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
5231  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
5232  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
5233  """
5234  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
5235  try: self.this.append(this)
5236  except: self.this = this
5237  def get_dimension(self):
5238  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
5239  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
5240 
5241  def __eq__(self, *args):
5242  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5243  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
5244 
5245  def __ne__(self, *args):
5246  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5247  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
5248 
5249  def __lt__(self, *args):
5250  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5251  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
5252 
5253  def __gt__(self, *args):
5254  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5255  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
5256 
5257  def __ge__(self, *args):
5258  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5259  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
5260 
5261  def __le__(self, *args):
5262  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5263  return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
5264 
5265  def __setitem__(self, *args):
5266  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
5267  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
5268 
5269  def __getitem__(self, *args):
5270  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
5271  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
5272 
5273  def show(self, *args):
5274  """
5275  show(ExtendedGridIndex5D self, _ostream out=std::cout)
5276  show(ExtendedGridIndex5D self)
5277  """
5278  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
5279 
5280  def __len__(self):
5281  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
5282  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
5283 
5284  def __hash__(self):
5285  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
5286  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
5287 
5288  def get_uniform_offset(self, *args):
5289  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
5290  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
5291 
5292  def get_offset(self, *args):
5293  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
5294  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
5295 
5296  def __str__(self):
5297  """__str__(ExtendedGridIndex5D self) -> std::string"""
5298  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
5299 
5300  def __repr__(self):
5301  """__repr__(ExtendedGridIndex5D self) -> std::string"""
5302  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
5303 
5304  def __cmp__(self, *args):
5305  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D arg2) -> int"""
5306  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
5307 
5308  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
5309  __del__ = lambda self : None;
5310 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
5311 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
5312 
5313 class ExtendedGridIndex6D(IMP.base._Value):
5314  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
5315  __swig_setmethods__ = {}
5316  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5317  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex6D, name, value)
5318  __swig_getmethods__ = {}
5319  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5320  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex6D, name)
5321  def __init__(self, *args):
5322  """
5323  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
5324  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
5325  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
5326  """
5327  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
5328  try: self.this.append(this)
5329  except: self.this = this
5330  def get_dimension(self):
5331  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
5332  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
5333 
5334  def __eq__(self, *args):
5335  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5336  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
5337 
5338  def __ne__(self, *args):
5339  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5340  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
5341 
5342  def __lt__(self, *args):
5343  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5344  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
5345 
5346  def __gt__(self, *args):
5347  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5348  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
5349 
5350  def __ge__(self, *args):
5351  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5352  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
5353 
5354  def __le__(self, *args):
5355  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5356  return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
5357 
5358  def __setitem__(self, *args):
5359  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
5360  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
5361 
5362  def __getitem__(self, *args):
5363  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
5364  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
5365 
5366  def show(self, *args):
5367  """
5368  show(ExtendedGridIndex6D self, _ostream out=std::cout)
5369  show(ExtendedGridIndex6D self)
5370  """
5371  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
5372 
5373  def __len__(self):
5374  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
5375  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
5376 
5377  def __hash__(self):
5378  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
5379  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
5380 
5381  def get_uniform_offset(self, *args):
5382  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
5383  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
5384 
5385  def get_offset(self, *args):
5386  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
5387  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
5388 
5389  def __str__(self):
5390  """__str__(ExtendedGridIndex6D self) -> std::string"""
5391  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
5392 
5393  def __repr__(self):
5394  """__repr__(ExtendedGridIndex6D self) -> std::string"""
5395  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
5396 
5397  def __cmp__(self, *args):
5398  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D arg2) -> int"""
5399  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
5400 
5401  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
5402  __del__ = lambda self : None;
5403 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
5404 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
5405 
5406 class ExtendedGridIndexKD(IMP.base._Value):
5407  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
5408  __swig_setmethods__ = {}
5409  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5410  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndexKD, name, value)
5411  __swig_getmethods__ = {}
5412  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5413  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndexKD, name)
5414  def __init__(self, *args):
5415  """
5416  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
5417  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
5418  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
5419  """
5420  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
5421  try: self.this.append(this)
5422  except: self.this = this
5423  def get_dimension(self):
5424  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
5425  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
5426 
5427  def __eq__(self, *args):
5428  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5429  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
5430 
5431  def __ne__(self, *args):
5432  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5433  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
5434 
5435  def __lt__(self, *args):
5436  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5437  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
5438 
5439  def __gt__(self, *args):
5440  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5441  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
5442 
5443  def __ge__(self, *args):
5444  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5445  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
5446 
5447  def __le__(self, *args):
5448  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5449  return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
5450 
5451  def __setitem__(self, *args):
5452  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
5453  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
5454 
5455  def __getitem__(self, *args):
5456  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
5457  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
5458 
5459  def show(self, *args):
5460  """
5461  show(ExtendedGridIndexKD self, _ostream out=std::cout)
5462  show(ExtendedGridIndexKD self)
5463  """
5464  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
5465 
5466  def __len__(self):
5467  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
5468  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
5469 
5470  def __hash__(self):
5471  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
5472  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
5473 
5474  def get_uniform_offset(self, *args):
5475  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
5476  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
5477 
5478  def get_offset(self, *args):
5479  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
5480  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
5481 
5482  def __str__(self):
5483  """__str__(ExtendedGridIndexKD self) -> std::string"""
5484  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
5485 
5486  def __repr__(self):
5487  """__repr__(ExtendedGridIndexKD self) -> std::string"""
5488  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
5489 
5490  def __cmp__(self, *args):
5491  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD arg2) -> int"""
5492  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
5493 
5494  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
5495  __del__ = lambda self : None;
5496 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
5497 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
5498 
5499 class BoundedGridRange1D(_object):
5500  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
5501  __swig_setmethods__ = {}
5502  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange1D, name, value)
5503  __swig_getmethods__ = {}
5504  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange1D, name)
5505  def get_is_bounded():
5506  """get_is_bounded() -> bool"""
5507  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5508 
5509  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5510  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5511  def __init__(self, *args):
5512  """
5513  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
5514  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
5515  """
5516  this = _IMP_algebra.new_BoundedGridRange1D(*args)
5517  try: self.this.append(this)
5518  except: self.this = this
5519  def get_number_of_voxels(self, *args):
5520  """
5521  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
5522  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
5523  """
5524  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
5525 
5526  def get_end_index(self):
5527  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5528  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
5529 
5530  def show(self, *args):
5531  """
5532  show(BoundedGridRange1D self, _ostream out=std::cout)
5533  show(BoundedGridRange1D self)
5534  """
5535  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
5536 
5537  def get_all_indexes(self):
5538  """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5539  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
5540 
5541  def get_indexes(self, *args):
5542  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5543  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
5544 
5545  def get_extended_indexes(self, *args):
5546  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
5547  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
5548 
5549  def get_index(self, *args):
5550  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
5551  return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
5552 
5553  def get_has_index(self, *args):
5554  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
5555  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
5556 
5557  def get_minimum_extended_index(self):
5558  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5559  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
5560 
5561  def get_maximum_extended_index(self):
5562  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5563  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
5564 
5565  def __str__(self):
5566  """__str__(BoundedGridRange1D self) -> std::string"""
5567  return _IMP_algebra.BoundedGridRange1D___str__(self)
5568 
5569  def __repr__(self):
5570  """__repr__(BoundedGridRange1D self) -> std::string"""
5571  return _IMP_algebra.BoundedGridRange1D___repr__(self)
5572 
5573  def __cmp__(self, *args):
5574  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
5575  return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
5576 
5577  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
5578  __del__ = lambda self : None;
5579 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
5580 BoundedGridRange1D_swigregister(BoundedGridRange1D)
5581 
5582 def BoundedGridRange1D_get_is_bounded():
5583  """BoundedGridRange1D_get_is_bounded() -> bool"""
5584  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5585 
5586 class BoundedGridRange2D(_object):
5587  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
5588  __swig_setmethods__ = {}
5589  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange2D, name, value)
5590  __swig_getmethods__ = {}
5591  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange2D, name)
5592  def get_is_bounded():
5593  """get_is_bounded() -> bool"""
5594  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5595 
5596  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5597  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5598  def __init__(self, *args):
5599  """
5600  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
5601  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
5602  """
5603  this = _IMP_algebra.new_BoundedGridRange2D(*args)
5604  try: self.this.append(this)
5605  except: self.this = this
5606  def get_number_of_voxels(self, *args):
5607  """
5608  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
5609  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
5610  """
5611  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
5612 
5613  def get_end_index(self):
5614  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5615  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
5616 
5617  def show(self, *args):
5618  """
5619  show(BoundedGridRange2D self, _ostream out=std::cout)
5620  show(BoundedGridRange2D self)
5621  """
5622  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
5623 
5624  def get_all_indexes(self):
5625  """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5626  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
5627 
5628  def get_indexes(self, *args):
5629  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5630  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
5631 
5632  def get_extended_indexes(self, *args):
5633  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
5634  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
5635 
5636  def get_index(self, *args):
5637  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
5638  return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
5639 
5640  def get_has_index(self, *args):
5641  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
5642  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
5643 
5644  def get_minimum_extended_index(self):
5645  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5646  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
5647 
5648  def get_maximum_extended_index(self):
5649  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5650  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
5651 
5652  def __str__(self):
5653  """__str__(BoundedGridRange2D self) -> std::string"""
5654  return _IMP_algebra.BoundedGridRange2D___str__(self)
5655 
5656  def __repr__(self):
5657  """__repr__(BoundedGridRange2D self) -> std::string"""
5658  return _IMP_algebra.BoundedGridRange2D___repr__(self)
5659 
5660  def __cmp__(self, *args):
5661  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
5662  return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
5663 
5664  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
5665  __del__ = lambda self : None;
5666 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
5667 BoundedGridRange2D_swigregister(BoundedGridRange2D)
5668 
5669 def BoundedGridRange2D_get_is_bounded():
5670  """BoundedGridRange2D_get_is_bounded() -> bool"""
5671  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5672 
5673 class BoundedGridRange3D(_object):
5674  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
5675  __swig_setmethods__ = {}
5676  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange3D, name, value)
5677  __swig_getmethods__ = {}
5678  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange3D, name)
5679  def get_is_bounded():
5680  """get_is_bounded() -> bool"""
5681  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5682 
5683  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5684  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5685  def __init__(self, *args):
5686  """
5687  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
5688  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
5689  """
5690  this = _IMP_algebra.new_BoundedGridRange3D(*args)
5691  try: self.this.append(this)
5692  except: self.this = this
5693  def get_number_of_voxels(self, *args):
5694  """
5695  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
5696  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
5697  """
5698  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
5699 
5700  def get_end_index(self):
5701  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5702  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
5703 
5704  def show(self, *args):
5705  """
5706  show(BoundedGridRange3D self, _ostream out=std::cout)
5707  show(BoundedGridRange3D self)
5708  """
5709  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
5710 
5711  def get_all_indexes(self):
5712  """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5713  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
5714 
5715  def get_indexes(self, *args):
5716  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5717  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
5718 
5719  def get_extended_indexes(self, *args):
5720  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
5721  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
5722 
5723  def get_index(self, *args):
5724  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5725  return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
5726 
5727  def get_has_index(self, *args):
5728  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
5729  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
5730 
5731  def get_minimum_extended_index(self):
5732  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5733  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
5734 
5735  def get_maximum_extended_index(self):
5736  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5737  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
5738 
5739  def __str__(self):
5740  """__str__(BoundedGridRange3D self) -> std::string"""
5741  return _IMP_algebra.BoundedGridRange3D___str__(self)
5742 
5743  def __repr__(self):
5744  """__repr__(BoundedGridRange3D self) -> std::string"""
5745  return _IMP_algebra.BoundedGridRange3D___repr__(self)
5746 
5747  def __cmp__(self, *args):
5748  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
5749  return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
5750 
5751  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
5752  __del__ = lambda self : None;
5753 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
5754 BoundedGridRange3D_swigregister(BoundedGridRange3D)
5755 
5756 def BoundedGridRange3D_get_is_bounded():
5757  """BoundedGridRange3D_get_is_bounded() -> bool"""
5758  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5759 
5760 class BoundedGridRange4D(_object):
5761  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
5762  __swig_setmethods__ = {}
5763  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange4D, name, value)
5764  __swig_getmethods__ = {}
5765  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange4D, name)
5766  def get_is_bounded():
5767  """get_is_bounded() -> bool"""
5768  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5769 
5770  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5771  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5772  def __init__(self, *args):
5773  """
5774  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
5775  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
5776  """
5777  this = _IMP_algebra.new_BoundedGridRange4D(*args)
5778  try: self.this.append(this)
5779  except: self.this = this
5780  def get_number_of_voxels(self, *args):
5781  """
5782  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
5783  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
5784  """
5785  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
5786 
5787  def get_end_index(self):
5788  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5789  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
5790 
5791  def show(self, *args):
5792  """
5793  show(BoundedGridRange4D self, _ostream out=std::cout)
5794  show(BoundedGridRange4D self)
5795  """
5796  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
5797 
5798  def get_all_indexes(self):
5799  """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5800  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
5801 
5802  def get_indexes(self, *args):
5803  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5804  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
5805 
5806  def get_extended_indexes(self, *args):
5807  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
5808  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
5809 
5810  def get_index(self, *args):
5811  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
5812  return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
5813 
5814  def get_has_index(self, *args):
5815  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
5816  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
5817 
5818  def get_minimum_extended_index(self):
5819  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5820  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
5821 
5822  def get_maximum_extended_index(self):
5823  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5824  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
5825 
5826  def __str__(self):
5827  """__str__(BoundedGridRange4D self) -> std::string"""
5828  return _IMP_algebra.BoundedGridRange4D___str__(self)
5829 
5830  def __repr__(self):
5831  """__repr__(BoundedGridRange4D self) -> std::string"""
5832  return _IMP_algebra.BoundedGridRange4D___repr__(self)
5833 
5834  def __cmp__(self, *args):
5835  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
5836  return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
5837 
5838  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
5839  __del__ = lambda self : None;
5840 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
5841 BoundedGridRange4D_swigregister(BoundedGridRange4D)
5842 
5843 def BoundedGridRange4D_get_is_bounded():
5844  """BoundedGridRange4D_get_is_bounded() -> bool"""
5845  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5846 
5847 class BoundedGridRange5D(_object):
5848  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
5849  __swig_setmethods__ = {}
5850  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange5D, name, value)
5851  __swig_getmethods__ = {}
5852  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange5D, name)
5853  def get_is_bounded():
5854  """get_is_bounded() -> bool"""
5855  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5856 
5857  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5858  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5859  def __init__(self, *args):
5860  """
5861  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
5862  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
5863  """
5864  this = _IMP_algebra.new_BoundedGridRange5D(*args)
5865  try: self.this.append(this)
5866  except: self.this = this
5867  def get_number_of_voxels(self, *args):
5868  """
5869  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
5870  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
5871  """
5872  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
5873 
5874  def get_end_index(self):
5875  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5876  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
5877 
5878  def show(self, *args):
5879  """
5880  show(BoundedGridRange5D self, _ostream out=std::cout)
5881  show(BoundedGridRange5D self)
5882  """
5883  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
5884 
5885  def get_all_indexes(self):
5886  """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5887  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
5888 
5889  def get_indexes(self, *args):
5890  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5891  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
5892 
5893  def get_extended_indexes(self, *args):
5894  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
5895  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
5896 
5897  def get_index(self, *args):
5898  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
5899  return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
5900 
5901  def get_has_index(self, *args):
5902  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
5903  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
5904 
5905  def get_minimum_extended_index(self):
5906  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5907  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
5908 
5909  def get_maximum_extended_index(self):
5910  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5911  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
5912 
5913  def __str__(self):
5914  """__str__(BoundedGridRange5D self) -> std::string"""
5915  return _IMP_algebra.BoundedGridRange5D___str__(self)
5916 
5917  def __repr__(self):
5918  """__repr__(BoundedGridRange5D self) -> std::string"""
5919  return _IMP_algebra.BoundedGridRange5D___repr__(self)
5920 
5921  def __cmp__(self, *args):
5922  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
5923  return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
5924 
5925  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
5926  __del__ = lambda self : None;
5927 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
5928 BoundedGridRange5D_swigregister(BoundedGridRange5D)
5929 
5930 def BoundedGridRange5D_get_is_bounded():
5931  """BoundedGridRange5D_get_is_bounded() -> bool"""
5932  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5933 
5934 class BoundedGridRange6D(_object):
5935  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
5936  __swig_setmethods__ = {}
5937  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange6D, name, value)
5938  __swig_getmethods__ = {}
5939  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange6D, name)
5940  def get_is_bounded():
5941  """get_is_bounded() -> bool"""
5942  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
5943 
5944  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5945  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5946  def __init__(self, *args):
5947  """
5948  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
5949  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
5950  """
5951  this = _IMP_algebra.new_BoundedGridRange6D(*args)
5952  try: self.this.append(this)
5953  except: self.this = this
5954  def get_number_of_voxels(self, *args):
5955  """
5956  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
5957  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
5958  """
5959  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
5960 
5961  def get_end_index(self):
5962  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5963  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
5964 
5965  def show(self, *args):
5966  """
5967  show(BoundedGridRange6D self, _ostream out=std::cout)
5968  show(BoundedGridRange6D self)
5969  """
5970  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
5971 
5972  def get_all_indexes(self):
5973  """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5974  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
5975 
5976  def get_indexes(self, *args):
5977  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5978  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
5979 
5980  def get_extended_indexes(self, *args):
5981  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
5982  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
5983 
5984  def get_index(self, *args):
5985  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
5986  return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
5987 
5988  def get_has_index(self, *args):
5989  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
5990  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
5991 
5992  def get_minimum_extended_index(self):
5993  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5994  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
5995 
5996  def get_maximum_extended_index(self):
5997  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5998  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
5999 
6000  def __str__(self):
6001  """__str__(BoundedGridRange6D self) -> std::string"""
6002  return _IMP_algebra.BoundedGridRange6D___str__(self)
6003 
6004  def __repr__(self):
6005  """__repr__(BoundedGridRange6D self) -> std::string"""
6006  return _IMP_algebra.BoundedGridRange6D___repr__(self)
6007 
6008  def __cmp__(self, *args):
6009  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
6010  return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
6011 
6012  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
6013  __del__ = lambda self : None;
6014 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
6015 BoundedGridRange6D_swigregister(BoundedGridRange6D)
6016 
6017 def BoundedGridRange6D_get_is_bounded():
6018  """BoundedGridRange6D_get_is_bounded() -> bool"""
6019  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6020 
6021 class BoundedGridRangeKD(_object):
6022  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
6023  __swig_setmethods__ = {}
6024  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRangeKD, name, value)
6025  __swig_getmethods__ = {}
6026  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRangeKD, name)
6027  def get_is_bounded():
6028  """get_is_bounded() -> bool"""
6029  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6030 
6031  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6032  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6033  def __init__(self, *args):
6034  """
6035  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
6036  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
6037  """
6038  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
6039  try: self.this.append(this)
6040  except: self.this = this
6041  def get_number_of_voxels(self, *args):
6042  """
6043  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
6044  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
6045  """
6046  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
6047 
6048  def get_end_index(self):
6049  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6050  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
6051 
6052  def show(self, *args):
6053  """
6054  show(BoundedGridRangeKD self, _ostream out=std::cout)
6055  show(BoundedGridRangeKD self)
6056  """
6057  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
6058 
6059  def get_all_indexes(self):
6060  """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6061  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
6062 
6063  def get_indexes(self, *args):
6064  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6065  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
6066 
6067  def get_extended_indexes(self, *args):
6068  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6069  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
6070 
6071  def get_index(self, *args):
6072  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6073  return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
6074 
6075  def get_has_index(self, *args):
6076  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
6077  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
6078 
6079  def get_minimum_extended_index(self):
6080  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6081  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
6082 
6083  def get_maximum_extended_index(self):
6084  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6085  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
6086 
6087  def __str__(self):
6088  """__str__(BoundedGridRangeKD self) -> std::string"""
6089  return _IMP_algebra.BoundedGridRangeKD___str__(self)
6090 
6091  def __repr__(self):
6092  """__repr__(BoundedGridRangeKD self) -> std::string"""
6093  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
6094 
6095  def __cmp__(self, *args):
6096  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
6097  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
6098 
6099  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
6100  __del__ = lambda self : None;
6101 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
6102 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6103 
6104 def BoundedGridRangeKD_get_is_bounded():
6105  """BoundedGridRangeKD_get_is_bounded() -> bool"""
6106  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6107 
6108 class UnboundedGridRange1D(_object):
6109  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6110  __swig_setmethods__ = {}
6111  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange1D, name, value)
6112  __swig_getmethods__ = {}
6113  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange1D, name)
6114  def __init__(self, *args):
6115  """
6116  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6117  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6118  """
6119  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6120  try: self.this.append(this)
6121  except: self.this = this
6122  def set_number_of_voxels(self, *args):
6123  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6124  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6125 
6126  def get_number_of_voxels(self, *args):
6127  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6128  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
6129 
6130  def get_is_bounded():
6131  """get_is_bounded() -> bool"""
6132  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6133 
6134  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6135  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6136  def get_has_index(self, *args):
6137  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
6138  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
6139 
6140  def show(self, *args):
6141  """
6142  show(UnboundedGridRange1D self, _ostream out=std::cout)
6143  show(UnboundedGridRange1D self)
6144  """
6145  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
6146 
6147  def get_extended_indexes(self, *args):
6148  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6149  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
6150 
6151  def __str__(self):
6152  """__str__(UnboundedGridRange1D self) -> std::string"""
6153  return _IMP_algebra.UnboundedGridRange1D___str__(self)
6154 
6155  def __repr__(self):
6156  """__repr__(UnboundedGridRange1D self) -> std::string"""
6157  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
6158 
6159  def __cmp__(self, *args):
6160  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
6161  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
6162 
6163  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
6164  __del__ = lambda self : None;
6165 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
6166 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
6167 
6168 def UnboundedGridRange1D_get_is_bounded():
6169  """UnboundedGridRange1D_get_is_bounded() -> bool"""
6170  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6171 
6172 class UnboundedGridRange2D(_object):
6173  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
6174  __swig_setmethods__ = {}
6175  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange2D, name, value)
6176  __swig_getmethods__ = {}
6177  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange2D, name)
6178  def __init__(self, *args):
6179  """
6180  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
6181  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
6182  """
6183  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
6184  try: self.this.append(this)
6185  except: self.this = this
6186  def set_number_of_voxels(self, *args):
6187  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
6188  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
6189 
6190  def get_number_of_voxels(self, *args):
6191  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
6192  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
6193 
6194  def get_is_bounded():
6195  """get_is_bounded() -> bool"""
6196  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6197 
6198  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6199  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6200  def get_has_index(self, *args):
6201  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
6202  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
6203 
6204  def show(self, *args):
6205  """
6206  show(UnboundedGridRange2D self, _ostream out=std::cout)
6207  show(UnboundedGridRange2D self)
6208  """
6209  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
6210 
6211  def get_extended_indexes(self, *args):
6212  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6213  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
6214 
6215  def __str__(self):
6216  """__str__(UnboundedGridRange2D self) -> std::string"""
6217  return _IMP_algebra.UnboundedGridRange2D___str__(self)
6218 
6219  def __repr__(self):
6220  """__repr__(UnboundedGridRange2D self) -> std::string"""
6221  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
6222 
6223  def __cmp__(self, *args):
6224  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
6225  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
6226 
6227  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
6228  __del__ = lambda self : None;
6229 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
6230 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
6231 
6232 def UnboundedGridRange2D_get_is_bounded():
6233  """UnboundedGridRange2D_get_is_bounded() -> bool"""
6234  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6235 
6236 class UnboundedGridRange3D(_object):
6237  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
6238  __swig_setmethods__ = {}
6239  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange3D, name, value)
6240  __swig_getmethods__ = {}
6241  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange3D, name)
6242  def __init__(self, *args):
6243  """
6244  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
6245  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
6246  """
6247  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
6248  try: self.this.append(this)
6249  except: self.this = this
6250  def set_number_of_voxels(self, *args):
6251  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
6252  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
6253 
6254  def get_number_of_voxels(self, *args):
6255  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
6256  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
6257 
6258  def get_is_bounded():
6259  """get_is_bounded() -> bool"""
6260  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6261 
6262  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6263  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6264  def get_has_index(self, *args):
6265  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
6266  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
6267 
6268  def show(self, *args):
6269  """
6270  show(UnboundedGridRange3D self, _ostream out=std::cout)
6271  show(UnboundedGridRange3D self)
6272  """
6273  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
6274 
6275  def get_extended_indexes(self, *args):
6276  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6277  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
6278 
6279  def __str__(self):
6280  """__str__(UnboundedGridRange3D self) -> std::string"""
6281  return _IMP_algebra.UnboundedGridRange3D___str__(self)
6282 
6283  def __repr__(self):
6284  """__repr__(UnboundedGridRange3D self) -> std::string"""
6285  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
6286 
6287  def __cmp__(self, *args):
6288  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
6289  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
6290 
6291  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
6292  __del__ = lambda self : None;
6293 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
6294 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
6295 
6296 def UnboundedGridRange3D_get_is_bounded():
6297  """UnboundedGridRange3D_get_is_bounded() -> bool"""
6298  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6299 
6300 class UnboundedGridRange4D(_object):
6301  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
6302  __swig_setmethods__ = {}
6303  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange4D, name, value)
6304  __swig_getmethods__ = {}
6305  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange4D, name)
6306  def __init__(self, *args):
6307  """
6308  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
6309  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
6310  """
6311  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
6312  try: self.this.append(this)
6313  except: self.this = this
6314  def set_number_of_voxels(self, *args):
6315  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
6316  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
6317 
6318  def get_number_of_voxels(self, *args):
6319  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
6320  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
6321 
6322  def get_is_bounded():
6323  """get_is_bounded() -> bool"""
6324  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6325 
6326  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6327  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6328  def get_has_index(self, *args):
6329  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
6330  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
6331 
6332  def show(self, *args):
6333  """
6334  show(UnboundedGridRange4D self, _ostream out=std::cout)
6335  show(UnboundedGridRange4D self)
6336  """
6337  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
6338 
6339  def get_extended_indexes(self, *args):
6340  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6341  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
6342 
6343  def __str__(self):
6344  """__str__(UnboundedGridRange4D self) -> std::string"""
6345  return _IMP_algebra.UnboundedGridRange4D___str__(self)
6346 
6347  def __repr__(self):
6348  """__repr__(UnboundedGridRange4D self) -> std::string"""
6349  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
6350 
6351  def __cmp__(self, *args):
6352  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
6353  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
6354 
6355  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
6356  __del__ = lambda self : None;
6357 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
6358 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
6359 
6360 def UnboundedGridRange4D_get_is_bounded():
6361  """UnboundedGridRange4D_get_is_bounded() -> bool"""
6362  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6363 
6364 class UnboundedGridRange5D(_object):
6365  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
6366  __swig_setmethods__ = {}
6367  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange5D, name, value)
6368  __swig_getmethods__ = {}
6369  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange5D, name)
6370  def __init__(self, *args):
6371  """
6372  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
6373  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
6374  """
6375  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
6376  try: self.this.append(this)
6377  except: self.this = this
6378  def set_number_of_voxels(self, *args):
6379  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
6380  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
6381 
6382  def get_number_of_voxels(self, *args):
6383  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
6384  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
6385 
6386  def get_is_bounded():
6387  """get_is_bounded() -> bool"""
6388  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6389 
6390  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6391  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6392  def get_has_index(self, *args):
6393  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
6394  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
6395 
6396  def show(self, *args):
6397  """
6398  show(UnboundedGridRange5D self, _ostream out=std::cout)
6399  show(UnboundedGridRange5D self)
6400  """
6401  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
6402 
6403  def get_extended_indexes(self, *args):
6404  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6405  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
6406 
6407  def __str__(self):
6408  """__str__(UnboundedGridRange5D self) -> std::string"""
6409  return _IMP_algebra.UnboundedGridRange5D___str__(self)
6410 
6411  def __repr__(self):
6412  """__repr__(UnboundedGridRange5D self) -> std::string"""
6413  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
6414 
6415  def __cmp__(self, *args):
6416  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
6417  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
6418 
6419  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
6420  __del__ = lambda self : None;
6421 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
6422 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
6423 
6424 def UnboundedGridRange5D_get_is_bounded():
6425  """UnboundedGridRange5D_get_is_bounded() -> bool"""
6426  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6427 
6428 class UnboundedGridRange6D(_object):
6429  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
6430  __swig_setmethods__ = {}
6431  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange6D, name, value)
6432  __swig_getmethods__ = {}
6433  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange6D, name)
6434  def __init__(self, *args):
6435  """
6436  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
6437  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
6438  """
6439  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
6440  try: self.this.append(this)
6441  except: self.this = this
6442  def set_number_of_voxels(self, *args):
6443  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
6444  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
6445 
6446  def get_number_of_voxels(self, *args):
6447  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
6448  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
6449 
6450  def get_is_bounded():
6451  """get_is_bounded() -> bool"""
6452  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6453 
6454  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6455  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6456  def get_has_index(self, *args):
6457  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
6458  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
6459 
6460  def show(self, *args):
6461  """
6462  show(UnboundedGridRange6D self, _ostream out=std::cout)
6463  show(UnboundedGridRange6D self)
6464  """
6465  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
6466 
6467  def get_extended_indexes(self, *args):
6468  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6469  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
6470 
6471  def __str__(self):
6472  """__str__(UnboundedGridRange6D self) -> std::string"""
6473  return _IMP_algebra.UnboundedGridRange6D___str__(self)
6474 
6475  def __repr__(self):
6476  """__repr__(UnboundedGridRange6D self) -> std::string"""
6477  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
6478 
6479  def __cmp__(self, *args):
6480  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
6481  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
6482 
6483  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
6484  __del__ = lambda self : None;
6485 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
6486 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
6487 
6488 def UnboundedGridRange6D_get_is_bounded():
6489  """UnboundedGridRange6D_get_is_bounded() -> bool"""
6490  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6491 
6492 class UnboundedGridRangeKD(_object):
6493  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
6494  __swig_setmethods__ = {}
6495  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRangeKD, name, value)
6496  __swig_getmethods__ = {}
6497  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRangeKD, name)
6498  def __init__(self, *args):
6499  """
6500  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
6501  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
6502  """
6503  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
6504  try: self.this.append(this)
6505  except: self.this = this
6506  def set_number_of_voxels(self, *args):
6507  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
6508  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
6509 
6510  def get_number_of_voxels(self, *args):
6511  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
6512  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
6513 
6514  def get_is_bounded():
6515  """get_is_bounded() -> bool"""
6516  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6517 
6518  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6519  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6520  def get_has_index(self, *args):
6521  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
6522  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
6523 
6524  def show(self, *args):
6525  """
6526  show(UnboundedGridRangeKD self, _ostream out=std::cout)
6527  show(UnboundedGridRangeKD self)
6528  """
6529  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
6530 
6531  def get_extended_indexes(self, *args):
6532  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6533  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
6534 
6535  def __str__(self):
6536  """__str__(UnboundedGridRangeKD self) -> std::string"""
6537  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
6538 
6539  def __repr__(self):
6540  """__repr__(UnboundedGridRangeKD self) -> std::string"""
6541  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
6542 
6543  def __cmp__(self, *args):
6544  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
6545  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
6546 
6547  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
6548  __del__ = lambda self : None;
6549 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
6550 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
6551 
6552 def UnboundedGridRangeKD_get_is_bounded():
6553  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
6554  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6555 
6556 class DefaultEmbedding1D(_object):
6557  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
6558  __swig_setmethods__ = {}
6559  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding1D, name, value)
6560  __swig_getmethods__ = {}
6561  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding1D, name)
6562  def __init__(self, *args):
6563  """
6564  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
6565  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
6566  """
6567  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
6568  try: self.this.append(this)
6569  except: self.this = this
6570  def set_origin(self, *args):
6571  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
6572  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
6573 
6574  def get_origin(self):
6575  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
6576  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
6577 
6578  def get_dimension(self):
6579  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
6580  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
6581 
6582  def set_unit_cell(self, *args):
6583  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
6584  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
6585 
6586  def get_inverse_unit_cell(self):
6587  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6588  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
6589 
6590  def get_unit_cell(self):
6591  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6592  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
6593 
6594  def get_extended_index(self, *args):
6595  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
6596  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
6597 
6598  def get_index(self, *args):
6599  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
6600  return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
6601 
6602  def get_center(self, *args):
6603  """
6604  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
6605  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
6606  """
6607  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
6608 
6609  def get_bounding_box(self, *args):
6610  """
6611  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
6612  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
6613  """
6614  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
6615 
6616  def show(self, *args):
6617  """
6618  show(DefaultEmbedding1D self, _ostream out=std::cout)
6619  show(DefaultEmbedding1D self)
6620  """
6621  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
6622 
6623  def __str__(self):
6624  """__str__(DefaultEmbedding1D self) -> std::string"""
6625  return _IMP_algebra.DefaultEmbedding1D___str__(self)
6626 
6627  def __repr__(self):
6628  """__repr__(DefaultEmbedding1D self) -> std::string"""
6629  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
6630 
6631  def __cmp__(self, *args):
6632  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
6633  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
6634 
6635  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
6636  __del__ = lambda self : None;
6637 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
6638 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
6639 
6640 class DefaultEmbedding2D(_object):
6641  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
6642  __swig_setmethods__ = {}
6643  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding2D, name, value)
6644  __swig_getmethods__ = {}
6645  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding2D, name)
6646  def __init__(self, *args):
6647  """
6648  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
6649  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
6650  """
6651  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
6652  try: self.this.append(this)
6653  except: self.this = this
6654  def set_origin(self, *args):
6655  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
6656  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
6657 
6658  def get_origin(self):
6659  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
6660  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
6661 
6662  def get_dimension(self):
6663  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
6664  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
6665 
6666  def set_unit_cell(self, *args):
6667  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
6668  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
6669 
6670  def get_inverse_unit_cell(self):
6671  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6672  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
6673 
6674  def get_unit_cell(self):
6675  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6676  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
6677 
6678  def get_extended_index(self, *args):
6679  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
6680  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
6681 
6682  def get_index(self, *args):
6683  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
6684  return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
6685 
6686  def get_center(self, *args):
6687  """
6688  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
6689  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
6690  """
6691  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
6692 
6693  def get_bounding_box(self, *args):
6694  """
6695  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
6696  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
6697  """
6698  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
6699 
6700  def show(self, *args):
6701  """
6702  show(DefaultEmbedding2D self, _ostream out=std::cout)
6703  show(DefaultEmbedding2D self)
6704  """
6705  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
6706 
6707  def __str__(self):
6708  """__str__(DefaultEmbedding2D self) -> std::string"""
6709  return _IMP_algebra.DefaultEmbedding2D___str__(self)
6710 
6711  def __repr__(self):
6712  """__repr__(DefaultEmbedding2D self) -> std::string"""
6713  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
6714 
6715  def __cmp__(self, *args):
6716  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
6717  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
6718 
6719  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
6720  __del__ = lambda self : None;
6721 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
6722 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
6723 
6724 class DefaultEmbedding3D(_object):
6725  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
6726  __swig_setmethods__ = {}
6727  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding3D, name, value)
6728  __swig_getmethods__ = {}
6729  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding3D, name)
6730  def __init__(self, *args):
6731  """
6732  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
6733  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
6734  """
6735  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
6736  try: self.this.append(this)
6737  except: self.this = this
6738  def set_origin(self, *args):
6739  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
6740  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
6741 
6742  def get_origin(self):
6743  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
6744  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
6745 
6746  def get_dimension(self):
6747  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
6748  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
6749 
6750  def set_unit_cell(self, *args):
6751  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
6752  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
6753 
6754  def get_inverse_unit_cell(self):
6755  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6756  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
6757 
6758  def get_unit_cell(self):
6759  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6760  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
6761 
6762  def get_extended_index(self, *args):
6763  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
6764  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
6765 
6766  def get_index(self, *args):
6767  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
6768  return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
6769 
6770  def get_center(self, *args):
6771  """
6772  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
6773  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
6774  """
6775  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
6776 
6777  def get_bounding_box(self, *args):
6778  """
6779  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
6780  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
6781  """
6782  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
6783 
6784  def show(self, *args):
6785  """
6786  show(DefaultEmbedding3D self, _ostream out=std::cout)
6787  show(DefaultEmbedding3D self)
6788  """
6789  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
6790 
6791  def __str__(self):
6792  """__str__(DefaultEmbedding3D self) -> std::string"""
6793  return _IMP_algebra.DefaultEmbedding3D___str__(self)
6794 
6795  def __repr__(self):
6796  """__repr__(DefaultEmbedding3D self) -> std::string"""
6797  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
6798 
6799  def __cmp__(self, *args):
6800  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
6801  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
6802 
6803  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
6804  __del__ = lambda self : None;
6805 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
6806 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
6807 
6808 class DefaultEmbedding4D(_object):
6809  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
6810  __swig_setmethods__ = {}
6811  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding4D, name, value)
6812  __swig_getmethods__ = {}
6813  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding4D, name)
6814  def __init__(self, *args):
6815  """
6816  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
6817  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
6818  """
6819  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
6820  try: self.this.append(this)
6821  except: self.this = this
6822  def set_origin(self, *args):
6823  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
6824  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
6825 
6826  def get_origin(self):
6827  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
6828  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
6829 
6830  def get_dimension(self):
6831  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
6832  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
6833 
6834  def set_unit_cell(self, *args):
6835  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
6836  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
6837 
6838  def get_inverse_unit_cell(self):
6839  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6840  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
6841 
6842  def get_unit_cell(self):
6843  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6844  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
6845 
6846  def get_extended_index(self, *args):
6847  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
6848  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
6849 
6850  def get_index(self, *args):
6851  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
6852  return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
6853 
6854  def get_center(self, *args):
6855  """
6856  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
6857  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
6858  """
6859  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
6860 
6861  def get_bounding_box(self, *args):
6862  """
6863  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
6864  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
6865  """
6866  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
6867 
6868  def show(self, *args):
6869  """
6870  show(DefaultEmbedding4D self, _ostream out=std::cout)
6871  show(DefaultEmbedding4D self)
6872  """
6873  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
6874 
6875  def __str__(self):
6876  """__str__(DefaultEmbedding4D self) -> std::string"""
6877  return _IMP_algebra.DefaultEmbedding4D___str__(self)
6878 
6879  def __repr__(self):
6880  """__repr__(DefaultEmbedding4D self) -> std::string"""
6881  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
6882 
6883  def __cmp__(self, *args):
6884  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
6885  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
6886 
6887  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
6888  __del__ = lambda self : None;
6889 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
6890 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
6891 
6892 class DefaultEmbedding5D(_object):
6893  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
6894  __swig_setmethods__ = {}
6895  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding5D, name, value)
6896  __swig_getmethods__ = {}
6897  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding5D, name)
6898  def __init__(self, *args):
6899  """
6900  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
6901  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
6902  """
6903  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
6904  try: self.this.append(this)
6905  except: self.this = this
6906  def set_origin(self, *args):
6907  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
6908  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
6909 
6910  def get_origin(self):
6911  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
6912  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
6913 
6914  def get_dimension(self):
6915  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
6916  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
6917 
6918  def set_unit_cell(self, *args):
6919  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
6920  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
6921 
6922  def get_inverse_unit_cell(self):
6923  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6924  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
6925 
6926  def get_unit_cell(self):
6927  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6928  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
6929 
6930  def get_extended_index(self, *args):
6931  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
6932  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
6933 
6934  def get_index(self, *args):
6935  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
6936  return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
6937 
6938  def get_center(self, *args):
6939  """
6940  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
6941  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
6942  """
6943  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
6944 
6945  def get_bounding_box(self, *args):
6946  """
6947  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
6948  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
6949  """
6950  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
6951 
6952  def show(self, *args):
6953  """
6954  show(DefaultEmbedding5D self, _ostream out=std::cout)
6955  show(DefaultEmbedding5D self)
6956  """
6957  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
6958 
6959  def __str__(self):
6960  """__str__(DefaultEmbedding5D self) -> std::string"""
6961  return _IMP_algebra.DefaultEmbedding5D___str__(self)
6962 
6963  def __repr__(self):
6964  """__repr__(DefaultEmbedding5D self) -> std::string"""
6965  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
6966 
6967  def __cmp__(self, *args):
6968  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
6969  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
6970 
6971  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
6972  __del__ = lambda self : None;
6973 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
6974 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
6975 
6976 class DefaultEmbedding6D(_object):
6977  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
6978  __swig_setmethods__ = {}
6979  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding6D, name, value)
6980  __swig_getmethods__ = {}
6981  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding6D, name)
6982  def __init__(self, *args):
6983  """
6984  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
6985  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
6986  """
6987  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
6988  try: self.this.append(this)
6989  except: self.this = this
6990  def set_origin(self, *args):
6991  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
6992  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
6993 
6994  def get_origin(self):
6995  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
6996  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
6997 
6998  def get_dimension(self):
6999  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
7000  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
7001 
7002  def set_unit_cell(self, *args):
7003  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
7004  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
7005 
7006  def get_inverse_unit_cell(self):
7007  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7008  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
7009 
7010  def get_unit_cell(self):
7011  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7012  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
7013 
7014  def get_extended_index(self, *args):
7015  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7016  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
7017 
7018  def get_index(self, *args):
7019  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
7020  return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
7021 
7022  def get_center(self, *args):
7023  """
7024  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7025  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
7026  """
7027  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
7028 
7029  def get_bounding_box(self, *args):
7030  """
7031  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7032  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7033  """
7034  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
7035 
7036  def show(self, *args):
7037  """
7038  show(DefaultEmbedding6D self, _ostream out=std::cout)
7039  show(DefaultEmbedding6D self)
7040  """
7041  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
7042 
7043  def __str__(self):
7044  """__str__(DefaultEmbedding6D self) -> std::string"""
7045  return _IMP_algebra.DefaultEmbedding6D___str__(self)
7046 
7047  def __repr__(self):
7048  """__repr__(DefaultEmbedding6D self) -> std::string"""
7049  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
7050 
7051  def __cmp__(self, *args):
7052  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
7053  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
7054 
7055  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
7056  __del__ = lambda self : None;
7057 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
7058 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
7059 
7060 class DefaultEmbeddingKD(_object):
7061  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
7062  __swig_setmethods__ = {}
7063  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbeddingKD, name, value)
7064  __swig_getmethods__ = {}
7065  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbeddingKD, name)
7066  def __init__(self, *args):
7067  """
7068  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
7069  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
7070  """
7071  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
7072  try: self.this.append(this)
7073  except: self.this = this
7074  def set_origin(self, *args):
7075  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
7076  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
7077 
7078  def get_origin(self):
7079  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
7080  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
7081 
7082  def get_dimension(self):
7083  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
7084  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
7085 
7086  def set_unit_cell(self, *args):
7087  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
7088  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
7089 
7090  def get_inverse_unit_cell(self):
7091  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7092  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
7093 
7094  def get_unit_cell(self):
7095  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7096  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
7097 
7098  def get_extended_index(self, *args):
7099  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7100  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
7101 
7102  def get_index(self, *args):
7103  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7104  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7105 
7106  def get_center(self, *args):
7107  """
7108  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7109  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7110  """
7111  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7112 
7113  def get_bounding_box(self, *args):
7114  """
7115  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7116  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7117  """
7118  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7119 
7120  def show(self, *args):
7121  """
7122  show(DefaultEmbeddingKD self, _ostream out=std::cout)
7123  show(DefaultEmbeddingKD self)
7124  """
7125  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7126 
7127  def __str__(self):
7128  """__str__(DefaultEmbeddingKD self) -> std::string"""
7129  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
7130 
7131  def __repr__(self):
7132  """__repr__(DefaultEmbeddingKD self) -> std::string"""
7133  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
7134 
7135  def __cmp__(self, *args):
7136  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
7137  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
7138 
7139  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
7140  __del__ = lambda self : None;
7141 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
7142 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
7143 
7144 class LogEmbedding1D(_object):
7145  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
7146  __swig_setmethods__ = {}
7147  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding1D, name, value)
7148  __swig_getmethods__ = {}
7149  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding1D, name)
7150  def __init__(self, *args):
7151  """
7152  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
7153  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
7154  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
7155  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
7156  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
7157  """
7158  this = _IMP_algebra.new_LogEmbedding1D(*args)
7159  try: self.this.append(this)
7160  except: self.this = this
7161  def set_origin(self, *args):
7162  """set_origin(LogEmbedding1D self, Vector1D o)"""
7163  return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
7164 
7165  def get_origin(self):
7166  """get_origin(LogEmbedding1D self) -> Vector1D"""
7167  return _IMP_algebra.LogEmbedding1D_get_origin(self)
7168 
7169  def get_dimension(self):
7170  """get_dimension(LogEmbedding1D self) -> unsigned int"""
7171  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
7172 
7173  def set_unit_cell(self, *args):
7174  """
7175  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
7176  set_unit_cell(LogEmbedding1D self, Vector1D o)
7177  """
7178  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
7179 
7180  def get_unit_cell(self):
7181  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
7182  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
7183 
7184  def get_extended_index(self, *args):
7185  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7186  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
7187 
7188  def get_index(self, *args):
7189  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
7190  return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
7191 
7192  def get_center(self, *args):
7193  """
7194  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7195  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
7196  """
7197  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
7198 
7199  def get_bounding_box(self, *args):
7200  """
7201  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7202  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7203  """
7204  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
7205 
7206  def show(self, *args):
7207  """
7208  show(LogEmbedding1D self, _ostream out=std::cout)
7209  show(LogEmbedding1D self)
7210  """
7211  return _IMP_algebra.LogEmbedding1D_show(self, *args)
7212 
7213  def __str__(self):
7214  """__str__(LogEmbedding1D self) -> std::string"""
7215  return _IMP_algebra.LogEmbedding1D___str__(self)
7216 
7217  def __repr__(self):
7218  """__repr__(LogEmbedding1D self) -> std::string"""
7219  return _IMP_algebra.LogEmbedding1D___repr__(self)
7220 
7221  def __cmp__(self, *args):
7222  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
7223  return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
7224 
7225  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
7226  __del__ = lambda self : None;
7227 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
7228 LogEmbedding1D_swigregister(LogEmbedding1D)
7229 
7230 class LogEmbedding2D(_object):
7231  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
7232  __swig_setmethods__ = {}
7233  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding2D, name, value)
7234  __swig_getmethods__ = {}
7235  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding2D, name)
7236  def __init__(self, *args):
7237  """
7238  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
7239  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
7240  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
7241  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
7242  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
7243  """
7244  this = _IMP_algebra.new_LogEmbedding2D(*args)
7245  try: self.this.append(this)
7246  except: self.this = this
7247  def set_origin(self, *args):
7248  """set_origin(LogEmbedding2D self, Vector2D o)"""
7249  return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
7250 
7251  def get_origin(self):
7252  """get_origin(LogEmbedding2D self) -> Vector2D"""
7253  return _IMP_algebra.LogEmbedding2D_get_origin(self)
7254 
7255  def get_dimension(self):
7256  """get_dimension(LogEmbedding2D self) -> unsigned int"""
7257  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
7258 
7259  def set_unit_cell(self, *args):
7260  """
7261  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
7262  set_unit_cell(LogEmbedding2D self, Vector2D o)
7263  """
7264  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
7265 
7266  def get_unit_cell(self):
7267  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
7268  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
7269 
7270  def get_extended_index(self, *args):
7271  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7272  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
7273 
7274  def get_index(self, *args):
7275  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
7276  return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
7277 
7278  def get_center(self, *args):
7279  """
7280  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7281  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
7282  """
7283  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
7284 
7285  def get_bounding_box(self, *args):
7286  """
7287  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7288  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7289  """
7290  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
7291 
7292  def show(self, *args):
7293  """
7294  show(LogEmbedding2D self, _ostream out=std::cout)
7295  show(LogEmbedding2D self)
7296  """
7297  return _IMP_algebra.LogEmbedding2D_show(self, *args)
7298 
7299  def __str__(self):
7300  """__str__(LogEmbedding2D self) -> std::string"""
7301  return _IMP_algebra.LogEmbedding2D___str__(self)
7302 
7303  def __repr__(self):
7304  """__repr__(LogEmbedding2D self) -> std::string"""
7305  return _IMP_algebra.LogEmbedding2D___repr__(self)
7306 
7307  def __cmp__(self, *args):
7308  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
7309  return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
7310 
7311  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
7312  __del__ = lambda self : None;
7313 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
7314 LogEmbedding2D_swigregister(LogEmbedding2D)
7315 
7316 class LogEmbedding3D(_object):
7317  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
7318  __swig_setmethods__ = {}
7319  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding3D, name, value)
7320  __swig_getmethods__ = {}
7321  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding3D, name)
7322  def __init__(self, *args):
7323  """
7324  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
7325  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
7326  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
7327  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
7328  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
7329  """
7330  this = _IMP_algebra.new_LogEmbedding3D(*args)
7331  try: self.this.append(this)
7332  except: self.this = this
7333  def set_origin(self, *args):
7334  """set_origin(LogEmbedding3D self, Vector3D o)"""
7335  return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
7336 
7337  def get_origin(self):
7338  """get_origin(LogEmbedding3D self) -> Vector3D"""
7339  return _IMP_algebra.LogEmbedding3D_get_origin(self)
7340 
7341  def get_dimension(self):
7342  """get_dimension(LogEmbedding3D self) -> unsigned int"""
7343  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
7344 
7345  def set_unit_cell(self, *args):
7346  """
7347  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
7348  set_unit_cell(LogEmbedding3D self, Vector3D o)
7349  """
7350  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
7351 
7352  def get_unit_cell(self):
7353  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
7354  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
7355 
7356  def get_extended_index(self, *args):
7357  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7358  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
7359 
7360  def get_index(self, *args):
7361  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
7362  return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
7363 
7364  def get_center(self, *args):
7365  """
7366  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7367  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
7368  """
7369  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
7370 
7371  def get_bounding_box(self, *args):
7372  """
7373  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7374  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7375  """
7376  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
7377 
7378  def show(self, *args):
7379  """
7380  show(LogEmbedding3D self, _ostream out=std::cout)
7381  show(LogEmbedding3D self)
7382  """
7383  return _IMP_algebra.LogEmbedding3D_show(self, *args)
7384 
7385  def __str__(self):
7386  """__str__(LogEmbedding3D self) -> std::string"""
7387  return _IMP_algebra.LogEmbedding3D___str__(self)
7388 
7389  def __repr__(self):
7390  """__repr__(LogEmbedding3D self) -> std::string"""
7391  return _IMP_algebra.LogEmbedding3D___repr__(self)
7392 
7393  def __cmp__(self, *args):
7394  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
7395  return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
7396 
7397  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
7398  __del__ = lambda self : None;
7399 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
7400 LogEmbedding3D_swigregister(LogEmbedding3D)
7401 
7402 class LogEmbedding4D(_object):
7403  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
7404  __swig_setmethods__ = {}
7405  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding4D, name, value)
7406  __swig_getmethods__ = {}
7407  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding4D, name)
7408  def __init__(self, *args):
7409  """
7410  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
7411  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
7412  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
7413  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
7414  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
7415  """
7416  this = _IMP_algebra.new_LogEmbedding4D(*args)
7417  try: self.this.append(this)
7418  except: self.this = this
7419  def set_origin(self, *args):
7420  """set_origin(LogEmbedding4D self, Vector4D o)"""
7421  return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
7422 
7423  def get_origin(self):
7424  """get_origin(LogEmbedding4D self) -> Vector4D"""
7425  return _IMP_algebra.LogEmbedding4D_get_origin(self)
7426 
7427  def get_dimension(self):
7428  """get_dimension(LogEmbedding4D self) -> unsigned int"""
7429  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
7430 
7431  def set_unit_cell(self, *args):
7432  """
7433  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
7434  set_unit_cell(LogEmbedding4D self, Vector4D o)
7435  """
7436  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
7437 
7438  def get_unit_cell(self):
7439  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
7440  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
7441 
7442  def get_extended_index(self, *args):
7443  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7444  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
7445 
7446  def get_index(self, *args):
7447  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
7448  return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
7449 
7450  def get_center(self, *args):
7451  """
7452  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7453  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
7454  """
7455  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
7456 
7457  def get_bounding_box(self, *args):
7458  """
7459  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7460  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7461  """
7462  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
7463 
7464  def show(self, *args):
7465  """
7466  show(LogEmbedding4D self, _ostream out=std::cout)
7467  show(LogEmbedding4D self)
7468  """
7469  return _IMP_algebra.LogEmbedding4D_show(self, *args)
7470 
7471  def __str__(self):
7472  """__str__(LogEmbedding4D self) -> std::string"""
7473  return _IMP_algebra.LogEmbedding4D___str__(self)
7474 
7475  def __repr__(self):
7476  """__repr__(LogEmbedding4D self) -> std::string"""
7477  return _IMP_algebra.LogEmbedding4D___repr__(self)
7478 
7479  def __cmp__(self, *args):
7480  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
7481  return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
7482 
7483  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
7484  __del__ = lambda self : None;
7485 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
7486 LogEmbedding4D_swigregister(LogEmbedding4D)
7487 
7488 class LogEmbedding5D(_object):
7489  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
7490  __swig_setmethods__ = {}
7491  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding5D, name, value)
7492  __swig_getmethods__ = {}
7493  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding5D, name)
7494  def __init__(self, *args):
7495  """
7496  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
7497  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
7498  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
7499  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
7500  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
7501  """
7502  this = _IMP_algebra.new_LogEmbedding5D(*args)
7503  try: self.this.append(this)
7504  except: self.this = this
7505  def set_origin(self, *args):
7506  """set_origin(LogEmbedding5D self, Vector5D o)"""
7507  return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
7508 
7509  def get_origin(self):
7510  """get_origin(LogEmbedding5D self) -> Vector5D"""
7511  return _IMP_algebra.LogEmbedding5D_get_origin(self)
7512 
7513  def get_dimension(self):
7514  """get_dimension(LogEmbedding5D self) -> unsigned int"""
7515  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
7516 
7517  def set_unit_cell(self, *args):
7518  """
7519  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
7520  set_unit_cell(LogEmbedding5D self, Vector5D o)
7521  """
7522  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
7523 
7524  def get_unit_cell(self):
7525  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
7526  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
7527 
7528  def get_extended_index(self, *args):
7529  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7530  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
7531 
7532  def get_index(self, *args):
7533  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
7534  return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
7535 
7536  def get_center(self, *args):
7537  """
7538  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7539  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
7540  """
7541  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
7542 
7543  def get_bounding_box(self, *args):
7544  """
7545  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7546  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7547  """
7548  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
7549 
7550  def show(self, *args):
7551  """
7552  show(LogEmbedding5D self, _ostream out=std::cout)
7553  show(LogEmbedding5D self)
7554  """
7555  return _IMP_algebra.LogEmbedding5D_show(self, *args)
7556 
7557  def __str__(self):
7558  """__str__(LogEmbedding5D self) -> std::string"""
7559  return _IMP_algebra.LogEmbedding5D___str__(self)
7560 
7561  def __repr__(self):
7562  """__repr__(LogEmbedding5D self) -> std::string"""
7563  return _IMP_algebra.LogEmbedding5D___repr__(self)
7564 
7565  def __cmp__(self, *args):
7566  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
7567  return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
7568 
7569  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
7570  __del__ = lambda self : None;
7571 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
7572 LogEmbedding5D_swigregister(LogEmbedding5D)
7573 
7574 class LogEmbedding6D(_object):
7575  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
7576  __swig_setmethods__ = {}
7577  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding6D, name, value)
7578  __swig_getmethods__ = {}
7579  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding6D, name)
7580  def __init__(self, *args):
7581  """
7582  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
7583  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
7584  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
7585  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
7586  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
7587  """
7588  this = _IMP_algebra.new_LogEmbedding6D(*args)
7589  try: self.this.append(this)
7590  except: self.this = this
7591  def set_origin(self, *args):
7592  """set_origin(LogEmbedding6D self, Vector6D o)"""
7593  return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
7594 
7595  def get_origin(self):
7596  """get_origin(LogEmbedding6D self) -> Vector6D"""
7597  return _IMP_algebra.LogEmbedding6D_get_origin(self)
7598 
7599  def get_dimension(self):
7600  """get_dimension(LogEmbedding6D self) -> unsigned int"""
7601  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
7602 
7603  def set_unit_cell(self, *args):
7604  """
7605  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
7606  set_unit_cell(LogEmbedding6D self, Vector6D o)
7607  """
7608  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
7609 
7610  def get_unit_cell(self):
7611  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
7612  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
7613 
7614  def get_extended_index(self, *args):
7615  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7616  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
7617 
7618  def get_index(self, *args):
7619  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
7620  return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
7621 
7622  def get_center(self, *args):
7623  """
7624  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7625  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
7626  """
7627  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
7628 
7629  def get_bounding_box(self, *args):
7630  """
7631  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7632  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7633  """
7634  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
7635 
7636  def show(self, *args):
7637  """
7638  show(LogEmbedding6D self, _ostream out=std::cout)
7639  show(LogEmbedding6D self)
7640  """
7641  return _IMP_algebra.LogEmbedding6D_show(self, *args)
7642 
7643  def __str__(self):
7644  """__str__(LogEmbedding6D self) -> std::string"""
7645  return _IMP_algebra.LogEmbedding6D___str__(self)
7646 
7647  def __repr__(self):
7648  """__repr__(LogEmbedding6D self) -> std::string"""
7649  return _IMP_algebra.LogEmbedding6D___repr__(self)
7650 
7651  def __cmp__(self, *args):
7652  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
7653  return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
7654 
7655  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
7656  __del__ = lambda self : None;
7657 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
7658 LogEmbedding6D_swigregister(LogEmbedding6D)
7659 
7660 class LogEmbeddingKD(_object):
7661  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
7662  __swig_setmethods__ = {}
7663  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbeddingKD, name, value)
7664  __swig_getmethods__ = {}
7665  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbeddingKD, name)
7666  def __init__(self, *args):
7667  """
7668  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
7669  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
7670  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
7671  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
7672  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
7673  """
7674  this = _IMP_algebra.new_LogEmbeddingKD(*args)
7675  try: self.this.append(this)
7676  except: self.this = this
7677  def set_origin(self, *args):
7678  """set_origin(LogEmbeddingKD self, VectorKD o)"""
7679  return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
7680 
7681  def get_origin(self):
7682  """get_origin(LogEmbeddingKD self) -> VectorKD"""
7683  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
7684 
7685  def get_dimension(self):
7686  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
7687  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
7688 
7689  def set_unit_cell(self, *args):
7690  """
7691  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
7692  set_unit_cell(LogEmbeddingKD self, VectorKD o)
7693  """
7694  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
7695 
7696  def get_unit_cell(self):
7697  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
7698  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
7699 
7700  def get_extended_index(self, *args):
7701  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7702  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
7703 
7704  def get_index(self, *args):
7705  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7706  return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
7707 
7708  def get_center(self, *args):
7709  """
7710  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7711  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
7712  """
7713  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
7714 
7715  def get_bounding_box(self, *args):
7716  """
7717  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7718  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7719  """
7720  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
7721 
7722  def show(self, *args):
7723  """
7724  show(LogEmbeddingKD self, _ostream out=std::cout)
7725  show(LogEmbeddingKD self)
7726  """
7727  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
7728 
7729  def __str__(self):
7730  """__str__(LogEmbeddingKD self) -> std::string"""
7731  return _IMP_algebra.LogEmbeddingKD___str__(self)
7732 
7733  def __repr__(self):
7734  """__repr__(LogEmbeddingKD self) -> std::string"""
7735  return _IMP_algebra.LogEmbeddingKD___repr__(self)
7736 
7737  def __cmp__(self, *args):
7738  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
7739  return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
7740 
7741  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
7742  __del__ = lambda self : None;
7743 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
7744 LogEmbeddingKD_swigregister(LogEmbeddingKD)
7745 
7746 class SpherePatch3D(_GeometricPrimitive3D):
7747  """Proxy of C++ IMP::algebra::SpherePatch3D class"""
7748  __swig_setmethods__ = {}
7749  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7750  __setattr__ = lambda self, name, value: _swig_setattr(self, SpherePatch3D, name, value)
7751  __swig_getmethods__ = {}
7752  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7753  __getattr__ = lambda self, name: _swig_getattr(self, SpherePatch3D, name)
7754  def __init__(self, *args):
7755  """
7756  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
7757  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
7758  """
7759  this = _IMP_algebra.new_SpherePatch3D(*args)
7760  try: self.this.append(this)
7761  except: self.this = this
7762  def get_contains(self, *args):
7763  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
7764  return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
7765 
7766  def get_plane(self):
7767  """get_plane(SpherePatch3D self) -> Plane3D"""
7768  return _IMP_algebra.SpherePatch3D_get_plane(self)
7769 
7770  def get_sphere(self):
7771  """get_sphere(SpherePatch3D self) -> Sphere3D"""
7772  return _IMP_algebra.SpherePatch3D_get_sphere(self)
7773 
7774  def show(self, *args):
7775  """
7776  show(SpherePatch3D self, _ostream out=std::cout)
7777  show(SpherePatch3D self)
7778  """
7779  return _IMP_algebra.SpherePatch3D_show(self, *args)
7780 
7781  def get_boundary_point(self):
7782  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
7783  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
7784 
7785  def __str__(self):
7786  """__str__(SpherePatch3D self) -> std::string"""
7787  return _IMP_algebra.SpherePatch3D___str__(self)
7788 
7789  def __repr__(self):
7790  """__repr__(SpherePatch3D self) -> std::string"""
7791  return _IMP_algebra.SpherePatch3D___repr__(self)
7792 
7793  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
7794  __del__ = lambda self : None;
7795 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
7796 SpherePatch3D_swigregister(SpherePatch3D)
7797 
7798 
7799 def get_area(*args):
7800  """
7801  get_area(Plane3D g) -> double
7802  get_area(SpherePatch3D g) -> double
7803  """
7804  return _IMP_algebra.get_area(*args)
7805 
7806 def get_sphere_patch_3d_geometry(*args):
7807  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
7808  return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
7809 class Cone3D(_GeometricPrimitive3D):
7810  """Proxy of C++ IMP::algebra::Cone3D class"""
7811  __swig_setmethods__ = {}
7812  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7813  __setattr__ = lambda self, name, value: _swig_setattr(self, Cone3D, name, value)
7814  __swig_getmethods__ = {}
7815  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7816  __getattr__ = lambda self, name: _swig_getattr(self, Cone3D, name)
7817  def __init__(self, *args):
7818  """
7819  __init__(IMP::algebra::Cone3D self) -> Cone3D
7820  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
7821  """
7822  this = _IMP_algebra.new_Cone3D(*args)
7823  try: self.this.append(this)
7824  except: self.this = this
7825  def get_tip(self):
7826  """get_tip(Cone3D self) -> Vector3D"""
7827  return _IMP_algebra.Cone3D_get_tip(self)
7828 
7829  def get_direction(self):
7830  """get_direction(Cone3D self) -> Vector3D"""
7831  return _IMP_algebra.Cone3D_get_direction(self)
7832 
7833  def get_height(self):
7834  """get_height(Cone3D self) -> double"""
7835  return _IMP_algebra.Cone3D_get_height(self)
7836 
7837  def get_angle(self):
7838  """get_angle(Cone3D self) -> double"""
7839  return _IMP_algebra.Cone3D_get_angle(self)
7840 
7841  def get_radius(self):
7842  """get_radius(Cone3D self) -> double"""
7843  return _IMP_algebra.Cone3D_get_radius(self)
7844 
7845  def get_contains(self, *args):
7846  """get_contains(Cone3D self, Vector3D v) -> bool"""
7847  return _IMP_algebra.Cone3D_get_contains(self, *args)
7848 
7849  def get_base_plane(self):
7850  """get_base_plane(Cone3D self) -> Plane3D"""
7851  return _IMP_algebra.Cone3D_get_base_plane(self)
7852 
7853  def show(self, *args):
7854  """
7855  show(Cone3D self, _ostream out=std::cout)
7856  show(Cone3D self)
7857  """
7858  return _IMP_algebra.Cone3D_show(self, *args)
7859 
7860  def __str__(self):
7861  """__str__(Cone3D self) -> std::string"""
7862  return _IMP_algebra.Cone3D___str__(self)
7863 
7864  def __repr__(self):
7865  """__repr__(Cone3D self) -> std::string"""
7866  return _IMP_algebra.Cone3D___repr__(self)
7867 
7868  __swig_destroy__ = _IMP_algebra.delete_Cone3D
7869  __del__ = lambda self : None;
7870 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
7871 Cone3D_swigregister(Cone3D)
7872 
7873 
7874 def get_surface_area(*args):
7875  """
7876  get_surface_area(BoundingBox3D g) -> double
7877  get_surface_area(Sphere3D g) -> double
7878  get_surface_area(Cylinder3D g) -> double
7879  get_surface_area(Ellipsoid3D g) -> double
7880  get_surface_area(Cone3D g) -> double
7881  """
7882  return _IMP_algebra.get_surface_area(*args)
7883 
7884 def get_volume(*args):
7885  """
7886  get_volume(BoundingBox3D g) -> double
7887  get_volume(Sphere3D g) -> double
7888  get_volume(Cylinder3D g) -> double
7889  get_volume(Ellipsoid3D g) -> double
7890  get_volume(Cone3D g) -> double
7891  """
7892  return _IMP_algebra.get_volume(*args)
7893 
7894 def get_cone_3d_geometry(*args):
7895  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
7896  return _IMP_algebra.get_cone_3d_geometry(*args)
7897 
7898 def write_pts(*args):
7899  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
7900  return _IMP_algebra.write_pts(*args)
7901 
7902 def read_pts(*args):
7903  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
7904  return _IMP_algebra.read_pts(*args)
7905 
7906 def write_spheres(*args):
7907  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
7908  return _IMP_algebra.write_spheres(*args)
7909 
7910 def read_spheres(*args):
7911  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
7912  return _IMP_algebra.read_spheres(*args)
7913 
7914 def get_grid_surface_cover(*args):
7915  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
7916  return _IMP_algebra.get_grid_surface_cover(*args)
7917 
7918 def get_random_chain(*args):
7919  """
7920  get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0,0,0), IMP::algebra::Sphere3Ds const & obstacles=IMP::algebra::Sphere3Ds()) -> IMP::algebra::Vector3Ds
7921  get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0,0,0)) -> IMP::algebra::Vector3Ds
7922  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
7923  """
7924  return _IMP_algebra.get_random_chain(*args)
7925 
7926 def reversed_read(*args):
7927  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
7928  return _IMP_algebra.reversed_read(*args)
7929 
7930 def reversed_write(*args):
7931  """
7932  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
7933  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
7934  """
7935  return _IMP_algebra.reversed_write(*args)
7936 
7937 def get_is_big_endian():
7938  """get_is_big_endian() -> bool"""
7939  return _IMP_algebra.get_is_big_endian()
7940 
7941 def get_is_little_endian():
7942  """get_is_little_endian() -> bool"""
7943  return _IMP_algebra.get_is_little_endian()
7944 
7945 def get_shortest_segment(*args):
7946  """
7947  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
7948  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
7949  """
7950  return _IMP_algebra.get_shortest_segment(*args)
7951 class DynamicNearestNeighbor3D(IMP.base.Object):
7952  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
7953  __swig_setmethods__ = {}
7954  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7955  __setattr__ = lambda self, name, value: _swig_setattr(self, DynamicNearestNeighbor3D, name, value)
7956  __swig_getmethods__ = {}
7957  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7958  __getattr__ = lambda self, name: _swig_getattr(self, DynamicNearestNeighbor3D, name)
7959  def __init__(self, *args):
7960  """
7961  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
7962  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
7963  """
7964  this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
7965  try: self.this.append(this)
7966  except: self.this = this
7967  def get_in_ball(self, *args):
7968  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
7969  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
7970 
7971  def set_coordinates(self, *args):
7972  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
7973  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
7974 
7975  def get_version_info(self):
7976  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
7977  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
7978 
7979  __swig_destroy__ = _IMP_algebra.delete_DynamicNearestNeighbor3D
7980  __del__ = lambda self : None;
7981  def __str__(self):
7982  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
7983  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
7984 
7985  def __repr__(self):
7986  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
7987  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
7988 
7989  def get_from(o):
7990  return _object_cast_to_DynamicNearestNeighbor3D(o)
7991  get_from = staticmethod(get_from)
7992 
7993 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
7994 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
7995 
7996 class VectorKDMetric(IMP.base.Object):
7997  """Proxy of C++ IMP::algebra::VectorKDMetric class"""
7998  __swig_setmethods__ = {}
7999  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8000  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorKDMetric, name, value)
8001  __swig_getmethods__ = {}
8002  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8003  __getattr__ = lambda self, name: _swig_getattr(self, VectorKDMetric, name)
8004  def __init__(self, *args):
8005  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
8006  if self.__class__ == VectorKDMetric:
8007  _self = None
8008  else:
8009  _self = self
8010  this = _IMP_algebra.new_VectorKDMetric(_self, *args)
8011  try: self.this.append(this)
8012  except: self.this = this
8013  if self.__class__ != VectorKDMetric:
8014  import IMP.base
8015  IMP.base._director_objects.register(self)
8016 
8017 
8018 
8019  def get_distance(self, *args):
8020  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
8021  return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
8022 
8023  def get_centroid(self, *args):
8024  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
8025  return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
8026 
8027  def __str__(self):
8028  """__str__(VectorKDMetric self) -> std::string"""
8029  return _IMP_algebra.VectorKDMetric___str__(self)
8030 
8031  def __repr__(self):
8032  """__repr__(VectorKDMetric self) -> std::string"""
8033  return _IMP_algebra.VectorKDMetric___repr__(self)
8034 
8035  def get_from(o):
8036  return _object_cast_to_VectorKDMetric(o)
8037  get_from = staticmethod(get_from)
8038 
8039  def get_type_name(self):
8040  return self.__class__.__name__
8041  def do_show(self, out):
8042  pass
8043  def get_version_info(self):
8044  if"IMP::algebra" == "IMP":
8045  return VersionInfo("python", "0")
8046  else:
8047  return IMP.VersionInfo("python", "0")
8048  def get_from(o):
8049  return _object_cast_to_VectorKDMetric(o)
8050  get_from = staticmethod(get_from)
8051 
8052  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
8053  __del__ = lambda self : None;
8054  def __disown__(self):
8055  self.this.disown()
8056  _IMP_algebra.disown_VectorKDMetric(self)
8057  return weakref_proxy(self)
8058 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
8059 VectorKDMetric_swigregister(VectorKDMetric)
8060 
8061 class EuclideanVectorKDMetric(VectorKDMetric):
8062  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
8063  __swig_setmethods__ = {}
8064  for _s in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8065  __setattr__ = lambda self, name, value: _swig_setattr(self, EuclideanVectorKDMetric, name, value)
8066  __swig_getmethods__ = {}
8067  for _s in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8068  __getattr__ = lambda self, name: _swig_getattr(self, EuclideanVectorKDMetric, name)
8069  def __init__(self, name="EuclideanVectorKDMetric%1%"):
8070  """
8071  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
8072  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
8073  """
8074  this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
8075  try: self.this.append(this)
8076  except: self.this = this
8077  def get_version_info(self):
8078  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
8079  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
8080 
8081  __swig_destroy__ = _IMP_algebra.delete_EuclideanVectorKDMetric
8082  __del__ = lambda self : None;
8083  def __str__(self):
8084  """__str__(EuclideanVectorKDMetric self) -> std::string"""
8085  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
8086 
8087  def __repr__(self):
8088  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
8089  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
8090 
8091  def get_from(o):
8092  return _object_cast_to_EuclideanVectorKDMetric(o)
8093  get_from = staticmethod(get_from)
8094 
8095 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
8096 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
8097 
8098 class MaxVectorKDMetric(VectorKDMetric):
8099  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
8100  __swig_setmethods__ = {}
8101  for _s in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8102  __setattr__ = lambda self, name, value: _swig_setattr(self, MaxVectorKDMetric, name, value)
8103  __swig_getmethods__ = {}
8104  for _s in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8105  __getattr__ = lambda self, name: _swig_getattr(self, MaxVectorKDMetric, name)
8106  def __init__(self, name="MaxVectorKDMetric%1%"):
8107  """
8108  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8109  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8110  """
8111  this = _IMP_algebra.new_MaxVectorKDMetric(name)
8112  try: self.this.append(this)
8113  except: self.this = this
8114  def get_version_info(self):
8115  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8116  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8117 
8118  __swig_destroy__ = _IMP_algebra.delete_MaxVectorKDMetric
8119  __del__ = lambda self : None;
8120  def __str__(self):
8121  """__str__(MaxVectorKDMetric self) -> std::string"""
8122  return _IMP_algebra.MaxVectorKDMetric___str__(self)
8123 
8124  def __repr__(self):
8125  """__repr__(MaxVectorKDMetric self) -> std::string"""
8126  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8127 
8128  def get_from(o):
8129  return _object_cast_to_MaxVectorKDMetric(o)
8130  get_from = staticmethod(get_from)
8131 
8132 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8133 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8134 
8135 class NearestNeighbor1D(IMP.base.Object):
8136  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8137  __swig_setmethods__ = {}
8138  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8139  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor1D, name, value)
8140  __swig_getmethods__ = {}
8141  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8142  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor1D, name)
8143  def __init__(self, *args):
8144  """
8145  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8146  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8147  """
8148  this = _IMP_algebra.new_NearestNeighbor1D(*args)
8149  try: self.this.append(this)
8150  except: self.this = this
8151  def set_query_log(self, *args):
8152  """set_query_log(NearestNeighbor1D self, std::string fname)"""
8153  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8154 
8155  def get_nearest_neighbor(self, *args):
8156  """
8157  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8158  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8159  """
8160  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8161 
8162  def get_nearest_neighbors(self, *args):
8163  """
8164  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8165  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8166  """
8167  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8168 
8169  def get_in_ball(self, *args):
8170  """
8171  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8172  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8173  """
8174  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8175 
8176  def get_version_info(self):
8177  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8178  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8179 
8180  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor1D
8181  __del__ = lambda self : None;
8182  def __str__(self):
8183  """__str__(NearestNeighbor1D self) -> std::string"""
8184  return _IMP_algebra.NearestNeighbor1D___str__(self)
8185 
8186  def __repr__(self):
8187  """__repr__(NearestNeighbor1D self) -> std::string"""
8188  return _IMP_algebra.NearestNeighbor1D___repr__(self)
8189 
8190  def get_from(o):
8191  return _object_cast_to_NearestNeighborD(o)
8192  get_from = staticmethod(get_from)
8193 
8194 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8195 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8196 
8197 class NearestNeighbor2D(IMP.base.Object):
8198  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8199  __swig_setmethods__ = {}
8200  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8201  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor2D, name, value)
8202  __swig_getmethods__ = {}
8203  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8204  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor2D, name)
8205  def __init__(self, *args):
8206  """
8207  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8208  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8209  """
8210  this = _IMP_algebra.new_NearestNeighbor2D(*args)
8211  try: self.this.append(this)
8212  except: self.this = this
8213  def set_query_log(self, *args):
8214  """set_query_log(NearestNeighbor2D self, std::string fname)"""
8215  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8216 
8217  def get_nearest_neighbor(self, *args):
8218  """
8219  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
8220  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
8221  """
8222  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
8223 
8224  def get_nearest_neighbors(self, *args):
8225  """
8226  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
8227  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
8228  """
8229  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
8230 
8231  def get_in_ball(self, *args):
8232  """
8233  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
8234  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
8235  """
8236  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
8237 
8238  def get_version_info(self):
8239  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
8240  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
8241 
8242  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor2D
8243  __del__ = lambda self : None;
8244  def __str__(self):
8245  """__str__(NearestNeighbor2D self) -> std::string"""
8246  return _IMP_algebra.NearestNeighbor2D___str__(self)
8247 
8248  def __repr__(self):
8249  """__repr__(NearestNeighbor2D self) -> std::string"""
8250  return _IMP_algebra.NearestNeighbor2D___repr__(self)
8251 
8252  def get_from(o):
8253  return _object_cast_to_NearestNeighborD(o)
8254  get_from = staticmethod(get_from)
8255 
8256 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
8257 NearestNeighbor2D_swigregister(NearestNeighbor2D)
8258 
8259 class NearestNeighbor3D(IMP.base.Object):
8260  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
8261  __swig_setmethods__ = {}
8262  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8263  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor3D, name, value)
8264  __swig_getmethods__ = {}
8265  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8266  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor3D, name)
8267  def __init__(self, *args):
8268  """
8269  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
8270  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
8271  """
8272  this = _IMP_algebra.new_NearestNeighbor3D(*args)
8273  try: self.this.append(this)
8274  except: self.this = this
8275  def set_query_log(self, *args):
8276  """set_query_log(NearestNeighbor3D self, std::string fname)"""
8277  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
8278 
8279  def get_nearest_neighbor(self, *args):
8280  """
8281  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
8282  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
8283  """
8284  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
8285 
8286  def get_nearest_neighbors(self, *args):
8287  """
8288  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
8289  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
8290  """
8291  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
8292 
8293  def get_in_ball(self, *args):
8294  """
8295  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
8296  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
8297  """
8298  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
8299 
8300  def get_version_info(self):
8301  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
8302  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
8303 
8304  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor3D
8305  __del__ = lambda self : None;
8306  def __str__(self):
8307  """__str__(NearestNeighbor3D self) -> std::string"""
8308  return _IMP_algebra.NearestNeighbor3D___str__(self)
8309 
8310  def __repr__(self):
8311  """__repr__(NearestNeighbor3D self) -> std::string"""
8312  return _IMP_algebra.NearestNeighbor3D___repr__(self)
8313 
8314  def get_from(o):
8315  return _object_cast_to_NearestNeighborD(o)
8316  get_from = staticmethod(get_from)
8317 
8318 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
8319 NearestNeighbor3D_swigregister(NearestNeighbor3D)
8320 
8321 class NearestNeighbor4D(IMP.base.Object):
8322  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
8323  __swig_setmethods__ = {}
8324  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8325  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor4D, name, value)
8326  __swig_getmethods__ = {}
8327  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8328  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor4D, name)
8329  def __init__(self, *args):
8330  """
8331  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
8332  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
8333  """
8334  this = _IMP_algebra.new_NearestNeighbor4D(*args)
8335  try: self.this.append(this)
8336  except: self.this = this
8337  def set_query_log(self, *args):
8338  """set_query_log(NearestNeighbor4D self, std::string fname)"""
8339  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
8340 
8341  def get_nearest_neighbor(self, *args):
8342  """
8343  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
8344  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
8345  """
8346  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
8347 
8348  def get_nearest_neighbors(self, *args):
8349  """
8350  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
8351  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
8352  """
8353  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
8354 
8355  def get_in_ball(self, *args):
8356  """
8357  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
8358  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
8359  """
8360  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
8361 
8362  def get_version_info(self):
8363  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
8364  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
8365 
8366  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor4D
8367  __del__ = lambda self : None;
8368  def __str__(self):
8369  """__str__(NearestNeighbor4D self) -> std::string"""
8370  return _IMP_algebra.NearestNeighbor4D___str__(self)
8371 
8372  def __repr__(self):
8373  """__repr__(NearestNeighbor4D self) -> std::string"""
8374  return _IMP_algebra.NearestNeighbor4D___repr__(self)
8375 
8376  def get_from(o):
8377  return _object_cast_to_NearestNeighborD(o)
8378  get_from = staticmethod(get_from)
8379 
8380 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
8381 NearestNeighbor4D_swigregister(NearestNeighbor4D)
8382 
8383 class NearestNeighbor5D(IMP.base.Object):
8384  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
8385  __swig_setmethods__ = {}
8386  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8387  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor5D, name, value)
8388  __swig_getmethods__ = {}
8389  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8390  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor5D, name)
8391  def __init__(self, *args):
8392  """
8393  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
8394  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
8395  """
8396  this = _IMP_algebra.new_NearestNeighbor5D(*args)
8397  try: self.this.append(this)
8398  except: self.this = this
8399  def set_query_log(self, *args):
8400  """set_query_log(NearestNeighbor5D self, std::string fname)"""
8401  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
8402 
8403  def get_nearest_neighbor(self, *args):
8404  """
8405  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
8406  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
8407  """
8408  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
8409 
8410  def get_nearest_neighbors(self, *args):
8411  """
8412  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
8413  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
8414  """
8415  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
8416 
8417  def get_in_ball(self, *args):
8418  """
8419  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
8420  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
8421  """
8422  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
8423 
8424  def get_version_info(self):
8425  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
8426  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
8427 
8428  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor5D
8429  __del__ = lambda self : None;
8430  def __str__(self):
8431  """__str__(NearestNeighbor5D self) -> std::string"""
8432  return _IMP_algebra.NearestNeighbor5D___str__(self)
8433 
8434  def __repr__(self):
8435  """__repr__(NearestNeighbor5D self) -> std::string"""
8436  return _IMP_algebra.NearestNeighbor5D___repr__(self)
8437 
8438  def get_from(o):
8439  return _object_cast_to_NearestNeighborD(o)
8440  get_from = staticmethod(get_from)
8441 
8442 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
8443 NearestNeighbor5D_swigregister(NearestNeighbor5D)
8444 
8445 class NearestNeighbor6D(IMP.base.Object):
8446  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
8447  __swig_setmethods__ = {}
8448  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8449  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor6D, name, value)
8450  __swig_getmethods__ = {}
8451  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8452  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor6D, name)
8453  def __init__(self, *args):
8454  """
8455  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
8456  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
8457  """
8458  this = _IMP_algebra.new_NearestNeighbor6D(*args)
8459  try: self.this.append(this)
8460  except: self.this = this
8461  def set_query_log(self, *args):
8462  """set_query_log(NearestNeighbor6D self, std::string fname)"""
8463  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
8464 
8465  def get_nearest_neighbor(self, *args):
8466  """
8467  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
8468  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
8469  """
8470  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
8471 
8472  def get_nearest_neighbors(self, *args):
8473  """
8474  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
8475  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
8476  """
8477  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
8478 
8479  def get_in_ball(self, *args):
8480  """
8481  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
8482  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
8483  """
8484  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
8485 
8486  def get_version_info(self):
8487  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
8488  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
8489 
8490  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor6D
8491  __del__ = lambda self : None;
8492  def __str__(self):
8493  """__str__(NearestNeighbor6D self) -> std::string"""
8494  return _IMP_algebra.NearestNeighbor6D___str__(self)
8495 
8496  def __repr__(self):
8497  """__repr__(NearestNeighbor6D self) -> std::string"""
8498  return _IMP_algebra.NearestNeighbor6D___repr__(self)
8499 
8500  def get_from(o):
8501  return _object_cast_to_NearestNeighborD(o)
8502  get_from = staticmethod(get_from)
8503 
8504 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
8505 NearestNeighbor6D_swigregister(NearestNeighbor6D)
8506 
8507 class NearestNeighborKD(IMP.base.Object):
8508  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
8509  __swig_setmethods__ = {}
8510  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8511  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighborKD, name, value)
8512  __swig_getmethods__ = {}
8513  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8514  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighborKD, name)
8515  def __init__(self, *args):
8516  """
8517  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
8518  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
8519  """
8520  this = _IMP_algebra.new_NearestNeighborKD(*args)
8521  try: self.this.append(this)
8522  except: self.this = this
8523  def set_query_log(self, *args):
8524  """set_query_log(NearestNeighborKD self, std::string fname)"""
8525  return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
8526 
8527  def get_nearest_neighbor(self, *args):
8528  """
8529  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
8530  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
8531  """
8532  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
8533 
8534  def get_nearest_neighbors(self, *args):
8535  """
8536  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
8537  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
8538  """
8539  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
8540 
8541  def get_in_ball(self, *args):
8542  """
8543  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
8544  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
8545  """
8546  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
8547 
8548  def get_version_info(self):
8549  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
8550  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
8551 
8552  __swig_destroy__ = _IMP_algebra.delete_NearestNeighborKD
8553  __del__ = lambda self : None;
8554  def __str__(self):
8555  """__str__(NearestNeighborKD self) -> std::string"""
8556  return _IMP_algebra.NearestNeighborKD___str__(self)
8557 
8558  def __repr__(self):
8559  """__repr__(NearestNeighborKD self) -> std::string"""
8560  return _IMP_algebra.NearestNeighborKD___repr__(self)
8561 
8562  def get_from(o):
8563  return _object_cast_to_NearestNeighborD(o)
8564  get_from = staticmethod(get_from)
8565 
8566 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
8567 NearestNeighborKD_swigregister(NearestNeighborKD)
8568 
8569 
8571  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
8572  return _IMP_algebra.get_transformation_aligning_pair(*args)
8573 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
8574  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
8575  __swig_setmethods__ = {}
8576  for _s in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8577  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis1D, name, value)
8578  __swig_getmethods__ = {}
8579  for _s in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8580  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis1D, name)
8581  def __init__(self, *args):
8582  """
8583  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
8584  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
8585  """
8586  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
8587  try: self.this.append(this)
8588  except: self.this = this
8589  def get_principal_components(self):
8590  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
8591  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
8592 
8593  def get_principal_component(self, *args):
8594  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
8595  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
8596 
8597  def get_principal_values(self):
8598  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
8599  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
8600 
8601  def get_principal_value(self, *args):
8602  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
8603  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
8604 
8605  def get_centroid(self):
8606  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
8607  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
8608 
8609  def set_centroid(self, *args):
8610  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
8611  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
8612 
8613  def show(self, *args):
8614  """
8615  show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
8616  show(PrincipalComponentAnalysis1D self)
8617  """
8618  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
8619 
8620  def __eq__(self, *args):
8621  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8622  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
8623 
8624  def __ne__(self, *args):
8625  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8626  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
8627 
8628  def __lt__(self, *args):
8629  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8630  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
8631 
8632  def __gt__(self, *args):
8633  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8634  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
8635 
8636  def __ge__(self, *args):
8637  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8638  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
8639 
8640  def __le__(self, *args):
8641  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8642  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
8643 
8644  def __str__(self):
8645  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
8646  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
8647 
8648  def __repr__(self):
8649  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
8650  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
8651 
8652  def __cmp__(self, *args):
8653  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D arg2) -> int"""
8654  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
8655 
8656  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
8657  __del__ = lambda self : None;
8658 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
8659 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
8660 
8661 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
8662  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
8663  __swig_setmethods__ = {}
8664  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8665  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis2D, name, value)
8666  __swig_getmethods__ = {}
8667  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8668  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis2D, name)
8669  def __init__(self, *args):
8670  """
8671  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
8672  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
8673  """
8674  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
8675  try: self.this.append(this)
8676  except: self.this = this
8677  def get_principal_components(self):
8678  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
8679  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
8680 
8681  def get_principal_component(self, *args):
8682  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
8683  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
8684 
8685  def get_principal_values(self):
8686  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
8687  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
8688 
8689  def get_principal_value(self, *args):
8690  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
8691  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
8692 
8693  def get_centroid(self):
8694  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
8695  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
8696 
8697  def set_centroid(self, *args):
8698  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
8699  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
8700 
8701  def show(self, *args):
8702  """
8703  show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
8704  show(PrincipalComponentAnalysis2D self)
8705  """
8706  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
8707 
8708  def __eq__(self, *args):
8709  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8710  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
8711 
8712  def __ne__(self, *args):
8713  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8714  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
8715 
8716  def __lt__(self, *args):
8717  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8718  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
8719 
8720  def __gt__(self, *args):
8721  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8722  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
8723 
8724  def __ge__(self, *args):
8725  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8726  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
8727 
8728  def __le__(self, *args):
8729  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8730  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
8731 
8732  def __str__(self):
8733  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
8734  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
8735 
8736  def __repr__(self):
8737  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
8738  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
8739 
8740  def __cmp__(self, *args):
8741  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D arg2) -> int"""
8742  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
8743 
8744  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
8745  __del__ = lambda self : None;
8746 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
8747 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
8748 
8749 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
8750  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
8751  __swig_setmethods__ = {}
8752  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8753  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis3D, name, value)
8754  __swig_getmethods__ = {}
8755  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8756  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis3D, name)
8757  def __init__(self, *args):
8758  """
8759  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
8760  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
8761  """
8762  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
8763  try: self.this.append(this)
8764  except: self.this = this
8765  def get_principal_components(self):
8766  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
8767  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
8768 
8769  def get_principal_component(self, *args):
8770  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
8771  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
8772 
8773  def get_principal_values(self):
8774  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
8775  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
8776 
8777  def get_principal_value(self, *args):
8778  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
8779  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
8780 
8781  def get_centroid(self):
8782  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
8783  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
8784 
8785  def set_centroid(self, *args):
8786  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
8787  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
8788 
8789  def show(self, *args):
8790  """
8791  show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
8792  show(PrincipalComponentAnalysis3D self)
8793  """
8794  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
8795 
8796  def __eq__(self, *args):
8797  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8798  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
8799 
8800  def __ne__(self, *args):
8801  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8802  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
8803 
8804  def __lt__(self, *args):
8805  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8806  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
8807 
8808  def __gt__(self, *args):
8809  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8810  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
8811 
8812  def __ge__(self, *args):
8813  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8814  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
8815 
8816  def __le__(self, *args):
8817  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8818  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
8819 
8820  def __str__(self):
8821  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
8822  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
8823 
8824  def __repr__(self):
8825  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
8826  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
8827 
8828  def __cmp__(self, *args):
8829  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D arg2) -> int"""
8830  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
8831 
8832  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
8833  __del__ = lambda self : None;
8834 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
8835 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
8836 
8837 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
8838  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
8839  __swig_setmethods__ = {}
8840  for _s in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8841  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis4D, name, value)
8842  __swig_getmethods__ = {}
8843  for _s in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8844  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis4D, name)
8845  def __init__(self, *args):
8846  """
8847  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
8848  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
8849  """
8850  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
8851  try: self.this.append(this)
8852  except: self.this = this
8853  def get_principal_components(self):
8854  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
8855  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
8856 
8857  def get_principal_component(self, *args):
8858  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
8859  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
8860 
8861  def get_principal_values(self):
8862  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
8863  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
8864 
8865  def get_principal_value(self, *args):
8866  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
8867  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
8868 
8869  def get_centroid(self):
8870  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
8871  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
8872 
8873  def set_centroid(self, *args):
8874  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
8875  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
8876 
8877  def show(self, *args):
8878  """
8879  show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
8880  show(PrincipalComponentAnalysis4D self)
8881  """
8882  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
8883 
8884  def __eq__(self, *args):
8885  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8886  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
8887 
8888  def __ne__(self, *args):
8889  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8890  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
8891 
8892  def __lt__(self, *args):
8893  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8894  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
8895 
8896  def __gt__(self, *args):
8897  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8898  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
8899 
8900  def __ge__(self, *args):
8901  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8902  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
8903 
8904  def __le__(self, *args):
8905  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8906  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
8907 
8908  def __str__(self):
8909  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
8910  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
8911 
8912  def __repr__(self):
8913  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
8914  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
8915 
8916  def __cmp__(self, *args):
8917  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D arg2) -> int"""
8918  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
8919 
8920  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
8921  __del__ = lambda self : None;
8922 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
8923 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
8924 
8925 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
8926  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
8927  __swig_setmethods__ = {}
8928  for _s in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8929  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis5D, name, value)
8930  __swig_getmethods__ = {}
8931  for _s in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8932  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis5D, name)
8933  def __init__(self, *args):
8934  """
8935  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
8936  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
8937  """
8938  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
8939  try: self.this.append(this)
8940  except: self.this = this
8941  def get_principal_components(self):
8942  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
8943  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
8944 
8945  def get_principal_component(self, *args):
8946  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
8947  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
8948 
8949  def get_principal_values(self):
8950  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
8951  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
8952 
8953  def get_principal_value(self, *args):
8954  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
8955  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
8956 
8957  def get_centroid(self):
8958  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
8959  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
8960 
8961  def set_centroid(self, *args):
8962  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
8963  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
8964 
8965  def show(self, *args):
8966  """
8967  show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
8968  show(PrincipalComponentAnalysis5D self)
8969  """
8970  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
8971 
8972  def __eq__(self, *args):
8973  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8974  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
8975 
8976  def __ne__(self, *args):
8977  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8978  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
8979 
8980  def __lt__(self, *args):
8981  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8982  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
8983 
8984  def __gt__(self, *args):
8985  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8986  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
8987 
8988  def __ge__(self, *args):
8989  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8990  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
8991 
8992  def __le__(self, *args):
8993  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8994  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
8995 
8996  def __str__(self):
8997  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
8998  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
8999 
9000  def __repr__(self):
9001  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
9002  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
9003 
9004  def __cmp__(self, *args):
9005  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D arg2) -> int"""
9006  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
9007 
9008  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
9009  __del__ = lambda self : None;
9010 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
9011 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
9012 
9013 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
9014  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
9015  __swig_setmethods__ = {}
9016  for _s in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9017  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis6D, name, value)
9018  __swig_getmethods__ = {}
9019  for _s in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9020  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis6D, name)
9021  def __init__(self, *args):
9022  """
9023  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
9024  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
9025  """
9026  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
9027  try: self.this.append(this)
9028  except: self.this = this
9029  def get_principal_components(self):
9030  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
9031  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
9032 
9033  def get_principal_component(self, *args):
9034  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
9035  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
9036 
9037  def get_principal_values(self):
9038  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
9039  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
9040 
9041  def get_principal_value(self, *args):
9042  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
9043  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
9044 
9045  def get_centroid(self):
9046  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
9047  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
9048 
9049  def set_centroid(self, *args):
9050  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
9051  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
9052 
9053  def show(self, *args):
9054  """
9055  show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
9056  show(PrincipalComponentAnalysis6D self)
9057  """
9058  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
9059 
9060  def __eq__(self, *args):
9061  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9062  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
9063 
9064  def __ne__(self, *args):
9065  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9066  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
9067 
9068  def __lt__(self, *args):
9069  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9070  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
9071 
9072  def __gt__(self, *args):
9073  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9074  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
9075 
9076  def __ge__(self, *args):
9077  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9078  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
9079 
9080  def __le__(self, *args):
9081  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9082  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
9083 
9084  def __str__(self):
9085  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
9086  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
9087 
9088  def __repr__(self):
9089  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
9090  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
9091 
9092  def __cmp__(self, *args):
9093  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D arg2) -> int"""
9094  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
9095 
9096  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
9097  __del__ = lambda self : None;
9098 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
9099 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
9100 
9101 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
9102  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9103  __swig_setmethods__ = {}
9104  for _s in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9105  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysisKD, name, value)
9106  __swig_getmethods__ = {}
9107  for _s in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9108  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysisKD, name)
9109  def __init__(self, *args):
9110  """
9111  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9112  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9113  """
9114  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9115  try: self.this.append(this)
9116  except: self.this = this
9117  def get_principal_components(self):
9118  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9119  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9120 
9121  def get_principal_component(self, *args):
9122  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9123  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9124 
9125  def get_principal_values(self):
9126  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9127  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9128 
9129  def get_principal_value(self, *args):
9130  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9131  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9132 
9133  def get_centroid(self):
9134  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9135  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9136 
9137  def set_centroid(self, *args):
9138  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9139  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9140 
9141  def show(self, *args):
9142  """
9143  show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9144  show(PrincipalComponentAnalysisKD self)
9145  """
9146  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9147 
9148  def __eq__(self, *args):
9149  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9150  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9151 
9152  def __ne__(self, *args):
9153  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9154  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9155 
9156  def __lt__(self, *args):
9157  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9158  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9159 
9160  def __gt__(self, *args):
9161  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9162  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9163 
9164  def __ge__(self, *args):
9165  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9166  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9167 
9168  def __le__(self, *args):
9169  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9170  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9171 
9172  def __str__(self):
9173  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9174  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9175 
9176  def __repr__(self):
9177  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9178  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9179 
9180  def __cmp__(self, *args):
9181  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD arg2) -> int"""
9182  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9183 
9184  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9185  __del__ = lambda self : None;
9186 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9187 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9188 
9189 
9190 def get_principal_components(*args):
9191  """
9192  get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9193  get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9194  get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9195  get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9196  get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9197  get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9198  get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9199  """
9200  return _IMP_algebra.get_principal_components(*args)
9201 
9202 def get_distance(*args):
9203  """
9204  get_distance(Rotation3D r0, Rotation3D r1) -> double
9205  get_distance(Segment3D s, Vector3D p) -> double
9206  get_distance(Segment3D a, Segment3D b) -> double
9207  get_distance(Plane3D pln, Vector3D p) -> double
9208  get_distance(Vector1D a, Vector1D b) -> double
9209  get_distance(Vector2D a, Vector2D b) -> double
9210  get_distance(Vector3D a, Vector3D b) -> double
9211  get_distance(Vector4D a, Vector4D b) -> double
9212  get_distance(Vector5D a, Vector5D b) -> double
9213  get_distance(Vector6D a, Vector6D b) -> double
9214  get_distance(VectorKD a, VectorKD b) -> double
9215  get_distance(Sphere1D a, Sphere1D b) -> double
9216  get_distance(Sphere2D a, Sphere2D b) -> double
9217  get_distance(Sphere3D a, Sphere3D b) -> double
9218  get_distance(Sphere4D a, Sphere4D b) -> double
9219  get_distance(Sphere5D a, Sphere5D b) -> double
9220  get_distance(Sphere6D a, Sphere6D b) -> double
9221  get_distance(SphereKD a, SphereKD b) -> double
9222  """
9223  return _IMP_algebra.get_distance(*args)
9224 
9225 def get_squared_distance(*args):
9226  """
9227  get_squared_distance(Vector1D a, Vector1D b) -> double
9228  get_squared_distance(Vector2D a, Vector2D b) -> double
9229  get_squared_distance(Vector3D a, Vector3D b) -> double
9230  get_squared_distance(Vector4D a, Vector4D b) -> double
9231  get_squared_distance(Vector5D a, Vector5D b) -> double
9232  get_squared_distance(Vector6D a, Vector6D b) -> double
9233  get_squared_distance(VectorKD a, VectorKD b) -> double
9234  """
9235  return _IMP_algebra.get_squared_distance(*args)
9236 
9237 def get_basis_vector_1d(*args):
9238  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
9239  return _IMP_algebra.get_basis_vector_1d(*args)
9240 
9241 def get_basis_vector_2d(*args):
9242  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
9243  return _IMP_algebra.get_basis_vector_2d(*args)
9244 
9245 def get_basis_vector_3d(*args):
9246  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
9247  return _IMP_algebra.get_basis_vector_3d(*args)
9248 
9249 def get_basis_vector_4d(*args):
9250  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
9251  return _IMP_algebra.get_basis_vector_4d(*args)
9252 
9253 def get_basis_vector_5d(*args):
9254  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
9255  return _IMP_algebra.get_basis_vector_5d(*args)
9256 
9257 def get_basis_vector_6d(*args):
9258  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
9259  return _IMP_algebra.get_basis_vector_6d(*args)
9260 
9261 def get_zero_vector_1d():
9262  """get_zero_vector_1d() -> Vector1D"""
9263  return _IMP_algebra.get_zero_vector_1d()
9264 
9265 def get_zero_vector_2d():
9266  """get_zero_vector_2d() -> Vector2D"""
9267  return _IMP_algebra.get_zero_vector_2d()
9268 
9269 def get_zero_vector_3d():
9270  """get_zero_vector_3d() -> Vector3D"""
9271  return _IMP_algebra.get_zero_vector_3d()
9272 
9273 def get_zero_vector_4d():
9274  """get_zero_vector_4d() -> Vector4D"""
9275  return _IMP_algebra.get_zero_vector_4d()
9276 
9277 def get_zero_vector_5d():
9278  """get_zero_vector_5d() -> Vector5D"""
9279  return _IMP_algebra.get_zero_vector_5d()
9280 
9281 def get_zero_vector_6d():
9282  """get_zero_vector_6d() -> Vector6D"""
9283  return _IMP_algebra.get_zero_vector_6d()
9284 
9285 def get_ones_vector_1d(v=1):
9286  """
9287  get_ones_vector_1d(double v=1) -> Vector1D
9288  get_ones_vector_1d() -> Vector1D
9289  """
9290  return _IMP_algebra.get_ones_vector_1d(v)
9291 
9292 def get_ones_vector_2d(v=1):
9293  """
9294  get_ones_vector_2d(double v=1) -> Vector2D
9295  get_ones_vector_2d() -> Vector2D
9296  """
9297  return _IMP_algebra.get_ones_vector_2d(v)
9298 
9299 def get_ones_vector_3d(v=1):
9300  """
9301  get_ones_vector_3d(double v=1) -> Vector3D
9302  get_ones_vector_3d() -> Vector3D
9303  """
9304  return _IMP_algebra.get_ones_vector_3d(v)
9305 
9306 def get_ones_vector_4d(v=1):
9307  """
9308  get_ones_vector_4d(double v=1) -> Vector4D
9309  get_ones_vector_4d() -> Vector4D
9310  """
9311  return _IMP_algebra.get_ones_vector_4d(v)
9312 
9313 def get_ones_vector_5d(v=1):
9314  """
9315  get_ones_vector_5d(double v=1) -> Vector5D
9316  get_ones_vector_5d() -> Vector5D
9317  """
9318  return _IMP_algebra.get_ones_vector_5d(v)
9319 
9320 def get_ones_vector_6d(v=1):
9321  """
9322  get_ones_vector_6d(double v=1) -> Vector6D
9323  get_ones_vector_6d() -> Vector6D
9324  """
9325  return _IMP_algebra.get_ones_vector_6d(v)
9326 
9327 def get_unit_bounding_box_1d():
9328  """get_unit_bounding_box_1d() -> BoundingBox1D"""
9329  return _IMP_algebra.get_unit_bounding_box_1d()
9330 
9331 def get_unit_bounding_box_2d():
9332  """get_unit_bounding_box_2d() -> BoundingBox2D"""
9333  return _IMP_algebra.get_unit_bounding_box_2d()
9334 
9335 def get_unit_bounding_box_3d():
9336  """get_unit_bounding_box_3d() -> BoundingBox3D"""
9337  return _IMP_algebra.get_unit_bounding_box_3d()
9338 
9339 def get_unit_bounding_box_4d():
9340  """get_unit_bounding_box_4d() -> BoundingBox4D"""
9341  return _IMP_algebra.get_unit_bounding_box_4d()
9342 
9343 def get_unit_bounding_box_5d():
9344  """get_unit_bounding_box_5d() -> BoundingBox5D"""
9345  return _IMP_algebra.get_unit_bounding_box_5d()
9346 
9347 def get_unit_bounding_box_6d():
9348  """get_unit_bounding_box_6d() -> BoundingBox6D"""
9349  return _IMP_algebra.get_unit_bounding_box_6d()
9350 
9351 def get_cube_1d(*args):
9352  """get_cube_1d(double radius) -> BoundingBox1D"""
9353  return _IMP_algebra.get_cube_1d(*args)
9354 
9355 def get_cube_2d(*args):
9356  """get_cube_2d(double radius) -> BoundingBox2D"""
9357  return _IMP_algebra.get_cube_2d(*args)
9358 
9359 def get_cube_3d(*args):
9360  """get_cube_3d(double radius) -> BoundingBox3D"""
9361  return _IMP_algebra.get_cube_3d(*args)
9362 
9363 def get_cube_4d(*args):
9364  """get_cube_4d(double radius) -> BoundingBox4D"""
9365  return _IMP_algebra.get_cube_4d(*args)
9366 
9367 def get_cube_5d(*args):
9368  """get_cube_5d(double radius) -> BoundingBox5D"""
9369  return _IMP_algebra.get_cube_5d(*args)
9370 
9371 def get_cube_6d(*args):
9372  """get_cube_6d(double radius) -> BoundingBox6D"""
9373  return _IMP_algebra.get_cube_6d(*args)
9374 
9375 def get_unit_sphere_1d():
9376  """get_unit_sphere_1d() -> Sphere1D"""
9377  return _IMP_algebra.get_unit_sphere_1d()
9378 
9379 def get_unit_sphere_2d():
9380  """get_unit_sphere_2d() -> Sphere2D"""
9381  return _IMP_algebra.get_unit_sphere_2d()
9382 
9383 def get_unit_sphere_3d():
9384  """get_unit_sphere_3d() -> Sphere3D"""
9385  return _IMP_algebra.get_unit_sphere_3d()
9386 
9387 def get_unit_sphere_4d():
9388  """get_unit_sphere_4d() -> Sphere4D"""
9389  return _IMP_algebra.get_unit_sphere_4d()
9390 
9391 def get_unit_sphere_5d():
9392  """get_unit_sphere_5d() -> Sphere5D"""
9393  return _IMP_algebra.get_unit_sphere_5d()
9394 
9395 def get_unit_sphere_6d():
9396  """get_unit_sphere_6d() -> Sphere6D"""
9397  return _IMP_algebra.get_unit_sphere_6d()
9398 
9399 def get_interiors_intersect(*args):
9400  """
9401  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
9402  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
9403  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
9404  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
9405  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
9406  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
9407  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
9408  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
9409  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
9410  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
9411  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
9412  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
9413  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
9414  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
9415  """
9416  return _IMP_algebra.get_interiors_intersect(*args)
9417 
9418 def get_random_vector_on(*args):
9419  """
9420  get_random_vector_on(Sphere1D a) -> Vector1D
9421  get_random_vector_on(Sphere2D a) -> Vector2D
9422  get_random_vector_on(Sphere3D a) -> Vector3D
9423  get_random_vector_on(Sphere4D a) -> Vector4D
9424  get_random_vector_on(Sphere5D a) -> Vector5D
9425  get_random_vector_on(Sphere6D a) -> Vector6D
9426  get_random_vector_on(SphereKD a) -> VectorKD
9427  get_random_vector_on(BoundingBox1D a) -> Vector1D
9428  get_random_vector_on(BoundingBox2D a) -> Vector2D
9429  get_random_vector_on(BoundingBox3D a) -> Vector3D
9430  get_random_vector_on(BoundingBox4D a) -> Vector4D
9431  get_random_vector_on(BoundingBox5D a) -> Vector5D
9432  get_random_vector_on(BoundingBox6D a) -> Vector6D
9433  get_random_vector_on(BoundingBoxKD a) -> VectorKD
9434  """
9435  return _IMP_algebra.get_random_vector_on(*args)
9436 
9437 def get_random_vector_in(*args):
9438  """
9439  get_random_vector_in(Sphere2D s) -> Vector2D
9440  get_random_vector_in(Cylinder3D c) -> Vector3D
9441  get_random_vector_in(Sphere1D a) -> Vector1D
9442  get_random_vector_in(Sphere2D a) -> Vector2D
9443  get_random_vector_in(Sphere3D a) -> Vector3D
9444  get_random_vector_in(Sphere4D a) -> Vector4D
9445  get_random_vector_in(Sphere5D a) -> Vector5D
9446  get_random_vector_in(Sphere6D a) -> Vector6D
9447  get_random_vector_in(SphereKD a) -> VectorKD
9448  get_random_vector_in(BoundingBox1D a) -> Vector1D
9449  get_random_vector_in(BoundingBox2D a) -> Vector2D
9450  get_random_vector_in(BoundingBox3D a) -> Vector3D
9451  get_random_vector_in(BoundingBox4D a) -> Vector4D
9452  get_random_vector_in(BoundingBox5D a) -> Vector5D
9453  get_random_vector_in(BoundingBox6D a) -> Vector6D
9454  get_random_vector_in(BoundingBoxKD a) -> VectorKD
9455  """
9456  return _IMP_algebra.get_random_vector_in(*args)
9457 
9458 def get_intersection(*args):
9459  """
9460  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9461  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9462  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9463  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9464  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9465  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9466  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9467  """
9468  return _IMP_algebra.get_intersection(*args)
9469 
9470 def get_union(*args):
9471  """
9472  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9473  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9474  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9475  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9476  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9477  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9478  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9479  """
9480  return _IMP_algebra.get_union(*args)
9481 
9482 def get_bounding_box(*args):
9483  """
9484  get_bounding_box(Segment3D g) -> BoundingBox3D
9485  get_bounding_box(Plane3D g) -> BoundingBox3D
9486  get_bounding_box(Cylinder3D g) -> BoundingBox3D
9487  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
9488  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
9489  get_bounding_box(Cone3D g) -> BoundingBox3D
9490  get_bounding_box(Sphere1D a) -> BoundingBox1D
9491  get_bounding_box(Sphere2D a) -> BoundingBox2D
9492  get_bounding_box(Sphere3D a) -> BoundingBox3D
9493  get_bounding_box(Sphere4D a) -> BoundingBox4D
9494  get_bounding_box(Sphere5D a) -> BoundingBox5D
9495  get_bounding_box(Sphere6D a) -> BoundingBox6D
9496  get_bounding_box(SphereKD a) -> BoundingBoxKD
9497  """
9498  return _IMP_algebra.get_bounding_box(*args)
9499 
9500 def get_uniform_surface_cover(*args):
9501  """
9502  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
9503  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9504  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9505  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
9506  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
9507  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
9508  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
9509  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
9510  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
9511  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
9512  """
9513  return _IMP_algebra.get_uniform_surface_cover(*args)
9514 
9516  """
9517  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
9518  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
9519  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
9520  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
9521  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
9522  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
9523  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
9524  """
9525  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
9526 class _SparseIntStorage(BoundedGridRange3D):
9527  """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> class"""
9528  __swig_setmethods__ = {}
9529  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9530  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseIntStorage, name, value)
9531  __swig_getmethods__ = {}
9532  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9533  __getattr__ = lambda self, name: _swig_getattr(self, _SparseIntStorage, name)
9534  __repr__ = _swig_repr
9535  def __init__(self, *args):
9536  """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorage"""
9537  this = _IMP_algebra.new__SparseIntStorage(*args)
9538  try: self.this.append(this)
9539  except: self.this = this
9540  def show(self, *args):
9541  """
9542  show(_SparseIntStorage self, _ostream out=std::cout)
9543  show(_SparseIntStorage self)
9544  """
9545  return _IMP_algebra._SparseIntStorage_show(self, *args)
9546 
9547  def add_voxel(self, *args):
9548  """add_voxel(_SparseIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9549  return _IMP_algebra._SparseIntStorage_add_voxel(self, *args)
9550 
9551  def remove_voxel(self, *args):
9552  """remove_voxel(_SparseIntStorage self, GridIndex3D gi)"""
9553  return _IMP_algebra._SparseIntStorage_remove_voxel(self, *args)
9554 
9555  def get_number_of_voxels(self):
9556  """get_number_of_voxels(_SparseIntStorage self) -> unsigned int"""
9557  return _IMP_algebra._SparseIntStorage_get_number_of_voxels(self)
9558 
9559  def get_has_index(self, *args):
9560  """get_has_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> bool"""
9561  return _IMP_algebra._SparseIntStorage_get_has_index(self, *args)
9562 
9563  def get_index(self, *args):
9564  """get_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9565  return _IMP_algebra._SparseIntStorage_get_index(self, *args)
9566 
9567  def __setitem__(self, *args):
9568  """__setitem__(_SparseIntStorage self, GridIndex3D i, int const & v)"""
9569  return _IMP_algebra._SparseIntStorage___setitem__(self, *args)
9570 
9571  def __getitem__(self, *args):
9572  """__getitem__(_SparseIntStorage self, GridIndex3D i) -> int const &"""
9573  return _IMP_algebra._SparseIntStorage___getitem__(self, *args)
9574 
9575  def get_all_indexes(self):
9576  """get_all_indexes(_SparseIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9577  return _IMP_algebra._SparseIntStorage_get_all_indexes(self)
9578 
9579  def get_indexes(self, *args):
9580  """get_indexes(_SparseIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9581  return _IMP_algebra._SparseIntStorage_get_indexes(self, *args)
9582 
9583  def get_minimum_extended_index(self):
9584  """get_minimum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9585  return _IMP_algebra._SparseIntStorage_get_minimum_extended_index(self)
9586 
9587  def get_maximum_extended_index(self):
9588  """get_maximum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9589  return _IMP_algebra._SparseIntStorage_get_maximum_extended_index(self)
9590 
9591  __swig_destroy__ = _IMP_algebra.delete__SparseIntStorage
9592  __del__ = lambda self : None;
9593 _SparseIntStorage_swigregister = _IMP_algebra._SparseIntStorage_swigregister
9594 _SparseIntStorage_swigregister(_SparseIntStorage)
9595 
9596 class _SparseUBIntStorage(UnboundedGridRange3D):
9597  """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> class"""
9598  __swig_setmethods__ = {}
9599  for _s in [UnboundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9600  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseUBIntStorage, name, value)
9601  __swig_getmethods__ = {}
9602  for _s in [UnboundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9603  __getattr__ = lambda self, name: _swig_getattr(self, _SparseUBIntStorage, name)
9604  __repr__ = _swig_repr
9605  def __init__(self, *args):
9606  """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorage"""
9607  this = _IMP_algebra.new__SparseUBIntStorage(*args)
9608  try: self.this.append(this)
9609  except: self.this = this
9610  def show(self, *args):
9611  """
9612  show(_SparseUBIntStorage self, _ostream out=std::cout)
9613  show(_SparseUBIntStorage self)
9614  """
9615  return _IMP_algebra._SparseUBIntStorage_show(self, *args)
9616 
9617  def add_voxel(self, *args):
9618  """add_voxel(_SparseUBIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9619  return _IMP_algebra._SparseUBIntStorage_add_voxel(self, *args)
9620 
9621  def remove_voxel(self, *args):
9622  """remove_voxel(_SparseUBIntStorage self, GridIndex3D gi)"""
9623  return _IMP_algebra._SparseUBIntStorage_remove_voxel(self, *args)
9624 
9625  def get_number_of_voxels(self):
9626  """get_number_of_voxels(_SparseUBIntStorage self) -> unsigned int"""
9627  return _IMP_algebra._SparseUBIntStorage_get_number_of_voxels(self)
9628 
9629  def get_has_index(self, *args):
9630  """get_has_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> bool"""
9631  return _IMP_algebra._SparseUBIntStorage_get_has_index(self, *args)
9632 
9633  def get_index(self, *args):
9634  """get_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9635  return _IMP_algebra._SparseUBIntStorage_get_index(self, *args)
9636 
9637  def __setitem__(self, *args):
9638  """__setitem__(_SparseUBIntStorage self, GridIndex3D i, int const & v)"""
9639  return _IMP_algebra._SparseUBIntStorage___setitem__(self, *args)
9640 
9641  def __getitem__(self, *args):
9642  """__getitem__(_SparseUBIntStorage self, GridIndex3D i) -> int const &"""
9643  return _IMP_algebra._SparseUBIntStorage___getitem__(self, *args)
9644 
9645  def get_all_indexes(self):
9646  """get_all_indexes(_SparseUBIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9647  return _IMP_algebra._SparseUBIntStorage_get_all_indexes(self)
9648 
9649  def get_indexes(self, *args):
9650  """get_indexes(_SparseUBIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9651  return _IMP_algebra._SparseUBIntStorage_get_indexes(self, *args)
9652 
9653  def get_minimum_extended_index(self):
9654  """get_minimum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9655  return _IMP_algebra._SparseUBIntStorage_get_minimum_extended_index(self)
9656 
9657  def get_maximum_extended_index(self):
9658  """get_maximum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9659  return _IMP_algebra._SparseUBIntStorage_get_maximum_extended_index(self)
9660 
9661  __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorage
9662  __del__ = lambda self : None;
9663 _SparseUBIntStorage_swigregister = _IMP_algebra._SparseUBIntStorage_swigregister
9664 _SparseUBIntStorage_swigregister(_SparseUBIntStorage)
9665 
9666 class _SparseUBIntStorageK(UnboundedGridRangeKD):
9667  """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> class"""
9668  __swig_setmethods__ = {}
9669  for _s in [UnboundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9670  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseUBIntStorageK, name, value)
9671  __swig_getmethods__ = {}
9672  for _s in [UnboundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9673  __getattr__ = lambda self, name: _swig_getattr(self, _SparseUBIntStorageK, name)
9674  __repr__ = _swig_repr
9675  def __init__(self, *args):
9676  """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorageK"""
9677  this = _IMP_algebra.new__SparseUBIntStorageK(*args)
9678  try: self.this.append(this)
9679  except: self.this = this
9680  def show(self, *args):
9681  """
9682  show(_SparseUBIntStorageK self, _ostream out=std::cout)
9683  show(_SparseUBIntStorageK self)
9684  """
9685  return _IMP_algebra._SparseUBIntStorageK_show(self, *args)
9686 
9687  def add_voxel(self, *args):
9688  """add_voxel(_SparseUBIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9689  return _IMP_algebra._SparseUBIntStorageK_add_voxel(self, *args)
9690 
9691  def remove_voxel(self, *args):
9692  """remove_voxel(_SparseUBIntStorageK self, GridIndexKD gi)"""
9693  return _IMP_algebra._SparseUBIntStorageK_remove_voxel(self, *args)
9694 
9695  def get_number_of_voxels(self):
9696  """get_number_of_voxels(_SparseUBIntStorageK self) -> unsigned int"""
9697  return _IMP_algebra._SparseUBIntStorageK_get_number_of_voxels(self)
9698 
9699  def get_has_index(self, *args):
9700  """get_has_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9701  return _IMP_algebra._SparseUBIntStorageK_get_has_index(self, *args)
9702 
9703  def get_index(self, *args):
9704  """get_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9705  return _IMP_algebra._SparseUBIntStorageK_get_index(self, *args)
9706 
9707  def __setitem__(self, *args):
9708  """__setitem__(_SparseUBIntStorageK self, GridIndexKD i, int const & v)"""
9709  return _IMP_algebra._SparseUBIntStorageK___setitem__(self, *args)
9710 
9711  def __getitem__(self, *args):
9712  """__getitem__(_SparseUBIntStorageK self, GridIndexKD i) -> int const &"""
9713  return _IMP_algebra._SparseUBIntStorageK___getitem__(self, *args)
9714 
9715  def get_all_indexes(self):
9716  """get_all_indexes(_SparseUBIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9717  return _IMP_algebra._SparseUBIntStorageK_get_all_indexes(self)
9718 
9719  def get_indexes(self, *args):
9720  """get_indexes(_SparseUBIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9721  return _IMP_algebra._SparseUBIntStorageK_get_indexes(self, *args)
9722 
9723  def get_minimum_extended_index(self):
9724  """get_minimum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9725  return _IMP_algebra._SparseUBIntStorageK_get_minimum_extended_index(self)
9726 
9727  def get_maximum_extended_index(self):
9728  """get_maximum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9729  return _IMP_algebra._SparseUBIntStorageK_get_maximum_extended_index(self)
9730 
9731  __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorageK
9732  __del__ = lambda self : None;
9733 _SparseUBIntStorageK_swigregister = _IMP_algebra._SparseUBIntStorageK_swigregister
9734 _SparseUBIntStorageK_swigregister(_SparseUBIntStorageK)
9735 
9736 class _SparseIntStorageK(BoundedGridRangeKD):
9737  """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> class"""
9738  __swig_setmethods__ = {}
9739  for _s in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9740  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseIntStorageK, name, value)
9741  __swig_getmethods__ = {}
9742  for _s in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9743  __getattr__ = lambda self, name: _swig_getattr(self, _SparseIntStorageK, name)
9744  __repr__ = _swig_repr
9745  def __init__(self, *args):
9746  """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorageK"""
9747  this = _IMP_algebra.new__SparseIntStorageK(*args)
9748  try: self.this.append(this)
9749  except: self.this = this
9750  def show(self, *args):
9751  """
9752  show(_SparseIntStorageK self, _ostream out=std::cout)
9753  show(_SparseIntStorageK self)
9754  """
9755  return _IMP_algebra._SparseIntStorageK_show(self, *args)
9756 
9757  def add_voxel(self, *args):
9758  """add_voxel(_SparseIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9759  return _IMP_algebra._SparseIntStorageK_add_voxel(self, *args)
9760 
9761  def remove_voxel(self, *args):
9762  """remove_voxel(_SparseIntStorageK self, GridIndexKD gi)"""
9763  return _IMP_algebra._SparseIntStorageK_remove_voxel(self, *args)
9764 
9765  def get_number_of_voxels(self):
9766  """get_number_of_voxels(_SparseIntStorageK self) -> unsigned int"""
9767  return _IMP_algebra._SparseIntStorageK_get_number_of_voxels(self)
9768 
9769  def get_has_index(self, *args):
9770  """get_has_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9771  return _IMP_algebra._SparseIntStorageK_get_has_index(self, *args)
9772 
9773  def get_index(self, *args):
9774  """get_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9775  return _IMP_algebra._SparseIntStorageK_get_index(self, *args)
9776 
9777  def __setitem__(self, *args):
9778  """__setitem__(_SparseIntStorageK self, GridIndexKD i, int const & v)"""
9779  return _IMP_algebra._SparseIntStorageK___setitem__(self, *args)
9780 
9781  def __getitem__(self, *args):
9782  """__getitem__(_SparseIntStorageK self, GridIndexKD i) -> int const &"""
9783  return _IMP_algebra._SparseIntStorageK___getitem__(self, *args)
9784 
9785  def get_all_indexes(self):
9786  """get_all_indexes(_SparseIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9787  return _IMP_algebra._SparseIntStorageK_get_all_indexes(self)
9788 
9789  def get_indexes(self, *args):
9790  """get_indexes(_SparseIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9791  return _IMP_algebra._SparseIntStorageK_get_indexes(self, *args)
9792 
9793  def get_minimum_extended_index(self):
9794  """get_minimum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9795  return _IMP_algebra._SparseIntStorageK_get_minimum_extended_index(self)
9796 
9797  def get_maximum_extended_index(self):
9798  """get_maximum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9799  return _IMP_algebra._SparseIntStorageK_get_maximum_extended_index(self)
9800 
9801  __swig_destroy__ = _IMP_algebra.delete__SparseIntStorageK
9802  __del__ = lambda self : None;
9803 _SparseIntStorageK_swigregister = _IMP_algebra._SparseIntStorageK_swigregister
9804 _SparseIntStorageK_swigregister(_SparseIntStorageK)
9805 
9806 class _DenseDoubleStorage(BoundedGridRange3D):
9807  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
9808  __swig_setmethods__ = {}
9809  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9810  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseDoubleStorage, name, value)
9811  __swig_getmethods__ = {}
9812  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9813  __getattr__ = lambda self, name: _swig_getattr(self, _DenseDoubleStorage, name)
9814  __repr__ = _swig_repr
9815  def __setitem__(self, *args):
9816  """
9817  __setitem__(_DenseDoubleStorage self, GridIndex3D i, double const & v)
9818  __setitem__(_DenseDoubleStorage self, unsigned int i, double const & v)
9819  """
9820  return _IMP_algebra._DenseDoubleStorage___setitem__(self, *args)
9821 
9822  def __getitem__(self, *args):
9823  """
9824  __getitem__(_DenseDoubleStorage self, GridIndex3D i) -> double const
9825  __getitem__(_DenseDoubleStorage self, unsigned int i) -> double const &
9826  """
9827  return _IMP_algebra._DenseDoubleStorage___getitem__(self, *args)
9828 
9829  def __init__(self, *args):
9830  """
9831  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _DenseDoubleStorage o) -> _DenseDoubleStorage
9832  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _DenseDoubleStorage
9833  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _DenseDoubleStorage
9834  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _DenseDoubleStorage
9835  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _DenseDoubleStorage
9836  """
9837  this = _IMP_algebra.new__DenseDoubleStorage(*args)
9838  try: self.this.append(this)
9839  except: self.this = this
9840  def get_is_dense():
9841  """get_is_dense() -> bool"""
9842  return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9843 
9844  if _newclass:get_is_dense = staticmethod(get_is_dense)
9845  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9846  def show(self, *args):
9847  """
9848  show(_DenseDoubleStorage self, _ostream out=std::cout)
9849  show(_DenseDoubleStorage self)
9850  """
9851  return _IMP_algebra._DenseDoubleStorage_show(self, *args)
9852 
9853  def add_voxel(self, *args):
9854  """add_voxel(_DenseDoubleStorage self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
9855  return _IMP_algebra._DenseDoubleStorage_add_voxel(self, *args)
9856 
9857  def get_all_voxels(self):
9858  """get_all_voxels(_DenseDoubleStorage self) -> IMP::base::Vector< double >"""
9859  return _IMP_algebra._DenseDoubleStorage_get_all_voxels(self)
9860 
9861  __swig_destroy__ = _IMP_algebra.delete__DenseDoubleStorage
9862  __del__ = lambda self : None;
9863 _DenseDoubleStorage_swigregister = _IMP_algebra._DenseDoubleStorage_swigregister
9864 _DenseDoubleStorage_swigregister(_DenseDoubleStorage)
9865 
9866 def _DenseDoubleStorage_get_is_dense():
9867  """_DenseDoubleStorage_get_is_dense() -> bool"""
9868  return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9869 
9870 class _DenseFloatStorage(BoundedGridRange3D):
9871  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,float)> class"""
9872  __swig_setmethods__ = {}
9873  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9874  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseFloatStorage, name, value)
9875  __swig_getmethods__ = {}
9876  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9877  __getattr__ = lambda self, name: _swig_getattr(self, _DenseFloatStorage, name)
9878  __repr__ = _swig_repr
9879  def __setitem__(self, *args):
9880  """
9881  __setitem__(_DenseFloatStorage self, GridIndex3D i, float const & v)
9882  __setitem__(_DenseFloatStorage self, unsigned int i, float const & v)
9883  """
9884  return _IMP_algebra._DenseFloatStorage___setitem__(self, *args)
9885 
9886  def __getitem__(self, *args):
9887  """
9888  __getitem__(_DenseFloatStorage self, GridIndex3D i) -> float const
9889  __getitem__(_DenseFloatStorage self, unsigned int i) -> float const &
9890  """
9891  return _IMP_algebra._DenseFloatStorage___getitem__(self, *args)
9892 
9893  def __init__(self, *args):
9894  """
9895  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, _DenseFloatStorage o) -> _DenseFloatStorage
9896  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorage
9897  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts) -> _DenseFloatStorage
9898  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, float const & default_value=float()) -> _DenseFloatStorage
9899  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self) -> _DenseFloatStorage
9900  """
9901  this = _IMP_algebra.new__DenseFloatStorage(*args)
9902  try: self.this.append(this)
9903  except: self.this = this
9904  def get_is_dense():
9905  """get_is_dense() -> bool"""
9906  return _IMP_algebra._DenseFloatStorage_get_is_dense()
9907 
9908  if _newclass:get_is_dense = staticmethod(get_is_dense)
9909  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9910  def show(self, *args):
9911  """
9912  show(_DenseFloatStorage self, _ostream out=std::cout)
9913  show(_DenseFloatStorage self)
9914  """
9915  return _IMP_algebra._DenseFloatStorage_show(self, *args)
9916 
9917  def add_voxel(self, *args):
9918  """add_voxel(_DenseFloatStorage self, ExtendedGridIndex3D arg2, float const & arg3) -> GridIndex3D"""
9919  return _IMP_algebra._DenseFloatStorage_add_voxel(self, *args)
9920 
9921  def get_all_voxels(self):
9922  """get_all_voxels(_DenseFloatStorage self) -> IMP::base::Vector< float >"""
9923  return _IMP_algebra._DenseFloatStorage_get_all_voxels(self)
9924 
9925  __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorage
9926  __del__ = lambda self : None;
9927 _DenseFloatStorage_swigregister = _IMP_algebra._DenseFloatStorage_swigregister
9928 _DenseFloatStorage_swigregister(_DenseFloatStorage)
9929 
9930 def _DenseFloatStorage_get_is_dense():
9931  """_DenseFloatStorage_get_is_dense() -> bool"""
9932  return _IMP_algebra._DenseFloatStorage_get_is_dense()
9933 
9934 class _DenseIntStorage(BoundedGridRange3D):
9935  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
9936  __swig_setmethods__ = {}
9937  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9938  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseIntStorage, name, value)
9939  __swig_getmethods__ = {}
9940  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9941  __getattr__ = lambda self, name: _swig_getattr(self, _DenseIntStorage, name)
9942  __repr__ = _swig_repr
9943  def __setitem__(self, *args):
9944  """
9945  __setitem__(_DenseIntStorage self, GridIndex3D i, int const & v)
9946  __setitem__(_DenseIntStorage self, unsigned int i, int const & v)
9947  """
9948  return _IMP_algebra._DenseIntStorage___setitem__(self, *args)
9949 
9950  def __getitem__(self, *args):
9951  """
9952  __getitem__(_DenseIntStorage self, GridIndex3D i) -> int const
9953  __getitem__(_DenseIntStorage self, unsigned int i) -> int const &
9954  """
9955  return _IMP_algebra._DenseIntStorage___getitem__(self, *args)
9956 
9957  def __init__(self, *args):
9958  """
9959  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _DenseIntStorage o) -> _DenseIntStorage
9960  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _DenseIntStorage
9961  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _DenseIntStorage
9962  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _DenseIntStorage
9963  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _DenseIntStorage
9964  """
9965  this = _IMP_algebra.new__DenseIntStorage(*args)
9966  try: self.this.append(this)
9967  except: self.this = this
9968  def get_is_dense():
9969  """get_is_dense() -> bool"""
9970  return _IMP_algebra._DenseIntStorage_get_is_dense()
9971 
9972  if _newclass:get_is_dense = staticmethod(get_is_dense)
9973  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9974  def show(self, *args):
9975  """
9976  show(_DenseIntStorage self, _ostream out=std::cout)
9977  show(_DenseIntStorage self)
9978  """
9979  return _IMP_algebra._DenseIntStorage_show(self, *args)
9980 
9981  def add_voxel(self, *args):
9982  """add_voxel(_DenseIntStorage self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
9983  return _IMP_algebra._DenseIntStorage_add_voxel(self, *args)
9984 
9985  def get_all_voxels(self):
9986  """get_all_voxels(_DenseIntStorage self) -> IMP::base::Vector< int >"""
9987  return _IMP_algebra._DenseIntStorage_get_all_voxels(self)
9988 
9989  __swig_destroy__ = _IMP_algebra.delete__DenseIntStorage
9990  __del__ = lambda self : None;
9991 _DenseIntStorage_swigregister = _IMP_algebra._DenseIntStorage_swigregister
9992 _DenseIntStorage_swigregister(_DenseIntStorage)
9993 
9994 def _DenseIntStorage_get_is_dense():
9995  """_DenseIntStorage_get_is_dense() -> bool"""
9996  return _IMP_algebra._DenseIntStorage_get_is_dense()
9997 
9998 class _DenseFloatStorageK(BoundedGridRangeKD):
9999  """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,float)> class"""
10000  __swig_setmethods__ = {}
10001  for _s in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10002  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseFloatStorageK, name, value)
10003  __swig_getmethods__ = {}
10004  for _s in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10005  __getattr__ = lambda self, name: _swig_getattr(self, _DenseFloatStorageK, name)
10006  __repr__ = _swig_repr
10007  def __setitem__(self, *args):
10008  """
10009  __setitem__(_DenseFloatStorageK self, GridIndexKD i, float const & v)
10010  __setitem__(_DenseFloatStorageK self, unsigned int i, float const & v)
10011  """
10012  return _IMP_algebra._DenseFloatStorageK___setitem__(self, *args)
10013 
10014  def __getitem__(self, *args):
10015  """
10016  __getitem__(_DenseFloatStorageK self, GridIndexKD i) -> float const
10017  __getitem__(_DenseFloatStorageK self, unsigned int i) -> float const &
10018  """
10019  return _IMP_algebra._DenseFloatStorageK___getitem__(self, *args)
10020 
10021  def __init__(self, *args):
10022  """
10023  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, _DenseFloatStorageK o) -> _DenseFloatStorageK
10024  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorageK
10025  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts) -> _DenseFloatStorageK
10026  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, float const & default_value=float()) -> _DenseFloatStorageK
10027  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self) -> _DenseFloatStorageK
10028  """
10029  this = _IMP_algebra.new__DenseFloatStorageK(*args)
10030  try: self.this.append(this)
10031  except: self.this = this
10032  def get_is_dense():
10033  """get_is_dense() -> bool"""
10034  return _IMP_algebra._DenseFloatStorageK_get_is_dense()
10035 
10036  if _newclass:get_is_dense = staticmethod(get_is_dense)
10037  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
10038  def show(self, *args):
10039  """
10040  show(_DenseFloatStorageK self, _ostream out=std::cout)
10041  show(_DenseFloatStorageK self)
10042  """
10043  return _IMP_algebra._DenseFloatStorageK_show(self, *args)
10044 
10045  def add_voxel(self, *args):
10046  """add_voxel(_DenseFloatStorageK self, ExtendedGridIndexKD arg2, float const & arg3) -> GridIndexKD"""
10047  return _IMP_algebra._DenseFloatStorageK_add_voxel(self, *args)
10048 
10049  def get_all_voxels(self):
10050  """get_all_voxels(_DenseFloatStorageK self) -> IMP::base::Vector< float >"""
10051  return _IMP_algebra._DenseFloatStorageK_get_all_voxels(self)
10052 
10053  __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorageK
10054  __del__ = lambda self : None;
10055 _DenseFloatStorageK_swigregister = _IMP_algebra._DenseFloatStorageK_swigregister
10056 _DenseFloatStorageK_swigregister(_DenseFloatStorageK)
10057 
10058 def _DenseFloatStorageK_get_is_dense():
10059  """_DenseFloatStorageK_get_is_dense() -> bool"""
10060  return _IMP_algebra._DenseFloatStorageK_get_is_dense()
10061 
10062 class SparseIntGrid3D(_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10063  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10064  __swig_setmethods__ = {}
10065  for _s in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10066  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseIntGrid3D, name, value)
10067  __swig_getmethods__ = {}
10068  for _s in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10069  __getattr__ = lambda self, name: _swig_getattr(self, SparseIntGrid3D, name)
10070  __repr__ = _swig_repr
10071  def __init__(self, *args):
10072  """
10073  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseIntGrid3D
10074  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseIntGrid3D
10075  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseIntGrid3D
10076  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseIntGrid3D
10077  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _SparseIntStorage storage, DefaultEmbedding3D embed) -> SparseIntGrid3D
10078  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseIntGrid3D
10079  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseIntGrid3D
10080  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseIntGrid3D
10081  """
10082  this = _IMP_algebra.new_SparseIntGrid3D(*args)
10083  try: self.this.append(this)
10084  except: self.this = this
10085  def __getitem__(self, *args):
10086  """
10087  __getitem__(SparseIntGrid3D self, Vector3D i) -> int const
10088  __getitem__(SparseIntGrid3D self, GridIndex3D i) -> int const &
10089  """
10090  return _IMP_algebra.SparseIntGrid3D___getitem__(self, *args)
10091 
10092  def __setitem__(self, *args):
10093  """
10094  __setitem__(SparseIntGrid3D self, Vector3D i, int const & v)
10095  __setitem__(SparseIntGrid3D self, GridIndex3D i, int const & vt)
10096  """
10097  return _IMP_algebra.SparseIntGrid3D___setitem__(self, *args)
10098 
10099  def get_has_index(self, *args):
10100  """get_has_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
10101  return _IMP_algebra.SparseIntGrid3D_get_has_index(self, *args)
10102 
10103  def get_index(self, *args):
10104  """get_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10105  return _IMP_algebra.SparseIntGrid3D_get_index(self, *args)
10106 
10107  def add_voxel(self, *args):
10108  """
10109  add_voxel(SparseIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10110  add_voxel(SparseIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10111  """
10112  return _IMP_algebra.SparseIntGrid3D_add_voxel(self, *args)
10113 
10114  def get_extended_index(self, *args):
10115  """
10116  get_extended_index(SparseIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10117  get_extended_index(SparseIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10118  """
10119  return _IMP_algebra.SparseIntGrid3D_get_extended_index(self, *args)
10120 
10121  def get_bounding_box(self, *args):
10122  """
10123  get_bounding_box(SparseIntGrid3D self) -> BoundingBox3D
10124  get_bounding_box(SparseIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10125  get_bounding_box(SparseIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10126  """
10127  return _IMP_algebra.SparseIntGrid3D_get_bounding_box(self, *args)
10128 
10129  def set_bounding_box(self, *args):
10130  """set_bounding_box(SparseIntGrid3D self, BoundingBox3D bb3)"""
10131  return _IMP_algebra.SparseIntGrid3D_set_bounding_box(self, *args)
10132 
10133  def get_nearest_index(self, *args):
10134  """get_nearest_index(SparseIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10135  return _IMP_algebra.SparseIntGrid3D_get_nearest_index(self, *args)
10136 
10137  def get_nearest_extended_index(self, *args):
10138  """get_nearest_extended_index(SparseIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10139  return _IMP_algebra.SparseIntGrid3D_get_nearest_extended_index(self, *args)
10140 
10141  __swig_destroy__ = _IMP_algebra.delete_SparseIntGrid3D
10142  __del__ = lambda self : None;
10143 SparseIntGrid3D_swigregister = _IMP_algebra.SparseIntGrid3D_swigregister
10144 SparseIntGrid3D_swigregister(SparseIntGrid3D)
10145 
10146 class SparseUnboundedIntGrid3D(_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10147  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10148  __swig_setmethods__ = {}
10149  for _s in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10150  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGrid3D, name, value)
10151  __swig_getmethods__ = {}
10152  for _s in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10153  __getattr__ = lambda self, name: _swig_getattr(self, SparseUnboundedIntGrid3D, name)
10154  __repr__ = _swig_repr
10155  def __init__(self, *args):
10156  """
10157  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseUnboundedIntGrid3D
10158  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseUnboundedIntGrid3D
10159  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseUnboundedIntGrid3D
10160  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseUnboundedIntGrid3D
10161  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _SparseUBIntStorage storage, DefaultEmbedding3D embed) -> SparseUnboundedIntGrid3D
10162  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseUnboundedIntGrid3D
10163  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
10164  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseUnboundedIntGrid3D
10165  """
10166  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
10167  try: self.this.append(this)
10168  except: self.this = this
10169  def __getitem__(self, *args):
10170  """
10171  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int const
10172  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int const &
10173  """
10174  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
10175 
10176  def __setitem__(self, *args):
10177  """
10178  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & v)
10179  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & vt)
10180  """
10181  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
10182 
10183  def get_has_index(self, *args):
10184  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
10185  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
10186 
10187  def get_index(self, *args):
10188  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10189  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
10190 
10191  def add_voxel(self, *args):
10192  """
10193  add_voxel(SparseUnboundedIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10194  add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10195  """
10196  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
10197 
10198  def get_extended_index(self, *args):
10199  """
10200  get_extended_index(SparseUnboundedIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10201  get_extended_index(SparseUnboundedIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10202  """
10203  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
10204 
10205  def get_bounding_box(self, *args):
10206  """
10207  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
10208  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10209  get_bounding_box(SparseUnboundedIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10210  """
10211  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
10212 
10213  def set_bounding_box(self, *args):
10214  """set_bounding_box(SparseUnboundedIntGrid3D self, BoundingBox3D bb3)"""
10215  return _IMP_algebra.SparseUnboundedIntGrid3D_set_bounding_box(self, *args)
10216 
10217  def get_nearest_index(self, *args):
10218  """get_nearest_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10219  return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_index(self, *args)
10220 
10221  def get_nearest_extended_index(self, *args):
10222  """get_nearest_extended_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10223  return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_extended_index(self, *args)
10224 
10225  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
10226  __del__ = lambda self : None;
10227 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
10228 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
10229 
10230 class SparseUnboundedIntGridKD(_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD):
10231  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
10232  __swig_setmethods__ = {}
10233  for _s in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10234  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGridKD, name, value)
10235  __swig_getmethods__ = {}
10236  for _s in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10237  __getattr__ = lambda self, name: _swig_getattr(self, SparseUnboundedIntGridKD, name)
10238  __repr__ = _swig_repr
10239  def __init__(self, *args):
10240  """
10241  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, int default_value=int()) -> SparseUnboundedIntGridKD
10242  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> SparseUnboundedIntGridKD
10243  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, int const & default_value=int()) -> SparseUnboundedIntGridKD
10244  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> SparseUnboundedIntGridKD
10245  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, _SparseUBIntStorageK storage, DefaultEmbeddingKD embed) -> SparseUnboundedIntGridKD
10246  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin, int const & default_value=int()) -> SparseUnboundedIntGridKD
10247  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
10248  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> SparseUnboundedIntGridKD
10249  """
10250  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
10251  try: self.this.append(this)
10252  except: self.this = this
10253  def __getitem__(self, *args):
10254  """
10255  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int const
10256  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int const &
10257  """
10258  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
10259 
10260  def __setitem__(self, *args):
10261  """
10262  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & v)
10263  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & vt)
10264  """
10265  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
10266 
10267  def get_has_index(self, *args):
10268  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> bool"""
10269  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
10270 
10271  def get_index(self, *args):
10272  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10273  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
10274 
10275  def add_voxel(self, *args):
10276  """
10277  add_voxel(SparseUnboundedIntGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10278  add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10279  """
10280  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
10281 
10282  def get_extended_index(self, *args):
10283  """
10284  get_extended_index(SparseUnboundedIntGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10285  get_extended_index(SparseUnboundedIntGridKD self, VectorKD i) -> ExtendedGridIndexKD
10286  """
10287  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
10288 
10289  def get_bounding_box(self, *args):
10290  """
10291  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
10292  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10293  get_bounding_box(SparseUnboundedIntGridKD self, GridIndexKD i) -> BoundingBoxKD
10294  """
10295  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
10296 
10297  def set_bounding_box(self, *args):
10298  """set_bounding_box(SparseUnboundedIntGridKD self, BoundingBoxKD bb3)"""
10299  return _IMP_algebra.SparseUnboundedIntGridKD_set_bounding_box(self, *args)
10300 
10301  def get_nearest_index(self, *args):
10302  """get_nearest_index(SparseUnboundedIntGridKD self, VectorKD pt) -> GridIndexKD"""
10303  return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_index(self, *args)
10304 
10305  def get_nearest_extended_index(self, *args):
10306  """get_nearest_extended_index(SparseUnboundedIntGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10307  return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_extended_index(self, *args)
10308 
10309  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
10310  __del__ = lambda self : None;
10311 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
10312 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
10313 
10314 class DenseDoubleGrid3D(_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10315  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10316  __swig_setmethods__ = {}
10317  for _s in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10318  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseDoubleGrid3D, name, value)
10319  __swig_getmethods__ = {}
10320  for _s in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10321  __getattr__ = lambda self, name: _swig_getattr(self, DenseDoubleGrid3D, name)
10322  __repr__ = _swig_repr
10323  def __init__(self, *args):
10324  """
10325  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, double default_value=double()) -> DenseDoubleGrid3D
10326  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseDoubleGrid3D
10327  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, double const & default_value=double()) -> DenseDoubleGrid3D
10328  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
10329  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseDoubleStorage storage, DefaultEmbedding3D embed) -> DenseDoubleGrid3D
10330  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, double const & default_value=double()) -> DenseDoubleGrid3D
10331  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseDoubleGrid3D
10332  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseDoubleGrid3D
10333  """
10334  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
10335  try: self.this.append(this)
10336  except: self.this = this
10337  def __getitem__(self, *args):
10338  """
10339  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double const
10340  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double const &
10341  """
10342  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
10343 
10344  def __setitem__(self, *args):
10345  """
10346  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & v)
10347  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & vt)
10348  """
10349  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
10350 
10351  def get_has_index(self, *args):
10352  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> bool"""
10353  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
10354 
10355  def get_index(self, *args):
10356  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10357  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
10358 
10359  def add_voxel(self, *args):
10360  """
10361  add_voxel(DenseDoubleGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D
10362  add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & vt) -> GridIndex3D
10363  """
10364  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
10365 
10366  def get_extended_index(self, *args):
10367  """
10368  get_extended_index(DenseDoubleGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10369  get_extended_index(DenseDoubleGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10370  """
10371  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
10372 
10373  def get_bounding_box(self, *args):
10374  """
10375  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
10376  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10377  get_bounding_box(DenseDoubleGrid3D self, GridIndex3D i) -> BoundingBox3D
10378  """
10379  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
10380 
10381  def set_bounding_box(self, *args):
10382  """set_bounding_box(DenseDoubleGrid3D self, BoundingBox3D bb3)"""
10383  return _IMP_algebra.DenseDoubleGrid3D_set_bounding_box(self, *args)
10384 
10385  def get_nearest_index(self, *args):
10386  """get_nearest_index(DenseDoubleGrid3D self, Vector3D pt) -> GridIndex3D"""
10387  return _IMP_algebra.DenseDoubleGrid3D_get_nearest_index(self, *args)
10388 
10389  def get_nearest_extended_index(self, *args):
10390  """get_nearest_extended_index(DenseDoubleGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10391  return _IMP_algebra.DenseDoubleGrid3D_get_nearest_extended_index(self, *args)
10392 
10393  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
10394  __del__ = lambda self : None;
10395 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
10396 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
10397 
10398 class DenseFloatGrid3D(_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10399  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10400  __swig_setmethods__ = {}
10401  for _s in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10402  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseFloatGrid3D, name, value)
10403  __swig_getmethods__ = {}
10404  for _s in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10405  __getattr__ = lambda self, name: _swig_getattr(self, DenseFloatGrid3D, name)
10406  __repr__ = _swig_repr
10407  def __init__(self, *args):
10408  """
10409  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, float default_value=float()) -> DenseFloatGrid3D
10410  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseFloatGrid3D
10411  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, float const & default_value=float()) -> DenseFloatGrid3D
10412  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
10413  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseFloatStorage storage, DefaultEmbedding3D embed) -> DenseFloatGrid3D
10414  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, float const & default_value=float()) -> DenseFloatGrid3D
10415  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseFloatGrid3D
10416  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseFloatGrid3D
10417  """
10418  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
10419  try: self.this.append(this)
10420  except: self.this = this
10421  def __getitem__(self, *args):
10422  """
10423  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float const
10424  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float const &
10425  """
10426  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
10427 
10428  def __setitem__(self, *args):
10429  """
10430  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & v)
10431  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & vt)
10432  """
10433  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
10434 
10435  def get_has_index(self, *args):
10436  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> bool"""
10437  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
10438 
10439  def get_index(self, *args):
10440  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10441  return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
10442 
10443  def add_voxel(self, *args):
10444  """
10445  add_voxel(DenseFloatGrid3D self, Vector3D pt, float const & vt) -> GridIndex3D
10446  add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & vt) -> GridIndex3D
10447  """
10448  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
10449 
10450  def get_extended_index(self, *args):
10451  """
10452  get_extended_index(DenseFloatGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10453  get_extended_index(DenseFloatGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10454  """
10455  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
10456 
10457  def get_bounding_box(self, *args):
10458  """
10459  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
10460  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10461  get_bounding_box(DenseFloatGrid3D self, GridIndex3D i) -> BoundingBox3D
10462  """
10463  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
10464 
10465  def set_bounding_box(self, *args):
10466  """set_bounding_box(DenseFloatGrid3D self, BoundingBox3D bb3)"""
10467  return _IMP_algebra.DenseFloatGrid3D_set_bounding_box(self, *args)
10468 
10469  def get_nearest_index(self, *args):
10470  """get_nearest_index(DenseFloatGrid3D self, Vector3D pt) -> GridIndex3D"""
10471  return _IMP_algebra.DenseFloatGrid3D_get_nearest_index(self, *args)
10472 
10473  def get_nearest_extended_index(self, *args):
10474  """get_nearest_extended_index(DenseFloatGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10475  return _IMP_algebra.DenseFloatGrid3D_get_nearest_extended_index(self, *args)
10476 
10477  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
10478  __del__ = lambda self : None;
10479 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
10480 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
10481 
10482 class DenseIntLogGrid3D(_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10483  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10484  __swig_setmethods__ = {}
10485  for _s in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10486  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseIntLogGrid3D, name, value)
10487  __swig_getmethods__ = {}
10488  for _s in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10489  __getattr__ = lambda self, name: _swig_getattr(self, DenseIntLogGrid3D, name)
10490  __repr__ = _swig_repr
10491  def __init__(self, *args):
10492  """
10493  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> DenseIntLogGrid3D
10494  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseIntLogGrid3D
10495  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> DenseIntLogGrid3D
10496  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseIntLogGrid3D
10497  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _DenseIntStorage storage, LogEmbedding3D embed) -> DenseIntLogGrid3D
10498  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> DenseIntLogGrid3D
10499  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseIntLogGrid3D
10500  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> DenseIntLogGrid3D
10501  """
10502  this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
10503  try: self.this.append(this)
10504  except: self.this = this
10505  def __getitem__(self, *args):
10506  """
10507  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int const
10508  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int const &
10509  """
10510  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
10511 
10512  def __setitem__(self, *args):
10513  """
10514  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & v)
10515  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & vt)
10516  """
10517  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
10518 
10519  def get_has_index(self, *args):
10520  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10521  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
10522 
10523  def get_index(self, *args):
10524  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10525  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
10526 
10527  def add_voxel(self, *args):
10528  """
10529  add_voxel(DenseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10530  add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10531  """
10532  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
10533 
10534  def get_extended_index(self, *args):
10535  """
10536  get_extended_index(DenseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10537  get_extended_index(DenseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10538  """
10539  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
10540 
10541  def get_bounding_box(self, *args):
10542  """
10543  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
10544  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10545  get_bounding_box(DenseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10546  """
10547  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
10548 
10549  def set_bounding_box(self, *args):
10550  """set_bounding_box(DenseIntLogGrid3D self, BoundingBox3D bb3)"""
10551  return _IMP_algebra.DenseIntLogGrid3D_set_bounding_box(self, *args)
10552 
10553  def get_nearest_index(self, *args):
10554  """get_nearest_index(DenseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10555  return _IMP_algebra.DenseIntLogGrid3D_get_nearest_index(self, *args)
10556 
10557  def get_nearest_extended_index(self, *args):
10558  """get_nearest_extended_index(DenseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10559  return _IMP_algebra.DenseIntLogGrid3D_get_nearest_extended_index(self, *args)
10560 
10561  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
10562  __del__ = lambda self : None;
10563 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
10564 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
10565 
10566 class SparseIntLogGrid3D(_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10567  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10568  __swig_setmethods__ = {}
10569  for _s in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10570  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseIntLogGrid3D, name, value)
10571  __swig_getmethods__ = {}
10572  for _s in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10573  __getattr__ = lambda self, name: _swig_getattr(self, SparseIntLogGrid3D, name)
10574  __repr__ = _swig_repr
10575  def __init__(self, *args):
10576  """
10577  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseIntLogGrid3D
10578  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseIntLogGrid3D
10579  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseIntLogGrid3D
10580  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseIntLogGrid3D
10581  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _SparseIntStorage storage, LogEmbedding3D embed) -> SparseIntLogGrid3D
10582  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseIntLogGrid3D
10583  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseIntLogGrid3D
10584  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> SparseIntLogGrid3D
10585  """
10586  this = _IMP_algebra.new_SparseIntLogGrid3D(*args)
10587  try: self.this.append(this)
10588  except: self.this = this
10589  def __getitem__(self, *args):
10590  """
10591  __getitem__(SparseIntLogGrid3D self, Vector3D i) -> int const
10592  __getitem__(SparseIntLogGrid3D self, GridIndex3D i) -> int const &
10593  """
10594  return _IMP_algebra.SparseIntLogGrid3D___getitem__(self, *args)
10595 
10596  def __setitem__(self, *args):
10597  """
10598  __setitem__(SparseIntLogGrid3D self, Vector3D i, int const & v)
10599  __setitem__(SparseIntLogGrid3D self, GridIndex3D i, int const & vt)
10600  """
10601  return _IMP_algebra.SparseIntLogGrid3D___setitem__(self, *args)
10602 
10603  def get_has_index(self, *args):
10604  """get_has_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10605  return _IMP_algebra.SparseIntLogGrid3D_get_has_index(self, *args)
10606 
10607  def get_index(self, *args):
10608  """get_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10609  return _IMP_algebra.SparseIntLogGrid3D_get_index(self, *args)
10610 
10611  def add_voxel(self, *args):
10612  """
10613  add_voxel(SparseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10614  add_voxel(SparseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10615  """
10616  return _IMP_algebra.SparseIntLogGrid3D_add_voxel(self, *args)
10617 
10618  def get_extended_index(self, *args):
10619  """
10620  get_extended_index(SparseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10621  get_extended_index(SparseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10622  """
10623  return _IMP_algebra.SparseIntLogGrid3D_get_extended_index(self, *args)
10624 
10625  def get_bounding_box(self, *args):
10626  """
10627  get_bounding_box(SparseIntLogGrid3D self) -> BoundingBox3D
10628  get_bounding_box(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10629  get_bounding_box(SparseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10630  """
10631  return _IMP_algebra.SparseIntLogGrid3D_get_bounding_box(self, *args)
10632 
10633  def set_bounding_box(self, *args):
10634  """set_bounding_box(SparseIntLogGrid3D self, BoundingBox3D bb3)"""
10635  return _IMP_algebra.SparseIntLogGrid3D_set_bounding_box(self, *args)
10636 
10637  def get_nearest_index(self, *args):
10638  """get_nearest_index(SparseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10639  return _IMP_algebra.SparseIntLogGrid3D_get_nearest_index(self, *args)
10640 
10641  def get_nearest_extended_index(self, *args):
10642  """get_nearest_extended_index(SparseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10643  return _IMP_algebra.SparseIntLogGrid3D_get_nearest_extended_index(self, *args)
10644 
10645  __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGrid3D
10646  __del__ = lambda self : None;
10647 SparseIntLogGrid3D_swigregister = _IMP_algebra.SparseIntLogGrid3D_swigregister
10648 SparseIntLogGrid3D_swigregister(SparseIntLogGrid3D)
10649 
10650 class SparseIntLogGridKD(_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10651  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10652  __swig_setmethods__ = {}
10653  for _s in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10654  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseIntLogGridKD, name, value)
10655  __swig_getmethods__ = {}
10656  for _s in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10657  __getattr__ = lambda self, name: _swig_getattr(self, SparseIntLogGridKD, name)
10658  __repr__ = _swig_repr
10659  def __init__(self, *args):
10660  """
10661  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, int default_value=int()) -> SparseIntLogGridKD
10662  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> SparseIntLogGridKD
10663  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, int const & default_value=int()) -> SparseIntLogGridKD
10664  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> SparseIntLogGridKD
10665  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, _SparseIntStorageK storage, LogEmbeddingKD embed) -> SparseIntLogGridKD
10666  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin, int const & default_value=int()) -> SparseIntLogGridKD
10667  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> SparseIntLogGridKD
10668  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> SparseIntLogGridKD
10669  """
10670  this = _IMP_algebra.new_SparseIntLogGridKD(*args)
10671  try: self.this.append(this)
10672  except: self.this = this
10673  def __getitem__(self, *args):
10674  """
10675  __getitem__(SparseIntLogGridKD self, VectorKD i) -> int const
10676  __getitem__(SparseIntLogGridKD self, GridIndexKD i) -> int const &
10677  """
10678  return _IMP_algebra.SparseIntLogGridKD___getitem__(self, *args)
10679 
10680  def __setitem__(self, *args):
10681  """
10682  __setitem__(SparseIntLogGridKD self, VectorKD i, int const & v)
10683  __setitem__(SparseIntLogGridKD self, GridIndexKD i, int const & vt)
10684  """
10685  return _IMP_algebra.SparseIntLogGridKD___setitem__(self, *args)
10686 
10687  def get_has_index(self, *args):
10688  """get_has_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10689  return _IMP_algebra.SparseIntLogGridKD_get_has_index(self, *args)
10690 
10691  def get_index(self, *args):
10692  """get_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10693  return _IMP_algebra.SparseIntLogGridKD_get_index(self, *args)
10694 
10695  def add_voxel(self, *args):
10696  """
10697  add_voxel(SparseIntLogGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10698  add_voxel(SparseIntLogGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10699  """
10700  return _IMP_algebra.SparseIntLogGridKD_add_voxel(self, *args)
10701 
10702  def get_extended_index(self, *args):
10703  """
10704  get_extended_index(SparseIntLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10705  get_extended_index(SparseIntLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10706  """
10707  return _IMP_algebra.SparseIntLogGridKD_get_extended_index(self, *args)
10708 
10709  def get_bounding_box(self, *args):
10710  """
10711  get_bounding_box(SparseIntLogGridKD self) -> BoundingBoxKD
10712  get_bounding_box(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10713  get_bounding_box(SparseIntLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10714  """
10715  return _IMP_algebra.SparseIntLogGridKD_get_bounding_box(self, *args)
10716 
10717  def set_bounding_box(self, *args):
10718  """set_bounding_box(SparseIntLogGridKD self, BoundingBoxKD bb3)"""
10719  return _IMP_algebra.SparseIntLogGridKD_set_bounding_box(self, *args)
10720 
10721  def get_nearest_index(self, *args):
10722  """get_nearest_index(SparseIntLogGridKD self, VectorKD pt) -> GridIndexKD"""
10723  return _IMP_algebra.SparseIntLogGridKD_get_nearest_index(self, *args)
10724 
10725  def get_nearest_extended_index(self, *args):
10726  """get_nearest_extended_index(SparseIntLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10727  return _IMP_algebra.SparseIntLogGridKD_get_nearest_extended_index(self, *args)
10728 
10729  __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGridKD
10730  __del__ = lambda self : None;
10731 SparseIntLogGridKD_swigregister = _IMP_algebra.SparseIntLogGridKD_swigregister
10732 SparseIntLogGridKD_swigregister(SparseIntLogGridKD)
10733 
10734 class DenseFloatLogGridKD(_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10735  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10736  __swig_setmethods__ = {}
10737  for _s in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10738  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseFloatLogGridKD, name, value)
10739  __swig_getmethods__ = {}
10740  for _s in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10741  __getattr__ = lambda self, name: _swig_getattr(self, DenseFloatLogGridKD, name)
10742  __repr__ = _swig_repr
10743  def __init__(self, *args):
10744  """
10745  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, float default_value=float()) -> DenseFloatLogGridKD
10746  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> DenseFloatLogGridKD
10747  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, float const & default_value=float()) -> DenseFloatLogGridKD
10748  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> DenseFloatLogGridKD
10749  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, _DenseFloatStorageK storage, LogEmbeddingKD embed) -> DenseFloatLogGridKD
10750  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin, float const & default_value=float()) -> DenseFloatLogGridKD
10751  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> DenseFloatLogGridKD
10752  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> DenseFloatLogGridKD
10753  """
10754  this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
10755  try: self.this.append(this)
10756  except: self.this = this
10757  def __getitem__(self, *args):
10758  """
10759  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float const
10760  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float const &
10761  """
10762  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
10763 
10764  def __setitem__(self, *args):
10765  """
10766  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & v)
10767  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & vt)
10768  """
10769  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
10770 
10771  def get_has_index(self, *args):
10772  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10773  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
10774 
10775  def get_index(self, *args):
10776  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10777  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
10778 
10779  def add_voxel(self, *args):
10780  """
10781  add_voxel(DenseFloatLogGridKD self, VectorKD pt, float const & vt) -> GridIndexKD
10782  add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & vt) -> GridIndexKD
10783  """
10784  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
10785 
10786  def get_extended_index(self, *args):
10787  """
10788  get_extended_index(DenseFloatLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10789  get_extended_index(DenseFloatLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10790  """
10791  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
10792 
10793  def get_bounding_box(self, *args):
10794  """
10795  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
10796  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10797  get_bounding_box(DenseFloatLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10798  """
10799  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
10800 
10801  def set_bounding_box(self, *args):
10802  """set_bounding_box(DenseFloatLogGridKD self, BoundingBoxKD bb3)"""
10803  return _IMP_algebra.DenseFloatLogGridKD_set_bounding_box(self, *args)
10804 
10805  def get_nearest_index(self, *args):
10806  """get_nearest_index(DenseFloatLogGridKD self, VectorKD pt) -> GridIndexKD"""
10807  return _IMP_algebra.DenseFloatLogGridKD_get_nearest_index(self, *args)
10808 
10809  def get_nearest_extended_index(self, *args):
10810  """get_nearest_extended_index(DenseFloatLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10811  return _IMP_algebra.DenseFloatLogGridKD_get_nearest_extended_index(self, *args)
10812 
10813  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
10814  __del__ = lambda self : None;
10815 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
10816 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
10817 
10818 class _AxisAnglePair(_object):
10819  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10820  __swig_setmethods__ = {}
10821  __setattr__ = lambda self, name, value: _swig_setattr(self, _AxisAnglePair, name, value)
10822  __swig_getmethods__ = {}
10823  __getattr__ = lambda self, name: _swig_getattr(self, _AxisAnglePair, name)
10824  __repr__ = _swig_repr
10825  def __init__(self, *args):
10826  """
10827  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10828  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10829  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10830  """
10831  this = _IMP_algebra.new__AxisAnglePair(*args)
10832  try: self.this.append(this)
10833  except: self.this = this
10834  __swig_setmethods__["first"] = _IMP_algebra._AxisAnglePair_first_set
10835  __swig_getmethods__["first"] = _IMP_algebra._AxisAnglePair_first_get
10836  if _newclass:first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10837  __swig_setmethods__["second"] = _IMP_algebra._AxisAnglePair_second_set
10838  __swig_getmethods__["second"] = _IMP_algebra._AxisAnglePair_second_get
10839  if _newclass:second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10840  def __len__(self): return 2
10841  def __repr__(self): return str((self.first, self.second))
10842  def __getitem__(self, index):
10843  if not (index % 2):
10844  return self.first
10845  else:
10846  return self.second
10847  def __setitem__(self, index, val):
10848  if not (index % 2):
10849  self.first = val
10850  else:
10851  self.second = val
10852  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10853  __del__ = lambda self : None;
10854 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10855 _AxisAnglePair_swigregister(_AxisAnglePair)
10856 
10857 
10859  """get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
10860  return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10861 LinearFit=LinearFit2D
10862 ParabolicFit=ParabolicFit2D
10863 
10864 
10865 def get_module_version():
10866  """get_module_version() -> std::string const"""
10867  return _IMP_algebra.get_module_version()
10868 
10869 def get_example_path(*args):
10870  """get_example_path(std::string fname) -> std::string"""
10871  return _IMP_algebra.get_example_path(*args)
10872 
10873 def get_data_path(*args):
10874  """get_data_path(std::string fname) -> std::string"""
10875  return _IMP_algebra.get_data_path(*args)
10876 import _version_check
10877 _version_check.check_version(get_module_version())
10878 
10879 # This file is compatible with both classic and new-style classes.
10880 
10881