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