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