IMP  2.1.0
The Integrative Modeling Platform
algebra/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.11
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 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_algebra', [dirname(__file__)])
19  except ImportError:
20  import _IMP_algebra
21  return _IMP_algebra
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_algebra', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_algebra = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_algebra
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
53 def _swig_getattr(self,class_type,name):
54  if (name == "thisown"): return self.this.own()
55  method = class_type.__swig_getmethods__.get(name,None)
56  if method: return method(self)
57  raise AttributeError(name)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 try:
73  import weakref
74  weakref_proxy = weakref.proxy
75 except:
76  weakref_proxy = lambda x: x
77 
78 
79 class IMP_ALGEBRA_SwigPyIterator(_object):
80  """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
81  __swig_setmethods__ = {}
82  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_ALGEBRA_SwigPyIterator, name, value)
83  __swig_getmethods__ = {}
84  __getattr__ = lambda self, name: _swig_getattr(self, IMP_ALGEBRA_SwigPyIterator, name)
85  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
86  __repr__ = _swig_repr
87  __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
88  __del__ = lambda self : None;
89  def value(self):
90  """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
91  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
92 
93  def incr(self, n=1):
94  """
95  incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
96  incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
97  """
98  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
99 
100  def decr(self, n=1):
101  """
102  decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
103  decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
104  """
105  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
106 
107  def distance(self, *args):
108  """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
109  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, *args)
110 
111  def equal(self, *args):
112  """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
113  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, *args)
114 
115  def copy(self):
116  """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
117  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
118 
119  def next(self):
120  """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
121  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
122 
123  def __next__(self):
124  """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
125  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
126 
127  def previous(self):
128  """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
129  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
130 
131  def advance(self, *args):
132  """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
133  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, *args)
134 
135  def __eq__(self, *args):
136  """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
137  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, *args)
138 
139  def __ne__(self, *args):
140  """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
141  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, *args)
142 
143  def __iadd__(self, *args):
144  """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
145  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, *args)
146 
147  def __isub__(self, *args):
148  """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
149  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, *args)
150 
151  def __add__(self, *args):
152  """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
153  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, *args)
154 
155  def __sub__(self, *args):
156  """
157  __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
158  __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
159  """
160  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
161 
162  def __iter__(self): return self
163 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
164 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
165 
166 _value_types=[]
167 _object_types=[]
168 _raii_types=[]
169 _plural_types=[]
170 
171 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
172 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
173 IMP_SILENT = _IMP_algebra.IMP_SILENT
174 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
175 IMP_TERSE = _IMP_algebra.IMP_TERSE
176 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
177 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
178 IMP_NONE = _IMP_algebra.IMP_NONE
179 IMP_USAGE = _IMP_algebra.IMP_USAGE
180 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_algebra.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_algebra.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_algebra.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_algebra.IMPBASE_SHOW_WARNINGS
189 import sys
190 class _DirectorObjects(object):
191  """@internal Simple class to keep references to director objects
192  to prevent premature deletion."""
193  def __init__(self):
194  self._objects = []
195  def register(self, obj):
196  """Take a reference to a director object; will only work for
197  refcounted C++ classes"""
198  if hasattr(obj, 'get_ref_count'):
199  self._objects.append(obj)
200  def cleanup(self):
201  """Only drop our reference and allow cleanup by Python if no other
202  Python references exist (we hold 3 references: one in self._objects,
203  one in x, and one in the argument list for getrefcount) *and* no
204  other C++ references exist (the Python object always holds one)"""
205  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
206  or x.get_ref_count() > 1]
207 
208 
209  self._objects = objs
210  def get_object_count(self):
211  """Get number of director objects (useful for testing only)"""
212  return len(self._objects)
213 _director_objects = _DirectorObjects()
214 
215 DEFAULT_CHECK = _IMP_algebra.DEFAULT_CHECK
216 NONE = _IMP_algebra.NONE
217 USAGE = _IMP_algebra.USAGE
218 USAGE_AND_INTERNAL = _IMP_algebra.USAGE_AND_INTERNAL
219 
220 def set_check_level(*args):
221  """set_check_level(IMP::base::CheckLevel tf)"""
222  return _IMP_algebra.set_check_level(*args)
223 
224 def get_check_level():
225  """get_check_level() -> IMP::base::CheckLevel"""
226  return _IMP_algebra.get_check_level()
227 class _ostream(_object):
228  """Proxy of C++ std::ostream class"""
229  __swig_setmethods__ = {}
230  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231  __swig_getmethods__ = {}
232  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
233  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
234  __repr__ = _swig_repr
235  def write(self, *args):
236  """write(_ostream self, char const * osa_buf)"""
237  return _IMP_algebra._ostream_write(self, *args)
238 
239 _ostream_swigregister = _IMP_algebra._ostream_swigregister
240 _ostream_swigregister(_ostream)
241 
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
245 import IMP.base
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
251 import IMP.cgal
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
260 def get_vector(v):
261  try:
262  return v.get_coordinates()
263  except:
264  return v
265 def get_sphere(v):
266  try:
267  return v.get_sphere()
268  except:
269  return v
270 
271 _object_types.append("VectorKDMetric")
272 
273 
274 def _object_cast_to_VectorKDMetric(*args):
275  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
276  return _IMP_algebra._object_cast_to_VectorKDMetric(*args)
277 _object_types.append("EuclideanVectorKDMetric")
278 
279 
280 def _object_cast_to_EuclideanVectorKDMetric(*args):
281  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
282  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(*args)
283 _object_types.append("MaxVectorKDMetric")
284 
285 
286 def _object_cast_to_MaxVectorKDMetric(*args):
287  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
288  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(*args)
289 _object_types.append("DynamicNearestNeighbor3D")
290 
291 
292 def _object_cast_to_DynamicNearestNeighbor3D(*args):
293  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
294  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(*args)
295 Rotation2Ds=list
296 _plural_types.append("Rotation2Ds")
297 _value_types.append("Rotation2D")
298 
299 Rotation3Ds=list
300 _plural_types.append("Rotation3Ds")
301 _value_types.append("Rotation3D")
302 
303 Reflection3Ds=list
304 _plural_types.append("Reflection3Ds")
305 _value_types.append("Reflection3D")
306 
307 Transformation2Ds=list
308 _plural_types.append("Transformation2Ds")
309 _value_types.append("Transformation2D")
310 
311 Transformation3Ds=list
312 _plural_types.append("Transformation3Ds")
313 _value_types.append("Transformation3D")
314 
315 SphericalVector3Ds=list
316 _plural_types.append("SphericalVector3Ds")
317 _value_types.append("SphericalVector3D")
318 
319 Triangle3Ds=list
320 _plural_types.append("Triangle3Ds")
321 _value_types.append("Triangle3D")
322 
323 Cone3Ds=list
324 _plural_types.append("Cone3Ds")
325 _value_types.append("Cone3D")
326 
327 Cylinder3Ds=list
328 _plural_types.append("Cylinder3Ds")
329 _value_types.append("Cylinder3D")
330 
331 Ellipsoid3Ds=list
332 _plural_types.append("Ellipsoid3Ds")
333 _value_types.append("Ellipsoid3D")
334 
335 Plane3Ds=list
336 _plural_types.append("Plane3Ds")
337 _value_types.append("Plane3D")
338 
339 Segment3Ds=list
340 _plural_types.append("Segment3Ds")
341 _value_types.append("Segment3D")
342 
343 SpherePatch3Ds=list
344 _plural_types.append("SpherePatch3Ds")
345 _value_types.append("SpherePatch3D")
346 
347 Vector1Ds=list
348 _plural_types.append("Vector1Ds")
349 _value_types.append("Vector1D")
350 
351 Vector2Ds=list
352 _plural_types.append("Vector2Ds")
353 _value_types.append("Vector2D")
354 
355 Vector3Ds=list
356 _plural_types.append("Vector3Ds")
357 _value_types.append("Vector3D")
358 
359 Vector4Ds=list
360 _plural_types.append("Vector4Ds")
361 _value_types.append("Vector4D")
362 
363 Vector5Ds=list
364 _plural_types.append("Vector5Ds")
365 _value_types.append("Vector5D")
366 
367 Vector6Ds=list
368 _plural_types.append("Vector6Ds")
369 _value_types.append("Vector6D")
370 
371 Vector1Ds=list
372 _plural_types.append("Vector1Ds")
373 _value_types.append("VectorD<1>")
374 
375 Vector2Ds=list
376 _plural_types.append("Vector2Ds")
377 _value_types.append("VectorD<2>")
378 
379 Vector3Ds=list
380 _plural_types.append("Vector3Ds")
381 _value_types.append("VectorD<3>")
382 
383 Vector4Ds=list
384 _plural_types.append("Vector4Ds")
385 _value_types.append("VectorD<4>")
386 
387 Vector5Ds=list
388 _plural_types.append("Vector5Ds")
389 _value_types.append("VectorD<5>")
390 
391 Vector6Ds=list
392 _plural_types.append("Vector6Ds")
393 _value_types.append("VectorD<6>")
394 
395 VectorKDs=list
396 _plural_types.append("VectorKDs")
397 _value_types.append("VectorKD")
398 
399 VectorKDs=list
400 _plural_types.append("VectorKDs")
401 _value_types.append("VectorD<-1>")
402 
403 Sphere1Ds=list
404 _plural_types.append("Sphere1Ds")
405 _value_types.append("Sphere1D")
406 
407 Sphere2Ds=list
408 _plural_types.append("Sphere2Ds")
409 _value_types.append("Sphere2D")
410 
411 Sphere3Ds=list
412 _plural_types.append("Sphere3Ds")
413 _value_types.append("Sphere3D")
414 
415 Sphere4Ds=list
416 _plural_types.append("Sphere4Ds")
417 _value_types.append("Sphere4D")
418 
419 Sphere5Ds=list
420 _plural_types.append("Sphere5Ds")
421 _value_types.append("Sphere5D")
422 
423 Sphere6Ds=list
424 _plural_types.append("Sphere6Ds")
425 _value_types.append("Sphere6D")
426 
427 Sphere1Ds=list
428 _plural_types.append("Sphere1Ds")
429 _value_types.append("SphereD<1>")
430 
431 Sphere2Ds=list
432 _plural_types.append("Sphere2Ds")
433 _value_types.append("SphereD<2>")
434 
435 Sphere3Ds=list
436 _plural_types.append("Sphere3Ds")
437 _value_types.append("SphereD<3>")
438 
439 Sphere4Ds=list
440 _plural_types.append("Sphere4Ds")
441 _value_types.append("SphereD<4>")
442 
443 Sphere5Ds=list
444 _plural_types.append("Sphere5Ds")
445 _value_types.append("SphereD<5>")
446 
447 Sphere6Ds=list
448 _plural_types.append("Sphere6Ds")
449 _value_types.append("SphereD<6>")
450 
451 SphereKDs=list
452 _plural_types.append("SphereKDs")
453 _value_types.append("SphereKD")
454 
455 SphereKDs=list
456 _plural_types.append("SphereKDs")
457 _value_types.append("SphereD<-1>")
458 
459 BoundingBox1Ds=list
460 _plural_types.append("BoundingBox1Ds")
461 _value_types.append("BoundingBox1D")
462 
463 BoundingBox2Ds=list
464 _plural_types.append("BoundingBox2Ds")
465 _value_types.append("BoundingBox2D")
466 
467 BoundingBox3Ds=list
468 _plural_types.append("BoundingBox3Ds")
469 _value_types.append("BoundingBox3D")
470 
471 BoundingBox4Ds=list
472 _plural_types.append("BoundingBox4Ds")
473 _value_types.append("BoundingBox4D")
474 
475 BoundingBox5Ds=list
476 _plural_types.append("BoundingBox5Ds")
477 _value_types.append("BoundingBox5D")
478 
479 BoundingBox6Ds=list
480 _plural_types.append("BoundingBox6Ds")
481 _value_types.append("BoundingBox6D")
482 
483 BoundingBox1Ds=list
484 _plural_types.append("BoundingBox1Ds")
485 _value_types.append("BoundingBoxD<1>")
486 
487 BoundingBox2Ds=list
488 _plural_types.append("BoundingBox2Ds")
489 _value_types.append("BoundingBoxD<2>")
490 
491 BoundingBox3Ds=list
492 _plural_types.append("BoundingBox3Ds")
493 _value_types.append("BoundingBoxD<3>")
494 
495 BoundingBox4Ds=list
496 _plural_types.append("BoundingBox4Ds")
497 _value_types.append("BoundingBoxD<4>")
498 
499 BoundingBox5Ds=list
500 _plural_types.append("BoundingBox5Ds")
501 _value_types.append("BoundingBoxD<5>")
502 
503 BoundingBox6Ds=list
504 _plural_types.append("BoundingBox6Ds")
505 _value_types.append("BoundingBoxD<6>")
506 
507 BoundingBoxKDs=list
508 _plural_types.append("BoundingBoxKDs")
509 _value_types.append("BoundingBoxKD")
510 
511 BoundingBoxKDs=list
512 _plural_types.append("BoundingBoxKDs")
513 _value_types.append("BoundingBoxD<-1>")
514 
515 VectorInput1Ds=list
516 _plural_types.append("VectorInput1Ds")
517 _value_types.append("VectorInput1D")
518 
519 VectorInput2Ds=list
520 _plural_types.append("VectorInput2Ds")
521 _value_types.append("VectorInput2D")
522 
523 VectorInput3Ds=list
524 _plural_types.append("VectorInput3Ds")
525 _value_types.append("VectorInput3D")
526 
527 VectorInput4Ds=list
528 _plural_types.append("VectorInput4Ds")
529 _value_types.append("VectorInput4D")
530 
531 VectorInput5Ds=list
532 _plural_types.append("VectorInput5Ds")
533 _value_types.append("VectorInput5D")
534 
535 VectorInput6Ds=list
536 _plural_types.append("VectorInput6Ds")
537 _value_types.append("VectorInput6D")
538 
539 VectorInput1Ds=list
540 _plural_types.append("VectorInput1Ds")
541 _value_types.append("VectorInputD<1>")
542 
543 VectorInput2Ds=list
544 _plural_types.append("VectorInput2Ds")
545 _value_types.append("VectorInputD<2>")
546 
547 VectorInput3Ds=list
548 _plural_types.append("VectorInput3Ds")
549 _value_types.append("VectorInputD<3>")
550 
551 VectorInput4Ds=list
552 _plural_types.append("VectorInput4Ds")
553 _value_types.append("VectorInputD<4>")
554 
555 VectorInput5Ds=list
556 _plural_types.append("VectorInput5Ds")
557 _value_types.append("VectorInputD<5>")
558 
559 VectorInput6Ds=list
560 _plural_types.append("VectorInput6Ds")
561 _value_types.append("VectorInputD<6>")
562 
563 VectorInputKDs=list
564 _plural_types.append("VectorInputKDs")
565 _value_types.append("VectorInputKD")
566 
567 VectorInputKDs=list
568 _plural_types.append("VectorInputKDs")
569 _value_types.append("VectorInputD<-1>")
570 
571 PrincipalComponentAnalysis1Ds=list
572 _plural_types.append("PrincipalComponentAnalysis1Ds")
573 _value_types.append("PrincipalComponentAnalysis1D")
574 
575 PrincipalComponentAnalysis2Ds=list
576 _plural_types.append("PrincipalComponentAnalysis2Ds")
577 _value_types.append("PrincipalComponentAnalysis2D")
578 
579 PrincipalComponentAnalysis3Ds=list
580 _plural_types.append("PrincipalComponentAnalysis3Ds")
581 _value_types.append("PrincipalComponentAnalysis3D")
582 
583 PrincipalComponentAnalysis4Ds=list
584 _plural_types.append("PrincipalComponentAnalysis4Ds")
585 _value_types.append("PrincipalComponentAnalysis4D")
586 
587 PrincipalComponentAnalysis5Ds=list
588 _plural_types.append("PrincipalComponentAnalysis5Ds")
589 _value_types.append("PrincipalComponentAnalysis5D")
590 
591 PrincipalComponentAnalysis6Ds=list
592 _plural_types.append("PrincipalComponentAnalysis6Ds")
593 _value_types.append("PrincipalComponentAnalysis6D")
594 
595 PrincipalComponentAnalysis1Ds=list
596 _plural_types.append("PrincipalComponentAnalysis1Ds")
597 _value_types.append("PrincipalComponentAnalysisD<1>")
598 
599 PrincipalComponentAnalysis2Ds=list
600 _plural_types.append("PrincipalComponentAnalysis2Ds")
601 _value_types.append("PrincipalComponentAnalysisD<2>")
602 
603 PrincipalComponentAnalysis3Ds=list
604 _plural_types.append("PrincipalComponentAnalysis3Ds")
605 _value_types.append("PrincipalComponentAnalysisD<3>")
606 
607 PrincipalComponentAnalysis4Ds=list
608 _plural_types.append("PrincipalComponentAnalysis4Ds")
609 _value_types.append("PrincipalComponentAnalysisD<4>")
610 
611 PrincipalComponentAnalysis5Ds=list
612 _plural_types.append("PrincipalComponentAnalysis5Ds")
613 _value_types.append("PrincipalComponentAnalysisD<5>")
614 
615 PrincipalComponentAnalysis6Ds=list
616 _plural_types.append("PrincipalComponentAnalysis6Ds")
617 _value_types.append("PrincipalComponentAnalysisD<6>")
618 
619 PrincipalComponentAnalysisKDs=list
620 _plural_types.append("PrincipalComponentAnalysisKDs")
621 _value_types.append("PrincipalComponentAnalysisKD")
622 
623 PrincipalComponentAnalysisKDs=list
624 _plural_types.append("PrincipalComponentAnalysisKDs")
625 _value_types.append("PrincipalComponentAnalysisD<-1>")
626 
627 _object_types.append("NearestNeighbor1D")
628 
629 
630 def _object_cast_to_NearestNeighbor1D(*args):
631  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
632  return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
633 _object_types.append("NearestNeighbor2D")
634 
635 
636 def _object_cast_to_NearestNeighbor2D(*args):
637  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
638  return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
639 _object_types.append("NearestNeighbor3D")
640 
641 
642 def _object_cast_to_NearestNeighbor3D(*args):
643  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
644  return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
645 _object_types.append("NearestNeighbor4D")
646 
647 
648 def _object_cast_to_NearestNeighbor4D(*args):
649  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
650  return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
651 _object_types.append("NearestNeighbor5D")
652 
653 
654 def _object_cast_to_NearestNeighbor5D(*args):
655  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
656  return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
657 _object_types.append("NearestNeighbor6D")
658 
659 
660 def _object_cast_to_NearestNeighbor6D(*args):
661  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
662  return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
663 _object_types.append("NearestNeighborKD")
664 
665 
666 def _object_cast_to_NearestNeighborKD(*args):
667  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
668  return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
669 ReferenceFrame3Ds=list
670 _plural_types.append("ReferenceFrame3Ds")
671 _value_types.append("ReferenceFrame3D")
672 
673 DefaultEmbedding1Ds=list
674 _plural_types.append("DefaultEmbedding1Ds")
675 _value_types.append("DefaultEmbedding1D")
676 
677 DefaultEmbedding2Ds=list
678 _plural_types.append("DefaultEmbedding2Ds")
679 _value_types.append("DefaultEmbedding2D")
680 
681 DefaultEmbedding3Ds=list
682 _plural_types.append("DefaultEmbedding3Ds")
683 _value_types.append("DefaultEmbedding3D")
684 
685 DefaultEmbedding4Ds=list
686 _plural_types.append("DefaultEmbedding4Ds")
687 _value_types.append("DefaultEmbedding4D")
688 
689 DefaultEmbedding5Ds=list
690 _plural_types.append("DefaultEmbedding5Ds")
691 _value_types.append("DefaultEmbedding5D")
692 
693 DefaultEmbedding6Ds=list
694 _plural_types.append("DefaultEmbedding6Ds")
695 _value_types.append("DefaultEmbedding6D")
696 
697 DefaultEmbedding1Ds=list
698 _plural_types.append("DefaultEmbedding1Ds")
699 _value_types.append("DefaultEmbeddingD<1>")
700 
701 DefaultEmbedding2Ds=list
702 _plural_types.append("DefaultEmbedding2Ds")
703 _value_types.append("DefaultEmbeddingD<2>")
704 
705 DefaultEmbedding3Ds=list
706 _plural_types.append("DefaultEmbedding3Ds")
707 _value_types.append("DefaultEmbeddingD<3>")
708 
709 DefaultEmbedding4Ds=list
710 _plural_types.append("DefaultEmbedding4Ds")
711 _value_types.append("DefaultEmbeddingD<4>")
712 
713 DefaultEmbedding5Ds=list
714 _plural_types.append("DefaultEmbedding5Ds")
715 _value_types.append("DefaultEmbeddingD<5>")
716 
717 DefaultEmbedding6Ds=list
718 _plural_types.append("DefaultEmbedding6Ds")
719 _value_types.append("DefaultEmbeddingD<6>")
720 
721 DefaultEmbeddingKDs=list
722 _plural_types.append("DefaultEmbeddingKDs")
723 _value_types.append("DefaultEmbeddingKD")
724 
725 DefaultEmbeddingKDs=list
726 _plural_types.append("DefaultEmbeddingKDs")
727 _value_types.append("DefaultEmbeddingD<-1>")
728 
729 LogEmbedding1Ds=list
730 _plural_types.append("LogEmbedding1Ds")
731 _value_types.append("LogEmbedding1D")
732 
733 LogEmbedding2Ds=list
734 _plural_types.append("LogEmbedding2Ds")
735 _value_types.append("LogEmbedding2D")
736 
737 LogEmbedding3Ds=list
738 _plural_types.append("LogEmbedding3Ds")
739 _value_types.append("LogEmbedding3D")
740 
741 LogEmbedding4Ds=list
742 _plural_types.append("LogEmbedding4Ds")
743 _value_types.append("LogEmbedding4D")
744 
745 LogEmbedding5Ds=list
746 _plural_types.append("LogEmbedding5Ds")
747 _value_types.append("LogEmbedding5D")
748 
749 LogEmbedding6Ds=list
750 _plural_types.append("LogEmbedding6Ds")
751 _value_types.append("LogEmbedding6D")
752 
753 LogEmbedding1Ds=list
754 _plural_types.append("LogEmbedding1Ds")
755 _value_types.append("LogEmbeddingD<1>")
756 
757 LogEmbedding2Ds=list
758 _plural_types.append("LogEmbedding2Ds")
759 _value_types.append("LogEmbeddingD<2>")
760 
761 LogEmbedding3Ds=list
762 _plural_types.append("LogEmbedding3Ds")
763 _value_types.append("LogEmbeddingD<3>")
764 
765 LogEmbedding4Ds=list
766 _plural_types.append("LogEmbedding4Ds")
767 _value_types.append("LogEmbeddingD<4>")
768 
769 LogEmbedding5Ds=list
770 _plural_types.append("LogEmbedding5Ds")
771 _value_types.append("LogEmbeddingD<5>")
772 
773 LogEmbedding6Ds=list
774 _plural_types.append("LogEmbedding6Ds")
775 _value_types.append("LogEmbeddingD<6>")
776 
777 LogEmbeddingKDs=list
778 _plural_types.append("LogEmbeddingKDs")
779 _value_types.append("LogEmbeddingKD")
780 
781 LogEmbeddingKDs=list
782 _plural_types.append("LogEmbeddingKDs")
783 _value_types.append("LogEmbeddingD<-1>")
784 
785 GridIndex1Ds=list
786 _plural_types.append("GridIndex1Ds")
787 _value_types.append("GridIndex1D")
788 
789 GridIndex2Ds=list
790 _plural_types.append("GridIndex2Ds")
791 _value_types.append("GridIndex2D")
792 
793 GridIndex3Ds=list
794 _plural_types.append("GridIndex3Ds")
795 _value_types.append("GridIndex3D")
796 
797 GridIndex4Ds=list
798 _plural_types.append("GridIndex4Ds")
799 _value_types.append("GridIndex4D")
800 
801 GridIndex5Ds=list
802 _plural_types.append("GridIndex5Ds")
803 _value_types.append("GridIndex5D")
804 
805 GridIndex6Ds=list
806 _plural_types.append("GridIndex6Ds")
807 _value_types.append("GridIndex6D")
808 
809 GridIndex1Ds=list
810 _plural_types.append("GridIndex1Ds")
811 _value_types.append("GridIndexD<1>")
812 
813 GridIndex2Ds=list
814 _plural_types.append("GridIndex2Ds")
815 _value_types.append("GridIndexD<2>")
816 
817 GridIndex3Ds=list
818 _plural_types.append("GridIndex3Ds")
819 _value_types.append("GridIndexD<3>")
820 
821 GridIndex4Ds=list
822 _plural_types.append("GridIndex4Ds")
823 _value_types.append("GridIndexD<4>")
824 
825 GridIndex5Ds=list
826 _plural_types.append("GridIndex5Ds")
827 _value_types.append("GridIndexD<5>")
828 
829 GridIndex6Ds=list
830 _plural_types.append("GridIndex6Ds")
831 _value_types.append("GridIndexD<6>")
832 
833 GridIndexKDs=list
834 _plural_types.append("GridIndexKDs")
835 _value_types.append("GridIndexKD")
836 
837 GridIndexKDs=list
838 _plural_types.append("GridIndexKDs")
839 _value_types.append("GridIndexD<-1>")
840 
841 ExtendedGridIndex1Ds=list
842 _plural_types.append("ExtendedGridIndex1Ds")
843 _value_types.append("ExtendedGridIndex1D")
844 
845 ExtendedGridIndex2Ds=list
846 _plural_types.append("ExtendedGridIndex2Ds")
847 _value_types.append("ExtendedGridIndex2D")
848 
849 ExtendedGridIndex3Ds=list
850 _plural_types.append("ExtendedGridIndex3Ds")
851 _value_types.append("ExtendedGridIndex3D")
852 
853 ExtendedGridIndex4Ds=list
854 _plural_types.append("ExtendedGridIndex4Ds")
855 _value_types.append("ExtendedGridIndex4D")
856 
857 ExtendedGridIndex5Ds=list
858 _plural_types.append("ExtendedGridIndex5Ds")
859 _value_types.append("ExtendedGridIndex5D")
860 
861 ExtendedGridIndex6Ds=list
862 _plural_types.append("ExtendedGridIndex6Ds")
863 _value_types.append("ExtendedGridIndex6D")
864 
865 ExtendedGridIndex1Ds=list
866 _plural_types.append("ExtendedGridIndex1Ds")
867 _value_types.append("ExtendedGridIndexD<1>")
868 
869 ExtendedGridIndex2Ds=list
870 _plural_types.append("ExtendedGridIndex2Ds")
871 _value_types.append("ExtendedGridIndexD<2>")
872 
873 ExtendedGridIndex3Ds=list
874 _plural_types.append("ExtendedGridIndex3Ds")
875 _value_types.append("ExtendedGridIndexD<3>")
876 
877 ExtendedGridIndex4Ds=list
878 _plural_types.append("ExtendedGridIndex4Ds")
879 _value_types.append("ExtendedGridIndexD<4>")
880 
881 ExtendedGridIndex5Ds=list
882 _plural_types.append("ExtendedGridIndex5Ds")
883 _value_types.append("ExtendedGridIndexD<5>")
884 
885 ExtendedGridIndex6Ds=list
886 _plural_types.append("ExtendedGridIndex6Ds")
887 _value_types.append("ExtendedGridIndexD<6>")
888 
889 ExtendedGridIndexKDs=list
890 _plural_types.append("ExtendedGridIndexKDs")
891 _value_types.append("ExtendedGridIndexKD")
892 
893 ExtendedGridIndexKDs=list
894 _plural_types.append("ExtendedGridIndexKDs")
895 _value_types.append("ExtendedGridIndexD<-1>")
896 
897 BoundedGridRange1Ds=list
898 _plural_types.append("BoundedGridRange1Ds")
899 _value_types.append("BoundedGridRange1D")
900 
901 BoundedGridRange2Ds=list
902 _plural_types.append("BoundedGridRange2Ds")
903 _value_types.append("BoundedGridRange2D")
904 
905 BoundedGridRange3Ds=list
906 _plural_types.append("BoundedGridRange3Ds")
907 _value_types.append("BoundedGridRange3D")
908 
909 BoundedGridRange4Ds=list
910 _plural_types.append("BoundedGridRange4Ds")
911 _value_types.append("BoundedGridRange4D")
912 
913 BoundedGridRange5Ds=list
914 _plural_types.append("BoundedGridRange5Ds")
915 _value_types.append("BoundedGridRange5D")
916 
917 BoundedGridRange6Ds=list
918 _plural_types.append("BoundedGridRange6Ds")
919 _value_types.append("BoundedGridRange6D")
920 
921 BoundedGridRange1Ds=list
922 _plural_types.append("BoundedGridRange1Ds")
923 _value_types.append("BoundedGridRangeD<1>")
924 
925 BoundedGridRange2Ds=list
926 _plural_types.append("BoundedGridRange2Ds")
927 _value_types.append("BoundedGridRangeD<2>")
928 
929 BoundedGridRange3Ds=list
930 _plural_types.append("BoundedGridRange3Ds")
931 _value_types.append("BoundedGridRangeD<3>")
932 
933 BoundedGridRange4Ds=list
934 _plural_types.append("BoundedGridRange4Ds")
935 _value_types.append("BoundedGridRangeD<4>")
936 
937 BoundedGridRange5Ds=list
938 _plural_types.append("BoundedGridRange5Ds")
939 _value_types.append("BoundedGridRangeD<5>")
940 
941 BoundedGridRange6Ds=list
942 _plural_types.append("BoundedGridRange6Ds")
943 _value_types.append("BoundedGridRangeD<6>")
944 
945 BoundedGridRangeKDs=list
946 _plural_types.append("BoundedGridRangeKDs")
947 _value_types.append("BoundedGridRangeKD")
948 
949 BoundedGridRangeKDs=list
950 _plural_types.append("BoundedGridRangeKDs")
951 _value_types.append("BoundedGridRangeD<-1>")
952 
953 UnboundedGridRange1Ds=list
954 _plural_types.append("UnboundedGridRange1Ds")
955 _value_types.append("UnboundedGridRange1D")
956 
957 UnboundedGridRange2Ds=list
958 _plural_types.append("UnboundedGridRange2Ds")
959 _value_types.append("UnboundedGridRange2D")
960 
961 UnboundedGridRange3Ds=list
962 _plural_types.append("UnboundedGridRange3Ds")
963 _value_types.append("UnboundedGridRange3D")
964 
965 UnboundedGridRange4Ds=list
966 _plural_types.append("UnboundedGridRange4Ds")
967 _value_types.append("UnboundedGridRange4D")
968 
969 UnboundedGridRange5Ds=list
970 _plural_types.append("UnboundedGridRange5Ds")
971 _value_types.append("UnboundedGridRange5D")
972 
973 UnboundedGridRange6Ds=list
974 _plural_types.append("UnboundedGridRange6Ds")
975 _value_types.append("UnboundedGridRange6D")
976 
977 UnboundedGridRange1Ds=list
978 _plural_types.append("UnboundedGridRange1Ds")
979 _value_types.append("UnboundedGridRangeD<1>")
980 
981 UnboundedGridRange2Ds=list
982 _plural_types.append("UnboundedGridRange2Ds")
983 _value_types.append("UnboundedGridRangeD<2>")
984 
985 UnboundedGridRange3Ds=list
986 _plural_types.append("UnboundedGridRange3Ds")
987 _value_types.append("UnboundedGridRangeD<3>")
988 
989 UnboundedGridRange4Ds=list
990 _plural_types.append("UnboundedGridRange4Ds")
991 _value_types.append("UnboundedGridRangeD<4>")
992 
993 UnboundedGridRange5Ds=list
994 _plural_types.append("UnboundedGridRange5Ds")
995 _value_types.append("UnboundedGridRangeD<5>")
996 
997 UnboundedGridRange6Ds=list
998 _plural_types.append("UnboundedGridRange6Ds")
999 _value_types.append("UnboundedGridRangeD<6>")
1000 
1001 UnboundedGridRangeKDs=list
1002 _plural_types.append("UnboundedGridRangeKDs")
1003 _value_types.append("UnboundedGridRangeKD")
1004 
1005 UnboundedGridRangeKDs=list
1006 _plural_types.append("UnboundedGridRangeKDs")
1007 _value_types.append("UnboundedGridRangeD<-1>")
1008 
1009 LinearFit2Ds=list
1010 _plural_types.append("LinearFit2Ds")
1011 _value_types.append("LinearFit2D")
1012 
1013 ParabolicFit2Ds=list
1014 _plural_types.append("ParabolicFit2Ds")
1015 _value_types.append("ParabolicFit2D")
1016 
1017 FixedXYZs=list
1018 _plural_types.append("FixedXYZs")
1019 _value_types.append("FixedXYZ")
1020 
1021 class _GeometricPrimitive1D(_object):
1022  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1023  __swig_setmethods__ = {}
1024  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive1D, name, value)
1025  __swig_getmethods__ = {}
1026  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive1D, name)
1027  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1028  __repr__ = _swig_repr
1029  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1030  __del__ = lambda self : None;
1031 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1032 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1033 
1034 class _GeometricPrimitive2D(_object):
1035  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1036  __swig_setmethods__ = {}
1037  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive2D, name, value)
1038  __swig_getmethods__ = {}
1039  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive2D, name)
1040  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1041  __repr__ = _swig_repr
1042  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1043  __del__ = lambda self : None;
1044 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1045 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1046 
1047 class _GeometricPrimitive3D(_object):
1048  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1049  __swig_setmethods__ = {}
1050  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive3D, name, value)
1051  __swig_getmethods__ = {}
1052  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive3D, name)
1053  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1054  __repr__ = _swig_repr
1055  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1056  __del__ = lambda self : None;
1057 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1058 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1059 
1060 class _GeometricPrimitive4D(_object):
1061  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1062  __swig_setmethods__ = {}
1063  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive4D, name, value)
1064  __swig_getmethods__ = {}
1065  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive4D, name)
1066  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1067  __repr__ = _swig_repr
1068  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1069  __del__ = lambda self : None;
1070 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1071 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1072 
1073 class _GeometricPrimitive5D(_object):
1074  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1075  __swig_setmethods__ = {}
1076  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive5D, name, value)
1077  __swig_getmethods__ = {}
1078  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive5D, name)
1079  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1080  __repr__ = _swig_repr
1081  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1082  __del__ = lambda self : None;
1083 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1084 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1085 
1086 class _GeometricPrimitive6D(_object):
1087  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1088  __swig_setmethods__ = {}
1089  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitive6D, name, value)
1090  __swig_getmethods__ = {}
1091  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitive6D, name)
1092  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1093  __repr__ = _swig_repr
1094  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1095  __del__ = lambda self : None;
1096 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1097 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1098 
1099 class _GeometricPrimitiveKD(_object):
1100  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1101  __swig_setmethods__ = {}
1102  __setattr__ = lambda self, name, value: _swig_setattr(self, _GeometricPrimitiveKD, name, value)
1103  __swig_getmethods__ = {}
1104  __getattr__ = lambda self, name: _swig_getattr(self, _GeometricPrimitiveKD, name)
1105  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
1106  __repr__ = _swig_repr
1107  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1108  __del__ = lambda self : None;
1109 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1110 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1111 
1112 
1113 def get_basis_vector_kd(*args):
1114  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1115  return _IMP_algebra.get_basis_vector_kd(*args)
1116 
1117 def get_zero_vector_kd(*args):
1118  """get_zero_vector_kd(int D) -> VectorKD"""
1119  return _IMP_algebra.get_zero_vector_kd(*args)
1120 
1121 def get_ones_vector_kd(*args):
1122  """
1123  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1124  get_ones_vector_kd(unsigned int D) -> VectorKD
1125  """
1126  return _IMP_algebra.get_ones_vector_kd(*args)
1127 
1128 def get_vector_product(*args):
1129  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1130  return _IMP_algebra.get_vector_product(*args)
1131 
1132 def get_orthogonal_vector(*args):
1133  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1134  return _IMP_algebra.get_orthogonal_vector(*args)
1135 
1136 def get_centroid(*args):
1137  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1138  return _IMP_algebra.get_centroid(*args)
1139 
1140 def get_radius_of_gyration(*args):
1141  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1142  return _IMP_algebra.get_radius_of_gyration(*args)
1143 class Rotation3D(_GeometricPrimitive3D):
1144  """Proxy of C++ IMP::algebra::Rotation3D class"""
1145  __swig_setmethods__ = {}
1146  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1147  __setattr__ = lambda self, name, value: _swig_setattr(self, Rotation3D, name, value)
1148  __swig_getmethods__ = {}
1149  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1150  __getattr__ = lambda self, name: _swig_getattr(self, Rotation3D, name)
1151  def __init__(self, *args):
1152  """
1153  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1154  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1155  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1156  """
1157  this = _IMP_algebra.new_Rotation3D(*args)
1158  try: self.this.append(this)
1159  except: self.this = this
1160  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1161  __del__ = lambda self : None;
1162  def get_rotated_no_cache(self, *args):
1163  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1164  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1165 
1166  def get_rotated_one_coordinate_no_cache(self, *args):
1167  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1168  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1169 
1170  def get_rotated(self, *args):
1171  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1172  return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1173 
1174  def get_rotated_one_coordinate(self, *args):
1175  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1176  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1177 
1178  def get_rotation_matrix_row(self, *args):
1179  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1180  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1181 
1182  def show(self, *args):
1183  """
1184  show(Rotation3D self, _ostream out=std::cout)
1185  show(Rotation3D self)
1186  """
1187  return _IMP_algebra.Rotation3D_show(self, *args)
1188 
1189  def get_inverse(self):
1190  """get_inverse(Rotation3D self) -> Rotation3D"""
1191  return _IMP_algebra.Rotation3D_get_inverse(self)
1192 
1193  def get_quaternion(self):
1194  """get_quaternion(Rotation3D self) -> Vector4D"""
1195  return _IMP_algebra.Rotation3D_get_quaternion(self)
1196 
1197  def __mul__(self, *args):
1198  """
1199  __mul__(Rotation3D self, Vector3D v) -> Vector3D
1200  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1201  """
1202  return _IMP_algebra.Rotation3D___mul__(self, *args)
1203 
1204  def __div__(self, *args):
1205  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1206  return _IMP_algebra.Rotation3D___div__(self, *args)
1207 
1208  def get_derivative(self, *args):
1209  """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1210  return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1211 
1212  def __str__(self):
1213  """__str__(Rotation3D self) -> std::string"""
1214  return _IMP_algebra.Rotation3D___str__(self)
1215 
1216  def __repr__(self):
1217  """__repr__(Rotation3D self) -> std::string"""
1218  return _IMP_algebra.Rotation3D___repr__(self)
1219 
1220 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1221 Rotation3D_swigregister(Rotation3D)
1222 
1223 
1225  """get_identity_rotation_3d() -> Rotation3D"""
1226  return _IMP_algebra.get_identity_rotation_3d()
1227 
1229  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1230  return _IMP_algebra.get_rotation_about_normalized_axis(*args)
1231 
1232 def get_rotation_about_axis(*args):
1233  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1234  return _IMP_algebra.get_rotation_about_axis(*args)
1235 
1237  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1238  return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1239 
1240 def get_rotation_from_matrix(*args):
1241  """
1242  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1243  double m21, double m22) -> Rotation3D
1244  """
1245  return _IMP_algebra.get_rotation_from_matrix(*args)
1246 
1247 def get_random_rotation_3d(*args):
1248  """
1249  get_random_rotation_3d() -> Rotation3D
1250  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1251  """
1252  return _IMP_algebra.get_random_rotation_3d(*args)
1253 
1255  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1256  return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1257 
1259  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1260  return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1261 
1262 def get_rotation_from_vector4d(*args):
1263  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1264  return _IMP_algebra.get_rotation_from_vector4d(*args)
1265 
1266 def get_rotation_from_fixed_xyz(*args):
1267  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1268  return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1269 
1270 def get_rotation_from_fixed_zxz(*args):
1271  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1272  return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1273 
1274 def get_rotation_from_fixed_zyz(*args):
1275  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1276  return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1277 class FixedXYZ(_GeometricPrimitive3D):
1278  """Proxy of C++ IMP::algebra::FixedXYZ class"""
1279  __swig_setmethods__ = {}
1280  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1281  __setattr__ = lambda self, name, value: _swig_setattr(self, FixedXYZ, name, value)
1282  __swig_getmethods__ = {}
1283  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1284  __getattr__ = lambda self, name: _swig_getattr(self, FixedXYZ, name)
1285  def __init__(self, *args):
1286  """
1287  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1288  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1289  """
1290  this = _IMP_algebra.new_FixedXYZ(*args)
1291  try: self.this.append(this)
1292  except: self.this = this
1293  def get_x(self):
1294  """get_x(FixedXYZ self) -> double"""
1295  return _IMP_algebra.FixedXYZ_get_x(self)
1296 
1297  def get_y(self):
1298  """get_y(FixedXYZ self) -> double"""
1299  return _IMP_algebra.FixedXYZ_get_y(self)
1300 
1301  def get_z(self):
1302  """get_z(FixedXYZ self) -> double"""
1303  return _IMP_algebra.FixedXYZ_get_z(self)
1304 
1305  def show(self, *args):
1306  """
1307  show(FixedXYZ self, _ostream out=std::cout)
1308  show(FixedXYZ self)
1309  """
1310  return _IMP_algebra.FixedXYZ_show(self, *args)
1311 
1312  def __str__(self):
1313  """__str__(FixedXYZ self) -> std::string"""
1314  return _IMP_algebra.FixedXYZ___str__(self)
1315 
1316  def __repr__(self):
1317  """__repr__(FixedXYZ self) -> std::string"""
1318  return _IMP_algebra.FixedXYZ___repr__(self)
1319 
1320  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1321  __del__ = lambda self : None;
1322 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1323 FixedXYZ_swigregister(FixedXYZ)
1324 
1325 
1326 def get_fixed_xyz_from_rotation(*args):
1327  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1328  return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1329 
1330 def get_interpolated(*args):
1331  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1332  return _IMP_algebra.get_interpolated(*args)
1333 
1334 def get_rotation_from_x_y_axes(*args):
1335  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1336  return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1337 
1338 def get_axis_and_angle(*args):
1339  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1340  return _IMP_algebra.get_axis_and_angle(*args)
1341 
1342 def get_unit_bounding_box_kd(*args):
1343  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1344  return _IMP_algebra.get_unit_bounding_box_kd(*args)
1345 
1346 def get_cube_kd(*args):
1347  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1348  return _IMP_algebra.get_cube_kd(*args)
1349 
1350 def get_vertices(*args):
1351  """get_vertices(BoundingBox3D bb) -> IMP::algebra::Vector3Ds"""
1352  return _IMP_algebra.get_vertices(*args)
1353 
1354 def get_edges(*args):
1355  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1356  return _IMP_algebra.get_edges(*args)
1357 class Transformation3D(_GeometricPrimitive3D):
1358  """Proxy of C++ IMP::algebra::Transformation3D class"""
1359  __swig_setmethods__ = {}
1360  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1361  __setattr__ = lambda self, name, value: _swig_setattr(self, Transformation3D, name, value)
1362  __swig_getmethods__ = {}
1363  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1364  __getattr__ = lambda self, name: _swig_getattr(self, Transformation3D, name)
1365  def __init__(self, *args):
1366  """
1367  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1368  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0, 0, 0)) -> Transformation3D
1369  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1370  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1371  """
1372  this = _IMP_algebra.new_Transformation3D(*args)
1373  try: self.this.append(this)
1374  except: self.this = this
1375  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1376  __del__ = lambda self : None;
1377  def get_transformed(self, *args):
1378  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1379  return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1380 
1381  def __mul__(self, *args):
1382  """
1383  __mul__(Transformation3D self, Vector3D v) -> Vector3D
1384  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1385  """
1386  return _IMP_algebra.Transformation3D___mul__(self, *args)
1387 
1388  def __div__(self, *args):
1389  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1390  return _IMP_algebra.Transformation3D___div__(self, *args)
1391 
1392  def get_rotation(self):
1393  """get_rotation(Transformation3D self) -> Rotation3D"""
1394  return _IMP_algebra.Transformation3D_get_rotation(self)
1395 
1396  def get_translation(self):
1397  """get_translation(Transformation3D self) -> Vector3D"""
1398  return _IMP_algebra.Transformation3D_get_translation(self)
1399 
1400  def show(self, *args):
1401  """
1402  show(Transformation3D self, _ostream out=std::cout)
1403  show(Transformation3D self)
1404  """
1405  return _IMP_algebra.Transformation3D_show(self, *args)
1406 
1407  def get_inverse(self):
1408  """get_inverse(Transformation3D self) -> Transformation3D"""
1409  return _IMP_algebra.Transformation3D_get_inverse(self)
1410 
1411  def __str__(self):
1412  """__str__(Transformation3D self) -> std::string"""
1413  return _IMP_algebra.Transformation3D___str__(self)
1414 
1415  def __repr__(self):
1416  """__repr__(Transformation3D self) -> std::string"""
1417  return _IMP_algebra.Transformation3D___repr__(self)
1418 
1419 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1420 Transformation3D_swigregister(Transformation3D)
1421 
1422 
1424  """get_identity_transformation_3d() -> Transformation3D"""
1425  return _IMP_algebra.get_identity_transformation_3d()
1426 
1427 def get_transformation_3d(*args):
1428  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1429  return _IMP_algebra.get_transformation_3d(*args)
1430 
1432  """
1433  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1434  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1435  get_random_local_transformation(Vector3D origin) -> Transformation3D
1436  """
1437  return _IMP_algebra.get_random_local_transformation(*args)
1438 class Rotation2D(_GeometricPrimitive2D):
1439  """Proxy of C++ IMP::algebra::Rotation2D class"""
1440  __swig_setmethods__ = {}
1441  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1442  __setattr__ = lambda self, name, value: _swig_setattr(self, Rotation2D, name, value)
1443  __swig_getmethods__ = {}
1444  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1445  __getattr__ = lambda self, name: _swig_getattr(self, Rotation2D, name)
1446  def __init__(self, *args):
1447  """
1448  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1449  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1450  """
1451  this = _IMP_algebra.new_Rotation2D(*args)
1452  try: self.this.append(this)
1453  except: self.this = this
1454  def get_rotated(self, *args):
1455  """
1456  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1457  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1458  """
1459  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1460 
1461  def get_inverse(self):
1462  """get_inverse(Rotation2D self) -> Rotation2D"""
1463  return _IMP_algebra.Rotation2D_get_inverse(self)
1464 
1465  def set_angle(self, *args):
1466  """set_angle(Rotation2D self, double angle)"""
1467  return _IMP_algebra.Rotation2D_set_angle(self, *args)
1468 
1469  def get_angle(self):
1470  """get_angle(Rotation2D self) -> double"""
1471  return _IMP_algebra.Rotation2D_get_angle(self)
1472 
1473  def show(self, *args):
1474  """
1475  show(Rotation2D self, _ostream out=std::cout)
1476  show(Rotation2D self)
1477  """
1478  return _IMP_algebra.Rotation2D_show(self, *args)
1479 
1480  def __str__(self):
1481  """__str__(Rotation2D self) -> std::string"""
1482  return _IMP_algebra.Rotation2D___str__(self)
1483 
1484  def __repr__(self):
1485  """__repr__(Rotation2D self) -> std::string"""
1486  return _IMP_algebra.Rotation2D___repr__(self)
1487 
1488  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1489  __del__ = lambda self : None;
1490 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1491 Rotation2D_swigregister(Rotation2D)
1492 
1493 
1495  """get_identity_rotation_2d() -> Rotation2D"""
1496  return _IMP_algebra.get_identity_rotation_2d()
1497 
1499  """get_random_rotation_2d() -> Rotation2D"""
1500  return _IMP_algebra.get_random_rotation_2d()
1501 
1502 def get_rotation_to_x_axis(*args):
1503  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1504  return _IMP_algebra.get_rotation_to_x_axis(*args)
1505 class Transformation2D(_GeometricPrimitive2D):
1506  """Proxy of C++ IMP::algebra::Transformation2D class"""
1507  __swig_setmethods__ = {}
1508  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1509  __setattr__ = lambda self, name, value: _swig_setattr(self, Transformation2D, name, value)
1510  __swig_getmethods__ = {}
1511  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1512  __getattr__ = lambda self, name: _swig_getattr(self, Transformation2D, name)
1513  def __init__(self, *args):
1514  """
1515  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1516  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0, 0.0)) -> Transformation2D
1517  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1518  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1519  """
1520  this = _IMP_algebra.new_Transformation2D(*args)
1521  try: self.this.append(this)
1522  except: self.this = this
1523  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1524  __del__ = lambda self : None;
1525  def get_transformed(self, *args):
1526  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1527  return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1528 
1529  def __mul__(self, *args):
1530  """
1531  __mul__(Transformation2D self, Vector2D v) -> Vector2D
1532  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1533  """
1534  return _IMP_algebra.Transformation2D___mul__(self, *args)
1535 
1536  def __div__(self, *args):
1537  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1538  return _IMP_algebra.Transformation2D___div__(self, *args)
1539 
1540  def get_rotation(self):
1541  """get_rotation(Transformation2D self) -> Rotation2D"""
1542  return _IMP_algebra.Transformation2D_get_rotation(self)
1543 
1544  def set_rotation(self, *args):
1545  """set_rotation(Transformation2D self, double angle)"""
1546  return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1547 
1548  def get_translation(self):
1549  """get_translation(Transformation2D self) -> Vector2D"""
1550  return _IMP_algebra.Transformation2D_get_translation(self)
1551 
1552  def set_translation(self, *args):
1553  """set_translation(Transformation2D self, Vector2D v)"""
1554  return _IMP_algebra.Transformation2D_set_translation(self, *args)
1555 
1556  def show(self, *args):
1557  """
1558  show(Transformation2D self, _ostream out=std::cout)
1559  show(Transformation2D self)
1560  """
1561  return _IMP_algebra.Transformation2D_show(self, *args)
1562 
1563  def get_inverse(self):
1564  """get_inverse(Transformation2D self) -> Transformation2D"""
1565  return _IMP_algebra.Transformation2D_get_inverse(self)
1566 
1567  def __str__(self):
1568  """__str__(Transformation2D self) -> std::string"""
1569  return _IMP_algebra.Transformation2D___str__(self)
1570 
1571  def __repr__(self):
1572  """__repr__(Transformation2D self) -> std::string"""
1573  return _IMP_algebra.Transformation2D___repr__(self)
1574 
1575 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1576 Transformation2D_swigregister(Transformation2D)
1577 
1578 
1580  """get_identity_transformation_2d() -> Transformation2D"""
1581  return _IMP_algebra.get_identity_transformation_2d()
1582 
1583 def get_rotation_about_point(*args):
1584  """
1585  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1586  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1587  """
1588  return _IMP_algebra.get_rotation_about_point(*args)
1589 
1590 def compose(*args):
1591  """
1592  compose(Rotation3D a, Rotation3D b) -> Rotation3D
1593  compose(Transformation3D a, Transformation3D b) -> Transformation3D
1594  compose(Rotation2D a, Rotation2D b) -> Rotation2D
1595  compose(Transformation2D a, Transformation2D b) -> Transformation2D
1596  """
1597  return _IMP_algebra.compose(*args)
1598 
1599 def get_unit_sphere_kd(*args):
1600  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
1601  return _IMP_algebra.get_unit_sphere_kd(*args)
1602 
1603 def get_enclosing_sphere(*args):
1604  """
1605  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
1606  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
1607  """
1608  return _IMP_algebra.get_enclosing_sphere(*args)
1609 
1611  """get_ball_radius_from_volume_3d(double volume) -> double"""
1612  return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
1613 
1614 def get_surface_area_and_volume(*args):
1615  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
1616  return _IMP_algebra.get_surface_area_and_volume(*args)
1617 class Vector1D(_GeometricPrimitive1D):
1618  """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
1619  __swig_setmethods__ = {}
1620  for _s in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1621  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector1D, name, value)
1622  __swig_getmethods__ = {}
1623  for _s in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1624  __getattr__ = lambda self, name: _swig_getattr(self, Vector1D, name)
1625  def __init__(self, *args):
1626  """
1627  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
1628  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
1629  __init__(IMP::algebra::VectorD<(1)> self, double x, double y) -> Vector1D
1630  __init__(IMP::algebra::VectorD<(1)> self, double x, double y, double z) -> Vector1D
1631  __init__(IMP::algebra::VectorD<(1)> self, double x0, double x1, double x2, double x3) -> Vector1D
1632  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
1633  """
1634  this = _IMP_algebra.new_Vector1D(*args)
1635  try: self.this.append(this)
1636  except: self.this = this
1637  def get_scalar_product(self, *args):
1638  """get_scalar_product(Vector1D self, Vector1D o) -> double"""
1639  return _IMP_algebra.Vector1D_get_scalar_product(self, *args)
1640 
1641  def get_squared_magnitude(self):
1642  """get_squared_magnitude(Vector1D self) -> double"""
1643  return _IMP_algebra.Vector1D_get_squared_magnitude(self)
1644 
1645  def get_magnitude(self):
1646  """get_magnitude(Vector1D self) -> double"""
1647  return _IMP_algebra.Vector1D_get_magnitude(self)
1648 
1649  def get_unit_vector(self):
1650  """get_unit_vector(Vector1D self) -> Vector1D"""
1651  return _IMP_algebra.Vector1D_get_unit_vector(self)
1652 
1653  def __mul__(self, *args):
1654  """
1655  __mul__(Vector1D self, Vector1D o) -> double
1656  __mul__(Vector1D self, double s) -> Vector1D
1657  """
1658  return _IMP_algebra.Vector1D___mul__(self, *args)
1659 
1660  def __div__(self, *args):
1661  """__div__(Vector1D self, double s) -> Vector1D"""
1662  return _IMP_algebra.Vector1D___div__(self, *args)
1663 
1664  def __neg__(self):
1665  """__neg__(Vector1D self) -> Vector1D"""
1666  return _IMP_algebra.Vector1D___neg__(self)
1667 
1668  def __sub__(self, *args):
1669  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
1670  return _IMP_algebra.Vector1D___sub__(self, *args)
1671 
1672  def __add__(self, *args):
1673  """__add__(Vector1D self, Vector1D o) -> Vector1D"""
1674  return _IMP_algebra.Vector1D___add__(self, *args)
1675 
1676  def show(self, *args):
1677  """
1678  show(Vector1D self, _ostream out, std::string delim, bool parens=True)
1679  show(Vector1D self, _ostream out, std::string delim)
1680  show(Vector1D self, _ostream out=std::cout)
1681  show(Vector1D self)
1682  """
1683  return _IMP_algebra.Vector1D_show(self, *args)
1684 
1685  def get_dimension(self):
1686  """get_dimension(Vector1D self) -> unsigned int"""
1687  return _IMP_algebra.Vector1D_get_dimension(self)
1688 
1689  def __str__(self):
1690  """__str__(Vector1D self) -> std::string"""
1691  return _IMP_algebra.Vector1D___str__(self)
1692 
1693  def __repr__(self):
1694  """__repr__(Vector1D self) -> std::string"""
1695  return _IMP_algebra.Vector1D___repr__(self)
1696 
1697  def __cmp__(self, *args):
1698  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
1699  return _IMP_algebra.Vector1D___cmp__(self, *args)
1700 
1701  def __getitem__(self, *args):
1702  """__getitem__(Vector1D self, unsigned int index) -> double"""
1703  return _IMP_algebra.Vector1D___getitem__(self, *args)
1704 
1705  def __setitem__(self, *args):
1706  """__setitem__(Vector1D self, unsigned int index, double val)"""
1707  return _IMP_algebra.Vector1D___setitem__(self, *args)
1708 
1709  def __iadd__(self, *args):
1710  _IMP_algebra.Vector1D___iadd__(self, *args)
1711  return self
1712 
1713 
1714  def __imul__(self, *args):
1715  _IMP_algebra.Vector1D___imul__(self, *args)
1716  return self
1717 
1718 
1719  def __idiv__(self, *args):
1720  _IMP_algebra.Vector1D___idiv__(self, *args)
1721  return self
1722 
1723 
1724  def __isub__(self, *args):
1725  _IMP_algebra.Vector1D___isub__(self, *args)
1726  return self
1727 
1728 
1729  def __len__(self):
1730  """__len__(Vector1D self) -> unsigned int"""
1731  return _IMP_algebra.Vector1D___len__(self)
1732 
1733  def __rmul__(self, *args):
1734  """__rmul__(Vector1D self, double f) -> Vector1D"""
1735  return _IMP_algebra.Vector1D___rmul__(self, *args)
1736 
1737  __swig_destroy__ = _IMP_algebra.delete_Vector1D
1738  __del__ = lambda self : None;
1739 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
1740 Vector1D_swigregister(Vector1D)
1741 
1742 class Vector2D(_GeometricPrimitive2D):
1743  """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
1744  __swig_setmethods__ = {}
1745  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1746  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector2D, name, value)
1747  __swig_getmethods__ = {}
1748  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1749  __getattr__ = lambda self, name: _swig_getattr(self, Vector2D, name)
1750  def __init__(self, *args):
1751  """
1752  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
1753  __init__(IMP::algebra::VectorD<(2)> self, double x) -> Vector2D
1754  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
1755  __init__(IMP::algebra::VectorD<(2)> self, double x, double y, double z) -> Vector2D
1756  __init__(IMP::algebra::VectorD<(2)> self, double x0, double x1, double x2, double x3) -> Vector2D
1757  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
1758  """
1759  this = _IMP_algebra.new_Vector2D(*args)
1760  try: self.this.append(this)
1761  except: self.this = this
1762  def get_scalar_product(self, *args):
1763  """get_scalar_product(Vector2D self, Vector2D o) -> double"""
1764  return _IMP_algebra.Vector2D_get_scalar_product(self, *args)
1765 
1766  def get_squared_magnitude(self):
1767  """get_squared_magnitude(Vector2D self) -> double"""
1768  return _IMP_algebra.Vector2D_get_squared_magnitude(self)
1769 
1770  def get_magnitude(self):
1771  """get_magnitude(Vector2D self) -> double"""
1772  return _IMP_algebra.Vector2D_get_magnitude(self)
1773 
1774  def get_unit_vector(self):
1775  """get_unit_vector(Vector2D self) -> Vector2D"""
1776  return _IMP_algebra.Vector2D_get_unit_vector(self)
1777 
1778  def __mul__(self, *args):
1779  """
1780  __mul__(Vector2D self, Vector2D o) -> double
1781  __mul__(Vector2D self, double s) -> Vector2D
1782  """
1783  return _IMP_algebra.Vector2D___mul__(self, *args)
1784 
1785  def __div__(self, *args):
1786  """__div__(Vector2D self, double s) -> Vector2D"""
1787  return _IMP_algebra.Vector2D___div__(self, *args)
1788 
1789  def __neg__(self):
1790  """__neg__(Vector2D self) -> Vector2D"""
1791  return _IMP_algebra.Vector2D___neg__(self)
1792 
1793  def __sub__(self, *args):
1794  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
1795  return _IMP_algebra.Vector2D___sub__(self, *args)
1796 
1797  def __add__(self, *args):
1798  """__add__(Vector2D self, Vector2D o) -> Vector2D"""
1799  return _IMP_algebra.Vector2D___add__(self, *args)
1800 
1801  def show(self, *args):
1802  """
1803  show(Vector2D self, _ostream out, std::string delim, bool parens=True)
1804  show(Vector2D self, _ostream out, std::string delim)
1805  show(Vector2D self, _ostream out=std::cout)
1806  show(Vector2D self)
1807  """
1808  return _IMP_algebra.Vector2D_show(self, *args)
1809 
1810  def get_dimension(self):
1811  """get_dimension(Vector2D self) -> unsigned int"""
1812  return _IMP_algebra.Vector2D_get_dimension(self)
1813 
1814  def __str__(self):
1815  """__str__(Vector2D self) -> std::string"""
1816  return _IMP_algebra.Vector2D___str__(self)
1817 
1818  def __repr__(self):
1819  """__repr__(Vector2D self) -> std::string"""
1820  return _IMP_algebra.Vector2D___repr__(self)
1821 
1822  def __cmp__(self, *args):
1823  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
1824  return _IMP_algebra.Vector2D___cmp__(self, *args)
1825 
1826  def __getitem__(self, *args):
1827  """__getitem__(Vector2D self, unsigned int index) -> double"""
1828  return _IMP_algebra.Vector2D___getitem__(self, *args)
1829 
1830  def __setitem__(self, *args):
1831  """__setitem__(Vector2D self, unsigned int index, double val)"""
1832  return _IMP_algebra.Vector2D___setitem__(self, *args)
1833 
1834  def __iadd__(self, *args):
1835  _IMP_algebra.Vector2D___iadd__(self, *args)
1836  return self
1837 
1838 
1839  def __imul__(self, *args):
1840  _IMP_algebra.Vector2D___imul__(self, *args)
1841  return self
1842 
1843 
1844  def __idiv__(self, *args):
1845  _IMP_algebra.Vector2D___idiv__(self, *args)
1846  return self
1847 
1848 
1849  def __isub__(self, *args):
1850  _IMP_algebra.Vector2D___isub__(self, *args)
1851  return self
1852 
1853 
1854  def __len__(self):
1855  """__len__(Vector2D self) -> unsigned int"""
1856  return _IMP_algebra.Vector2D___len__(self)
1857 
1858  def __rmul__(self, *args):
1859  """__rmul__(Vector2D self, double f) -> Vector2D"""
1860  return _IMP_algebra.Vector2D___rmul__(self, *args)
1861 
1862  __swig_destroy__ = _IMP_algebra.delete_Vector2D
1863  __del__ = lambda self : None;
1864 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
1865 Vector2D_swigregister(Vector2D)
1866 
1867 class Vector3D(_GeometricPrimitive3D):
1868  """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
1869  __swig_setmethods__ = {}
1870  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1871  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector3D, name, value)
1872  __swig_getmethods__ = {}
1873  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1874  __getattr__ = lambda self, name: _swig_getattr(self, Vector3D, name)
1875  def __init__(self, *args):
1876  """
1877  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
1878  __init__(IMP::algebra::VectorD<(3)> self, double x) -> Vector3D
1879  __init__(IMP::algebra::VectorD<(3)> self, double x, double y) -> Vector3D
1880  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
1881  __init__(IMP::algebra::VectorD<(3)> self, double x0, double x1, double x2, double x3) -> Vector3D
1882  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
1883  """
1884  this = _IMP_algebra.new_Vector3D(*args)
1885  try: self.this.append(this)
1886  except: self.this = this
1887  def get_scalar_product(self, *args):
1888  """get_scalar_product(Vector3D self, Vector3D o) -> double"""
1889  return _IMP_algebra.Vector3D_get_scalar_product(self, *args)
1890 
1891  def get_squared_magnitude(self):
1892  """get_squared_magnitude(Vector3D self) -> double"""
1893  return _IMP_algebra.Vector3D_get_squared_magnitude(self)
1894 
1895  def get_magnitude(self):
1896  """get_magnitude(Vector3D self) -> double"""
1897  return _IMP_algebra.Vector3D_get_magnitude(self)
1898 
1899  def get_unit_vector(self):
1900  """get_unit_vector(Vector3D self) -> Vector3D"""
1901  return _IMP_algebra.Vector3D_get_unit_vector(self)
1902 
1903  def __mul__(self, *args):
1904  """
1905  __mul__(Vector3D self, Vector3D o) -> double
1906  __mul__(Vector3D self, double s) -> Vector3D
1907  """
1908  return _IMP_algebra.Vector3D___mul__(self, *args)
1909 
1910  def __div__(self, *args):
1911  """__div__(Vector3D self, double s) -> Vector3D"""
1912  return _IMP_algebra.Vector3D___div__(self, *args)
1913 
1914  def __neg__(self):
1915  """__neg__(Vector3D self) -> Vector3D"""
1916  return _IMP_algebra.Vector3D___neg__(self)
1917 
1918  def __sub__(self, *args):
1919  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
1920  return _IMP_algebra.Vector3D___sub__(self, *args)
1921 
1922  def __add__(self, *args):
1923  """__add__(Vector3D self, Vector3D o) -> Vector3D"""
1924  return _IMP_algebra.Vector3D___add__(self, *args)
1925 
1926  def show(self, *args):
1927  """
1928  show(Vector3D self, _ostream out, std::string delim, bool parens=True)
1929  show(Vector3D self, _ostream out, std::string delim)
1930  show(Vector3D self, _ostream out=std::cout)
1931  show(Vector3D self)
1932  """
1933  return _IMP_algebra.Vector3D_show(self, *args)
1934 
1935  def get_dimension(self):
1936  """get_dimension(Vector3D self) -> unsigned int"""
1937  return _IMP_algebra.Vector3D_get_dimension(self)
1938 
1939  def __str__(self):
1940  """__str__(Vector3D self) -> std::string"""
1941  return _IMP_algebra.Vector3D___str__(self)
1942 
1943  def __repr__(self):
1944  """__repr__(Vector3D self) -> std::string"""
1945  return _IMP_algebra.Vector3D___repr__(self)
1946 
1947  def __cmp__(self, *args):
1948  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
1949  return _IMP_algebra.Vector3D___cmp__(self, *args)
1950 
1951  def __getitem__(self, *args):
1952  """__getitem__(Vector3D self, unsigned int index) -> double"""
1953  return _IMP_algebra.Vector3D___getitem__(self, *args)
1954 
1955  def __setitem__(self, *args):
1956  """__setitem__(Vector3D self, unsigned int index, double val)"""
1957  return _IMP_algebra.Vector3D___setitem__(self, *args)
1958 
1959  def __iadd__(self, *args):
1960  _IMP_algebra.Vector3D___iadd__(self, *args)
1961  return self
1962 
1963 
1964  def __imul__(self, *args):
1965  _IMP_algebra.Vector3D___imul__(self, *args)
1966  return self
1967 
1968 
1969  def __idiv__(self, *args):
1970  _IMP_algebra.Vector3D___idiv__(self, *args)
1971  return self
1972 
1973 
1974  def __isub__(self, *args):
1975  _IMP_algebra.Vector3D___isub__(self, *args)
1976  return self
1977 
1978 
1979  def __len__(self):
1980  """__len__(Vector3D self) -> unsigned int"""
1981  return _IMP_algebra.Vector3D___len__(self)
1982 
1983  def __rmul__(self, *args):
1984  """__rmul__(Vector3D self, double f) -> Vector3D"""
1985  return _IMP_algebra.Vector3D___rmul__(self, *args)
1986 
1987  __swig_destroy__ = _IMP_algebra.delete_Vector3D
1988  __del__ = lambda self : None;
1989 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
1990 Vector3D_swigregister(Vector3D)
1991 
1992 class Vector4D(_GeometricPrimitive4D):
1993  """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
1994  __swig_setmethods__ = {}
1995  for _s in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1996  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector4D, name, value)
1997  __swig_getmethods__ = {}
1998  for _s in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1999  __getattr__ = lambda self, name: _swig_getattr(self, Vector4D, name)
2000  def __init__(self, *args):
2001  """
2002  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2003  __init__(IMP::algebra::VectorD<(4)> self, double x) -> Vector4D
2004  __init__(IMP::algebra::VectorD<(4)> self, double x, double y) -> Vector4D
2005  __init__(IMP::algebra::VectorD<(4)> self, double x, double y, double z) -> Vector4D
2006  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2007  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2008  """
2009  this = _IMP_algebra.new_Vector4D(*args)
2010  try: self.this.append(this)
2011  except: self.this = this
2012  def get_scalar_product(self, *args):
2013  """get_scalar_product(Vector4D self, Vector4D o) -> double"""
2014  return _IMP_algebra.Vector4D_get_scalar_product(self, *args)
2015 
2016  def get_squared_magnitude(self):
2017  """get_squared_magnitude(Vector4D self) -> double"""
2018  return _IMP_algebra.Vector4D_get_squared_magnitude(self)
2019 
2020  def get_magnitude(self):
2021  """get_magnitude(Vector4D self) -> double"""
2022  return _IMP_algebra.Vector4D_get_magnitude(self)
2023 
2024  def get_unit_vector(self):
2025  """get_unit_vector(Vector4D self) -> Vector4D"""
2026  return _IMP_algebra.Vector4D_get_unit_vector(self)
2027 
2028  def __mul__(self, *args):
2029  """
2030  __mul__(Vector4D self, Vector4D o) -> double
2031  __mul__(Vector4D self, double s) -> Vector4D
2032  """
2033  return _IMP_algebra.Vector4D___mul__(self, *args)
2034 
2035  def __div__(self, *args):
2036  """__div__(Vector4D self, double s) -> Vector4D"""
2037  return _IMP_algebra.Vector4D___div__(self, *args)
2038 
2039  def __neg__(self):
2040  """__neg__(Vector4D self) -> Vector4D"""
2041  return _IMP_algebra.Vector4D___neg__(self)
2042 
2043  def __sub__(self, *args):
2044  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2045  return _IMP_algebra.Vector4D___sub__(self, *args)
2046 
2047  def __add__(self, *args):
2048  """__add__(Vector4D self, Vector4D o) -> Vector4D"""
2049  return _IMP_algebra.Vector4D___add__(self, *args)
2050 
2051  def show(self, *args):
2052  """
2053  show(Vector4D self, _ostream out, std::string delim, bool parens=True)
2054  show(Vector4D self, _ostream out, std::string delim)
2055  show(Vector4D self, _ostream out=std::cout)
2056  show(Vector4D self)
2057  """
2058  return _IMP_algebra.Vector4D_show(self, *args)
2059 
2060  def get_dimension(self):
2061  """get_dimension(Vector4D self) -> unsigned int"""
2062  return _IMP_algebra.Vector4D_get_dimension(self)
2063 
2064  def __str__(self):
2065  """__str__(Vector4D self) -> std::string"""
2066  return _IMP_algebra.Vector4D___str__(self)
2067 
2068  def __repr__(self):
2069  """__repr__(Vector4D self) -> std::string"""
2070  return _IMP_algebra.Vector4D___repr__(self)
2071 
2072  def __cmp__(self, *args):
2073  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2074  return _IMP_algebra.Vector4D___cmp__(self, *args)
2075 
2076  def __getitem__(self, *args):
2077  """__getitem__(Vector4D self, unsigned int index) -> double"""
2078  return _IMP_algebra.Vector4D___getitem__(self, *args)
2079 
2080  def __setitem__(self, *args):
2081  """__setitem__(Vector4D self, unsigned int index, double val)"""
2082  return _IMP_algebra.Vector4D___setitem__(self, *args)
2083 
2084  def __iadd__(self, *args):
2085  _IMP_algebra.Vector4D___iadd__(self, *args)
2086  return self
2087 
2088 
2089  def __imul__(self, *args):
2090  _IMP_algebra.Vector4D___imul__(self, *args)
2091  return self
2092 
2093 
2094  def __idiv__(self, *args):
2095  _IMP_algebra.Vector4D___idiv__(self, *args)
2096  return self
2097 
2098 
2099  def __isub__(self, *args):
2100  _IMP_algebra.Vector4D___isub__(self, *args)
2101  return self
2102 
2103 
2104  def __len__(self):
2105  """__len__(Vector4D self) -> unsigned int"""
2106  return _IMP_algebra.Vector4D___len__(self)
2107 
2108  def __rmul__(self, *args):
2109  """__rmul__(Vector4D self, double f) -> Vector4D"""
2110  return _IMP_algebra.Vector4D___rmul__(self, *args)
2111 
2112  __swig_destroy__ = _IMP_algebra.delete_Vector4D
2113  __del__ = lambda self : None;
2114 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2115 Vector4D_swigregister(Vector4D)
2116 
2117 class Vector5D(_GeometricPrimitive5D):
2118  """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2119  __swig_setmethods__ = {}
2120  for _s in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2121  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector5D, name, value)
2122  __swig_getmethods__ = {}
2123  for _s in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2124  __getattr__ = lambda self, name: _swig_getattr(self, Vector5D, name)
2125  def __init__(self, *args):
2126  """
2127  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2128  __init__(IMP::algebra::VectorD<(5)> self, double x) -> Vector5D
2129  __init__(IMP::algebra::VectorD<(5)> self, double x, double y) -> Vector5D
2130  __init__(IMP::algebra::VectorD<(5)> self, double x, double y, double z) -> Vector5D
2131  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3) -> Vector5D
2132  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2133  """
2134  this = _IMP_algebra.new_Vector5D(*args)
2135  try: self.this.append(this)
2136  except: self.this = this
2137  def get_scalar_product(self, *args):
2138  """get_scalar_product(Vector5D self, Vector5D o) -> double"""
2139  return _IMP_algebra.Vector5D_get_scalar_product(self, *args)
2140 
2141  def get_squared_magnitude(self):
2142  """get_squared_magnitude(Vector5D self) -> double"""
2143  return _IMP_algebra.Vector5D_get_squared_magnitude(self)
2144 
2145  def get_magnitude(self):
2146  """get_magnitude(Vector5D self) -> double"""
2147  return _IMP_algebra.Vector5D_get_magnitude(self)
2148 
2149  def get_unit_vector(self):
2150  """get_unit_vector(Vector5D self) -> Vector5D"""
2151  return _IMP_algebra.Vector5D_get_unit_vector(self)
2152 
2153  def __mul__(self, *args):
2154  """
2155  __mul__(Vector5D self, Vector5D o) -> double
2156  __mul__(Vector5D self, double s) -> Vector5D
2157  """
2158  return _IMP_algebra.Vector5D___mul__(self, *args)
2159 
2160  def __div__(self, *args):
2161  """__div__(Vector5D self, double s) -> Vector5D"""
2162  return _IMP_algebra.Vector5D___div__(self, *args)
2163 
2164  def __neg__(self):
2165  """__neg__(Vector5D self) -> Vector5D"""
2166  return _IMP_algebra.Vector5D___neg__(self)
2167 
2168  def __sub__(self, *args):
2169  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2170  return _IMP_algebra.Vector5D___sub__(self, *args)
2171 
2172  def __add__(self, *args):
2173  """__add__(Vector5D self, Vector5D o) -> Vector5D"""
2174  return _IMP_algebra.Vector5D___add__(self, *args)
2175 
2176  def show(self, *args):
2177  """
2178  show(Vector5D self, _ostream out, std::string delim, bool parens=True)
2179  show(Vector5D self, _ostream out, std::string delim)
2180  show(Vector5D self, _ostream out=std::cout)
2181  show(Vector5D self)
2182  """
2183  return _IMP_algebra.Vector5D_show(self, *args)
2184 
2185  def get_dimension(self):
2186  """get_dimension(Vector5D self) -> unsigned int"""
2187  return _IMP_algebra.Vector5D_get_dimension(self)
2188 
2189  def __str__(self):
2190  """__str__(Vector5D self) -> std::string"""
2191  return _IMP_algebra.Vector5D___str__(self)
2192 
2193  def __repr__(self):
2194  """__repr__(Vector5D self) -> std::string"""
2195  return _IMP_algebra.Vector5D___repr__(self)
2196 
2197  def __cmp__(self, *args):
2198  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2199  return _IMP_algebra.Vector5D___cmp__(self, *args)
2200 
2201  def __getitem__(self, *args):
2202  """__getitem__(Vector5D self, unsigned int index) -> double"""
2203  return _IMP_algebra.Vector5D___getitem__(self, *args)
2204 
2205  def __setitem__(self, *args):
2206  """__setitem__(Vector5D self, unsigned int index, double val)"""
2207  return _IMP_algebra.Vector5D___setitem__(self, *args)
2208 
2209  def __iadd__(self, *args):
2210  _IMP_algebra.Vector5D___iadd__(self, *args)
2211  return self
2212 
2213 
2214  def __imul__(self, *args):
2215  _IMP_algebra.Vector5D___imul__(self, *args)
2216  return self
2217 
2218 
2219  def __idiv__(self, *args):
2220  _IMP_algebra.Vector5D___idiv__(self, *args)
2221  return self
2222 
2223 
2224  def __isub__(self, *args):
2225  _IMP_algebra.Vector5D___isub__(self, *args)
2226  return self
2227 
2228 
2229  def __len__(self):
2230  """__len__(Vector5D self) -> unsigned int"""
2231  return _IMP_algebra.Vector5D___len__(self)
2232 
2233  def __rmul__(self, *args):
2234  """__rmul__(Vector5D self, double f) -> Vector5D"""
2235  return _IMP_algebra.Vector5D___rmul__(self, *args)
2236 
2237  __swig_destroy__ = _IMP_algebra.delete_Vector5D
2238  __del__ = lambda self : None;
2239 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2240 Vector5D_swigregister(Vector5D)
2241 
2242 class Vector6D(_GeometricPrimitive6D):
2243  """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2244  __swig_setmethods__ = {}
2245  for _s in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2246  __setattr__ = lambda self, name, value: _swig_setattr(self, Vector6D, name, value)
2247  __swig_getmethods__ = {}
2248  for _s in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2249  __getattr__ = lambda self, name: _swig_getattr(self, Vector6D, name)
2250  def __init__(self, *args):
2251  """
2252  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2253  __init__(IMP::algebra::VectorD<(6)> self, double x) -> Vector6D
2254  __init__(IMP::algebra::VectorD<(6)> self, double x, double y) -> Vector6D
2255  __init__(IMP::algebra::VectorD<(6)> self, double x, double y, double z) -> Vector6D
2256  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3) -> Vector6D
2257  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2258  """
2259  this = _IMP_algebra.new_Vector6D(*args)
2260  try: self.this.append(this)
2261  except: self.this = this
2262  def get_scalar_product(self, *args):
2263  """get_scalar_product(Vector6D self, Vector6D o) -> double"""
2264  return _IMP_algebra.Vector6D_get_scalar_product(self, *args)
2265 
2266  def get_squared_magnitude(self):
2267  """get_squared_magnitude(Vector6D self) -> double"""
2268  return _IMP_algebra.Vector6D_get_squared_magnitude(self)
2269 
2270  def get_magnitude(self):
2271  """get_magnitude(Vector6D self) -> double"""
2272  return _IMP_algebra.Vector6D_get_magnitude(self)
2273 
2274  def get_unit_vector(self):
2275  """get_unit_vector(Vector6D self) -> Vector6D"""
2276  return _IMP_algebra.Vector6D_get_unit_vector(self)
2277 
2278  def __mul__(self, *args):
2279  """
2280  __mul__(Vector6D self, Vector6D o) -> double
2281  __mul__(Vector6D self, double s) -> Vector6D
2282  """
2283  return _IMP_algebra.Vector6D___mul__(self, *args)
2284 
2285  def __div__(self, *args):
2286  """__div__(Vector6D self, double s) -> Vector6D"""
2287  return _IMP_algebra.Vector6D___div__(self, *args)
2288 
2289  def __neg__(self):
2290  """__neg__(Vector6D self) -> Vector6D"""
2291  return _IMP_algebra.Vector6D___neg__(self)
2292 
2293  def __sub__(self, *args):
2294  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2295  return _IMP_algebra.Vector6D___sub__(self, *args)
2296 
2297  def __add__(self, *args):
2298  """__add__(Vector6D self, Vector6D o) -> Vector6D"""
2299  return _IMP_algebra.Vector6D___add__(self, *args)
2300 
2301  def show(self, *args):
2302  """
2303  show(Vector6D self, _ostream out, std::string delim, bool parens=True)
2304  show(Vector6D self, _ostream out, std::string delim)
2305  show(Vector6D self, _ostream out=std::cout)
2306  show(Vector6D self)
2307  """
2308  return _IMP_algebra.Vector6D_show(self, *args)
2309 
2310  def get_dimension(self):
2311  """get_dimension(Vector6D self) -> unsigned int"""
2312  return _IMP_algebra.Vector6D_get_dimension(self)
2313 
2314  def __str__(self):
2315  """__str__(Vector6D self) -> std::string"""
2316  return _IMP_algebra.Vector6D___str__(self)
2317 
2318  def __repr__(self):
2319  """__repr__(Vector6D self) -> std::string"""
2320  return _IMP_algebra.Vector6D___repr__(self)
2321 
2322  def __cmp__(self, *args):
2323  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2324  return _IMP_algebra.Vector6D___cmp__(self, *args)
2325 
2326  def __getitem__(self, *args):
2327  """__getitem__(Vector6D self, unsigned int index) -> double"""
2328  return _IMP_algebra.Vector6D___getitem__(self, *args)
2329 
2330  def __setitem__(self, *args):
2331  """__setitem__(Vector6D self, unsigned int index, double val)"""
2332  return _IMP_algebra.Vector6D___setitem__(self, *args)
2333 
2334  def __iadd__(self, *args):
2335  _IMP_algebra.Vector6D___iadd__(self, *args)
2336  return self
2337 
2338 
2339  def __imul__(self, *args):
2340  _IMP_algebra.Vector6D___imul__(self, *args)
2341  return self
2342 
2343 
2344  def __idiv__(self, *args):
2345  _IMP_algebra.Vector6D___idiv__(self, *args)
2346  return self
2347 
2348 
2349  def __isub__(self, *args):
2350  _IMP_algebra.Vector6D___isub__(self, *args)
2351  return self
2352 
2353 
2354  def __len__(self):
2355  """__len__(Vector6D self) -> unsigned int"""
2356  return _IMP_algebra.Vector6D___len__(self)
2357 
2358  def __rmul__(self, *args):
2359  """__rmul__(Vector6D self, double f) -> Vector6D"""
2360  return _IMP_algebra.Vector6D___rmul__(self, *args)
2361 
2362  __swig_destroy__ = _IMP_algebra.delete_Vector6D
2363  __del__ = lambda self : None;
2364 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2365 Vector6D_swigregister(Vector6D)
2366 
2367 class VectorKD(_GeometricPrimitiveKD):
2368  """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2369  __swig_setmethods__ = {}
2370  for _s in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2371  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorKD, name, value)
2372  __swig_getmethods__ = {}
2373  for _s in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2374  __getattr__ = lambda self, name: _swig_getattr(self, VectorKD, name)
2375  def __init__(self, *args):
2376  """
2377  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2378  __init__(IMP::algebra::VectorD<(-1)> self, double x) -> VectorKD
2379  __init__(IMP::algebra::VectorD<(-1)> self, double x, double y) -> VectorKD
2380  __init__(IMP::algebra::VectorD<(-1)> self, double x, double y, double z) -> VectorKD
2381  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
2382  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2383  """
2384  this = _IMP_algebra.new_VectorKD(*args)
2385  try: self.this.append(this)
2386  except: self.this = this
2387  def get_scalar_product(self, *args):
2388  """get_scalar_product(VectorKD self, VectorKD o) -> double"""
2389  return _IMP_algebra.VectorKD_get_scalar_product(self, *args)
2390 
2391  def get_squared_magnitude(self):
2392  """get_squared_magnitude(VectorKD self) -> double"""
2393  return _IMP_algebra.VectorKD_get_squared_magnitude(self)
2394 
2395  def get_magnitude(self):
2396  """get_magnitude(VectorKD self) -> double"""
2397  return _IMP_algebra.VectorKD_get_magnitude(self)
2398 
2399  def get_unit_vector(self):
2400  """get_unit_vector(VectorKD self) -> VectorKD"""
2401  return _IMP_algebra.VectorKD_get_unit_vector(self)
2402 
2403  def __mul__(self, *args):
2404  """
2405  __mul__(VectorKD self, VectorKD o) -> double
2406  __mul__(VectorKD self, double s) -> VectorKD
2407  """
2408  return _IMP_algebra.VectorKD___mul__(self, *args)
2409 
2410  def __div__(self, *args):
2411  """__div__(VectorKD self, double s) -> VectorKD"""
2412  return _IMP_algebra.VectorKD___div__(self, *args)
2413 
2414  def __neg__(self):
2415  """__neg__(VectorKD self) -> VectorKD"""
2416  return _IMP_algebra.VectorKD___neg__(self)
2417 
2418  def __sub__(self, *args):
2419  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2420  return _IMP_algebra.VectorKD___sub__(self, *args)
2421 
2422  def __add__(self, *args):
2423  """__add__(VectorKD self, VectorKD o) -> VectorKD"""
2424  return _IMP_algebra.VectorKD___add__(self, *args)
2425 
2426  def show(self, *args):
2427  """
2428  show(VectorKD self, _ostream out, std::string delim, bool parens=True)
2429  show(VectorKD self, _ostream out, std::string delim)
2430  show(VectorKD self, _ostream out=std::cout)
2431  show(VectorKD self)
2432  """
2433  return _IMP_algebra.VectorKD_show(self, *args)
2434 
2435  def get_dimension(self):
2436  """get_dimension(VectorKD self) -> unsigned int"""
2437  return _IMP_algebra.VectorKD_get_dimension(self)
2438 
2439  def __str__(self):
2440  """__str__(VectorKD self) -> std::string"""
2441  return _IMP_algebra.VectorKD___str__(self)
2442 
2443  def __repr__(self):
2444  """__repr__(VectorKD self) -> std::string"""
2445  return _IMP_algebra.VectorKD___repr__(self)
2446 
2447  def __cmp__(self, *args):
2448  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2449  return _IMP_algebra.VectorKD___cmp__(self, *args)
2450 
2451  def __getitem__(self, *args):
2452  """__getitem__(VectorKD self, unsigned int index) -> double"""
2453  return _IMP_algebra.VectorKD___getitem__(self, *args)
2454 
2455  def __setitem__(self, *args):
2456  """__setitem__(VectorKD self, unsigned int index, double val)"""
2457  return _IMP_algebra.VectorKD___setitem__(self, *args)
2458 
2459  def __iadd__(self, *args):
2460  _IMP_algebra.VectorKD___iadd__(self, *args)
2461  return self
2462 
2463 
2464  def __imul__(self, *args):
2465  _IMP_algebra.VectorKD___imul__(self, *args)
2466  return self
2467 
2468 
2469  def __idiv__(self, *args):
2470  _IMP_algebra.VectorKD___idiv__(self, *args)
2471  return self
2472 
2473 
2474  def __isub__(self, *args):
2475  _IMP_algebra.VectorKD___isub__(self, *args)
2476  return self
2477 
2478 
2479  def __len__(self):
2480  """__len__(VectorKD self) -> unsigned int"""
2481  return _IMP_algebra.VectorKD___len__(self)
2482 
2483  def __rmul__(self, *args):
2484  """__rmul__(VectorKD self, double f) -> VectorKD"""
2485  return _IMP_algebra.VectorKD___rmul__(self, *args)
2486 
2487  __swig_destroy__ = _IMP_algebra.delete_VectorKD
2488  __del__ = lambda self : None;
2489 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2490 VectorKD_swigregister(VectorKD)
2491 
2492 class VectorInput1D(Vector1D,IMP.base._InputAdaptor):
2493  """Proxy of C++ IMP::algebra::VectorInputD<(1)> class"""
2494  __swig_setmethods__ = {}
2495  for _s in [Vector1D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2496  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput1D, name, value)
2497  __swig_getmethods__ = {}
2498  for _s in [Vector1D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2499  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput1D, name)
2500  __repr__ = _swig_repr
2501  def __init__(self, *args):
2502  """
2503  __init__(IMP::algebra::VectorInputD<(1)> self, Vector1D v) -> VectorInput1D
2504  __init__(IMP::algebra::VectorInputD<(1)> self, IMP::Floats const & v) -> VectorInput1D
2505  __init__(IMP::algebra::VectorInputD<(1)> self, double v) -> VectorInput1D
2506  """
2507  this = _IMP_algebra.new_VectorInput1D(*args)
2508  try: self.this.append(this)
2509  except: self.this = this
2510  __swig_destroy__ = _IMP_algebra.delete_VectorInput1D
2511  __del__ = lambda self : None;
2512 VectorInput1D_swigregister = _IMP_algebra.VectorInput1D_swigregister
2513 VectorInput1D_swigregister(VectorInput1D)
2514 
2515 class VectorInput2D(Vector2D,IMP.base._InputAdaptor):
2516  """Proxy of C++ IMP::algebra::VectorInputD<(2)> class"""
2517  __swig_setmethods__ = {}
2518  for _s in [Vector2D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2519  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput2D, name, value)
2520  __swig_getmethods__ = {}
2521  for _s in [Vector2D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2522  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput2D, name)
2523  def __init__(self, *args):
2524  """
2525  __init__(IMP::algebra::VectorInputD<(2)> self, Vector2D v) -> VectorInput2D
2526  __init__(IMP::algebra::VectorInputD<(2)> self, IMP::Floats const & v) -> VectorInput2D
2527  """
2528  this = _IMP_algebra.new_VectorInput2D(*args)
2529  try: self.this.append(this)
2530  except: self.this = this
2531  def __str__(self):
2532  """__str__(VectorInput2D self) -> std::string"""
2533  return _IMP_algebra.VectorInput2D___str__(self)
2534 
2535  def __repr__(self):
2536  """__repr__(VectorInput2D self) -> std::string"""
2537  return _IMP_algebra.VectorInput2D___repr__(self)
2538 
2539  def __cmp__(self, *args):
2540  """__cmp__(VectorInput2D self, VectorInput2D arg2) -> int"""
2541  return _IMP_algebra.VectorInput2D___cmp__(self, *args)
2542 
2543  __swig_destroy__ = _IMP_algebra.delete_VectorInput2D
2544  __del__ = lambda self : None;
2545 VectorInput2D_swigregister = _IMP_algebra.VectorInput2D_swigregister
2546 VectorInput2D_swigregister(VectorInput2D)
2547 
2548 class VectorInput3D(Vector3D,IMP.base._InputAdaptor):
2549  """Proxy of C++ IMP::algebra::VectorInputD<(3)> class"""
2550  __swig_setmethods__ = {}
2551  for _s in [Vector3D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2552  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput3D, name, value)
2553  __swig_getmethods__ = {}
2554  for _s in [Vector3D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2555  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput3D, name)
2556  def __init__(self, *args):
2557  """
2558  __init__(IMP::algebra::VectorInputD<(3)> self, Vector3D v) -> VectorInput3D
2559  __init__(IMP::algebra::VectorInputD<(3)> self, IMP::Floats const & v) -> VectorInput3D
2560  """
2561  this = _IMP_algebra.new_VectorInput3D(*args)
2562  try: self.this.append(this)
2563  except: self.this = this
2564  def __str__(self):
2565  """__str__(VectorInput3D self) -> std::string"""
2566  return _IMP_algebra.VectorInput3D___str__(self)
2567 
2568  def __repr__(self):
2569  """__repr__(VectorInput3D self) -> std::string"""
2570  return _IMP_algebra.VectorInput3D___repr__(self)
2571 
2572  def __cmp__(self, *args):
2573  """__cmp__(VectorInput3D self, VectorInput3D arg2) -> int"""
2574  return _IMP_algebra.VectorInput3D___cmp__(self, *args)
2575 
2576  __swig_destroy__ = _IMP_algebra.delete_VectorInput3D
2577  __del__ = lambda self : None;
2578 VectorInput3D_swigregister = _IMP_algebra.VectorInput3D_swigregister
2579 VectorInput3D_swigregister(VectorInput3D)
2580 
2581 class VectorInput4D(Vector4D,IMP.base._InputAdaptor):
2582  """Proxy of C++ IMP::algebra::VectorInputD<(4)> class"""
2583  __swig_setmethods__ = {}
2584  for _s in [Vector4D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2585  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput4D, name, value)
2586  __swig_getmethods__ = {}
2587  for _s in [Vector4D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2588  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput4D, name)
2589  def __init__(self, *args):
2590  """
2591  __init__(IMP::algebra::VectorInputD<(4)> self, Vector4D v) -> VectorInput4D
2592  __init__(IMP::algebra::VectorInputD<(4)> self, IMP::Floats const & v) -> VectorInput4D
2593  """
2594  this = _IMP_algebra.new_VectorInput4D(*args)
2595  try: self.this.append(this)
2596  except: self.this = this
2597  def __str__(self):
2598  """__str__(VectorInput4D self) -> std::string"""
2599  return _IMP_algebra.VectorInput4D___str__(self)
2600 
2601  def __repr__(self):
2602  """__repr__(VectorInput4D self) -> std::string"""
2603  return _IMP_algebra.VectorInput4D___repr__(self)
2604 
2605  def __cmp__(self, *args):
2606  """__cmp__(VectorInput4D self, VectorInput4D arg2) -> int"""
2607  return _IMP_algebra.VectorInput4D___cmp__(self, *args)
2608 
2609  __swig_destroy__ = _IMP_algebra.delete_VectorInput4D
2610  __del__ = lambda self : None;
2611 VectorInput4D_swigregister = _IMP_algebra.VectorInput4D_swigregister
2612 VectorInput4D_swigregister(VectorInput4D)
2613 
2614 class VectorInput5D(Vector5D,IMP.base._InputAdaptor):
2615  """Proxy of C++ IMP::algebra::VectorInputD<(5)> class"""
2616  __swig_setmethods__ = {}
2617  for _s in [Vector5D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2618  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput5D, name, value)
2619  __swig_getmethods__ = {}
2620  for _s in [Vector5D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2621  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput5D, name)
2622  def __init__(self, *args):
2623  """
2624  __init__(IMP::algebra::VectorInputD<(5)> self, Vector5D v) -> VectorInput5D
2625  __init__(IMP::algebra::VectorInputD<(5)> self, IMP::Floats const & v) -> VectorInput5D
2626  """
2627  this = _IMP_algebra.new_VectorInput5D(*args)
2628  try: self.this.append(this)
2629  except: self.this = this
2630  def __str__(self):
2631  """__str__(VectorInput5D self) -> std::string"""
2632  return _IMP_algebra.VectorInput5D___str__(self)
2633 
2634  def __repr__(self):
2635  """__repr__(VectorInput5D self) -> std::string"""
2636  return _IMP_algebra.VectorInput5D___repr__(self)
2637 
2638  def __cmp__(self, *args):
2639  """__cmp__(VectorInput5D self, VectorInput5D arg2) -> int"""
2640  return _IMP_algebra.VectorInput5D___cmp__(self, *args)
2641 
2642  __swig_destroy__ = _IMP_algebra.delete_VectorInput5D
2643  __del__ = lambda self : None;
2644 VectorInput5D_swigregister = _IMP_algebra.VectorInput5D_swigregister
2645 VectorInput5D_swigregister(VectorInput5D)
2646 
2647 class VectorInput6D(Vector6D,IMP.base._InputAdaptor):
2648  """Proxy of C++ IMP::algebra::VectorInputD<(6)> class"""
2649  __swig_setmethods__ = {}
2650  for _s in [Vector6D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2651  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInput6D, name, value)
2652  __swig_getmethods__ = {}
2653  for _s in [Vector6D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2654  __getattr__ = lambda self, name: _swig_getattr(self, VectorInput6D, name)
2655  def __init__(self, *args):
2656  """
2657  __init__(IMP::algebra::VectorInputD<(6)> self, Vector6D v) -> VectorInput6D
2658  __init__(IMP::algebra::VectorInputD<(6)> self, IMP::Floats const & v) -> VectorInput6D
2659  """
2660  this = _IMP_algebra.new_VectorInput6D(*args)
2661  try: self.this.append(this)
2662  except: self.this = this
2663  def __str__(self):
2664  """__str__(VectorInput6D self) -> std::string"""
2665  return _IMP_algebra.VectorInput6D___str__(self)
2666 
2667  def __repr__(self):
2668  """__repr__(VectorInput6D self) -> std::string"""
2669  return _IMP_algebra.VectorInput6D___repr__(self)
2670 
2671  def __cmp__(self, *args):
2672  """__cmp__(VectorInput6D self, VectorInput6D arg2) -> int"""
2673  return _IMP_algebra.VectorInput6D___cmp__(self, *args)
2674 
2675  __swig_destroy__ = _IMP_algebra.delete_VectorInput6D
2676  __del__ = lambda self : None;
2677 VectorInput6D_swigregister = _IMP_algebra.VectorInput6D_swigregister
2678 VectorInput6D_swigregister(VectorInput6D)
2679 
2680 class VectorInputKD(VectorKD,IMP.base._InputAdaptor):
2681  """Proxy of C++ IMP::algebra::VectorInputD<(-1)> class"""
2682  __swig_setmethods__ = {}
2683  for _s in [VectorKD,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2684  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInputKD, name, value)
2685  __swig_getmethods__ = {}
2686  for _s in [VectorKD,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2687  __getattr__ = lambda self, name: _swig_getattr(self, VectorInputKD, name)
2688  def __init__(self, *args):
2689  """
2690  __init__(IMP::algebra::VectorInputD<(-1)> self, VectorKD v) -> VectorInputKD
2691  __init__(IMP::algebra::VectorInputD<(-1)> self, IMP::Floats const & v) -> VectorInputKD
2692  """
2693  this = _IMP_algebra.new_VectorInputKD(*args)
2694  try: self.this.append(this)
2695  except: self.this = this
2696  def __str__(self):
2697  """__str__(VectorInputKD self) -> std::string"""
2698  return _IMP_algebra.VectorInputKD___str__(self)
2699 
2700  def __repr__(self):
2701  """__repr__(VectorInputKD self) -> std::string"""
2702  return _IMP_algebra.VectorInputKD___repr__(self)
2703 
2704  def __cmp__(self, *args):
2705  """__cmp__(VectorInputKD self, VectorInputKD arg2) -> int"""
2706  return _IMP_algebra.VectorInputKD___cmp__(self, *args)
2707 
2708  __swig_destroy__ = _IMP_algebra.delete_VectorInputKD
2709  __del__ = lambda self : None;
2710 VectorInputKD_swigregister = _IMP_algebra.VectorInputKD_swigregister
2711 VectorInputKD_swigregister(VectorInputKD)
2712 
2713 class BoundingBox1D(_object):
2714  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2715  __swig_setmethods__ = {}
2716  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox1D, name, value)
2717  __swig_getmethods__ = {}
2718  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox1D, name)
2719  def __init__(self, *args):
2720  """
2721  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2722  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2723  __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D lb, VectorInput1D ub) -> BoundingBox1D
2724  __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D v) -> BoundingBox1D
2725  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2726  """
2727  this = _IMP_algebra.new_BoundingBox1D(*args)
2728  try: self.this.append(this)
2729  except: self.this = this
2730  def get_dimension(self):
2731  """get_dimension(BoundingBox1D self) -> unsigned int"""
2732  return _IMP_algebra.BoundingBox1D_get_dimension(self)
2733 
2734  def get_corner(self, *args):
2735  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2736  return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2737 
2738  def get_contains(self, *args):
2739  """
2740  get_contains(BoundingBox1D self, Vector1D o) -> bool
2741  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2742  """
2743  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2744 
2745  def show(self, *args):
2746  """
2747  show(BoundingBox1D self, _ostream out=std::cout)
2748  show(BoundingBox1D self)
2749  """
2750  return _IMP_algebra.BoundingBox1D_show(self, *args)
2751 
2752  def __str__(self):
2753  """__str__(BoundingBox1D self) -> std::string"""
2754  return _IMP_algebra.BoundingBox1D___str__(self)
2755 
2756  def __repr__(self):
2757  """__repr__(BoundingBox1D self) -> std::string"""
2758  return _IMP_algebra.BoundingBox1D___repr__(self)
2759 
2760  def __cmp__(self, *args):
2761  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2762  return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2763 
2764  def __getitem__(self, *args):
2765  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2766  return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2767 
2768  def __iadd__(self, *args):
2769  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2770  return self
2771 
2772 
2773  def __add__(self, *args):
2774  """__add__(BoundingBox1D self, BoundingBox1D o)"""
2775  return _IMP_algebra.BoundingBox1D___add__(self, *args)
2776 
2777  def __len__(self):
2778  """__len__(BoundingBox1D self) -> unsigned int"""
2779  return _IMP_algebra.BoundingBox1D___len__(self)
2780 
2781  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2782  __del__ = lambda self : None;
2783 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2784 BoundingBox1D_swigregister(BoundingBox1D)
2785 
2786 class BoundingBox2D(_object):
2787  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2788  __swig_setmethods__ = {}
2789  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox2D, name, value)
2790  __swig_getmethods__ = {}
2791  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox2D, name)
2792  def __init__(self, *args):
2793  """
2794  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2795  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2796  __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D lb, VectorInput2D ub) -> BoundingBox2D
2797  __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D v) -> BoundingBox2D
2798  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2799  """
2800  this = _IMP_algebra.new_BoundingBox2D(*args)
2801  try: self.this.append(this)
2802  except: self.this = this
2803  def get_dimension(self):
2804  """get_dimension(BoundingBox2D self) -> unsigned int"""
2805  return _IMP_algebra.BoundingBox2D_get_dimension(self)
2806 
2807  def get_corner(self, *args):
2808  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2809  return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2810 
2811  def get_contains(self, *args):
2812  """
2813  get_contains(BoundingBox2D self, Vector2D o) -> bool
2814  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2815  """
2816  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2817 
2818  def show(self, *args):
2819  """
2820  show(BoundingBox2D self, _ostream out=std::cout)
2821  show(BoundingBox2D self)
2822  """
2823  return _IMP_algebra.BoundingBox2D_show(self, *args)
2824 
2825  def __str__(self):
2826  """__str__(BoundingBox2D self) -> std::string"""
2827  return _IMP_algebra.BoundingBox2D___str__(self)
2828 
2829  def __repr__(self):
2830  """__repr__(BoundingBox2D self) -> std::string"""
2831  return _IMP_algebra.BoundingBox2D___repr__(self)
2832 
2833  def __cmp__(self, *args):
2834  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2835  return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2836 
2837  def __getitem__(self, *args):
2838  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2839  return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2840 
2841  def __iadd__(self, *args):
2842  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2843  return self
2844 
2845 
2846  def __add__(self, *args):
2847  """__add__(BoundingBox2D self, BoundingBox2D o)"""
2848  return _IMP_algebra.BoundingBox2D___add__(self, *args)
2849 
2850  def __len__(self):
2851  """__len__(BoundingBox2D self) -> unsigned int"""
2852  return _IMP_algebra.BoundingBox2D___len__(self)
2853 
2854  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2855  __del__ = lambda self : None;
2856 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2857 BoundingBox2D_swigregister(BoundingBox2D)
2858 
2859 class BoundingBox3D(_object):
2860  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2861  __swig_setmethods__ = {}
2862  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox3D, name, value)
2863  __swig_getmethods__ = {}
2864  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox3D, name)
2865  def __init__(self, *args):
2866  """
2867  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2868  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2869  __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D lb, VectorInput3D ub) -> BoundingBox3D
2870  __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D v) -> BoundingBox3D
2871  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2872  """
2873  this = _IMP_algebra.new_BoundingBox3D(*args)
2874  try: self.this.append(this)
2875  except: self.this = this
2876  def get_dimension(self):
2877  """get_dimension(BoundingBox3D self) -> unsigned int"""
2878  return _IMP_algebra.BoundingBox3D_get_dimension(self)
2879 
2880  def get_corner(self, *args):
2881  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2882  return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2883 
2884  def get_contains(self, *args):
2885  """
2886  get_contains(BoundingBox3D self, Vector3D o) -> bool
2887  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2888  """
2889  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2890 
2891  def show(self, *args):
2892  """
2893  show(BoundingBox3D self, _ostream out=std::cout)
2894  show(BoundingBox3D self)
2895  """
2896  return _IMP_algebra.BoundingBox3D_show(self, *args)
2897 
2898  def __str__(self):
2899  """__str__(BoundingBox3D self) -> std::string"""
2900  return _IMP_algebra.BoundingBox3D___str__(self)
2901 
2902  def __repr__(self):
2903  """__repr__(BoundingBox3D self) -> std::string"""
2904  return _IMP_algebra.BoundingBox3D___repr__(self)
2905 
2906  def __cmp__(self, *args):
2907  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
2908  return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
2909 
2910  def __getitem__(self, *args):
2911  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
2912  return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
2913 
2914  def __iadd__(self, *args):
2915  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
2916  return self
2917 
2918 
2919  def __add__(self, *args):
2920  """__add__(BoundingBox3D self, BoundingBox3D o)"""
2921  return _IMP_algebra.BoundingBox3D___add__(self, *args)
2922 
2923  def __len__(self):
2924  """__len__(BoundingBox3D self) -> unsigned int"""
2925  return _IMP_algebra.BoundingBox3D___len__(self)
2926 
2927  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
2928  __del__ = lambda self : None;
2929 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
2930 BoundingBox3D_swigregister(BoundingBox3D)
2931 
2932 class BoundingBox4D(_object):
2933  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
2934  __swig_setmethods__ = {}
2935  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox4D, name, value)
2936  __swig_getmethods__ = {}
2937  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox4D, name)
2938  def __init__(self, *args):
2939  """
2940  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
2941  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
2942  __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D lb, VectorInput4D ub) -> BoundingBox4D
2943  __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D v) -> BoundingBox4D
2944  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
2945  """
2946  this = _IMP_algebra.new_BoundingBox4D(*args)
2947  try: self.this.append(this)
2948  except: self.this = this
2949  def get_dimension(self):
2950  """get_dimension(BoundingBox4D self) -> unsigned int"""
2951  return _IMP_algebra.BoundingBox4D_get_dimension(self)
2952 
2953  def get_corner(self, *args):
2954  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
2955  return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
2956 
2957  def get_contains(self, *args):
2958  """
2959  get_contains(BoundingBox4D self, Vector4D o) -> bool
2960  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
2961  """
2962  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
2963 
2964  def show(self, *args):
2965  """
2966  show(BoundingBox4D self, _ostream out=std::cout)
2967  show(BoundingBox4D self)
2968  """
2969  return _IMP_algebra.BoundingBox4D_show(self, *args)
2970 
2971  def __str__(self):
2972  """__str__(BoundingBox4D self) -> std::string"""
2973  return _IMP_algebra.BoundingBox4D___str__(self)
2974 
2975  def __repr__(self):
2976  """__repr__(BoundingBox4D self) -> std::string"""
2977  return _IMP_algebra.BoundingBox4D___repr__(self)
2978 
2979  def __cmp__(self, *args):
2980  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
2981  return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
2982 
2983  def __getitem__(self, *args):
2984  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
2985  return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
2986 
2987  def __iadd__(self, *args):
2988  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
2989  return self
2990 
2991 
2992  def __add__(self, *args):
2993  """__add__(BoundingBox4D self, BoundingBox4D o)"""
2994  return _IMP_algebra.BoundingBox4D___add__(self, *args)
2995 
2996  def __len__(self):
2997  """__len__(BoundingBox4D self) -> unsigned int"""
2998  return _IMP_algebra.BoundingBox4D___len__(self)
2999 
3000  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3001  __del__ = lambda self : None;
3002 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3003 BoundingBox4D_swigregister(BoundingBox4D)
3004 
3005 class BoundingBox5D(_object):
3006  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3007  __swig_setmethods__ = {}
3008  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox5D, name, value)
3009  __swig_getmethods__ = {}
3010  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox5D, name)
3011  def __init__(self, *args):
3012  """
3013  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3014  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3015  __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D lb, VectorInput5D ub) -> BoundingBox5D
3016  __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D v) -> BoundingBox5D
3017  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3018  """
3019  this = _IMP_algebra.new_BoundingBox5D(*args)
3020  try: self.this.append(this)
3021  except: self.this = this
3022  def get_dimension(self):
3023  """get_dimension(BoundingBox5D self) -> unsigned int"""
3024  return _IMP_algebra.BoundingBox5D_get_dimension(self)
3025 
3026  def get_corner(self, *args):
3027  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3028  return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
3029 
3030  def get_contains(self, *args):
3031  """
3032  get_contains(BoundingBox5D self, Vector5D o) -> bool
3033  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3034  """
3035  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3036 
3037  def show(self, *args):
3038  """
3039  show(BoundingBox5D self, _ostream out=std::cout)
3040  show(BoundingBox5D self)
3041  """
3042  return _IMP_algebra.BoundingBox5D_show(self, *args)
3043 
3044  def __str__(self):
3045  """__str__(BoundingBox5D self) -> std::string"""
3046  return _IMP_algebra.BoundingBox5D___str__(self)
3047 
3048  def __repr__(self):
3049  """__repr__(BoundingBox5D self) -> std::string"""
3050  return _IMP_algebra.BoundingBox5D___repr__(self)
3051 
3052  def __cmp__(self, *args):
3053  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3054  return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
3055 
3056  def __getitem__(self, *args):
3057  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3058  return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3059 
3060  def __iadd__(self, *args):
3061  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3062  return self
3063 
3064 
3065  def __add__(self, *args):
3066  """__add__(BoundingBox5D self, BoundingBox5D o)"""
3067  return _IMP_algebra.BoundingBox5D___add__(self, *args)
3068 
3069  def __len__(self):
3070  """__len__(BoundingBox5D self) -> unsigned int"""
3071  return _IMP_algebra.BoundingBox5D___len__(self)
3072 
3073  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3074  __del__ = lambda self : None;
3075 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3076 BoundingBox5D_swigregister(BoundingBox5D)
3077 
3078 class BoundingBox6D(_object):
3079  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3080  __swig_setmethods__ = {}
3081  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox6D, name, value)
3082  __swig_getmethods__ = {}
3083  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox6D, name)
3084  def __init__(self, *args):
3085  """
3086  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3087  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3088  __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D lb, VectorInput6D ub) -> BoundingBox6D
3089  __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D v) -> BoundingBox6D
3090  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3091  """
3092  this = _IMP_algebra.new_BoundingBox6D(*args)
3093  try: self.this.append(this)
3094  except: self.this = this
3095  def get_dimension(self):
3096  """get_dimension(BoundingBox6D self) -> unsigned int"""
3097  return _IMP_algebra.BoundingBox6D_get_dimension(self)
3098 
3099  def get_corner(self, *args):
3100  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3101  return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3102 
3103  def get_contains(self, *args):
3104  """
3105  get_contains(BoundingBox6D self, Vector6D o) -> bool
3106  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3107  """
3108  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3109 
3110  def show(self, *args):
3111  """
3112  show(BoundingBox6D self, _ostream out=std::cout)
3113  show(BoundingBox6D self)
3114  """
3115  return _IMP_algebra.BoundingBox6D_show(self, *args)
3116 
3117  def __str__(self):
3118  """__str__(BoundingBox6D self) -> std::string"""
3119  return _IMP_algebra.BoundingBox6D___str__(self)
3120 
3121  def __repr__(self):
3122  """__repr__(BoundingBox6D self) -> std::string"""
3123  return _IMP_algebra.BoundingBox6D___repr__(self)
3124 
3125  def __cmp__(self, *args):
3126  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3127  return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3128 
3129  def __getitem__(self, *args):
3130  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3131  return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3132 
3133  def __iadd__(self, *args):
3134  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3135  return self
3136 
3137 
3138  def __add__(self, *args):
3139  """__add__(BoundingBox6D self, BoundingBox6D o)"""
3140  return _IMP_algebra.BoundingBox6D___add__(self, *args)
3141 
3142  def __len__(self):
3143  """__len__(BoundingBox6D self) -> unsigned int"""
3144  return _IMP_algebra.BoundingBox6D___len__(self)
3145 
3146  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3147  __del__ = lambda self : None;
3148 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3149 BoundingBox6D_swigregister(BoundingBox6D)
3150 
3151 class BoundingBoxKD(_object):
3152  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3153  __swig_setmethods__ = {}
3154  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBoxKD, name, value)
3155  __swig_getmethods__ = {}
3156  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBoxKD, name)
3157  def __init__(self, *args):
3158  """
3159  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3160  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3161  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD lb, VectorInputKD ub) -> BoundingBoxKD
3162  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD v) -> BoundingBoxKD
3163  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3164  """
3165  this = _IMP_algebra.new_BoundingBoxKD(*args)
3166  try: self.this.append(this)
3167  except: self.this = this
3168  def get_dimension(self):
3169  """get_dimension(BoundingBoxKD self) -> unsigned int"""
3170  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3171 
3172  def get_corner(self, *args):
3173  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3174  return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3175 
3176  def get_contains(self, *args):
3177  """
3178  get_contains(BoundingBoxKD self, VectorKD o) -> bool
3179  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3180  """
3181  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3182 
3183  def show(self, *args):
3184  """
3185  show(BoundingBoxKD self, _ostream out=std::cout)
3186  show(BoundingBoxKD self)
3187  """
3188  return _IMP_algebra.BoundingBoxKD_show(self, *args)
3189 
3190  def __str__(self):
3191  """__str__(BoundingBoxKD self) -> std::string"""
3192  return _IMP_algebra.BoundingBoxKD___str__(self)
3193 
3194  def __repr__(self):
3195  """__repr__(BoundingBoxKD self) -> std::string"""
3196  return _IMP_algebra.BoundingBoxKD___repr__(self)
3197 
3198  def __cmp__(self, *args):
3199  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3200  return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3201 
3202  def __getitem__(self, *args):
3203  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3204  return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3205 
3206  def __iadd__(self, *args):
3207  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3208  return self
3209 
3210 
3211  def __add__(self, *args):
3212  """__add__(BoundingBoxKD self, BoundingBoxKD o)"""
3213  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3214 
3215  def __len__(self):
3216  """__len__(BoundingBoxKD self) -> unsigned int"""
3217  return _IMP_algebra.BoundingBoxKD___len__(self)
3218 
3219  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3220  __del__ = lambda self : None;
3221 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3222 BoundingBoxKD_swigregister(BoundingBoxKD)
3223 
3224 class Sphere1D(_GeometricPrimitive1D):
3225  """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3226  __swig_setmethods__ = {}
3227  for _s in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3228  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere1D, name, value)
3229  __swig_getmethods__ = {}
3230  for _s in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3231  __getattr__ = lambda self, name: _swig_getattr(self, Sphere1D, name)
3232  def __init__(self, *args):
3233  """
3234  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3235  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3236  """
3237  this = _IMP_algebra.new_Sphere1D(*args)
3238  try: self.this.append(this)
3239  except: self.this = this
3240  def get_radius(self):
3241  """get_radius(Sphere1D self) -> double"""
3242  return _IMP_algebra.Sphere1D_get_radius(self)
3243 
3244  def get_center(self):
3245  """get_center(Sphere1D self) -> Vector1D"""
3246  return _IMP_algebra.Sphere1D_get_center(self)
3247 
3248  def get_contains(self, *args):
3249  """
3250  get_contains(Sphere1D self, Sphere1D o) -> bool
3251  get_contains(Sphere1D self, Vector1D p) -> bool
3252  """
3253  return _IMP_algebra.Sphere1D_get_contains(self, *args)
3254 
3255  def show(self, *args):
3256  """
3257  show(Sphere1D self, _ostream out=std::cout)
3258  show(Sphere1D self)
3259  """
3260  return _IMP_algebra.Sphere1D_show(self, *args)
3261 
3262  def get_dimension(self):
3263  """get_dimension(Sphere1D self) -> unsigned int"""
3264  return _IMP_algebra.Sphere1D_get_dimension(self)
3265 
3266  def __str__(self):
3267  """__str__(Sphere1D self) -> std::string"""
3268  return _IMP_algebra.Sphere1D___str__(self)
3269 
3270  def __repr__(self):
3271  """__repr__(Sphere1D self) -> std::string"""
3272  return _IMP_algebra.Sphere1D___repr__(self)
3273 
3274  def __cmp__(self, *args):
3275  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3276  return _IMP_algebra.Sphere1D___cmp__(self, *args)
3277 
3278  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3279  __del__ = lambda self : None;
3280 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3281 Sphere1D_swigregister(Sphere1D)
3282 
3283 class Sphere2D(_GeometricPrimitive2D):
3284  """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3285  __swig_setmethods__ = {}
3286  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3287  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere2D, name, value)
3288  __swig_getmethods__ = {}
3289  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3290  __getattr__ = lambda self, name: _swig_getattr(self, Sphere2D, name)
3291  def __init__(self, *args):
3292  """
3293  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3294  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3295  """
3296  this = _IMP_algebra.new_Sphere2D(*args)
3297  try: self.this.append(this)
3298  except: self.this = this
3299  def get_radius(self):
3300  """get_radius(Sphere2D self) -> double"""
3301  return _IMP_algebra.Sphere2D_get_radius(self)
3302 
3303  def get_center(self):
3304  """get_center(Sphere2D self) -> Vector2D"""
3305  return _IMP_algebra.Sphere2D_get_center(self)
3306 
3307  def get_contains(self, *args):
3308  """
3309  get_contains(Sphere2D self, Sphere2D o) -> bool
3310  get_contains(Sphere2D self, Vector2D p) -> bool
3311  """
3312  return _IMP_algebra.Sphere2D_get_contains(self, *args)
3313 
3314  def show(self, *args):
3315  """
3316  show(Sphere2D self, _ostream out=std::cout)
3317  show(Sphere2D self)
3318  """
3319  return _IMP_algebra.Sphere2D_show(self, *args)
3320 
3321  def get_dimension(self):
3322  """get_dimension(Sphere2D self) -> unsigned int"""
3323  return _IMP_algebra.Sphere2D_get_dimension(self)
3324 
3325  def __str__(self):
3326  """__str__(Sphere2D self) -> std::string"""
3327  return _IMP_algebra.Sphere2D___str__(self)
3328 
3329  def __repr__(self):
3330  """__repr__(Sphere2D self) -> std::string"""
3331  return _IMP_algebra.Sphere2D___repr__(self)
3332 
3333  def __cmp__(self, *args):
3334  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3335  return _IMP_algebra.Sphere2D___cmp__(self, *args)
3336 
3337  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3338  __del__ = lambda self : None;
3339 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3340 Sphere2D_swigregister(Sphere2D)
3341 
3342 class Sphere3D(_GeometricPrimitive3D):
3343  """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3344  __swig_setmethods__ = {}
3345  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3346  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere3D, name, value)
3347  __swig_getmethods__ = {}
3348  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3349  __getattr__ = lambda self, name: _swig_getattr(self, Sphere3D, name)
3350  def __init__(self, *args):
3351  """
3352  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3353  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3354  """
3355  this = _IMP_algebra.new_Sphere3D(*args)
3356  try: self.this.append(this)
3357  except: self.this = this
3358  def get_radius(self):
3359  """get_radius(Sphere3D self) -> double"""
3360  return _IMP_algebra.Sphere3D_get_radius(self)
3361 
3362  def get_center(self):
3363  """get_center(Sphere3D self) -> Vector3D"""
3364  return _IMP_algebra.Sphere3D_get_center(self)
3365 
3366  def get_contains(self, *args):
3367  """
3368  get_contains(Sphere3D self, Sphere3D o) -> bool
3369  get_contains(Sphere3D self, Vector3D p) -> bool
3370  """
3371  return _IMP_algebra.Sphere3D_get_contains(self, *args)
3372 
3373  def show(self, *args):
3374  """
3375  show(Sphere3D self, _ostream out=std::cout)
3376  show(Sphere3D self)
3377  """
3378  return _IMP_algebra.Sphere3D_show(self, *args)
3379 
3380  def get_dimension(self):
3381  """get_dimension(Sphere3D self) -> unsigned int"""
3382  return _IMP_algebra.Sphere3D_get_dimension(self)
3383 
3384  def __str__(self):
3385  """__str__(Sphere3D self) -> std::string"""
3386  return _IMP_algebra.Sphere3D___str__(self)
3387 
3388  def __repr__(self):
3389  """__repr__(Sphere3D self) -> std::string"""
3390  return _IMP_algebra.Sphere3D___repr__(self)
3391 
3392  def __cmp__(self, *args):
3393  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3394  return _IMP_algebra.Sphere3D___cmp__(self, *args)
3395 
3396  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3397  __del__ = lambda self : None;
3398 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3399 Sphere3D_swigregister(Sphere3D)
3400 
3401 class Sphere4D(_GeometricPrimitive4D):
3402  """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3403  __swig_setmethods__ = {}
3404  for _s in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3405  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere4D, name, value)
3406  __swig_getmethods__ = {}
3407  for _s in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3408  __getattr__ = lambda self, name: _swig_getattr(self, Sphere4D, name)
3409  def __init__(self, *args):
3410  """
3411  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3412  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3413  """
3414  this = _IMP_algebra.new_Sphere4D(*args)
3415  try: self.this.append(this)
3416  except: self.this = this
3417  def get_radius(self):
3418  """get_radius(Sphere4D self) -> double"""
3419  return _IMP_algebra.Sphere4D_get_radius(self)
3420 
3421  def get_center(self):
3422  """get_center(Sphere4D self) -> Vector4D"""
3423  return _IMP_algebra.Sphere4D_get_center(self)
3424 
3425  def get_contains(self, *args):
3426  """
3427  get_contains(Sphere4D self, Sphere4D o) -> bool
3428  get_contains(Sphere4D self, Vector4D p) -> bool
3429  """
3430  return _IMP_algebra.Sphere4D_get_contains(self, *args)
3431 
3432  def show(self, *args):
3433  """
3434  show(Sphere4D self, _ostream out=std::cout)
3435  show(Sphere4D self)
3436  """
3437  return _IMP_algebra.Sphere4D_show(self, *args)
3438 
3439  def get_dimension(self):
3440  """get_dimension(Sphere4D self) -> unsigned int"""
3441  return _IMP_algebra.Sphere4D_get_dimension(self)
3442 
3443  def __str__(self):
3444  """__str__(Sphere4D self) -> std::string"""
3445  return _IMP_algebra.Sphere4D___str__(self)
3446 
3447  def __repr__(self):
3448  """__repr__(Sphere4D self) -> std::string"""
3449  return _IMP_algebra.Sphere4D___repr__(self)
3450 
3451  def __cmp__(self, *args):
3452  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3453  return _IMP_algebra.Sphere4D___cmp__(self, *args)
3454 
3455  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3456  __del__ = lambda self : None;
3457 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3458 Sphere4D_swigregister(Sphere4D)
3459 
3460 class Sphere5D(_GeometricPrimitive5D):
3461  """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3462  __swig_setmethods__ = {}
3463  for _s in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3464  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere5D, name, value)
3465  __swig_getmethods__ = {}
3466  for _s in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3467  __getattr__ = lambda self, name: _swig_getattr(self, Sphere5D, name)
3468  def __init__(self, *args):
3469  """
3470  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3471  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3472  """
3473  this = _IMP_algebra.new_Sphere5D(*args)
3474  try: self.this.append(this)
3475  except: self.this = this
3476  def get_radius(self):
3477  """get_radius(Sphere5D self) -> double"""
3478  return _IMP_algebra.Sphere5D_get_radius(self)
3479 
3480  def get_center(self):
3481  """get_center(Sphere5D self) -> Vector5D"""
3482  return _IMP_algebra.Sphere5D_get_center(self)
3483 
3484  def get_contains(self, *args):
3485  """
3486  get_contains(Sphere5D self, Sphere5D o) -> bool
3487  get_contains(Sphere5D self, Vector5D p) -> bool
3488  """
3489  return _IMP_algebra.Sphere5D_get_contains(self, *args)
3490 
3491  def show(self, *args):
3492  """
3493  show(Sphere5D self, _ostream out=std::cout)
3494  show(Sphere5D self)
3495  """
3496  return _IMP_algebra.Sphere5D_show(self, *args)
3497 
3498  def get_dimension(self):
3499  """get_dimension(Sphere5D self) -> unsigned int"""
3500  return _IMP_algebra.Sphere5D_get_dimension(self)
3501 
3502  def __str__(self):
3503  """__str__(Sphere5D self) -> std::string"""
3504  return _IMP_algebra.Sphere5D___str__(self)
3505 
3506  def __repr__(self):
3507  """__repr__(Sphere5D self) -> std::string"""
3508  return _IMP_algebra.Sphere5D___repr__(self)
3509 
3510  def __cmp__(self, *args):
3511  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3512  return _IMP_algebra.Sphere5D___cmp__(self, *args)
3513 
3514  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3515  __del__ = lambda self : None;
3516 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3517 Sphere5D_swigregister(Sphere5D)
3518 
3519 class Sphere6D(_GeometricPrimitive6D):
3520  """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3521  __swig_setmethods__ = {}
3522  for _s in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3523  __setattr__ = lambda self, name, value: _swig_setattr(self, Sphere6D, name, value)
3524  __swig_getmethods__ = {}
3525  for _s in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3526  __getattr__ = lambda self, name: _swig_getattr(self, Sphere6D, name)
3527  def __init__(self, *args):
3528  """
3529  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3530  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3531  """
3532  this = _IMP_algebra.new_Sphere6D(*args)
3533  try: self.this.append(this)
3534  except: self.this = this
3535  def get_radius(self):
3536  """get_radius(Sphere6D self) -> double"""
3537  return _IMP_algebra.Sphere6D_get_radius(self)
3538 
3539  def get_center(self):
3540  """get_center(Sphere6D self) -> Vector6D"""
3541  return _IMP_algebra.Sphere6D_get_center(self)
3542 
3543  def get_contains(self, *args):
3544  """
3545  get_contains(Sphere6D self, Sphere6D o) -> bool
3546  get_contains(Sphere6D self, Vector6D p) -> bool
3547  """
3548  return _IMP_algebra.Sphere6D_get_contains(self, *args)
3549 
3550  def show(self, *args):
3551  """
3552  show(Sphere6D self, _ostream out=std::cout)
3553  show(Sphere6D self)
3554  """
3555  return _IMP_algebra.Sphere6D_show(self, *args)
3556 
3557  def get_dimension(self):
3558  """get_dimension(Sphere6D self) -> unsigned int"""
3559  return _IMP_algebra.Sphere6D_get_dimension(self)
3560 
3561  def __str__(self):
3562  """__str__(Sphere6D self) -> std::string"""
3563  return _IMP_algebra.Sphere6D___str__(self)
3564 
3565  def __repr__(self):
3566  """__repr__(Sphere6D self) -> std::string"""
3567  return _IMP_algebra.Sphere6D___repr__(self)
3568 
3569  def __cmp__(self, *args):
3570  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3571  return _IMP_algebra.Sphere6D___cmp__(self, *args)
3572 
3573  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3574  __del__ = lambda self : None;
3575 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3576 Sphere6D_swigregister(Sphere6D)
3577 
3578 class SphereKD(_GeometricPrimitiveKD):
3579  """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3580  __swig_setmethods__ = {}
3581  for _s in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3582  __setattr__ = lambda self, name, value: _swig_setattr(self, SphereKD, name, value)
3583  __swig_getmethods__ = {}
3584  for _s in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3585  __getattr__ = lambda self, name: _swig_getattr(self, SphereKD, name)
3586  def __init__(self, *args):
3587  """
3588  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3589  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3590  """
3591  this = _IMP_algebra.new_SphereKD(*args)
3592  try: self.this.append(this)
3593  except: self.this = this
3594  def get_radius(self):
3595  """get_radius(SphereKD self) -> double"""
3596  return _IMP_algebra.SphereKD_get_radius(self)
3597 
3598  def get_center(self):
3599  """get_center(SphereKD self) -> VectorKD"""
3600  return _IMP_algebra.SphereKD_get_center(self)
3601 
3602  def get_contains(self, *args):
3603  """
3604  get_contains(SphereKD self, SphereKD o) -> bool
3605  get_contains(SphereKD self, VectorKD p) -> bool
3606  """
3607  return _IMP_algebra.SphereKD_get_contains(self, *args)
3608 
3609  def show(self, *args):
3610  """
3611  show(SphereKD self, _ostream out=std::cout)
3612  show(SphereKD self)
3613  """
3614  return _IMP_algebra.SphereKD_show(self, *args)
3615 
3616  def get_dimension(self):
3617  """get_dimension(SphereKD self) -> unsigned int"""
3618  return _IMP_algebra.SphereKD_get_dimension(self)
3619 
3620  def __str__(self):
3621  """__str__(SphereKD self) -> std::string"""
3622  return _IMP_algebra.SphereKD___str__(self)
3623 
3624  def __repr__(self):
3625  """__repr__(SphereKD self) -> std::string"""
3626  return _IMP_algebra.SphereKD___repr__(self)
3627 
3628  def __cmp__(self, *args):
3629  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3630  return _IMP_algebra.SphereKD___cmp__(self, *args)
3631 
3632  __swig_destroy__ = _IMP_algebra.delete_SphereKD
3633  __del__ = lambda self : None;
3634 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3635 SphereKD_swigregister(SphereKD)
3636 
3637 class ReferenceFrame3D(_object):
3638  """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3639  __swig_setmethods__ = {}
3640  __setattr__ = lambda self, name, value: _swig_setattr(self, ReferenceFrame3D, name, value)
3641  __swig_getmethods__ = {}
3642  __getattr__ = lambda self, name: _swig_getattr(self, ReferenceFrame3D, name)
3643  def __init__(self, *args):
3644  """
3645  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3646  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3647  """
3648  this = _IMP_algebra.new_ReferenceFrame3D(*args)
3649  try: self.this.append(this)
3650  except: self.this = this
3651  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3652  __del__ = lambda self : None;
3653  def get_transformation_to(self):
3654  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3655  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3656 
3657  def get_transformation_from(self):
3658  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3659  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3660 
3661  def get_global_coordinates(self, *args):
3662  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3663  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3664 
3665  def get_local_coordinates(self, *args):
3666  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3667  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3668 
3669  def get_global_reference_frame(self, *args):
3670  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3671  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3672 
3673  def get_local_reference_frame(self, *args):
3674  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3675  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3676 
3677  def show(self, *args):
3678  """
3679  show(ReferenceFrame3D self, _ostream out=std::cout)
3680  show(ReferenceFrame3D self)
3681  """
3682  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3683 
3684  def __str__(self):
3685  """__str__(ReferenceFrame3D self) -> std::string"""
3686  return _IMP_algebra.ReferenceFrame3D___str__(self)
3687 
3688  def __repr__(self):
3689  """__repr__(ReferenceFrame3D self) -> std::string"""
3690  return _IMP_algebra.ReferenceFrame3D___repr__(self)
3691 
3692 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3693 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3694 
3695 
3696 def get_transformed(*args):
3697  """
3698  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3699  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3700  """
3701  return _IMP_algebra.get_transformed(*args)
3702 
3703 def get_transformation_from_first_to_second(*args):
3704  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3705  return _IMP_algebra.get_transformation_from_first_to_second(*args)
3706 class SphericalVector3D(_GeometricPrimitive3D):
3707  """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3708  __swig_setmethods__ = {}
3709  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3710  __setattr__ = lambda self, name, value: _swig_setattr(self, SphericalVector3D, name, value)
3711  __swig_getmethods__ = {}
3712  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3713  __getattr__ = lambda self, name: _swig_getattr(self, SphericalVector3D, name)
3714  def __init__(self, *args):
3715  """
3716  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3717  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3718  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3719  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3720  """
3721  this = _IMP_algebra.new_SphericalVector3D(*args)
3722  try: self.this.append(this)
3723  except: self.this = this
3724  def get_cartesian_coordinates(self):
3725  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3726  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3727 
3728  def show(self, *args):
3729  """
3730  show(SphericalVector3D self, _ostream out=std::cout)
3731  show(SphericalVector3D self)
3732  """
3733  return _IMP_algebra.SphericalVector3D_show(self, *args)
3734 
3735  def __str__(self):
3736  """__str__(SphericalVector3D self) -> std::string"""
3737  return _IMP_algebra.SphericalVector3D___str__(self)
3738 
3739  def __repr__(self):
3740  """__repr__(SphericalVector3D self) -> std::string"""
3741  return _IMP_algebra.SphericalVector3D___repr__(self)
3742 
3743  def __getitem__(self, *args):
3744  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3745  return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3746 
3747  def __setitem__(self, *args):
3748  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3749  return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3750 
3751  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3752  __del__ = lambda self : None;
3753 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3754 SphericalVector3D_swigregister(SphericalVector3D)
3755 
3756 
3758  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3759  return _IMP_algebra.get_alignments_from_first_to_second(*args)
3760 class Segment3D(_GeometricPrimitive3D):
3761  """Proxy of C++ IMP::algebra::Segment3D class"""
3762  __swig_setmethods__ = {}
3763  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3764  __setattr__ = lambda self, name, value: _swig_setattr(self, Segment3D, name, value)
3765  __swig_getmethods__ = {}
3766  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3767  __getattr__ = lambda self, name: _swig_getattr(self, Segment3D, name)
3768  def __init__(self, *args):
3769  """
3770  __init__(IMP::algebra::Segment3D self) -> Segment3D
3771  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3772  """
3773  this = _IMP_algebra.new_Segment3D(*args)
3774  try: self.this.append(this)
3775  except: self.this = this
3776  def get_point(self, *args):
3777  """get_point(Segment3D self, unsigned int i) -> Vector3D"""
3778  return _IMP_algebra.Segment3D_get_point(self, *args)
3779 
3780  def get_middle_point(self):
3781  """get_middle_point(Segment3D self) -> Vector3D"""
3782  return _IMP_algebra.Segment3D_get_middle_point(self)
3783 
3784  def get_direction(self):
3785  """get_direction(Segment3D self) -> Vector3D"""
3786  return _IMP_algebra.Segment3D_get_direction(self)
3787 
3788  def get_length(self):
3789  """get_length(Segment3D self) -> double"""
3790  return _IMP_algebra.Segment3D_get_length(self)
3791 
3792  def show(self, *args):
3793  """
3794  show(Segment3D self, _ostream out=std::cout)
3795  show(Segment3D self)
3796  """
3797  return _IMP_algebra.Segment3D_show(self, *args)
3798 
3799  def __str__(self):
3800  """__str__(Segment3D self) -> std::string"""
3801  return _IMP_algebra.Segment3D___str__(self)
3802 
3803  def __repr__(self):
3804  """__repr__(Segment3D self) -> std::string"""
3805  return _IMP_algebra.Segment3D___repr__(self)
3806 
3807  __swig_destroy__ = _IMP_algebra.delete_Segment3D
3808  __del__ = lambda self : None;
3809 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3810 Segment3D_swigregister(Segment3D)
3811 
3812 
3813 def get_segment_3d_geometry(*args):
3814  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3815  return _IMP_algebra.get_segment_3d_geometry(*args)
3816 
3818  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3819  return _IMP_algebra.get_relative_projection_on_segment(*args)
3820 class Triangle3D(_GeometricPrimitive3D):
3821  """Proxy of C++ IMP::algebra::Triangle3D class"""
3822  __swig_setmethods__ = {}
3823  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3824  __setattr__ = lambda self, name, value: _swig_setattr(self, Triangle3D, name, value)
3825  __swig_getmethods__ = {}
3826  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3827  __getattr__ = lambda self, name: _swig_getattr(self, Triangle3D, name)
3828  def __init__(self, *args):
3829  """
3830  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3831  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3832  """
3833  this = _IMP_algebra.new_Triangle3D(*args)
3834  try: self.this.append(this)
3835  except: self.this = this
3836  def get_point(self, *args):
3837  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3838  return _IMP_algebra.Triangle3D_get_point(self, *args)
3839 
3840  def show(self, *args):
3841  """
3842  show(Triangle3D self, _ostream out=std::cout)
3843  show(Triangle3D self)
3844  """
3845  return _IMP_algebra.Triangle3D_show(self, *args)
3846 
3847  def get_edge_lengths(self):
3848  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3849  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3850 
3851  def __str__(self):
3852  """__str__(Triangle3D self) -> std::string"""
3853  return _IMP_algebra.Triangle3D___str__(self)
3854 
3855  def __repr__(self):
3856  """__repr__(Triangle3D self) -> std::string"""
3857  return _IMP_algebra.Triangle3D___repr__(self)
3858 
3859  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3860  __del__ = lambda self : None;
3861 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3862 Triangle3D_swigregister(Triangle3D)
3863 
3864 
3865 def get_largest_triangle(*args):
3866  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3867  return _IMP_algebra.get_largest_triangle(*args)
3868 
3870  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3871  return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3872 
3873 def get_are_colinear(*args):
3874  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3875  return _IMP_algebra.get_are_colinear(*args)
3876 class LinearFit2D(_GeometricPrimitive2D):
3877  """Proxy of C++ IMP::algebra::LinearFit2D class"""
3878  __swig_setmethods__ = {}
3879  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3880  __setattr__ = lambda self, name, value: _swig_setattr(self, LinearFit2D, name, value)
3881  __swig_getmethods__ = {}
3882  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3883  __getattr__ = lambda self, name: _swig_getattr(self, LinearFit2D, name)
3884  def __init__(self, *args):
3885  """
3886  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3887  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3888  """
3889  this = _IMP_algebra.new_LinearFit2D(*args)
3890  try: self.this.append(this)
3891  except: self.this = this
3892  def get_fit_error(self):
3893  """get_fit_error(LinearFit2D self) -> double"""
3894  return _IMP_algebra.LinearFit2D_get_fit_error(self)
3895 
3896  def get_a(self):
3897  """get_a(LinearFit2D self) -> double"""
3898  return _IMP_algebra.LinearFit2D_get_a(self)
3899 
3900  def get_b(self):
3901  """get_b(LinearFit2D self) -> double"""
3902  return _IMP_algebra.LinearFit2D_get_b(self)
3903 
3904  def show(self, *args):
3905  """
3906  show(LinearFit2D self, _ostream out=std::cout)
3907  show(LinearFit2D self)
3908  """
3909  return _IMP_algebra.LinearFit2D_show(self, *args)
3910 
3911  def __str__(self):
3912  """__str__(LinearFit2D self) -> std::string"""
3913  return _IMP_algebra.LinearFit2D___str__(self)
3914 
3915  def __repr__(self):
3916  """__repr__(LinearFit2D self) -> std::string"""
3917  return _IMP_algebra.LinearFit2D___repr__(self)
3918 
3919  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
3920  __del__ = lambda self : None;
3921 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
3922 LinearFit2D_swigregister(LinearFit2D)
3923 
3924 class ParabolicFit2D(_GeometricPrimitive2D):
3925  """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
3926  __swig_setmethods__ = {}
3927  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3928  __setattr__ = lambda self, name, value: _swig_setattr(self, ParabolicFit2D, name, value)
3929  __swig_getmethods__ = {}
3930  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3931  __getattr__ = lambda self, name: _swig_getattr(self, ParabolicFit2D, name)
3932  def __init__(self, *args):
3933  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
3934  this = _IMP_algebra.new_ParabolicFit2D(*args)
3935  try: self.this.append(this)
3936  except: self.this = this
3937  def get_fit_error(self):
3938  """get_fit_error(ParabolicFit2D self) -> double"""
3939  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
3940 
3941  def get_a(self):
3942  """get_a(ParabolicFit2D self) -> double"""
3943  return _IMP_algebra.ParabolicFit2D_get_a(self)
3944 
3945  def get_b(self):
3946  """get_b(ParabolicFit2D self) -> double"""
3947  return _IMP_algebra.ParabolicFit2D_get_b(self)
3948 
3949  def get_c(self):
3950  """get_c(ParabolicFit2D self) -> double"""
3951  return _IMP_algebra.ParabolicFit2D_get_c(self)
3952 
3953  def show(self, *args):
3954  """
3955  show(ParabolicFit2D self, _ostream out=std::cout)
3956  show(ParabolicFit2D self)
3957  """
3958  return _IMP_algebra.ParabolicFit2D_show(self, *args)
3959 
3960  def __str__(self):
3961  """__str__(ParabolicFit2D self) -> std::string"""
3962  return _IMP_algebra.ParabolicFit2D___str__(self)
3963 
3964  def __repr__(self):
3965  """__repr__(ParabolicFit2D self) -> std::string"""
3966  return _IMP_algebra.ParabolicFit2D___repr__(self)
3967 
3968  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
3969  __del__ = lambda self : None;
3970 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
3971 ParabolicFit2D_swigregister(ParabolicFit2D)
3972 
3973 class Plane3D(_GeometricPrimitive3D):
3974  """Proxy of C++ IMP::algebra::Plane3D class"""
3975  __swig_setmethods__ = {}
3976  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3977  __setattr__ = lambda self, name, value: _swig_setattr(self, Plane3D, name, value)
3978  __swig_getmethods__ = {}
3979  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3980  __getattr__ = lambda self, name: _swig_getattr(self, Plane3D, name)
3981  def __init__(self, *args):
3982  """
3983  __init__(IMP::algebra::Plane3D self) -> Plane3D
3984  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
3985  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
3986  """
3987  this = _IMP_algebra.new_Plane3D(*args)
3988  try: self.this.append(this)
3989  except: self.this = this
3990  def get_point_on_plane(self):
3991  """get_point_on_plane(Plane3D self) -> Vector3D"""
3992  return _IMP_algebra.Plane3D_get_point_on_plane(self)
3993 
3994  def get_normal(self):
3995  """get_normal(Plane3D self) -> Vector3D"""
3996  return _IMP_algebra.Plane3D_get_normal(self)
3997 
3998  def get_projected(self, *args):
3999  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4000  return _IMP_algebra.Plane3D_get_projected(self, *args)
4001 
4002  def get_projection(self, *args):
4003  """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
4004  return _IMP_algebra.Plane3D_get_projection(self, *args)
4005 
4006  def get_is_above(self, *args):
4007  """get_is_above(Plane3D self, Vector3D p) -> bool"""
4008  return _IMP_algebra.Plane3D_get_is_above(self, *args)
4009 
4010  def get_is_below(self, *args):
4011  """get_is_below(Plane3D self, Vector3D p) -> bool"""
4012  return _IMP_algebra.Plane3D_get_is_below(self, *args)
4013 
4014  def get_height(self, *args):
4015  """get_height(Plane3D self, Vector3D p) -> double"""
4016  return _IMP_algebra.Plane3D_get_height(self, *args)
4017 
4018  def show(self, *args):
4019  """
4020  show(Plane3D self, _ostream out=std::cout)
4021  show(Plane3D self)
4022  """
4023  return _IMP_algebra.Plane3D_show(self, *args)
4024 
4025  def get_opposite(self):
4026  """get_opposite(Plane3D self) -> Plane3D"""
4027  return _IMP_algebra.Plane3D_get_opposite(self)
4028 
4029  def get_distance_from_origin(self):
4030  """get_distance_from_origin(Plane3D self) -> double"""
4031  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4032 
4033  def __str__(self):
4034  """__str__(Plane3D self) -> std::string"""
4035  return _IMP_algebra.Plane3D___str__(self)
4036 
4037  def __repr__(self):
4038  """__repr__(Plane3D self) -> std::string"""
4039  return _IMP_algebra.Plane3D___repr__(self)
4040 
4041  __swig_destroy__ = _IMP_algebra.delete_Plane3D
4042  __del__ = lambda self : None;
4043 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4044 Plane3D_swigregister(Plane3D)
4045 
4046 
4047 def get_reflected(*args):
4048  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4049  return _IMP_algebra.get_reflected(*args)
4050 
4051 def get_plane_3d_geometry(*args):
4052  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4053  return _IMP_algebra.get_plane_3d_geometry(*args)
4054 class Reflection3D(_GeometricPrimitive3D):
4055  """Proxy of C++ IMP::algebra::Reflection3D class"""
4056  __swig_setmethods__ = {}
4057  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4058  __setattr__ = lambda self, name, value: _swig_setattr(self, Reflection3D, name, value)
4059  __swig_getmethods__ = {}
4060  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4061  __getattr__ = lambda self, name: _swig_getattr(self, Reflection3D, name)
4062  def __init__(self, *args):
4063  """
4064  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4065  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4066  """
4067  this = _IMP_algebra.new_Reflection3D(*args)
4068  try: self.this.append(this)
4069  except: self.this = this
4070  def get_reflected(self, *args):
4071  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4072  return _IMP_algebra.Reflection3D_get_reflected(self, *args)
4073 
4074  def show(self, *args):
4075  """
4076  show(Reflection3D self, _ostream out=std::cout)
4077  show(Reflection3D self)
4078  """
4079  return _IMP_algebra.Reflection3D_show(self, *args)
4080 
4081  def __str__(self):
4082  """__str__(Reflection3D self) -> std::string"""
4083  return _IMP_algebra.Reflection3D___str__(self)
4084 
4085  def __repr__(self):
4086  """__repr__(Reflection3D self) -> std::string"""
4087  return _IMP_algebra.Reflection3D___repr__(self)
4088 
4089  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4090  __del__ = lambda self : None;
4091 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4092 Reflection3D_swigregister(Reflection3D)
4093 
4094 class Cylinder3D(_GeometricPrimitive3D):
4095  """Proxy of C++ IMP::algebra::Cylinder3D class"""
4096  __swig_setmethods__ = {}
4097  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4098  __setattr__ = lambda self, name, value: _swig_setattr(self, Cylinder3D, name, value)
4099  __swig_getmethods__ = {}
4100  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4101  __getattr__ = lambda self, name: _swig_getattr(self, Cylinder3D, name)
4102  def __init__(self, *args):
4103  """
4104  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4105  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4106  """
4107  this = _IMP_algebra.new_Cylinder3D(*args)
4108  try: self.this.append(this)
4109  except: self.this = this
4110  def get_radius(self):
4111  """get_radius(Cylinder3D self) -> double"""
4112  return _IMP_algebra.Cylinder3D_get_radius(self)
4113 
4114  def get_segment(self):
4115  """get_segment(Cylinder3D self) -> Segment3D"""
4116  return _IMP_algebra.Cylinder3D_get_segment(self)
4117 
4118  def get_surface_point_at(self, *args):
4119  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4120  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4121 
4122  def get_inner_point_at(self, *args):
4123  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4124  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4125 
4126  def show(self, *args):
4127  """
4128  show(Cylinder3D self, _ostream out=std::cout)
4129  show(Cylinder3D self)
4130  """
4131  return _IMP_algebra.Cylinder3D_show(self, *args)
4132 
4133  def __str__(self):
4134  """__str__(Cylinder3D self) -> std::string"""
4135  return _IMP_algebra.Cylinder3D___str__(self)
4136 
4137  def __repr__(self):
4138  """__repr__(Cylinder3D self) -> std::string"""
4139  return _IMP_algebra.Cylinder3D___repr__(self)
4140 
4141  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4142  __del__ = lambda self : None;
4143 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4144 Cylinder3D_swigregister(Cylinder3D)
4145 
4146 
4147 def get_cylinder_3d_geometry(*args):
4148  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4149  return _IMP_algebra.get_cylinder_3d_geometry(*args)
4150 class Ellipsoid3D(_GeometricPrimitive3D):
4151  """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4152  __swig_setmethods__ = {}
4153  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4154  __setattr__ = lambda self, name, value: _swig_setattr(self, Ellipsoid3D, name, value)
4155  __swig_getmethods__ = {}
4156  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4157  __getattr__ = lambda self, name: _swig_getattr(self, Ellipsoid3D, name)
4158  def __init__(self, *args):
4159  """
4160  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4161  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4162  """
4163  this = _IMP_algebra.new_Ellipsoid3D(*args)
4164  try: self.this.append(this)
4165  except: self.this = this
4166  def get_radius(self, *args):
4167  """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4168  return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4169 
4170  def get_center(self):
4171  """get_center(Ellipsoid3D self) -> Vector3D"""
4172  return _IMP_algebra.Ellipsoid3D_get_center(self)
4173 
4174  def get_rotation(self):
4175  """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4176  return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4177 
4178  def get_transformation(self):
4179  """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4180  return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4181 
4182  def show(self, *args):
4183  """
4184  show(Ellipsoid3D self, _ostream out=std::cout)
4185  show(Ellipsoid3D self)
4186  """
4187  return _IMP_algebra.Ellipsoid3D_show(self, *args)
4188 
4189  def __str__(self):
4190  """__str__(Ellipsoid3D self) -> std::string"""
4191  return _IMP_algebra.Ellipsoid3D___str__(self)
4192 
4193  def __repr__(self):
4194  """__repr__(Ellipsoid3D self) -> std::string"""
4195  return _IMP_algebra.Ellipsoid3D___repr__(self)
4196 
4197  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4198  __del__ = lambda self : None;
4199 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4200 Ellipsoid3D_swigregister(Ellipsoid3D)
4201 
4202 
4203 def get_ellipsoid_3d_geometry(*args):
4204  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4205  return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4206 class GridIndex1D(IMP.base._Value):
4207  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
4208  __swig_setmethods__ = {}
4209  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4210  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex1D, name, value)
4211  __swig_getmethods__ = {}
4212  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4213  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex1D, name)
4214  def __init__(self):
4215  """__init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D"""
4216  this = _IMP_algebra.new_GridIndex1D()
4217  try: self.this.append(this)
4218  except: self.this = this
4219  def get_dimension(self):
4220  """get_dimension(GridIndex1D self) -> unsigned int"""
4221  return _IMP_algebra.GridIndex1D_get_dimension(self)
4222 
4223  def __getitem__(self, *args):
4224  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
4225  return _IMP_algebra.GridIndex1D___getitem__(self, *args)
4226 
4227  def show(self, *args):
4228  """
4229  show(GridIndex1D self, _ostream out=std::cout)
4230  show(GridIndex1D self)
4231  """
4232  return _IMP_algebra.GridIndex1D_show(self, *args)
4233 
4234  def __len__(self):
4235  """__len__(GridIndex1D self) -> unsigned int"""
4236  return _IMP_algebra.GridIndex1D___len__(self)
4237 
4238  def __eq__(self, *args):
4239  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
4240  return _IMP_algebra.GridIndex1D___eq__(self, *args)
4241 
4242  def __ne__(self, *args):
4243  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
4244  return _IMP_algebra.GridIndex1D___ne__(self, *args)
4245 
4246  def __lt__(self, *args):
4247  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
4248  return _IMP_algebra.GridIndex1D___lt__(self, *args)
4249 
4250  def __gt__(self, *args):
4251  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
4252  return _IMP_algebra.GridIndex1D___gt__(self, *args)
4253 
4254  def __ge__(self, *args):
4255  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
4256  return _IMP_algebra.GridIndex1D___ge__(self, *args)
4257 
4258  def __le__(self, *args):
4259  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
4260  return _IMP_algebra.GridIndex1D___le__(self, *args)
4261 
4262  def __hash__(self):
4263  """__hash__(GridIndex1D self) -> std::size_t"""
4264  return _IMP_algebra.GridIndex1D___hash__(self)
4265 
4266  def __str__(self):
4267  """__str__(GridIndex1D self) -> std::string"""
4268  return _IMP_algebra.GridIndex1D___str__(self)
4269 
4270  def __repr__(self):
4271  """__repr__(GridIndex1D self) -> std::string"""
4272  return _IMP_algebra.GridIndex1D___repr__(self)
4273 
4274  def __cmp__(self, *args):
4275  """__cmp__(GridIndex1D self, GridIndex1D arg2) -> int"""
4276  return _IMP_algebra.GridIndex1D___cmp__(self, *args)
4277 
4278  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
4279  __del__ = lambda self : None;
4280 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
4281 GridIndex1D_swigregister(GridIndex1D)
4282 
4283 class GridIndex2D(IMP.base._Value):
4284  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
4285  __swig_setmethods__ = {}
4286  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4287  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex2D, name, value)
4288  __swig_getmethods__ = {}
4289  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4290  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex2D, name)
4291  def __init__(self):
4292  """__init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D"""
4293  this = _IMP_algebra.new_GridIndex2D()
4294  try: self.this.append(this)
4295  except: self.this = this
4296  def get_dimension(self):
4297  """get_dimension(GridIndex2D self) -> unsigned int"""
4298  return _IMP_algebra.GridIndex2D_get_dimension(self)
4299 
4300  def __getitem__(self, *args):
4301  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
4302  return _IMP_algebra.GridIndex2D___getitem__(self, *args)
4303 
4304  def show(self, *args):
4305  """
4306  show(GridIndex2D self, _ostream out=std::cout)
4307  show(GridIndex2D self)
4308  """
4309  return _IMP_algebra.GridIndex2D_show(self, *args)
4310 
4311  def __len__(self):
4312  """__len__(GridIndex2D self) -> unsigned int"""
4313  return _IMP_algebra.GridIndex2D___len__(self)
4314 
4315  def __eq__(self, *args):
4316  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
4317  return _IMP_algebra.GridIndex2D___eq__(self, *args)
4318 
4319  def __ne__(self, *args):
4320  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
4321  return _IMP_algebra.GridIndex2D___ne__(self, *args)
4322 
4323  def __lt__(self, *args):
4324  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
4325  return _IMP_algebra.GridIndex2D___lt__(self, *args)
4326 
4327  def __gt__(self, *args):
4328  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
4329  return _IMP_algebra.GridIndex2D___gt__(self, *args)
4330 
4331  def __ge__(self, *args):
4332  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
4333  return _IMP_algebra.GridIndex2D___ge__(self, *args)
4334 
4335  def __le__(self, *args):
4336  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
4337  return _IMP_algebra.GridIndex2D___le__(self, *args)
4338 
4339  def __hash__(self):
4340  """__hash__(GridIndex2D self) -> std::size_t"""
4341  return _IMP_algebra.GridIndex2D___hash__(self)
4342 
4343  def __str__(self):
4344  """__str__(GridIndex2D self) -> std::string"""
4345  return _IMP_algebra.GridIndex2D___str__(self)
4346 
4347  def __repr__(self):
4348  """__repr__(GridIndex2D self) -> std::string"""
4349  return _IMP_algebra.GridIndex2D___repr__(self)
4350 
4351  def __cmp__(self, *args):
4352  """__cmp__(GridIndex2D self, GridIndex2D arg2) -> int"""
4353  return _IMP_algebra.GridIndex2D___cmp__(self, *args)
4354 
4355  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
4356  __del__ = lambda self : None;
4357 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
4358 GridIndex2D_swigregister(GridIndex2D)
4359 
4360 class GridIndex3D(IMP.base._Value):
4361  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
4362  __swig_setmethods__ = {}
4363  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4364  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex3D, name, value)
4365  __swig_getmethods__ = {}
4366  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4367  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex3D, name)
4368  def __init__(self):
4369  """__init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D"""
4370  this = _IMP_algebra.new_GridIndex3D()
4371  try: self.this.append(this)
4372  except: self.this = this
4373  def get_dimension(self):
4374  """get_dimension(GridIndex3D self) -> unsigned int"""
4375  return _IMP_algebra.GridIndex3D_get_dimension(self)
4376 
4377  def __getitem__(self, *args):
4378  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
4379  return _IMP_algebra.GridIndex3D___getitem__(self, *args)
4380 
4381  def show(self, *args):
4382  """
4383  show(GridIndex3D self, _ostream out=std::cout)
4384  show(GridIndex3D self)
4385  """
4386  return _IMP_algebra.GridIndex3D_show(self, *args)
4387 
4388  def __len__(self):
4389  """__len__(GridIndex3D self) -> unsigned int"""
4390  return _IMP_algebra.GridIndex3D___len__(self)
4391 
4392  def __eq__(self, *args):
4393  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
4394  return _IMP_algebra.GridIndex3D___eq__(self, *args)
4395 
4396  def __ne__(self, *args):
4397  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
4398  return _IMP_algebra.GridIndex3D___ne__(self, *args)
4399 
4400  def __lt__(self, *args):
4401  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
4402  return _IMP_algebra.GridIndex3D___lt__(self, *args)
4403 
4404  def __gt__(self, *args):
4405  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
4406  return _IMP_algebra.GridIndex3D___gt__(self, *args)
4407 
4408  def __ge__(self, *args):
4409  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
4410  return _IMP_algebra.GridIndex3D___ge__(self, *args)
4411 
4412  def __le__(self, *args):
4413  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
4414  return _IMP_algebra.GridIndex3D___le__(self, *args)
4415 
4416  def __hash__(self):
4417  """__hash__(GridIndex3D self) -> std::size_t"""
4418  return _IMP_algebra.GridIndex3D___hash__(self)
4419 
4420  def __str__(self):
4421  """__str__(GridIndex3D self) -> std::string"""
4422  return _IMP_algebra.GridIndex3D___str__(self)
4423 
4424  def __repr__(self):
4425  """__repr__(GridIndex3D self) -> std::string"""
4426  return _IMP_algebra.GridIndex3D___repr__(self)
4427 
4428  def __cmp__(self, *args):
4429  """__cmp__(GridIndex3D self, GridIndex3D arg2) -> int"""
4430  return _IMP_algebra.GridIndex3D___cmp__(self, *args)
4431 
4432  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
4433  __del__ = lambda self : None;
4434 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
4435 GridIndex3D_swigregister(GridIndex3D)
4436 
4437 class GridIndex4D(IMP.base._Value):
4438  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
4439  __swig_setmethods__ = {}
4440  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4441  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex4D, name, value)
4442  __swig_getmethods__ = {}
4443  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4444  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex4D, name)
4445  def __init__(self):
4446  """__init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D"""
4447  this = _IMP_algebra.new_GridIndex4D()
4448  try: self.this.append(this)
4449  except: self.this = this
4450  def get_dimension(self):
4451  """get_dimension(GridIndex4D self) -> unsigned int"""
4452  return _IMP_algebra.GridIndex4D_get_dimension(self)
4453 
4454  def __getitem__(self, *args):
4455  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
4456  return _IMP_algebra.GridIndex4D___getitem__(self, *args)
4457 
4458  def show(self, *args):
4459  """
4460  show(GridIndex4D self, _ostream out=std::cout)
4461  show(GridIndex4D self)
4462  """
4463  return _IMP_algebra.GridIndex4D_show(self, *args)
4464 
4465  def __len__(self):
4466  """__len__(GridIndex4D self) -> unsigned int"""
4467  return _IMP_algebra.GridIndex4D___len__(self)
4468 
4469  def __eq__(self, *args):
4470  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
4471  return _IMP_algebra.GridIndex4D___eq__(self, *args)
4472 
4473  def __ne__(self, *args):
4474  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
4475  return _IMP_algebra.GridIndex4D___ne__(self, *args)
4476 
4477  def __lt__(self, *args):
4478  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
4479  return _IMP_algebra.GridIndex4D___lt__(self, *args)
4480 
4481  def __gt__(self, *args):
4482  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
4483  return _IMP_algebra.GridIndex4D___gt__(self, *args)
4484 
4485  def __ge__(self, *args):
4486  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
4487  return _IMP_algebra.GridIndex4D___ge__(self, *args)
4488 
4489  def __le__(self, *args):
4490  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
4491  return _IMP_algebra.GridIndex4D___le__(self, *args)
4492 
4493  def __hash__(self):
4494  """__hash__(GridIndex4D self) -> std::size_t"""
4495  return _IMP_algebra.GridIndex4D___hash__(self)
4496 
4497  def __str__(self):
4498  """__str__(GridIndex4D self) -> std::string"""
4499  return _IMP_algebra.GridIndex4D___str__(self)
4500 
4501  def __repr__(self):
4502  """__repr__(GridIndex4D self) -> std::string"""
4503  return _IMP_algebra.GridIndex4D___repr__(self)
4504 
4505  def __cmp__(self, *args):
4506  """__cmp__(GridIndex4D self, GridIndex4D arg2) -> int"""
4507  return _IMP_algebra.GridIndex4D___cmp__(self, *args)
4508 
4509  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
4510  __del__ = lambda self : None;
4511 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
4512 GridIndex4D_swigregister(GridIndex4D)
4513 
4514 class GridIndex5D(IMP.base._Value):
4515  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
4516  __swig_setmethods__ = {}
4517  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4518  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex5D, name, value)
4519  __swig_getmethods__ = {}
4520  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4521  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex5D, name)
4522  def __init__(self):
4523  """__init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D"""
4524  this = _IMP_algebra.new_GridIndex5D()
4525  try: self.this.append(this)
4526  except: self.this = this
4527  def get_dimension(self):
4528  """get_dimension(GridIndex5D self) -> unsigned int"""
4529  return _IMP_algebra.GridIndex5D_get_dimension(self)
4530 
4531  def __getitem__(self, *args):
4532  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
4533  return _IMP_algebra.GridIndex5D___getitem__(self, *args)
4534 
4535  def show(self, *args):
4536  """
4537  show(GridIndex5D self, _ostream out=std::cout)
4538  show(GridIndex5D self)
4539  """
4540  return _IMP_algebra.GridIndex5D_show(self, *args)
4541 
4542  def __len__(self):
4543  """__len__(GridIndex5D self) -> unsigned int"""
4544  return _IMP_algebra.GridIndex5D___len__(self)
4545 
4546  def __eq__(self, *args):
4547  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
4548  return _IMP_algebra.GridIndex5D___eq__(self, *args)
4549 
4550  def __ne__(self, *args):
4551  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
4552  return _IMP_algebra.GridIndex5D___ne__(self, *args)
4553 
4554  def __lt__(self, *args):
4555  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
4556  return _IMP_algebra.GridIndex5D___lt__(self, *args)
4557 
4558  def __gt__(self, *args):
4559  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
4560  return _IMP_algebra.GridIndex5D___gt__(self, *args)
4561 
4562  def __ge__(self, *args):
4563  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
4564  return _IMP_algebra.GridIndex5D___ge__(self, *args)
4565 
4566  def __le__(self, *args):
4567  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
4568  return _IMP_algebra.GridIndex5D___le__(self, *args)
4569 
4570  def __hash__(self):
4571  """__hash__(GridIndex5D self) -> std::size_t"""
4572  return _IMP_algebra.GridIndex5D___hash__(self)
4573 
4574  def __str__(self):
4575  """__str__(GridIndex5D self) -> std::string"""
4576  return _IMP_algebra.GridIndex5D___str__(self)
4577 
4578  def __repr__(self):
4579  """__repr__(GridIndex5D self) -> std::string"""
4580  return _IMP_algebra.GridIndex5D___repr__(self)
4581 
4582  def __cmp__(self, *args):
4583  """__cmp__(GridIndex5D self, GridIndex5D arg2) -> int"""
4584  return _IMP_algebra.GridIndex5D___cmp__(self, *args)
4585 
4586  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
4587  __del__ = lambda self : None;
4588 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
4589 GridIndex5D_swigregister(GridIndex5D)
4590 
4591 class GridIndex6D(IMP.base._Value):
4592  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
4593  __swig_setmethods__ = {}
4594  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4595  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndex6D, name, value)
4596  __swig_getmethods__ = {}
4597  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4598  __getattr__ = lambda self, name: _swig_getattr(self, GridIndex6D, name)
4599  def __init__(self):
4600  """__init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D"""
4601  this = _IMP_algebra.new_GridIndex6D()
4602  try: self.this.append(this)
4603  except: self.this = this
4604  def get_dimension(self):
4605  """get_dimension(GridIndex6D self) -> unsigned int"""
4606  return _IMP_algebra.GridIndex6D_get_dimension(self)
4607 
4608  def __getitem__(self, *args):
4609  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
4610  return _IMP_algebra.GridIndex6D___getitem__(self, *args)
4611 
4612  def show(self, *args):
4613  """
4614  show(GridIndex6D self, _ostream out=std::cout)
4615  show(GridIndex6D self)
4616  """
4617  return _IMP_algebra.GridIndex6D_show(self, *args)
4618 
4619  def __len__(self):
4620  """__len__(GridIndex6D self) -> unsigned int"""
4621  return _IMP_algebra.GridIndex6D___len__(self)
4622 
4623  def __eq__(self, *args):
4624  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
4625  return _IMP_algebra.GridIndex6D___eq__(self, *args)
4626 
4627  def __ne__(self, *args):
4628  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
4629  return _IMP_algebra.GridIndex6D___ne__(self, *args)
4630 
4631  def __lt__(self, *args):
4632  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
4633  return _IMP_algebra.GridIndex6D___lt__(self, *args)
4634 
4635  def __gt__(self, *args):
4636  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
4637  return _IMP_algebra.GridIndex6D___gt__(self, *args)
4638 
4639  def __ge__(self, *args):
4640  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
4641  return _IMP_algebra.GridIndex6D___ge__(self, *args)
4642 
4643  def __le__(self, *args):
4644  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
4645  return _IMP_algebra.GridIndex6D___le__(self, *args)
4646 
4647  def __hash__(self):
4648  """__hash__(GridIndex6D self) -> std::size_t"""
4649  return _IMP_algebra.GridIndex6D___hash__(self)
4650 
4651  def __str__(self):
4652  """__str__(GridIndex6D self) -> std::string"""
4653  return _IMP_algebra.GridIndex6D___str__(self)
4654 
4655  def __repr__(self):
4656  """__repr__(GridIndex6D self) -> std::string"""
4657  return _IMP_algebra.GridIndex6D___repr__(self)
4658 
4659  def __cmp__(self, *args):
4660  """__cmp__(GridIndex6D self, GridIndex6D arg2) -> int"""
4661  return _IMP_algebra.GridIndex6D___cmp__(self, *args)
4662 
4663  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
4664  __del__ = lambda self : None;
4665 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
4666 GridIndex6D_swigregister(GridIndex6D)
4667 
4668 class GridIndexKD(IMP.base._Value):
4669  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
4670  __swig_setmethods__ = {}
4671  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4672  __setattr__ = lambda self, name, value: _swig_setattr(self, GridIndexKD, name, value)
4673  __swig_getmethods__ = {}
4674  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4675  __getattr__ = lambda self, name: _swig_getattr(self, GridIndexKD, name)
4676  def __init__(self):
4677  """__init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD"""
4678  this = _IMP_algebra.new_GridIndexKD()
4679  try: self.this.append(this)
4680  except: self.this = this
4681  def get_dimension(self):
4682  """get_dimension(GridIndexKD self) -> unsigned int"""
4683  return _IMP_algebra.GridIndexKD_get_dimension(self)
4684 
4685  def __getitem__(self, *args):
4686  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
4687  return _IMP_algebra.GridIndexKD___getitem__(self, *args)
4688 
4689  def show(self, *args):
4690  """
4691  show(GridIndexKD self, _ostream out=std::cout)
4692  show(GridIndexKD self)
4693  """
4694  return _IMP_algebra.GridIndexKD_show(self, *args)
4695 
4696  def __len__(self):
4697  """__len__(GridIndexKD self) -> unsigned int"""
4698  return _IMP_algebra.GridIndexKD___len__(self)
4699 
4700  def __eq__(self, *args):
4701  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
4702  return _IMP_algebra.GridIndexKD___eq__(self, *args)
4703 
4704  def __ne__(self, *args):
4705  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
4706  return _IMP_algebra.GridIndexKD___ne__(self, *args)
4707 
4708  def __lt__(self, *args):
4709  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
4710  return _IMP_algebra.GridIndexKD___lt__(self, *args)
4711 
4712  def __gt__(self, *args):
4713  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
4714  return _IMP_algebra.GridIndexKD___gt__(self, *args)
4715 
4716  def __ge__(self, *args):
4717  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
4718  return _IMP_algebra.GridIndexKD___ge__(self, *args)
4719 
4720  def __le__(self, *args):
4721  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
4722  return _IMP_algebra.GridIndexKD___le__(self, *args)
4723 
4724  def __hash__(self):
4725  """__hash__(GridIndexKD self) -> std::size_t"""
4726  return _IMP_algebra.GridIndexKD___hash__(self)
4727 
4728  def __str__(self):
4729  """__str__(GridIndexKD self) -> std::string"""
4730  return _IMP_algebra.GridIndexKD___str__(self)
4731 
4732  def __repr__(self):
4733  """__repr__(GridIndexKD self) -> std::string"""
4734  return _IMP_algebra.GridIndexKD___repr__(self)
4735 
4736  def __cmp__(self, *args):
4737  """__cmp__(GridIndexKD self, GridIndexKD arg2) -> int"""
4738  return _IMP_algebra.GridIndexKD___cmp__(self, *args)
4739 
4740  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
4741  __del__ = lambda self : None;
4742 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
4743 GridIndexKD_swigregister(GridIndexKD)
4744 
4745 class ExtendedGridIndex1D(IMP.base._Value):
4746  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
4747  __swig_setmethods__ = {}
4748  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4749  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex1D, name, value)
4750  __swig_getmethods__ = {}
4751  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4752  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex1D, name)
4753  def __init__(self, *args):
4754  """
4755  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
4756  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
4757  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
4758  """
4759  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
4760  try: self.this.append(this)
4761  except: self.this = this
4762  def get_dimension(self):
4763  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
4764  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
4765 
4766  def __eq__(self, *args):
4767  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4768  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
4769 
4770  def __ne__(self, *args):
4771  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4772  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
4773 
4774  def __lt__(self, *args):
4775  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4776  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
4777 
4778  def __gt__(self, *args):
4779  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4780  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
4781 
4782  def __ge__(self, *args):
4783  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4784  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
4785 
4786  def __le__(self, *args):
4787  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4788  return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
4789 
4790  def __setitem__(self, *args):
4791  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
4792  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
4793 
4794  def __getitem__(self, *args):
4795  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
4796  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
4797 
4798  def show(self, *args):
4799  """
4800  show(ExtendedGridIndex1D self, _ostream out=std::cout)
4801  show(ExtendedGridIndex1D self)
4802  """
4803  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
4804 
4805  def __len__(self):
4806  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
4807  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
4808 
4809  def __hash__(self):
4810  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
4811  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
4812 
4813  def get_uniform_offset(self, *args):
4814  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
4815  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
4816 
4817  def get_offset(self, *args):
4818  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
4819  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
4820 
4821  def __str__(self):
4822  """__str__(ExtendedGridIndex1D self) -> std::string"""
4823  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
4824 
4825  def __repr__(self):
4826  """__repr__(ExtendedGridIndex1D self) -> std::string"""
4827  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
4828 
4829  def __cmp__(self, *args):
4830  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D arg2) -> int"""
4831  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
4832 
4833  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
4834  __del__ = lambda self : None;
4835 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
4836 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
4837 
4838 class ExtendedGridIndex2D(IMP.base._Value):
4839  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
4840  __swig_setmethods__ = {}
4841  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4842  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex2D, name, value)
4843  __swig_getmethods__ = {}
4844  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4845  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex2D, name)
4846  def __init__(self, *args):
4847  """
4848  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
4849  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
4850  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
4851  """
4852  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
4853  try: self.this.append(this)
4854  except: self.this = this
4855  def get_dimension(self):
4856  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
4857  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
4858 
4859  def __eq__(self, *args):
4860  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4861  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
4862 
4863  def __ne__(self, *args):
4864  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4865  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
4866 
4867  def __lt__(self, *args):
4868  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4869  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
4870 
4871  def __gt__(self, *args):
4872  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4873  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
4874 
4875  def __ge__(self, *args):
4876  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4877  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
4878 
4879  def __le__(self, *args):
4880  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4881  return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
4882 
4883  def __setitem__(self, *args):
4884  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
4885  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
4886 
4887  def __getitem__(self, *args):
4888  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
4889  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
4890 
4891  def show(self, *args):
4892  """
4893  show(ExtendedGridIndex2D self, _ostream out=std::cout)
4894  show(ExtendedGridIndex2D self)
4895  """
4896  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
4897 
4898  def __len__(self):
4899  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
4900  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
4901 
4902  def __hash__(self):
4903  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
4904  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
4905 
4906  def get_uniform_offset(self, *args):
4907  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
4908  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
4909 
4910  def get_offset(self, *args):
4911  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
4912  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
4913 
4914  def __str__(self):
4915  """__str__(ExtendedGridIndex2D self) -> std::string"""
4916  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
4917 
4918  def __repr__(self):
4919  """__repr__(ExtendedGridIndex2D self) -> std::string"""
4920  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
4921 
4922  def __cmp__(self, *args):
4923  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D arg2) -> int"""
4924  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
4925 
4926  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
4927  __del__ = lambda self : None;
4928 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
4929 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
4930 
4931 class ExtendedGridIndex3D(IMP.base._Value):
4932  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
4933  __swig_setmethods__ = {}
4934  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4935  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex3D, name, value)
4936  __swig_getmethods__ = {}
4937  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4938  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex3D, name)
4939  def __init__(self, *args):
4940  """
4941  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
4942  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
4943  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
4944  """
4945  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
4946  try: self.this.append(this)
4947  except: self.this = this
4948  def get_dimension(self):
4949  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
4950  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
4951 
4952  def __eq__(self, *args):
4953  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4954  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
4955 
4956  def __ne__(self, *args):
4957  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4958  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
4959 
4960  def __lt__(self, *args):
4961  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4962  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
4963 
4964  def __gt__(self, *args):
4965  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4966  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
4967 
4968  def __ge__(self, *args):
4969  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4970  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
4971 
4972  def __le__(self, *args):
4973  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4974  return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
4975 
4976  def __setitem__(self, *args):
4977  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
4978  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
4979 
4980  def __getitem__(self, *args):
4981  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
4982  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
4983 
4984  def show(self, *args):
4985  """
4986  show(ExtendedGridIndex3D self, _ostream out=std::cout)
4987  show(ExtendedGridIndex3D self)
4988  """
4989  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
4990 
4991  def __len__(self):
4992  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
4993  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
4994 
4995  def __hash__(self):
4996  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
4997  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
4998 
4999  def get_uniform_offset(self, *args):
5000  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5001  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5002 
5003  def get_offset(self, *args):
5004  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5005  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5006 
5007  def __str__(self):
5008  """__str__(ExtendedGridIndex3D self) -> std::string"""
5009  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5010 
5011  def __repr__(self):
5012  """__repr__(ExtendedGridIndex3D self) -> std::string"""
5013  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5014 
5015  def __cmp__(self, *args):
5016  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D arg2) -> int"""
5017  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5018 
5019  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5020  __del__ = lambda self : None;
5021 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5022 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5023 
5024 class ExtendedGridIndex4D(IMP.base._Value):
5025  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5026  __swig_setmethods__ = {}
5027  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5028  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex4D, name, value)
5029  __swig_getmethods__ = {}
5030  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5031  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex4D, name)
5032  def __init__(self, *args):
5033  """
5034  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5035  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5036  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5037  """
5038  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5039  try: self.this.append(this)
5040  except: self.this = this
5041  def get_dimension(self):
5042  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
5043  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
5044 
5045  def __eq__(self, *args):
5046  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5047  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
5048 
5049  def __ne__(self, *args):
5050  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5051  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
5052 
5053  def __lt__(self, *args):
5054  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5055  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
5056 
5057  def __gt__(self, *args):
5058  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5059  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
5060 
5061  def __ge__(self, *args):
5062  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5063  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
5064 
5065  def __le__(self, *args):
5066  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5067  return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
5068 
5069  def __setitem__(self, *args):
5070  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
5071  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
5072 
5073  def __getitem__(self, *args):
5074  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
5075  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
5076 
5077  def show(self, *args):
5078  """
5079  show(ExtendedGridIndex4D self, _ostream out=std::cout)
5080  show(ExtendedGridIndex4D self)
5081  """
5082  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
5083 
5084  def __len__(self):
5085  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
5086  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
5087 
5088  def __hash__(self):
5089  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
5090  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
5091 
5092  def get_uniform_offset(self, *args):
5093  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
5094  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
5095 
5096  def get_offset(self, *args):
5097  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
5098  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
5099 
5100  def __str__(self):
5101  """__str__(ExtendedGridIndex4D self) -> std::string"""
5102  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
5103 
5104  def __repr__(self):
5105  """__repr__(ExtendedGridIndex4D self) -> std::string"""
5106  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
5107 
5108  def __cmp__(self, *args):
5109  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D arg2) -> int"""
5110  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
5111 
5112  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
5113  __del__ = lambda self : None;
5114 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
5115 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
5116 
5117 class ExtendedGridIndex5D(IMP.base._Value):
5118  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
5119  __swig_setmethods__ = {}
5120  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5121  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex5D, name, value)
5122  __swig_getmethods__ = {}
5123  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5124  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex5D, name)
5125  def __init__(self, *args):
5126  """
5127  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
5128  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
5129  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
5130  """
5131  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
5132  try: self.this.append(this)
5133  except: self.this = this
5134  def get_dimension(self):
5135  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
5136  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
5137 
5138  def __eq__(self, *args):
5139  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5140  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
5141 
5142  def __ne__(self, *args):
5143  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5144  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
5145 
5146  def __lt__(self, *args):
5147  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5148  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
5149 
5150  def __gt__(self, *args):
5151  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5152  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
5153 
5154  def __ge__(self, *args):
5155  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5156  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
5157 
5158  def __le__(self, *args):
5159  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5160  return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
5161 
5162  def __setitem__(self, *args):
5163  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
5164  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
5165 
5166  def __getitem__(self, *args):
5167  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
5168  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
5169 
5170  def show(self, *args):
5171  """
5172  show(ExtendedGridIndex5D self, _ostream out=std::cout)
5173  show(ExtendedGridIndex5D self)
5174  """
5175  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
5176 
5177  def __len__(self):
5178  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
5179  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
5180 
5181  def __hash__(self):
5182  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
5183  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
5184 
5185  def get_uniform_offset(self, *args):
5186  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
5187  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
5188 
5189  def get_offset(self, *args):
5190  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
5191  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
5192 
5193  def __str__(self):
5194  """__str__(ExtendedGridIndex5D self) -> std::string"""
5195  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
5196 
5197  def __repr__(self):
5198  """__repr__(ExtendedGridIndex5D self) -> std::string"""
5199  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
5200 
5201  def __cmp__(self, *args):
5202  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D arg2) -> int"""
5203  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
5204 
5205  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
5206  __del__ = lambda self : None;
5207 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
5208 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
5209 
5210 class ExtendedGridIndex6D(IMP.base._Value):
5211  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
5212  __swig_setmethods__ = {}
5213  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5214  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndex6D, name, value)
5215  __swig_getmethods__ = {}
5216  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5217  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndex6D, name)
5218  def __init__(self, *args):
5219  """
5220  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
5221  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
5222  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
5223  """
5224  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
5225  try: self.this.append(this)
5226  except: self.this = this
5227  def get_dimension(self):
5228  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
5229  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
5230 
5231  def __eq__(self, *args):
5232  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5233  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
5234 
5235  def __ne__(self, *args):
5236  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5237  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
5238 
5239  def __lt__(self, *args):
5240  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5241  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
5242 
5243  def __gt__(self, *args):
5244  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5245  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
5246 
5247  def __ge__(self, *args):
5248  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5249  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
5250 
5251  def __le__(self, *args):
5252  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5253  return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
5254 
5255  def __setitem__(self, *args):
5256  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
5257  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
5258 
5259  def __getitem__(self, *args):
5260  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
5261  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
5262 
5263  def show(self, *args):
5264  """
5265  show(ExtendedGridIndex6D self, _ostream out=std::cout)
5266  show(ExtendedGridIndex6D self)
5267  """
5268  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
5269 
5270  def __len__(self):
5271  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
5272  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
5273 
5274  def __hash__(self):
5275  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
5276  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
5277 
5278  def get_uniform_offset(self, *args):
5279  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
5280  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
5281 
5282  def get_offset(self, *args):
5283  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
5284  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
5285 
5286  def __str__(self):
5287  """__str__(ExtendedGridIndex6D self) -> std::string"""
5288  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
5289 
5290  def __repr__(self):
5291  """__repr__(ExtendedGridIndex6D self) -> std::string"""
5292  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
5293 
5294  def __cmp__(self, *args):
5295  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D arg2) -> int"""
5296  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
5297 
5298  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
5299  __del__ = lambda self : None;
5300 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
5301 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
5302 
5303 class ExtendedGridIndexKD(IMP.base._Value):
5304  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
5305  __swig_setmethods__ = {}
5306  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5307  __setattr__ = lambda self, name, value: _swig_setattr(self, ExtendedGridIndexKD, name, value)
5308  __swig_getmethods__ = {}
5309  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5310  __getattr__ = lambda self, name: _swig_getattr(self, ExtendedGridIndexKD, name)
5311  def __init__(self, *args):
5312  """
5313  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
5314  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
5315  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
5316  """
5317  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
5318  try: self.this.append(this)
5319  except: self.this = this
5320  def get_dimension(self):
5321  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
5322  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
5323 
5324  def __eq__(self, *args):
5325  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5326  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
5327 
5328  def __ne__(self, *args):
5329  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5330  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
5331 
5332  def __lt__(self, *args):
5333  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5334  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
5335 
5336  def __gt__(self, *args):
5337  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5338  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
5339 
5340  def __ge__(self, *args):
5341  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5342  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
5343 
5344  def __le__(self, *args):
5345  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5346  return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
5347 
5348  def __setitem__(self, *args):
5349  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
5350  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
5351 
5352  def __getitem__(self, *args):
5353  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
5354  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
5355 
5356  def show(self, *args):
5357  """
5358  show(ExtendedGridIndexKD self, _ostream out=std::cout)
5359  show(ExtendedGridIndexKD self)
5360  """
5361  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
5362 
5363  def __len__(self):
5364  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
5365  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
5366 
5367  def __hash__(self):
5368  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
5369  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
5370 
5371  def get_uniform_offset(self, *args):
5372  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
5373  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
5374 
5375  def get_offset(self, *args):
5376  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
5377  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
5378 
5379  def __str__(self):
5380  """__str__(ExtendedGridIndexKD self) -> std::string"""
5381  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
5382 
5383  def __repr__(self):
5384  """__repr__(ExtendedGridIndexKD self) -> std::string"""
5385  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
5386 
5387  def __cmp__(self, *args):
5388  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD arg2) -> int"""
5389  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
5390 
5391  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
5392  __del__ = lambda self : None;
5393 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
5394 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
5395 
5396 class BoundedGridRange1D(_object):
5397  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
5398  __swig_setmethods__ = {}
5399  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange1D, name, value)
5400  __swig_getmethods__ = {}
5401  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange1D, name)
5402  def get_is_bounded():
5403  """get_is_bounded() -> bool"""
5404  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5405 
5406  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5407  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5408  def __init__(self, *args):
5409  """
5410  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
5411  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
5412  """
5413  this = _IMP_algebra.new_BoundedGridRange1D(*args)
5414  try: self.this.append(this)
5415  except: self.this = this
5416  def get_number_of_voxels(self, *args):
5417  """
5418  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
5419  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
5420  """
5421  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
5422 
5423  def get_end_index(self):
5424  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5425  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
5426 
5427  def show(self, *args):
5428  """
5429  show(BoundedGridRange1D self, _ostream out=std::cout)
5430  show(BoundedGridRange1D self)
5431  """
5432  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
5433 
5434  def get_all_indexes(self):
5435  """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5436  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
5437 
5438  def get_indexes(self, *args):
5439  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5440  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
5441 
5442  def get_extended_indexes(self, *args):
5443  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
5444  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
5445 
5446  def get_index(self, *args):
5447  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
5448  return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
5449 
5450  def get_has_index(self, *args):
5451  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
5452  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
5453 
5454  def get_minimum_extended_index(self):
5455  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5456  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
5457 
5458  def get_maximum_extended_index(self):
5459  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5460  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
5461 
5462  def __str__(self):
5463  """__str__(BoundedGridRange1D self) -> std::string"""
5464  return _IMP_algebra.BoundedGridRange1D___str__(self)
5465 
5466  def __repr__(self):
5467  """__repr__(BoundedGridRange1D self) -> std::string"""
5468  return _IMP_algebra.BoundedGridRange1D___repr__(self)
5469 
5470  def __cmp__(self, *args):
5471  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
5472  return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
5473 
5474  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
5475  __del__ = lambda self : None;
5476 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
5477 BoundedGridRange1D_swigregister(BoundedGridRange1D)
5478 
5479 def BoundedGridRange1D_get_is_bounded():
5480  """BoundedGridRange1D_get_is_bounded() -> bool"""
5481  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5482 
5483 class BoundedGridRange2D(_object):
5484  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
5485  __swig_setmethods__ = {}
5486  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange2D, name, value)
5487  __swig_getmethods__ = {}
5488  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange2D, name)
5489  def get_is_bounded():
5490  """get_is_bounded() -> bool"""
5491  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5492 
5493  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5494  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5495  def __init__(self, *args):
5496  """
5497  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
5498  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
5499  """
5500  this = _IMP_algebra.new_BoundedGridRange2D(*args)
5501  try: self.this.append(this)
5502  except: self.this = this
5503  def get_number_of_voxels(self, *args):
5504  """
5505  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
5506  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
5507  """
5508  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
5509 
5510  def get_end_index(self):
5511  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5512  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
5513 
5514  def show(self, *args):
5515  """
5516  show(BoundedGridRange2D self, _ostream out=std::cout)
5517  show(BoundedGridRange2D self)
5518  """
5519  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
5520 
5521  def get_all_indexes(self):
5522  """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5523  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
5524 
5525  def get_indexes(self, *args):
5526  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5527  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
5528 
5529  def get_extended_indexes(self, *args):
5530  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
5531  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
5532 
5533  def get_index(self, *args):
5534  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
5535  return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
5536 
5537  def get_has_index(self, *args):
5538  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
5539  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
5540 
5541  def get_minimum_extended_index(self):
5542  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5543  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
5544 
5545  def get_maximum_extended_index(self):
5546  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5547  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
5548 
5549  def __str__(self):
5550  """__str__(BoundedGridRange2D self) -> std::string"""
5551  return _IMP_algebra.BoundedGridRange2D___str__(self)
5552 
5553  def __repr__(self):
5554  """__repr__(BoundedGridRange2D self) -> std::string"""
5555  return _IMP_algebra.BoundedGridRange2D___repr__(self)
5556 
5557  def __cmp__(self, *args):
5558  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
5559  return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
5560 
5561  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
5562  __del__ = lambda self : None;
5563 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
5564 BoundedGridRange2D_swigregister(BoundedGridRange2D)
5565 
5566 def BoundedGridRange2D_get_is_bounded():
5567  """BoundedGridRange2D_get_is_bounded() -> bool"""
5568  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5569 
5570 class BoundedGridRange3D(_object):
5571  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
5572  __swig_setmethods__ = {}
5573  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange3D, name, value)
5574  __swig_getmethods__ = {}
5575  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange3D, name)
5576  def get_is_bounded():
5577  """get_is_bounded() -> bool"""
5578  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5579 
5580  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5581  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5582  def __init__(self, *args):
5583  """
5584  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
5585  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
5586  """
5587  this = _IMP_algebra.new_BoundedGridRange3D(*args)
5588  try: self.this.append(this)
5589  except: self.this = this
5590  def get_number_of_voxels(self, *args):
5591  """
5592  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
5593  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
5594  """
5595  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
5596 
5597  def get_end_index(self):
5598  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5599  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
5600 
5601  def show(self, *args):
5602  """
5603  show(BoundedGridRange3D self, _ostream out=std::cout)
5604  show(BoundedGridRange3D self)
5605  """
5606  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
5607 
5608  def get_all_indexes(self):
5609  """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5610  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
5611 
5612  def get_indexes(self, *args):
5613  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5614  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
5615 
5616  def get_extended_indexes(self, *args):
5617  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
5618  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
5619 
5620  def get_index(self, *args):
5621  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5622  return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
5623 
5624  def get_has_index(self, *args):
5625  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
5626  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
5627 
5628  def get_minimum_extended_index(self):
5629  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5630  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
5631 
5632  def get_maximum_extended_index(self):
5633  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5634  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
5635 
5636  def __str__(self):
5637  """__str__(BoundedGridRange3D self) -> std::string"""
5638  return _IMP_algebra.BoundedGridRange3D___str__(self)
5639 
5640  def __repr__(self):
5641  """__repr__(BoundedGridRange3D self) -> std::string"""
5642  return _IMP_algebra.BoundedGridRange3D___repr__(self)
5643 
5644  def __cmp__(self, *args):
5645  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
5646  return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
5647 
5648  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
5649  __del__ = lambda self : None;
5650 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
5651 BoundedGridRange3D_swigregister(BoundedGridRange3D)
5652 
5653 def BoundedGridRange3D_get_is_bounded():
5654  """BoundedGridRange3D_get_is_bounded() -> bool"""
5655  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5656 
5657 class BoundedGridRange4D(_object):
5658  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
5659  __swig_setmethods__ = {}
5660  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange4D, name, value)
5661  __swig_getmethods__ = {}
5662  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange4D, name)
5663  def get_is_bounded():
5664  """get_is_bounded() -> bool"""
5665  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5666 
5667  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5668  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5669  def __init__(self, *args):
5670  """
5671  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
5672  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
5673  """
5674  this = _IMP_algebra.new_BoundedGridRange4D(*args)
5675  try: self.this.append(this)
5676  except: self.this = this
5677  def get_number_of_voxels(self, *args):
5678  """
5679  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
5680  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
5681  """
5682  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
5683 
5684  def get_end_index(self):
5685  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5686  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
5687 
5688  def show(self, *args):
5689  """
5690  show(BoundedGridRange4D self, _ostream out=std::cout)
5691  show(BoundedGridRange4D self)
5692  """
5693  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
5694 
5695  def get_all_indexes(self):
5696  """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5697  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
5698 
5699  def get_indexes(self, *args):
5700  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5701  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
5702 
5703  def get_extended_indexes(self, *args):
5704  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
5705  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
5706 
5707  def get_index(self, *args):
5708  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
5709  return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
5710 
5711  def get_has_index(self, *args):
5712  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
5713  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
5714 
5715  def get_minimum_extended_index(self):
5716  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5717  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
5718 
5719  def get_maximum_extended_index(self):
5720  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5721  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
5722 
5723  def __str__(self):
5724  """__str__(BoundedGridRange4D self) -> std::string"""
5725  return _IMP_algebra.BoundedGridRange4D___str__(self)
5726 
5727  def __repr__(self):
5728  """__repr__(BoundedGridRange4D self) -> std::string"""
5729  return _IMP_algebra.BoundedGridRange4D___repr__(self)
5730 
5731  def __cmp__(self, *args):
5732  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
5733  return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
5734 
5735  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
5736  __del__ = lambda self : None;
5737 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
5738 BoundedGridRange4D_swigregister(BoundedGridRange4D)
5739 
5740 def BoundedGridRange4D_get_is_bounded():
5741  """BoundedGridRange4D_get_is_bounded() -> bool"""
5742  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5743 
5744 class BoundedGridRange5D(_object):
5745  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
5746  __swig_setmethods__ = {}
5747  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange5D, name, value)
5748  __swig_getmethods__ = {}
5749  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange5D, name)
5750  def get_is_bounded():
5751  """get_is_bounded() -> bool"""
5752  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5753 
5754  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5755  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5756  def __init__(self, *args):
5757  """
5758  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
5759  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
5760  """
5761  this = _IMP_algebra.new_BoundedGridRange5D(*args)
5762  try: self.this.append(this)
5763  except: self.this = this
5764  def get_number_of_voxels(self, *args):
5765  """
5766  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
5767  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
5768  """
5769  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
5770 
5771  def get_end_index(self):
5772  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5773  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
5774 
5775  def show(self, *args):
5776  """
5777  show(BoundedGridRange5D self, _ostream out=std::cout)
5778  show(BoundedGridRange5D self)
5779  """
5780  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
5781 
5782  def get_all_indexes(self):
5783  """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5784  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
5785 
5786  def get_indexes(self, *args):
5787  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5788  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
5789 
5790  def get_extended_indexes(self, *args):
5791  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
5792  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
5793 
5794  def get_index(self, *args):
5795  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
5796  return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
5797 
5798  def get_has_index(self, *args):
5799  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
5800  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
5801 
5802  def get_minimum_extended_index(self):
5803  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5804  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
5805 
5806  def get_maximum_extended_index(self):
5807  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5808  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
5809 
5810  def __str__(self):
5811  """__str__(BoundedGridRange5D self) -> std::string"""
5812  return _IMP_algebra.BoundedGridRange5D___str__(self)
5813 
5814  def __repr__(self):
5815  """__repr__(BoundedGridRange5D self) -> std::string"""
5816  return _IMP_algebra.BoundedGridRange5D___repr__(self)
5817 
5818  def __cmp__(self, *args):
5819  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
5820  return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
5821 
5822  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
5823  __del__ = lambda self : None;
5824 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
5825 BoundedGridRange5D_swigregister(BoundedGridRange5D)
5826 
5827 def BoundedGridRange5D_get_is_bounded():
5828  """BoundedGridRange5D_get_is_bounded() -> bool"""
5829  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5830 
5831 class BoundedGridRange6D(_object):
5832  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
5833  __swig_setmethods__ = {}
5834  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRange6D, name, value)
5835  __swig_getmethods__ = {}
5836  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRange6D, name)
5837  def get_is_bounded():
5838  """get_is_bounded() -> bool"""
5839  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
5840 
5841  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5842  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5843  def __init__(self, *args):
5844  """
5845  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
5846  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
5847  """
5848  this = _IMP_algebra.new_BoundedGridRange6D(*args)
5849  try: self.this.append(this)
5850  except: self.this = this
5851  def get_number_of_voxels(self, *args):
5852  """
5853  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
5854  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
5855  """
5856  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
5857 
5858  def get_end_index(self):
5859  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5860  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
5861 
5862  def show(self, *args):
5863  """
5864  show(BoundedGridRange6D self, _ostream out=std::cout)
5865  show(BoundedGridRange6D self)
5866  """
5867  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
5868 
5869  def get_all_indexes(self):
5870  """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5871  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
5872 
5873  def get_indexes(self, *args):
5874  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5875  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
5876 
5877  def get_extended_indexes(self, *args):
5878  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
5879  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
5880 
5881  def get_index(self, *args):
5882  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
5883  return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
5884 
5885  def get_has_index(self, *args):
5886  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
5887  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
5888 
5889  def get_minimum_extended_index(self):
5890  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5891  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
5892 
5893  def get_maximum_extended_index(self):
5894  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5895  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
5896 
5897  def __str__(self):
5898  """__str__(BoundedGridRange6D self) -> std::string"""
5899  return _IMP_algebra.BoundedGridRange6D___str__(self)
5900 
5901  def __repr__(self):
5902  """__repr__(BoundedGridRange6D self) -> std::string"""
5903  return _IMP_algebra.BoundedGridRange6D___repr__(self)
5904 
5905  def __cmp__(self, *args):
5906  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
5907  return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
5908 
5909  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
5910  __del__ = lambda self : None;
5911 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
5912 BoundedGridRange6D_swigregister(BoundedGridRange6D)
5913 
5914 def BoundedGridRange6D_get_is_bounded():
5915  """BoundedGridRange6D_get_is_bounded() -> bool"""
5916  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
5917 
5918 class BoundedGridRangeKD(_object):
5919  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
5920  __swig_setmethods__ = {}
5921  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundedGridRangeKD, name, value)
5922  __swig_getmethods__ = {}
5923  __getattr__ = lambda self, name: _swig_getattr(self, BoundedGridRangeKD, name)
5924  def get_is_bounded():
5925  """get_is_bounded() -> bool"""
5926  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
5927 
5928  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5929  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
5930  def __init__(self, *args):
5931  """
5932  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
5933  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
5934  """
5935  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
5936  try: self.this.append(this)
5937  except: self.this = this
5938  def get_number_of_voxels(self, *args):
5939  """
5940  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
5941  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
5942  """
5943  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
5944 
5945  def get_end_index(self):
5946  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
5947  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
5948 
5949  def show(self, *args):
5950  """
5951  show(BoundedGridRangeKD self, _ostream out=std::cout)
5952  show(BoundedGridRangeKD self)
5953  """
5954  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
5955 
5956  def get_all_indexes(self):
5957  """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
5958  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
5959 
5960  def get_indexes(self, *args):
5961  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
5962  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
5963 
5964  def get_extended_indexes(self, *args):
5965  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
5966  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
5967 
5968  def get_index(self, *args):
5969  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5970  return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
5971 
5972  def get_has_index(self, *args):
5973  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
5974  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
5975 
5976  def get_minimum_extended_index(self):
5977  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
5978  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
5979 
5980  def get_maximum_extended_index(self):
5981  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
5982  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
5983 
5984  def __str__(self):
5985  """__str__(BoundedGridRangeKD self) -> std::string"""
5986  return _IMP_algebra.BoundedGridRangeKD___str__(self)
5987 
5988  def __repr__(self):
5989  """__repr__(BoundedGridRangeKD self) -> std::string"""
5990  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
5991 
5992  def __cmp__(self, *args):
5993  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
5994  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
5995 
5996  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
5997  __del__ = lambda self : None;
5998 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
5999 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6000 
6001 def BoundedGridRangeKD_get_is_bounded():
6002  """BoundedGridRangeKD_get_is_bounded() -> bool"""
6003  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6004 
6005 class UnboundedGridRange1D(_object):
6006  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6007  __swig_setmethods__ = {}
6008  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange1D, name, value)
6009  __swig_getmethods__ = {}
6010  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange1D, name)
6011  def __init__(self, *args):
6012  """
6013  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6014  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6015  """
6016  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6017  try: self.this.append(this)
6018  except: self.this = this
6019  def set_number_of_voxels(self, *args):
6020  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6021  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6022 
6023  def get_number_of_voxels(self, *args):
6024  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6025  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
6026 
6027  def get_is_bounded():
6028  """get_is_bounded() -> bool"""
6029  return _IMP_algebra.UnboundedGridRange1D_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 get_has_index(self, *args):
6034  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
6035  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
6036 
6037  def show(self, *args):
6038  """
6039  show(UnboundedGridRange1D self, _ostream out=std::cout)
6040  show(UnboundedGridRange1D self)
6041  """
6042  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
6043 
6044  def get_extended_indexes(self, *args):
6045  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6046  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
6047 
6048  def __str__(self):
6049  """__str__(UnboundedGridRange1D self) -> std::string"""
6050  return _IMP_algebra.UnboundedGridRange1D___str__(self)
6051 
6052  def __repr__(self):
6053  """__repr__(UnboundedGridRange1D self) -> std::string"""
6054  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
6055 
6056  def __cmp__(self, *args):
6057  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
6058  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
6059 
6060  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
6061  __del__ = lambda self : None;
6062 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
6063 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
6064 
6065 def UnboundedGridRange1D_get_is_bounded():
6066  """UnboundedGridRange1D_get_is_bounded() -> bool"""
6067  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6068 
6069 class UnboundedGridRange2D(_object):
6070  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
6071  __swig_setmethods__ = {}
6072  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange2D, name, value)
6073  __swig_getmethods__ = {}
6074  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange2D, name)
6075  def __init__(self, *args):
6076  """
6077  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
6078  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
6079  """
6080  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
6081  try: self.this.append(this)
6082  except: self.this = this
6083  def set_number_of_voxels(self, *args):
6084  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
6085  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
6086 
6087  def get_number_of_voxels(self, *args):
6088  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
6089  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
6090 
6091  def get_is_bounded():
6092  """get_is_bounded() -> bool"""
6093  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6094 
6095  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6096  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6097  def get_has_index(self, *args):
6098  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
6099  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
6100 
6101  def show(self, *args):
6102  """
6103  show(UnboundedGridRange2D self, _ostream out=std::cout)
6104  show(UnboundedGridRange2D self)
6105  """
6106  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
6107 
6108  def get_extended_indexes(self, *args):
6109  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6110  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
6111 
6112  def __str__(self):
6113  """__str__(UnboundedGridRange2D self) -> std::string"""
6114  return _IMP_algebra.UnboundedGridRange2D___str__(self)
6115 
6116  def __repr__(self):
6117  """__repr__(UnboundedGridRange2D self) -> std::string"""
6118  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
6119 
6120  def __cmp__(self, *args):
6121  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
6122  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
6123 
6124  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
6125  __del__ = lambda self : None;
6126 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
6127 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
6128 
6129 def UnboundedGridRange2D_get_is_bounded():
6130  """UnboundedGridRange2D_get_is_bounded() -> bool"""
6131  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6132 
6133 class UnboundedGridRange3D(_object):
6134  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
6135  __swig_setmethods__ = {}
6136  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange3D, name, value)
6137  __swig_getmethods__ = {}
6138  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange3D, name)
6139  def __init__(self, *args):
6140  """
6141  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
6142  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
6143  """
6144  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
6145  try: self.this.append(this)
6146  except: self.this = this
6147  def set_number_of_voxels(self, *args):
6148  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
6149  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
6150 
6151  def get_number_of_voxels(self, *args):
6152  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
6153  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
6154 
6155  def get_is_bounded():
6156  """get_is_bounded() -> bool"""
6157  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6158 
6159  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6160  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6161  def get_has_index(self, *args):
6162  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
6163  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
6164 
6165  def show(self, *args):
6166  """
6167  show(UnboundedGridRange3D self, _ostream out=std::cout)
6168  show(UnboundedGridRange3D self)
6169  """
6170  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
6171 
6172  def get_extended_indexes(self, *args):
6173  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6174  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
6175 
6176  def __str__(self):
6177  """__str__(UnboundedGridRange3D self) -> std::string"""
6178  return _IMP_algebra.UnboundedGridRange3D___str__(self)
6179 
6180  def __repr__(self):
6181  """__repr__(UnboundedGridRange3D self) -> std::string"""
6182  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
6183 
6184  def __cmp__(self, *args):
6185  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
6186  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
6187 
6188  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
6189  __del__ = lambda self : None;
6190 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
6191 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
6192 
6193 def UnboundedGridRange3D_get_is_bounded():
6194  """UnboundedGridRange3D_get_is_bounded() -> bool"""
6195  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6196 
6197 class UnboundedGridRange4D(_object):
6198  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
6199  __swig_setmethods__ = {}
6200  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange4D, name, value)
6201  __swig_getmethods__ = {}
6202  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange4D, name)
6203  def __init__(self, *args):
6204  """
6205  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
6206  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
6207  """
6208  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
6209  try: self.this.append(this)
6210  except: self.this = this
6211  def set_number_of_voxels(self, *args):
6212  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
6213  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
6214 
6215  def get_number_of_voxels(self, *args):
6216  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
6217  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
6218 
6219  def get_is_bounded():
6220  """get_is_bounded() -> bool"""
6221  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6222 
6223  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6224  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6225  def get_has_index(self, *args):
6226  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
6227  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
6228 
6229  def show(self, *args):
6230  """
6231  show(UnboundedGridRange4D self, _ostream out=std::cout)
6232  show(UnboundedGridRange4D self)
6233  """
6234  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
6235 
6236  def get_extended_indexes(self, *args):
6237  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6238  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
6239 
6240  def __str__(self):
6241  """__str__(UnboundedGridRange4D self) -> std::string"""
6242  return _IMP_algebra.UnboundedGridRange4D___str__(self)
6243 
6244  def __repr__(self):
6245  """__repr__(UnboundedGridRange4D self) -> std::string"""
6246  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
6247 
6248  def __cmp__(self, *args):
6249  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
6250  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
6251 
6252  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
6253  __del__ = lambda self : None;
6254 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
6255 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
6256 
6257 def UnboundedGridRange4D_get_is_bounded():
6258  """UnboundedGridRange4D_get_is_bounded() -> bool"""
6259  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6260 
6261 class UnboundedGridRange5D(_object):
6262  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
6263  __swig_setmethods__ = {}
6264  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange5D, name, value)
6265  __swig_getmethods__ = {}
6266  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange5D, name)
6267  def __init__(self, *args):
6268  """
6269  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
6270  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
6271  """
6272  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
6273  try: self.this.append(this)
6274  except: self.this = this
6275  def set_number_of_voxels(self, *args):
6276  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
6277  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
6278 
6279  def get_number_of_voxels(self, *args):
6280  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
6281  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
6282 
6283  def get_is_bounded():
6284  """get_is_bounded() -> bool"""
6285  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6286 
6287  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6288  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6289  def get_has_index(self, *args):
6290  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
6291  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
6292 
6293  def show(self, *args):
6294  """
6295  show(UnboundedGridRange5D self, _ostream out=std::cout)
6296  show(UnboundedGridRange5D self)
6297  """
6298  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
6299 
6300  def get_extended_indexes(self, *args):
6301  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6302  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
6303 
6304  def __str__(self):
6305  """__str__(UnboundedGridRange5D self) -> std::string"""
6306  return _IMP_algebra.UnboundedGridRange5D___str__(self)
6307 
6308  def __repr__(self):
6309  """__repr__(UnboundedGridRange5D self) -> std::string"""
6310  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
6311 
6312  def __cmp__(self, *args):
6313  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
6314  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
6315 
6316  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
6317  __del__ = lambda self : None;
6318 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
6319 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
6320 
6321 def UnboundedGridRange5D_get_is_bounded():
6322  """UnboundedGridRange5D_get_is_bounded() -> bool"""
6323  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6324 
6325 class UnboundedGridRange6D(_object):
6326  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
6327  __swig_setmethods__ = {}
6328  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRange6D, name, value)
6329  __swig_getmethods__ = {}
6330  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRange6D, name)
6331  def __init__(self, *args):
6332  """
6333  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
6334  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
6335  """
6336  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
6337  try: self.this.append(this)
6338  except: self.this = this
6339  def set_number_of_voxels(self, *args):
6340  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
6341  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
6342 
6343  def get_number_of_voxels(self, *args):
6344  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
6345  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
6346 
6347  def get_is_bounded():
6348  """get_is_bounded() -> bool"""
6349  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6350 
6351  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6352  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6353  def get_has_index(self, *args):
6354  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
6355  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
6356 
6357  def show(self, *args):
6358  """
6359  show(UnboundedGridRange6D self, _ostream out=std::cout)
6360  show(UnboundedGridRange6D self)
6361  """
6362  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
6363 
6364  def get_extended_indexes(self, *args):
6365  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6366  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
6367 
6368  def __str__(self):
6369  """__str__(UnboundedGridRange6D self) -> std::string"""
6370  return _IMP_algebra.UnboundedGridRange6D___str__(self)
6371 
6372  def __repr__(self):
6373  """__repr__(UnboundedGridRange6D self) -> std::string"""
6374  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
6375 
6376  def __cmp__(self, *args):
6377  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
6378  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
6379 
6380  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
6381  __del__ = lambda self : None;
6382 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
6383 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
6384 
6385 def UnboundedGridRange6D_get_is_bounded():
6386  """UnboundedGridRange6D_get_is_bounded() -> bool"""
6387  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6388 
6389 class UnboundedGridRangeKD(_object):
6390  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
6391  __swig_setmethods__ = {}
6392  __setattr__ = lambda self, name, value: _swig_setattr(self, UnboundedGridRangeKD, name, value)
6393  __swig_getmethods__ = {}
6394  __getattr__ = lambda self, name: _swig_getattr(self, UnboundedGridRangeKD, name)
6395  def __init__(self, *args):
6396  """
6397  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
6398  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
6399  """
6400  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
6401  try: self.this.append(this)
6402  except: self.this = this
6403  def set_number_of_voxels(self, *args):
6404  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
6405  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
6406 
6407  def get_number_of_voxels(self, *args):
6408  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
6409  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
6410 
6411  def get_is_bounded():
6412  """get_is_bounded() -> bool"""
6413  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6414 
6415  if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6416  __swig_getmethods__["get_is_bounded"] = lambda x: get_is_bounded
6417  def get_has_index(self, *args):
6418  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
6419  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
6420 
6421  def show(self, *args):
6422  """
6423  show(UnboundedGridRangeKD self, _ostream out=std::cout)
6424  show(UnboundedGridRangeKD self)
6425  """
6426  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
6427 
6428  def get_extended_indexes(self, *args):
6429  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6430  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
6431 
6432  def __str__(self):
6433  """__str__(UnboundedGridRangeKD self) -> std::string"""
6434  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
6435 
6436  def __repr__(self):
6437  """__repr__(UnboundedGridRangeKD self) -> std::string"""
6438  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
6439 
6440  def __cmp__(self, *args):
6441  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
6442  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
6443 
6444  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
6445  __del__ = lambda self : None;
6446 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
6447 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
6448 
6449 def UnboundedGridRangeKD_get_is_bounded():
6450  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
6451  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6452 
6453 class DefaultEmbedding1D(_object):
6454  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
6455  __swig_setmethods__ = {}
6456  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding1D, name, value)
6457  __swig_getmethods__ = {}
6458  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding1D, name)
6459  def __init__(self, *args):
6460  """
6461  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
6462  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
6463  """
6464  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
6465  try: self.this.append(this)
6466  except: self.this = this
6467  def set_origin(self, *args):
6468  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
6469  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
6470 
6471  def get_origin(self):
6472  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
6473  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
6474 
6475  def get_dimension(self):
6476  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
6477  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
6478 
6479  def set_unit_cell(self, *args):
6480  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
6481  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
6482 
6483  def get_inverse_unit_cell(self):
6484  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6485  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
6486 
6487  def get_unit_cell(self):
6488  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6489  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
6490 
6491  def get_extended_index(self, *args):
6492  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
6493  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
6494 
6495  def get_index(self, *args):
6496  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
6497  return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
6498 
6499  def get_center(self, *args):
6500  """
6501  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
6502  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
6503  """
6504  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
6505 
6506  def get_bounding_box(self, *args):
6507  """
6508  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
6509  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
6510  """
6511  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
6512 
6513  def show(self, *args):
6514  """
6515  show(DefaultEmbedding1D self, _ostream out=std::cout)
6516  show(DefaultEmbedding1D self)
6517  """
6518  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
6519 
6520  def __str__(self):
6521  """__str__(DefaultEmbedding1D self) -> std::string"""
6522  return _IMP_algebra.DefaultEmbedding1D___str__(self)
6523 
6524  def __repr__(self):
6525  """__repr__(DefaultEmbedding1D self) -> std::string"""
6526  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
6527 
6528  def __cmp__(self, *args):
6529  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
6530  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
6531 
6532  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
6533  __del__ = lambda self : None;
6534 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
6535 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
6536 
6537 class DefaultEmbedding2D(_object):
6538  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
6539  __swig_setmethods__ = {}
6540  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding2D, name, value)
6541  __swig_getmethods__ = {}
6542  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding2D, name)
6543  def __init__(self, *args):
6544  """
6545  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
6546  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
6547  """
6548  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
6549  try: self.this.append(this)
6550  except: self.this = this
6551  def set_origin(self, *args):
6552  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
6553  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
6554 
6555  def get_origin(self):
6556  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
6557  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
6558 
6559  def get_dimension(self):
6560  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
6561  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
6562 
6563  def set_unit_cell(self, *args):
6564  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
6565  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
6566 
6567  def get_inverse_unit_cell(self):
6568  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6569  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
6570 
6571  def get_unit_cell(self):
6572  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6573  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
6574 
6575  def get_extended_index(self, *args):
6576  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
6577  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
6578 
6579  def get_index(self, *args):
6580  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
6581  return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
6582 
6583  def get_center(self, *args):
6584  """
6585  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
6586  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
6587  """
6588  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
6589 
6590  def get_bounding_box(self, *args):
6591  """
6592  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
6593  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
6594  """
6595  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
6596 
6597  def show(self, *args):
6598  """
6599  show(DefaultEmbedding2D self, _ostream out=std::cout)
6600  show(DefaultEmbedding2D self)
6601  """
6602  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
6603 
6604  def __str__(self):
6605  """__str__(DefaultEmbedding2D self) -> std::string"""
6606  return _IMP_algebra.DefaultEmbedding2D___str__(self)
6607 
6608  def __repr__(self):
6609  """__repr__(DefaultEmbedding2D self) -> std::string"""
6610  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
6611 
6612  def __cmp__(self, *args):
6613  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
6614  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
6615 
6616  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
6617  __del__ = lambda self : None;
6618 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
6619 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
6620 
6621 class DefaultEmbedding3D(_object):
6622  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
6623  __swig_setmethods__ = {}
6624  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding3D, name, value)
6625  __swig_getmethods__ = {}
6626  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding3D, name)
6627  def __init__(self, *args):
6628  """
6629  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
6630  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
6631  """
6632  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
6633  try: self.this.append(this)
6634  except: self.this = this
6635  def set_origin(self, *args):
6636  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
6637  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
6638 
6639  def get_origin(self):
6640  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
6641  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
6642 
6643  def get_dimension(self):
6644  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
6645  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
6646 
6647  def set_unit_cell(self, *args):
6648  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
6649  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
6650 
6651  def get_inverse_unit_cell(self):
6652  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6653  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
6654 
6655  def get_unit_cell(self):
6656  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6657  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
6658 
6659  def get_extended_index(self, *args):
6660  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
6661  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
6662 
6663  def get_index(self, *args):
6664  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
6665  return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
6666 
6667  def get_center(self, *args):
6668  """
6669  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
6670  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
6671  """
6672  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
6673 
6674  def get_bounding_box(self, *args):
6675  """
6676  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
6677  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
6678  """
6679  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
6680 
6681  def show(self, *args):
6682  """
6683  show(DefaultEmbedding3D self, _ostream out=std::cout)
6684  show(DefaultEmbedding3D self)
6685  """
6686  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
6687 
6688  def __str__(self):
6689  """__str__(DefaultEmbedding3D self) -> std::string"""
6690  return _IMP_algebra.DefaultEmbedding3D___str__(self)
6691 
6692  def __repr__(self):
6693  """__repr__(DefaultEmbedding3D self) -> std::string"""
6694  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
6695 
6696  def __cmp__(self, *args):
6697  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
6698  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
6699 
6700  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
6701  __del__ = lambda self : None;
6702 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
6703 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
6704 
6705 class DefaultEmbedding4D(_object):
6706  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
6707  __swig_setmethods__ = {}
6708  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding4D, name, value)
6709  __swig_getmethods__ = {}
6710  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding4D, name)
6711  def __init__(self, *args):
6712  """
6713  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
6714  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
6715  """
6716  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
6717  try: self.this.append(this)
6718  except: self.this = this
6719  def set_origin(self, *args):
6720  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
6721  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
6722 
6723  def get_origin(self):
6724  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
6725  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
6726 
6727  def get_dimension(self):
6728  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
6729  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
6730 
6731  def set_unit_cell(self, *args):
6732  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
6733  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
6734 
6735  def get_inverse_unit_cell(self):
6736  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6737  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
6738 
6739  def get_unit_cell(self):
6740  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6741  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
6742 
6743  def get_extended_index(self, *args):
6744  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
6745  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
6746 
6747  def get_index(self, *args):
6748  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
6749  return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
6750 
6751  def get_center(self, *args):
6752  """
6753  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
6754  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
6755  """
6756  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
6757 
6758  def get_bounding_box(self, *args):
6759  """
6760  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
6761  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
6762  """
6763  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
6764 
6765  def show(self, *args):
6766  """
6767  show(DefaultEmbedding4D self, _ostream out=std::cout)
6768  show(DefaultEmbedding4D self)
6769  """
6770  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
6771 
6772  def __str__(self):
6773  """__str__(DefaultEmbedding4D self) -> std::string"""
6774  return _IMP_algebra.DefaultEmbedding4D___str__(self)
6775 
6776  def __repr__(self):
6777  """__repr__(DefaultEmbedding4D self) -> std::string"""
6778  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
6779 
6780  def __cmp__(self, *args):
6781  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
6782  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
6783 
6784  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
6785  __del__ = lambda self : None;
6786 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
6787 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
6788 
6789 class DefaultEmbedding5D(_object):
6790  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
6791  __swig_setmethods__ = {}
6792  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding5D, name, value)
6793  __swig_getmethods__ = {}
6794  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding5D, name)
6795  def __init__(self, *args):
6796  """
6797  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
6798  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
6799  """
6800  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
6801  try: self.this.append(this)
6802  except: self.this = this
6803  def set_origin(self, *args):
6804  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
6805  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
6806 
6807  def get_origin(self):
6808  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
6809  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
6810 
6811  def get_dimension(self):
6812  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
6813  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
6814 
6815  def set_unit_cell(self, *args):
6816  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
6817  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
6818 
6819  def get_inverse_unit_cell(self):
6820  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6821  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
6822 
6823  def get_unit_cell(self):
6824  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6825  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
6826 
6827  def get_extended_index(self, *args):
6828  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
6829  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
6830 
6831  def get_index(self, *args):
6832  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
6833  return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
6834 
6835  def get_center(self, *args):
6836  """
6837  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
6838  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
6839  """
6840  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
6841 
6842  def get_bounding_box(self, *args):
6843  """
6844  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
6845  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
6846  """
6847  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
6848 
6849  def show(self, *args):
6850  """
6851  show(DefaultEmbedding5D self, _ostream out=std::cout)
6852  show(DefaultEmbedding5D self)
6853  """
6854  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
6855 
6856  def __str__(self):
6857  """__str__(DefaultEmbedding5D self) -> std::string"""
6858  return _IMP_algebra.DefaultEmbedding5D___str__(self)
6859 
6860  def __repr__(self):
6861  """__repr__(DefaultEmbedding5D self) -> std::string"""
6862  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
6863 
6864  def __cmp__(self, *args):
6865  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
6866  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
6867 
6868  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
6869  __del__ = lambda self : None;
6870 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
6871 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
6872 
6873 class DefaultEmbedding6D(_object):
6874  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
6875  __swig_setmethods__ = {}
6876  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbedding6D, name, value)
6877  __swig_getmethods__ = {}
6878  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbedding6D, name)
6879  def __init__(self, *args):
6880  """
6881  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
6882  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
6883  """
6884  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
6885  try: self.this.append(this)
6886  except: self.this = this
6887  def set_origin(self, *args):
6888  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
6889  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
6890 
6891  def get_origin(self):
6892  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
6893  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
6894 
6895  def get_dimension(self):
6896  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
6897  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
6898 
6899  def set_unit_cell(self, *args):
6900  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
6901  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
6902 
6903  def get_inverse_unit_cell(self):
6904  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
6905  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
6906 
6907  def get_unit_cell(self):
6908  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
6909  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
6910 
6911  def get_extended_index(self, *args):
6912  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
6913  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
6914 
6915  def get_index(self, *args):
6916  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
6917  return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
6918 
6919  def get_center(self, *args):
6920  """
6921  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
6922  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
6923  """
6924  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
6925 
6926  def get_bounding_box(self, *args):
6927  """
6928  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
6929  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
6930  """
6931  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
6932 
6933  def show(self, *args):
6934  """
6935  show(DefaultEmbedding6D self, _ostream out=std::cout)
6936  show(DefaultEmbedding6D self)
6937  """
6938  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
6939 
6940  def __str__(self):
6941  """__str__(DefaultEmbedding6D self) -> std::string"""
6942  return _IMP_algebra.DefaultEmbedding6D___str__(self)
6943 
6944  def __repr__(self):
6945  """__repr__(DefaultEmbedding6D self) -> std::string"""
6946  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
6947 
6948  def __cmp__(self, *args):
6949  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
6950  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
6951 
6952  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
6953  __del__ = lambda self : None;
6954 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
6955 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
6956 
6957 class DefaultEmbeddingKD(_object):
6958  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
6959  __swig_setmethods__ = {}
6960  __setattr__ = lambda self, name, value: _swig_setattr(self, DefaultEmbeddingKD, name, value)
6961  __swig_getmethods__ = {}
6962  __getattr__ = lambda self, name: _swig_getattr(self, DefaultEmbeddingKD, name)
6963  def __init__(self, *args):
6964  """
6965  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
6966  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
6967  """
6968  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
6969  try: self.this.append(this)
6970  except: self.this = this
6971  def set_origin(self, *args):
6972  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
6973  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
6974 
6975  def get_origin(self):
6976  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
6977  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
6978 
6979  def get_dimension(self):
6980  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
6981  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
6982 
6983  def set_unit_cell(self, *args):
6984  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
6985  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
6986 
6987  def get_inverse_unit_cell(self):
6988  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
6989  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
6990 
6991  def get_unit_cell(self):
6992  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
6993  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
6994 
6995  def get_extended_index(self, *args):
6996  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
6997  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
6998 
6999  def get_index(self, *args):
7000  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7001  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7002 
7003  def get_center(self, *args):
7004  """
7005  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7006  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7007  """
7008  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7009 
7010  def get_bounding_box(self, *args):
7011  """
7012  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7013  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7014  """
7015  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7016 
7017  def show(self, *args):
7018  """
7019  show(DefaultEmbeddingKD self, _ostream out=std::cout)
7020  show(DefaultEmbeddingKD self)
7021  """
7022  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7023 
7024  def __str__(self):
7025  """__str__(DefaultEmbeddingKD self) -> std::string"""
7026  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
7027 
7028  def __repr__(self):
7029  """__repr__(DefaultEmbeddingKD self) -> std::string"""
7030  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
7031 
7032  def __cmp__(self, *args):
7033  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
7034  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
7035 
7036  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
7037  __del__ = lambda self : None;
7038 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
7039 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
7040 
7041 class LogEmbedding1D(_object):
7042  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
7043  __swig_setmethods__ = {}
7044  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding1D, name, value)
7045  __swig_getmethods__ = {}
7046  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding1D, name)
7047  def __init__(self, *args):
7048  """
7049  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
7050  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
7051  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
7052  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
7053  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
7054  """
7055  this = _IMP_algebra.new_LogEmbedding1D(*args)
7056  try: self.this.append(this)
7057  except: self.this = this
7058  def set_origin(self, *args):
7059  """set_origin(LogEmbedding1D self, Vector1D o)"""
7060  return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
7061 
7062  def get_origin(self):
7063  """get_origin(LogEmbedding1D self) -> Vector1D"""
7064  return _IMP_algebra.LogEmbedding1D_get_origin(self)
7065 
7066  def get_dimension(self):
7067  """get_dimension(LogEmbedding1D self) -> unsigned int"""
7068  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
7069 
7070  def set_unit_cell(self, *args):
7071  """
7072  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
7073  set_unit_cell(LogEmbedding1D self, Vector1D o)
7074  """
7075  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
7076 
7077  def get_unit_cell(self):
7078  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
7079  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
7080 
7081  def get_extended_index(self, *args):
7082  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7083  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
7084 
7085  def get_index(self, *args):
7086  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
7087  return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
7088 
7089  def get_center(self, *args):
7090  """
7091  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7092  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
7093  """
7094  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
7095 
7096  def get_bounding_box(self, *args):
7097  """
7098  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7099  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7100  """
7101  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
7102 
7103  def show(self, *args):
7104  """
7105  show(LogEmbedding1D self, _ostream out=std::cout)
7106  show(LogEmbedding1D self)
7107  """
7108  return _IMP_algebra.LogEmbedding1D_show(self, *args)
7109 
7110  def __str__(self):
7111  """__str__(LogEmbedding1D self) -> std::string"""
7112  return _IMP_algebra.LogEmbedding1D___str__(self)
7113 
7114  def __repr__(self):
7115  """__repr__(LogEmbedding1D self) -> std::string"""
7116  return _IMP_algebra.LogEmbedding1D___repr__(self)
7117 
7118  def __cmp__(self, *args):
7119  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
7120  return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
7121 
7122  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
7123  __del__ = lambda self : None;
7124 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
7125 LogEmbedding1D_swigregister(LogEmbedding1D)
7126 
7127 class LogEmbedding2D(_object):
7128  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
7129  __swig_setmethods__ = {}
7130  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding2D, name, value)
7131  __swig_getmethods__ = {}
7132  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding2D, name)
7133  def __init__(self, *args):
7134  """
7135  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
7136  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
7137  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
7138  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
7139  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
7140  """
7141  this = _IMP_algebra.new_LogEmbedding2D(*args)
7142  try: self.this.append(this)
7143  except: self.this = this
7144  def set_origin(self, *args):
7145  """set_origin(LogEmbedding2D self, Vector2D o)"""
7146  return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
7147 
7148  def get_origin(self):
7149  """get_origin(LogEmbedding2D self) -> Vector2D"""
7150  return _IMP_algebra.LogEmbedding2D_get_origin(self)
7151 
7152  def get_dimension(self):
7153  """get_dimension(LogEmbedding2D self) -> unsigned int"""
7154  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
7155 
7156  def set_unit_cell(self, *args):
7157  """
7158  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
7159  set_unit_cell(LogEmbedding2D self, Vector2D o)
7160  """
7161  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
7162 
7163  def get_unit_cell(self):
7164  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
7165  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
7166 
7167  def get_extended_index(self, *args):
7168  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7169  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
7170 
7171  def get_index(self, *args):
7172  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
7173  return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
7174 
7175  def get_center(self, *args):
7176  """
7177  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7178  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
7179  """
7180  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
7181 
7182  def get_bounding_box(self, *args):
7183  """
7184  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7185  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7186  """
7187  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
7188 
7189  def show(self, *args):
7190  """
7191  show(LogEmbedding2D self, _ostream out=std::cout)
7192  show(LogEmbedding2D self)
7193  """
7194  return _IMP_algebra.LogEmbedding2D_show(self, *args)
7195 
7196  def __str__(self):
7197  """__str__(LogEmbedding2D self) -> std::string"""
7198  return _IMP_algebra.LogEmbedding2D___str__(self)
7199 
7200  def __repr__(self):
7201  """__repr__(LogEmbedding2D self) -> std::string"""
7202  return _IMP_algebra.LogEmbedding2D___repr__(self)
7203 
7204  def __cmp__(self, *args):
7205  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
7206  return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
7207 
7208  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
7209  __del__ = lambda self : None;
7210 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
7211 LogEmbedding2D_swigregister(LogEmbedding2D)
7212 
7213 class LogEmbedding3D(_object):
7214  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
7215  __swig_setmethods__ = {}
7216  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding3D, name, value)
7217  __swig_getmethods__ = {}
7218  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding3D, name)
7219  def __init__(self, *args):
7220  """
7221  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
7222  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
7223  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
7224  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
7225  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
7226  """
7227  this = _IMP_algebra.new_LogEmbedding3D(*args)
7228  try: self.this.append(this)
7229  except: self.this = this
7230  def set_origin(self, *args):
7231  """set_origin(LogEmbedding3D self, Vector3D o)"""
7232  return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
7233 
7234  def get_origin(self):
7235  """get_origin(LogEmbedding3D self) -> Vector3D"""
7236  return _IMP_algebra.LogEmbedding3D_get_origin(self)
7237 
7238  def get_dimension(self):
7239  """get_dimension(LogEmbedding3D self) -> unsigned int"""
7240  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
7241 
7242  def set_unit_cell(self, *args):
7243  """
7244  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
7245  set_unit_cell(LogEmbedding3D self, Vector3D o)
7246  """
7247  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
7248 
7249  def get_unit_cell(self):
7250  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
7251  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
7252 
7253  def get_extended_index(self, *args):
7254  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7255  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
7256 
7257  def get_index(self, *args):
7258  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
7259  return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
7260 
7261  def get_center(self, *args):
7262  """
7263  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7264  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
7265  """
7266  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
7267 
7268  def get_bounding_box(self, *args):
7269  """
7270  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7271  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7272  """
7273  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
7274 
7275  def show(self, *args):
7276  """
7277  show(LogEmbedding3D self, _ostream out=std::cout)
7278  show(LogEmbedding3D self)
7279  """
7280  return _IMP_algebra.LogEmbedding3D_show(self, *args)
7281 
7282  def __str__(self):
7283  """__str__(LogEmbedding3D self) -> std::string"""
7284  return _IMP_algebra.LogEmbedding3D___str__(self)
7285 
7286  def __repr__(self):
7287  """__repr__(LogEmbedding3D self) -> std::string"""
7288  return _IMP_algebra.LogEmbedding3D___repr__(self)
7289 
7290  def __cmp__(self, *args):
7291  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
7292  return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
7293 
7294  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
7295  __del__ = lambda self : None;
7296 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
7297 LogEmbedding3D_swigregister(LogEmbedding3D)
7298 
7299 class LogEmbedding4D(_object):
7300  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
7301  __swig_setmethods__ = {}
7302  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding4D, name, value)
7303  __swig_getmethods__ = {}
7304  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding4D, name)
7305  def __init__(self, *args):
7306  """
7307  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
7308  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
7309  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
7310  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
7311  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
7312  """
7313  this = _IMP_algebra.new_LogEmbedding4D(*args)
7314  try: self.this.append(this)
7315  except: self.this = this
7316  def set_origin(self, *args):
7317  """set_origin(LogEmbedding4D self, Vector4D o)"""
7318  return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
7319 
7320  def get_origin(self):
7321  """get_origin(LogEmbedding4D self) -> Vector4D"""
7322  return _IMP_algebra.LogEmbedding4D_get_origin(self)
7323 
7324  def get_dimension(self):
7325  """get_dimension(LogEmbedding4D self) -> unsigned int"""
7326  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
7327 
7328  def set_unit_cell(self, *args):
7329  """
7330  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
7331  set_unit_cell(LogEmbedding4D self, Vector4D o)
7332  """
7333  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
7334 
7335  def get_unit_cell(self):
7336  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
7337  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
7338 
7339  def get_extended_index(self, *args):
7340  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7341  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
7342 
7343  def get_index(self, *args):
7344  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
7345  return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
7346 
7347  def get_center(self, *args):
7348  """
7349  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7350  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
7351  """
7352  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
7353 
7354  def get_bounding_box(self, *args):
7355  """
7356  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7357  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7358  """
7359  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
7360 
7361  def show(self, *args):
7362  """
7363  show(LogEmbedding4D self, _ostream out=std::cout)
7364  show(LogEmbedding4D self)
7365  """
7366  return _IMP_algebra.LogEmbedding4D_show(self, *args)
7367 
7368  def __str__(self):
7369  """__str__(LogEmbedding4D self) -> std::string"""
7370  return _IMP_algebra.LogEmbedding4D___str__(self)
7371 
7372  def __repr__(self):
7373  """__repr__(LogEmbedding4D self) -> std::string"""
7374  return _IMP_algebra.LogEmbedding4D___repr__(self)
7375 
7376  def __cmp__(self, *args):
7377  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
7378  return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
7379 
7380  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
7381  __del__ = lambda self : None;
7382 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
7383 LogEmbedding4D_swigregister(LogEmbedding4D)
7384 
7385 class LogEmbedding5D(_object):
7386  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
7387  __swig_setmethods__ = {}
7388  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding5D, name, value)
7389  __swig_getmethods__ = {}
7390  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding5D, name)
7391  def __init__(self, *args):
7392  """
7393  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
7394  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
7395  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
7396  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
7397  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
7398  """
7399  this = _IMP_algebra.new_LogEmbedding5D(*args)
7400  try: self.this.append(this)
7401  except: self.this = this
7402  def set_origin(self, *args):
7403  """set_origin(LogEmbedding5D self, Vector5D o)"""
7404  return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
7405 
7406  def get_origin(self):
7407  """get_origin(LogEmbedding5D self) -> Vector5D"""
7408  return _IMP_algebra.LogEmbedding5D_get_origin(self)
7409 
7410  def get_dimension(self):
7411  """get_dimension(LogEmbedding5D self) -> unsigned int"""
7412  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
7413 
7414  def set_unit_cell(self, *args):
7415  """
7416  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
7417  set_unit_cell(LogEmbedding5D self, Vector5D o)
7418  """
7419  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
7420 
7421  def get_unit_cell(self):
7422  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
7423  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
7424 
7425  def get_extended_index(self, *args):
7426  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7427  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
7428 
7429  def get_index(self, *args):
7430  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
7431  return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
7432 
7433  def get_center(self, *args):
7434  """
7435  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7436  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
7437  """
7438  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
7439 
7440  def get_bounding_box(self, *args):
7441  """
7442  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7443  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7444  """
7445  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
7446 
7447  def show(self, *args):
7448  """
7449  show(LogEmbedding5D self, _ostream out=std::cout)
7450  show(LogEmbedding5D self)
7451  """
7452  return _IMP_algebra.LogEmbedding5D_show(self, *args)
7453 
7454  def __str__(self):
7455  """__str__(LogEmbedding5D self) -> std::string"""
7456  return _IMP_algebra.LogEmbedding5D___str__(self)
7457 
7458  def __repr__(self):
7459  """__repr__(LogEmbedding5D self) -> std::string"""
7460  return _IMP_algebra.LogEmbedding5D___repr__(self)
7461 
7462  def __cmp__(self, *args):
7463  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
7464  return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
7465 
7466  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
7467  __del__ = lambda self : None;
7468 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
7469 LogEmbedding5D_swigregister(LogEmbedding5D)
7470 
7471 class LogEmbedding6D(_object):
7472  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
7473  __swig_setmethods__ = {}
7474  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbedding6D, name, value)
7475  __swig_getmethods__ = {}
7476  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbedding6D, name)
7477  def __init__(self, *args):
7478  """
7479  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
7480  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
7481  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
7482  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
7483  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
7484  """
7485  this = _IMP_algebra.new_LogEmbedding6D(*args)
7486  try: self.this.append(this)
7487  except: self.this = this
7488  def set_origin(self, *args):
7489  """set_origin(LogEmbedding6D self, Vector6D o)"""
7490  return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
7491 
7492  def get_origin(self):
7493  """get_origin(LogEmbedding6D self) -> Vector6D"""
7494  return _IMP_algebra.LogEmbedding6D_get_origin(self)
7495 
7496  def get_dimension(self):
7497  """get_dimension(LogEmbedding6D self) -> unsigned int"""
7498  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
7499 
7500  def set_unit_cell(self, *args):
7501  """
7502  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
7503  set_unit_cell(LogEmbedding6D self, Vector6D o)
7504  """
7505  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
7506 
7507  def get_unit_cell(self):
7508  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
7509  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
7510 
7511  def get_extended_index(self, *args):
7512  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7513  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
7514 
7515  def get_index(self, *args):
7516  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
7517  return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
7518 
7519  def get_center(self, *args):
7520  """
7521  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7522  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
7523  """
7524  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
7525 
7526  def get_bounding_box(self, *args):
7527  """
7528  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7529  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7530  """
7531  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
7532 
7533  def show(self, *args):
7534  """
7535  show(LogEmbedding6D self, _ostream out=std::cout)
7536  show(LogEmbedding6D self)
7537  """
7538  return _IMP_algebra.LogEmbedding6D_show(self, *args)
7539 
7540  def __str__(self):
7541  """__str__(LogEmbedding6D self) -> std::string"""
7542  return _IMP_algebra.LogEmbedding6D___str__(self)
7543 
7544  def __repr__(self):
7545  """__repr__(LogEmbedding6D self) -> std::string"""
7546  return _IMP_algebra.LogEmbedding6D___repr__(self)
7547 
7548  def __cmp__(self, *args):
7549  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
7550  return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
7551 
7552  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
7553  __del__ = lambda self : None;
7554 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
7555 LogEmbedding6D_swigregister(LogEmbedding6D)
7556 
7557 class LogEmbeddingKD(_object):
7558  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
7559  __swig_setmethods__ = {}
7560  __setattr__ = lambda self, name, value: _swig_setattr(self, LogEmbeddingKD, name, value)
7561  __swig_getmethods__ = {}
7562  __getattr__ = lambda self, name: _swig_getattr(self, LogEmbeddingKD, name)
7563  def __init__(self, *args):
7564  """
7565  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
7566  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
7567  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
7568  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
7569  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
7570  """
7571  this = _IMP_algebra.new_LogEmbeddingKD(*args)
7572  try: self.this.append(this)
7573  except: self.this = this
7574  def set_origin(self, *args):
7575  """set_origin(LogEmbeddingKD self, VectorKD o)"""
7576  return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
7577 
7578  def get_origin(self):
7579  """get_origin(LogEmbeddingKD self) -> VectorKD"""
7580  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
7581 
7582  def get_dimension(self):
7583  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
7584  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
7585 
7586  def set_unit_cell(self, *args):
7587  """
7588  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
7589  set_unit_cell(LogEmbeddingKD self, VectorKD o)
7590  """
7591  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
7592 
7593  def get_unit_cell(self):
7594  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
7595  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
7596 
7597  def get_extended_index(self, *args):
7598  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7599  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
7600 
7601  def get_index(self, *args):
7602  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7603  return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
7604 
7605  def get_center(self, *args):
7606  """
7607  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7608  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
7609  """
7610  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
7611 
7612  def get_bounding_box(self, *args):
7613  """
7614  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7615  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7616  """
7617  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
7618 
7619  def show(self, *args):
7620  """
7621  show(LogEmbeddingKD self, _ostream out=std::cout)
7622  show(LogEmbeddingKD self)
7623  """
7624  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
7625 
7626  def __str__(self):
7627  """__str__(LogEmbeddingKD self) -> std::string"""
7628  return _IMP_algebra.LogEmbeddingKD___str__(self)
7629 
7630  def __repr__(self):
7631  """__repr__(LogEmbeddingKD self) -> std::string"""
7632  return _IMP_algebra.LogEmbeddingKD___repr__(self)
7633 
7634  def __cmp__(self, *args):
7635  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
7636  return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
7637 
7638  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
7639  __del__ = lambda self : None;
7640 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
7641 LogEmbeddingKD_swigregister(LogEmbeddingKD)
7642 
7643 class SpherePatch3D(_GeometricPrimitive3D):
7644  """Proxy of C++ IMP::algebra::SpherePatch3D class"""
7645  __swig_setmethods__ = {}
7646  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7647  __setattr__ = lambda self, name, value: _swig_setattr(self, SpherePatch3D, name, value)
7648  __swig_getmethods__ = {}
7649  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7650  __getattr__ = lambda self, name: _swig_getattr(self, SpherePatch3D, name)
7651  def __init__(self, *args):
7652  """
7653  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
7654  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
7655  """
7656  this = _IMP_algebra.new_SpherePatch3D(*args)
7657  try: self.this.append(this)
7658  except: self.this = this
7659  def get_contains(self, *args):
7660  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
7661  return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
7662 
7663  def get_plane(self):
7664  """get_plane(SpherePatch3D self) -> Plane3D"""
7665  return _IMP_algebra.SpherePatch3D_get_plane(self)
7666 
7667  def get_sphere(self):
7668  """get_sphere(SpherePatch3D self) -> Sphere3D"""
7669  return _IMP_algebra.SpherePatch3D_get_sphere(self)
7670 
7671  def show(self, *args):
7672  """
7673  show(SpherePatch3D self, _ostream out=std::cout)
7674  show(SpherePatch3D self)
7675  """
7676  return _IMP_algebra.SpherePatch3D_show(self, *args)
7677 
7678  def get_boundary_point(self):
7679  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
7680  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
7681 
7682  def __str__(self):
7683  """__str__(SpherePatch3D self) -> std::string"""
7684  return _IMP_algebra.SpherePatch3D___str__(self)
7685 
7686  def __repr__(self):
7687  """__repr__(SpherePatch3D self) -> std::string"""
7688  return _IMP_algebra.SpherePatch3D___repr__(self)
7689 
7690  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
7691  __del__ = lambda self : None;
7692 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
7693 SpherePatch3D_swigregister(SpherePatch3D)
7694 
7695 
7696 def get_area(*args):
7697  """
7698  get_area(Plane3D g) -> double
7699  get_area(SpherePatch3D g) -> double
7700  """
7701  return _IMP_algebra.get_area(*args)
7702 
7703 def get_sphere_patch_3d_geometry(*args):
7704  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
7705  return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
7706 class Cone3D(_GeometricPrimitive3D):
7707  """Proxy of C++ IMP::algebra::Cone3D class"""
7708  __swig_setmethods__ = {}
7709  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7710  __setattr__ = lambda self, name, value: _swig_setattr(self, Cone3D, name, value)
7711  __swig_getmethods__ = {}
7712  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7713  __getattr__ = lambda self, name: _swig_getattr(self, Cone3D, name)
7714  def __init__(self, *args):
7715  """
7716  __init__(IMP::algebra::Cone3D self) -> Cone3D
7717  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
7718  """
7719  this = _IMP_algebra.new_Cone3D(*args)
7720  try: self.this.append(this)
7721  except: self.this = this
7722  def get_tip(self):
7723  """get_tip(Cone3D self) -> Vector3D"""
7724  return _IMP_algebra.Cone3D_get_tip(self)
7725 
7726  def get_direction(self):
7727  """get_direction(Cone3D self) -> Vector3D"""
7728  return _IMP_algebra.Cone3D_get_direction(self)
7729 
7730  def get_height(self):
7731  """get_height(Cone3D self) -> double"""
7732  return _IMP_algebra.Cone3D_get_height(self)
7733 
7734  def get_angle(self):
7735  """get_angle(Cone3D self) -> double"""
7736  return _IMP_algebra.Cone3D_get_angle(self)
7737 
7738  def get_radius(self):
7739  """get_radius(Cone3D self) -> double"""
7740  return _IMP_algebra.Cone3D_get_radius(self)
7741 
7742  def get_contains(self, *args):
7743  """get_contains(Cone3D self, Vector3D v) -> bool"""
7744  return _IMP_algebra.Cone3D_get_contains(self, *args)
7745 
7746  def get_base_plane(self):
7747  """get_base_plane(Cone3D self) -> Plane3D"""
7748  return _IMP_algebra.Cone3D_get_base_plane(self)
7749 
7750  def show(self, *args):
7751  """
7752  show(Cone3D self, _ostream out=std::cout)
7753  show(Cone3D self)
7754  """
7755  return _IMP_algebra.Cone3D_show(self, *args)
7756 
7757  def __str__(self):
7758  """__str__(Cone3D self) -> std::string"""
7759  return _IMP_algebra.Cone3D___str__(self)
7760 
7761  def __repr__(self):
7762  """__repr__(Cone3D self) -> std::string"""
7763  return _IMP_algebra.Cone3D___repr__(self)
7764 
7765  __swig_destroy__ = _IMP_algebra.delete_Cone3D
7766  __del__ = lambda self : None;
7767 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
7768 Cone3D_swigregister(Cone3D)
7769 
7770 
7771 def get_surface_area(*args):
7772  """
7773  get_surface_area(BoundingBox3D g) -> double
7774  get_surface_area(Sphere3D g) -> double
7775  get_surface_area(Cylinder3D g) -> double
7776  get_surface_area(Ellipsoid3D g) -> double
7777  get_surface_area(Cone3D g) -> double
7778  """
7779  return _IMP_algebra.get_surface_area(*args)
7780 
7781 def get_volume(*args):
7782  """
7783  get_volume(BoundingBox3D g) -> double
7784  get_volume(Sphere3D g) -> double
7785  get_volume(Cylinder3D g) -> double
7786  get_volume(Ellipsoid3D g) -> double
7787  get_volume(Cone3D g) -> double
7788  """
7789  return _IMP_algebra.get_volume(*args)
7790 
7791 def get_cone_3d_geometry(*args):
7792  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
7793  return _IMP_algebra.get_cone_3d_geometry(*args)
7794 
7795 def write_pts(*args):
7796  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
7797  return _IMP_algebra.write_pts(*args)
7798 
7799 def read_pts(*args):
7800  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
7801  return _IMP_algebra.read_pts(*args)
7802 
7803 def write_spheres(*args):
7804  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
7805  return _IMP_algebra.write_spheres(*args)
7806 
7807 def read_spheres(*args):
7808  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
7809  return _IMP_algebra.read_spheres(*args)
7810 
7811 def get_grid_surface_cover(*args):
7812  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
7813  return _IMP_algebra.get_grid_surface_cover(*args)
7814 
7815 def get_random_chain(*args):
7816  """
7817  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
7818  get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0)) -> IMP::algebra::Vector3Ds
7819  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
7820  """
7821  return _IMP_algebra.get_random_chain(*args)
7822 
7823 def reversed_read(*args):
7824  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
7825  return _IMP_algebra.reversed_read(*args)
7826 
7827 def reversed_write(*args):
7828  """
7829  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
7830  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
7831  """
7832  return _IMP_algebra.reversed_write(*args)
7833 
7834 def get_is_big_endian():
7835  """get_is_big_endian() -> bool"""
7836  return _IMP_algebra.get_is_big_endian()
7837 
7838 def get_is_little_endian():
7839  """get_is_little_endian() -> bool"""
7840  return _IMP_algebra.get_is_little_endian()
7841 
7842 def get_shortest_segment(*args):
7843  """
7844  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
7845  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
7846  """
7847  return _IMP_algebra.get_shortest_segment(*args)
7848 class DynamicNearestNeighbor3D(IMP.base.Object):
7849  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
7850  __swig_setmethods__ = {}
7851  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7852  __setattr__ = lambda self, name, value: _swig_setattr(self, DynamicNearestNeighbor3D, name, value)
7853  __swig_getmethods__ = {}
7854  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7855  __getattr__ = lambda self, name: _swig_getattr(self, DynamicNearestNeighbor3D, name)
7856  def __init__(self, *args):
7857  """
7858  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
7859  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
7860  """
7861  this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
7862  try: self.this.append(this)
7863  except: self.this = this
7864  def get_in_ball(self, *args):
7865  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
7866  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
7867 
7868  def set_coordinates(self, *args):
7869  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
7870  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
7871 
7872  def get_version_info(self):
7873  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
7874  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
7875 
7876  __swig_destroy__ = _IMP_algebra.delete_DynamicNearestNeighbor3D
7877  __del__ = lambda self : None;
7878  def __str__(self):
7879  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
7880  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
7881 
7882  def __repr__(self):
7883  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
7884  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
7885 
7886  def get_from(o):
7887  return _object_cast_to_DynamicNearestNeighbor3D(o)
7888  get_from = staticmethod(get_from)
7889 
7890 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
7891 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
7892 
7893 class VectorKDMetric(IMP.base.Object):
7894  """Proxy of C++ IMP::algebra::VectorKDMetric class"""
7895  __swig_setmethods__ = {}
7896  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7897  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorKDMetric, name, value)
7898  __swig_getmethods__ = {}
7899  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7900  __getattr__ = lambda self, name: _swig_getattr(self, VectorKDMetric, name)
7901  def __init__(self, *args):
7902  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
7903  if self.__class__ == VectorKDMetric:
7904  _self = None
7905  else:
7906  _self = self
7907  this = _IMP_algebra.new_VectorKDMetric(_self, *args)
7908  try: self.this.append(this)
7909  except: self.this = this
7910  if self.__class__ != VectorKDMetric:
7911  import IMP.base
7912  IMP.base._director_objects.register(self)
7913 
7914 
7915 
7916  def get_distance(self, *args):
7917  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
7918  return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
7919 
7920  def get_centroid(self, *args):
7921  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
7922  return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
7923 
7924  def __str__(self):
7925  """__str__(VectorKDMetric self) -> std::string"""
7926  return _IMP_algebra.VectorKDMetric___str__(self)
7927 
7928  def __repr__(self):
7929  """__repr__(VectorKDMetric self) -> std::string"""
7930  return _IMP_algebra.VectorKDMetric___repr__(self)
7931 
7932  def get_from(o):
7933  return _object_cast_to_VectorKDMetric(o)
7934  get_from = staticmethod(get_from)
7935 
7936  def get_type_name(self):
7937  return self.__class__.__name__
7938  def do_show(self, out):
7939  pass
7940  def get_version_info(self):
7941  if"IMP::algebra" == "IMP":
7942  return VersionInfo("python", "0")
7943  else:
7944  return IMP.VersionInfo("python", "0")
7945  def get_from(o):
7946  return _object_cast_to_VectorKDMetric(o)
7947  get_from = staticmethod(get_from)
7948 
7949  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
7950  __del__ = lambda self : None;
7951  def __disown__(self):
7952  self.this.disown()
7953  _IMP_algebra.disown_VectorKDMetric(self)
7954  return weakref_proxy(self)
7955 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
7956 VectorKDMetric_swigregister(VectorKDMetric)
7957 
7958 class EuclideanVectorKDMetric(VectorKDMetric):
7959  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
7960  __swig_setmethods__ = {}
7961  for _s in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7962  __setattr__ = lambda self, name, value: _swig_setattr(self, EuclideanVectorKDMetric, name, value)
7963  __swig_getmethods__ = {}
7964  for _s in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7965  __getattr__ = lambda self, name: _swig_getattr(self, EuclideanVectorKDMetric, name)
7966  def __init__(self, name="EuclideanVectorKDMetric%1%"):
7967  """
7968  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
7969  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
7970  """
7971  this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
7972  try: self.this.append(this)
7973  except: self.this = this
7974  def get_version_info(self):
7975  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
7976  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
7977 
7978  __swig_destroy__ = _IMP_algebra.delete_EuclideanVectorKDMetric
7979  __del__ = lambda self : None;
7980  def __str__(self):
7981  """__str__(EuclideanVectorKDMetric self) -> std::string"""
7982  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
7983 
7984  def __repr__(self):
7985  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
7986  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
7987 
7988  def get_from(o):
7989  return _object_cast_to_EuclideanVectorKDMetric(o)
7990  get_from = staticmethod(get_from)
7991 
7992 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
7993 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
7994 
7995 class MaxVectorKDMetric(VectorKDMetric):
7996  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
7997  __swig_setmethods__ = {}
7998  for _s in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7999  __setattr__ = lambda self, name, value: _swig_setattr(self, MaxVectorKDMetric, name, value)
8000  __swig_getmethods__ = {}
8001  for _s in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8002  __getattr__ = lambda self, name: _swig_getattr(self, MaxVectorKDMetric, name)
8003  def __init__(self, name="MaxVectorKDMetric%1%"):
8004  """
8005  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8006  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8007  """
8008  this = _IMP_algebra.new_MaxVectorKDMetric(name)
8009  try: self.this.append(this)
8010  except: self.this = this
8011  def get_version_info(self):
8012  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8013  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8014 
8015  __swig_destroy__ = _IMP_algebra.delete_MaxVectorKDMetric
8016  __del__ = lambda self : None;
8017  def __str__(self):
8018  """__str__(MaxVectorKDMetric self) -> std::string"""
8019  return _IMP_algebra.MaxVectorKDMetric___str__(self)
8020 
8021  def __repr__(self):
8022  """__repr__(MaxVectorKDMetric self) -> std::string"""
8023  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8024 
8025  def get_from(o):
8026  return _object_cast_to_MaxVectorKDMetric(o)
8027  get_from = staticmethod(get_from)
8028 
8029 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8030 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8031 
8032 class NearestNeighbor1D(IMP.base.Object):
8033  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8034  __swig_setmethods__ = {}
8035  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8036  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor1D, name, value)
8037  __swig_getmethods__ = {}
8038  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8039  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor1D, name)
8040  def __init__(self, *args):
8041  """
8042  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8043  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8044  """
8045  this = _IMP_algebra.new_NearestNeighbor1D(*args)
8046  try: self.this.append(this)
8047  except: self.this = this
8048  def set_query_log(self, *args):
8049  """set_query_log(NearestNeighbor1D self, std::string fname)"""
8050  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8051 
8052  def get_nearest_neighbor(self, *args):
8053  """
8054  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8055  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8056  """
8057  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8058 
8059  def get_nearest_neighbors(self, *args):
8060  """
8061  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8062  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8063  """
8064  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8065 
8066  def get_in_ball(self, *args):
8067  """
8068  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8069  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8070  """
8071  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8072 
8073  def get_version_info(self):
8074  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8075  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8076 
8077  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor1D
8078  __del__ = lambda self : None;
8079  def __str__(self):
8080  """__str__(NearestNeighbor1D self) -> std::string"""
8081  return _IMP_algebra.NearestNeighbor1D___str__(self)
8082 
8083  def __repr__(self):
8084  """__repr__(NearestNeighbor1D self) -> std::string"""
8085  return _IMP_algebra.NearestNeighbor1D___repr__(self)
8086 
8087  def get_from(o):
8088  return _object_cast_to_NearestNeighborD(o)
8089  get_from = staticmethod(get_from)
8090 
8091 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8092 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8093 
8094 class NearestNeighbor2D(IMP.base.Object):
8095  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8096  __swig_setmethods__ = {}
8097  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8098  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor2D, name, value)
8099  __swig_getmethods__ = {}
8100  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8101  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor2D, name)
8102  def __init__(self, *args):
8103  """
8104  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8105  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8106  """
8107  this = _IMP_algebra.new_NearestNeighbor2D(*args)
8108  try: self.this.append(this)
8109  except: self.this = this
8110  def set_query_log(self, *args):
8111  """set_query_log(NearestNeighbor2D self, std::string fname)"""
8112  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8113 
8114  def get_nearest_neighbor(self, *args):
8115  """
8116  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
8117  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
8118  """
8119  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
8120 
8121  def get_nearest_neighbors(self, *args):
8122  """
8123  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
8124  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
8125  """
8126  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
8127 
8128  def get_in_ball(self, *args):
8129  """
8130  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
8131  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
8132  """
8133  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
8134 
8135  def get_version_info(self):
8136  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
8137  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
8138 
8139  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor2D
8140  __del__ = lambda self : None;
8141  def __str__(self):
8142  """__str__(NearestNeighbor2D self) -> std::string"""
8143  return _IMP_algebra.NearestNeighbor2D___str__(self)
8144 
8145  def __repr__(self):
8146  """__repr__(NearestNeighbor2D self) -> std::string"""
8147  return _IMP_algebra.NearestNeighbor2D___repr__(self)
8148 
8149  def get_from(o):
8150  return _object_cast_to_NearestNeighborD(o)
8151  get_from = staticmethod(get_from)
8152 
8153 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
8154 NearestNeighbor2D_swigregister(NearestNeighbor2D)
8155 
8156 class NearestNeighbor3D(IMP.base.Object):
8157  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
8158  __swig_setmethods__ = {}
8159  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8160  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor3D, name, value)
8161  __swig_getmethods__ = {}
8162  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8163  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor3D, name)
8164  def __init__(self, *args):
8165  """
8166  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
8167  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
8168  """
8169  this = _IMP_algebra.new_NearestNeighbor3D(*args)
8170  try: self.this.append(this)
8171  except: self.this = this
8172  def set_query_log(self, *args):
8173  """set_query_log(NearestNeighbor3D self, std::string fname)"""
8174  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
8175 
8176  def get_nearest_neighbor(self, *args):
8177  """
8178  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
8179  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
8180  """
8181  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
8182 
8183  def get_nearest_neighbors(self, *args):
8184  """
8185  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
8186  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
8187  """
8188  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
8189 
8190  def get_in_ball(self, *args):
8191  """
8192  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
8193  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
8194  """
8195  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
8196 
8197  def get_version_info(self):
8198  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
8199  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
8200 
8201  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor3D
8202  __del__ = lambda self : None;
8203  def __str__(self):
8204  """__str__(NearestNeighbor3D self) -> std::string"""
8205  return _IMP_algebra.NearestNeighbor3D___str__(self)
8206 
8207  def __repr__(self):
8208  """__repr__(NearestNeighbor3D self) -> std::string"""
8209  return _IMP_algebra.NearestNeighbor3D___repr__(self)
8210 
8211  def get_from(o):
8212  return _object_cast_to_NearestNeighborD(o)
8213  get_from = staticmethod(get_from)
8214 
8215 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
8216 NearestNeighbor3D_swigregister(NearestNeighbor3D)
8217 
8218 class NearestNeighbor4D(IMP.base.Object):
8219  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
8220  __swig_setmethods__ = {}
8221  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8222  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor4D, name, value)
8223  __swig_getmethods__ = {}
8224  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8225  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor4D, name)
8226  def __init__(self, *args):
8227  """
8228  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
8229  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
8230  """
8231  this = _IMP_algebra.new_NearestNeighbor4D(*args)
8232  try: self.this.append(this)
8233  except: self.this = this
8234  def set_query_log(self, *args):
8235  """set_query_log(NearestNeighbor4D self, std::string fname)"""
8236  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
8237 
8238  def get_nearest_neighbor(self, *args):
8239  """
8240  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
8241  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
8242  """
8243  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
8244 
8245  def get_nearest_neighbors(self, *args):
8246  """
8247  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
8248  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
8249  """
8250  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
8251 
8252  def get_in_ball(self, *args):
8253  """
8254  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
8255  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
8256  """
8257  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
8258 
8259  def get_version_info(self):
8260  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
8261  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
8262 
8263  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor4D
8264  __del__ = lambda self : None;
8265  def __str__(self):
8266  """__str__(NearestNeighbor4D self) -> std::string"""
8267  return _IMP_algebra.NearestNeighbor4D___str__(self)
8268 
8269  def __repr__(self):
8270  """__repr__(NearestNeighbor4D self) -> std::string"""
8271  return _IMP_algebra.NearestNeighbor4D___repr__(self)
8272 
8273  def get_from(o):
8274  return _object_cast_to_NearestNeighborD(o)
8275  get_from = staticmethod(get_from)
8276 
8277 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
8278 NearestNeighbor4D_swigregister(NearestNeighbor4D)
8279 
8280 class NearestNeighbor5D(IMP.base.Object):
8281  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
8282  __swig_setmethods__ = {}
8283  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8284  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor5D, name, value)
8285  __swig_getmethods__ = {}
8286  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8287  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor5D, name)
8288  def __init__(self, *args):
8289  """
8290  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
8291  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
8292  """
8293  this = _IMP_algebra.new_NearestNeighbor5D(*args)
8294  try: self.this.append(this)
8295  except: self.this = this
8296  def set_query_log(self, *args):
8297  """set_query_log(NearestNeighbor5D self, std::string fname)"""
8298  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
8299 
8300  def get_nearest_neighbor(self, *args):
8301  """
8302  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
8303  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
8304  """
8305  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
8306 
8307  def get_nearest_neighbors(self, *args):
8308  """
8309  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
8310  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
8311  """
8312  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
8313 
8314  def get_in_ball(self, *args):
8315  """
8316  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
8317  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
8318  """
8319  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
8320 
8321  def get_version_info(self):
8322  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
8323  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
8324 
8325  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor5D
8326  __del__ = lambda self : None;
8327  def __str__(self):
8328  """__str__(NearestNeighbor5D self) -> std::string"""
8329  return _IMP_algebra.NearestNeighbor5D___str__(self)
8330 
8331  def __repr__(self):
8332  """__repr__(NearestNeighbor5D self) -> std::string"""
8333  return _IMP_algebra.NearestNeighbor5D___repr__(self)
8334 
8335  def get_from(o):
8336  return _object_cast_to_NearestNeighborD(o)
8337  get_from = staticmethod(get_from)
8338 
8339 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
8340 NearestNeighbor5D_swigregister(NearestNeighbor5D)
8341 
8342 class NearestNeighbor6D(IMP.base.Object):
8343  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
8344  __swig_setmethods__ = {}
8345  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8346  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighbor6D, name, value)
8347  __swig_getmethods__ = {}
8348  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8349  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighbor6D, name)
8350  def __init__(self, *args):
8351  """
8352  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
8353  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
8354  """
8355  this = _IMP_algebra.new_NearestNeighbor6D(*args)
8356  try: self.this.append(this)
8357  except: self.this = this
8358  def set_query_log(self, *args):
8359  """set_query_log(NearestNeighbor6D self, std::string fname)"""
8360  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
8361 
8362  def get_nearest_neighbor(self, *args):
8363  """
8364  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
8365  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
8366  """
8367  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
8368 
8369  def get_nearest_neighbors(self, *args):
8370  """
8371  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
8372  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
8373  """
8374  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
8375 
8376  def get_in_ball(self, *args):
8377  """
8378  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
8379  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
8380  """
8381  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
8382 
8383  def get_version_info(self):
8384  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
8385  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
8386 
8387  __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor6D
8388  __del__ = lambda self : None;
8389  def __str__(self):
8390  """__str__(NearestNeighbor6D self) -> std::string"""
8391  return _IMP_algebra.NearestNeighbor6D___str__(self)
8392 
8393  def __repr__(self):
8394  """__repr__(NearestNeighbor6D self) -> std::string"""
8395  return _IMP_algebra.NearestNeighbor6D___repr__(self)
8396 
8397  def get_from(o):
8398  return _object_cast_to_NearestNeighborD(o)
8399  get_from = staticmethod(get_from)
8400 
8401 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
8402 NearestNeighbor6D_swigregister(NearestNeighbor6D)
8403 
8404 class NearestNeighborKD(IMP.base.Object):
8405  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
8406  __swig_setmethods__ = {}
8407  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8408  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighborKD, name, value)
8409  __swig_getmethods__ = {}
8410  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8411  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighborKD, name)
8412  def __init__(self, *args):
8413  """
8414  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
8415  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
8416  """
8417  this = _IMP_algebra.new_NearestNeighborKD(*args)
8418  try: self.this.append(this)
8419  except: self.this = this
8420  def set_query_log(self, *args):
8421  """set_query_log(NearestNeighborKD self, std::string fname)"""
8422  return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
8423 
8424  def get_nearest_neighbor(self, *args):
8425  """
8426  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
8427  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
8428  """
8429  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
8430 
8431  def get_nearest_neighbors(self, *args):
8432  """
8433  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
8434  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
8435  """
8436  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
8437 
8438  def get_in_ball(self, *args):
8439  """
8440  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
8441  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
8442  """
8443  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
8444 
8445  def get_version_info(self):
8446  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
8447  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
8448 
8449  __swig_destroy__ = _IMP_algebra.delete_NearestNeighborKD
8450  __del__ = lambda self : None;
8451  def __str__(self):
8452  """__str__(NearestNeighborKD self) -> std::string"""
8453  return _IMP_algebra.NearestNeighborKD___str__(self)
8454 
8455  def __repr__(self):
8456  """__repr__(NearestNeighborKD self) -> std::string"""
8457  return _IMP_algebra.NearestNeighborKD___repr__(self)
8458 
8459  def get_from(o):
8460  return _object_cast_to_NearestNeighborD(o)
8461  get_from = staticmethod(get_from)
8462 
8463 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
8464 NearestNeighborKD_swigregister(NearestNeighborKD)
8465 
8466 
8468  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
8469  return _IMP_algebra.get_transformation_aligning_pair(*args)
8470 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
8471  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
8472  __swig_setmethods__ = {}
8473  for _s in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8474  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis1D, name, value)
8475  __swig_getmethods__ = {}
8476  for _s in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8477  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis1D, name)
8478  def __init__(self, *args):
8479  """
8480  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
8481  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
8482  """
8483  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
8484  try: self.this.append(this)
8485  except: self.this = this
8486  def get_principal_components(self):
8487  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
8488  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
8489 
8490  def get_principal_component(self, *args):
8491  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
8492  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
8493 
8494  def get_principal_values(self):
8495  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
8496  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
8497 
8498  def get_principal_value(self, *args):
8499  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
8500  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
8501 
8502  def get_centroid(self):
8503  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
8504  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
8505 
8506  def set_centroid(self, *args):
8507  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
8508  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
8509 
8510  def show(self, *args):
8511  """
8512  show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
8513  show(PrincipalComponentAnalysis1D self)
8514  """
8515  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
8516 
8517  def __eq__(self, *args):
8518  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8519  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
8520 
8521  def __ne__(self, *args):
8522  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8523  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
8524 
8525  def __lt__(self, *args):
8526  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8527  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
8528 
8529  def __gt__(self, *args):
8530  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8531  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
8532 
8533  def __ge__(self, *args):
8534  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8535  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
8536 
8537  def __le__(self, *args):
8538  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8539  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
8540 
8541  def __str__(self):
8542  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
8543  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
8544 
8545  def __repr__(self):
8546  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
8547  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
8548 
8549  def __cmp__(self, *args):
8550  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D arg2) -> int"""
8551  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
8552 
8553  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
8554  __del__ = lambda self : None;
8555 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
8556 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
8557 
8558 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
8559  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
8560  __swig_setmethods__ = {}
8561  for _s in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8562  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis2D, name, value)
8563  __swig_getmethods__ = {}
8564  for _s in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8565  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis2D, name)
8566  def __init__(self, *args):
8567  """
8568  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
8569  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
8570  """
8571  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
8572  try: self.this.append(this)
8573  except: self.this = this
8574  def get_principal_components(self):
8575  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
8576  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
8577 
8578  def get_principal_component(self, *args):
8579  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
8580  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
8581 
8582  def get_principal_values(self):
8583  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
8584  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
8585 
8586  def get_principal_value(self, *args):
8587  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
8588  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
8589 
8590  def get_centroid(self):
8591  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
8592  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
8593 
8594  def set_centroid(self, *args):
8595  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
8596  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
8597 
8598  def show(self, *args):
8599  """
8600  show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
8601  show(PrincipalComponentAnalysis2D self)
8602  """
8603  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
8604 
8605  def __eq__(self, *args):
8606  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8607  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
8608 
8609  def __ne__(self, *args):
8610  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8611  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
8612 
8613  def __lt__(self, *args):
8614  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8615  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
8616 
8617  def __gt__(self, *args):
8618  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8619  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
8620 
8621  def __ge__(self, *args):
8622  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8623  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
8624 
8625  def __le__(self, *args):
8626  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8627  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
8628 
8629  def __str__(self):
8630  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
8631  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
8632 
8633  def __repr__(self):
8634  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
8635  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
8636 
8637  def __cmp__(self, *args):
8638  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D arg2) -> int"""
8639  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
8640 
8641  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
8642  __del__ = lambda self : None;
8643 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
8644 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
8645 
8646 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
8647  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
8648  __swig_setmethods__ = {}
8649  for _s in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8650  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis3D, name, value)
8651  __swig_getmethods__ = {}
8652  for _s in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8653  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis3D, name)
8654  def __init__(self, *args):
8655  """
8656  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
8657  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
8658  """
8659  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
8660  try: self.this.append(this)
8661  except: self.this = this
8662  def get_principal_components(self):
8663  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
8664  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
8665 
8666  def get_principal_component(self, *args):
8667  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
8668  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
8669 
8670  def get_principal_values(self):
8671  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
8672  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
8673 
8674  def get_principal_value(self, *args):
8675  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
8676  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
8677 
8678  def get_centroid(self):
8679  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
8680  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
8681 
8682  def set_centroid(self, *args):
8683  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
8684  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
8685 
8686  def show(self, *args):
8687  """
8688  show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
8689  show(PrincipalComponentAnalysis3D self)
8690  """
8691  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
8692 
8693  def __eq__(self, *args):
8694  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8695  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
8696 
8697  def __ne__(self, *args):
8698  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8699  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
8700 
8701  def __lt__(self, *args):
8702  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8703  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
8704 
8705  def __gt__(self, *args):
8706  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8707  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
8708 
8709  def __ge__(self, *args):
8710  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8711  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
8712 
8713  def __le__(self, *args):
8714  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8715  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
8716 
8717  def __str__(self):
8718  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
8719  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
8720 
8721  def __repr__(self):
8722  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
8723  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
8724 
8725  def __cmp__(self, *args):
8726  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D arg2) -> int"""
8727  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
8728 
8729  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
8730  __del__ = lambda self : None;
8731 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
8732 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
8733 
8734 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
8735  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
8736  __swig_setmethods__ = {}
8737  for _s in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8738  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis4D, name, value)
8739  __swig_getmethods__ = {}
8740  for _s in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8741  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis4D, name)
8742  def __init__(self, *args):
8743  """
8744  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
8745  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
8746  """
8747  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
8748  try: self.this.append(this)
8749  except: self.this = this
8750  def get_principal_components(self):
8751  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
8752  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
8753 
8754  def get_principal_component(self, *args):
8755  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
8756  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
8757 
8758  def get_principal_values(self):
8759  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
8760  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
8761 
8762  def get_principal_value(self, *args):
8763  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
8764  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
8765 
8766  def get_centroid(self):
8767  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
8768  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
8769 
8770  def set_centroid(self, *args):
8771  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
8772  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
8773 
8774  def show(self, *args):
8775  """
8776  show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
8777  show(PrincipalComponentAnalysis4D self)
8778  """
8779  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
8780 
8781  def __eq__(self, *args):
8782  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8783  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
8784 
8785  def __ne__(self, *args):
8786  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8787  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
8788 
8789  def __lt__(self, *args):
8790  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8791  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
8792 
8793  def __gt__(self, *args):
8794  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8795  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
8796 
8797  def __ge__(self, *args):
8798  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8799  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
8800 
8801  def __le__(self, *args):
8802  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8803  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
8804 
8805  def __str__(self):
8806  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
8807  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
8808 
8809  def __repr__(self):
8810  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
8811  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
8812 
8813  def __cmp__(self, *args):
8814  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D arg2) -> int"""
8815  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
8816 
8817  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
8818  __del__ = lambda self : None;
8819 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
8820 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
8821 
8822 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
8823  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
8824  __swig_setmethods__ = {}
8825  for _s in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8826  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis5D, name, value)
8827  __swig_getmethods__ = {}
8828  for _s in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8829  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis5D, name)
8830  def __init__(self, *args):
8831  """
8832  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
8833  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
8834  """
8835  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
8836  try: self.this.append(this)
8837  except: self.this = this
8838  def get_principal_components(self):
8839  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
8840  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
8841 
8842  def get_principal_component(self, *args):
8843  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
8844  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
8845 
8846  def get_principal_values(self):
8847  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
8848  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
8849 
8850  def get_principal_value(self, *args):
8851  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
8852  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
8853 
8854  def get_centroid(self):
8855  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
8856  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
8857 
8858  def set_centroid(self, *args):
8859  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
8860  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
8861 
8862  def show(self, *args):
8863  """
8864  show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
8865  show(PrincipalComponentAnalysis5D self)
8866  """
8867  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
8868 
8869  def __eq__(self, *args):
8870  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8871  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
8872 
8873  def __ne__(self, *args):
8874  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8875  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
8876 
8877  def __lt__(self, *args):
8878  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8879  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
8880 
8881  def __gt__(self, *args):
8882  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8883  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
8884 
8885  def __ge__(self, *args):
8886  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8887  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
8888 
8889  def __le__(self, *args):
8890  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8891  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
8892 
8893  def __str__(self):
8894  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
8895  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
8896 
8897  def __repr__(self):
8898  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
8899  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
8900 
8901  def __cmp__(self, *args):
8902  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D arg2) -> int"""
8903  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
8904 
8905  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
8906  __del__ = lambda self : None;
8907 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
8908 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
8909 
8910 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
8911  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
8912  __swig_setmethods__ = {}
8913  for _s in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8914  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis6D, name, value)
8915  __swig_getmethods__ = {}
8916  for _s in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8917  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis6D, name)
8918  def __init__(self, *args):
8919  """
8920  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
8921  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
8922  """
8923  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
8924  try: self.this.append(this)
8925  except: self.this = this
8926  def get_principal_components(self):
8927  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
8928  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
8929 
8930  def get_principal_component(self, *args):
8931  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
8932  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
8933 
8934  def get_principal_values(self):
8935  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
8936  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
8937 
8938  def get_principal_value(self, *args):
8939  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
8940  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
8941 
8942  def get_centroid(self):
8943  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
8944  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
8945 
8946  def set_centroid(self, *args):
8947  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
8948  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
8949 
8950  def show(self, *args):
8951  """
8952  show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
8953  show(PrincipalComponentAnalysis6D self)
8954  """
8955  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
8956 
8957  def __eq__(self, *args):
8958  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8959  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
8960 
8961  def __ne__(self, *args):
8962  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8963  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
8964 
8965  def __lt__(self, *args):
8966  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8967  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
8968 
8969  def __gt__(self, *args):
8970  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8971  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
8972 
8973  def __ge__(self, *args):
8974  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8975  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
8976 
8977  def __le__(self, *args):
8978  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8979  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
8980 
8981  def __str__(self):
8982  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
8983  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
8984 
8985  def __repr__(self):
8986  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
8987  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
8988 
8989  def __cmp__(self, *args):
8990  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D arg2) -> int"""
8991  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
8992 
8993  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
8994  __del__ = lambda self : None;
8995 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
8996 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
8997 
8998 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
8999  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9000  __swig_setmethods__ = {}
9001  for _s in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9002  __setattr__ = lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysisKD, name, value)
9003  __swig_getmethods__ = {}
9004  for _s in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9005  __getattr__ = lambda self, name: _swig_getattr(self, PrincipalComponentAnalysisKD, name)
9006  def __init__(self, *args):
9007  """
9008  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9009  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9010  """
9011  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9012  try: self.this.append(this)
9013  except: self.this = this
9014  def get_principal_components(self):
9015  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9016  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9017 
9018  def get_principal_component(self, *args):
9019  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9020  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9021 
9022  def get_principal_values(self):
9023  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9024  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9025 
9026  def get_principal_value(self, *args):
9027  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9028  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9029 
9030  def get_centroid(self):
9031  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9032  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9033 
9034  def set_centroid(self, *args):
9035  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9036  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9037 
9038  def show(self, *args):
9039  """
9040  show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9041  show(PrincipalComponentAnalysisKD self)
9042  """
9043  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9044 
9045  def __eq__(self, *args):
9046  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9047  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9048 
9049  def __ne__(self, *args):
9050  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9051  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9052 
9053  def __lt__(self, *args):
9054  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9055  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9056 
9057  def __gt__(self, *args):
9058  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9059  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9060 
9061  def __ge__(self, *args):
9062  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9063  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9064 
9065  def __le__(self, *args):
9066  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9067  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9068 
9069  def __str__(self):
9070  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9071  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9072 
9073  def __repr__(self):
9074  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9075  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9076 
9077  def __cmp__(self, *args):
9078  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD arg2) -> int"""
9079  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9080 
9081  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9082  __del__ = lambda self : None;
9083 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9084 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9085 
9086 
9087 def get_principal_components(*args):
9088  """
9089  get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9090  get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9091  get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9092  get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9093  get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9094  get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9095  get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9096  """
9097  return _IMP_algebra.get_principal_components(*args)
9098 
9099 def get_distance(*args):
9100  """
9101  get_distance(Rotation3D r0, Rotation3D r1) -> double
9102  get_distance(Segment3D s, Vector3D p) -> double
9103  get_distance(Segment3D a, Segment3D b) -> double
9104  get_distance(Plane3D pln, Vector3D p) -> double
9105  get_distance(Vector1D a, Vector1D b) -> double
9106  get_distance(Vector2D a, Vector2D b) -> double
9107  get_distance(Vector3D a, Vector3D b) -> double
9108  get_distance(Vector4D a, Vector4D b) -> double
9109  get_distance(Vector5D a, Vector5D b) -> double
9110  get_distance(Vector6D a, Vector6D b) -> double
9111  get_distance(VectorKD a, VectorKD b) -> double
9112  get_distance(Sphere1D a, Sphere1D b) -> double
9113  get_distance(Sphere2D a, Sphere2D b) -> double
9114  get_distance(Sphere3D a, Sphere3D b) -> double
9115  get_distance(Sphere4D a, Sphere4D b) -> double
9116  get_distance(Sphere5D a, Sphere5D b) -> double
9117  get_distance(Sphere6D a, Sphere6D b) -> double
9118  get_distance(SphereKD a, SphereKD b) -> double
9119  """
9120  return _IMP_algebra.get_distance(*args)
9121 
9122 def get_squared_distance(*args):
9123  """
9124  get_squared_distance(Vector1D a, Vector1D b) -> double
9125  get_squared_distance(Vector2D a, Vector2D b) -> double
9126  get_squared_distance(Vector3D a, Vector3D b) -> double
9127  get_squared_distance(Vector4D a, Vector4D b) -> double
9128  get_squared_distance(Vector5D a, Vector5D b) -> double
9129  get_squared_distance(Vector6D a, Vector6D b) -> double
9130  get_squared_distance(VectorKD a, VectorKD b) -> double
9131  """
9132  return _IMP_algebra.get_squared_distance(*args)
9133 
9134 def get_basis_vector_1d(*args):
9135  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
9136  return _IMP_algebra.get_basis_vector_1d(*args)
9137 
9138 def get_basis_vector_2d(*args):
9139  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
9140  return _IMP_algebra.get_basis_vector_2d(*args)
9141 
9142 def get_basis_vector_3d(*args):
9143  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
9144  return _IMP_algebra.get_basis_vector_3d(*args)
9145 
9146 def get_basis_vector_4d(*args):
9147  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
9148  return _IMP_algebra.get_basis_vector_4d(*args)
9149 
9150 def get_basis_vector_5d(*args):
9151  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
9152  return _IMP_algebra.get_basis_vector_5d(*args)
9153 
9154 def get_basis_vector_6d(*args):
9155  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
9156  return _IMP_algebra.get_basis_vector_6d(*args)
9157 
9158 def get_zero_vector_1d():
9159  """get_zero_vector_1d() -> Vector1D"""
9160  return _IMP_algebra.get_zero_vector_1d()
9161 
9162 def get_zero_vector_2d():
9163  """get_zero_vector_2d() -> Vector2D"""
9164  return _IMP_algebra.get_zero_vector_2d()
9165 
9166 def get_zero_vector_3d():
9167  """get_zero_vector_3d() -> Vector3D"""
9168  return _IMP_algebra.get_zero_vector_3d()
9169 
9170 def get_zero_vector_4d():
9171  """get_zero_vector_4d() -> Vector4D"""
9172  return _IMP_algebra.get_zero_vector_4d()
9173 
9174 def get_zero_vector_5d():
9175  """get_zero_vector_5d() -> Vector5D"""
9176  return _IMP_algebra.get_zero_vector_5d()
9177 
9178 def get_zero_vector_6d():
9179  """get_zero_vector_6d() -> Vector6D"""
9180  return _IMP_algebra.get_zero_vector_6d()
9181 
9182 def get_ones_vector_1d(v=1):
9183  """
9184  get_ones_vector_1d(double v=1) -> Vector1D
9185  get_ones_vector_1d() -> Vector1D
9186  """
9187  return _IMP_algebra.get_ones_vector_1d(v)
9188 
9189 def get_ones_vector_2d(v=1):
9190  """
9191  get_ones_vector_2d(double v=1) -> Vector2D
9192  get_ones_vector_2d() -> Vector2D
9193  """
9194  return _IMP_algebra.get_ones_vector_2d(v)
9195 
9196 def get_ones_vector_3d(v=1):
9197  """
9198  get_ones_vector_3d(double v=1) -> Vector3D
9199  get_ones_vector_3d() -> Vector3D
9200  """
9201  return _IMP_algebra.get_ones_vector_3d(v)
9202 
9203 def get_ones_vector_4d(v=1):
9204  """
9205  get_ones_vector_4d(double v=1) -> Vector4D
9206  get_ones_vector_4d() -> Vector4D
9207  """
9208  return _IMP_algebra.get_ones_vector_4d(v)
9209 
9210 def get_ones_vector_5d(v=1):
9211  """
9212  get_ones_vector_5d(double v=1) -> Vector5D
9213  get_ones_vector_5d() -> Vector5D
9214  """
9215  return _IMP_algebra.get_ones_vector_5d(v)
9216 
9217 def get_ones_vector_6d(v=1):
9218  """
9219  get_ones_vector_6d(double v=1) -> Vector6D
9220  get_ones_vector_6d() -> Vector6D
9221  """
9222  return _IMP_algebra.get_ones_vector_6d(v)
9223 
9224 def get_unit_bounding_box_1d():
9225  """get_unit_bounding_box_1d() -> BoundingBox1D"""
9226  return _IMP_algebra.get_unit_bounding_box_1d()
9227 
9228 def get_unit_bounding_box_2d():
9229  """get_unit_bounding_box_2d() -> BoundingBox2D"""
9230  return _IMP_algebra.get_unit_bounding_box_2d()
9231 
9232 def get_unit_bounding_box_3d():
9233  """get_unit_bounding_box_3d() -> BoundingBox3D"""
9234  return _IMP_algebra.get_unit_bounding_box_3d()
9235 
9236 def get_unit_bounding_box_4d():
9237  """get_unit_bounding_box_4d() -> BoundingBox4D"""
9238  return _IMP_algebra.get_unit_bounding_box_4d()
9239 
9240 def get_unit_bounding_box_5d():
9241  """get_unit_bounding_box_5d() -> BoundingBox5D"""
9242  return _IMP_algebra.get_unit_bounding_box_5d()
9243 
9244 def get_unit_bounding_box_6d():
9245  """get_unit_bounding_box_6d() -> BoundingBox6D"""
9246  return _IMP_algebra.get_unit_bounding_box_6d()
9247 
9248 def get_cube_1d(*args):
9249  """get_cube_1d(double radius) -> BoundingBox1D"""
9250  return _IMP_algebra.get_cube_1d(*args)
9251 
9252 def get_cube_2d(*args):
9253  """get_cube_2d(double radius) -> BoundingBox2D"""
9254  return _IMP_algebra.get_cube_2d(*args)
9255 
9256 def get_cube_3d(*args):
9257  """get_cube_3d(double radius) -> BoundingBox3D"""
9258  return _IMP_algebra.get_cube_3d(*args)
9259 
9260 def get_cube_4d(*args):
9261  """get_cube_4d(double radius) -> BoundingBox4D"""
9262  return _IMP_algebra.get_cube_4d(*args)
9263 
9264 def get_cube_5d(*args):
9265  """get_cube_5d(double radius) -> BoundingBox5D"""
9266  return _IMP_algebra.get_cube_5d(*args)
9267 
9268 def get_cube_6d(*args):
9269  """get_cube_6d(double radius) -> BoundingBox6D"""
9270  return _IMP_algebra.get_cube_6d(*args)
9271 
9272 def get_unit_sphere_1d():
9273  """get_unit_sphere_1d() -> Sphere1D"""
9274  return _IMP_algebra.get_unit_sphere_1d()
9275 
9276 def get_unit_sphere_2d():
9277  """get_unit_sphere_2d() -> Sphere2D"""
9278  return _IMP_algebra.get_unit_sphere_2d()
9279 
9280 def get_unit_sphere_3d():
9281  """get_unit_sphere_3d() -> Sphere3D"""
9282  return _IMP_algebra.get_unit_sphere_3d()
9283 
9284 def get_unit_sphere_4d():
9285  """get_unit_sphere_4d() -> Sphere4D"""
9286  return _IMP_algebra.get_unit_sphere_4d()
9287 
9288 def get_unit_sphere_5d():
9289  """get_unit_sphere_5d() -> Sphere5D"""
9290  return _IMP_algebra.get_unit_sphere_5d()
9291 
9292 def get_unit_sphere_6d():
9293  """get_unit_sphere_6d() -> Sphere6D"""
9294  return _IMP_algebra.get_unit_sphere_6d()
9295 
9296 def get_interiors_intersect(*args):
9297  """
9298  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
9299  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
9300  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
9301  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
9302  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
9303  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
9304  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
9305  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
9306  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
9307  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
9308  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
9309  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
9310  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
9311  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
9312  """
9313  return _IMP_algebra.get_interiors_intersect(*args)
9314 
9315 def get_random_vector_on(*args):
9316  """
9317  get_random_vector_on(Sphere1D a) -> Vector1D
9318  get_random_vector_on(Sphere2D a) -> Vector2D
9319  get_random_vector_on(Sphere3D a) -> Vector3D
9320  get_random_vector_on(Sphere4D a) -> Vector4D
9321  get_random_vector_on(Sphere5D a) -> Vector5D
9322  get_random_vector_on(Sphere6D a) -> Vector6D
9323  get_random_vector_on(SphereKD a) -> VectorKD
9324  get_random_vector_on(BoundingBox1D a) -> Vector1D
9325  get_random_vector_on(BoundingBox2D a) -> Vector2D
9326  get_random_vector_on(BoundingBox3D a) -> Vector3D
9327  get_random_vector_on(BoundingBox4D a) -> Vector4D
9328  get_random_vector_on(BoundingBox5D a) -> Vector5D
9329  get_random_vector_on(BoundingBox6D a) -> Vector6D
9330  get_random_vector_on(BoundingBoxKD a) -> VectorKD
9331  """
9332  return _IMP_algebra.get_random_vector_on(*args)
9333 
9334 def get_random_vector_in(*args):
9335  """
9336  get_random_vector_in(Sphere2D s) -> Vector2D
9337  get_random_vector_in(Cylinder3D c) -> Vector3D
9338  get_random_vector_in(Sphere1D a) -> Vector1D
9339  get_random_vector_in(Sphere2D a) -> Vector2D
9340  get_random_vector_in(Sphere3D a) -> Vector3D
9341  get_random_vector_in(Sphere4D a) -> Vector4D
9342  get_random_vector_in(Sphere5D a) -> Vector5D
9343  get_random_vector_in(Sphere6D a) -> Vector6D
9344  get_random_vector_in(SphereKD a) -> VectorKD
9345  get_random_vector_in(BoundingBox1D a) -> Vector1D
9346  get_random_vector_in(BoundingBox2D a) -> Vector2D
9347  get_random_vector_in(BoundingBox3D a) -> Vector3D
9348  get_random_vector_in(BoundingBox4D a) -> Vector4D
9349  get_random_vector_in(BoundingBox5D a) -> Vector5D
9350  get_random_vector_in(BoundingBox6D a) -> Vector6D
9351  get_random_vector_in(BoundingBoxKD a) -> VectorKD
9352  """
9353  return _IMP_algebra.get_random_vector_in(*args)
9354 
9355 def get_intersection(*args):
9356  """
9357  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9358  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9359  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9360  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9361  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9362  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9363  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9364  """
9365  return _IMP_algebra.get_intersection(*args)
9366 
9367 def get_union(*args):
9368  """
9369  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9370  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9371  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9372  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9373  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9374  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9375  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9376  """
9377  return _IMP_algebra.get_union(*args)
9378 
9379 def get_bounding_box(*args):
9380  """
9381  get_bounding_box(Segment3D g) -> BoundingBox3D
9382  get_bounding_box(Plane3D g) -> BoundingBox3D
9383  get_bounding_box(Cylinder3D g) -> BoundingBox3D
9384  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
9385  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
9386  get_bounding_box(Cone3D g) -> BoundingBox3D
9387  get_bounding_box(Sphere1D a) -> BoundingBox1D
9388  get_bounding_box(Sphere2D a) -> BoundingBox2D
9389  get_bounding_box(Sphere3D a) -> BoundingBox3D
9390  get_bounding_box(Sphere4D a) -> BoundingBox4D
9391  get_bounding_box(Sphere5D a) -> BoundingBox5D
9392  get_bounding_box(Sphere6D a) -> BoundingBox6D
9393  get_bounding_box(SphereKD a) -> BoundingBoxKD
9394  """
9395  return _IMP_algebra.get_bounding_box(*args)
9396 
9397 def get_uniform_surface_cover(*args):
9398  """
9399  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
9400  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9401  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9402  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
9403  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
9404  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
9405  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
9406  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
9407  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
9408  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
9409  """
9410  return _IMP_algebra.get_uniform_surface_cover(*args)
9411 
9413  """
9414  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
9415  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
9416  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
9417  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
9418  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
9419  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
9420  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
9421  """
9422  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
9423 class _SparseIntStorage(BoundedGridRange3D):
9424  """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> class"""
9425  __swig_setmethods__ = {}
9426  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9427  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseIntStorage, name, value)
9428  __swig_getmethods__ = {}
9429  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9430  __getattr__ = lambda self, name: _swig_getattr(self, _SparseIntStorage, name)
9431  __repr__ = _swig_repr
9432  def __init__(self, *args):
9433  """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorage"""
9434  this = _IMP_algebra.new__SparseIntStorage(*args)
9435  try: self.this.append(this)
9436  except: self.this = this
9437  def show(self, *args):
9438  """
9439  show(_SparseIntStorage self, _ostream out=std::cout)
9440  show(_SparseIntStorage self)
9441  """
9442  return _IMP_algebra._SparseIntStorage_show(self, *args)
9443 
9444  def add_voxel(self, *args):
9445  """add_voxel(_SparseIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9446  return _IMP_algebra._SparseIntStorage_add_voxel(self, *args)
9447 
9448  def remove_voxel(self, *args):
9449  """remove_voxel(_SparseIntStorage self, GridIndex3D gi)"""
9450  return _IMP_algebra._SparseIntStorage_remove_voxel(self, *args)
9451 
9452  def get_number_of_voxels(self):
9453  """get_number_of_voxels(_SparseIntStorage self) -> unsigned int"""
9454  return _IMP_algebra._SparseIntStorage_get_number_of_voxels(self)
9455 
9456  def get_has_index(self, *args):
9457  """get_has_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> bool"""
9458  return _IMP_algebra._SparseIntStorage_get_has_index(self, *args)
9459 
9460  def get_index(self, *args):
9461  """get_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9462  return _IMP_algebra._SparseIntStorage_get_index(self, *args)
9463 
9464  def __setitem__(self, *args):
9465  """__setitem__(_SparseIntStorage self, GridIndex3D i, int const & v)"""
9466  return _IMP_algebra._SparseIntStorage___setitem__(self, *args)
9467 
9468  def __getitem__(self, *args):
9469  """__getitem__(_SparseIntStorage self, GridIndex3D i) -> int const &"""
9470  return _IMP_algebra._SparseIntStorage___getitem__(self, *args)
9471 
9472  def get_all_indexes(self):
9473  """get_all_indexes(_SparseIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9474  return _IMP_algebra._SparseIntStorage_get_all_indexes(self)
9475 
9476  def get_indexes(self, *args):
9477  """get_indexes(_SparseIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9478  return _IMP_algebra._SparseIntStorage_get_indexes(self, *args)
9479 
9480  def get_minimum_extended_index(self):
9481  """get_minimum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9482  return _IMP_algebra._SparseIntStorage_get_minimum_extended_index(self)
9483 
9484  def get_maximum_extended_index(self):
9485  """get_maximum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9486  return _IMP_algebra._SparseIntStorage_get_maximum_extended_index(self)
9487 
9488  __swig_destroy__ = _IMP_algebra.delete__SparseIntStorage
9489  __del__ = lambda self : None;
9490 _SparseIntStorage_swigregister = _IMP_algebra._SparseIntStorage_swigregister
9491 _SparseIntStorage_swigregister(_SparseIntStorage)
9492 
9493 class _SparseUBIntStorage(UnboundedGridRange3D):
9494  """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> class"""
9495  __swig_setmethods__ = {}
9496  for _s in [UnboundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9497  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseUBIntStorage, name, value)
9498  __swig_getmethods__ = {}
9499  for _s in [UnboundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9500  __getattr__ = lambda self, name: _swig_getattr(self, _SparseUBIntStorage, name)
9501  __repr__ = _swig_repr
9502  def __init__(self, *args):
9503  """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorage"""
9504  this = _IMP_algebra.new__SparseUBIntStorage(*args)
9505  try: self.this.append(this)
9506  except: self.this = this
9507  def show(self, *args):
9508  """
9509  show(_SparseUBIntStorage self, _ostream out=std::cout)
9510  show(_SparseUBIntStorage self)
9511  """
9512  return _IMP_algebra._SparseUBIntStorage_show(self, *args)
9513 
9514  def add_voxel(self, *args):
9515  """add_voxel(_SparseUBIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9516  return _IMP_algebra._SparseUBIntStorage_add_voxel(self, *args)
9517 
9518  def remove_voxel(self, *args):
9519  """remove_voxel(_SparseUBIntStorage self, GridIndex3D gi)"""
9520  return _IMP_algebra._SparseUBIntStorage_remove_voxel(self, *args)
9521 
9522  def get_number_of_voxels(self):
9523  """get_number_of_voxels(_SparseUBIntStorage self) -> unsigned int"""
9524  return _IMP_algebra._SparseUBIntStorage_get_number_of_voxels(self)
9525 
9526  def get_has_index(self, *args):
9527  """get_has_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> bool"""
9528  return _IMP_algebra._SparseUBIntStorage_get_has_index(self, *args)
9529 
9530  def get_index(self, *args):
9531  """get_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9532  return _IMP_algebra._SparseUBIntStorage_get_index(self, *args)
9533 
9534  def __setitem__(self, *args):
9535  """__setitem__(_SparseUBIntStorage self, GridIndex3D i, int const & v)"""
9536  return _IMP_algebra._SparseUBIntStorage___setitem__(self, *args)
9537 
9538  def __getitem__(self, *args):
9539  """__getitem__(_SparseUBIntStorage self, GridIndex3D i) -> int const &"""
9540  return _IMP_algebra._SparseUBIntStorage___getitem__(self, *args)
9541 
9542  def get_all_indexes(self):
9543  """get_all_indexes(_SparseUBIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9544  return _IMP_algebra._SparseUBIntStorage_get_all_indexes(self)
9545 
9546  def get_indexes(self, *args):
9547  """get_indexes(_SparseUBIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9548  return _IMP_algebra._SparseUBIntStorage_get_indexes(self, *args)
9549 
9550  def get_minimum_extended_index(self):
9551  """get_minimum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9552  return _IMP_algebra._SparseUBIntStorage_get_minimum_extended_index(self)
9553 
9554  def get_maximum_extended_index(self):
9555  """get_maximum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9556  return _IMP_algebra._SparseUBIntStorage_get_maximum_extended_index(self)
9557 
9558  __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorage
9559  __del__ = lambda self : None;
9560 _SparseUBIntStorage_swigregister = _IMP_algebra._SparseUBIntStorage_swigregister
9561 _SparseUBIntStorage_swigregister(_SparseUBIntStorage)
9562 
9563 class _SparseUBIntStorageK(UnboundedGridRangeKD):
9564  """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> class"""
9565  __swig_setmethods__ = {}
9566  for _s in [UnboundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9567  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseUBIntStorageK, name, value)
9568  __swig_getmethods__ = {}
9569  for _s in [UnboundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9570  __getattr__ = lambda self, name: _swig_getattr(self, _SparseUBIntStorageK, name)
9571  __repr__ = _swig_repr
9572  def __init__(self, *args):
9573  """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorageK"""
9574  this = _IMP_algebra.new__SparseUBIntStorageK(*args)
9575  try: self.this.append(this)
9576  except: self.this = this
9577  def show(self, *args):
9578  """
9579  show(_SparseUBIntStorageK self, _ostream out=std::cout)
9580  show(_SparseUBIntStorageK self)
9581  """
9582  return _IMP_algebra._SparseUBIntStorageK_show(self, *args)
9583 
9584  def add_voxel(self, *args):
9585  """add_voxel(_SparseUBIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9586  return _IMP_algebra._SparseUBIntStorageK_add_voxel(self, *args)
9587 
9588  def remove_voxel(self, *args):
9589  """remove_voxel(_SparseUBIntStorageK self, GridIndexKD gi)"""
9590  return _IMP_algebra._SparseUBIntStorageK_remove_voxel(self, *args)
9591 
9592  def get_number_of_voxels(self):
9593  """get_number_of_voxels(_SparseUBIntStorageK self) -> unsigned int"""
9594  return _IMP_algebra._SparseUBIntStorageK_get_number_of_voxels(self)
9595 
9596  def get_has_index(self, *args):
9597  """get_has_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9598  return _IMP_algebra._SparseUBIntStorageK_get_has_index(self, *args)
9599 
9600  def get_index(self, *args):
9601  """get_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9602  return _IMP_algebra._SparseUBIntStorageK_get_index(self, *args)
9603 
9604  def __setitem__(self, *args):
9605  """__setitem__(_SparseUBIntStorageK self, GridIndexKD i, int const & v)"""
9606  return _IMP_algebra._SparseUBIntStorageK___setitem__(self, *args)
9607 
9608  def __getitem__(self, *args):
9609  """__getitem__(_SparseUBIntStorageK self, GridIndexKD i) -> int const &"""
9610  return _IMP_algebra._SparseUBIntStorageK___getitem__(self, *args)
9611 
9612  def get_all_indexes(self):
9613  """get_all_indexes(_SparseUBIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9614  return _IMP_algebra._SparseUBIntStorageK_get_all_indexes(self)
9615 
9616  def get_indexes(self, *args):
9617  """get_indexes(_SparseUBIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9618  return _IMP_algebra._SparseUBIntStorageK_get_indexes(self, *args)
9619 
9620  def get_minimum_extended_index(self):
9621  """get_minimum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9622  return _IMP_algebra._SparseUBIntStorageK_get_minimum_extended_index(self)
9623 
9624  def get_maximum_extended_index(self):
9625  """get_maximum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9626  return _IMP_algebra._SparseUBIntStorageK_get_maximum_extended_index(self)
9627 
9628  __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorageK
9629  __del__ = lambda self : None;
9630 _SparseUBIntStorageK_swigregister = _IMP_algebra._SparseUBIntStorageK_swigregister
9631 _SparseUBIntStorageK_swigregister(_SparseUBIntStorageK)
9632 
9633 class _SparseIntStorageK(BoundedGridRangeKD):
9634  """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> class"""
9635  __swig_setmethods__ = {}
9636  for _s in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9637  __setattr__ = lambda self, name, value: _swig_setattr(self, _SparseIntStorageK, name, value)
9638  __swig_getmethods__ = {}
9639  for _s in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9640  __getattr__ = lambda self, name: _swig_getattr(self, _SparseIntStorageK, name)
9641  __repr__ = _swig_repr
9642  def __init__(self, *args):
9643  """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorageK"""
9644  this = _IMP_algebra.new__SparseIntStorageK(*args)
9645  try: self.this.append(this)
9646  except: self.this = this
9647  def show(self, *args):
9648  """
9649  show(_SparseIntStorageK self, _ostream out=std::cout)
9650  show(_SparseIntStorageK self)
9651  """
9652  return _IMP_algebra._SparseIntStorageK_show(self, *args)
9653 
9654  def add_voxel(self, *args):
9655  """add_voxel(_SparseIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9656  return _IMP_algebra._SparseIntStorageK_add_voxel(self, *args)
9657 
9658  def remove_voxel(self, *args):
9659  """remove_voxel(_SparseIntStorageK self, GridIndexKD gi)"""
9660  return _IMP_algebra._SparseIntStorageK_remove_voxel(self, *args)
9661 
9662  def get_number_of_voxels(self):
9663  """get_number_of_voxels(_SparseIntStorageK self) -> unsigned int"""
9664  return _IMP_algebra._SparseIntStorageK_get_number_of_voxels(self)
9665 
9666  def get_has_index(self, *args):
9667  """get_has_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9668  return _IMP_algebra._SparseIntStorageK_get_has_index(self, *args)
9669 
9670  def get_index(self, *args):
9671  """get_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9672  return _IMP_algebra._SparseIntStorageK_get_index(self, *args)
9673 
9674  def __setitem__(self, *args):
9675  """__setitem__(_SparseIntStorageK self, GridIndexKD i, int const & v)"""
9676  return _IMP_algebra._SparseIntStorageK___setitem__(self, *args)
9677 
9678  def __getitem__(self, *args):
9679  """__getitem__(_SparseIntStorageK self, GridIndexKD i) -> int const &"""
9680  return _IMP_algebra._SparseIntStorageK___getitem__(self, *args)
9681 
9682  def get_all_indexes(self):
9683  """get_all_indexes(_SparseIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9684  return _IMP_algebra._SparseIntStorageK_get_all_indexes(self)
9685 
9686  def get_indexes(self, *args):
9687  """get_indexes(_SparseIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9688  return _IMP_algebra._SparseIntStorageK_get_indexes(self, *args)
9689 
9690  def get_minimum_extended_index(self):
9691  """get_minimum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9692  return _IMP_algebra._SparseIntStorageK_get_minimum_extended_index(self)
9693 
9694  def get_maximum_extended_index(self):
9695  """get_maximum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9696  return _IMP_algebra._SparseIntStorageK_get_maximum_extended_index(self)
9697 
9698  __swig_destroy__ = _IMP_algebra.delete__SparseIntStorageK
9699  __del__ = lambda self : None;
9700 _SparseIntStorageK_swigregister = _IMP_algebra._SparseIntStorageK_swigregister
9701 _SparseIntStorageK_swigregister(_SparseIntStorageK)
9702 
9703 class _DenseDoubleStorage(BoundedGridRange3D):
9704  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
9705  __swig_setmethods__ = {}
9706  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9707  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseDoubleStorage, name, value)
9708  __swig_getmethods__ = {}
9709  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9710  __getattr__ = lambda self, name: _swig_getattr(self, _DenseDoubleStorage, name)
9711  __repr__ = _swig_repr
9712  def __setitem__(self, *args):
9713  """
9714  __setitem__(_DenseDoubleStorage self, GridIndex3D i, double const & v)
9715  __setitem__(_DenseDoubleStorage self, unsigned int i, double const & v)
9716  """
9717  return _IMP_algebra._DenseDoubleStorage___setitem__(self, *args)
9718 
9719  def __getitem__(self, *args):
9720  """
9721  __getitem__(_DenseDoubleStorage self, GridIndex3D i) -> double const
9722  __getitem__(_DenseDoubleStorage self, unsigned int i) -> double const &
9723  """
9724  return _IMP_algebra._DenseDoubleStorage___getitem__(self, *args)
9725 
9726  def __init__(self, *args):
9727  """
9728  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _DenseDoubleStorage o) -> _DenseDoubleStorage
9729  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _DenseDoubleStorage
9730  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _DenseDoubleStorage
9731  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _DenseDoubleStorage
9732  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _DenseDoubleStorage
9733  """
9734  this = _IMP_algebra.new__DenseDoubleStorage(*args)
9735  try: self.this.append(this)
9736  except: self.this = this
9737  def get_is_dense():
9738  """get_is_dense() -> bool"""
9739  return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9740 
9741  if _newclass:get_is_dense = staticmethod(get_is_dense)
9742  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9743  def show(self, *args):
9744  """
9745  show(_DenseDoubleStorage self, _ostream out=std::cout)
9746  show(_DenseDoubleStorage self)
9747  """
9748  return _IMP_algebra._DenseDoubleStorage_show(self, *args)
9749 
9750  def add_voxel(self, *args):
9751  """add_voxel(_DenseDoubleStorage self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
9752  return _IMP_algebra._DenseDoubleStorage_add_voxel(self, *args)
9753 
9754  def get_all_voxels(self):
9755  """get_all_voxels(_DenseDoubleStorage self) -> IMP::base::Vector< double >"""
9756  return _IMP_algebra._DenseDoubleStorage_get_all_voxels(self)
9757 
9758  __swig_destroy__ = _IMP_algebra.delete__DenseDoubleStorage
9759  __del__ = lambda self : None;
9760 _DenseDoubleStorage_swigregister = _IMP_algebra._DenseDoubleStorage_swigregister
9761 _DenseDoubleStorage_swigregister(_DenseDoubleStorage)
9762 
9763 def _DenseDoubleStorage_get_is_dense():
9764  """_DenseDoubleStorage_get_is_dense() -> bool"""
9765  return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9766 
9767 class _DenseFloatStorage(BoundedGridRange3D):
9768  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,float)> class"""
9769  __swig_setmethods__ = {}
9770  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9771  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseFloatStorage, name, value)
9772  __swig_getmethods__ = {}
9773  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9774  __getattr__ = lambda self, name: _swig_getattr(self, _DenseFloatStorage, name)
9775  __repr__ = _swig_repr
9776  def __setitem__(self, *args):
9777  """
9778  __setitem__(_DenseFloatStorage self, GridIndex3D i, float const & v)
9779  __setitem__(_DenseFloatStorage self, unsigned int i, float const & v)
9780  """
9781  return _IMP_algebra._DenseFloatStorage___setitem__(self, *args)
9782 
9783  def __getitem__(self, *args):
9784  """
9785  __getitem__(_DenseFloatStorage self, GridIndex3D i) -> float const
9786  __getitem__(_DenseFloatStorage self, unsigned int i) -> float const &
9787  """
9788  return _IMP_algebra._DenseFloatStorage___getitem__(self, *args)
9789 
9790  def __init__(self, *args):
9791  """
9792  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, _DenseFloatStorage o) -> _DenseFloatStorage
9793  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorage
9794  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts) -> _DenseFloatStorage
9795  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, float const & default_value=float()) -> _DenseFloatStorage
9796  __init__(IMP::algebra::DenseGridStorageD<(3,float)> self) -> _DenseFloatStorage
9797  """
9798  this = _IMP_algebra.new__DenseFloatStorage(*args)
9799  try: self.this.append(this)
9800  except: self.this = this
9801  def get_is_dense():
9802  """get_is_dense() -> bool"""
9803  return _IMP_algebra._DenseFloatStorage_get_is_dense()
9804 
9805  if _newclass:get_is_dense = staticmethod(get_is_dense)
9806  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9807  def show(self, *args):
9808  """
9809  show(_DenseFloatStorage self, _ostream out=std::cout)
9810  show(_DenseFloatStorage self)
9811  """
9812  return _IMP_algebra._DenseFloatStorage_show(self, *args)
9813 
9814  def add_voxel(self, *args):
9815  """add_voxel(_DenseFloatStorage self, ExtendedGridIndex3D arg2, float const & arg3) -> GridIndex3D"""
9816  return _IMP_algebra._DenseFloatStorage_add_voxel(self, *args)
9817 
9818  def get_all_voxels(self):
9819  """get_all_voxels(_DenseFloatStorage self) -> IMP::base::Vector< float >"""
9820  return _IMP_algebra._DenseFloatStorage_get_all_voxels(self)
9821 
9822  __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorage
9823  __del__ = lambda self : None;
9824 _DenseFloatStorage_swigregister = _IMP_algebra._DenseFloatStorage_swigregister
9825 _DenseFloatStorage_swigregister(_DenseFloatStorage)
9826 
9827 def _DenseFloatStorage_get_is_dense():
9828  """_DenseFloatStorage_get_is_dense() -> bool"""
9829  return _IMP_algebra._DenseFloatStorage_get_is_dense()
9830 
9831 class _DenseIntStorage(BoundedGridRange3D):
9832  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
9833  __swig_setmethods__ = {}
9834  for _s in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9835  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseIntStorage, name, value)
9836  __swig_getmethods__ = {}
9837  for _s in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9838  __getattr__ = lambda self, name: _swig_getattr(self, _DenseIntStorage, name)
9839  __repr__ = _swig_repr
9840  def __setitem__(self, *args):
9841  """
9842  __setitem__(_DenseIntStorage self, GridIndex3D i, int const & v)
9843  __setitem__(_DenseIntStorage self, unsigned int i, int const & v)
9844  """
9845  return _IMP_algebra._DenseIntStorage___setitem__(self, *args)
9846 
9847  def __getitem__(self, *args):
9848  """
9849  __getitem__(_DenseIntStorage self, GridIndex3D i) -> int const
9850  __getitem__(_DenseIntStorage self, unsigned int i) -> int const &
9851  """
9852  return _IMP_algebra._DenseIntStorage___getitem__(self, *args)
9853 
9854  def __init__(self, *args):
9855  """
9856  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _DenseIntStorage o) -> _DenseIntStorage
9857  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _DenseIntStorage
9858  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _DenseIntStorage
9859  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _DenseIntStorage
9860  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _DenseIntStorage
9861  """
9862  this = _IMP_algebra.new__DenseIntStorage(*args)
9863  try: self.this.append(this)
9864  except: self.this = this
9865  def get_is_dense():
9866  """get_is_dense() -> bool"""
9867  return _IMP_algebra._DenseIntStorage_get_is_dense()
9868 
9869  if _newclass:get_is_dense = staticmethod(get_is_dense)
9870  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9871  def show(self, *args):
9872  """
9873  show(_DenseIntStorage self, _ostream out=std::cout)
9874  show(_DenseIntStorage self)
9875  """
9876  return _IMP_algebra._DenseIntStorage_show(self, *args)
9877 
9878  def add_voxel(self, *args):
9879  """add_voxel(_DenseIntStorage self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
9880  return _IMP_algebra._DenseIntStorage_add_voxel(self, *args)
9881 
9882  def get_all_voxels(self):
9883  """get_all_voxels(_DenseIntStorage self) -> IMP::base::Vector< int >"""
9884  return _IMP_algebra._DenseIntStorage_get_all_voxels(self)
9885 
9886  __swig_destroy__ = _IMP_algebra.delete__DenseIntStorage
9887  __del__ = lambda self : None;
9888 _DenseIntStorage_swigregister = _IMP_algebra._DenseIntStorage_swigregister
9889 _DenseIntStorage_swigregister(_DenseIntStorage)
9890 
9891 def _DenseIntStorage_get_is_dense():
9892  """_DenseIntStorage_get_is_dense() -> bool"""
9893  return _IMP_algebra._DenseIntStorage_get_is_dense()
9894 
9895 class _DenseFloatStorageK(BoundedGridRangeKD):
9896  """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,float)> class"""
9897  __swig_setmethods__ = {}
9898  for _s in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9899  __setattr__ = lambda self, name, value: _swig_setattr(self, _DenseFloatStorageK, name, value)
9900  __swig_getmethods__ = {}
9901  for _s in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9902  __getattr__ = lambda self, name: _swig_getattr(self, _DenseFloatStorageK, name)
9903  __repr__ = _swig_repr
9904  def __setitem__(self, *args):
9905  """
9906  __setitem__(_DenseFloatStorageK self, GridIndexKD i, float const & v)
9907  __setitem__(_DenseFloatStorageK self, unsigned int i, float const & v)
9908  """
9909  return _IMP_algebra._DenseFloatStorageK___setitem__(self, *args)
9910 
9911  def __getitem__(self, *args):
9912  """
9913  __getitem__(_DenseFloatStorageK self, GridIndexKD i) -> float const
9914  __getitem__(_DenseFloatStorageK self, unsigned int i) -> float const &
9915  """
9916  return _IMP_algebra._DenseFloatStorageK___getitem__(self, *args)
9917 
9918  def __init__(self, *args):
9919  """
9920  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, _DenseFloatStorageK o) -> _DenseFloatStorageK
9921  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorageK
9922  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts) -> _DenseFloatStorageK
9923  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, float const & default_value=float()) -> _DenseFloatStorageK
9924  __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self) -> _DenseFloatStorageK
9925  """
9926  this = _IMP_algebra.new__DenseFloatStorageK(*args)
9927  try: self.this.append(this)
9928  except: self.this = this
9929  def get_is_dense():
9930  """get_is_dense() -> bool"""
9931  return _IMP_algebra._DenseFloatStorageK_get_is_dense()
9932 
9933  if _newclass:get_is_dense = staticmethod(get_is_dense)
9934  __swig_getmethods__["get_is_dense"] = lambda x: get_is_dense
9935  def show(self, *args):
9936  """
9937  show(_DenseFloatStorageK self, _ostream out=std::cout)
9938  show(_DenseFloatStorageK self)
9939  """
9940  return _IMP_algebra._DenseFloatStorageK_show(self, *args)
9941 
9942  def add_voxel(self, *args):
9943  """add_voxel(_DenseFloatStorageK self, ExtendedGridIndexKD arg2, float const & arg3) -> GridIndexKD"""
9944  return _IMP_algebra._DenseFloatStorageK_add_voxel(self, *args)
9945 
9946  def get_all_voxels(self):
9947  """get_all_voxels(_DenseFloatStorageK self) -> IMP::base::Vector< float >"""
9948  return _IMP_algebra._DenseFloatStorageK_get_all_voxels(self)
9949 
9950  __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorageK
9951  __del__ = lambda self : None;
9952 _DenseFloatStorageK_swigregister = _IMP_algebra._DenseFloatStorageK_swigregister
9953 _DenseFloatStorageK_swigregister(_DenseFloatStorageK)
9954 
9955 def _DenseFloatStorageK_get_is_dense():
9956  """_DenseFloatStorageK_get_is_dense() -> bool"""
9957  return _IMP_algebra._DenseFloatStorageK_get_is_dense()
9958 
9959 class SparseIntGrid3D(_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
9960  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
9961  __swig_setmethods__ = {}
9962  for _s in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9963  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseIntGrid3D, name, value)
9964  __swig_getmethods__ = {}
9965  for _s in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9966  __getattr__ = lambda self, name: _swig_getattr(self, SparseIntGrid3D, name)
9967  __repr__ = _swig_repr
9968  def __init__(self, *args):
9969  """
9970  __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
9971  __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
9972  __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
9973  __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
9974  __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
9975  __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
9976  __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
9977  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseIntGrid3D
9978  """
9979  this = _IMP_algebra.new_SparseIntGrid3D(*args)
9980  try: self.this.append(this)
9981  except: self.this = this
9982  def __getitem__(self, *args):
9983  """
9984  __getitem__(SparseIntGrid3D self, Vector3D i) -> int const
9985  __getitem__(SparseIntGrid3D self, GridIndex3D i) -> int const &
9986  """
9987  return _IMP_algebra.SparseIntGrid3D___getitem__(self, *args)
9988 
9989  def __setitem__(self, *args):
9990  """
9991  __setitem__(SparseIntGrid3D self, Vector3D i, int const & v)
9992  __setitem__(SparseIntGrid3D self, GridIndex3D i, int const & vt)
9993  """
9994  return _IMP_algebra.SparseIntGrid3D___setitem__(self, *args)
9995 
9996  def get_has_index(self, *args):
9997  """get_has_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
9998  return _IMP_algebra.SparseIntGrid3D_get_has_index(self, *args)
9999 
10000  def get_index(self, *args):
10001  """get_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10002  return _IMP_algebra.SparseIntGrid3D_get_index(self, *args)
10003 
10004  def add_voxel(self, *args):
10005  """
10006  add_voxel(SparseIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10007  add_voxel(SparseIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10008  """
10009  return _IMP_algebra.SparseIntGrid3D_add_voxel(self, *args)
10010 
10011  def get_extended_index(self, *args):
10012  """
10013  get_extended_index(SparseIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10014  get_extended_index(SparseIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10015  """
10016  return _IMP_algebra.SparseIntGrid3D_get_extended_index(self, *args)
10017 
10018  def get_bounding_box(self, *args):
10019  """
10020  get_bounding_box(SparseIntGrid3D self) -> BoundingBox3D
10021  get_bounding_box(SparseIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10022  get_bounding_box(SparseIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10023  """
10024  return _IMP_algebra.SparseIntGrid3D_get_bounding_box(self, *args)
10025 
10026  def set_bounding_box(self, *args):
10027  """set_bounding_box(SparseIntGrid3D self, BoundingBox3D bb3)"""
10028  return _IMP_algebra.SparseIntGrid3D_set_bounding_box(self, *args)
10029 
10030  def get_nearest_index(self, *args):
10031  """get_nearest_index(SparseIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10032  return _IMP_algebra.SparseIntGrid3D_get_nearest_index(self, *args)
10033 
10034  def get_nearest_extended_index(self, *args):
10035  """get_nearest_extended_index(SparseIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10036  return _IMP_algebra.SparseIntGrid3D_get_nearest_extended_index(self, *args)
10037 
10038  __swig_destroy__ = _IMP_algebra.delete_SparseIntGrid3D
10039  __del__ = lambda self : None;
10040 SparseIntGrid3D_swigregister = _IMP_algebra.SparseIntGrid3D_swigregister
10041 SparseIntGrid3D_swigregister(SparseIntGrid3D)
10042 
10043 class SparseUnboundedIntGrid3D(_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10044  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10045  __swig_setmethods__ = {}
10046  for _s in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10047  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGrid3D, name, value)
10048  __swig_getmethods__ = {}
10049  for _s in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10050  __getattr__ = lambda self, name: _swig_getattr(self, SparseUnboundedIntGrid3D, name)
10051  __repr__ = _swig_repr
10052  def __init__(self, *args):
10053  """
10054  __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
10055  __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
10056  __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
10057  __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
10058  __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
10059  __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
10060  __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
10061  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseUnboundedIntGrid3D
10062  """
10063  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
10064  try: self.this.append(this)
10065  except: self.this = this
10066  def __getitem__(self, *args):
10067  """
10068  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int const
10069  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int const &
10070  """
10071  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
10072 
10073  def __setitem__(self, *args):
10074  """
10075  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & v)
10076  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & vt)
10077  """
10078  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
10079 
10080  def get_has_index(self, *args):
10081  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
10082  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
10083 
10084  def get_index(self, *args):
10085  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10086  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
10087 
10088  def add_voxel(self, *args):
10089  """
10090  add_voxel(SparseUnboundedIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10091  add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10092  """
10093  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
10094 
10095  def get_extended_index(self, *args):
10096  """
10097  get_extended_index(SparseUnboundedIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10098  get_extended_index(SparseUnboundedIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10099  """
10100  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
10101 
10102  def get_bounding_box(self, *args):
10103  """
10104  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
10105  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10106  get_bounding_box(SparseUnboundedIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10107  """
10108  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
10109 
10110  def set_bounding_box(self, *args):
10111  """set_bounding_box(SparseUnboundedIntGrid3D self, BoundingBox3D bb3)"""
10112  return _IMP_algebra.SparseUnboundedIntGrid3D_set_bounding_box(self, *args)
10113 
10114  def get_nearest_index(self, *args):
10115  """get_nearest_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10116  return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_index(self, *args)
10117 
10118  def get_nearest_extended_index(self, *args):
10119  """get_nearest_extended_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10120  return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_extended_index(self, *args)
10121 
10122  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
10123  __del__ = lambda self : None;
10124 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
10125 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
10126 
10127 class SparseUnboundedIntGridKD(_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD):
10128  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
10129  __swig_setmethods__ = {}
10130  for _s in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10131  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGridKD, name, value)
10132  __swig_getmethods__ = {}
10133  for _s in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10134  __getattr__ = lambda self, name: _swig_getattr(self, SparseUnboundedIntGridKD, name)
10135  __repr__ = _swig_repr
10136  def __init__(self, *args):
10137  """
10138  __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
10139  __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
10140  __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
10141  __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
10142  __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
10143  __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
10144  __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
10145  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> SparseUnboundedIntGridKD
10146  """
10147  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
10148  try: self.this.append(this)
10149  except: self.this = this
10150  def __getitem__(self, *args):
10151  """
10152  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int const
10153  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int const &
10154  """
10155  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
10156 
10157  def __setitem__(self, *args):
10158  """
10159  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & v)
10160  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & vt)
10161  """
10162  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
10163 
10164  def get_has_index(self, *args):
10165  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> bool"""
10166  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
10167 
10168  def get_index(self, *args):
10169  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10170  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
10171 
10172  def add_voxel(self, *args):
10173  """
10174  add_voxel(SparseUnboundedIntGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10175  add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10176  """
10177  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
10178 
10179  def get_extended_index(self, *args):
10180  """
10181  get_extended_index(SparseUnboundedIntGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10182  get_extended_index(SparseUnboundedIntGridKD self, VectorKD i) -> ExtendedGridIndexKD
10183  """
10184  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
10185 
10186  def get_bounding_box(self, *args):
10187  """
10188  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
10189  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10190  get_bounding_box(SparseUnboundedIntGridKD self, GridIndexKD i) -> BoundingBoxKD
10191  """
10192  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
10193 
10194  def set_bounding_box(self, *args):
10195  """set_bounding_box(SparseUnboundedIntGridKD self, BoundingBoxKD bb3)"""
10196  return _IMP_algebra.SparseUnboundedIntGridKD_set_bounding_box(self, *args)
10197 
10198  def get_nearest_index(self, *args):
10199  """get_nearest_index(SparseUnboundedIntGridKD self, VectorKD pt) -> GridIndexKD"""
10200  return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_index(self, *args)
10201 
10202  def get_nearest_extended_index(self, *args):
10203  """get_nearest_extended_index(SparseUnboundedIntGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10204  return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_extended_index(self, *args)
10205 
10206  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
10207  __del__ = lambda self : None;
10208 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
10209 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
10210 
10211 class DenseDoubleGrid3D(_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10212  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10213  __swig_setmethods__ = {}
10214  for _s in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10215  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseDoubleGrid3D, name, value)
10216  __swig_getmethods__ = {}
10217  for _s in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10218  __getattr__ = lambda self, name: _swig_getattr(self, DenseDoubleGrid3D, name)
10219  __repr__ = _swig_repr
10220  def __init__(self, *args):
10221  """
10222  __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
10223  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseDoubleGrid3D
10224  __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
10225  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
10226  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseDoubleStorage storage, DefaultEmbedding3D embed) -> DenseDoubleGrid3D
10227  __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
10228  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseDoubleGrid3D
10229  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseDoubleGrid3D
10230  """
10231  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
10232  try: self.this.append(this)
10233  except: self.this = this
10234  def __getitem__(self, *args):
10235  """
10236  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double const
10237  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double const &
10238  """
10239  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
10240 
10241  def __setitem__(self, *args):
10242  """
10243  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & v)
10244  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & vt)
10245  """
10246  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
10247 
10248  def get_has_index(self, *args):
10249  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> bool"""
10250  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
10251 
10252  def get_index(self, *args):
10253  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10254  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
10255 
10256  def add_voxel(self, *args):
10257  """
10258  add_voxel(DenseDoubleGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D
10259  add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & vt) -> GridIndex3D
10260  """
10261  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
10262 
10263  def get_extended_index(self, *args):
10264  """
10265  get_extended_index(DenseDoubleGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10266  get_extended_index(DenseDoubleGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10267  """
10268  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
10269 
10270  def get_bounding_box(self, *args):
10271  """
10272  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
10273  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10274  get_bounding_box(DenseDoubleGrid3D self, GridIndex3D i) -> BoundingBox3D
10275  """
10276  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
10277 
10278  def set_bounding_box(self, *args):
10279  """set_bounding_box(DenseDoubleGrid3D self, BoundingBox3D bb3)"""
10280  return _IMP_algebra.DenseDoubleGrid3D_set_bounding_box(self, *args)
10281 
10282  def get_nearest_index(self, *args):
10283  """get_nearest_index(DenseDoubleGrid3D self, Vector3D pt) -> GridIndex3D"""
10284  return _IMP_algebra.DenseDoubleGrid3D_get_nearest_index(self, *args)
10285 
10286  def get_nearest_extended_index(self, *args):
10287  """get_nearest_extended_index(DenseDoubleGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10288  return _IMP_algebra.DenseDoubleGrid3D_get_nearest_extended_index(self, *args)
10289 
10290  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
10291  __del__ = lambda self : None;
10292 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
10293 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
10294 
10295 class DenseFloatGrid3D(_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10296  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10297  __swig_setmethods__ = {}
10298  for _s in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10299  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseFloatGrid3D, name, value)
10300  __swig_getmethods__ = {}
10301  for _s in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10302  __getattr__ = lambda self, name: _swig_getattr(self, DenseFloatGrid3D, name)
10303  __repr__ = _swig_repr
10304  def __init__(self, *args):
10305  """
10306  __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
10307  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseFloatGrid3D
10308  __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
10309  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
10310  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseFloatStorage storage, DefaultEmbedding3D embed) -> DenseFloatGrid3D
10311  __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
10312  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseFloatGrid3D
10313  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseFloatGrid3D
10314  """
10315  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
10316  try: self.this.append(this)
10317  except: self.this = this
10318  def __getitem__(self, *args):
10319  """
10320  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float const
10321  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float const &
10322  """
10323  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
10324 
10325  def __setitem__(self, *args):
10326  """
10327  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & v)
10328  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & vt)
10329  """
10330  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
10331 
10332  def get_has_index(self, *args):
10333  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> bool"""
10334  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
10335 
10336  def get_index(self, *args):
10337  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10338  return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
10339 
10340  def add_voxel(self, *args):
10341  """
10342  add_voxel(DenseFloatGrid3D self, Vector3D pt, float const & vt) -> GridIndex3D
10343  add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & vt) -> GridIndex3D
10344  """
10345  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
10346 
10347  def get_extended_index(self, *args):
10348  """
10349  get_extended_index(DenseFloatGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10350  get_extended_index(DenseFloatGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10351  """
10352  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
10353 
10354  def get_bounding_box(self, *args):
10355  """
10356  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
10357  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10358  get_bounding_box(DenseFloatGrid3D self, GridIndex3D i) -> BoundingBox3D
10359  """
10360  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
10361 
10362  def set_bounding_box(self, *args):
10363  """set_bounding_box(DenseFloatGrid3D self, BoundingBox3D bb3)"""
10364  return _IMP_algebra.DenseFloatGrid3D_set_bounding_box(self, *args)
10365 
10366  def get_nearest_index(self, *args):
10367  """get_nearest_index(DenseFloatGrid3D self, Vector3D pt) -> GridIndex3D"""
10368  return _IMP_algebra.DenseFloatGrid3D_get_nearest_index(self, *args)
10369 
10370  def get_nearest_extended_index(self, *args):
10371  """get_nearest_extended_index(DenseFloatGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10372  return _IMP_algebra.DenseFloatGrid3D_get_nearest_extended_index(self, *args)
10373 
10374  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
10375  __del__ = lambda self : None;
10376 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
10377 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
10378 
10379 class DenseIntLogGrid3D(_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10380  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10381  __swig_setmethods__ = {}
10382  for _s in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10383  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseIntLogGrid3D, name, value)
10384  __swig_getmethods__ = {}
10385  for _s in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10386  __getattr__ = lambda self, name: _swig_getattr(self, DenseIntLogGrid3D, name)
10387  __repr__ = _swig_repr
10388  def __init__(self, *args):
10389  """
10390  __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
10391  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseIntLogGrid3D
10392  __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
10393  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseIntLogGrid3D
10394  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _DenseIntStorage storage, LogEmbedding3D embed) -> DenseIntLogGrid3D
10395  __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
10396  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseIntLogGrid3D
10397  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> DenseIntLogGrid3D
10398  """
10399  this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
10400  try: self.this.append(this)
10401  except: self.this = this
10402  def __getitem__(self, *args):
10403  """
10404  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int const
10405  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int const &
10406  """
10407  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
10408 
10409  def __setitem__(self, *args):
10410  """
10411  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & v)
10412  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & vt)
10413  """
10414  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
10415 
10416  def get_has_index(self, *args):
10417  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10418  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
10419 
10420  def get_index(self, *args):
10421  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10422  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
10423 
10424  def add_voxel(self, *args):
10425  """
10426  add_voxel(DenseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10427  add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10428  """
10429  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
10430 
10431  def get_extended_index(self, *args):
10432  """
10433  get_extended_index(DenseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10434  get_extended_index(DenseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10435  """
10436  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
10437 
10438  def get_bounding_box(self, *args):
10439  """
10440  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
10441  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10442  get_bounding_box(DenseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10443  """
10444  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
10445 
10446  def set_bounding_box(self, *args):
10447  """set_bounding_box(DenseIntLogGrid3D self, BoundingBox3D bb3)"""
10448  return _IMP_algebra.DenseIntLogGrid3D_set_bounding_box(self, *args)
10449 
10450  def get_nearest_index(self, *args):
10451  """get_nearest_index(DenseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10452  return _IMP_algebra.DenseIntLogGrid3D_get_nearest_index(self, *args)
10453 
10454  def get_nearest_extended_index(self, *args):
10455  """get_nearest_extended_index(DenseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10456  return _IMP_algebra.DenseIntLogGrid3D_get_nearest_extended_index(self, *args)
10457 
10458  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
10459  __del__ = lambda self : None;
10460 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
10461 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
10462 
10463 class SparseIntLogGrid3D(_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10464  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10465  __swig_setmethods__ = {}
10466  for _s in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10467  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseIntLogGrid3D, name, value)
10468  __swig_getmethods__ = {}
10469  for _s in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10470  __getattr__ = lambda self, name: _swig_getattr(self, SparseIntLogGrid3D, name)
10471  __repr__ = _swig_repr
10472  def __init__(self, *args):
10473  """
10474  __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
10475  __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
10476  __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
10477  __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
10478  __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
10479  __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
10480  __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
10481  __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> SparseIntLogGrid3D
10482  """
10483  this = _IMP_algebra.new_SparseIntLogGrid3D(*args)
10484  try: self.this.append(this)
10485  except: self.this = this
10486  def __getitem__(self, *args):
10487  """
10488  __getitem__(SparseIntLogGrid3D self, Vector3D i) -> int const
10489  __getitem__(SparseIntLogGrid3D self, GridIndex3D i) -> int const &
10490  """
10491  return _IMP_algebra.SparseIntLogGrid3D___getitem__(self, *args)
10492 
10493  def __setitem__(self, *args):
10494  """
10495  __setitem__(SparseIntLogGrid3D self, Vector3D i, int const & v)
10496  __setitem__(SparseIntLogGrid3D self, GridIndex3D i, int const & vt)
10497  """
10498  return _IMP_algebra.SparseIntLogGrid3D___setitem__(self, *args)
10499 
10500  def get_has_index(self, *args):
10501  """get_has_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10502  return _IMP_algebra.SparseIntLogGrid3D_get_has_index(self, *args)
10503 
10504  def get_index(self, *args):
10505  """get_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10506  return _IMP_algebra.SparseIntLogGrid3D_get_index(self, *args)
10507 
10508  def add_voxel(self, *args):
10509  """
10510  add_voxel(SparseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10511  add_voxel(SparseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10512  """
10513  return _IMP_algebra.SparseIntLogGrid3D_add_voxel(self, *args)
10514 
10515  def get_extended_index(self, *args):
10516  """
10517  get_extended_index(SparseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10518  get_extended_index(SparseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10519  """
10520  return _IMP_algebra.SparseIntLogGrid3D_get_extended_index(self, *args)
10521 
10522  def get_bounding_box(self, *args):
10523  """
10524  get_bounding_box(SparseIntLogGrid3D self) -> BoundingBox3D
10525  get_bounding_box(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10526  get_bounding_box(SparseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10527  """
10528  return _IMP_algebra.SparseIntLogGrid3D_get_bounding_box(self, *args)
10529 
10530  def set_bounding_box(self, *args):
10531  """set_bounding_box(SparseIntLogGrid3D self, BoundingBox3D bb3)"""
10532  return _IMP_algebra.SparseIntLogGrid3D_set_bounding_box(self, *args)
10533 
10534  def get_nearest_index(self, *args):
10535  """get_nearest_index(SparseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10536  return _IMP_algebra.SparseIntLogGrid3D_get_nearest_index(self, *args)
10537 
10538  def get_nearest_extended_index(self, *args):
10539  """get_nearest_extended_index(SparseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10540  return _IMP_algebra.SparseIntLogGrid3D_get_nearest_extended_index(self, *args)
10541 
10542  __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGrid3D
10543  __del__ = lambda self : None;
10544 SparseIntLogGrid3D_swigregister = _IMP_algebra.SparseIntLogGrid3D_swigregister
10545 SparseIntLogGrid3D_swigregister(SparseIntLogGrid3D)
10546 
10547 class SparseIntLogGridKD(_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10548  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10549  __swig_setmethods__ = {}
10550  for _s in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10551  __setattr__ = lambda self, name, value: _swig_setattr(self, SparseIntLogGridKD, name, value)
10552  __swig_getmethods__ = {}
10553  for _s in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10554  __getattr__ = lambda self, name: _swig_getattr(self, SparseIntLogGridKD, name)
10555  __repr__ = _swig_repr
10556  def __init__(self, *args):
10557  """
10558  __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
10559  __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
10560  __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
10561  __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
10562  __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
10563  __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
10564  __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
10565  __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> SparseIntLogGridKD
10566  """
10567  this = _IMP_algebra.new_SparseIntLogGridKD(*args)
10568  try: self.this.append(this)
10569  except: self.this = this
10570  def __getitem__(self, *args):
10571  """
10572  __getitem__(SparseIntLogGridKD self, VectorKD i) -> int const
10573  __getitem__(SparseIntLogGridKD self, GridIndexKD i) -> int const &
10574  """
10575  return _IMP_algebra.SparseIntLogGridKD___getitem__(self, *args)
10576 
10577  def __setitem__(self, *args):
10578  """
10579  __setitem__(SparseIntLogGridKD self, VectorKD i, int const & v)
10580  __setitem__(SparseIntLogGridKD self, GridIndexKD i, int const & vt)
10581  """
10582  return _IMP_algebra.SparseIntLogGridKD___setitem__(self, *args)
10583 
10584  def get_has_index(self, *args):
10585  """get_has_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10586  return _IMP_algebra.SparseIntLogGridKD_get_has_index(self, *args)
10587 
10588  def get_index(self, *args):
10589  """get_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10590  return _IMP_algebra.SparseIntLogGridKD_get_index(self, *args)
10591 
10592  def add_voxel(self, *args):
10593  """
10594  add_voxel(SparseIntLogGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10595  add_voxel(SparseIntLogGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10596  """
10597  return _IMP_algebra.SparseIntLogGridKD_add_voxel(self, *args)
10598 
10599  def get_extended_index(self, *args):
10600  """
10601  get_extended_index(SparseIntLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10602  get_extended_index(SparseIntLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10603  """
10604  return _IMP_algebra.SparseIntLogGridKD_get_extended_index(self, *args)
10605 
10606  def get_bounding_box(self, *args):
10607  """
10608  get_bounding_box(SparseIntLogGridKD self) -> BoundingBoxKD
10609  get_bounding_box(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10610  get_bounding_box(SparseIntLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10611  """
10612  return _IMP_algebra.SparseIntLogGridKD_get_bounding_box(self, *args)
10613 
10614  def set_bounding_box(self, *args):
10615  """set_bounding_box(SparseIntLogGridKD self, BoundingBoxKD bb3)"""
10616  return _IMP_algebra.SparseIntLogGridKD_set_bounding_box(self, *args)
10617 
10618  def get_nearest_index(self, *args):
10619  """get_nearest_index(SparseIntLogGridKD self, VectorKD pt) -> GridIndexKD"""
10620  return _IMP_algebra.SparseIntLogGridKD_get_nearest_index(self, *args)
10621 
10622  def get_nearest_extended_index(self, *args):
10623  """get_nearest_extended_index(SparseIntLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10624  return _IMP_algebra.SparseIntLogGridKD_get_nearest_extended_index(self, *args)
10625 
10626  __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGridKD
10627  __del__ = lambda self : None;
10628 SparseIntLogGridKD_swigregister = _IMP_algebra.SparseIntLogGridKD_swigregister
10629 SparseIntLogGridKD_swigregister(SparseIntLogGridKD)
10630 
10631 class DenseFloatLogGridKD(_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10632  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10633  __swig_setmethods__ = {}
10634  for _s in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10635  __setattr__ = lambda self, name, value: _swig_setattr(self, DenseFloatLogGridKD, name, value)
10636  __swig_getmethods__ = {}
10637  for _s in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10638  __getattr__ = lambda self, name: _swig_getattr(self, DenseFloatLogGridKD, name)
10639  __repr__ = _swig_repr
10640  def __init__(self, *args):
10641  """
10642  __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
10643  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> DenseFloatLogGridKD
10644  __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
10645  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> DenseFloatLogGridKD
10646  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, _DenseFloatStorageK storage, LogEmbeddingKD embed) -> DenseFloatLogGridKD
10647  __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
10648  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> DenseFloatLogGridKD
10649  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> DenseFloatLogGridKD
10650  """
10651  this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
10652  try: self.this.append(this)
10653  except: self.this = this
10654  def __getitem__(self, *args):
10655  """
10656  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float const
10657  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float const &
10658  """
10659  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
10660 
10661  def __setitem__(self, *args):
10662  """
10663  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & v)
10664  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & vt)
10665  """
10666  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
10667 
10668  def get_has_index(self, *args):
10669  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10670  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
10671 
10672  def get_index(self, *args):
10673  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10674  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
10675 
10676  def add_voxel(self, *args):
10677  """
10678  add_voxel(DenseFloatLogGridKD self, VectorKD pt, float const & vt) -> GridIndexKD
10679  add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & vt) -> GridIndexKD
10680  """
10681  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
10682 
10683  def get_extended_index(self, *args):
10684  """
10685  get_extended_index(DenseFloatLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10686  get_extended_index(DenseFloatLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10687  """
10688  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
10689 
10690  def get_bounding_box(self, *args):
10691  """
10692  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
10693  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10694  get_bounding_box(DenseFloatLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10695  """
10696  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
10697 
10698  def set_bounding_box(self, *args):
10699  """set_bounding_box(DenseFloatLogGridKD self, BoundingBoxKD bb3)"""
10700  return _IMP_algebra.DenseFloatLogGridKD_set_bounding_box(self, *args)
10701 
10702  def get_nearest_index(self, *args):
10703  """get_nearest_index(DenseFloatLogGridKD self, VectorKD pt) -> GridIndexKD"""
10704  return _IMP_algebra.DenseFloatLogGridKD_get_nearest_index(self, *args)
10705 
10706  def get_nearest_extended_index(self, *args):
10707  """get_nearest_extended_index(DenseFloatLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10708  return _IMP_algebra.DenseFloatLogGridKD_get_nearest_extended_index(self, *args)
10709 
10710  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
10711  __del__ = lambda self : None;
10712 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
10713 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
10714 
10715 class _AxisAnglePair(_object):
10716  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10717  __swig_setmethods__ = {}
10718  __setattr__ = lambda self, name, value: _swig_setattr(self, _AxisAnglePair, name, value)
10719  __swig_getmethods__ = {}
10720  __getattr__ = lambda self, name: _swig_getattr(self, _AxisAnglePair, name)
10721  __repr__ = _swig_repr
10722  def __init__(self, *args):
10723  """
10724  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10725  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10726  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10727  """
10728  this = _IMP_algebra.new__AxisAnglePair(*args)
10729  try: self.this.append(this)
10730  except: self.this = this
10731  __swig_setmethods__["first"] = _IMP_algebra._AxisAnglePair_first_set
10732  __swig_getmethods__["first"] = _IMP_algebra._AxisAnglePair_first_get
10733  if _newclass:first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10734  __swig_setmethods__["second"] = _IMP_algebra._AxisAnglePair_second_set
10735  __swig_getmethods__["second"] = _IMP_algebra._AxisAnglePair_second_get
10736  if _newclass:second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10737  def __len__(self): return 2
10738  def __repr__(self): return str((self.first, self.second))
10739  def __getitem__(self, index):
10740  if not (index % 2):
10741  return self.first
10742  else:
10743  return self.second
10744  def __setitem__(self, index, val):
10745  if not (index % 2):
10746  self.first = val
10747  else:
10748  self.second = val
10749  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10750  __del__ = lambda self : None;
10751 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10752 _AxisAnglePair_swigregister(_AxisAnglePair)
10753 
10754 
10756  """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"""
10757  return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10758 LinearFit=LinearFit2D
10759 ParabolicFit=ParabolicFit2D
10760 
10761 
10762 def get_module_version():
10763  """get_module_version() -> std::string const"""
10764  return _IMP_algebra.get_module_version()
10765 
10766 def get_example_path(*args):
10767  """get_example_path(std::string fname) -> std::string"""
10768  return _IMP_algebra.get_example_path(*args)
10769 
10770 def get_data_path(*args):
10771  """get_data_path(std::string fname) -> std::string"""
10772  return _IMP_algebra.get_data_path(*args)
10773 import _version_check
10774 _version_check.check_version(get_module_version())
10775 
10776 # This file is compatible with both classic and new-style classes.
10777 
10778 
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Definition: BoundingBoxD.h:160
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Definition: SphereD.h:89
ParticleIndexes get_indexes(const ParticlesTemp &ps)
SphereD< 3 > Sphere3D
Definition: SphereD.h:89
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
const Cylinder3D & get_cylinder_3d_geometry(const Cylinder3D &g)
Definition: Cylinder3D.h:76
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
base::Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
VectorD< 6 > Vector6D
Definition: VectorD.h:599
BoundingBoxD< 3 > BoundingBox3D
Definition: BoundingBoxD.h:160
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 2 > Vector2D
Definition: VectorD.h:583
VectorInputD< 3 > VectorInput3D
Definition: VectorD.h:676
double get_surface_area(const BoundingBoxD< 3 > &g)
Definition: BoundingBoxD.h:160
VectorInputD< 2 > VectorInput2D
Definition: VectorD.h:672
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Definition: VectorD.h:454
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
compose two rotations a and b
Definition: Rotation2D.h:105
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
VectorD< 5 > Vector5D
Definition: VectorD.h:595
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
PrincipalComponentAnalysisD< D > get_principal_components(const base::Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
void get_projection(em2d::Image *img, const kernel::ParticlesTemp &ps, const RegistrationResult &reg, const ProjectingOptions &options, MasksManagerPtr masks=MasksManagerPtr(), String name="")
Generates a projection from particles.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
double get_area(const Plane3D &g)
Definition: Plane3D.h:83
See IMP.cgal for more information.
Definition: cgal_config.h:107
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
VectorInputD<-1 > VectorInputKD
Definition: VectorD.h:692
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
Definition: BoundingBoxD.h:271
BoundingBoxD< 5 > BoundingBox5D
Definition: BoundingBoxD.h:160
SphereD< 2 > Sphere2D
Definition: SphereD.h:89
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:236
See IMP.base for more information.
Definition: base/Array.h:20
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
compute the squared distance between two vectors
Definition: VectorD.h:393
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
Definition: Sphere3D.h:35
VectorInputD< 5 > VectorInput5D
Definition: VectorD.h:684
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
return the point reflected about the plane
Definition: Plane3D.h:73
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Vector3Ds get_vertices(const BoundingBoxD< 3 > &bb)
Return a list of the 8 bounding points for the bounding box.
Definition: BoundingBoxD.h:255
VectorD< 4 > Vector4D
Definition: VectorD.h:591
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
Definition: VectorD.h:481
BoundingBoxD< 2 > BoundingBox2D
Definition: BoundingBoxD.h:160
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
Definition: VectorD.h:427
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
Definition: BoundingBoxD.h:207
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generates a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
Definition: BoundingBoxD.h:147
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Grid3D< int, SparseGridStorage3D< int, BoundedGridStorage3D > > SparseIntGrid3D
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Definition: Plane3D.h:68
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Returns the vector product (cross product) of two vectors.
Definition: Vector3D.h:31
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Definition: BoundingBoxD.h:193
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
void write_pts(const Vector3Ds &vs, base::TextOutput out)
Write a set of 3D vectors to a file.
BoundingBoxD< 4 > BoundingBox4D
Definition: BoundingBoxD.h:160
const Ellipsoid3D & get_ellipsoid_3d_geometry(const Ellipsoid3D &g)
Definition: Ellipsoid3D.h:61
const Plane3D & get_plane_3d_geometry(const Plane3D &g)
Definition: Plane3D.h:83
Rotation2D get_identity_rotation_2d()
Builds an identity rotation in 2D.
Definition: Rotation2D.h:88
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Definition: SphereD.h:89
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Definition: SphereD.h:89
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Definition: BoundingBoxD.h:171
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:65
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
Vector3Ds read_pts(base::TextInput input)
Read a set of 3D vectors from a file.
VectorD< 1 > Vector1D
Definition: VectorD.h:579
const Cone3D & get_cone_3d_geometry(const Cone3D &g)
Definition: Cone3D.h:61
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
SphereD< 1 > Sphere1D
Definition: SphereD.h:89
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Definition: Rotation3D.h:430
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotatation from an unnormalized quaternion.
Definition: Rotation3D.h:326
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Definition: BoundingBoxD.h:185
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Definition: Rotation2D.h:97
Common base class for heavy weight IMP objects.
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
Definition: Vector3D.h:56
base::Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
void write_spheres(const Sphere3Ds &vs, base::TextOutput out)
Write a set of 3d spheres to a file.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Builds a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Sphere3Ds read_spheres(base::TextInput input)
Read a set of 3d spheres from a file.
VectorD< 3 > Vector3D
Definition: VectorD.h:587
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
Definition: Rotation3D.h:220
const SpherePatch3D & get_sphere_patch_3d_geometry(const SpherePatch3D &g)
Definition: SpherePatch3D.h:50
VectorInputD< 4 > VectorInput4D
Definition: VectorD.h:680
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
Definition: Vector3D.h:39
VectorInputD< 1 > VectorInput1D
Definition: VectorD.h:668
VectorD<-1 > VectorKD
Definition: VectorD.h:603
CheckLevel get_check_level()
Get the current audit mode.
VectorInputD< 6 > VectorInput6D
Definition: VectorD.h:688
BoundingBoxD< 6 > BoundingBox6D
Definition: BoundingBoxD.h:160
SphereD<-1 > SphereKD
Definition: SphereD.h:89
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
const Segment3D & get_segment_3d_geometry(const Segment3D &g)
Definition: Segment3D.h:51
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from euler angles.
BoundingBoxD< 1 > BoundingBox1D
Definition: BoundingBoxD.h:160
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Returns a transformation that does not do anything.
BoundingBoxD< D > get_bounding_box(const BoundingBoxD< D > &g)
Definition: BoundingBoxD.h:160
Rotation2D get_random_rotation_2d()
Builds an identity rotation in 2D.
Definition: Rotation2D.h:91