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