11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
28 _IMP_algebra = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
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)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_ALGEBRA_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_ALGEBRA_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_ALGEBRA_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
91 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
95 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
96 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
98 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
102 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
103 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
105 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
113 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, *args)
116 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
117 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
120 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
121 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
124 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
125 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
128 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
129 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
133 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
137 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
141 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
145 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
149 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
153 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
158 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
164 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
171 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
172 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
173 IMP_SILENT = _IMP_algebra.IMP_SILENT
174 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
175 IMP_TERSE = _IMP_algebra.IMP_TERSE
176 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
177 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
178 IMP_NONE = _IMP_algebra.IMP_NONE
179 IMP_USAGE = _IMP_algebra.IMP_USAGE
180 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_algebra.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_algebra.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_algebra.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_algebra.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_algebra.DEFAULT_CHECK
216 NONE = _IMP_algebra.NONE
217 USAGE = _IMP_algebra.USAGE
218 USAGE_AND_INTERNAL = _IMP_algebra.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_algebra.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_algebra.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_algebra._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_algebra._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
262 return v.get_coordinates()
267 return v.get_sphere()
271 _object_types.append(
"VectorKDMetric")
274 def _object_cast_to_VectorKDMetric(*args):
275 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
276 return _IMP_algebra._object_cast_to_VectorKDMetric(*args)
277 _object_types.append(
"EuclideanVectorKDMetric")
280 def _object_cast_to_EuclideanVectorKDMetric(*args):
281 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
282 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(*args)
283 _object_types.append(
"MaxVectorKDMetric")
286 def _object_cast_to_MaxVectorKDMetric(*args):
287 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
288 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(*args)
289 _object_types.append(
"DynamicNearestNeighbor3D")
292 def _object_cast_to_DynamicNearestNeighbor3D(*args):
293 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
294 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(*args)
296 _plural_types.append(
"Rotation2Ds")
297 _value_types.append(
"Rotation2D")
300 _plural_types.append(
"Rotation3Ds")
301 _value_types.append(
"Rotation3D")
304 _plural_types.append(
"Reflection3Ds")
305 _value_types.append(
"Reflection3D")
307 Transformation2Ds=list
308 _plural_types.append(
"Transformation2Ds")
309 _value_types.append(
"Transformation2D")
311 Transformation3Ds=list
312 _plural_types.append(
"Transformation3Ds")
313 _value_types.append(
"Transformation3D")
315 SphericalVector3Ds=list
316 _plural_types.append(
"SphericalVector3Ds")
317 _value_types.append(
"SphericalVector3D")
320 _plural_types.append(
"Triangle3Ds")
321 _value_types.append(
"Triangle3D")
324 _plural_types.append(
"Cone3Ds")
325 _value_types.append(
"Cone3D")
328 _plural_types.append(
"Cylinder3Ds")
329 _value_types.append(
"Cylinder3D")
332 _plural_types.append(
"Ellipsoid3Ds")
333 _value_types.append(
"Ellipsoid3D")
336 _plural_types.append(
"Plane3Ds")
337 _value_types.append(
"Plane3D")
340 _plural_types.append(
"Segment3Ds")
341 _value_types.append(
"Segment3D")
344 _plural_types.append(
"SpherePatch3Ds")
345 _value_types.append(
"SpherePatch3D")
347 ConnollySurfacePoints=list
348 _plural_types.append(
"ConnollySurfacePoints")
349 _value_types.append(
"ConnollySurfacePoint")
352 _plural_types.append(
"Sphere1Ds")
353 _value_types.append(
"Sphere1D")
356 _plural_types.append(
"Sphere2Ds")
357 _value_types.append(
"Sphere2D")
360 _plural_types.append(
"Sphere3Ds")
361 _value_types.append(
"Sphere3D")
364 _plural_types.append(
"Sphere4Ds")
365 _value_types.append(
"Sphere4D")
368 _plural_types.append(
"Sphere5Ds")
369 _value_types.append(
"Sphere5D")
372 _plural_types.append(
"Sphere6Ds")
373 _value_types.append(
"Sphere6D")
376 _plural_types.append(
"Sphere1Ds")
377 _value_types.append(
"SphereD<1>")
380 _plural_types.append(
"Sphere2Ds")
381 _value_types.append(
"SphereD<2>")
384 _plural_types.append(
"Sphere3Ds")
385 _value_types.append(
"SphereD<3>")
388 _plural_types.append(
"Sphere4Ds")
389 _value_types.append(
"SphereD<4>")
392 _plural_types.append(
"Sphere5Ds")
393 _value_types.append(
"SphereD<5>")
396 _plural_types.append(
"Sphere6Ds")
397 _value_types.append(
"SphereD<6>")
400 _plural_types.append(
"SphereKDs")
401 _value_types.append(
"SphereKD")
404 _plural_types.append(
"SphereKDs")
405 _value_types.append(
"SphereD<-1>")
408 _plural_types.append(
"BoundingBox1Ds")
409 _value_types.append(
"BoundingBox1D")
412 _plural_types.append(
"BoundingBox2Ds")
413 _value_types.append(
"BoundingBox2D")
416 _plural_types.append(
"BoundingBox3Ds")
417 _value_types.append(
"BoundingBox3D")
420 _plural_types.append(
"BoundingBox4Ds")
421 _value_types.append(
"BoundingBox4D")
424 _plural_types.append(
"BoundingBox5Ds")
425 _value_types.append(
"BoundingBox5D")
428 _plural_types.append(
"BoundingBox6Ds")
429 _value_types.append(
"BoundingBox6D")
432 _plural_types.append(
"BoundingBox1Ds")
433 _value_types.append(
"BoundingBoxD<1>")
436 _plural_types.append(
"BoundingBox2Ds")
437 _value_types.append(
"BoundingBoxD<2>")
440 _plural_types.append(
"BoundingBox3Ds")
441 _value_types.append(
"BoundingBoxD<3>")
444 _plural_types.append(
"BoundingBox4Ds")
445 _value_types.append(
"BoundingBoxD<4>")
448 _plural_types.append(
"BoundingBox5Ds")
449 _value_types.append(
"BoundingBoxD<5>")
452 _plural_types.append(
"BoundingBox6Ds")
453 _value_types.append(
"BoundingBoxD<6>")
456 _plural_types.append(
"BoundingBoxKDs")
457 _value_types.append(
"BoundingBoxKD")
460 _plural_types.append(
"BoundingBoxKDs")
461 _value_types.append(
"BoundingBoxD<-1>")
463 PrincipalComponentAnalysis1Ds=list
464 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
465 _value_types.append(
"PrincipalComponentAnalysis1D")
467 PrincipalComponentAnalysis2Ds=list
468 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
469 _value_types.append(
"PrincipalComponentAnalysis2D")
471 PrincipalComponentAnalysis3Ds=list
472 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
473 _value_types.append(
"PrincipalComponentAnalysis3D")
475 PrincipalComponentAnalysis4Ds=list
476 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
477 _value_types.append(
"PrincipalComponentAnalysis4D")
479 PrincipalComponentAnalysis5Ds=list
480 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
481 _value_types.append(
"PrincipalComponentAnalysis5D")
483 PrincipalComponentAnalysis6Ds=list
484 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
485 _value_types.append(
"PrincipalComponentAnalysis6D")
487 PrincipalComponentAnalysis1Ds=list
488 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
489 _value_types.append(
"PrincipalComponentAnalysisD<1>")
491 PrincipalComponentAnalysis2Ds=list
492 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
493 _value_types.append(
"PrincipalComponentAnalysisD<2>")
495 PrincipalComponentAnalysis3Ds=list
496 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
497 _value_types.append(
"PrincipalComponentAnalysisD<3>")
499 PrincipalComponentAnalysis4Ds=list
500 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
501 _value_types.append(
"PrincipalComponentAnalysisD<4>")
503 PrincipalComponentAnalysis5Ds=list
504 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
505 _value_types.append(
"PrincipalComponentAnalysisD<5>")
507 PrincipalComponentAnalysis6Ds=list
508 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
509 _value_types.append(
"PrincipalComponentAnalysisD<6>")
511 PrincipalComponentAnalysisKDs=list
512 _plural_types.append(
"PrincipalComponentAnalysisKDs")
513 _value_types.append(
"PrincipalComponentAnalysisKD")
515 PrincipalComponentAnalysisKDs=list
516 _plural_types.append(
"PrincipalComponentAnalysisKDs")
517 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
519 _object_types.append(
"NearestNeighbor1D")
522 def _object_cast_to_NearestNeighbor1D(*args):
523 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
524 return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
525 _object_types.append(
"NearestNeighbor2D")
528 def _object_cast_to_NearestNeighbor2D(*args):
529 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
530 return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
531 _object_types.append(
"NearestNeighbor3D")
534 def _object_cast_to_NearestNeighbor3D(*args):
535 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
536 return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
537 _object_types.append(
"NearestNeighbor4D")
540 def _object_cast_to_NearestNeighbor4D(*args):
541 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
542 return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
543 _object_types.append(
"NearestNeighbor5D")
546 def _object_cast_to_NearestNeighbor5D(*args):
547 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
548 return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
549 _object_types.append(
"NearestNeighbor6D")
552 def _object_cast_to_NearestNeighbor6D(*args):
553 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
554 return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
555 _object_types.append(
"NearestNeighborKD")
558 def _object_cast_to_NearestNeighborKD(*args):
559 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
560 return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
561 ReferenceFrame3Ds=list
562 _plural_types.append(
"ReferenceFrame3Ds")
563 _value_types.append(
"ReferenceFrame3D")
566 _plural_types.append(
"Gaussian3Ds")
567 _value_types.append(
"Gaussian3D")
569 DefaultEmbedding1Ds=list
570 _plural_types.append(
"DefaultEmbedding1Ds")
571 _value_types.append(
"DefaultEmbedding1D")
573 DefaultEmbedding2Ds=list
574 _plural_types.append(
"DefaultEmbedding2Ds")
575 _value_types.append(
"DefaultEmbedding2D")
577 DefaultEmbedding3Ds=list
578 _plural_types.append(
"DefaultEmbedding3Ds")
579 _value_types.append(
"DefaultEmbedding3D")
581 DefaultEmbedding4Ds=list
582 _plural_types.append(
"DefaultEmbedding4Ds")
583 _value_types.append(
"DefaultEmbedding4D")
585 DefaultEmbedding5Ds=list
586 _plural_types.append(
"DefaultEmbedding5Ds")
587 _value_types.append(
"DefaultEmbedding5D")
589 DefaultEmbedding6Ds=list
590 _plural_types.append(
"DefaultEmbedding6Ds")
591 _value_types.append(
"DefaultEmbedding6D")
593 DefaultEmbedding1Ds=list
594 _plural_types.append(
"DefaultEmbedding1Ds")
595 _value_types.append(
"DefaultEmbeddingD<1>")
597 DefaultEmbedding2Ds=list
598 _plural_types.append(
"DefaultEmbedding2Ds")
599 _value_types.append(
"DefaultEmbeddingD<2>")
601 DefaultEmbedding3Ds=list
602 _plural_types.append(
"DefaultEmbedding3Ds")
603 _value_types.append(
"DefaultEmbeddingD<3>")
605 DefaultEmbedding4Ds=list
606 _plural_types.append(
"DefaultEmbedding4Ds")
607 _value_types.append(
"DefaultEmbeddingD<4>")
609 DefaultEmbedding5Ds=list
610 _plural_types.append(
"DefaultEmbedding5Ds")
611 _value_types.append(
"DefaultEmbeddingD<5>")
613 DefaultEmbedding6Ds=list
614 _plural_types.append(
"DefaultEmbedding6Ds")
615 _value_types.append(
"DefaultEmbeddingD<6>")
617 DefaultEmbeddingKDs=list
618 _plural_types.append(
"DefaultEmbeddingKDs")
619 _value_types.append(
"DefaultEmbeddingKD")
621 DefaultEmbeddingKDs=list
622 _plural_types.append(
"DefaultEmbeddingKDs")
623 _value_types.append(
"DefaultEmbeddingD<-1>")
626 _plural_types.append(
"LogEmbedding1Ds")
627 _value_types.append(
"LogEmbedding1D")
630 _plural_types.append(
"LogEmbedding2Ds")
631 _value_types.append(
"LogEmbedding2D")
634 _plural_types.append(
"LogEmbedding3Ds")
635 _value_types.append(
"LogEmbedding3D")
638 _plural_types.append(
"LogEmbedding4Ds")
639 _value_types.append(
"LogEmbedding4D")
642 _plural_types.append(
"LogEmbedding5Ds")
643 _value_types.append(
"LogEmbedding5D")
646 _plural_types.append(
"LogEmbedding6Ds")
647 _value_types.append(
"LogEmbedding6D")
650 _plural_types.append(
"LogEmbedding1Ds")
651 _value_types.append(
"LogEmbeddingD<1>")
654 _plural_types.append(
"LogEmbedding2Ds")
655 _value_types.append(
"LogEmbeddingD<2>")
658 _plural_types.append(
"LogEmbedding3Ds")
659 _value_types.append(
"LogEmbeddingD<3>")
662 _plural_types.append(
"LogEmbedding4Ds")
663 _value_types.append(
"LogEmbeddingD<4>")
666 _plural_types.append(
"LogEmbedding5Ds")
667 _value_types.append(
"LogEmbeddingD<5>")
670 _plural_types.append(
"LogEmbedding6Ds")
671 _value_types.append(
"LogEmbeddingD<6>")
674 _plural_types.append(
"LogEmbeddingKDs")
675 _value_types.append(
"LogEmbeddingKD")
678 _plural_types.append(
"LogEmbeddingKDs")
679 _value_types.append(
"LogEmbeddingD<-1>")
682 _plural_types.append(
"GridIndex1Ds")
683 _value_types.append(
"GridIndex1D")
686 _plural_types.append(
"GridIndex2Ds")
687 _value_types.append(
"GridIndex2D")
690 _plural_types.append(
"GridIndex3Ds")
691 _value_types.append(
"GridIndex3D")
694 _plural_types.append(
"GridIndex4Ds")
695 _value_types.append(
"GridIndex4D")
698 _plural_types.append(
"GridIndex5Ds")
699 _value_types.append(
"GridIndex5D")
702 _plural_types.append(
"GridIndex6Ds")
703 _value_types.append(
"GridIndex6D")
706 _plural_types.append(
"GridIndex1Ds")
707 _value_types.append(
"GridIndexD<1>")
710 _plural_types.append(
"GridIndex2Ds")
711 _value_types.append(
"GridIndexD<2>")
714 _plural_types.append(
"GridIndex3Ds")
715 _value_types.append(
"GridIndexD<3>")
718 _plural_types.append(
"GridIndex4Ds")
719 _value_types.append(
"GridIndexD<4>")
722 _plural_types.append(
"GridIndex5Ds")
723 _value_types.append(
"GridIndexD<5>")
726 _plural_types.append(
"GridIndex6Ds")
727 _value_types.append(
"GridIndexD<6>")
730 _plural_types.append(
"GridIndexKDs")
731 _value_types.append(
"GridIndexKD")
734 _plural_types.append(
"GridIndexKDs")
735 _value_types.append(
"GridIndexD<-1>")
737 ExtendedGridIndex1Ds=list
738 _plural_types.append(
"ExtendedGridIndex1Ds")
739 _value_types.append(
"ExtendedGridIndex1D")
741 ExtendedGridIndex2Ds=list
742 _plural_types.append(
"ExtendedGridIndex2Ds")
743 _value_types.append(
"ExtendedGridIndex2D")
745 ExtendedGridIndex3Ds=list
746 _plural_types.append(
"ExtendedGridIndex3Ds")
747 _value_types.append(
"ExtendedGridIndex3D")
749 ExtendedGridIndex4Ds=list
750 _plural_types.append(
"ExtendedGridIndex4Ds")
751 _value_types.append(
"ExtendedGridIndex4D")
753 ExtendedGridIndex5Ds=list
754 _plural_types.append(
"ExtendedGridIndex5Ds")
755 _value_types.append(
"ExtendedGridIndex5D")
757 ExtendedGridIndex6Ds=list
758 _plural_types.append(
"ExtendedGridIndex6Ds")
759 _value_types.append(
"ExtendedGridIndex6D")
761 ExtendedGridIndex1Ds=list
762 _plural_types.append(
"ExtendedGridIndex1Ds")
763 _value_types.append(
"ExtendedGridIndexD<1>")
765 ExtendedGridIndex2Ds=list
766 _plural_types.append(
"ExtendedGridIndex2Ds")
767 _value_types.append(
"ExtendedGridIndexD<2>")
769 ExtendedGridIndex3Ds=list
770 _plural_types.append(
"ExtendedGridIndex3Ds")
771 _value_types.append(
"ExtendedGridIndexD<3>")
773 ExtendedGridIndex4Ds=list
774 _plural_types.append(
"ExtendedGridIndex4Ds")
775 _value_types.append(
"ExtendedGridIndexD<4>")
777 ExtendedGridIndex5Ds=list
778 _plural_types.append(
"ExtendedGridIndex5Ds")
779 _value_types.append(
"ExtendedGridIndexD<5>")
781 ExtendedGridIndex6Ds=list
782 _plural_types.append(
"ExtendedGridIndex6Ds")
783 _value_types.append(
"ExtendedGridIndexD<6>")
785 ExtendedGridIndexKDs=list
786 _plural_types.append(
"ExtendedGridIndexKDs")
787 _value_types.append(
"ExtendedGridIndexKD")
789 ExtendedGridIndexKDs=list
790 _plural_types.append(
"ExtendedGridIndexKDs")
791 _value_types.append(
"ExtendedGridIndexD<-1>")
793 BoundedGridRange1Ds=list
794 _plural_types.append(
"BoundedGridRange1Ds")
795 _value_types.append(
"BoundedGridRange1D")
797 BoundedGridRange2Ds=list
798 _plural_types.append(
"BoundedGridRange2Ds")
799 _value_types.append(
"BoundedGridRange2D")
801 BoundedGridRange3Ds=list
802 _plural_types.append(
"BoundedGridRange3Ds")
803 _value_types.append(
"BoundedGridRange3D")
805 BoundedGridRange4Ds=list
806 _plural_types.append(
"BoundedGridRange4Ds")
807 _value_types.append(
"BoundedGridRange4D")
809 BoundedGridRange5Ds=list
810 _plural_types.append(
"BoundedGridRange5Ds")
811 _value_types.append(
"BoundedGridRange5D")
813 BoundedGridRange6Ds=list
814 _plural_types.append(
"BoundedGridRange6Ds")
815 _value_types.append(
"BoundedGridRange6D")
817 BoundedGridRange1Ds=list
818 _plural_types.append(
"BoundedGridRange1Ds")
819 _value_types.append(
"BoundedGridRangeD<1>")
821 BoundedGridRange2Ds=list
822 _plural_types.append(
"BoundedGridRange2Ds")
823 _value_types.append(
"BoundedGridRangeD<2>")
825 BoundedGridRange3Ds=list
826 _plural_types.append(
"BoundedGridRange3Ds")
827 _value_types.append(
"BoundedGridRangeD<3>")
829 BoundedGridRange4Ds=list
830 _plural_types.append(
"BoundedGridRange4Ds")
831 _value_types.append(
"BoundedGridRangeD<4>")
833 BoundedGridRange5Ds=list
834 _plural_types.append(
"BoundedGridRange5Ds")
835 _value_types.append(
"BoundedGridRangeD<5>")
837 BoundedGridRange6Ds=list
838 _plural_types.append(
"BoundedGridRange6Ds")
839 _value_types.append(
"BoundedGridRangeD<6>")
841 BoundedGridRangeKDs=list
842 _plural_types.append(
"BoundedGridRangeKDs")
843 _value_types.append(
"BoundedGridRangeKD")
845 BoundedGridRangeKDs=list
846 _plural_types.append(
"BoundedGridRangeKDs")
847 _value_types.append(
"BoundedGridRangeD<-1>")
849 UnboundedGridRange1Ds=list
850 _plural_types.append(
"UnboundedGridRange1Ds")
851 _value_types.append(
"UnboundedGridRange1D")
853 UnboundedGridRange2Ds=list
854 _plural_types.append(
"UnboundedGridRange2Ds")
855 _value_types.append(
"UnboundedGridRange2D")
857 UnboundedGridRange3Ds=list
858 _plural_types.append(
"UnboundedGridRange3Ds")
859 _value_types.append(
"UnboundedGridRange3D")
861 UnboundedGridRange4Ds=list
862 _plural_types.append(
"UnboundedGridRange4Ds")
863 _value_types.append(
"UnboundedGridRange4D")
865 UnboundedGridRange5Ds=list
866 _plural_types.append(
"UnboundedGridRange5Ds")
867 _value_types.append(
"UnboundedGridRange5D")
869 UnboundedGridRange6Ds=list
870 _plural_types.append(
"UnboundedGridRange6Ds")
871 _value_types.append(
"UnboundedGridRange6D")
873 UnboundedGridRange1Ds=list
874 _plural_types.append(
"UnboundedGridRange1Ds")
875 _value_types.append(
"UnboundedGridRangeD<1>")
877 UnboundedGridRange2Ds=list
878 _plural_types.append(
"UnboundedGridRange2Ds")
879 _value_types.append(
"UnboundedGridRangeD<2>")
881 UnboundedGridRange3Ds=list
882 _plural_types.append(
"UnboundedGridRange3Ds")
883 _value_types.append(
"UnboundedGridRangeD<3>")
885 UnboundedGridRange4Ds=list
886 _plural_types.append(
"UnboundedGridRange4Ds")
887 _value_types.append(
"UnboundedGridRangeD<4>")
889 UnboundedGridRange5Ds=list
890 _plural_types.append(
"UnboundedGridRange5Ds")
891 _value_types.append(
"UnboundedGridRangeD<5>")
893 UnboundedGridRange6Ds=list
894 _plural_types.append(
"UnboundedGridRange6Ds")
895 _value_types.append(
"UnboundedGridRangeD<6>")
897 UnboundedGridRangeKDs=list
898 _plural_types.append(
"UnboundedGridRangeKDs")
899 _value_types.append(
"UnboundedGridRangeKD")
901 UnboundedGridRangeKDs=list
902 _plural_types.append(
"UnboundedGridRangeKDs")
903 _value_types.append(
"UnboundedGridRangeD<-1>")
906 _plural_types.append(
"LinearFit2Ds")
907 _value_types.append(
"LinearFit2D")
910 _plural_types.append(
"ParabolicFit2Ds")
911 _value_types.append(
"ParabolicFit2D")
914 _plural_types.append(
"FixedXYZs")
915 _value_types.append(
"FixedXYZ")
917 class _GeometricPrimitive1D(_object):
918 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
919 __swig_setmethods__ = {}
920 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive1D, name, value)
921 __swig_getmethods__ = {}
922 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive1D, name)
923 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
924 __repr__ = _swig_repr
925 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
926 __del__ =
lambda self :
None;
927 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
928 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
930 class _GeometricPrimitive2D(_object):
931 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
932 __swig_setmethods__ = {}
933 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive2D, name, value)
934 __swig_getmethods__ = {}
935 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive2D, name)
936 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
937 __repr__ = _swig_repr
938 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
939 __del__ =
lambda self :
None;
940 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
941 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
943 class _GeometricPrimitive3D(_object):
944 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
945 __swig_setmethods__ = {}
946 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive3D, name, value)
947 __swig_getmethods__ = {}
948 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive3D, name)
949 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
950 __repr__ = _swig_repr
951 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
952 __del__ =
lambda self :
None;
953 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
954 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
956 class _GeometricPrimitive4D(_object):
957 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
958 __swig_setmethods__ = {}
959 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive4D, name, value)
960 __swig_getmethods__ = {}
961 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive4D, name)
962 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
963 __repr__ = _swig_repr
964 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
965 __del__ =
lambda self :
None;
966 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
967 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
969 class _GeometricPrimitive5D(_object):
970 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
971 __swig_setmethods__ = {}
972 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive5D, name, value)
973 __swig_getmethods__ = {}
974 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive5D, name)
975 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
976 __repr__ = _swig_repr
977 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
978 __del__ =
lambda self :
None;
979 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
980 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
982 class _GeometricPrimitive6D(_object):
983 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
984 __swig_setmethods__ = {}
985 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive6D, name, value)
986 __swig_getmethods__ = {}
987 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive6D, name)
988 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
989 __repr__ = _swig_repr
990 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
991 __del__ =
lambda self :
None;
992 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
993 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
995 class _GeometricPrimitiveKD(_object):
996 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
997 __swig_setmethods__ = {}
998 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitiveKD, name, value)
999 __swig_getmethods__ = {}
1000 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitiveKD, name)
1001 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1002 __repr__ = _swig_repr
1003 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1004 __del__ =
lambda self :
None;
1005 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1006 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1009 _plural_types.append(
"Vector1Ds")
1010 _value_types.append(
"Vector1D")
1013 _plural_types.append(
"Vector2Ds")
1014 _value_types.append(
"Vector2D")
1017 _plural_types.append(
"Vector3Ds")
1018 _value_types.append(
"Vector3D")
1021 _plural_types.append(
"Vector4Ds")
1022 _value_types.append(
"Vector4D")
1025 _plural_types.append(
"Vector5Ds")
1026 _value_types.append(
"Vector5D")
1029 _plural_types.append(
"Vector6Ds")
1030 _value_types.append(
"Vector6D")
1033 _plural_types.append(
"Vector1Ds")
1034 _value_types.append(
"VectorD<1>")
1037 _plural_types.append(
"Vector2Ds")
1038 _value_types.append(
"VectorD<2>")
1041 _plural_types.append(
"Vector3Ds")
1042 _value_types.append(
"VectorD<3>")
1045 _plural_types.append(
"Vector4Ds")
1046 _value_types.append(
"VectorD<4>")
1049 _plural_types.append(
"Vector5Ds")
1050 _value_types.append(
"VectorD<5>")
1053 _plural_types.append(
"Vector6Ds")
1054 _value_types.append(
"VectorD<6>")
1057 _plural_types.append(
"VectorKDs")
1058 _value_types.append(
"VectorKD")
1061 _plural_types.append(
"VectorKDs")
1062 _value_types.append(
"VectorD<-1>")
1064 class _VectorBaseKD(_GeometricPrimitiveKD):
1065 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1066 __swig_setmethods__ = {}
1067 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1068 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBaseKD, name, value)
1069 __swig_getmethods__ = {}
1070 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1071 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBaseKD, name)
1072 __repr__ = _swig_repr
1074 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1075 this = _IMP_algebra.new__VectorBaseKD()
1076 try: self.this.append(this)
1077 except: self.this = this
1078 def get_scalar_product(self, *args):
1079 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1080 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, *args)
1082 def get_squared_magnitude(self):
1083 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1084 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1086 def get_magnitude(self):
1087 """get_magnitude(_VectorBaseKD self) -> double"""
1088 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1090 def __mul__(self, *args):
1091 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1092 return _IMP_algebra._VectorBaseKD___mul__(self, *args)
1094 def __iadd__(self, *args):
1095 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1096 return _IMP_algebra._VectorBaseKD___iadd__(self, *args)
1098 def __isub__(self, *args):
1099 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1100 return _IMP_algebra._VectorBaseKD___isub__(self, *args)
1102 def __idiv__(self, *args):
1103 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1104 return _IMP_algebra._VectorBaseKD___idiv__(self, *args)
1106 def __imul__(self, *args):
1107 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1108 return _IMP_algebra._VectorBaseKD___imul__(self, *args)
1110 def show(self, *args):
1112 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1113 show(_VectorBaseKD self, _ostream out, std::string delim)
1114 show(_VectorBaseKD self, _ostream out=std::cout)
1115 show(_VectorBaseKD self)
1117 return _IMP_algebra._VectorBaseKD_show(self, *args)
1119 def get_dimension(self):
1120 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1121 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1123 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1124 __del__ =
lambda self :
None;
1125 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1126 _VectorBaseKD_swigregister(_VectorBaseKD)
1128 class _VectorBase1D(_GeometricPrimitive1D):
1129 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1130 __swig_setmethods__ = {}
1131 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1132 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase1D, name, value)
1133 __swig_getmethods__ = {}
1134 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1135 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase1D, name)
1136 __repr__ = _swig_repr
1138 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1139 this = _IMP_algebra.new__VectorBase1D()
1140 try: self.this.append(this)
1141 except: self.this = this
1142 def get_scalar_product(self, *args):
1143 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1144 return _IMP_algebra._VectorBase1D_get_scalar_product(self, *args)
1146 def get_squared_magnitude(self):
1147 """get_squared_magnitude(_VectorBase1D self) -> double"""
1148 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1150 def get_magnitude(self):
1151 """get_magnitude(_VectorBase1D self) -> double"""
1152 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1154 def __mul__(self, *args):
1155 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1156 return _IMP_algebra._VectorBase1D___mul__(self, *args)
1158 def __iadd__(self, *args):
1159 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1160 return _IMP_algebra._VectorBase1D___iadd__(self, *args)
1162 def __isub__(self, *args):
1163 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1164 return _IMP_algebra._VectorBase1D___isub__(self, *args)
1166 def __idiv__(self, *args):
1167 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1168 return _IMP_algebra._VectorBase1D___idiv__(self, *args)
1170 def __imul__(self, *args):
1171 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1172 return _IMP_algebra._VectorBase1D___imul__(self, *args)
1174 def show(self, *args):
1176 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1177 show(_VectorBase1D self, _ostream out, std::string delim)
1178 show(_VectorBase1D self, _ostream out=std::cout)
1179 show(_VectorBase1D self)
1181 return _IMP_algebra._VectorBase1D_show(self, *args)
1183 def get_dimension(self):
1184 """get_dimension(_VectorBase1D self) -> unsigned int"""
1185 return _IMP_algebra._VectorBase1D_get_dimension(self)
1187 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1188 __del__ =
lambda self :
None;
1189 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1190 _VectorBase1D_swigregister(_VectorBase1D)
1192 class _VectorBase2D(_GeometricPrimitive2D):
1193 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1194 __swig_setmethods__ = {}
1195 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1196 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase2D, name, value)
1197 __swig_getmethods__ = {}
1198 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1199 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase2D, name)
1200 __repr__ = _swig_repr
1202 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1203 this = _IMP_algebra.new__VectorBase2D()
1204 try: self.this.append(this)
1205 except: self.this = this
1206 def get_scalar_product(self, *args):
1207 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1208 return _IMP_algebra._VectorBase2D_get_scalar_product(self, *args)
1210 def get_squared_magnitude(self):
1211 """get_squared_magnitude(_VectorBase2D self) -> double"""
1212 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1214 def get_magnitude(self):
1215 """get_magnitude(_VectorBase2D self) -> double"""
1216 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1218 def __mul__(self, *args):
1219 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1220 return _IMP_algebra._VectorBase2D___mul__(self, *args)
1222 def __iadd__(self, *args):
1223 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1224 return _IMP_algebra._VectorBase2D___iadd__(self, *args)
1226 def __isub__(self, *args):
1227 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1228 return _IMP_algebra._VectorBase2D___isub__(self, *args)
1230 def __idiv__(self, *args):
1231 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1232 return _IMP_algebra._VectorBase2D___idiv__(self, *args)
1234 def __imul__(self, *args):
1235 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1236 return _IMP_algebra._VectorBase2D___imul__(self, *args)
1238 def show(self, *args):
1240 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1241 show(_VectorBase2D self, _ostream out, std::string delim)
1242 show(_VectorBase2D self, _ostream out=std::cout)
1243 show(_VectorBase2D self)
1245 return _IMP_algebra._VectorBase2D_show(self, *args)
1247 def get_dimension(self):
1248 """get_dimension(_VectorBase2D self) -> unsigned int"""
1249 return _IMP_algebra._VectorBase2D_get_dimension(self)
1251 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1252 __del__ =
lambda self :
None;
1253 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1254 _VectorBase2D_swigregister(_VectorBase2D)
1256 class _VectorBase3D(_GeometricPrimitive3D):
1257 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1258 __swig_setmethods__ = {}
1259 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1260 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase3D, name, value)
1261 __swig_getmethods__ = {}
1262 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1263 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase3D, name)
1264 __repr__ = _swig_repr
1266 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1267 this = _IMP_algebra.new__VectorBase3D()
1268 try: self.this.append(this)
1269 except: self.this = this
1270 def get_scalar_product(self, *args):
1271 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1272 return _IMP_algebra._VectorBase3D_get_scalar_product(self, *args)
1274 def get_squared_magnitude(self):
1275 """get_squared_magnitude(_VectorBase3D self) -> double"""
1276 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1278 def get_magnitude(self):
1279 """get_magnitude(_VectorBase3D self) -> double"""
1280 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1282 def __mul__(self, *args):
1283 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1284 return _IMP_algebra._VectorBase3D___mul__(self, *args)
1286 def __iadd__(self, *args):
1287 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1288 return _IMP_algebra._VectorBase3D___iadd__(self, *args)
1290 def __isub__(self, *args):
1291 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1292 return _IMP_algebra._VectorBase3D___isub__(self, *args)
1294 def __idiv__(self, *args):
1295 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1296 return _IMP_algebra._VectorBase3D___idiv__(self, *args)
1298 def __imul__(self, *args):
1299 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1300 return _IMP_algebra._VectorBase3D___imul__(self, *args)
1302 def show(self, *args):
1304 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1305 show(_VectorBase3D self, _ostream out, std::string delim)
1306 show(_VectorBase3D self, _ostream out=std::cout)
1307 show(_VectorBase3D self)
1309 return _IMP_algebra._VectorBase3D_show(self, *args)
1311 def get_dimension(self):
1312 """get_dimension(_VectorBase3D self) -> unsigned int"""
1313 return _IMP_algebra._VectorBase3D_get_dimension(self)
1315 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1316 __del__ =
lambda self :
None;
1317 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1318 _VectorBase3D_swigregister(_VectorBase3D)
1320 class _VectorBase4D(_GeometricPrimitive4D):
1321 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1322 __swig_setmethods__ = {}
1323 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1324 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase4D, name, value)
1325 __swig_getmethods__ = {}
1326 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1327 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase4D, name)
1328 __repr__ = _swig_repr
1330 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1331 this = _IMP_algebra.new__VectorBase4D()
1332 try: self.this.append(this)
1333 except: self.this = this
1334 def get_scalar_product(self, *args):
1335 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1336 return _IMP_algebra._VectorBase4D_get_scalar_product(self, *args)
1338 def get_squared_magnitude(self):
1339 """get_squared_magnitude(_VectorBase4D self) -> double"""
1340 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1342 def get_magnitude(self):
1343 """get_magnitude(_VectorBase4D self) -> double"""
1344 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1346 def __mul__(self, *args):
1347 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1348 return _IMP_algebra._VectorBase4D___mul__(self, *args)
1350 def __iadd__(self, *args):
1351 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1352 return _IMP_algebra._VectorBase4D___iadd__(self, *args)
1354 def __isub__(self, *args):
1355 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1356 return _IMP_algebra._VectorBase4D___isub__(self, *args)
1358 def __idiv__(self, *args):
1359 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1360 return _IMP_algebra._VectorBase4D___idiv__(self, *args)
1362 def __imul__(self, *args):
1363 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1364 return _IMP_algebra._VectorBase4D___imul__(self, *args)
1366 def show(self, *args):
1368 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1369 show(_VectorBase4D self, _ostream out, std::string delim)
1370 show(_VectorBase4D self, _ostream out=std::cout)
1371 show(_VectorBase4D self)
1373 return _IMP_algebra._VectorBase4D_show(self, *args)
1375 def get_dimension(self):
1376 """get_dimension(_VectorBase4D self) -> unsigned int"""
1377 return _IMP_algebra._VectorBase4D_get_dimension(self)
1379 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1380 __del__ =
lambda self :
None;
1381 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1382 _VectorBase4D_swigregister(_VectorBase4D)
1384 class _VectorBase5D(_GeometricPrimitive5D):
1385 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1386 __swig_setmethods__ = {}
1387 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1388 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase5D, name, value)
1389 __swig_getmethods__ = {}
1390 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1391 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase5D, name)
1392 __repr__ = _swig_repr
1394 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1395 this = _IMP_algebra.new__VectorBase5D()
1396 try: self.this.append(this)
1397 except: self.this = this
1398 def get_scalar_product(self, *args):
1399 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1400 return _IMP_algebra._VectorBase5D_get_scalar_product(self, *args)
1402 def get_squared_magnitude(self):
1403 """get_squared_magnitude(_VectorBase5D self) -> double"""
1404 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1406 def get_magnitude(self):
1407 """get_magnitude(_VectorBase5D self) -> double"""
1408 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1410 def __mul__(self, *args):
1411 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1412 return _IMP_algebra._VectorBase5D___mul__(self, *args)
1414 def __iadd__(self, *args):
1415 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1416 return _IMP_algebra._VectorBase5D___iadd__(self, *args)
1418 def __isub__(self, *args):
1419 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1420 return _IMP_algebra._VectorBase5D___isub__(self, *args)
1422 def __idiv__(self, *args):
1423 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1424 return _IMP_algebra._VectorBase5D___idiv__(self, *args)
1426 def __imul__(self, *args):
1427 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1428 return _IMP_algebra._VectorBase5D___imul__(self, *args)
1430 def show(self, *args):
1432 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1433 show(_VectorBase5D self, _ostream out, std::string delim)
1434 show(_VectorBase5D self, _ostream out=std::cout)
1435 show(_VectorBase5D self)
1437 return _IMP_algebra._VectorBase5D_show(self, *args)
1439 def get_dimension(self):
1440 """get_dimension(_VectorBase5D self) -> unsigned int"""
1441 return _IMP_algebra._VectorBase5D_get_dimension(self)
1443 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1444 __del__ =
lambda self :
None;
1445 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1446 _VectorBase5D_swigregister(_VectorBase5D)
1448 class _VectorBase6D(_GeometricPrimitive6D):
1449 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1450 __swig_setmethods__ = {}
1451 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1452 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase6D, name, value)
1453 __swig_getmethods__ = {}
1454 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1455 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase6D, name)
1456 __repr__ = _swig_repr
1458 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1459 this = _IMP_algebra.new__VectorBase6D()
1460 try: self.this.append(this)
1461 except: self.this = this
1462 def get_scalar_product(self, *args):
1463 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1464 return _IMP_algebra._VectorBase6D_get_scalar_product(self, *args)
1466 def get_squared_magnitude(self):
1467 """get_squared_magnitude(_VectorBase6D self) -> double"""
1468 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1470 def get_magnitude(self):
1471 """get_magnitude(_VectorBase6D self) -> double"""
1472 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1474 def __mul__(self, *args):
1475 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1476 return _IMP_algebra._VectorBase6D___mul__(self, *args)
1478 def __iadd__(self, *args):
1479 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1480 return _IMP_algebra._VectorBase6D___iadd__(self, *args)
1482 def __isub__(self, *args):
1483 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1484 return _IMP_algebra._VectorBase6D___isub__(self, *args)
1486 def __idiv__(self, *args):
1487 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1488 return _IMP_algebra._VectorBase6D___idiv__(self, *args)
1490 def __imul__(self, *args):
1491 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1492 return _IMP_algebra._VectorBase6D___imul__(self, *args)
1494 def show(self, *args):
1496 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1497 show(_VectorBase6D self, _ostream out, std::string delim)
1498 show(_VectorBase6D self, _ostream out=std::cout)
1499 show(_VectorBase6D self)
1501 return _IMP_algebra._VectorBase6D_show(self, *args)
1503 def get_dimension(self):
1504 """get_dimension(_VectorBase6D self) -> unsigned int"""
1505 return _IMP_algebra._VectorBase6D_get_dimension(self)
1507 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1508 __del__ =
lambda self :
None;
1509 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1510 _VectorBase6D_swigregister(_VectorBase6D)
1514 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1515 return _IMP_algebra.get_basis_vector_kd(*args)
1518 """get_zero_vector_kd(int D) -> VectorKD"""
1519 return _IMP_algebra.get_zero_vector_kd(*args)
1523 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1524 get_ones_vector_kd(unsigned int D) -> VectorKD
1526 return _IMP_algebra.get_ones_vector_kd(*args)
1529 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1530 return _IMP_algebra.get_vector_product(*args)
1533 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1534 return _IMP_algebra.get_orthogonal_vector(*args)
1537 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1538 return _IMP_algebra.get_centroid(*args)
1541 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1542 return _IMP_algebra.get_radius_of_gyration(*args)
1543 class Rotation3D(_GeometricPrimitive3D):
1544 """Proxy of C++ IMP::algebra::Rotation3D class"""
1545 __swig_setmethods__ = {}
1546 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1547 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation3D, name, value)
1548 __swig_getmethods__ = {}
1549 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1550 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation3D, name)
1551 def __init__(self, *args):
1553 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1554 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1555 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1556 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1558 this = _IMP_algebra.new_Rotation3D(*args)
1559 try: self.this.append(this)
1560 except: self.this = this
1561 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1562 __del__ =
lambda self :
None;
1563 def get_rotated_no_cache(self, *args):
1564 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1565 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1567 def get_rotated_one_coordinate_no_cache(self, *args):
1568 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1569 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1571 def get_rotated(self, *args):
1572 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1573 return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1575 def get_rotated_one_coordinate(self, *args):
1576 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1577 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1579 def get_rotation_matrix_row(self, *args):
1580 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1581 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1583 def show(self, *args):
1585 show(Rotation3D self, _ostream out=std::cout)
1586 show(Rotation3D self)
1588 return _IMP_algebra.Rotation3D_show(self, *args)
1590 def get_inverse(self):
1591 """get_inverse(Rotation3D self) -> Rotation3D"""
1592 return _IMP_algebra.Rotation3D_get_inverse(self)
1594 def get_quaternion(self):
1595 """get_quaternion(Rotation3D self) -> Vector4D"""
1596 return _IMP_algebra.Rotation3D_get_quaternion(self)
1598 def __mul__(self, *args):
1600 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1601 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1603 return _IMP_algebra.Rotation3D___mul__(self, *args)
1605 def __div__(self, *args):
1606 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1607 return _IMP_algebra.Rotation3D___div__(self, *args)
1609 def get_derivative(self, *args):
1610 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1611 return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1614 """__str__(Rotation3D self) -> std::string"""
1615 return _IMP_algebra.Rotation3D___str__(self)
1618 """__repr__(Rotation3D self) -> std::string"""
1619 return _IMP_algebra.Rotation3D___repr__(self)
1621 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1622 Rotation3D_swigregister(Rotation3D)
1626 """get_identity_rotation_3d() -> Rotation3D"""
1627 return _IMP_algebra.get_identity_rotation_3d()
1630 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1631 return _IMP_algebra.get_rotation_about_normalized_axis(*args)
1634 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1635 return _IMP_algebra.get_rotation_about_axis(*args)
1638 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1639 return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1643 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1644 double m21, double m22) -> Rotation3D
1645 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
1647 return _IMP_algebra.get_rotation_from_matrix(*args)
1651 get_random_rotation_3d() -> Rotation3D
1652 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1654 return _IMP_algebra.get_random_rotation_3d(*args)
1657 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1658 return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1661 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1662 return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1665 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1666 return _IMP_algebra.get_rotation_from_vector4d(*args)
1669 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1670 return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1673 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1674 return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1677 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1678 return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1679 class FixedXYZ(_GeometricPrimitive3D):
1680 """Proxy of C++ IMP::algebra::FixedXYZ class"""
1681 __swig_setmethods__ = {}
1682 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1683 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedXYZ, name, value)
1684 __swig_getmethods__ = {}
1685 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1686 __getattr__ =
lambda self, name: _swig_getattr(self, FixedXYZ, name)
1687 def __init__(self, *args):
1689 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1690 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1692 this = _IMP_algebra.new_FixedXYZ(*args)
1693 try: self.this.append(this)
1694 except: self.this = this
1696 """get_x(FixedXYZ self) -> double"""
1697 return _IMP_algebra.FixedXYZ_get_x(self)
1700 """get_y(FixedXYZ self) -> double"""
1701 return _IMP_algebra.FixedXYZ_get_y(self)
1704 """get_z(FixedXYZ self) -> double"""
1705 return _IMP_algebra.FixedXYZ_get_z(self)
1707 def show(self, *args):
1709 show(FixedXYZ self, _ostream out=std::cout)
1712 return _IMP_algebra.FixedXYZ_show(self, *args)
1715 """__str__(FixedXYZ self) -> std::string"""
1716 return _IMP_algebra.FixedXYZ___str__(self)
1719 """__repr__(FixedXYZ self) -> std::string"""
1720 return _IMP_algebra.FixedXYZ___repr__(self)
1722 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1723 __del__ =
lambda self :
None;
1724 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1725 FixedXYZ_swigregister(FixedXYZ)
1729 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1730 return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1733 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1734 return _IMP_algebra.get_interpolated(*args)
1737 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1738 return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1741 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1742 return _IMP_algebra.get_axis_and_angle(*args)
1745 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1746 return _IMP_algebra.get_unit_bounding_box_kd(*args)
1749 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1750 return _IMP_algebra.get_cube_kd(*args)
1753 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1754 return _IMP_algebra.get_edges(*args)
1755 class Transformation3D(_GeometricPrimitive3D):
1756 """Proxy of C++ IMP::algebra::Transformation3D class"""
1757 __swig_setmethods__ = {}
1758 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1759 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation3D, name, value)
1760 __swig_getmethods__ = {}
1761 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1762 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation3D, name)
1763 def __init__(self, *args):
1765 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1766 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0, 0, 0)) -> Transformation3D
1767 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1768 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1770 this = _IMP_algebra.new_Transformation3D(*args)
1771 try: self.this.append(this)
1772 except: self.this = this
1773 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1774 __del__ =
lambda self :
None;
1775 def get_transformed(self, *args):
1776 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1777 return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1779 def __mul__(self, *args):
1781 __mul__(Transformation3D self, Vector3D v) -> Vector3D
1782 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1784 return _IMP_algebra.Transformation3D___mul__(self, *args)
1786 def __div__(self, *args):
1787 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1788 return _IMP_algebra.Transformation3D___div__(self, *args)
1790 def get_rotation(self):
1791 """get_rotation(Transformation3D self) -> Rotation3D"""
1792 return _IMP_algebra.Transformation3D_get_rotation(self)
1794 def get_translation(self):
1795 """get_translation(Transformation3D self) -> Vector3D"""
1796 return _IMP_algebra.Transformation3D_get_translation(self)
1798 def show(self, *args):
1800 show(Transformation3D self, _ostream out=std::cout)
1801 show(Transformation3D self)
1803 return _IMP_algebra.Transformation3D_show(self, *args)
1805 def get_inverse(self):
1806 """get_inverse(Transformation3D self) -> Transformation3D"""
1807 return _IMP_algebra.Transformation3D_get_inverse(self)
1810 """__str__(Transformation3D self) -> std::string"""
1811 return _IMP_algebra.Transformation3D___str__(self)
1814 """__repr__(Transformation3D self) -> std::string"""
1815 return _IMP_algebra.Transformation3D___repr__(self)
1817 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1818 Transformation3D_swigregister(Transformation3D)
1822 """get_identity_transformation_3d() -> Transformation3D"""
1823 return _IMP_algebra.get_identity_transformation_3d()
1826 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1827 return _IMP_algebra.get_transformation_3d(*args)
1831 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1832 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1833 get_random_local_transformation(Vector3D origin) -> Transformation3D
1835 return _IMP_algebra.get_random_local_transformation(*args)
1836 class Rotation2D(_GeometricPrimitive2D):
1837 """Proxy of C++ IMP::algebra::Rotation2D class"""
1838 __swig_setmethods__ = {}
1839 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1840 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation2D, name, value)
1841 __swig_getmethods__ = {}
1842 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1843 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation2D, name)
1844 def __init__(self, *args):
1846 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1847 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1849 this = _IMP_algebra.new_Rotation2D(*args)
1850 try: self.this.append(this)
1851 except: self.this = this
1852 def get_rotated(self, *args):
1854 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1855 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1857 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1859 def get_inverse(self):
1860 """get_inverse(Rotation2D self) -> Rotation2D"""
1861 return _IMP_algebra.Rotation2D_get_inverse(self)
1863 def set_angle(self, *args):
1864 """set_angle(Rotation2D self, double angle)"""
1865 return _IMP_algebra.Rotation2D_set_angle(self, *args)
1867 def get_angle(self):
1868 """get_angle(Rotation2D self) -> double"""
1869 return _IMP_algebra.Rotation2D_get_angle(self)
1871 def show(self, *args):
1873 show(Rotation2D self, _ostream out=std::cout)
1874 show(Rotation2D self)
1876 return _IMP_algebra.Rotation2D_show(self, *args)
1879 """__str__(Rotation2D self) -> std::string"""
1880 return _IMP_algebra.Rotation2D___str__(self)
1883 """__repr__(Rotation2D self) -> std::string"""
1884 return _IMP_algebra.Rotation2D___repr__(self)
1886 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1887 __del__ =
lambda self :
None;
1888 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1889 Rotation2D_swigregister(Rotation2D)
1893 """get_identity_rotation_2d() -> Rotation2D"""
1894 return _IMP_algebra.get_identity_rotation_2d()
1897 """get_random_rotation_2d() -> Rotation2D"""
1898 return _IMP_algebra.get_random_rotation_2d()
1901 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1902 return _IMP_algebra.get_rotation_to_x_axis(*args)
1903 class Transformation2D(_GeometricPrimitive2D):
1904 """Proxy of C++ IMP::algebra::Transformation2D class"""
1905 __swig_setmethods__ = {}
1906 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1907 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation2D, name, value)
1908 __swig_getmethods__ = {}
1909 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1910 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation2D, name)
1911 def __init__(self, *args):
1913 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1914 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0, 0.0)) -> Transformation2D
1915 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1916 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1918 this = _IMP_algebra.new_Transformation2D(*args)
1919 try: self.this.append(this)
1920 except: self.this = this
1921 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1922 __del__ =
lambda self :
None;
1923 def get_transformed(self, *args):
1924 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1925 return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1927 def __mul__(self, *args):
1929 __mul__(Transformation2D self, Vector2D v) -> Vector2D
1930 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1932 return _IMP_algebra.Transformation2D___mul__(self, *args)
1934 def __div__(self, *args):
1935 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1936 return _IMP_algebra.Transformation2D___div__(self, *args)
1938 def get_rotation(self):
1939 """get_rotation(Transformation2D self) -> Rotation2D"""
1940 return _IMP_algebra.Transformation2D_get_rotation(self)
1942 def set_rotation(self, *args):
1943 """set_rotation(Transformation2D self, double angle)"""
1944 return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1946 def get_translation(self):
1947 """get_translation(Transformation2D self) -> Vector2D"""
1948 return _IMP_algebra.Transformation2D_get_translation(self)
1950 def set_translation(self, *args):
1951 """set_translation(Transformation2D self, Vector2D v)"""
1952 return _IMP_algebra.Transformation2D_set_translation(self, *args)
1954 def show(self, *args):
1956 show(Transformation2D self, _ostream out=std::cout)
1957 show(Transformation2D self)
1959 return _IMP_algebra.Transformation2D_show(self, *args)
1961 def get_inverse(self):
1962 """get_inverse(Transformation2D self) -> Transformation2D"""
1963 return _IMP_algebra.Transformation2D_get_inverse(self)
1966 """__str__(Transformation2D self) -> std::string"""
1967 return _IMP_algebra.Transformation2D___str__(self)
1970 """__repr__(Transformation2D self) -> std::string"""
1971 return _IMP_algebra.Transformation2D___repr__(self)
1973 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1974 Transformation2D_swigregister(Transformation2D)
1978 """get_identity_transformation_2d() -> Transformation2D"""
1979 return _IMP_algebra.get_identity_transformation_2d()
1983 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1984 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1986 return _IMP_algebra.get_rotation_about_point(*args)
1990 compose(Rotation3D a, Rotation3D b) -> Rotation3D
1991 compose(Transformation3D a, Transformation3D b) -> Transformation3D
1992 compose(Rotation2D a, Rotation2D b) -> Rotation2D
1993 compose(Transformation2D a, Transformation2D b) -> Transformation2D
1995 return _IMP_algebra.compose(*args)
1997 def get_unit_sphere_kd(*args):
1998 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
1999 return _IMP_algebra.get_unit_sphere_kd(*args)
2003 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2004 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2006 return _IMP_algebra.get_enclosing_sphere(*args)
2009 """get_ball_radius_from_volume_3d(double volume) -> double"""
2010 return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
2013 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2014 return _IMP_algebra.get_surface_area_and_volume(*args)
2017 """get_simplified_from_volume(IMP::algebra::Sphere3Ds _in, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2018 return _IMP_algebra.get_simplified_from_volume(*args)
2020 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2021 __swig_setmethods__ = {}
2022 for _s
in [_VectorBase1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2023 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector1D, name, value)
2024 __swig_getmethods__ = {}
2025 for _s
in [_VectorBase1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2026 __getattr__ =
lambda self, name: _swig_getattr(self, Vector1D, name)
2028 """get_unit_vector(Vector1D self) -> Vector1D"""
2029 return _IMP_algebra.Vector1D_get_unit_vector(self)
2031 def __div__(self, *args):
2032 """__div__(Vector1D self, double s) -> Vector1D"""
2033 return _IMP_algebra.Vector1D___div__(self, *args)
2036 """__neg__(Vector1D self) -> Vector1D"""
2037 return _IMP_algebra.Vector1D___neg__(self)
2039 def __sub__(self, *args):
2040 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2041 return _IMP_algebra.Vector1D___sub__(self, *args)
2043 def __add__(self, *args):
2044 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2045 return _IMP_algebra.Vector1D___add__(self, *args)
2047 def __mul__(self, *args):
2049 __mul__(Vector1D self, double s) -> Vector1D
2050 __mul__(Vector1D self, Vector1D o) -> double
2052 return _IMP_algebra.Vector1D___mul__(self, *args)
2054 def __init__(self, *args):
2056 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2057 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2058 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2060 this = _IMP_algebra.new_Vector1D(*args)
2061 try: self.this.append(this)
2062 except: self.this = this
2063 def __getitem__(self, *args):
2064 """__getitem__(Vector1D self, unsigned int index) -> double"""
2065 return _IMP_algebra.Vector1D___getitem__(self, *args)
2067 def __setitem__(self, *args):
2068 """__setitem__(Vector1D self, unsigned int index, double val)"""
2069 return _IMP_algebra.Vector1D___setitem__(self, *args)
2071 def __iadd__(self, *args):
2072 _IMP_algebra.Vector1D___iadd__(self, *args)
2076 def __imul__(self, *args):
2077 _IMP_algebra.Vector1D___imul__(self, *args)
2081 def __idiv__(self, *args):
2082 _IMP_algebra.Vector1D___idiv__(self, *args)
2086 def __isub__(self, *args):
2087 _IMP_algebra.Vector1D___isub__(self, *args)
2092 """__len__(Vector1D self) -> unsigned int"""
2093 return _IMP_algebra.Vector1D___len__(self)
2095 def __rmul__(self, *args):
2096 """__rmul__(Vector1D self, double f) -> Vector1D"""
2097 return _IMP_algebra.Vector1D___rmul__(self, *args)
2100 """__str__(Vector1D self) -> std::string"""
2101 return _IMP_algebra.Vector1D___str__(self)
2104 """__repr__(Vector1D self) -> std::string"""
2105 return _IMP_algebra.Vector1D___repr__(self)
2107 def __cmp__(self, *args):
2108 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2109 return _IMP_algebra.Vector1D___cmp__(self, *args)
2111 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2112 __del__ =
lambda self :
None;
2113 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2114 Vector1D_swigregister(Vector1D)
2117 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2118 __swig_setmethods__ = {}
2119 for _s
in [_VectorBase2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2120 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector2D, name, value)
2121 __swig_getmethods__ = {}
2122 for _s
in [_VectorBase2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2123 __getattr__ =
lambda self, name: _swig_getattr(self, Vector2D, name)
2125 """get_unit_vector(Vector2D self) -> Vector2D"""
2126 return _IMP_algebra.Vector2D_get_unit_vector(self)
2128 def __div__(self, *args):
2129 """__div__(Vector2D self, double s) -> Vector2D"""
2130 return _IMP_algebra.Vector2D___div__(self, *args)
2133 """__neg__(Vector2D self) -> Vector2D"""
2134 return _IMP_algebra.Vector2D___neg__(self)
2136 def __sub__(self, *args):
2137 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2138 return _IMP_algebra.Vector2D___sub__(self, *args)
2140 def __add__(self, *args):
2141 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2142 return _IMP_algebra.Vector2D___add__(self, *args)
2144 def __mul__(self, *args):
2146 __mul__(Vector2D self, double s) -> Vector2D
2147 __mul__(Vector2D self, Vector2D o) -> double
2149 return _IMP_algebra.Vector2D___mul__(self, *args)
2151 def __init__(self, *args):
2153 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2154 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2155 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2157 this = _IMP_algebra.new_Vector2D(*args)
2158 try: self.this.append(this)
2159 except: self.this = this
2160 def __getitem__(self, *args):
2161 """__getitem__(Vector2D self, unsigned int index) -> double"""
2162 return _IMP_algebra.Vector2D___getitem__(self, *args)
2164 def __setitem__(self, *args):
2165 """__setitem__(Vector2D self, unsigned int index, double val)"""
2166 return _IMP_algebra.Vector2D___setitem__(self, *args)
2168 def __iadd__(self, *args):
2169 _IMP_algebra.Vector2D___iadd__(self, *args)
2173 def __imul__(self, *args):
2174 _IMP_algebra.Vector2D___imul__(self, *args)
2178 def __idiv__(self, *args):
2179 _IMP_algebra.Vector2D___idiv__(self, *args)
2183 def __isub__(self, *args):
2184 _IMP_algebra.Vector2D___isub__(self, *args)
2189 """__len__(Vector2D self) -> unsigned int"""
2190 return _IMP_algebra.Vector2D___len__(self)
2192 def __rmul__(self, *args):
2193 """__rmul__(Vector2D self, double f) -> Vector2D"""
2194 return _IMP_algebra.Vector2D___rmul__(self, *args)
2197 """__str__(Vector2D self) -> std::string"""
2198 return _IMP_algebra.Vector2D___str__(self)
2201 """__repr__(Vector2D self) -> std::string"""
2202 return _IMP_algebra.Vector2D___repr__(self)
2204 def __cmp__(self, *args):
2205 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2206 return _IMP_algebra.Vector2D___cmp__(self, *args)
2208 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2209 __del__ =
lambda self :
None;
2210 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2211 Vector2D_swigregister(Vector2D)
2214 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
2215 __swig_setmethods__ = {}
2216 for _s
in [_VectorBase3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2217 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector3D, name, value)
2218 __swig_getmethods__ = {}
2219 for _s
in [_VectorBase3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2220 __getattr__ =
lambda self, name: _swig_getattr(self, Vector3D, name)
2222 """get_unit_vector(Vector3D self) -> Vector3D"""
2223 return _IMP_algebra.Vector3D_get_unit_vector(self)
2225 def __div__(self, *args):
2226 """__div__(Vector3D self, double s) -> Vector3D"""
2227 return _IMP_algebra.Vector3D___div__(self, *args)
2230 """__neg__(Vector3D self) -> Vector3D"""
2231 return _IMP_algebra.Vector3D___neg__(self)
2233 def __sub__(self, *args):
2234 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2235 return _IMP_algebra.Vector3D___sub__(self, *args)
2237 def __add__(self, *args):
2238 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2239 return _IMP_algebra.Vector3D___add__(self, *args)
2241 def __mul__(self, *args):
2243 __mul__(Vector3D self, double s) -> Vector3D
2244 __mul__(Vector3D self, Vector3D o) -> double
2246 return _IMP_algebra.Vector3D___mul__(self, *args)
2248 def __init__(self, *args):
2250 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2251 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2252 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2254 this = _IMP_algebra.new_Vector3D(*args)
2255 try: self.this.append(this)
2256 except: self.this = this
2257 def __getitem__(self, *args):
2258 """__getitem__(Vector3D self, unsigned int index) -> double"""
2259 return _IMP_algebra.Vector3D___getitem__(self, *args)
2261 def __setitem__(self, *args):
2262 """__setitem__(Vector3D self, unsigned int index, double val)"""
2263 return _IMP_algebra.Vector3D___setitem__(self, *args)
2265 def __iadd__(self, *args):
2266 _IMP_algebra.Vector3D___iadd__(self, *args)
2270 def __imul__(self, *args):
2271 _IMP_algebra.Vector3D___imul__(self, *args)
2275 def __idiv__(self, *args):
2276 _IMP_algebra.Vector3D___idiv__(self, *args)
2280 def __isub__(self, *args):
2281 _IMP_algebra.Vector3D___isub__(self, *args)
2286 """__len__(Vector3D self) -> unsigned int"""
2287 return _IMP_algebra.Vector3D___len__(self)
2289 def __rmul__(self, *args):
2290 """__rmul__(Vector3D self, double f) -> Vector3D"""
2291 return _IMP_algebra.Vector3D___rmul__(self, *args)
2294 """__str__(Vector3D self) -> std::string"""
2295 return _IMP_algebra.Vector3D___str__(self)
2298 """__repr__(Vector3D self) -> std::string"""
2299 return _IMP_algebra.Vector3D___repr__(self)
2301 def __cmp__(self, *args):
2302 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2303 return _IMP_algebra.Vector3D___cmp__(self, *args)
2305 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2306 __del__ =
lambda self :
None;
2307 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2308 Vector3D_swigregister(Vector3D)
2311 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2312 __swig_setmethods__ = {}
2313 for _s
in [_VectorBase4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2314 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector4D, name, value)
2315 __swig_getmethods__ = {}
2316 for _s
in [_VectorBase4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2317 __getattr__ =
lambda self, name: _swig_getattr(self, Vector4D, name)
2319 """get_unit_vector(Vector4D self) -> Vector4D"""
2320 return _IMP_algebra.Vector4D_get_unit_vector(self)
2322 def __div__(self, *args):
2323 """__div__(Vector4D self, double s) -> Vector4D"""
2324 return _IMP_algebra.Vector4D___div__(self, *args)
2327 """__neg__(Vector4D self) -> Vector4D"""
2328 return _IMP_algebra.Vector4D___neg__(self)
2330 def __sub__(self, *args):
2331 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2332 return _IMP_algebra.Vector4D___sub__(self, *args)
2334 def __add__(self, *args):
2335 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2336 return _IMP_algebra.Vector4D___add__(self, *args)
2338 def __mul__(self, *args):
2340 __mul__(Vector4D self, double s) -> Vector4D
2341 __mul__(Vector4D self, Vector4D o) -> double
2343 return _IMP_algebra.Vector4D___mul__(self, *args)
2345 def __init__(self, *args):
2347 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2348 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2349 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2351 this = _IMP_algebra.new_Vector4D(*args)
2352 try: self.this.append(this)
2353 except: self.this = this
2354 def __getitem__(self, *args):
2355 """__getitem__(Vector4D self, unsigned int index) -> double"""
2356 return _IMP_algebra.Vector4D___getitem__(self, *args)
2358 def __setitem__(self, *args):
2359 """__setitem__(Vector4D self, unsigned int index, double val)"""
2360 return _IMP_algebra.Vector4D___setitem__(self, *args)
2362 def __iadd__(self, *args):
2363 _IMP_algebra.Vector4D___iadd__(self, *args)
2367 def __imul__(self, *args):
2368 _IMP_algebra.Vector4D___imul__(self, *args)
2372 def __idiv__(self, *args):
2373 _IMP_algebra.Vector4D___idiv__(self, *args)
2377 def __isub__(self, *args):
2378 _IMP_algebra.Vector4D___isub__(self, *args)
2383 """__len__(Vector4D self) -> unsigned int"""
2384 return _IMP_algebra.Vector4D___len__(self)
2386 def __rmul__(self, *args):
2387 """__rmul__(Vector4D self, double f) -> Vector4D"""
2388 return _IMP_algebra.Vector4D___rmul__(self, *args)
2391 """__str__(Vector4D self) -> std::string"""
2392 return _IMP_algebra.Vector4D___str__(self)
2395 """__repr__(Vector4D self) -> std::string"""
2396 return _IMP_algebra.Vector4D___repr__(self)
2398 def __cmp__(self, *args):
2399 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2400 return _IMP_algebra.Vector4D___cmp__(self, *args)
2402 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2403 __del__ =
lambda self :
None;
2404 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2405 Vector4D_swigregister(Vector4D)
2408 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2409 __swig_setmethods__ = {}
2410 for _s
in [_VectorBase5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2411 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector5D, name, value)
2412 __swig_getmethods__ = {}
2413 for _s
in [_VectorBase5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2414 __getattr__ =
lambda self, name: _swig_getattr(self, Vector5D, name)
2416 """get_unit_vector(Vector5D self) -> Vector5D"""
2417 return _IMP_algebra.Vector5D_get_unit_vector(self)
2419 def __div__(self, *args):
2420 """__div__(Vector5D self, double s) -> Vector5D"""
2421 return _IMP_algebra.Vector5D___div__(self, *args)
2424 """__neg__(Vector5D self) -> Vector5D"""
2425 return _IMP_algebra.Vector5D___neg__(self)
2427 def __sub__(self, *args):
2428 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2429 return _IMP_algebra.Vector5D___sub__(self, *args)
2431 def __add__(self, *args):
2432 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2433 return _IMP_algebra.Vector5D___add__(self, *args)
2435 def __mul__(self, *args):
2437 __mul__(Vector5D self, double s) -> Vector5D
2438 __mul__(Vector5D self, Vector5D o) -> double
2440 return _IMP_algebra.Vector5D___mul__(self, *args)
2442 def __init__(self, *args):
2444 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2445 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2446 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2448 this = _IMP_algebra.new_Vector5D(*args)
2449 try: self.this.append(this)
2450 except: self.this = this
2451 def __getitem__(self, *args):
2452 """__getitem__(Vector5D self, unsigned int index) -> double"""
2453 return _IMP_algebra.Vector5D___getitem__(self, *args)
2455 def __setitem__(self, *args):
2456 """__setitem__(Vector5D self, unsigned int index, double val)"""
2457 return _IMP_algebra.Vector5D___setitem__(self, *args)
2459 def __iadd__(self, *args):
2460 _IMP_algebra.Vector5D___iadd__(self, *args)
2464 def __imul__(self, *args):
2465 _IMP_algebra.Vector5D___imul__(self, *args)
2469 def __idiv__(self, *args):
2470 _IMP_algebra.Vector5D___idiv__(self, *args)
2474 def __isub__(self, *args):
2475 _IMP_algebra.Vector5D___isub__(self, *args)
2480 """__len__(Vector5D self) -> unsigned int"""
2481 return _IMP_algebra.Vector5D___len__(self)
2483 def __rmul__(self, *args):
2484 """__rmul__(Vector5D self, double f) -> Vector5D"""
2485 return _IMP_algebra.Vector5D___rmul__(self, *args)
2488 """__str__(Vector5D self) -> std::string"""
2489 return _IMP_algebra.Vector5D___str__(self)
2492 """__repr__(Vector5D self) -> std::string"""
2493 return _IMP_algebra.Vector5D___repr__(self)
2495 def __cmp__(self, *args):
2496 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2497 return _IMP_algebra.Vector5D___cmp__(self, *args)
2499 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2500 __del__ =
lambda self :
None;
2501 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2502 Vector5D_swigregister(Vector5D)
2505 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2506 __swig_setmethods__ = {}
2507 for _s
in [_VectorBase6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2508 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector6D, name, value)
2509 __swig_getmethods__ = {}
2510 for _s
in [_VectorBase6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2511 __getattr__ =
lambda self, name: _swig_getattr(self, Vector6D, name)
2513 """get_unit_vector(Vector6D self) -> Vector6D"""
2514 return _IMP_algebra.Vector6D_get_unit_vector(self)
2516 def __div__(self, *args):
2517 """__div__(Vector6D self, double s) -> Vector6D"""
2518 return _IMP_algebra.Vector6D___div__(self, *args)
2521 """__neg__(Vector6D self) -> Vector6D"""
2522 return _IMP_algebra.Vector6D___neg__(self)
2524 def __sub__(self, *args):
2525 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2526 return _IMP_algebra.Vector6D___sub__(self, *args)
2528 def __add__(self, *args):
2529 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2530 return _IMP_algebra.Vector6D___add__(self, *args)
2532 def __mul__(self, *args):
2534 __mul__(Vector6D self, double s) -> Vector6D
2535 __mul__(Vector6D self, Vector6D o) -> double
2537 return _IMP_algebra.Vector6D___mul__(self, *args)
2539 def __init__(self, *args):
2541 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2542 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2543 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
2545 this = _IMP_algebra.new_Vector6D(*args)
2546 try: self.this.append(this)
2547 except: self.this = this
2548 def __getitem__(self, *args):
2549 """__getitem__(Vector6D self, unsigned int index) -> double"""
2550 return _IMP_algebra.Vector6D___getitem__(self, *args)
2552 def __setitem__(self, *args):
2553 """__setitem__(Vector6D self, unsigned int index, double val)"""
2554 return _IMP_algebra.Vector6D___setitem__(self, *args)
2556 def __iadd__(self, *args):
2557 _IMP_algebra.Vector6D___iadd__(self, *args)
2561 def __imul__(self, *args):
2562 _IMP_algebra.Vector6D___imul__(self, *args)
2566 def __idiv__(self, *args):
2567 _IMP_algebra.Vector6D___idiv__(self, *args)
2571 def __isub__(self, *args):
2572 _IMP_algebra.Vector6D___isub__(self, *args)
2577 """__len__(Vector6D self) -> unsigned int"""
2578 return _IMP_algebra.Vector6D___len__(self)
2580 def __rmul__(self, *args):
2581 """__rmul__(Vector6D self, double f) -> Vector6D"""
2582 return _IMP_algebra.Vector6D___rmul__(self, *args)
2585 """__str__(Vector6D self) -> std::string"""
2586 return _IMP_algebra.Vector6D___str__(self)
2589 """__repr__(Vector6D self) -> std::string"""
2590 return _IMP_algebra.Vector6D___repr__(self)
2592 def __cmp__(self, *args):
2593 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2594 return _IMP_algebra.Vector6D___cmp__(self, *args)
2596 __swig_destroy__ = _IMP_algebra.delete_Vector6D
2597 __del__ =
lambda self :
None;
2598 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2599 Vector6D_swigregister(Vector6D)
2602 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2603 __swig_setmethods__ = {}
2604 for _s
in [_VectorBaseKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2605 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKD, name, value)
2606 __swig_getmethods__ = {}
2607 for _s
in [_VectorBaseKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2608 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKD, name)
2610 """get_unit_vector(VectorKD self) -> VectorKD"""
2611 return _IMP_algebra.VectorKD_get_unit_vector(self)
2613 def __div__(self, *args):
2614 """__div__(VectorKD self, double s) -> VectorKD"""
2615 return _IMP_algebra.VectorKD___div__(self, *args)
2618 """__neg__(VectorKD self) -> VectorKD"""
2619 return _IMP_algebra.VectorKD___neg__(self)
2621 def __sub__(self, *args):
2622 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2623 return _IMP_algebra.VectorKD___sub__(self, *args)
2625 def __add__(self, *args):
2626 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
2627 return _IMP_algebra.VectorKD___add__(self, *args)
2629 def __mul__(self, *args):
2631 __mul__(VectorKD self, double s) -> VectorKD
2632 __mul__(VectorKD self, VectorKD o) -> double
2634 return _IMP_algebra.VectorKD___mul__(self, *args)
2636 def __init__(self, *args):
2638 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2639 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2640 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2641 double x3=std::numeric_limits< double >::max(), double x4=std::numeric_limits< double >::max(),
2642 double x5=std::numeric_limits< double >::max()) -> VectorKD
2643 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2644 double x3=std::numeric_limits< double >::max(), double x4=std::numeric_limits< double >::max()) -> VectorKD
2645 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2646 double x3=std::numeric_limits< double >::max()) -> VectorKD
2647 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max()) -> VectorKD
2648 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max()) -> VectorKD
2649 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
2651 this = _IMP_algebra.new_VectorKD(*args)
2652 try: self.this.append(this)
2653 except: self.this = this
2654 def __getitem__(self, *args):
2655 """__getitem__(VectorKD self, unsigned int index) -> double"""
2656 return _IMP_algebra.VectorKD___getitem__(self, *args)
2658 def __setitem__(self, *args):
2659 """__setitem__(VectorKD self, unsigned int index, double val)"""
2660 return _IMP_algebra.VectorKD___setitem__(self, *args)
2662 def __iadd__(self, *args):
2663 _IMP_algebra.VectorKD___iadd__(self, *args)
2667 def __imul__(self, *args):
2668 _IMP_algebra.VectorKD___imul__(self, *args)
2672 def __idiv__(self, *args):
2673 _IMP_algebra.VectorKD___idiv__(self, *args)
2677 def __isub__(self, *args):
2678 _IMP_algebra.VectorKD___isub__(self, *args)
2683 """__len__(VectorKD self) -> unsigned int"""
2684 return _IMP_algebra.VectorKD___len__(self)
2686 def __rmul__(self, *args):
2687 """__rmul__(VectorKD self, double f) -> VectorKD"""
2688 return _IMP_algebra.VectorKD___rmul__(self, *args)
2691 """__str__(VectorKD self) -> std::string"""
2692 return _IMP_algebra.VectorKD___str__(self)
2695 """__repr__(VectorKD self) -> std::string"""
2696 return _IMP_algebra.VectorKD___repr__(self)
2698 def __cmp__(self, *args):
2699 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2700 return _IMP_algebra.VectorKD___cmp__(self, *args)
2702 __swig_destroy__ = _IMP_algebra.delete_VectorKD
2703 __del__ =
lambda self :
None;
2704 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2705 VectorKD_swigregister(VectorKD)
2708 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2709 __swig_setmethods__ = {}
2710 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox1D, name, value)
2711 __swig_getmethods__ = {}
2712 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox1D, name)
2713 def __init__(self, *args):
2715 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2716 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2717 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
2718 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
2719 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2721 this = _IMP_algebra.new_BoundingBox1D(*args)
2722 try: self.this.append(this)
2723 except: self.this = this
2724 def get_dimension(self):
2725 """get_dimension(BoundingBox1D self) -> unsigned int"""
2726 return _IMP_algebra.BoundingBox1D_get_dimension(self)
2728 def get_corner(self, *args):
2729 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2730 return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2732 def get_contains(self, *args):
2734 get_contains(BoundingBox1D self, Vector1D o) -> bool
2735 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2737 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2739 def show(self, *args):
2741 show(BoundingBox1D self, _ostream out=std::cout)
2742 show(BoundingBox1D self)
2744 return _IMP_algebra.BoundingBox1D_show(self, *args)
2747 """__str__(BoundingBox1D self) -> std::string"""
2748 return _IMP_algebra.BoundingBox1D___str__(self)
2751 """__repr__(BoundingBox1D self) -> std::string"""
2752 return _IMP_algebra.BoundingBox1D___repr__(self)
2754 def __cmp__(self, *args):
2755 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2756 return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2758 def __getitem__(self, *args):
2759 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2760 return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2762 def __iadd__(self, *args):
2763 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2767 def __add__(self, *args):
2768 """__add__(BoundingBox1D self, BoundingBox1D o)"""
2769 return _IMP_algebra.BoundingBox1D___add__(self, *args)
2772 """__len__(BoundingBox1D self) -> unsigned int"""
2773 return _IMP_algebra.BoundingBox1D___len__(self)
2775 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2776 __del__ =
lambda self :
None;
2777 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2778 BoundingBox1D_swigregister(BoundingBox1D)
2781 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2782 __swig_setmethods__ = {}
2783 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox2D, name, value)
2784 __swig_getmethods__ = {}
2785 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox2D, name)
2786 def __init__(self, *args):
2788 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2789 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2790 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
2791 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
2792 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2794 this = _IMP_algebra.new_BoundingBox2D(*args)
2795 try: self.this.append(this)
2796 except: self.this = this
2797 def get_dimension(self):
2798 """get_dimension(BoundingBox2D self) -> unsigned int"""
2799 return _IMP_algebra.BoundingBox2D_get_dimension(self)
2801 def get_corner(self, *args):
2802 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2803 return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2805 def get_contains(self, *args):
2807 get_contains(BoundingBox2D self, Vector2D o) -> bool
2808 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2810 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2812 def show(self, *args):
2814 show(BoundingBox2D self, _ostream out=std::cout)
2815 show(BoundingBox2D self)
2817 return _IMP_algebra.BoundingBox2D_show(self, *args)
2820 """__str__(BoundingBox2D self) -> std::string"""
2821 return _IMP_algebra.BoundingBox2D___str__(self)
2824 """__repr__(BoundingBox2D self) -> std::string"""
2825 return _IMP_algebra.BoundingBox2D___repr__(self)
2827 def __cmp__(self, *args):
2828 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2829 return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2831 def __getitem__(self, *args):
2832 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2833 return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2835 def __iadd__(self, *args):
2836 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2840 def __add__(self, *args):
2841 """__add__(BoundingBox2D self, BoundingBox2D o)"""
2842 return _IMP_algebra.BoundingBox2D___add__(self, *args)
2845 """__len__(BoundingBox2D self) -> unsigned int"""
2846 return _IMP_algebra.BoundingBox2D___len__(self)
2848 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2849 __del__ =
lambda self :
None;
2850 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2851 BoundingBox2D_swigregister(BoundingBox2D)
2854 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2855 __swig_setmethods__ = {}
2856 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3D, name, value)
2857 __swig_getmethods__ = {}
2858 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3D, name)
2859 def __init__(self, *args):
2861 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2862 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2863 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
2864 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
2865 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2867 this = _IMP_algebra.new_BoundingBox3D(*args)
2868 try: self.this.append(this)
2869 except: self.this = this
2870 def get_dimension(self):
2871 """get_dimension(BoundingBox3D self) -> unsigned int"""
2872 return _IMP_algebra.BoundingBox3D_get_dimension(self)
2874 def get_corner(self, *args):
2875 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2876 return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2878 def get_contains(self, *args):
2880 get_contains(BoundingBox3D self, Vector3D o) -> bool
2881 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2883 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2885 def show(self, *args):
2887 show(BoundingBox3D self, _ostream out=std::cout)
2888 show(BoundingBox3D self)
2890 return _IMP_algebra.BoundingBox3D_show(self, *args)
2893 """__str__(BoundingBox3D self) -> std::string"""
2894 return _IMP_algebra.BoundingBox3D___str__(self)
2897 """__repr__(BoundingBox3D self) -> std::string"""
2898 return _IMP_algebra.BoundingBox3D___repr__(self)
2900 def __cmp__(self, *args):
2901 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
2902 return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
2904 def __getitem__(self, *args):
2905 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
2906 return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
2908 def __iadd__(self, *args):
2909 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
2913 def __add__(self, *args):
2914 """__add__(BoundingBox3D self, BoundingBox3D o)"""
2915 return _IMP_algebra.BoundingBox3D___add__(self, *args)
2918 """__len__(BoundingBox3D self) -> unsigned int"""
2919 return _IMP_algebra.BoundingBox3D___len__(self)
2921 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
2922 __del__ =
lambda self :
None;
2923 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
2924 BoundingBox3D_swigregister(BoundingBox3D)
2927 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
2928 __swig_setmethods__ = {}
2929 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox4D, name, value)
2930 __swig_getmethods__ = {}
2931 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox4D, name)
2932 def __init__(self, *args):
2934 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
2935 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
2936 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
2937 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
2938 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
2940 this = _IMP_algebra.new_BoundingBox4D(*args)
2941 try: self.this.append(this)
2942 except: self.this = this
2943 def get_dimension(self):
2944 """get_dimension(BoundingBox4D self) -> unsigned int"""
2945 return _IMP_algebra.BoundingBox4D_get_dimension(self)
2947 def get_corner(self, *args):
2948 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
2949 return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
2951 def get_contains(self, *args):
2953 get_contains(BoundingBox4D self, Vector4D o) -> bool
2954 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
2956 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
2958 def show(self, *args):
2960 show(BoundingBox4D self, _ostream out=std::cout)
2961 show(BoundingBox4D self)
2963 return _IMP_algebra.BoundingBox4D_show(self, *args)
2966 """__str__(BoundingBox4D self) -> std::string"""
2967 return _IMP_algebra.BoundingBox4D___str__(self)
2970 """__repr__(BoundingBox4D self) -> std::string"""
2971 return _IMP_algebra.BoundingBox4D___repr__(self)
2973 def __cmp__(self, *args):
2974 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
2975 return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
2977 def __getitem__(self, *args):
2978 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
2979 return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
2981 def __iadd__(self, *args):
2982 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
2986 def __add__(self, *args):
2987 """__add__(BoundingBox4D self, BoundingBox4D o)"""
2988 return _IMP_algebra.BoundingBox4D___add__(self, *args)
2991 """__len__(BoundingBox4D self) -> unsigned int"""
2992 return _IMP_algebra.BoundingBox4D___len__(self)
2994 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
2995 __del__ =
lambda self :
None;
2996 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
2997 BoundingBox4D_swigregister(BoundingBox4D)
3000 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3001 __swig_setmethods__ = {}
3002 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox5D, name, value)
3003 __swig_getmethods__ = {}
3004 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox5D, name)
3005 def __init__(self, *args):
3007 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3008 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3009 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3010 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3011 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3013 this = _IMP_algebra.new_BoundingBox5D(*args)
3014 try: self.this.append(this)
3015 except: self.this = this
3016 def get_dimension(self):
3017 """get_dimension(BoundingBox5D self) -> unsigned int"""
3018 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3020 def get_corner(self, *args):
3021 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3022 return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
3024 def get_contains(self, *args):
3026 get_contains(BoundingBox5D self, Vector5D o) -> bool
3027 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3029 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3031 def show(self, *args):
3033 show(BoundingBox5D self, _ostream out=std::cout)
3034 show(BoundingBox5D self)
3036 return _IMP_algebra.BoundingBox5D_show(self, *args)
3039 """__str__(BoundingBox5D self) -> std::string"""
3040 return _IMP_algebra.BoundingBox5D___str__(self)
3043 """__repr__(BoundingBox5D self) -> std::string"""
3044 return _IMP_algebra.BoundingBox5D___repr__(self)
3046 def __cmp__(self, *args):
3047 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3048 return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
3050 def __getitem__(self, *args):
3051 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3052 return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3054 def __iadd__(self, *args):
3055 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3059 def __add__(self, *args):
3060 """__add__(BoundingBox5D self, BoundingBox5D o)"""
3061 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3064 """__len__(BoundingBox5D self) -> unsigned int"""
3065 return _IMP_algebra.BoundingBox5D___len__(self)
3067 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3068 __del__ =
lambda self :
None;
3069 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3070 BoundingBox5D_swigregister(BoundingBox5D)
3073 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3074 __swig_setmethods__ = {}
3075 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox6D, name, value)
3076 __swig_getmethods__ = {}
3077 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox6D, name)
3078 def __init__(self, *args):
3080 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3081 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3082 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3083 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3084 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3086 this = _IMP_algebra.new_BoundingBox6D(*args)
3087 try: self.this.append(this)
3088 except: self.this = this
3089 def get_dimension(self):
3090 """get_dimension(BoundingBox6D self) -> unsigned int"""
3091 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3093 def get_corner(self, *args):
3094 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3095 return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3097 def get_contains(self, *args):
3099 get_contains(BoundingBox6D self, Vector6D o) -> bool
3100 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3102 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3104 def show(self, *args):
3106 show(BoundingBox6D self, _ostream out=std::cout)
3107 show(BoundingBox6D self)
3109 return _IMP_algebra.BoundingBox6D_show(self, *args)
3112 """__str__(BoundingBox6D self) -> std::string"""
3113 return _IMP_algebra.BoundingBox6D___str__(self)
3116 """__repr__(BoundingBox6D self) -> std::string"""
3117 return _IMP_algebra.BoundingBox6D___repr__(self)
3119 def __cmp__(self, *args):
3120 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3121 return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3123 def __getitem__(self, *args):
3124 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3125 return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3127 def __iadd__(self, *args):
3128 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3132 def __add__(self, *args):
3133 """__add__(BoundingBox6D self, BoundingBox6D o)"""
3134 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3137 """__len__(BoundingBox6D self) -> unsigned int"""
3138 return _IMP_algebra.BoundingBox6D___len__(self)
3140 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3141 __del__ =
lambda self :
None;
3142 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3143 BoundingBox6D_swigregister(BoundingBox6D)
3146 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3147 __swig_setmethods__ = {}
3148 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBoxKD, name, value)
3149 __swig_getmethods__ = {}
3150 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBoxKD, name)
3151 def __init__(self, *args):
3153 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3154 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3155 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3156 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3157 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3159 this = _IMP_algebra.new_BoundingBoxKD(*args)
3160 try: self.this.append(this)
3161 except: self.this = this
3162 def get_dimension(self):
3163 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3164 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3166 def get_corner(self, *args):
3167 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3168 return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3170 def get_contains(self, *args):
3172 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3173 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3175 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3177 def show(self, *args):
3179 show(BoundingBoxKD self, _ostream out=std::cout)
3180 show(BoundingBoxKD self)
3182 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3185 """__str__(BoundingBoxKD self) -> std::string"""
3186 return _IMP_algebra.BoundingBoxKD___str__(self)
3189 """__repr__(BoundingBoxKD self) -> std::string"""
3190 return _IMP_algebra.BoundingBoxKD___repr__(self)
3192 def __cmp__(self, *args):
3193 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3194 return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3196 def __getitem__(self, *args):
3197 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3198 return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3200 def __iadd__(self, *args):
3201 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3205 def __add__(self, *args):
3206 """__add__(BoundingBoxKD self, BoundingBoxKD o)"""
3207 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3210 """__len__(BoundingBoxKD self) -> unsigned int"""
3211 return _IMP_algebra.BoundingBoxKD___len__(self)
3213 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3214 __del__ =
lambda self :
None;
3215 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3216 BoundingBoxKD_swigregister(BoundingBoxKD)
3218 class Sphere1D(_GeometricPrimitive1D):
3219 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3220 __swig_setmethods__ = {}
3221 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3222 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere1D, name, value)
3223 __swig_getmethods__ = {}
3224 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3225 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere1D, name)
3226 def __init__(self, *args):
3228 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3229 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3231 this = _IMP_algebra.new_Sphere1D(*args)
3232 try: self.this.append(this)
3233 except: self.this = this
3234 def get_radius(self):
3235 """get_radius(Sphere1D self) -> double"""
3236 return _IMP_algebra.Sphere1D_get_radius(self)
3238 def get_center(self):
3239 """get_center(Sphere1D self) -> Vector1D"""
3240 return _IMP_algebra.Sphere1D_get_center(self)
3242 def get_contains(self, *args):
3244 get_contains(Sphere1D self, Sphere1D o) -> bool
3245 get_contains(Sphere1D self, Vector1D p) -> bool
3247 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3249 def show(self, *args):
3251 show(Sphere1D self, _ostream out=std::cout)
3254 return _IMP_algebra.Sphere1D_show(self, *args)
3256 def get_dimension(self):
3257 """get_dimension(Sphere1D self) -> unsigned int"""
3258 return _IMP_algebra.Sphere1D_get_dimension(self)
3261 """__str__(Sphere1D self) -> std::string"""
3262 return _IMP_algebra.Sphere1D___str__(self)
3265 """__repr__(Sphere1D self) -> std::string"""
3266 return _IMP_algebra.Sphere1D___repr__(self)
3268 def __cmp__(self, *args):
3269 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3270 return _IMP_algebra.Sphere1D___cmp__(self, *args)
3272 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3273 __del__ =
lambda self :
None;
3274 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3275 Sphere1D_swigregister(Sphere1D)
3277 class Sphere2D(_GeometricPrimitive2D):
3278 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3279 __swig_setmethods__ = {}
3280 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3281 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere2D, name, value)
3282 __swig_getmethods__ = {}
3283 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3284 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere2D, name)
3285 def __init__(self, *args):
3287 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3288 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3290 this = _IMP_algebra.new_Sphere2D(*args)
3291 try: self.this.append(this)
3292 except: self.this = this
3293 def get_radius(self):
3294 """get_radius(Sphere2D self) -> double"""
3295 return _IMP_algebra.Sphere2D_get_radius(self)
3297 def get_center(self):
3298 """get_center(Sphere2D self) -> Vector2D"""
3299 return _IMP_algebra.Sphere2D_get_center(self)
3301 def get_contains(self, *args):
3303 get_contains(Sphere2D self, Sphere2D o) -> bool
3304 get_contains(Sphere2D self, Vector2D p) -> bool
3306 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3308 def show(self, *args):
3310 show(Sphere2D self, _ostream out=std::cout)
3313 return _IMP_algebra.Sphere2D_show(self, *args)
3315 def get_dimension(self):
3316 """get_dimension(Sphere2D self) -> unsigned int"""
3317 return _IMP_algebra.Sphere2D_get_dimension(self)
3320 """__str__(Sphere2D self) -> std::string"""
3321 return _IMP_algebra.Sphere2D___str__(self)
3324 """__repr__(Sphere2D self) -> std::string"""
3325 return _IMP_algebra.Sphere2D___repr__(self)
3327 def __cmp__(self, *args):
3328 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3329 return _IMP_algebra.Sphere2D___cmp__(self, *args)
3331 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3332 __del__ =
lambda self :
None;
3333 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3334 Sphere2D_swigregister(Sphere2D)
3336 class Sphere3D(_GeometricPrimitive3D):
3337 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3338 __swig_setmethods__ = {}
3339 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3340 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere3D, name, value)
3341 __swig_getmethods__ = {}
3342 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3343 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere3D, name)
3344 def __init__(self, *args):
3346 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3347 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3349 this = _IMP_algebra.new_Sphere3D(*args)
3350 try: self.this.append(this)
3351 except: self.this = this
3352 def get_radius(self):
3353 """get_radius(Sphere3D self) -> double"""
3354 return _IMP_algebra.Sphere3D_get_radius(self)
3356 def get_center(self):
3357 """get_center(Sphere3D self) -> Vector3D"""
3358 return _IMP_algebra.Sphere3D_get_center(self)
3360 def get_contains(self, *args):
3362 get_contains(Sphere3D self, Sphere3D o) -> bool
3363 get_contains(Sphere3D self, Vector3D p) -> bool
3365 return _IMP_algebra.Sphere3D_get_contains(self, *args)
3367 def show(self, *args):
3369 show(Sphere3D self, _ostream out=std::cout)
3372 return _IMP_algebra.Sphere3D_show(self, *args)
3374 def get_dimension(self):
3375 """get_dimension(Sphere3D self) -> unsigned int"""
3376 return _IMP_algebra.Sphere3D_get_dimension(self)
3379 """__str__(Sphere3D self) -> std::string"""
3380 return _IMP_algebra.Sphere3D___str__(self)
3383 """__repr__(Sphere3D self) -> std::string"""
3384 return _IMP_algebra.Sphere3D___repr__(self)
3386 def __cmp__(self, *args):
3387 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3388 return _IMP_algebra.Sphere3D___cmp__(self, *args)
3390 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3391 __del__ =
lambda self :
None;
3392 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3393 Sphere3D_swigregister(Sphere3D)
3395 class Sphere4D(_GeometricPrimitive4D):
3396 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3397 __swig_setmethods__ = {}
3398 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3399 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere4D, name, value)
3400 __swig_getmethods__ = {}
3401 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3402 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere4D, name)
3403 def __init__(self, *args):
3405 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3406 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3408 this = _IMP_algebra.new_Sphere4D(*args)
3409 try: self.this.append(this)
3410 except: self.this = this
3411 def get_radius(self):
3412 """get_radius(Sphere4D self) -> double"""
3413 return _IMP_algebra.Sphere4D_get_radius(self)
3415 def get_center(self):
3416 """get_center(Sphere4D self) -> Vector4D"""
3417 return _IMP_algebra.Sphere4D_get_center(self)
3419 def get_contains(self, *args):
3421 get_contains(Sphere4D self, Sphere4D o) -> bool
3422 get_contains(Sphere4D self, Vector4D p) -> bool
3424 return _IMP_algebra.Sphere4D_get_contains(self, *args)
3426 def show(self, *args):
3428 show(Sphere4D self, _ostream out=std::cout)
3431 return _IMP_algebra.Sphere4D_show(self, *args)
3433 def get_dimension(self):
3434 """get_dimension(Sphere4D self) -> unsigned int"""
3435 return _IMP_algebra.Sphere4D_get_dimension(self)
3438 """__str__(Sphere4D self) -> std::string"""
3439 return _IMP_algebra.Sphere4D___str__(self)
3442 """__repr__(Sphere4D self) -> std::string"""
3443 return _IMP_algebra.Sphere4D___repr__(self)
3445 def __cmp__(self, *args):
3446 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3447 return _IMP_algebra.Sphere4D___cmp__(self, *args)
3449 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3450 __del__ =
lambda self :
None;
3451 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3452 Sphere4D_swigregister(Sphere4D)
3454 class Sphere5D(_GeometricPrimitive5D):
3455 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3456 __swig_setmethods__ = {}
3457 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3458 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere5D, name, value)
3459 __swig_getmethods__ = {}
3460 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3461 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere5D, name)
3462 def __init__(self, *args):
3464 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3465 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3467 this = _IMP_algebra.new_Sphere5D(*args)
3468 try: self.this.append(this)
3469 except: self.this = this
3470 def get_radius(self):
3471 """get_radius(Sphere5D self) -> double"""
3472 return _IMP_algebra.Sphere5D_get_radius(self)
3474 def get_center(self):
3475 """get_center(Sphere5D self) -> Vector5D"""
3476 return _IMP_algebra.Sphere5D_get_center(self)
3478 def get_contains(self, *args):
3480 get_contains(Sphere5D self, Sphere5D o) -> bool
3481 get_contains(Sphere5D self, Vector5D p) -> bool
3483 return _IMP_algebra.Sphere5D_get_contains(self, *args)
3485 def show(self, *args):
3487 show(Sphere5D self, _ostream out=std::cout)
3490 return _IMP_algebra.Sphere5D_show(self, *args)
3492 def get_dimension(self):
3493 """get_dimension(Sphere5D self) -> unsigned int"""
3494 return _IMP_algebra.Sphere5D_get_dimension(self)
3497 """__str__(Sphere5D self) -> std::string"""
3498 return _IMP_algebra.Sphere5D___str__(self)
3501 """__repr__(Sphere5D self) -> std::string"""
3502 return _IMP_algebra.Sphere5D___repr__(self)
3504 def __cmp__(self, *args):
3505 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3506 return _IMP_algebra.Sphere5D___cmp__(self, *args)
3508 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3509 __del__ =
lambda self :
None;
3510 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3511 Sphere5D_swigregister(Sphere5D)
3513 class Sphere6D(_GeometricPrimitive6D):
3514 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3515 __swig_setmethods__ = {}
3516 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3517 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere6D, name, value)
3518 __swig_getmethods__ = {}
3519 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3520 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere6D, name)
3521 def __init__(self, *args):
3523 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3524 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3526 this = _IMP_algebra.new_Sphere6D(*args)
3527 try: self.this.append(this)
3528 except: self.this = this
3529 def get_radius(self):
3530 """get_radius(Sphere6D self) -> double"""
3531 return _IMP_algebra.Sphere6D_get_radius(self)
3533 def get_center(self):
3534 """get_center(Sphere6D self) -> Vector6D"""
3535 return _IMP_algebra.Sphere6D_get_center(self)
3537 def get_contains(self, *args):
3539 get_contains(Sphere6D self, Sphere6D o) -> bool
3540 get_contains(Sphere6D self, Vector6D p) -> bool
3542 return _IMP_algebra.Sphere6D_get_contains(self, *args)
3544 def show(self, *args):
3546 show(Sphere6D self, _ostream out=std::cout)
3549 return _IMP_algebra.Sphere6D_show(self, *args)
3551 def get_dimension(self):
3552 """get_dimension(Sphere6D self) -> unsigned int"""
3553 return _IMP_algebra.Sphere6D_get_dimension(self)
3556 """__str__(Sphere6D self) -> std::string"""
3557 return _IMP_algebra.Sphere6D___str__(self)
3560 """__repr__(Sphere6D self) -> std::string"""
3561 return _IMP_algebra.Sphere6D___repr__(self)
3563 def __cmp__(self, *args):
3564 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3565 return _IMP_algebra.Sphere6D___cmp__(self, *args)
3567 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3568 __del__ =
lambda self :
None;
3569 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3570 Sphere6D_swigregister(Sphere6D)
3572 class SphereKD(_GeometricPrimitiveKD):
3573 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3574 __swig_setmethods__ = {}
3575 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3576 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereKD, name, value)
3577 __swig_getmethods__ = {}
3578 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3579 __getattr__ =
lambda self, name: _swig_getattr(self, SphereKD, name)
3580 def __init__(self, *args):
3582 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3583 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3585 this = _IMP_algebra.new_SphereKD(*args)
3586 try: self.this.append(this)
3587 except: self.this = this
3588 def get_radius(self):
3589 """get_radius(SphereKD self) -> double"""
3590 return _IMP_algebra.SphereKD_get_radius(self)
3592 def get_center(self):
3593 """get_center(SphereKD self) -> VectorKD"""
3594 return _IMP_algebra.SphereKD_get_center(self)
3596 def get_contains(self, *args):
3598 get_contains(SphereKD self, SphereKD o) -> bool
3599 get_contains(SphereKD self, VectorKD p) -> bool
3601 return _IMP_algebra.SphereKD_get_contains(self, *args)
3603 def show(self, *args):
3605 show(SphereKD self, _ostream out=std::cout)
3608 return _IMP_algebra.SphereKD_show(self, *args)
3610 def get_dimension(self):
3611 """get_dimension(SphereKD self) -> unsigned int"""
3612 return _IMP_algebra.SphereKD_get_dimension(self)
3615 """__str__(SphereKD self) -> std::string"""
3616 return _IMP_algebra.SphereKD___str__(self)
3619 """__repr__(SphereKD self) -> std::string"""
3620 return _IMP_algebra.SphereKD___repr__(self)
3622 def __cmp__(self, *args):
3623 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3624 return _IMP_algebra.SphereKD___cmp__(self, *args)
3626 __swig_destroy__ = _IMP_algebra.delete_SphereKD
3627 __del__ =
lambda self :
None;
3628 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3629 SphereKD_swigregister(SphereKD)
3631 class ReferenceFrame3D(_object):
3632 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3633 __swig_setmethods__ = {}
3634 __setattr__ =
lambda self, name, value: _swig_setattr(self, ReferenceFrame3D, name, value)
3635 __swig_getmethods__ = {}
3636 __getattr__ =
lambda self, name: _swig_getattr(self, ReferenceFrame3D, name)
3637 def __init__(self, *args):
3639 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3640 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3642 this = _IMP_algebra.new_ReferenceFrame3D(*args)
3643 try: self.this.append(this)
3644 except: self.this = this
3645 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3646 __del__ =
lambda self :
None;
3647 def get_transformation_to(self):
3648 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3649 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3651 def get_transformation_from(self):
3652 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3653 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3655 def get_global_coordinates(self, *args):
3656 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3657 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3659 def get_local_coordinates(self, *args):
3660 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3661 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3663 def get_global_reference_frame(self, *args):
3664 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3665 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3667 def get_local_reference_frame(self, *args):
3668 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3669 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3671 def show(self, *args):
3673 show(ReferenceFrame3D self, _ostream out=std::cout)
3674 show(ReferenceFrame3D self)
3676 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3679 """__str__(ReferenceFrame3D self) -> std::string"""
3680 return _IMP_algebra.ReferenceFrame3D___str__(self)
3683 """__repr__(ReferenceFrame3D self) -> std::string"""
3684 return _IMP_algebra.ReferenceFrame3D___repr__(self)
3686 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3687 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3690 def get_transformed(*args):
3692 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3693 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3695 return _IMP_algebra.get_transformed(*args)
3697 def get_transformation_from_first_to_second(*args):
3698 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3699 return _IMP_algebra.get_transformation_from_first_to_second(*args)
3700 class SphericalVector3D(_GeometricPrimitive3D):
3701 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3702 __swig_setmethods__ = {}
3703 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3704 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphericalVector3D, name, value)
3705 __swig_getmethods__ = {}
3706 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3707 __getattr__ =
lambda self, name: _swig_getattr(self, SphericalVector3D, name)
3708 def __init__(self, *args):
3710 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3711 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3712 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3713 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3715 this = _IMP_algebra.new_SphericalVector3D(*args)
3716 try: self.this.append(this)
3717 except: self.this = this
3718 def get_cartesian_coordinates(self):
3719 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3720 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3722 def show(self, *args):
3724 show(SphericalVector3D self, _ostream out=std::cout)
3725 show(SphericalVector3D self)
3727 return _IMP_algebra.SphericalVector3D_show(self, *args)
3730 """__str__(SphericalVector3D self) -> std::string"""
3731 return _IMP_algebra.SphericalVector3D___str__(self)
3734 """__repr__(SphericalVector3D self) -> std::string"""
3735 return _IMP_algebra.SphericalVector3D___repr__(self)
3737 def __getitem__(self, *args):
3738 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3739 return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3741 def __setitem__(self, *args):
3742 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3743 return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3745 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3746 __del__ =
lambda self :
None;
3747 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3748 SphericalVector3D_swigregister(SphericalVector3D)
3752 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3753 return _IMP_algebra.get_alignments_from_first_to_second(*args)
3754 class Segment3D(_GeometricPrimitive3D):
3755 """Proxy of C++ IMP::algebra::Segment3D class"""
3756 __swig_setmethods__ = {}
3757 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3758 __setattr__ =
lambda self, name, value: _swig_setattr(self, Segment3D, name, value)
3759 __swig_getmethods__ = {}
3760 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3761 __getattr__ =
lambda self, name: _swig_getattr(self, Segment3D, name)
3762 def __init__(self, *args):
3764 __init__(IMP::algebra::Segment3D self) -> Segment3D
3765 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3767 this = _IMP_algebra.new_Segment3D(*args)
3768 try: self.this.append(this)
3769 except: self.this = this
3770 def get_point(self, *args):
3771 """get_point(Segment3D self, unsigned int i) -> Vector3D"""
3772 return _IMP_algebra.Segment3D_get_point(self, *args)
3774 def get_middle_point(self):
3775 """get_middle_point(Segment3D self) -> Vector3D"""
3776 return _IMP_algebra.Segment3D_get_middle_point(self)
3778 def get_direction(self):
3779 """get_direction(Segment3D self) -> Vector3D"""
3780 return _IMP_algebra.Segment3D_get_direction(self)
3782 def get_length(self):
3783 """get_length(Segment3D self) -> double"""
3784 return _IMP_algebra.Segment3D_get_length(self)
3786 def show(self, *args):
3788 show(Segment3D self, _ostream out=std::cout)
3789 show(Segment3D self)
3791 return _IMP_algebra.Segment3D_show(self, *args)
3794 """__str__(Segment3D self) -> std::string"""
3795 return _IMP_algebra.Segment3D___str__(self)
3798 """__repr__(Segment3D self) -> std::string"""
3799 return _IMP_algebra.Segment3D___repr__(self)
3801 __swig_destroy__ = _IMP_algebra.delete_Segment3D
3802 __del__ =
lambda self :
None;
3803 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3804 Segment3D_swigregister(Segment3D)
3808 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3809 return _IMP_algebra.get_segment_3d_geometry(*args)
3812 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3813 return _IMP_algebra.get_relative_projection_on_segment(*args)
3814 class Triangle3D(_GeometricPrimitive3D):
3815 """Proxy of C++ IMP::algebra::Triangle3D class"""
3816 __swig_setmethods__ = {}
3817 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3818 __setattr__ =
lambda self, name, value: _swig_setattr(self, Triangle3D, name, value)
3819 __swig_getmethods__ = {}
3820 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3821 __getattr__ =
lambda self, name: _swig_getattr(self, Triangle3D, name)
3822 def __init__(self, *args):
3824 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3825 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3827 this = _IMP_algebra.new_Triangle3D(*args)
3828 try: self.this.append(this)
3829 except: self.this = this
3830 def get_point(self, *args):
3831 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3832 return _IMP_algebra.Triangle3D_get_point(self, *args)
3834 def show(self, *args):
3836 show(Triangle3D self, _ostream out=std::cout)
3837 show(Triangle3D self)
3839 return _IMP_algebra.Triangle3D_show(self, *args)
3841 def get_edge_lengths(self):
3842 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3843 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3846 """__str__(Triangle3D self) -> std::string"""
3847 return _IMP_algebra.Triangle3D___str__(self)
3850 """__repr__(Triangle3D self) -> std::string"""
3851 return _IMP_algebra.Triangle3D___repr__(self)
3853 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3854 __del__ =
lambda self :
None;
3855 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3856 Triangle3D_swigregister(Triangle3D)
3860 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3861 return _IMP_algebra.get_largest_triangle(*args)
3864 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3865 return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3868 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3869 return _IMP_algebra.get_are_colinear(*args)
3870 class LinearFit2D(_GeometricPrimitive2D):
3871 """Proxy of C++ IMP::algebra::LinearFit2D class"""
3872 __swig_setmethods__ = {}
3873 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3874 __setattr__ =
lambda self, name, value: _swig_setattr(self, LinearFit2D, name, value)
3875 __swig_getmethods__ = {}
3876 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3877 __getattr__ =
lambda self, name: _swig_getattr(self, LinearFit2D, name)
3878 def __init__(self, *args):
3880 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3881 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3883 this = _IMP_algebra.new_LinearFit2D(*args)
3884 try: self.this.append(this)
3885 except: self.this = this
3886 def get_fit_error(self):
3887 """get_fit_error(LinearFit2D self) -> double"""
3888 return _IMP_algebra.LinearFit2D_get_fit_error(self)
3891 """get_a(LinearFit2D self) -> double"""
3892 return _IMP_algebra.LinearFit2D_get_a(self)
3895 """get_b(LinearFit2D self) -> double"""
3896 return _IMP_algebra.LinearFit2D_get_b(self)
3898 def show(self, *args):
3900 show(LinearFit2D self, _ostream out=std::cout)
3901 show(LinearFit2D self)
3903 return _IMP_algebra.LinearFit2D_show(self, *args)
3906 """__str__(LinearFit2D self) -> std::string"""
3907 return _IMP_algebra.LinearFit2D___str__(self)
3910 """__repr__(LinearFit2D self) -> std::string"""
3911 return _IMP_algebra.LinearFit2D___repr__(self)
3913 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
3914 __del__ =
lambda self :
None;
3915 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
3916 LinearFit2D_swigregister(LinearFit2D)
3918 class ParabolicFit2D(_GeometricPrimitive2D):
3919 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
3920 __swig_setmethods__ = {}
3921 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3922 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParabolicFit2D, name, value)
3923 __swig_getmethods__ = {}
3924 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3925 __getattr__ =
lambda self, name: _swig_getattr(self, ParabolicFit2D, name)
3926 def __init__(self, *args):
3927 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
3928 this = _IMP_algebra.new_ParabolicFit2D(*args)
3929 try: self.this.append(this)
3930 except: self.this = this
3931 def get_fit_error(self):
3932 """get_fit_error(ParabolicFit2D self) -> double"""
3933 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
3936 """get_a(ParabolicFit2D self) -> double"""
3937 return _IMP_algebra.ParabolicFit2D_get_a(self)
3940 """get_b(ParabolicFit2D self) -> double"""
3941 return _IMP_algebra.ParabolicFit2D_get_b(self)
3944 """get_c(ParabolicFit2D self) -> double"""
3945 return _IMP_algebra.ParabolicFit2D_get_c(self)
3947 def show(self, *args):
3949 show(ParabolicFit2D self, _ostream out=std::cout)
3950 show(ParabolicFit2D self)
3952 return _IMP_algebra.ParabolicFit2D_show(self, *args)
3955 """__str__(ParabolicFit2D self) -> std::string"""
3956 return _IMP_algebra.ParabolicFit2D___str__(self)
3959 """__repr__(ParabolicFit2D self) -> std::string"""
3960 return _IMP_algebra.ParabolicFit2D___repr__(self)
3962 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
3963 __del__ =
lambda self :
None;
3964 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
3965 ParabolicFit2D_swigregister(ParabolicFit2D)
3967 class Plane3D(_GeometricPrimitive3D):
3968 """Proxy of C++ IMP::algebra::Plane3D class"""
3969 __swig_setmethods__ = {}
3970 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3971 __setattr__ =
lambda self, name, value: _swig_setattr(self, Plane3D, name, value)
3972 __swig_getmethods__ = {}
3973 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3974 __getattr__ =
lambda self, name: _swig_getattr(self, Plane3D, name)
3975 def __init__(self, *args):
3977 __init__(IMP::algebra::Plane3D self) -> Plane3D
3978 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
3979 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
3981 this = _IMP_algebra.new_Plane3D(*args)
3982 try: self.this.append(this)
3983 except: self.this = this
3984 def get_point_on_plane(self):
3985 """get_point_on_plane(Plane3D self) -> Vector3D"""
3986 return _IMP_algebra.Plane3D_get_point_on_plane(self)
3988 def get_normal(self):
3989 """get_normal(Plane3D self) -> Vector3D"""
3990 return _IMP_algebra.Plane3D_get_normal(self)
3992 def get_projected(self, *args):
3993 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
3994 return _IMP_algebra.Plane3D_get_projected(self, *args)
3997 """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
3998 return _IMP_algebra.Plane3D_get_projection(self, *args)
4000 def get_is_above(self, *args):
4001 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4002 return _IMP_algebra.Plane3D_get_is_above(self, *args)
4004 def get_is_below(self, *args):
4005 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4006 return _IMP_algebra.Plane3D_get_is_below(self, *args)
4008 def get_height(self, *args):
4009 """get_height(Plane3D self, Vector3D p) -> double"""
4010 return _IMP_algebra.Plane3D_get_height(self, *args)
4012 def show(self, *args):
4014 show(Plane3D self, _ostream out=std::cout)
4017 return _IMP_algebra.Plane3D_show(self, *args)
4019 def get_opposite(self):
4020 """get_opposite(Plane3D self) -> Plane3D"""
4021 return _IMP_algebra.Plane3D_get_opposite(self)
4023 def get_distance_from_origin(self):
4024 """get_distance_from_origin(Plane3D self) -> double"""
4025 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4028 """__str__(Plane3D self) -> std::string"""
4029 return _IMP_algebra.Plane3D___str__(self)
4032 """__repr__(Plane3D self) -> std::string"""
4033 return _IMP_algebra.Plane3D___repr__(self)
4035 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4036 __del__ =
lambda self :
None;
4037 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4038 Plane3D_swigregister(Plane3D)
4042 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4043 return _IMP_algebra.get_reflected(*args)
4046 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4047 return _IMP_algebra.get_plane_3d_geometry(*args)
4048 class Reflection3D(_GeometricPrimitive3D):
4049 """Proxy of C++ IMP::algebra::Reflection3D class"""
4050 __swig_setmethods__ = {}
4051 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4052 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reflection3D, name, value)
4053 __swig_getmethods__ = {}
4054 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4055 __getattr__ =
lambda self, name: _swig_getattr(self, Reflection3D, name)
4056 def __init__(self, *args):
4058 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4059 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4061 this = _IMP_algebra.new_Reflection3D(*args)
4062 try: self.this.append(this)
4063 except: self.this = this
4065 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4066 return _IMP_algebra.Reflection3D_get_reflected(self, *args)
4068 def show(self, *args):
4070 show(Reflection3D self, _ostream out=std::cout)
4071 show(Reflection3D self)
4073 return _IMP_algebra.Reflection3D_show(self, *args)
4076 """__str__(Reflection3D self) -> std::string"""
4077 return _IMP_algebra.Reflection3D___str__(self)
4080 """__repr__(Reflection3D self) -> std::string"""
4081 return _IMP_algebra.Reflection3D___repr__(self)
4083 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4084 __del__ =
lambda self :
None;
4085 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4086 Reflection3D_swigregister(Reflection3D)
4088 class Cylinder3D(_GeometricPrimitive3D):
4089 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4090 __swig_setmethods__ = {}
4091 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4092 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cylinder3D, name, value)
4093 __swig_getmethods__ = {}
4094 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4095 __getattr__ =
lambda self, name: _swig_getattr(self, Cylinder3D, name)
4096 def __init__(self, *args):
4098 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4099 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4101 this = _IMP_algebra.new_Cylinder3D(*args)
4102 try: self.this.append(this)
4103 except: self.this = this
4104 def get_radius(self):
4105 """get_radius(Cylinder3D self) -> double"""
4106 return _IMP_algebra.Cylinder3D_get_radius(self)
4109 """get_segment(Cylinder3D self) -> Segment3D"""
4110 return _IMP_algebra.Cylinder3D_get_segment(self)
4112 def get_surface_point_at(self, *args):
4113 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4114 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4116 def get_inner_point_at(self, *args):
4117 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4118 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4120 def show(self, *args):
4122 show(Cylinder3D self, _ostream out=std::cout)
4123 show(Cylinder3D self)
4125 return _IMP_algebra.Cylinder3D_show(self, *args)
4128 """__str__(Cylinder3D self) -> std::string"""
4129 return _IMP_algebra.Cylinder3D___str__(self)
4132 """__repr__(Cylinder3D self) -> std::string"""
4133 return _IMP_algebra.Cylinder3D___repr__(self)
4135 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4136 __del__ =
lambda self :
None;
4137 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4138 Cylinder3D_swigregister(Cylinder3D)
4142 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4143 return _IMP_algebra.get_cylinder_3d_geometry(*args)
4144 class Ellipsoid3D(_GeometricPrimitive3D):
4145 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4146 __swig_setmethods__ = {}
4147 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4148 __setattr__ =
lambda self, name, value: _swig_setattr(self, Ellipsoid3D, name, value)
4149 __swig_getmethods__ = {}
4150 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4151 __getattr__ =
lambda self, name: _swig_getattr(self, Ellipsoid3D, name)
4152 def __init__(self, *args):
4154 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4155 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
4156 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4158 this = _IMP_algebra.new_Ellipsoid3D(*args)
4159 try: self.this.append(this)
4160 except: self.this = this
4161 def get_radii(self):
4162 """get_radii(Ellipsoid3D self) -> Vector3D"""
4163 return _IMP_algebra.Ellipsoid3D_get_radii(self)
4165 def get_reference_frame(self):
4166 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
4167 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
4169 def get_radius(self, *args):
4170 """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4171 return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4173 def get_center(self):
4174 """get_center(Ellipsoid3D self) -> Vector3D"""
4175 return _IMP_algebra.Ellipsoid3D_get_center(self)
4177 def get_rotation(self):
4178 """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4179 return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4181 def get_transformation(self):
4182 """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4183 return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4185 def show(self, *args):
4187 show(Ellipsoid3D self, _ostream out=std::cout)
4188 show(Ellipsoid3D self)
4190 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4193 """__str__(Ellipsoid3D self) -> std::string"""
4194 return _IMP_algebra.Ellipsoid3D___str__(self)
4197 """__repr__(Ellipsoid3D self) -> std::string"""
4198 return _IMP_algebra.Ellipsoid3D___repr__(self)
4200 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4201 __del__ =
lambda self :
None;
4202 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4203 Ellipsoid3D_swigregister(Ellipsoid3D)
4207 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4208 return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4209 class ConnollySurfacePoint(_object):
4210 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
4211 __swig_setmethods__ = {}
4212 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnollySurfacePoint, name, value)
4213 __swig_getmethods__ = {}
4214 __getattr__ =
lambda self, name: _swig_getattr(self, ConnollySurfacePoint, name)
4215 def __init__(self, *args):
4216 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
4217 this = _IMP_algebra.new_ConnollySurfacePoint(*args)
4218 try: self.this.append(this)
4219 except: self.this = this
4221 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
4222 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, *args)
4224 def get_surface_point(self):
4225 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
4226 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
4229 """get_area(ConnollySurfacePoint self) -> double"""
4230 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
4232 def get_normal(self):
4233 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
4234 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
4236 def show(self, *args):
4238 show(ConnollySurfacePoint self, _ostream out=std::cout)
4239 show(ConnollySurfacePoint self)
4241 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
4244 """__str__(ConnollySurfacePoint self) -> std::string"""
4245 return _IMP_algebra.ConnollySurfacePoint___str__(self)
4248 """__repr__(ConnollySurfacePoint self) -> std::string"""
4249 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
4251 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
4252 __del__ =
lambda self :
None;
4253 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
4254 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
4258 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
4259 return _IMP_algebra.get_connolly_surface(*args)
4260 class LogEmbedding3D(_object):
4261 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
4262 __swig_setmethods__ = {}
4263 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding3D, name, value)
4264 __swig_getmethods__ = {}
4265 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding3D, name)
4266 def __init__(self, *args):
4268 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
4269 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
4270 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
4271 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
4272 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
4274 this = _IMP_algebra.new_LogEmbedding3D(*args)
4275 try: self.this.append(this)
4276 except: self.this = this
4277 def set_origin(self, *args):
4278 """set_origin(LogEmbedding3D self, Vector3D o)"""
4279 return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
4281 def get_origin(self):
4282 """get_origin(LogEmbedding3D self) -> Vector3D"""
4283 return _IMP_algebra.LogEmbedding3D_get_origin(self)
4285 def get_dimension(self):
4286 """get_dimension(LogEmbedding3D self) -> unsigned int"""
4287 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
4289 def set_unit_cell(self, *args):
4291 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
4292 set_unit_cell(LogEmbedding3D self, Vector3D o)
4294 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
4296 def get_unit_cell(self):
4297 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
4298 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
4300 def get_extended_index(self, *args):
4301 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
4302 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
4305 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
4306 return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
4308 def get_center(self, *args):
4310 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
4311 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
4313 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
4317 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
4318 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
4320 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
4322 def show(self, *args):
4324 show(LogEmbedding3D self, _ostream out=std::cout)
4325 show(LogEmbedding3D self)
4327 return _IMP_algebra.LogEmbedding3D_show(self, *args)
4330 """__str__(LogEmbedding3D self) -> std::string"""
4331 return _IMP_algebra.LogEmbedding3D___str__(self)
4334 """__repr__(LogEmbedding3D self) -> std::string"""
4335 return _IMP_algebra.LogEmbedding3D___repr__(self)
4337 def __cmp__(self, *args):
4338 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
4339 return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
4341 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
4342 __del__ =
lambda self :
None;
4343 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
4344 LogEmbedding3D_swigregister(LogEmbedding3D)
4346 class LogEmbeddingKD(_object):
4347 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
4348 __swig_setmethods__ = {}
4349 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbeddingKD, name, value)
4350 __swig_getmethods__ = {}
4351 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbeddingKD, name)
4352 def __init__(self, *args):
4354 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
4355 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
4356 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
4357 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
4358 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
4360 this = _IMP_algebra.new_LogEmbeddingKD(*args)
4361 try: self.this.append(this)
4362 except: self.this = this
4363 def set_origin(self, *args):
4364 """set_origin(LogEmbeddingKD self, VectorKD o)"""
4365 return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
4367 def get_origin(self):
4368 """get_origin(LogEmbeddingKD self) -> VectorKD"""
4369 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
4371 def get_dimension(self):
4372 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
4373 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
4375 def set_unit_cell(self, *args):
4377 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
4378 set_unit_cell(LogEmbeddingKD self, VectorKD o)
4380 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
4382 def get_unit_cell(self):
4383 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
4384 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
4386 def get_extended_index(self, *args):
4387 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
4388 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
4391 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
4392 return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
4394 def get_center(self, *args):
4396 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
4397 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
4399 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
4403 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
4404 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
4406 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
4408 def show(self, *args):
4410 show(LogEmbeddingKD self, _ostream out=std::cout)
4411 show(LogEmbeddingKD self)
4413 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
4416 """__str__(LogEmbeddingKD self) -> std::string"""
4417 return _IMP_algebra.LogEmbeddingKD___str__(self)
4420 """__repr__(LogEmbeddingKD self) -> std::string"""
4421 return _IMP_algebra.LogEmbeddingKD___repr__(self)
4423 def __cmp__(self, *args):
4424 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
4425 return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
4427 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
4428 __del__ =
lambda self :
None;
4429 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
4430 LogEmbeddingKD_swigregister(LogEmbeddingKD)
4432 class DenseFloatLogGridKD(_object):
4433 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
4434 __swig_setmethods__ = {}
4435 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatLogGridKD, name, value)
4436 __swig_getmethods__ = {}
4437 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatLogGridKD, name)
4438 def __init__(self, *args):
4439 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
4440 this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
4441 try: self.this.append(this)
4442 except: self.this = this
4443 def add_voxel(self, *args):
4444 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
4445 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
4447 def __getitem__(self, *args):
4449 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
4450 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
4452 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
4454 def __setitem__(self, *args):
4456 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
4457 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
4459 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
4463 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
4464 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
4466 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
4470 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4471 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4473 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
4475 def get_all_indexes(self):
4476 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
4477 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
4479 def get_extended_indexes(self, *args):
4481 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4482 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4484 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
4486 def get_center(self, *args):
4488 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
4489 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
4491 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
4493 def get_extended_index(self, *args):
4494 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
4495 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
4498 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
4499 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
4501 def get_origin(self):
4502 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
4503 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
4505 def get_dimension(self):
4506 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
4507 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
4509 def get_unit_cell(self):
4510 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
4511 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
4513 def get_has_index(self, *args):
4514 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
4515 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
4518 """__str__(DenseFloatLogGridKD self) -> std::string"""
4519 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
4522 """__repr__(DenseFloatLogGridKD self) -> std::string"""
4523 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
4525 def show(self, *args):
4527 show(DenseFloatLogGridKD self, _ostream out=std::cout)
4528 show(DenseFloatLogGridKD self)
4530 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
4532 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
4533 __del__ =
lambda self :
None;
4534 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
4535 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
4537 class DenseIntLogGrid3D(_object):
4538 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
4539 __swig_setmethods__ = {}
4540 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseIntLogGrid3D, name, value)
4541 __swig_getmethods__ = {}
4542 __getattr__ =
lambda self, name: _swig_getattr(self, DenseIntLogGrid3D, name)
4543 def __init__(self, *args):
4544 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
4545 this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
4546 try: self.this.append(this)
4547 except: self.this = this
4548 def add_voxel(self, *args):
4549 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
4550 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
4552 def __getitem__(self, *args):
4554 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
4555 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
4557 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
4559 def __setitem__(self, *args):
4561 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
4562 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
4564 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
4568 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4569 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
4571 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
4575 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4576 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4578 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
4580 def get_all_indexes(self):
4581 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4582 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
4584 def get_extended_indexes(self, *args):
4586 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4587 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4589 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
4591 def get_center(self, *args):
4593 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4594 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
4596 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
4598 def get_extended_index(self, *args):
4599 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4600 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
4603 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4604 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
4606 def get_origin(self):
4607 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
4608 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
4610 def get_dimension(self):
4611 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
4612 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
4614 def get_unit_cell(self):
4615 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
4616 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
4618 def get_has_index(self, *args):
4619 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
4620 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
4623 """__str__(DenseIntLogGrid3D self) -> std::string"""
4624 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
4627 """__repr__(DenseIntLogGrid3D self) -> std::string"""
4628 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
4630 def show(self, *args):
4632 show(DenseIntLogGrid3D self, _ostream out=std::cout)
4633 show(DenseIntLogGrid3D self)
4635 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
4637 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
4638 __del__ =
lambda self :
None;
4639 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
4640 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
4643 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
4644 __swig_setmethods__ = {}
4645 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseDoubleGrid3D, name, value)
4646 __swig_getmethods__ = {}
4647 __getattr__ =
lambda self, name: _swig_getattr(self, DenseDoubleGrid3D, name)
4648 def __init__(self, *args):
4650 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double _def=double()) -> DenseDoubleGrid3D
4651 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
4652 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
4654 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
4655 try: self.this.append(this)
4656 except: self.this = this
4657 def add_voxel(self, *args):
4658 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
4659 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
4661 def __getitem__(self, *args):
4663 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
4664 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
4666 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
4668 def __setitem__(self, *args):
4670 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
4671 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
4673 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
4677 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4678 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
4680 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
4684 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4685 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4687 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
4689 def get_all_indexes(self):
4690 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4691 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
4693 def get_extended_indexes(self, *args):
4695 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4696 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4698 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
4700 def get_center(self, *args):
4702 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4703 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
4705 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
4707 def get_extended_index(self, *args):
4708 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4709 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
4712 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4713 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
4715 def get_origin(self):
4716 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
4717 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
4719 def get_dimension(self):
4720 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
4721 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
4723 def get_unit_cell(self):
4724 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
4725 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
4727 def get_has_index(self, *args):
4728 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
4729 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
4732 """__str__(DenseDoubleGrid3D self) -> std::string"""
4733 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
4736 """__repr__(DenseDoubleGrid3D self) -> std::string"""
4737 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
4739 def show(self, *args):
4741 show(DenseDoubleGrid3D self, _ostream out=std::cout)
4742 show(DenseDoubleGrid3D self)
4744 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
4746 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
4747 __del__ =
lambda self :
None;
4748 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
4749 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
4752 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
4753 __swig_setmethods__ = {}
4754 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatGrid3D, name, value)
4755 __swig_getmethods__ = {}
4756 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatGrid3D, name)
4757 def __init__(self, *args):
4759 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float _def=float()) -> DenseFloatGrid3D
4760 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
4761 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
4763 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
4764 try: self.this.append(this)
4765 except: self.this = this
4766 def add_voxel(self, *args):
4767 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
4768 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
4770 def __getitem__(self, *args):
4772 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
4773 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
4775 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
4777 def __setitem__(self, *args):
4779 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
4780 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
4782 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
4786 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4787 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
4789 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
4793 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4794 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4796 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
4798 def get_all_indexes(self):
4799 """get_all_indexes(DenseFloatGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4800 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
4802 def get_extended_indexes(self, *args):
4804 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4805 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4807 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
4809 def get_center(self, *args):
4811 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4812 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
4814 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
4816 def get_extended_index(self, *args):
4817 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4818 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
4821 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4822 return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
4824 def get_origin(self):
4825 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
4826 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
4828 def get_dimension(self):
4829 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
4830 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
4832 def get_unit_cell(self):
4833 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
4834 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
4836 def get_has_index(self, *args):
4837 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
4838 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
4841 """__str__(DenseFloatGrid3D self) -> std::string"""
4842 return _IMP_algebra.DenseFloatGrid3D___str__(self)
4845 """__repr__(DenseFloatGrid3D self) -> std::string"""
4846 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
4848 def show(self, *args):
4850 show(DenseFloatGrid3D self, _ostream out=std::cout)
4851 show(DenseFloatGrid3D self)
4853 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
4855 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
4856 __del__ =
lambda self :
None;
4857 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
4858 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
4861 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
4862 __swig_setmethods__ = {}
4863 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGrid3D, name, value)
4864 __swig_getmethods__ = {}
4865 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGrid3D, name)
4866 def __init__(self, *args):
4868 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int _def=int()) -> SparseUnboundedIntGrid3D
4869 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
4870 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
4872 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
4873 try: self.this.append(this)
4874 except: self.this = this
4875 def add_voxel(self, *args):
4876 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
4877 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
4879 def __getitem__(self, *args):
4881 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
4882 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
4884 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
4886 def __setitem__(self, *args):
4888 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
4889 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
4891 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
4895 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4896 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
4898 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
4902 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4903 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4905 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
4907 def get_all_indexes(self):
4908 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4909 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
4911 def get_extended_indexes(self, *args):
4913 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4914 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4916 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
4918 def get_center(self, *args):
4920 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4921 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
4923 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
4925 def get_extended_index(self, *args):
4926 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4927 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
4930 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4931 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
4933 def get_origin(self):
4934 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
4935 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
4937 def get_dimension(self):
4938 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
4939 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
4941 def get_unit_cell(self):
4942 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
4943 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
4945 def get_has_index(self, *args):
4946 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
4947 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
4950 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
4951 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
4954 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
4955 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
4957 def show(self, *args):
4959 show(SparseUnboundedIntGrid3D self, _ostream out=std::cout)
4960 show(SparseUnboundedIntGrid3D self)
4962 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
4964 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
4965 __del__ =
lambda self :
None;
4966 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
4967 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
4969 class SparseUnboundedIntGridKD(_object):
4970 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
4971 __swig_setmethods__ = {}
4972 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGridKD, name, value)
4973 __swig_getmethods__ = {}
4974 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGridKD, name)
4975 def __init__(self, *args):
4977 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int _def=int()) -> SparseUnboundedIntGridKD
4978 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
4979 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
4981 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
4982 try: self.this.append(this)
4983 except: self.this = this
4984 def add_voxel(self, *args):
4985 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
4986 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
4988 def __getitem__(self, *args):
4990 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
4991 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
4993 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
4995 def __setitem__(self, *args):
4997 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
4998 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
5000 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
5004 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5005 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
5007 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
5011 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
5012 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
5014 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
5016 def get_all_indexes(self):
5017 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
5018 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
5020 def get_extended_indexes(self, *args):
5022 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5023 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5025 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
5027 def get_center(self, *args):
5029 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5030 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
5032 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
5034 def get_extended_index(self, *args):
5035 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5036 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
5039 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5040 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
5042 def get_origin(self):
5043 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
5044 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
5046 def get_dimension(self):
5047 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
5048 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
5050 def get_unit_cell(self):
5051 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
5052 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
5054 def get_has_index(self, *args):
5055 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
5056 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
5059 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
5060 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
5063 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
5064 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
5066 def show(self, *args):
5068 show(SparseUnboundedIntGridKD self, _ostream out=std::cout)
5069 show(SparseUnboundedIntGridKD self)
5071 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
5073 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
5074 __del__ =
lambda self :
None;
5075 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
5076 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
5078 class GridIndex1D(IMP.base._Value):
5079 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
5080 __swig_setmethods__ = {}
5081 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5082 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex1D, name, value)
5083 __swig_getmethods__ = {}
5084 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5085 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex1D, name)
5086 def __init__(self, *args):
5088 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
5089 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
5090 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
5091 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
5092 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
5093 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
5094 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
5096 this = _IMP_algebra.new_GridIndex1D(*args)
5097 try: self.this.append(this)
5098 except: self.this = this
5099 def get_dimension(self):
5100 """get_dimension(GridIndex1D self) -> unsigned int"""
5101 return _IMP_algebra.GridIndex1D_get_dimension(self)
5103 def __getitem__(self, *args):
5104 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
5105 return _IMP_algebra.GridIndex1D___getitem__(self, *args)
5107 def show(self, *args):
5109 show(GridIndex1D self, _ostream out=std::cout)
5110 show(GridIndex1D self)
5112 return _IMP_algebra.GridIndex1D_show(self, *args)
5115 """__len__(GridIndex1D self) -> unsigned int"""
5116 return _IMP_algebra.GridIndex1D___len__(self)
5118 def __eq__(self, *args):
5119 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
5120 return _IMP_algebra.GridIndex1D___eq__(self, *args)
5122 def __ne__(self, *args):
5123 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
5124 return _IMP_algebra.GridIndex1D___ne__(self, *args)
5126 def __lt__(self, *args):
5127 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
5128 return _IMP_algebra.GridIndex1D___lt__(self, *args)
5130 def __gt__(self, *args):
5131 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
5132 return _IMP_algebra.GridIndex1D___gt__(self, *args)
5134 def __ge__(self, *args):
5135 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
5136 return _IMP_algebra.GridIndex1D___ge__(self, *args)
5138 def __le__(self, *args):
5139 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
5140 return _IMP_algebra.GridIndex1D___le__(self, *args)
5143 """__hash__(GridIndex1D self) -> std::size_t"""
5144 return _IMP_algebra.GridIndex1D___hash__(self)
5147 """__str__(GridIndex1D self) -> std::string"""
5148 return _IMP_algebra.GridIndex1D___str__(self)
5151 """__repr__(GridIndex1D self) -> std::string"""
5152 return _IMP_algebra.GridIndex1D___repr__(self)
5154 def __cmp__(self, *args):
5155 """__cmp__(GridIndex1D self, GridIndex1D arg2) -> int"""
5156 return _IMP_algebra.GridIndex1D___cmp__(self, *args)
5158 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
5159 __del__ =
lambda self :
None;
5160 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
5161 GridIndex1D_swigregister(GridIndex1D)
5163 class GridIndex2D(IMP.base._Value):
5164 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
5165 __swig_setmethods__ = {}
5166 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5167 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex2D, name, value)
5168 __swig_getmethods__ = {}
5169 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5170 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex2D, name)
5171 def __init__(self, *args):
5173 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
5174 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
5175 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
5176 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
5177 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
5178 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
5179 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
5181 this = _IMP_algebra.new_GridIndex2D(*args)
5182 try: self.this.append(this)
5183 except: self.this = this
5184 def get_dimension(self):
5185 """get_dimension(GridIndex2D self) -> unsigned int"""
5186 return _IMP_algebra.GridIndex2D_get_dimension(self)
5188 def __getitem__(self, *args):
5189 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
5190 return _IMP_algebra.GridIndex2D___getitem__(self, *args)
5192 def show(self, *args):
5194 show(GridIndex2D self, _ostream out=std::cout)
5195 show(GridIndex2D self)
5197 return _IMP_algebra.GridIndex2D_show(self, *args)
5200 """__len__(GridIndex2D self) -> unsigned int"""
5201 return _IMP_algebra.GridIndex2D___len__(self)
5203 def __eq__(self, *args):
5204 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
5205 return _IMP_algebra.GridIndex2D___eq__(self, *args)
5207 def __ne__(self, *args):
5208 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
5209 return _IMP_algebra.GridIndex2D___ne__(self, *args)
5211 def __lt__(self, *args):
5212 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
5213 return _IMP_algebra.GridIndex2D___lt__(self, *args)
5215 def __gt__(self, *args):
5216 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
5217 return _IMP_algebra.GridIndex2D___gt__(self, *args)
5219 def __ge__(self, *args):
5220 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
5221 return _IMP_algebra.GridIndex2D___ge__(self, *args)
5223 def __le__(self, *args):
5224 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
5225 return _IMP_algebra.GridIndex2D___le__(self, *args)
5228 """__hash__(GridIndex2D self) -> std::size_t"""
5229 return _IMP_algebra.GridIndex2D___hash__(self)
5232 """__str__(GridIndex2D self) -> std::string"""
5233 return _IMP_algebra.GridIndex2D___str__(self)
5236 """__repr__(GridIndex2D self) -> std::string"""
5237 return _IMP_algebra.GridIndex2D___repr__(self)
5239 def __cmp__(self, *args):
5240 """__cmp__(GridIndex2D self, GridIndex2D arg2) -> int"""
5241 return _IMP_algebra.GridIndex2D___cmp__(self, *args)
5243 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
5244 __del__ =
lambda self :
None;
5245 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
5246 GridIndex2D_swigregister(GridIndex2D)
5248 class GridIndex3D(IMP.base._Value):
5249 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
5250 __swig_setmethods__ = {}
5251 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5252 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex3D, name, value)
5253 __swig_getmethods__ = {}
5254 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5255 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex3D, name)
5256 def __init__(self, *args):
5258 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
5259 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
5260 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
5261 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
5262 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
5263 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
5264 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
5266 this = _IMP_algebra.new_GridIndex3D(*args)
5267 try: self.this.append(this)
5268 except: self.this = this
5269 def get_dimension(self):
5270 """get_dimension(GridIndex3D self) -> unsigned int"""
5271 return _IMP_algebra.GridIndex3D_get_dimension(self)
5273 def __getitem__(self, *args):
5274 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
5275 return _IMP_algebra.GridIndex3D___getitem__(self, *args)
5277 def show(self, *args):
5279 show(GridIndex3D self, _ostream out=std::cout)
5280 show(GridIndex3D self)
5282 return _IMP_algebra.GridIndex3D_show(self, *args)
5285 """__len__(GridIndex3D self) -> unsigned int"""
5286 return _IMP_algebra.GridIndex3D___len__(self)
5288 def __eq__(self, *args):
5289 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
5290 return _IMP_algebra.GridIndex3D___eq__(self, *args)
5292 def __ne__(self, *args):
5293 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
5294 return _IMP_algebra.GridIndex3D___ne__(self, *args)
5296 def __lt__(self, *args):
5297 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
5298 return _IMP_algebra.GridIndex3D___lt__(self, *args)
5300 def __gt__(self, *args):
5301 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
5302 return _IMP_algebra.GridIndex3D___gt__(self, *args)
5304 def __ge__(self, *args):
5305 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
5306 return _IMP_algebra.GridIndex3D___ge__(self, *args)
5308 def __le__(self, *args):
5309 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
5310 return _IMP_algebra.GridIndex3D___le__(self, *args)
5313 """__hash__(GridIndex3D self) -> std::size_t"""
5314 return _IMP_algebra.GridIndex3D___hash__(self)
5317 """__str__(GridIndex3D self) -> std::string"""
5318 return _IMP_algebra.GridIndex3D___str__(self)
5321 """__repr__(GridIndex3D self) -> std::string"""
5322 return _IMP_algebra.GridIndex3D___repr__(self)
5324 def __cmp__(self, *args):
5325 """__cmp__(GridIndex3D self, GridIndex3D arg2) -> int"""
5326 return _IMP_algebra.GridIndex3D___cmp__(self, *args)
5328 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
5329 __del__ =
lambda self :
None;
5330 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
5331 GridIndex3D_swigregister(GridIndex3D)
5333 class GridIndex4D(IMP.base._Value):
5334 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
5335 __swig_setmethods__ = {}
5336 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5337 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex4D, name, value)
5338 __swig_getmethods__ = {}
5339 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5340 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex4D, name)
5341 def __init__(self, *args):
5343 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
5344 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
5345 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
5346 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
5347 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
5348 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
5349 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
5351 this = _IMP_algebra.new_GridIndex4D(*args)
5352 try: self.this.append(this)
5353 except: self.this = this
5354 def get_dimension(self):
5355 """get_dimension(GridIndex4D self) -> unsigned int"""
5356 return _IMP_algebra.GridIndex4D_get_dimension(self)
5358 def __getitem__(self, *args):
5359 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
5360 return _IMP_algebra.GridIndex4D___getitem__(self, *args)
5362 def show(self, *args):
5364 show(GridIndex4D self, _ostream out=std::cout)
5365 show(GridIndex4D self)
5367 return _IMP_algebra.GridIndex4D_show(self, *args)
5370 """__len__(GridIndex4D self) -> unsigned int"""
5371 return _IMP_algebra.GridIndex4D___len__(self)
5373 def __eq__(self, *args):
5374 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
5375 return _IMP_algebra.GridIndex4D___eq__(self, *args)
5377 def __ne__(self, *args):
5378 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
5379 return _IMP_algebra.GridIndex4D___ne__(self, *args)
5381 def __lt__(self, *args):
5382 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
5383 return _IMP_algebra.GridIndex4D___lt__(self, *args)
5385 def __gt__(self, *args):
5386 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
5387 return _IMP_algebra.GridIndex4D___gt__(self, *args)
5389 def __ge__(self, *args):
5390 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
5391 return _IMP_algebra.GridIndex4D___ge__(self, *args)
5393 def __le__(self, *args):
5394 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
5395 return _IMP_algebra.GridIndex4D___le__(self, *args)
5398 """__hash__(GridIndex4D self) -> std::size_t"""
5399 return _IMP_algebra.GridIndex4D___hash__(self)
5402 """__str__(GridIndex4D self) -> std::string"""
5403 return _IMP_algebra.GridIndex4D___str__(self)
5406 """__repr__(GridIndex4D self) -> std::string"""
5407 return _IMP_algebra.GridIndex4D___repr__(self)
5409 def __cmp__(self, *args):
5410 """__cmp__(GridIndex4D self, GridIndex4D arg2) -> int"""
5411 return _IMP_algebra.GridIndex4D___cmp__(self, *args)
5413 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
5414 __del__ =
lambda self :
None;
5415 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
5416 GridIndex4D_swigregister(GridIndex4D)
5418 class GridIndex5D(IMP.base._Value):
5419 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
5420 __swig_setmethods__ = {}
5421 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5422 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex5D, name, value)
5423 __swig_getmethods__ = {}
5424 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5425 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex5D, name)
5426 def __init__(self, *args):
5428 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
5429 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
5430 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
5431 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
5432 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
5433 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
5434 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
5436 this = _IMP_algebra.new_GridIndex5D(*args)
5437 try: self.this.append(this)
5438 except: self.this = this
5439 def get_dimension(self):
5440 """get_dimension(GridIndex5D self) -> unsigned int"""
5441 return _IMP_algebra.GridIndex5D_get_dimension(self)
5443 def __getitem__(self, *args):
5444 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
5445 return _IMP_algebra.GridIndex5D___getitem__(self, *args)
5447 def show(self, *args):
5449 show(GridIndex5D self, _ostream out=std::cout)
5450 show(GridIndex5D self)
5452 return _IMP_algebra.GridIndex5D_show(self, *args)
5455 """__len__(GridIndex5D self) -> unsigned int"""
5456 return _IMP_algebra.GridIndex5D___len__(self)
5458 def __eq__(self, *args):
5459 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
5460 return _IMP_algebra.GridIndex5D___eq__(self, *args)
5462 def __ne__(self, *args):
5463 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
5464 return _IMP_algebra.GridIndex5D___ne__(self, *args)
5466 def __lt__(self, *args):
5467 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
5468 return _IMP_algebra.GridIndex5D___lt__(self, *args)
5470 def __gt__(self, *args):
5471 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
5472 return _IMP_algebra.GridIndex5D___gt__(self, *args)
5474 def __ge__(self, *args):
5475 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
5476 return _IMP_algebra.GridIndex5D___ge__(self, *args)
5478 def __le__(self, *args):
5479 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
5480 return _IMP_algebra.GridIndex5D___le__(self, *args)
5483 """__hash__(GridIndex5D self) -> std::size_t"""
5484 return _IMP_algebra.GridIndex5D___hash__(self)
5487 """__str__(GridIndex5D self) -> std::string"""
5488 return _IMP_algebra.GridIndex5D___str__(self)
5491 """__repr__(GridIndex5D self) -> std::string"""
5492 return _IMP_algebra.GridIndex5D___repr__(self)
5494 def __cmp__(self, *args):
5495 """__cmp__(GridIndex5D self, GridIndex5D arg2) -> int"""
5496 return _IMP_algebra.GridIndex5D___cmp__(self, *args)
5498 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
5499 __del__ =
lambda self :
None;
5500 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
5501 GridIndex5D_swigregister(GridIndex5D)
5503 class GridIndex6D(IMP.base._Value):
5504 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
5505 __swig_setmethods__ = {}
5506 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5507 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex6D, name, value)
5508 __swig_getmethods__ = {}
5509 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5510 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex6D, name)
5511 def __init__(self, *args):
5513 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
5514 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
5515 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
5516 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
5517 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
5518 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
5519 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
5521 this = _IMP_algebra.new_GridIndex6D(*args)
5522 try: self.this.append(this)
5523 except: self.this = this
5524 def get_dimension(self):
5525 """get_dimension(GridIndex6D self) -> unsigned int"""
5526 return _IMP_algebra.GridIndex6D_get_dimension(self)
5528 def __getitem__(self, *args):
5529 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
5530 return _IMP_algebra.GridIndex6D___getitem__(self, *args)
5532 def show(self, *args):
5534 show(GridIndex6D self, _ostream out=std::cout)
5535 show(GridIndex6D self)
5537 return _IMP_algebra.GridIndex6D_show(self, *args)
5540 """__len__(GridIndex6D self) -> unsigned int"""
5541 return _IMP_algebra.GridIndex6D___len__(self)
5543 def __eq__(self, *args):
5544 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
5545 return _IMP_algebra.GridIndex6D___eq__(self, *args)
5547 def __ne__(self, *args):
5548 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
5549 return _IMP_algebra.GridIndex6D___ne__(self, *args)
5551 def __lt__(self, *args):
5552 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
5553 return _IMP_algebra.GridIndex6D___lt__(self, *args)
5555 def __gt__(self, *args):
5556 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
5557 return _IMP_algebra.GridIndex6D___gt__(self, *args)
5559 def __ge__(self, *args):
5560 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
5561 return _IMP_algebra.GridIndex6D___ge__(self, *args)
5563 def __le__(self, *args):
5564 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
5565 return _IMP_algebra.GridIndex6D___le__(self, *args)
5568 """__hash__(GridIndex6D self) -> std::size_t"""
5569 return _IMP_algebra.GridIndex6D___hash__(self)
5572 """__str__(GridIndex6D self) -> std::string"""
5573 return _IMP_algebra.GridIndex6D___str__(self)
5576 """__repr__(GridIndex6D self) -> std::string"""
5577 return _IMP_algebra.GridIndex6D___repr__(self)
5579 def __cmp__(self, *args):
5580 """__cmp__(GridIndex6D self, GridIndex6D arg2) -> int"""
5581 return _IMP_algebra.GridIndex6D___cmp__(self, *args)
5583 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
5584 __del__ =
lambda self :
None;
5585 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
5586 GridIndex6D_swigregister(GridIndex6D)
5588 class GridIndexKD(IMP.base._Value):
5589 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
5590 __swig_setmethods__ = {}
5591 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5592 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndexKD, name, value)
5593 __swig_getmethods__ = {}
5594 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5595 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndexKD, name)
5596 def __init__(self, *args):
5598 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
5599 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
5600 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
5601 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
5602 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
5603 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
5604 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
5606 this = _IMP_algebra.new_GridIndexKD(*args)
5607 try: self.this.append(this)
5608 except: self.this = this
5609 def get_dimension(self):
5610 """get_dimension(GridIndexKD self) -> unsigned int"""
5611 return _IMP_algebra.GridIndexKD_get_dimension(self)
5613 def __getitem__(self, *args):
5614 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
5615 return _IMP_algebra.GridIndexKD___getitem__(self, *args)
5617 def show(self, *args):
5619 show(GridIndexKD self, _ostream out=std::cout)
5620 show(GridIndexKD self)
5622 return _IMP_algebra.GridIndexKD_show(self, *args)
5625 """__len__(GridIndexKD self) -> unsigned int"""
5626 return _IMP_algebra.GridIndexKD___len__(self)
5628 def __eq__(self, *args):
5629 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
5630 return _IMP_algebra.GridIndexKD___eq__(self, *args)
5632 def __ne__(self, *args):
5633 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
5634 return _IMP_algebra.GridIndexKD___ne__(self, *args)
5636 def __lt__(self, *args):
5637 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
5638 return _IMP_algebra.GridIndexKD___lt__(self, *args)
5640 def __gt__(self, *args):
5641 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
5642 return _IMP_algebra.GridIndexKD___gt__(self, *args)
5644 def __ge__(self, *args):
5645 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
5646 return _IMP_algebra.GridIndexKD___ge__(self, *args)
5648 def __le__(self, *args):
5649 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
5650 return _IMP_algebra.GridIndexKD___le__(self, *args)
5653 """__hash__(GridIndexKD self) -> std::size_t"""
5654 return _IMP_algebra.GridIndexKD___hash__(self)
5657 """__str__(GridIndexKD self) -> std::string"""
5658 return _IMP_algebra.GridIndexKD___str__(self)
5661 """__repr__(GridIndexKD self) -> std::string"""
5662 return _IMP_algebra.GridIndexKD___repr__(self)
5664 def __cmp__(self, *args):
5665 """__cmp__(GridIndexKD self, GridIndexKD arg2) -> int"""
5666 return _IMP_algebra.GridIndexKD___cmp__(self, *args)
5668 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
5669 __del__ =
lambda self :
None;
5670 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
5671 GridIndexKD_swigregister(GridIndexKD)
5673 class ExtendedGridIndex1D(IMP.base._Value):
5674 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
5675 __swig_setmethods__ = {}
5676 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5677 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex1D, name, value)
5678 __swig_getmethods__ = {}
5679 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5680 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex1D, name)
5681 def __init__(self, *args):
5683 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
5684 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
5685 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
5686 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
5687 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
5688 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
5689 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
5690 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
5692 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
5693 try: self.this.append(this)
5694 except: self.this = this
5695 def get_dimension(self):
5696 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
5697 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
5699 def __eq__(self, *args):
5700 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5701 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
5703 def __ne__(self, *args):
5704 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5705 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
5707 def __lt__(self, *args):
5708 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5709 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
5711 def __gt__(self, *args):
5712 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5713 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
5715 def __ge__(self, *args):
5716 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5717 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
5719 def __le__(self, *args):
5720 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5721 return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
5723 def __setitem__(self, *args):
5724 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
5725 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
5727 def __getitem__(self, *args):
5728 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
5729 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
5731 def show(self, *args):
5733 show(ExtendedGridIndex1D self, _ostream out=std::cout)
5734 show(ExtendedGridIndex1D self)
5736 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
5739 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
5740 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
5743 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
5744 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
5746 def get_uniform_offset(self, *args):
5747 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
5748 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
5750 def get_offset(self, *args):
5751 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
5752 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
5755 """__str__(ExtendedGridIndex1D self) -> std::string"""
5756 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
5759 """__repr__(ExtendedGridIndex1D self) -> std::string"""
5760 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
5762 def __cmp__(self, *args):
5763 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D arg2) -> int"""
5764 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
5766 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
5767 __del__ =
lambda self :
None;
5768 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
5769 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
5771 class ExtendedGridIndex2D(IMP.base._Value):
5772 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
5773 __swig_setmethods__ = {}
5774 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5775 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex2D, name, value)
5776 __swig_getmethods__ = {}
5777 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5778 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex2D, name)
5779 def __init__(self, *args):
5781 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
5782 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
5783 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
5784 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
5785 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
5786 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
5787 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
5788 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
5790 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
5791 try: self.this.append(this)
5792 except: self.this = this
5793 def get_dimension(self):
5794 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
5795 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
5797 def __eq__(self, *args):
5798 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5799 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
5801 def __ne__(self, *args):
5802 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5803 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
5805 def __lt__(self, *args):
5806 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5807 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
5809 def __gt__(self, *args):
5810 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5811 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
5813 def __ge__(self, *args):
5814 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5815 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
5817 def __le__(self, *args):
5818 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5819 return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
5821 def __setitem__(self, *args):
5822 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
5823 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
5825 def __getitem__(self, *args):
5826 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
5827 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
5829 def show(self, *args):
5831 show(ExtendedGridIndex2D self, _ostream out=std::cout)
5832 show(ExtendedGridIndex2D self)
5834 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
5837 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
5838 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
5841 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
5842 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
5844 def get_uniform_offset(self, *args):
5845 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
5846 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
5848 def get_offset(self, *args):
5849 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
5850 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
5853 """__str__(ExtendedGridIndex2D self) -> std::string"""
5854 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
5857 """__repr__(ExtendedGridIndex2D self) -> std::string"""
5858 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
5860 def __cmp__(self, *args):
5861 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D arg2) -> int"""
5862 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
5864 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
5865 __del__ =
lambda self :
None;
5866 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
5867 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
5869 class ExtendedGridIndex3D(IMP.base._Value):
5870 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
5871 __swig_setmethods__ = {}
5872 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5873 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex3D, name, value)
5874 __swig_getmethods__ = {}
5875 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5876 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex3D, name)
5877 def __init__(self, *args):
5879 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
5880 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
5881 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
5882 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
5883 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
5884 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
5885 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
5886 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
5888 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
5889 try: self.this.append(this)
5890 except: self.this = this
5891 def get_dimension(self):
5892 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
5893 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
5895 def __eq__(self, *args):
5896 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5897 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
5899 def __ne__(self, *args):
5900 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5901 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
5903 def __lt__(self, *args):
5904 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5905 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
5907 def __gt__(self, *args):
5908 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5909 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
5911 def __ge__(self, *args):
5912 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5913 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
5915 def __le__(self, *args):
5916 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5917 return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
5919 def __setitem__(self, *args):
5920 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
5921 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
5923 def __getitem__(self, *args):
5924 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
5925 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
5927 def show(self, *args):
5929 show(ExtendedGridIndex3D self, _ostream out=std::cout)
5930 show(ExtendedGridIndex3D self)
5932 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
5935 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
5936 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
5939 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
5940 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
5942 def get_uniform_offset(self, *args):
5943 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5944 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5946 def get_offset(self, *args):
5947 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5948 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5951 """__str__(ExtendedGridIndex3D self) -> std::string"""
5952 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5955 """__repr__(ExtendedGridIndex3D self) -> std::string"""
5956 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5958 def __cmp__(self, *args):
5959 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D arg2) -> int"""
5960 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5962 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5963 __del__ =
lambda self :
None;
5964 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5965 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5967 class ExtendedGridIndex4D(IMP.base._Value):
5968 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5969 __swig_setmethods__ = {}
5970 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5971 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex4D, name, value)
5972 __swig_getmethods__ = {}
5973 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5974 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex4D, name)
5975 def __init__(self, *args):
5977 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5978 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
5979 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
5980 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5981 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
5982 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
5983 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
5984 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5986 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5987 try: self.this.append(this)
5988 except: self.this = this
5989 def get_dimension(self):
5990 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
5991 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
5993 def __eq__(self, *args):
5994 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5995 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
5997 def __ne__(self, *args):
5998 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5999 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
6001 def __lt__(self, *args):
6002 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6003 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
6005 def __gt__(self, *args):
6006 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6007 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
6009 def __ge__(self, *args):
6010 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6011 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
6013 def __le__(self, *args):
6014 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6015 return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
6017 def __setitem__(self, *args):
6018 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
6019 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
6021 def __getitem__(self, *args):
6022 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
6023 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
6025 def show(self, *args):
6027 show(ExtendedGridIndex4D self, _ostream out=std::cout)
6028 show(ExtendedGridIndex4D self)
6030 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
6033 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
6034 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
6037 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
6038 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
6040 def get_uniform_offset(self, *args):
6041 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
6042 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
6044 def get_offset(self, *args):
6045 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
6046 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
6049 """__str__(ExtendedGridIndex4D self) -> std::string"""
6050 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
6053 """__repr__(ExtendedGridIndex4D self) -> std::string"""
6054 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
6056 def __cmp__(self, *args):
6057 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D arg2) -> int"""
6058 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
6060 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
6061 __del__ =
lambda self :
None;
6062 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
6063 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
6065 class ExtendedGridIndex5D(IMP.base._Value):
6066 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
6067 __swig_setmethods__ = {}
6068 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6069 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex5D, name, value)
6070 __swig_getmethods__ = {}
6071 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6072 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex5D, name)
6073 def __init__(self, *args):
6075 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
6076 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
6077 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
6078 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
6079 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
6080 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
6081 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
6082 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
6084 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
6085 try: self.this.append(this)
6086 except: self.this = this
6087 def get_dimension(self):
6088 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
6089 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
6091 def __eq__(self, *args):
6092 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6093 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
6095 def __ne__(self, *args):
6096 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6097 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
6099 def __lt__(self, *args):
6100 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6101 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
6103 def __gt__(self, *args):
6104 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6105 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
6107 def __ge__(self, *args):
6108 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6109 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
6111 def __le__(self, *args):
6112 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6113 return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
6115 def __setitem__(self, *args):
6116 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
6117 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
6119 def __getitem__(self, *args):
6120 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
6121 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
6123 def show(self, *args):
6125 show(ExtendedGridIndex5D self, _ostream out=std::cout)
6126 show(ExtendedGridIndex5D self)
6128 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
6131 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
6132 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
6135 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
6136 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
6138 def get_uniform_offset(self, *args):
6139 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
6140 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
6142 def get_offset(self, *args):
6143 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
6144 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
6147 """__str__(ExtendedGridIndex5D self) -> std::string"""
6148 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
6151 """__repr__(ExtendedGridIndex5D self) -> std::string"""
6152 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
6154 def __cmp__(self, *args):
6155 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D arg2) -> int"""
6156 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
6158 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
6159 __del__ =
lambda self :
None;
6160 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
6161 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
6163 class ExtendedGridIndex6D(IMP.base._Value):
6164 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
6165 __swig_setmethods__ = {}
6166 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6167 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex6D, name, value)
6168 __swig_getmethods__ = {}
6169 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6170 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex6D, name)
6171 def __init__(self, *args):
6173 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
6174 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
6175 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
6176 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
6177 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
6178 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
6179 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
6180 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
6182 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
6183 try: self.this.append(this)
6184 except: self.this = this
6185 def get_dimension(self):
6186 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
6187 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
6189 def __eq__(self, *args):
6190 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6191 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
6193 def __ne__(self, *args):
6194 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6195 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
6197 def __lt__(self, *args):
6198 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6199 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
6201 def __gt__(self, *args):
6202 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6203 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
6205 def __ge__(self, *args):
6206 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6207 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
6209 def __le__(self, *args):
6210 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6211 return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
6213 def __setitem__(self, *args):
6214 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
6215 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
6217 def __getitem__(self, *args):
6218 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
6219 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
6221 def show(self, *args):
6223 show(ExtendedGridIndex6D self, _ostream out=std::cout)
6224 show(ExtendedGridIndex6D self)
6226 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
6229 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
6230 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
6233 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
6234 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
6236 def get_uniform_offset(self, *args):
6237 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
6238 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
6240 def get_offset(self, *args):
6241 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
6242 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
6245 """__str__(ExtendedGridIndex6D self) -> std::string"""
6246 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
6249 """__repr__(ExtendedGridIndex6D self) -> std::string"""
6250 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
6252 def __cmp__(self, *args):
6253 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D arg2) -> int"""
6254 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
6256 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
6257 __del__ =
lambda self :
None;
6258 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
6259 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
6261 class ExtendedGridIndexKD(IMP.base._Value):
6262 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
6263 __swig_setmethods__ = {}
6264 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6265 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndexKD, name, value)
6266 __swig_getmethods__ = {}
6267 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6268 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndexKD, name)
6269 def __init__(self, *args):
6271 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
6272 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
6273 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
6274 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
6275 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
6276 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
6277 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
6278 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
6280 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
6281 try: self.this.append(this)
6282 except: self.this = this
6283 def get_dimension(self):
6284 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
6285 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
6287 def __eq__(self, *args):
6288 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6289 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
6291 def __ne__(self, *args):
6292 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6293 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
6295 def __lt__(self, *args):
6296 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6297 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
6299 def __gt__(self, *args):
6300 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6301 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
6303 def __ge__(self, *args):
6304 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6305 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
6307 def __le__(self, *args):
6308 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6309 return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
6311 def __setitem__(self, *args):
6312 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
6313 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
6315 def __getitem__(self, *args):
6316 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
6317 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
6319 def show(self, *args):
6321 show(ExtendedGridIndexKD self, _ostream out=std::cout)
6322 show(ExtendedGridIndexKD self)
6324 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
6327 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
6328 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
6331 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
6332 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
6334 def get_uniform_offset(self, *args):
6335 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
6336 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
6338 def get_offset(self, *args):
6339 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
6340 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
6343 """__str__(ExtendedGridIndexKD self) -> std::string"""
6344 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
6347 """__repr__(ExtendedGridIndexKD self) -> std::string"""
6348 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
6350 def __cmp__(self, *args):
6351 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD arg2) -> int"""
6352 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
6354 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
6355 __del__ =
lambda self :
None;
6356 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
6357 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
6359 class BoundedGridRange1D(_object):
6360 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
6361 __swig_setmethods__ = {}
6362 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange1D, name, value)
6363 __swig_getmethods__ = {}
6364 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange1D, name)
6365 def get_is_bounded():
6366 """get_is_bounded() -> bool"""
6367 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
6369 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6370 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6371 def __init__(self, *args):
6373 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
6374 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
6376 this = _IMP_algebra.new_BoundedGridRange1D(*args)
6377 try: self.this.append(this)
6378 except: self.this = this
6379 def get_number_of_voxels(self, *args):
6381 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
6382 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
6384 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
6386 def get_end_index(self):
6387 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6388 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
6390 def show(self, *args):
6392 show(BoundedGridRange1D self, _ostream out=std::cout)
6393 show(BoundedGridRange1D self)
6395 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
6397 def get_all_indexes(self):
6398 """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
6399 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
6402 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
6403 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
6405 def get_extended_indexes(self, *args):
6406 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6407 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
6410 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
6411 return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
6413 def get_has_index(self, *args):
6414 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
6415 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
6417 def get_minimum_extended_index(self):
6418 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6419 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
6421 def get_maximum_extended_index(self):
6422 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6423 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
6426 """__str__(BoundedGridRange1D self) -> std::string"""
6427 return _IMP_algebra.BoundedGridRange1D___str__(self)
6430 """__repr__(BoundedGridRange1D self) -> std::string"""
6431 return _IMP_algebra.BoundedGridRange1D___repr__(self)
6433 def __cmp__(self, *args):
6434 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
6435 return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
6437 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
6438 __del__ =
lambda self :
None;
6439 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
6440 BoundedGridRange1D_swigregister(BoundedGridRange1D)
6442 def BoundedGridRange1D_get_is_bounded():
6443 """BoundedGridRange1D_get_is_bounded() -> bool"""
6444 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
6446 class BoundedGridRange2D(_object):
6447 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
6448 __swig_setmethods__ = {}
6449 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange2D, name, value)
6450 __swig_getmethods__ = {}
6451 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange2D, name)
6452 def get_is_bounded():
6453 """get_is_bounded() -> bool"""
6454 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
6456 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6457 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6458 def __init__(self, *args):
6460 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
6461 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
6463 this = _IMP_algebra.new_BoundedGridRange2D(*args)
6464 try: self.this.append(this)
6465 except: self.this = this
6466 def get_number_of_voxels(self, *args):
6468 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
6469 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
6471 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
6473 def get_end_index(self):
6474 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6475 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
6477 def show(self, *args):
6479 show(BoundedGridRange2D self, _ostream out=std::cout)
6480 show(BoundedGridRange2D self)
6482 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
6484 def get_all_indexes(self):
6485 """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
6486 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
6489 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
6490 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
6492 def get_extended_indexes(self, *args):
6493 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6494 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
6497 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
6498 return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
6500 def get_has_index(self, *args):
6501 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
6502 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
6504 def get_minimum_extended_index(self):
6505 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6506 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
6508 def get_maximum_extended_index(self):
6509 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6510 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
6513 """__str__(BoundedGridRange2D self) -> std::string"""
6514 return _IMP_algebra.BoundedGridRange2D___str__(self)
6517 """__repr__(BoundedGridRange2D self) -> std::string"""
6518 return _IMP_algebra.BoundedGridRange2D___repr__(self)
6520 def __cmp__(self, *args):
6521 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
6522 return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
6524 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
6525 __del__ =
lambda self :
None;
6526 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
6527 BoundedGridRange2D_swigregister(BoundedGridRange2D)
6529 def BoundedGridRange2D_get_is_bounded():
6530 """BoundedGridRange2D_get_is_bounded() -> bool"""
6531 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
6533 class BoundedGridRange3D(_object):
6534 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
6535 __swig_setmethods__ = {}
6536 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange3D, name, value)
6537 __swig_getmethods__ = {}
6538 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange3D, name)
6539 def get_is_bounded():
6540 """get_is_bounded() -> bool"""
6541 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
6543 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6544 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6545 def __init__(self, *args):
6547 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
6548 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
6550 this = _IMP_algebra.new_BoundedGridRange3D(*args)
6551 try: self.this.append(this)
6552 except: self.this = this
6553 def get_number_of_voxels(self, *args):
6555 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
6556 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
6558 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
6560 def get_end_index(self):
6561 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6562 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
6564 def show(self, *args):
6566 show(BoundedGridRange3D self, _ostream out=std::cout)
6567 show(BoundedGridRange3D self)
6569 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
6571 def get_all_indexes(self):
6572 """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
6573 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
6576 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
6577 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
6579 def get_extended_indexes(self, *args):
6580 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6581 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
6584 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6585 return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
6587 def get_has_index(self, *args):
6588 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
6589 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
6591 def get_minimum_extended_index(self):
6592 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6593 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
6595 def get_maximum_extended_index(self):
6596 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6597 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
6600 """__str__(BoundedGridRange3D self) -> std::string"""
6601 return _IMP_algebra.BoundedGridRange3D___str__(self)
6604 """__repr__(BoundedGridRange3D self) -> std::string"""
6605 return _IMP_algebra.BoundedGridRange3D___repr__(self)
6607 def __cmp__(self, *args):
6608 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
6609 return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
6611 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
6612 __del__ =
lambda self :
None;
6613 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
6614 BoundedGridRange3D_swigregister(BoundedGridRange3D)
6616 def BoundedGridRange3D_get_is_bounded():
6617 """BoundedGridRange3D_get_is_bounded() -> bool"""
6618 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
6620 class BoundedGridRange4D(_object):
6621 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
6622 __swig_setmethods__ = {}
6623 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange4D, name, value)
6624 __swig_getmethods__ = {}
6625 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange4D, name)
6626 def get_is_bounded():
6627 """get_is_bounded() -> bool"""
6628 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
6630 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6631 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6632 def __init__(self, *args):
6634 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
6635 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
6637 this = _IMP_algebra.new_BoundedGridRange4D(*args)
6638 try: self.this.append(this)
6639 except: self.this = this
6640 def get_number_of_voxels(self, *args):
6642 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
6643 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
6645 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
6647 def get_end_index(self):
6648 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6649 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
6651 def show(self, *args):
6653 show(BoundedGridRange4D self, _ostream out=std::cout)
6654 show(BoundedGridRange4D self)
6656 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
6658 def get_all_indexes(self):
6659 """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
6660 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
6663 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
6664 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
6666 def get_extended_indexes(self, *args):
6667 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6668 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
6671 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
6672 return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
6674 def get_has_index(self, *args):
6675 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
6676 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
6678 def get_minimum_extended_index(self):
6679 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6680 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
6682 def get_maximum_extended_index(self):
6683 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6684 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
6687 """__str__(BoundedGridRange4D self) -> std::string"""
6688 return _IMP_algebra.BoundedGridRange4D___str__(self)
6691 """__repr__(BoundedGridRange4D self) -> std::string"""
6692 return _IMP_algebra.BoundedGridRange4D___repr__(self)
6694 def __cmp__(self, *args):
6695 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
6696 return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
6698 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
6699 __del__ =
lambda self :
None;
6700 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
6701 BoundedGridRange4D_swigregister(BoundedGridRange4D)
6703 def BoundedGridRange4D_get_is_bounded():
6704 """BoundedGridRange4D_get_is_bounded() -> bool"""
6705 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
6707 class BoundedGridRange5D(_object):
6708 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
6709 __swig_setmethods__ = {}
6710 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange5D, name, value)
6711 __swig_getmethods__ = {}
6712 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange5D, name)
6713 def get_is_bounded():
6714 """get_is_bounded() -> bool"""
6715 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
6717 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6718 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6719 def __init__(self, *args):
6721 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
6722 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
6724 this = _IMP_algebra.new_BoundedGridRange5D(*args)
6725 try: self.this.append(this)
6726 except: self.this = this
6727 def get_number_of_voxels(self, *args):
6729 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
6730 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
6732 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
6734 def get_end_index(self):
6735 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6736 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
6738 def show(self, *args):
6740 show(BoundedGridRange5D self, _ostream out=std::cout)
6741 show(BoundedGridRange5D self)
6743 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
6745 def get_all_indexes(self):
6746 """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
6747 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
6750 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
6751 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
6753 def get_extended_indexes(self, *args):
6754 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6755 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
6758 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
6759 return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
6761 def get_has_index(self, *args):
6762 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
6763 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
6765 def get_minimum_extended_index(self):
6766 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6767 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
6769 def get_maximum_extended_index(self):
6770 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6771 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
6774 """__str__(BoundedGridRange5D self) -> std::string"""
6775 return _IMP_algebra.BoundedGridRange5D___str__(self)
6778 """__repr__(BoundedGridRange5D self) -> std::string"""
6779 return _IMP_algebra.BoundedGridRange5D___repr__(self)
6781 def __cmp__(self, *args):
6782 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
6783 return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
6785 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
6786 __del__ =
lambda self :
None;
6787 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
6788 BoundedGridRange5D_swigregister(BoundedGridRange5D)
6790 def BoundedGridRange5D_get_is_bounded():
6791 """BoundedGridRange5D_get_is_bounded() -> bool"""
6792 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
6794 class BoundedGridRange6D(_object):
6795 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
6796 __swig_setmethods__ = {}
6797 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange6D, name, value)
6798 __swig_getmethods__ = {}
6799 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange6D, name)
6800 def get_is_bounded():
6801 """get_is_bounded() -> bool"""
6802 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6804 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6805 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6806 def __init__(self, *args):
6808 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
6809 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
6811 this = _IMP_algebra.new_BoundedGridRange6D(*args)
6812 try: self.this.append(this)
6813 except: self.this = this
6814 def get_number_of_voxels(self, *args):
6816 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
6817 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
6819 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
6821 def get_end_index(self):
6822 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6823 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
6825 def show(self, *args):
6827 show(BoundedGridRange6D self, _ostream out=std::cout)
6828 show(BoundedGridRange6D self)
6830 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
6832 def get_all_indexes(self):
6833 """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
6834 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
6837 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
6838 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
6840 def get_extended_indexes(self, *args):
6841 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6842 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
6845 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
6846 return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
6848 def get_has_index(self, *args):
6849 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
6850 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
6852 def get_minimum_extended_index(self):
6853 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6854 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
6856 def get_maximum_extended_index(self):
6857 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6858 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
6861 """__str__(BoundedGridRange6D self) -> std::string"""
6862 return _IMP_algebra.BoundedGridRange6D___str__(self)
6865 """__repr__(BoundedGridRange6D self) -> std::string"""
6866 return _IMP_algebra.BoundedGridRange6D___repr__(self)
6868 def __cmp__(self, *args):
6869 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
6870 return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
6872 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
6873 __del__ =
lambda self :
None;
6874 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
6875 BoundedGridRange6D_swigregister(BoundedGridRange6D)
6877 def BoundedGridRange6D_get_is_bounded():
6878 """BoundedGridRange6D_get_is_bounded() -> bool"""
6879 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6881 class BoundedGridRangeKD(_object):
6882 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
6883 __swig_setmethods__ = {}
6884 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRangeKD, name, value)
6885 __swig_getmethods__ = {}
6886 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRangeKD, name)
6887 def get_is_bounded():
6888 """get_is_bounded() -> bool"""
6889 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6891 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6892 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6893 def __init__(self, *args):
6895 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
6896 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
6898 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
6899 try: self.this.append(this)
6900 except: self.this = this
6901 def get_number_of_voxels(self, *args):
6903 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
6904 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
6906 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
6908 def get_end_index(self):
6909 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6910 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
6912 def show(self, *args):
6914 show(BoundedGridRangeKD self, _ostream out=std::cout)
6915 show(BoundedGridRangeKD self)
6917 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
6919 def get_all_indexes(self):
6920 """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6921 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
6924 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6925 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
6927 def get_extended_indexes(self, *args):
6928 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6929 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
6932 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6933 return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
6935 def get_has_index(self, *args):
6936 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
6937 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
6939 def get_minimum_extended_index(self):
6940 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6941 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
6943 def get_maximum_extended_index(self):
6944 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6945 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
6948 """__str__(BoundedGridRangeKD self) -> std::string"""
6949 return _IMP_algebra.BoundedGridRangeKD___str__(self)
6952 """__repr__(BoundedGridRangeKD self) -> std::string"""
6953 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
6955 def __cmp__(self, *args):
6956 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
6957 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
6959 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
6960 __del__ =
lambda self :
None;
6961 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
6962 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6964 def BoundedGridRangeKD_get_is_bounded():
6965 """BoundedGridRangeKD_get_is_bounded() -> bool"""
6966 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6968 class UnboundedGridRange1D(_object):
6969 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6970 __swig_setmethods__ = {}
6971 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange1D, name, value)
6972 __swig_getmethods__ = {}
6973 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange1D, name)
6974 def __init__(self, *args):
6976 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6977 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6979 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6980 try: self.this.append(this)
6981 except: self.this = this
6982 def set_number_of_voxels(self, *args):
6983 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6984 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6986 def get_number_of_voxels(self, *args):
6987 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6988 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
6990 def get_is_bounded():
6991 """get_is_bounded() -> bool"""
6992 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6994 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6995 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6996 def get_has_index(self, *args):
6997 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
6998 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
7000 def show(self, *args):
7002 show(UnboundedGridRange1D self, _ostream out=std::cout)
7003 show(UnboundedGridRange1D self)
7005 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
7007 def get_extended_indexes(self, *args):
7008 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7009 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
7012 """__str__(UnboundedGridRange1D self) -> std::string"""
7013 return _IMP_algebra.UnboundedGridRange1D___str__(self)
7016 """__repr__(UnboundedGridRange1D self) -> std::string"""
7017 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
7019 def __cmp__(self, *args):
7020 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
7021 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
7023 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
7024 __del__ =
lambda self :
None;
7025 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
7026 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
7028 def UnboundedGridRange1D_get_is_bounded():
7029 """UnboundedGridRange1D_get_is_bounded() -> bool"""
7030 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
7032 class UnboundedGridRange2D(_object):
7033 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
7034 __swig_setmethods__ = {}
7035 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange2D, name, value)
7036 __swig_getmethods__ = {}
7037 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange2D, name)
7038 def __init__(self, *args):
7040 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
7041 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
7043 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
7044 try: self.this.append(this)
7045 except: self.this = this
7046 def set_number_of_voxels(self, *args):
7047 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
7048 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
7050 def get_number_of_voxels(self, *args):
7051 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
7052 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
7054 def get_is_bounded():
7055 """get_is_bounded() -> bool"""
7056 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
7058 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7059 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7060 def get_has_index(self, *args):
7061 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
7062 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
7064 def show(self, *args):
7066 show(UnboundedGridRange2D self, _ostream out=std::cout)
7067 show(UnboundedGridRange2D self)
7069 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
7071 def get_extended_indexes(self, *args):
7072 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7073 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
7076 """__str__(UnboundedGridRange2D self) -> std::string"""
7077 return _IMP_algebra.UnboundedGridRange2D___str__(self)
7080 """__repr__(UnboundedGridRange2D self) -> std::string"""
7081 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
7083 def __cmp__(self, *args):
7084 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
7085 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
7087 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
7088 __del__ =
lambda self :
None;
7089 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
7090 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
7092 def UnboundedGridRange2D_get_is_bounded():
7093 """UnboundedGridRange2D_get_is_bounded() -> bool"""
7094 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
7096 class UnboundedGridRange3D(_object):
7097 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
7098 __swig_setmethods__ = {}
7099 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange3D, name, value)
7100 __swig_getmethods__ = {}
7101 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange3D, name)
7102 def __init__(self, *args):
7104 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
7105 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
7107 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
7108 try: self.this.append(this)
7109 except: self.this = this
7110 def set_number_of_voxels(self, *args):
7111 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
7112 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
7114 def get_number_of_voxels(self, *args):
7115 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
7116 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
7118 def get_is_bounded():
7119 """get_is_bounded() -> bool"""
7120 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
7122 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7123 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7124 def get_has_index(self, *args):
7125 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
7126 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
7128 def show(self, *args):
7130 show(UnboundedGridRange3D self, _ostream out=std::cout)
7131 show(UnboundedGridRange3D self)
7133 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
7135 def get_extended_indexes(self, *args):
7136 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7137 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
7140 """__str__(UnboundedGridRange3D self) -> std::string"""
7141 return _IMP_algebra.UnboundedGridRange3D___str__(self)
7144 """__repr__(UnboundedGridRange3D self) -> std::string"""
7145 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
7147 def __cmp__(self, *args):
7148 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
7149 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
7151 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
7152 __del__ =
lambda self :
None;
7153 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
7154 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
7156 def UnboundedGridRange3D_get_is_bounded():
7157 """UnboundedGridRange3D_get_is_bounded() -> bool"""
7158 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
7160 class UnboundedGridRange4D(_object):
7161 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
7162 __swig_setmethods__ = {}
7163 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange4D, name, value)
7164 __swig_getmethods__ = {}
7165 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange4D, name)
7166 def __init__(self, *args):
7168 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
7169 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
7171 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
7172 try: self.this.append(this)
7173 except: self.this = this
7174 def set_number_of_voxels(self, *args):
7175 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
7176 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
7178 def get_number_of_voxels(self, *args):
7179 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
7180 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
7182 def get_is_bounded():
7183 """get_is_bounded() -> bool"""
7184 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
7186 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7187 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7188 def get_has_index(self, *args):
7189 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
7190 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
7192 def show(self, *args):
7194 show(UnboundedGridRange4D self, _ostream out=std::cout)
7195 show(UnboundedGridRange4D self)
7197 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
7199 def get_extended_indexes(self, *args):
7200 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7201 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
7204 """__str__(UnboundedGridRange4D self) -> std::string"""
7205 return _IMP_algebra.UnboundedGridRange4D___str__(self)
7208 """__repr__(UnboundedGridRange4D self) -> std::string"""
7209 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
7211 def __cmp__(self, *args):
7212 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
7213 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
7215 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
7216 __del__ =
lambda self :
None;
7217 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
7218 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
7220 def UnboundedGridRange4D_get_is_bounded():
7221 """UnboundedGridRange4D_get_is_bounded() -> bool"""
7222 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
7224 class UnboundedGridRange5D(_object):
7225 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
7226 __swig_setmethods__ = {}
7227 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange5D, name, value)
7228 __swig_getmethods__ = {}
7229 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange5D, name)
7230 def __init__(self, *args):
7232 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
7233 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
7235 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
7236 try: self.this.append(this)
7237 except: self.this = this
7238 def set_number_of_voxels(self, *args):
7239 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
7240 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
7242 def get_number_of_voxels(self, *args):
7243 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
7244 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
7246 def get_is_bounded():
7247 """get_is_bounded() -> bool"""
7248 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
7250 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7251 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7252 def get_has_index(self, *args):
7253 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
7254 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
7256 def show(self, *args):
7258 show(UnboundedGridRange5D self, _ostream out=std::cout)
7259 show(UnboundedGridRange5D self)
7261 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
7263 def get_extended_indexes(self, *args):
7264 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
7265 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
7268 """__str__(UnboundedGridRange5D self) -> std::string"""
7269 return _IMP_algebra.UnboundedGridRange5D___str__(self)
7272 """__repr__(UnboundedGridRange5D self) -> std::string"""
7273 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
7275 def __cmp__(self, *args):
7276 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
7277 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
7279 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
7280 __del__ =
lambda self :
None;
7281 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
7282 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
7284 def UnboundedGridRange5D_get_is_bounded():
7285 """UnboundedGridRange5D_get_is_bounded() -> bool"""
7286 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
7288 class UnboundedGridRange6D(_object):
7289 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
7290 __swig_setmethods__ = {}
7291 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange6D, name, value)
7292 __swig_getmethods__ = {}
7293 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange6D, name)
7294 def __init__(self, *args):
7296 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
7297 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
7299 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
7300 try: self.this.append(this)
7301 except: self.this = this
7302 def set_number_of_voxels(self, *args):
7303 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
7304 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
7306 def get_number_of_voxels(self, *args):
7307 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
7308 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
7310 def get_is_bounded():
7311 """get_is_bounded() -> bool"""
7312 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
7314 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7315 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7316 def get_has_index(self, *args):
7317 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
7318 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
7320 def show(self, *args):
7322 show(UnboundedGridRange6D self, _ostream out=std::cout)
7323 show(UnboundedGridRange6D self)
7325 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
7327 def get_extended_indexes(self, *args):
7328 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
7329 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
7332 """__str__(UnboundedGridRange6D self) -> std::string"""
7333 return _IMP_algebra.UnboundedGridRange6D___str__(self)
7336 """__repr__(UnboundedGridRange6D self) -> std::string"""
7337 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
7339 def __cmp__(self, *args):
7340 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
7341 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
7343 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
7344 __del__ =
lambda self :
None;
7345 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
7346 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
7348 def UnboundedGridRange6D_get_is_bounded():
7349 """UnboundedGridRange6D_get_is_bounded() -> bool"""
7350 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
7352 class UnboundedGridRangeKD(_object):
7353 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
7354 __swig_setmethods__ = {}
7355 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRangeKD, name, value)
7356 __swig_getmethods__ = {}
7357 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRangeKD, name)
7358 def __init__(self, *args):
7360 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
7361 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
7363 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
7364 try: self.this.append(this)
7365 except: self.this = this
7366 def set_number_of_voxels(self, *args):
7367 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
7368 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
7370 def get_number_of_voxels(self, *args):
7371 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
7372 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
7374 def get_is_bounded():
7375 """get_is_bounded() -> bool"""
7376 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
7378 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7379 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7380 def get_has_index(self, *args):
7381 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
7382 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
7384 def show(self, *args):
7386 show(UnboundedGridRangeKD self, _ostream out=std::cout)
7387 show(UnboundedGridRangeKD self)
7389 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
7391 def get_extended_indexes(self, *args):
7392 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
7393 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
7396 """__str__(UnboundedGridRangeKD self) -> std::string"""
7397 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
7400 """__repr__(UnboundedGridRangeKD self) -> std::string"""
7401 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
7403 def __cmp__(self, *args):
7404 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
7405 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
7407 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
7408 __del__ =
lambda self :
None;
7409 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
7410 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
7412 def UnboundedGridRangeKD_get_is_bounded():
7413 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
7414 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
7416 class DefaultEmbedding1D(_object):
7417 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
7418 __swig_setmethods__ = {}
7419 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding1D, name, value)
7420 __swig_getmethods__ = {}
7421 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding1D, name)
7422 def __init__(self, *args):
7424 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
7425 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
7427 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
7428 try: self.this.append(this)
7429 except: self.this = this
7430 def set_origin(self, *args):
7431 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
7432 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
7434 def get_origin(self):
7435 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
7436 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
7438 def get_dimension(self):
7439 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
7440 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
7442 def set_unit_cell(self, *args):
7443 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
7444 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
7446 def get_inverse_unit_cell(self):
7447 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
7448 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
7450 def get_unit_cell(self):
7451 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
7452 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
7454 def get_extended_index(self, *args):
7455 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7456 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
7459 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
7460 return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
7462 def get_center(self, *args):
7464 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7465 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
7467 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
7471 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7472 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7474 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
7476 def show(self, *args):
7478 show(DefaultEmbedding1D self, _ostream out=std::cout)
7479 show(DefaultEmbedding1D self)
7481 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
7484 """__str__(DefaultEmbedding1D self) -> std::string"""
7485 return _IMP_algebra.DefaultEmbedding1D___str__(self)
7488 """__repr__(DefaultEmbedding1D self) -> std::string"""
7489 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
7491 def __cmp__(self, *args):
7492 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
7493 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
7495 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
7496 __del__ =
lambda self :
None;
7497 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
7498 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
7500 class DefaultEmbedding2D(_object):
7501 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
7502 __swig_setmethods__ = {}
7503 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding2D, name, value)
7504 __swig_getmethods__ = {}
7505 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding2D, name)
7506 def __init__(self, *args):
7508 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
7509 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
7511 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
7512 try: self.this.append(this)
7513 except: self.this = this
7514 def set_origin(self, *args):
7515 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
7516 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
7518 def get_origin(self):
7519 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
7520 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
7522 def get_dimension(self):
7523 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
7524 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
7526 def set_unit_cell(self, *args):
7527 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
7528 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
7530 def get_inverse_unit_cell(self):
7531 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
7532 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
7534 def get_unit_cell(self):
7535 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
7536 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
7538 def get_extended_index(self, *args):
7539 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7540 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
7543 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
7544 return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
7546 def get_center(self, *args):
7548 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7549 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
7551 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
7555 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7556 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7558 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
7560 def show(self, *args):
7562 show(DefaultEmbedding2D self, _ostream out=std::cout)
7563 show(DefaultEmbedding2D self)
7565 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
7568 """__str__(DefaultEmbedding2D self) -> std::string"""
7569 return _IMP_algebra.DefaultEmbedding2D___str__(self)
7572 """__repr__(DefaultEmbedding2D self) -> std::string"""
7573 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
7575 def __cmp__(self, *args):
7576 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
7577 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
7579 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
7580 __del__ =
lambda self :
None;
7581 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
7582 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
7584 class DefaultEmbedding3D(_object):
7585 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
7586 __swig_setmethods__ = {}
7587 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding3D, name, value)
7588 __swig_getmethods__ = {}
7589 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding3D, name)
7590 def __init__(self, *args):
7592 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
7593 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
7595 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
7596 try: self.this.append(this)
7597 except: self.this = this
7598 def set_origin(self, *args):
7599 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
7600 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
7602 def get_origin(self):
7603 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
7604 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
7606 def get_dimension(self):
7607 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
7608 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
7610 def set_unit_cell(self, *args):
7611 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
7612 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
7614 def get_inverse_unit_cell(self):
7615 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
7616 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
7618 def get_unit_cell(self):
7619 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
7620 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
7622 def get_extended_index(self, *args):
7623 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7624 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
7627 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
7628 return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
7630 def get_center(self, *args):
7632 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7633 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
7635 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
7639 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7640 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7642 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
7644 def show(self, *args):
7646 show(DefaultEmbedding3D self, _ostream out=std::cout)
7647 show(DefaultEmbedding3D self)
7649 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
7652 """__str__(DefaultEmbedding3D self) -> std::string"""
7653 return _IMP_algebra.DefaultEmbedding3D___str__(self)
7656 """__repr__(DefaultEmbedding3D self) -> std::string"""
7657 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
7659 def __cmp__(self, *args):
7660 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
7661 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
7663 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
7664 __del__ =
lambda self :
None;
7665 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
7666 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
7668 class DefaultEmbedding4D(_object):
7669 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
7670 __swig_setmethods__ = {}
7671 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding4D, name, value)
7672 __swig_getmethods__ = {}
7673 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding4D, name)
7674 def __init__(self, *args):
7676 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
7677 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
7679 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
7680 try: self.this.append(this)
7681 except: self.this = this
7682 def set_origin(self, *args):
7683 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
7684 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
7686 def get_origin(self):
7687 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
7688 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
7690 def get_dimension(self):
7691 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
7692 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
7694 def set_unit_cell(self, *args):
7695 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
7696 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
7698 def get_inverse_unit_cell(self):
7699 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
7700 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
7702 def get_unit_cell(self):
7703 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
7704 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
7706 def get_extended_index(self, *args):
7707 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7708 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
7711 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
7712 return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
7714 def get_center(self, *args):
7716 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7717 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
7719 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
7723 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7724 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7726 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
7728 def show(self, *args):
7730 show(DefaultEmbedding4D self, _ostream out=std::cout)
7731 show(DefaultEmbedding4D self)
7733 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
7736 """__str__(DefaultEmbedding4D self) -> std::string"""
7737 return _IMP_algebra.DefaultEmbedding4D___str__(self)
7740 """__repr__(DefaultEmbedding4D self) -> std::string"""
7741 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
7743 def __cmp__(self, *args):
7744 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
7745 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
7747 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
7748 __del__ =
lambda self :
None;
7749 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
7750 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
7752 class DefaultEmbedding5D(_object):
7753 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
7754 __swig_setmethods__ = {}
7755 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding5D, name, value)
7756 __swig_getmethods__ = {}
7757 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding5D, name)
7758 def __init__(self, *args):
7760 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
7761 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
7763 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
7764 try: self.this.append(this)
7765 except: self.this = this
7766 def set_origin(self, *args):
7767 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
7768 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
7770 def get_origin(self):
7771 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
7772 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
7774 def get_dimension(self):
7775 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
7776 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
7778 def set_unit_cell(self, *args):
7779 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
7780 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
7782 def get_inverse_unit_cell(self):
7783 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
7784 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
7786 def get_unit_cell(self):
7787 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
7788 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
7790 def get_extended_index(self, *args):
7791 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7792 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
7795 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
7796 return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
7798 def get_center(self, *args):
7800 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7801 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
7803 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
7807 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7808 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7810 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
7812 def show(self, *args):
7814 show(DefaultEmbedding5D self, _ostream out=std::cout)
7815 show(DefaultEmbedding5D self)
7817 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
7820 """__str__(DefaultEmbedding5D self) -> std::string"""
7821 return _IMP_algebra.DefaultEmbedding5D___str__(self)
7824 """__repr__(DefaultEmbedding5D self) -> std::string"""
7825 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
7827 def __cmp__(self, *args):
7828 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
7829 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
7831 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
7832 __del__ =
lambda self :
None;
7833 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
7834 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
7836 class DefaultEmbedding6D(_object):
7837 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
7838 __swig_setmethods__ = {}
7839 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding6D, name, value)
7840 __swig_getmethods__ = {}
7841 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding6D, name)
7842 def __init__(self, *args):
7844 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
7845 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
7847 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
7848 try: self.this.append(this)
7849 except: self.this = this
7850 def set_origin(self, *args):
7851 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
7852 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
7854 def get_origin(self):
7855 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
7856 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
7858 def get_dimension(self):
7859 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
7860 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
7862 def set_unit_cell(self, *args):
7863 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
7864 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
7866 def get_inverse_unit_cell(self):
7867 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7868 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
7870 def get_unit_cell(self):
7871 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7872 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
7874 def get_extended_index(self, *args):
7875 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7876 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
7879 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
7880 return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
7882 def get_center(self, *args):
7884 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7885 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
7887 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
7891 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7892 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7894 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
7896 def show(self, *args):
7898 show(DefaultEmbedding6D self, _ostream out=std::cout)
7899 show(DefaultEmbedding6D self)
7901 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
7904 """__str__(DefaultEmbedding6D self) -> std::string"""
7905 return _IMP_algebra.DefaultEmbedding6D___str__(self)
7908 """__repr__(DefaultEmbedding6D self) -> std::string"""
7909 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
7911 def __cmp__(self, *args):
7912 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
7913 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
7915 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
7916 __del__ =
lambda self :
None;
7917 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
7918 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
7920 class DefaultEmbeddingKD(_object):
7921 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
7922 __swig_setmethods__ = {}
7923 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbeddingKD, name, value)
7924 __swig_getmethods__ = {}
7925 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbeddingKD, name)
7926 def __init__(self, *args):
7928 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
7929 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
7931 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
7932 try: self.this.append(this)
7933 except: self.this = this
7934 def set_origin(self, *args):
7935 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
7936 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
7938 def get_origin(self):
7939 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
7940 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
7942 def get_dimension(self):
7943 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
7944 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
7946 def set_unit_cell(self, *args):
7947 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
7948 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
7950 def get_inverse_unit_cell(self):
7951 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7952 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
7954 def get_unit_cell(self):
7955 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7956 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
7958 def get_extended_index(self, *args):
7959 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7960 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
7963 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7964 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7966 def get_center(self, *args):
7968 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7969 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7971 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7975 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7976 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7978 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7980 def show(self, *args):
7982 show(DefaultEmbeddingKD self, _ostream out=std::cout)
7983 show(DefaultEmbeddingKD self)
7985 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7988 """__str__(DefaultEmbeddingKD self) -> std::string"""
7989 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
7992 """__repr__(DefaultEmbeddingKD self) -> std::string"""
7993 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
7995 def __cmp__(self, *args):
7996 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
7997 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
7999 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
8000 __del__ =
lambda self :
None;
8001 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
8002 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
8004 class LogEmbedding1D(_object):
8005 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
8006 __swig_setmethods__ = {}
8007 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding1D, name, value)
8008 __swig_getmethods__ = {}
8009 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding1D, name)
8010 def __init__(self, *args):
8012 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
8013 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
8014 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
8015 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
8016 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
8018 this = _IMP_algebra.new_LogEmbedding1D(*args)
8019 try: self.this.append(this)
8020 except: self.this = this
8021 def set_origin(self, *args):
8022 """set_origin(LogEmbedding1D self, Vector1D o)"""
8023 return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
8025 def get_origin(self):
8026 """get_origin(LogEmbedding1D self) -> Vector1D"""
8027 return _IMP_algebra.LogEmbedding1D_get_origin(self)
8029 def get_dimension(self):
8030 """get_dimension(LogEmbedding1D self) -> unsigned int"""
8031 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
8033 def set_unit_cell(self, *args):
8035 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
8036 set_unit_cell(LogEmbedding1D self, Vector1D o)
8038 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
8040 def get_unit_cell(self):
8041 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
8042 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
8044 def get_extended_index(self, *args):
8045 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8046 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
8049 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
8050 return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
8052 def get_center(self, *args):
8054 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8055 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
8057 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
8061 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8062 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8064 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
8066 def show(self, *args):
8068 show(LogEmbedding1D self, _ostream out=std::cout)
8069 show(LogEmbedding1D self)
8071 return _IMP_algebra.LogEmbedding1D_show(self, *args)
8074 """__str__(LogEmbedding1D self) -> std::string"""
8075 return _IMP_algebra.LogEmbedding1D___str__(self)
8078 """__repr__(LogEmbedding1D self) -> std::string"""
8079 return _IMP_algebra.LogEmbedding1D___repr__(self)
8081 def __cmp__(self, *args):
8082 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
8083 return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
8085 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
8086 __del__ =
lambda self :
None;
8087 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
8088 LogEmbedding1D_swigregister(LogEmbedding1D)
8090 class LogEmbedding2D(_object):
8091 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
8092 __swig_setmethods__ = {}
8093 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding2D, name, value)
8094 __swig_getmethods__ = {}
8095 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding2D, name)
8096 def __init__(self, *args):
8098 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
8099 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
8100 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
8101 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
8102 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
8104 this = _IMP_algebra.new_LogEmbedding2D(*args)
8105 try: self.this.append(this)
8106 except: self.this = this
8107 def set_origin(self, *args):
8108 """set_origin(LogEmbedding2D self, Vector2D o)"""
8109 return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
8111 def get_origin(self):
8112 """get_origin(LogEmbedding2D self) -> Vector2D"""
8113 return _IMP_algebra.LogEmbedding2D_get_origin(self)
8115 def get_dimension(self):
8116 """get_dimension(LogEmbedding2D self) -> unsigned int"""
8117 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
8119 def set_unit_cell(self, *args):
8121 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
8122 set_unit_cell(LogEmbedding2D self, Vector2D o)
8124 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
8126 def get_unit_cell(self):
8127 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
8128 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
8130 def get_extended_index(self, *args):
8131 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
8132 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
8135 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
8136 return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
8138 def get_center(self, *args):
8140 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
8141 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
8143 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
8147 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
8148 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
8150 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
8152 def show(self, *args):
8154 show(LogEmbedding2D self, _ostream out=std::cout)
8155 show(LogEmbedding2D self)
8157 return _IMP_algebra.LogEmbedding2D_show(self, *args)
8160 """__str__(LogEmbedding2D self) -> std::string"""
8161 return _IMP_algebra.LogEmbedding2D___str__(self)
8164 """__repr__(LogEmbedding2D self) -> std::string"""
8165 return _IMP_algebra.LogEmbedding2D___repr__(self)
8167 def __cmp__(self, *args):
8168 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
8169 return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
8171 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
8172 __del__ =
lambda self :
None;
8173 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
8174 LogEmbedding2D_swigregister(LogEmbedding2D)
8176 class LogEmbedding4D(_object):
8177 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
8178 __swig_setmethods__ = {}
8179 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding4D, name, value)
8180 __swig_getmethods__ = {}
8181 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding4D, name)
8182 def __init__(self, *args):
8184 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
8185 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
8186 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
8187 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
8188 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
8190 this = _IMP_algebra.new_LogEmbedding4D(*args)
8191 try: self.this.append(this)
8192 except: self.this = this
8193 def set_origin(self, *args):
8194 """set_origin(LogEmbedding4D self, Vector4D o)"""
8195 return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
8197 def get_origin(self):
8198 """get_origin(LogEmbedding4D self) -> Vector4D"""
8199 return _IMP_algebra.LogEmbedding4D_get_origin(self)
8201 def get_dimension(self):
8202 """get_dimension(LogEmbedding4D self) -> unsigned int"""
8203 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
8205 def set_unit_cell(self, *args):
8207 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
8208 set_unit_cell(LogEmbedding4D self, Vector4D o)
8210 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
8212 def get_unit_cell(self):
8213 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
8214 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
8216 def get_extended_index(self, *args):
8217 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
8218 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
8221 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
8222 return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
8224 def get_center(self, *args):
8226 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
8227 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
8229 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
8233 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
8234 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
8236 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
8238 def show(self, *args):
8240 show(LogEmbedding4D self, _ostream out=std::cout)
8241 show(LogEmbedding4D self)
8243 return _IMP_algebra.LogEmbedding4D_show(self, *args)
8246 """__str__(LogEmbedding4D self) -> std::string"""
8247 return _IMP_algebra.LogEmbedding4D___str__(self)
8250 """__repr__(LogEmbedding4D self) -> std::string"""
8251 return _IMP_algebra.LogEmbedding4D___repr__(self)
8253 def __cmp__(self, *args):
8254 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
8255 return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
8257 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
8258 __del__ =
lambda self :
None;
8259 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
8260 LogEmbedding4D_swigregister(LogEmbedding4D)
8262 class LogEmbedding5D(_object):
8263 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
8264 __swig_setmethods__ = {}
8265 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding5D, name, value)
8266 __swig_getmethods__ = {}
8267 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding5D, name)
8268 def __init__(self, *args):
8270 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
8271 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
8272 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
8273 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
8274 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
8276 this = _IMP_algebra.new_LogEmbedding5D(*args)
8277 try: self.this.append(this)
8278 except: self.this = this
8279 def set_origin(self, *args):
8280 """set_origin(LogEmbedding5D self, Vector5D o)"""
8281 return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
8283 def get_origin(self):
8284 """get_origin(LogEmbedding5D self) -> Vector5D"""
8285 return _IMP_algebra.LogEmbedding5D_get_origin(self)
8287 def get_dimension(self):
8288 """get_dimension(LogEmbedding5D self) -> unsigned int"""
8289 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
8291 def set_unit_cell(self, *args):
8293 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
8294 set_unit_cell(LogEmbedding5D self, Vector5D o)
8296 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
8298 def get_unit_cell(self):
8299 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
8300 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
8302 def get_extended_index(self, *args):
8303 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
8304 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
8307 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
8308 return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
8310 def get_center(self, *args):
8312 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
8313 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
8315 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
8319 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
8320 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
8322 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
8324 def show(self, *args):
8326 show(LogEmbedding5D self, _ostream out=std::cout)
8327 show(LogEmbedding5D self)
8329 return _IMP_algebra.LogEmbedding5D_show(self, *args)
8332 """__str__(LogEmbedding5D self) -> std::string"""
8333 return _IMP_algebra.LogEmbedding5D___str__(self)
8336 """__repr__(LogEmbedding5D self) -> std::string"""
8337 return _IMP_algebra.LogEmbedding5D___repr__(self)
8339 def __cmp__(self, *args):
8340 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
8341 return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
8343 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
8344 __del__ =
lambda self :
None;
8345 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
8346 LogEmbedding5D_swigregister(LogEmbedding5D)
8348 class LogEmbedding6D(_object):
8349 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
8350 __swig_setmethods__ = {}
8351 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding6D, name, value)
8352 __swig_getmethods__ = {}
8353 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding6D, name)
8354 def __init__(self, *args):
8356 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
8357 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
8358 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
8359 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
8360 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
8362 this = _IMP_algebra.new_LogEmbedding6D(*args)
8363 try: self.this.append(this)
8364 except: self.this = this
8365 def set_origin(self, *args):
8366 """set_origin(LogEmbedding6D self, Vector6D o)"""
8367 return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
8369 def get_origin(self):
8370 """get_origin(LogEmbedding6D self) -> Vector6D"""
8371 return _IMP_algebra.LogEmbedding6D_get_origin(self)
8373 def get_dimension(self):
8374 """get_dimension(LogEmbedding6D self) -> unsigned int"""
8375 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
8377 def set_unit_cell(self, *args):
8379 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
8380 set_unit_cell(LogEmbedding6D self, Vector6D o)
8382 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
8384 def get_unit_cell(self):
8385 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
8386 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
8388 def get_extended_index(self, *args):
8389 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
8390 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
8393 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
8394 return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
8396 def get_center(self, *args):
8398 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
8399 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
8401 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
8405 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
8406 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
8408 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
8410 def show(self, *args):
8412 show(LogEmbedding6D self, _ostream out=std::cout)
8413 show(LogEmbedding6D self)
8415 return _IMP_algebra.LogEmbedding6D_show(self, *args)
8418 """__str__(LogEmbedding6D self) -> std::string"""
8419 return _IMP_algebra.LogEmbedding6D___str__(self)
8422 """__repr__(LogEmbedding6D self) -> std::string"""
8423 return _IMP_algebra.LogEmbedding6D___repr__(self)
8425 def __cmp__(self, *args):
8426 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
8427 return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
8429 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
8430 __del__ =
lambda self :
None;
8431 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
8432 LogEmbedding6D_swigregister(LogEmbedding6D)
8434 class SpherePatch3D(_GeometricPrimitive3D):
8435 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
8436 __swig_setmethods__ = {}
8437 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8438 __setattr__ =
lambda self, name, value: _swig_setattr(self, SpherePatch3D, name, value)
8439 __swig_getmethods__ = {}
8440 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8441 __getattr__ =
lambda self, name: _swig_getattr(self, SpherePatch3D, name)
8442 def __init__(self, *args):
8444 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
8445 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
8447 this = _IMP_algebra.new_SpherePatch3D(*args)
8448 try: self.this.append(this)
8449 except: self.this = this
8450 def get_contains(self, *args):
8451 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
8452 return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
8454 def get_plane(self):
8455 """get_plane(SpherePatch3D self) -> Plane3D"""
8456 return _IMP_algebra.SpherePatch3D_get_plane(self)
8458 def get_sphere(self):
8459 """get_sphere(SpherePatch3D self) -> Sphere3D"""
8460 return _IMP_algebra.SpherePatch3D_get_sphere(self)
8462 def show(self, *args):
8464 show(SpherePatch3D self, _ostream out=std::cout)
8465 show(SpherePatch3D self)
8467 return _IMP_algebra.SpherePatch3D_show(self, *args)
8469 def get_boundary_point(self):
8470 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
8471 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
8474 """__str__(SpherePatch3D self) -> std::string"""
8475 return _IMP_algebra.SpherePatch3D___str__(self)
8478 """__repr__(SpherePatch3D self) -> std::string"""
8479 return _IMP_algebra.SpherePatch3D___repr__(self)
8481 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
8482 __del__ =
lambda self :
None;
8483 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
8484 SpherePatch3D_swigregister(SpherePatch3D)
8489 get_area(Plane3D g) -> double
8490 get_area(SpherePatch3D g) -> double
8492 return _IMP_algebra.get_area(*args)
8495 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
8496 return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
8497 class Cone3D(_GeometricPrimitive3D):
8498 """Proxy of C++ IMP::algebra::Cone3D class"""
8499 __swig_setmethods__ = {}
8500 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8501 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cone3D, name, value)
8502 __swig_getmethods__ = {}
8503 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8504 __getattr__ =
lambda self, name: _swig_getattr(self, Cone3D, name)
8505 def __init__(self, *args):
8507 __init__(IMP::algebra::Cone3D self) -> Cone3D
8508 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
8510 this = _IMP_algebra.new_Cone3D(*args)
8511 try: self.this.append(this)
8512 except: self.this = this
8514 """get_tip(Cone3D self) -> Vector3D"""
8515 return _IMP_algebra.Cone3D_get_tip(self)
8517 def get_direction(self):
8518 """get_direction(Cone3D self) -> Vector3D"""
8519 return _IMP_algebra.Cone3D_get_direction(self)
8521 def get_height(self):
8522 """get_height(Cone3D self) -> double"""
8523 return _IMP_algebra.Cone3D_get_height(self)
8525 def get_angle(self):
8526 """get_angle(Cone3D self) -> double"""
8527 return _IMP_algebra.Cone3D_get_angle(self)
8529 def get_radius(self):
8530 """get_radius(Cone3D self) -> double"""
8531 return _IMP_algebra.Cone3D_get_radius(self)
8533 def get_contains(self, *args):
8534 """get_contains(Cone3D self, Vector3D v) -> bool"""
8535 return _IMP_algebra.Cone3D_get_contains(self, *args)
8537 def get_base_plane(self):
8538 """get_base_plane(Cone3D self) -> Plane3D"""
8539 return _IMP_algebra.Cone3D_get_base_plane(self)
8541 def show(self, *args):
8543 show(Cone3D self, _ostream out=std::cout)
8546 return _IMP_algebra.Cone3D_show(self, *args)
8549 """__str__(Cone3D self) -> std::string"""
8550 return _IMP_algebra.Cone3D___str__(self)
8553 """__repr__(Cone3D self) -> std::string"""
8554 return _IMP_algebra.Cone3D___repr__(self)
8556 __swig_destroy__ = _IMP_algebra.delete_Cone3D
8557 __del__ =
lambda self :
None;
8558 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
8559 Cone3D_swigregister(Cone3D)
8564 get_surface_area(BoundingBox3D g) -> double
8565 get_surface_area(Sphere3D g) -> double
8566 get_surface_area(Cylinder3D g) -> double
8567 get_surface_area(Ellipsoid3D g) -> double
8568 get_surface_area(Cone3D g) -> double
8570 return _IMP_algebra.get_surface_area(*args)
8574 get_volume(BoundingBox3D g) -> double
8575 get_volume(Sphere3D g) -> double
8576 get_volume(Cylinder3D g) -> double
8577 get_volume(Ellipsoid3D g) -> double
8578 get_volume(Cone3D g) -> double
8580 return _IMP_algebra.get_volume(*args)
8583 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
8584 return _IMP_algebra.get_cone_3d_geometry(*args)
8587 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
8588 return _IMP_algebra.write_pts(*args)
8591 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
8592 return _IMP_algebra.read_pts(*args)
8595 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
8596 return _IMP_algebra.write_spheres(*args)
8599 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
8600 return _IMP_algebra.read_spheres(*args)
8603 """get_random_vector_on_unit_sphere() -> Vector3D"""
8604 return _IMP_algebra.get_random_vector_on_unit_sphere()
8607 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
8608 return _IMP_algebra.get_grid_surface_cover(*args)
8612 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0), IMP::algebra::Sphere3Ds const & obstacles=IMP::algebra::Sphere3Ds()) -> IMP::algebra::Vector3Ds
8613 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0)) -> IMP::algebra::Vector3Ds
8614 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
8616 return _IMP_algebra.get_random_chain(*args)
8619 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
8620 return _IMP_algebra.reversed_read(*args)
8624 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
8625 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
8627 return _IMP_algebra.reversed_write(*args)
8630 """get_is_big_endian() -> bool"""
8631 return _IMP_algebra.get_is_big_endian()
8634 """get_is_little_endian() -> bool"""
8635 return _IMP_algebra.get_is_little_endian()
8639 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
8640 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
8642 return _IMP_algebra.get_shortest_segment(*args)
8644 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
8645 __swig_setmethods__ = {}
8646 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8647 __setattr__ =
lambda self, name, value: _swig_setattr(self, DynamicNearestNeighbor3D, name, value)
8648 __swig_getmethods__ = {}
8649 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8650 __getattr__ =
lambda self, name: _swig_getattr(self, DynamicNearestNeighbor3D, name)
8651 def __init__(self, *args):
8653 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
8654 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
8656 this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
8657 try: self.this.append(this)
8658 except: self.this = this
8659 def get_in_ball(self, *args):
8660 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
8661 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
8663 def set_coordinates(self, *args):
8664 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
8665 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
8667 def get_version_info(self):
8668 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
8669 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
8672 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
8673 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
8676 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
8677 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
8680 return _object_cast_to_DynamicNearestNeighbor3D(o)
8681 get_from = staticmethod(get_from)
8683 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
8684 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
8687 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
8688 __swig_setmethods__ = {}
8689 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8690 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKDMetric, name, value)
8691 __swig_getmethods__ = {}
8692 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8693 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKDMetric, name)
8694 def __init__(self, *args):
8695 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
8696 if self.__class__ == VectorKDMetric:
8700 this = _IMP_algebra.new_VectorKDMetric(_self, *args)
8701 try: self.this.append(this)
8702 except: self.this = this
8703 if self.__class__ != VectorKDMetric:
8705 IMP.base._director_objects.register(self)
8710 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
8711 return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
8714 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
8715 return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
8718 """__str__(VectorKDMetric self) -> std::string"""
8719 return _IMP_algebra.VectorKDMetric___str__(self)
8722 """__repr__(VectorKDMetric self) -> std::string"""
8723 return _IMP_algebra.VectorKDMetric___repr__(self)
8726 return _object_cast_to_VectorKDMetric(o)
8727 get_from = staticmethod(get_from)
8729 def get_type_name(self):
8730 return self.__class__.__name__
8731 def do_show(self, out):
8733 def get_version_info(self):
8734 if"IMP::algebra" ==
"IMP":
8735 return VersionInfo(
"python",
"0")
8737 return IMP.VersionInfo(
"python",
"0")
8739 return _object_cast_to_VectorKDMetric(o)
8740 get_from = staticmethod(get_from)
8742 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
8743 __del__ =
lambda self :
None;
8744 def __disown__(self):
8746 _IMP_algebra.disown_VectorKDMetric(self)
8747 return weakref_proxy(self)
8748 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
8749 VectorKDMetric_swigregister(VectorKDMetric)
8751 class EuclideanVectorKDMetric(VectorKDMetric):
8752 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
8753 __swig_setmethods__ = {}
8754 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8755 __setattr__ =
lambda self, name, value: _swig_setattr(self, EuclideanVectorKDMetric, name, value)
8756 __swig_getmethods__ = {}
8757 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8758 __getattr__ =
lambda self, name: _swig_getattr(self, EuclideanVectorKDMetric, name)
8759 def __init__(self, name="EuclideanVectorKDMetric%1%"):
8761 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
8762 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
8764 this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
8765 try: self.this.append(this)
8766 except: self.this = this
8767 def get_version_info(self):
8768 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
8769 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
8772 """__str__(EuclideanVectorKDMetric self) -> std::string"""
8773 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
8776 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
8777 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
8780 return _object_cast_to_EuclideanVectorKDMetric(o)
8781 get_from = staticmethod(get_from)
8783 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
8784 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
8786 class MaxVectorKDMetric(VectorKDMetric):
8787 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
8788 __swig_setmethods__ = {}
8789 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8790 __setattr__ =
lambda self, name, value: _swig_setattr(self, MaxVectorKDMetric, name, value)
8791 __swig_getmethods__ = {}
8792 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8793 __getattr__ =
lambda self, name: _swig_getattr(self, MaxVectorKDMetric, name)
8794 def __init__(self, name="MaxVectorKDMetric%1%"):
8796 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8797 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8799 this = _IMP_algebra.new_MaxVectorKDMetric(name)
8800 try: self.this.append(this)
8801 except: self.this = this
8802 def get_version_info(self):
8803 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8804 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8807 """__str__(MaxVectorKDMetric self) -> std::string"""
8808 return _IMP_algebra.MaxVectorKDMetric___str__(self)
8811 """__repr__(MaxVectorKDMetric self) -> std::string"""
8812 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8815 return _object_cast_to_MaxVectorKDMetric(o)
8816 get_from = staticmethod(get_from)
8818 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8819 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8821 class Gaussian3D(_GeometricPrimitive3D):
8822 """Proxy of C++ IMP::algebra::Gaussian3D class"""
8823 __swig_setmethods__ = {}
8824 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8825 __setattr__ =
lambda self, name, value: _swig_setattr(self, Gaussian3D, name, value)
8826 __swig_getmethods__ = {}
8827 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8828 __getattr__ =
lambda self, name: _swig_getattr(self, Gaussian3D, name)
8829 def __init__(self, *args):
8831 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
8832 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
8834 this = _IMP_algebra.new_Gaussian3D(*args)
8835 try: self.this.append(this)
8836 except: self.this = this
8837 def get_reference_frame(self):
8838 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
8839 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
8841 def get_variances(self):
8842 """get_variances(Gaussian3D self) -> Vector3D"""
8843 return _IMP_algebra.Gaussian3D_get_variances(self)
8845 def get_center(self):
8846 """get_center(Gaussian3D self) -> Vector3D"""
8847 return _IMP_algebra.Gaussian3D_get_center(self)
8849 def show(self, *args):
8851 show(Gaussian3D self, _ostream out=std::cout)
8852 show(Gaussian3D self)
8854 return _IMP_algebra.Gaussian3D_show(self, *args)
8857 """__str__(Gaussian3D self) -> std::string"""
8858 return _IMP_algebra.Gaussian3D___str__(self)
8861 """__repr__(Gaussian3D self) -> std::string"""
8862 return _IMP_algebra.Gaussian3D___repr__(self)
8864 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
8865 __del__ =
lambda self :
None;
8866 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
8867 Gaussian3D_swigregister(Gaussian3D)
8871 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
8872 return _IMP_algebra.get_covariance(*args)
8875 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
8876 return _IMP_algebra.get_gaussian_from_covariance(*args)
8880 get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width,
8881 BoundingBox3D bb) -> DenseFloatGrid3D
8883 return _IMP_algebra.get_rasterized(*args)
8885 def _pass_matrix_xf(*args):
8886 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
8887 return _IMP_algebra._pass_matrix_xf(*args)
8889 def _pass_matrix_xd(*args):
8890 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
8891 return _IMP_algebra._pass_matrix_xd(*args)
8893 def _pass_matrix_3d(*args):
8894 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
8895 return _IMP_algebra._pass_matrix_3d(*args)
8897 def _pass_array_xd(*args):
8898 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
8899 return _IMP_algebra._pass_array_xd(*args)
8901 def _pass_vector_xd(*args):
8902 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
8903 return _IMP_algebra._pass_vector_xd(*args)
8905 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8906 __swig_setmethods__ = {}
8907 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8908 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor1D, name, value)
8909 __swig_getmethods__ = {}
8910 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8911 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor1D, name)
8912 def __init__(self, *args):
8914 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8915 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8917 this = _IMP_algebra.new_NearestNeighbor1D(*args)
8918 try: self.this.append(this)
8919 except: self.this = this
8920 def set_query_log(self, *args):
8921 """set_query_log(NearestNeighbor1D self, std::string fname)"""
8922 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8924 def get_nearest_neighbor(self, *args):
8926 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8927 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8929 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8931 def get_nearest_neighbors(self, *args):
8933 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8934 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8936 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8938 def get_in_ball(self, *args):
8940 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8941 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8943 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8945 def get_version_info(self):
8946 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8947 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8950 """__str__(NearestNeighbor1D self) -> std::string"""
8951 return _IMP_algebra.NearestNeighbor1D___str__(self)
8954 """__repr__(NearestNeighbor1D self) -> std::string"""
8955 return _IMP_algebra.NearestNeighbor1D___repr__(self)
8958 return _object_cast_to_NearestNeighborD(o)
8959 get_from = staticmethod(get_from)
8961 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8962 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8965 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8966 __swig_setmethods__ = {}
8967 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8968 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor2D, name, value)
8969 __swig_getmethods__ = {}
8970 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8971 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor2D, name)
8972 def __init__(self, *args):
8974 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8975 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8977 this = _IMP_algebra.new_NearestNeighbor2D(*args)
8978 try: self.this.append(this)
8979 except: self.this = this
8980 def set_query_log(self, *args):
8981 """set_query_log(NearestNeighbor2D self, std::string fname)"""
8982 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8984 def get_nearest_neighbor(self, *args):
8986 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
8987 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
8989 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
8991 def get_nearest_neighbors(self, *args):
8993 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
8994 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
8996 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
8998 def get_in_ball(self, *args):
9000 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
9001 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
9003 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
9005 def get_version_info(self):
9006 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
9007 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
9010 """__str__(NearestNeighbor2D self) -> std::string"""
9011 return _IMP_algebra.NearestNeighbor2D___str__(self)
9014 """__repr__(NearestNeighbor2D self) -> std::string"""
9015 return _IMP_algebra.NearestNeighbor2D___repr__(self)
9018 return _object_cast_to_NearestNeighborD(o)
9019 get_from = staticmethod(get_from)
9021 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
9022 NearestNeighbor2D_swigregister(NearestNeighbor2D)
9025 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
9026 __swig_setmethods__ = {}
9027 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9028 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor3D, name, value)
9029 __swig_getmethods__ = {}
9030 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9031 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor3D, name)
9032 def __init__(self, *args):
9034 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
9035 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
9037 this = _IMP_algebra.new_NearestNeighbor3D(*args)
9038 try: self.this.append(this)
9039 except: self.this = this
9040 def set_query_log(self, *args):
9041 """set_query_log(NearestNeighbor3D self, std::string fname)"""
9042 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
9044 def get_nearest_neighbor(self, *args):
9046 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
9047 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
9049 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
9051 def get_nearest_neighbors(self, *args):
9053 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
9054 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
9056 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
9058 def get_in_ball(self, *args):
9060 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
9061 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
9063 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
9065 def get_version_info(self):
9066 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
9067 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
9070 """__str__(NearestNeighbor3D self) -> std::string"""
9071 return _IMP_algebra.NearestNeighbor3D___str__(self)
9074 """__repr__(NearestNeighbor3D self) -> std::string"""
9075 return _IMP_algebra.NearestNeighbor3D___repr__(self)
9078 return _object_cast_to_NearestNeighborD(o)
9079 get_from = staticmethod(get_from)
9081 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
9082 NearestNeighbor3D_swigregister(NearestNeighbor3D)
9085 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
9086 __swig_setmethods__ = {}
9087 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9088 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor4D, name, value)
9089 __swig_getmethods__ = {}
9090 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9091 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor4D, name)
9092 def __init__(self, *args):
9094 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
9095 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
9097 this = _IMP_algebra.new_NearestNeighbor4D(*args)
9098 try: self.this.append(this)
9099 except: self.this = this
9100 def set_query_log(self, *args):
9101 """set_query_log(NearestNeighbor4D self, std::string fname)"""
9102 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
9104 def get_nearest_neighbor(self, *args):
9106 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
9107 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
9109 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
9111 def get_nearest_neighbors(self, *args):
9113 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
9114 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
9116 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
9118 def get_in_ball(self, *args):
9120 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
9121 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
9123 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
9125 def get_version_info(self):
9126 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
9127 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
9130 """__str__(NearestNeighbor4D self) -> std::string"""
9131 return _IMP_algebra.NearestNeighbor4D___str__(self)
9134 """__repr__(NearestNeighbor4D self) -> std::string"""
9135 return _IMP_algebra.NearestNeighbor4D___repr__(self)
9138 return _object_cast_to_NearestNeighborD(o)
9139 get_from = staticmethod(get_from)
9141 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
9142 NearestNeighbor4D_swigregister(NearestNeighbor4D)
9145 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
9146 __swig_setmethods__ = {}
9147 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9148 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor5D, name, value)
9149 __swig_getmethods__ = {}
9150 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9151 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor5D, name)
9152 def __init__(self, *args):
9154 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
9155 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
9157 this = _IMP_algebra.new_NearestNeighbor5D(*args)
9158 try: self.this.append(this)
9159 except: self.this = this
9160 def set_query_log(self, *args):
9161 """set_query_log(NearestNeighbor5D self, std::string fname)"""
9162 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
9164 def get_nearest_neighbor(self, *args):
9166 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
9167 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
9169 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
9171 def get_nearest_neighbors(self, *args):
9173 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
9174 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
9176 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
9178 def get_in_ball(self, *args):
9180 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
9181 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
9183 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
9185 def get_version_info(self):
9186 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
9187 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
9190 """__str__(NearestNeighbor5D self) -> std::string"""
9191 return _IMP_algebra.NearestNeighbor5D___str__(self)
9194 """__repr__(NearestNeighbor5D self) -> std::string"""
9195 return _IMP_algebra.NearestNeighbor5D___repr__(self)
9198 return _object_cast_to_NearestNeighborD(o)
9199 get_from = staticmethod(get_from)
9201 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
9202 NearestNeighbor5D_swigregister(NearestNeighbor5D)
9205 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
9206 __swig_setmethods__ = {}
9207 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9208 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor6D, name, value)
9209 __swig_getmethods__ = {}
9210 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9211 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor6D, name)
9212 def __init__(self, *args):
9214 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
9215 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
9217 this = _IMP_algebra.new_NearestNeighbor6D(*args)
9218 try: self.this.append(this)
9219 except: self.this = this
9220 def set_query_log(self, *args):
9221 """set_query_log(NearestNeighbor6D self, std::string fname)"""
9222 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
9224 def get_nearest_neighbor(self, *args):
9226 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
9227 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
9229 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
9231 def get_nearest_neighbors(self, *args):
9233 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
9234 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
9236 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
9238 def get_in_ball(self, *args):
9240 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
9241 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
9243 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
9245 def get_version_info(self):
9246 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
9247 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
9250 """__str__(NearestNeighbor6D self) -> std::string"""
9251 return _IMP_algebra.NearestNeighbor6D___str__(self)
9254 """__repr__(NearestNeighbor6D self) -> std::string"""
9255 return _IMP_algebra.NearestNeighbor6D___repr__(self)
9258 return _object_cast_to_NearestNeighborD(o)
9259 get_from = staticmethod(get_from)
9261 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
9262 NearestNeighbor6D_swigregister(NearestNeighbor6D)
9265 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
9266 __swig_setmethods__ = {}
9267 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9268 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborKD, name, value)
9269 __swig_getmethods__ = {}
9270 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9271 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborKD, name)
9272 def __init__(self, *args):
9274 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
9275 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
9277 this = _IMP_algebra.new_NearestNeighborKD(*args)
9278 try: self.this.append(this)
9279 except: self.this = this
9280 def set_query_log(self, *args):
9281 """set_query_log(NearestNeighborKD self, std::string fname)"""
9282 return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
9284 def get_nearest_neighbor(self, *args):
9286 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
9287 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
9289 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
9291 def get_nearest_neighbors(self, *args):
9293 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
9294 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
9296 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
9298 def get_in_ball(self, *args):
9300 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
9301 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
9303 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
9305 def get_version_info(self):
9306 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
9307 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
9310 """__str__(NearestNeighborKD self) -> std::string"""
9311 return _IMP_algebra.NearestNeighborKD___str__(self)
9314 """__repr__(NearestNeighborKD self) -> std::string"""
9315 return _IMP_algebra.NearestNeighborKD___repr__(self)
9318 return _object_cast_to_NearestNeighborD(o)
9319 get_from = staticmethod(get_from)
9321 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
9322 NearestNeighborKD_swigregister(NearestNeighborKD)
9326 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
9327 return _IMP_algebra.get_transformation_aligning_pair(*args)
9328 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
9329 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
9330 __swig_setmethods__ = {}
9331 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9332 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis1D, name, value)
9333 __swig_getmethods__ = {}
9334 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9335 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis1D, name)
9336 def __init__(self, *args):
9338 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
9339 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
9341 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
9342 try: self.this.append(this)
9343 except: self.this = this
9345 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
9346 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
9348 def get_principal_component(self, *args):
9349 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
9350 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
9352 def get_principal_values(self):
9353 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
9354 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
9356 def get_principal_value(self, *args):
9357 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
9358 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
9361 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
9362 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
9364 def set_centroid(self, *args):
9365 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
9366 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
9368 def show(self, *args):
9370 show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
9371 show(PrincipalComponentAnalysis1D self)
9373 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
9375 def __eq__(self, *args):
9376 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9377 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
9379 def __ne__(self, *args):
9380 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9381 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
9383 def __lt__(self, *args):
9384 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9385 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
9387 def __gt__(self, *args):
9388 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9389 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
9391 def __ge__(self, *args):
9392 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9393 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
9395 def __le__(self, *args):
9396 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9397 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
9400 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
9401 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
9404 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
9405 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
9407 def __cmp__(self, *args):
9408 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D arg2) -> int"""
9409 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
9411 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
9412 __del__ =
lambda self :
None;
9413 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
9414 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
9416 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
9417 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
9418 __swig_setmethods__ = {}
9419 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9420 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis2D, name, value)
9421 __swig_getmethods__ = {}
9422 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9423 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis2D, name)
9424 def __init__(self, *args):
9426 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
9427 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
9429 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
9430 try: self.this.append(this)
9431 except: self.this = this
9433 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
9434 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
9436 def get_principal_component(self, *args):
9437 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
9438 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
9440 def get_principal_values(self):
9441 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
9442 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
9444 def get_principal_value(self, *args):
9445 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
9446 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
9449 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
9450 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
9452 def set_centroid(self, *args):
9453 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
9454 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
9456 def show(self, *args):
9458 show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
9459 show(PrincipalComponentAnalysis2D self)
9461 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
9463 def __eq__(self, *args):
9464 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9465 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
9467 def __ne__(self, *args):
9468 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9469 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
9471 def __lt__(self, *args):
9472 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9473 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
9475 def __gt__(self, *args):
9476 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9477 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
9479 def __ge__(self, *args):
9480 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9481 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
9483 def __le__(self, *args):
9484 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9485 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
9488 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
9489 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
9492 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
9493 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
9495 def __cmp__(self, *args):
9496 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D arg2) -> int"""
9497 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
9499 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
9500 __del__ =
lambda self :
None;
9501 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
9502 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
9504 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
9505 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
9506 __swig_setmethods__ = {}
9507 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9508 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis3D, name, value)
9509 __swig_getmethods__ = {}
9510 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9511 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis3D, name)
9512 def __init__(self, *args):
9514 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
9515 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
9517 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
9518 try: self.this.append(this)
9519 except: self.this = this
9521 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
9522 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
9524 def get_principal_component(self, *args):
9525 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
9526 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
9528 def get_principal_values(self):
9529 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
9530 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
9532 def get_principal_value(self, *args):
9533 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
9534 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
9537 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
9538 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
9540 def set_centroid(self, *args):
9541 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
9542 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
9544 def show(self, *args):
9546 show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
9547 show(PrincipalComponentAnalysis3D self)
9549 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
9551 def __eq__(self, *args):
9552 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9553 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
9555 def __ne__(self, *args):
9556 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9557 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
9559 def __lt__(self, *args):
9560 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9561 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
9563 def __gt__(self, *args):
9564 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9565 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
9567 def __ge__(self, *args):
9568 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9569 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
9571 def __le__(self, *args):
9572 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9573 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
9576 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
9577 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
9580 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
9581 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
9583 def __cmp__(self, *args):
9584 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D arg2) -> int"""
9585 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
9587 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
9588 __del__ =
lambda self :
None;
9589 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
9590 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
9592 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
9593 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
9594 __swig_setmethods__ = {}
9595 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9596 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis4D, name, value)
9597 __swig_getmethods__ = {}
9598 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9599 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis4D, name)
9600 def __init__(self, *args):
9602 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
9603 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
9605 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
9606 try: self.this.append(this)
9607 except: self.this = this
9609 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
9610 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
9612 def get_principal_component(self, *args):
9613 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
9614 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
9616 def get_principal_values(self):
9617 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
9618 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
9620 def get_principal_value(self, *args):
9621 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
9622 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
9625 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
9626 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
9628 def set_centroid(self, *args):
9629 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
9630 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
9632 def show(self, *args):
9634 show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
9635 show(PrincipalComponentAnalysis4D self)
9637 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
9639 def __eq__(self, *args):
9640 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9641 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
9643 def __ne__(self, *args):
9644 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9645 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
9647 def __lt__(self, *args):
9648 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9649 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
9651 def __gt__(self, *args):
9652 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9653 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
9655 def __ge__(self, *args):
9656 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9657 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
9659 def __le__(self, *args):
9660 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9661 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
9664 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
9665 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
9668 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
9669 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
9671 def __cmp__(self, *args):
9672 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D arg2) -> int"""
9673 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
9675 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
9676 __del__ =
lambda self :
None;
9677 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
9678 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
9680 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
9681 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
9682 __swig_setmethods__ = {}
9683 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9684 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis5D, name, value)
9685 __swig_getmethods__ = {}
9686 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9687 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis5D, name)
9688 def __init__(self, *args):
9690 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
9691 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
9693 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
9694 try: self.this.append(this)
9695 except: self.this = this
9697 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
9698 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
9700 def get_principal_component(self, *args):
9701 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
9702 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
9704 def get_principal_values(self):
9705 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
9706 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
9708 def get_principal_value(self, *args):
9709 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
9710 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
9713 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
9714 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
9716 def set_centroid(self, *args):
9717 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
9718 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
9720 def show(self, *args):
9722 show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
9723 show(PrincipalComponentAnalysis5D self)
9725 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
9727 def __eq__(self, *args):
9728 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9729 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
9731 def __ne__(self, *args):
9732 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9733 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
9735 def __lt__(self, *args):
9736 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9737 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
9739 def __gt__(self, *args):
9740 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9741 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
9743 def __ge__(self, *args):
9744 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9745 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
9747 def __le__(self, *args):
9748 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9749 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
9752 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
9753 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
9756 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
9757 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
9759 def __cmp__(self, *args):
9760 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D arg2) -> int"""
9761 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
9763 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
9764 __del__ =
lambda self :
None;
9765 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
9766 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
9768 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
9769 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
9770 __swig_setmethods__ = {}
9771 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9772 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis6D, name, value)
9773 __swig_getmethods__ = {}
9774 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9775 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis6D, name)
9776 def __init__(self, *args):
9778 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
9779 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
9781 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
9782 try: self.this.append(this)
9783 except: self.this = this
9785 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
9786 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
9788 def get_principal_component(self, *args):
9789 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
9790 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
9792 def get_principal_values(self):
9793 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
9794 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
9796 def get_principal_value(self, *args):
9797 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
9798 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
9801 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
9802 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
9804 def set_centroid(self, *args):
9805 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
9806 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
9808 def show(self, *args):
9810 show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
9811 show(PrincipalComponentAnalysis6D self)
9813 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
9815 def __eq__(self, *args):
9816 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9817 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
9819 def __ne__(self, *args):
9820 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9821 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
9823 def __lt__(self, *args):
9824 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9825 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
9827 def __gt__(self, *args):
9828 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9829 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
9831 def __ge__(self, *args):
9832 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9833 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
9835 def __le__(self, *args):
9836 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9837 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
9840 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
9841 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
9844 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
9845 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
9847 def __cmp__(self, *args):
9848 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D arg2) -> int"""
9849 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
9851 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
9852 __del__ =
lambda self :
None;
9853 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
9854 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
9856 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
9857 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9858 __swig_setmethods__ = {}
9859 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9860 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysisKD, name, value)
9861 __swig_getmethods__ = {}
9862 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9863 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysisKD, name)
9864 def __init__(self, *args):
9866 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9867 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9869 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9870 try: self.this.append(this)
9871 except: self.this = this
9873 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9874 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9876 def get_principal_component(self, *args):
9877 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9878 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9880 def get_principal_values(self):
9881 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9882 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9884 def get_principal_value(self, *args):
9885 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9886 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9889 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9890 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9892 def set_centroid(self, *args):
9893 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9894 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9896 def show(self, *args):
9898 show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9899 show(PrincipalComponentAnalysisKD self)
9901 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9903 def __eq__(self, *args):
9904 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9905 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9907 def __ne__(self, *args):
9908 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9909 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9911 def __lt__(self, *args):
9912 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9913 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9915 def __gt__(self, *args):
9916 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9917 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9919 def __ge__(self, *args):
9920 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9921 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9923 def __le__(self, *args):
9924 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9925 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9928 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9929 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9932 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9933 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9935 def __cmp__(self, *args):
9936 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD arg2) -> int"""
9937 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9939 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9940 __del__ =
lambda self :
None;
9941 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9942 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9947 get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9948 get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9949 get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9950 get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9951 get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9952 get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9953 get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9955 return _IMP_algebra.get_principal_components(*args)
9959 get_vertices(BoundingBox1D a) -> IMP::base::Vector< IMP::algebra::Vector1D >
9960 get_vertices(BoundingBox2D a) -> IMP::base::Vector< IMP::algebra::Vector2D >
9961 get_vertices(BoundingBox3D a) -> IMP::base::Vector< IMP::algebra::Vector3D >
9962 get_vertices(BoundingBox4D a) -> IMP::base::Vector< IMP::algebra::Vector4D >
9963 get_vertices(BoundingBox5D a) -> IMP::base::Vector< IMP::algebra::Vector5D >
9964 get_vertices(BoundingBox6D a) -> IMP::base::Vector< IMP::algebra::Vector6D >
9965 get_vertices(BoundingBoxKD a) -> IMP::base::Vector< IMP::algebra::VectorKD >
9967 return _IMP_algebra.get_vertices(*args)
9971 get_distance(Rotation3D r0, Rotation3D r1) -> double
9972 get_distance(Segment3D s, Vector3D p) -> double
9973 get_distance(Segment3D a, Segment3D b) -> double
9974 get_distance(Plane3D pln, Vector3D p) -> double
9975 get_distance(Vector1D a, Vector1D b) -> double
9976 get_distance(Vector2D a, Vector2D b) -> double
9977 get_distance(Vector3D a, Vector3D b) -> double
9978 get_distance(Vector4D a, Vector4D b) -> double
9979 get_distance(Vector5D a, Vector5D b) -> double
9980 get_distance(Vector6D a, Vector6D b) -> double
9981 get_distance(VectorKD a, VectorKD b) -> double
9982 get_distance(Sphere1D a, Sphere1D b) -> double
9983 get_distance(Sphere2D a, Sphere2D b) -> double
9984 get_distance(Sphere3D a, Sphere3D b) -> double
9985 get_distance(Sphere4D a, Sphere4D b) -> double
9986 get_distance(Sphere5D a, Sphere5D b) -> double
9987 get_distance(Sphere6D a, Sphere6D b) -> double
9988 get_distance(SphereKD a, SphereKD b) -> double
9990 return _IMP_algebra.get_distance(*args)
9994 get_squared_distance(Vector1D a, Vector1D b) -> double
9995 get_squared_distance(Vector2D a, Vector2D b) -> double
9996 get_squared_distance(Vector3D a, Vector3D b) -> double
9997 get_squared_distance(Vector4D a, Vector4D b) -> double
9998 get_squared_distance(Vector5D a, Vector5D b) -> double
9999 get_squared_distance(Vector6D a, Vector6D b) -> double
10000 get_squared_distance(VectorKD a, VectorKD b) -> double
10002 return _IMP_algebra.get_squared_distance(*args)
10004 def get_basis_vector_1d(*args):
10005 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
10006 return _IMP_algebra.get_basis_vector_1d(*args)
10008 def get_basis_vector_2d(*args):
10009 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
10010 return _IMP_algebra.get_basis_vector_2d(*args)
10012 def get_basis_vector_3d(*args):
10013 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
10014 return _IMP_algebra.get_basis_vector_3d(*args)
10016 def get_basis_vector_4d(*args):
10017 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
10018 return _IMP_algebra.get_basis_vector_4d(*args)
10020 def get_basis_vector_5d(*args):
10021 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
10022 return _IMP_algebra.get_basis_vector_5d(*args)
10024 def get_basis_vector_6d(*args):
10025 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
10026 return _IMP_algebra.get_basis_vector_6d(*args)
10028 def get_zero_vector_1d():
10029 """get_zero_vector_1d() -> Vector1D"""
10030 return _IMP_algebra.get_zero_vector_1d()
10032 def get_zero_vector_2d():
10033 """get_zero_vector_2d() -> Vector2D"""
10034 return _IMP_algebra.get_zero_vector_2d()
10036 def get_zero_vector_3d():
10037 """get_zero_vector_3d() -> Vector3D"""
10038 return _IMP_algebra.get_zero_vector_3d()
10040 def get_zero_vector_4d():
10041 """get_zero_vector_4d() -> Vector4D"""
10042 return _IMP_algebra.get_zero_vector_4d()
10044 def get_zero_vector_5d():
10045 """get_zero_vector_5d() -> Vector5D"""
10046 return _IMP_algebra.get_zero_vector_5d()
10048 def get_zero_vector_6d():
10049 """get_zero_vector_6d() -> Vector6D"""
10050 return _IMP_algebra.get_zero_vector_6d()
10052 def get_ones_vector_1d(v=1):
10054 get_ones_vector_1d(double v=1) -> Vector1D
10055 get_ones_vector_1d() -> Vector1D
10057 return _IMP_algebra.get_ones_vector_1d(v)
10059 def get_ones_vector_2d(v=1):
10061 get_ones_vector_2d(double v=1) -> Vector2D
10062 get_ones_vector_2d() -> Vector2D
10064 return _IMP_algebra.get_ones_vector_2d(v)
10066 def get_ones_vector_3d(v=1):
10068 get_ones_vector_3d(double v=1) -> Vector3D
10069 get_ones_vector_3d() -> Vector3D
10071 return _IMP_algebra.get_ones_vector_3d(v)
10073 def get_ones_vector_4d(v=1):
10075 get_ones_vector_4d(double v=1) -> Vector4D
10076 get_ones_vector_4d() -> Vector4D
10078 return _IMP_algebra.get_ones_vector_4d(v)
10080 def get_ones_vector_5d(v=1):
10082 get_ones_vector_5d(double v=1) -> Vector5D
10083 get_ones_vector_5d() -> Vector5D
10085 return _IMP_algebra.get_ones_vector_5d(v)
10087 def get_ones_vector_6d(v=1):
10089 get_ones_vector_6d(double v=1) -> Vector6D
10090 get_ones_vector_6d() -> Vector6D
10092 return _IMP_algebra.get_ones_vector_6d(v)
10094 def get_unit_bounding_box_1d():
10095 """get_unit_bounding_box_1d() -> BoundingBox1D"""
10096 return _IMP_algebra.get_unit_bounding_box_1d()
10098 def get_unit_bounding_box_2d():
10099 """get_unit_bounding_box_2d() -> BoundingBox2D"""
10100 return _IMP_algebra.get_unit_bounding_box_2d()
10102 def get_unit_bounding_box_3d():
10103 """get_unit_bounding_box_3d() -> BoundingBox3D"""
10104 return _IMP_algebra.get_unit_bounding_box_3d()
10106 def get_unit_bounding_box_4d():
10107 """get_unit_bounding_box_4d() -> BoundingBox4D"""
10108 return _IMP_algebra.get_unit_bounding_box_4d()
10110 def get_unit_bounding_box_5d():
10111 """get_unit_bounding_box_5d() -> BoundingBox5D"""
10112 return _IMP_algebra.get_unit_bounding_box_5d()
10114 def get_unit_bounding_box_6d():
10115 """get_unit_bounding_box_6d() -> BoundingBox6D"""
10116 return _IMP_algebra.get_unit_bounding_box_6d()
10118 def get_cube_1d(*args):
10119 """get_cube_1d(double radius) -> BoundingBox1D"""
10120 return _IMP_algebra.get_cube_1d(*args)
10122 def get_cube_2d(*args):
10123 """get_cube_2d(double radius) -> BoundingBox2D"""
10124 return _IMP_algebra.get_cube_2d(*args)
10126 def get_cube_3d(*args):
10127 """get_cube_3d(double radius) -> BoundingBox3D"""
10128 return _IMP_algebra.get_cube_3d(*args)
10130 def get_cube_4d(*args):
10131 """get_cube_4d(double radius) -> BoundingBox4D"""
10132 return _IMP_algebra.get_cube_4d(*args)
10134 def get_cube_5d(*args):
10135 """get_cube_5d(double radius) -> BoundingBox5D"""
10136 return _IMP_algebra.get_cube_5d(*args)
10138 def get_cube_6d(*args):
10139 """get_cube_6d(double radius) -> BoundingBox6D"""
10140 return _IMP_algebra.get_cube_6d(*args)
10142 def get_unit_sphere_1d():
10143 """get_unit_sphere_1d() -> Sphere1D"""
10144 return _IMP_algebra.get_unit_sphere_1d()
10146 def get_unit_sphere_2d():
10147 """get_unit_sphere_2d() -> Sphere2D"""
10148 return _IMP_algebra.get_unit_sphere_2d()
10150 def get_unit_sphere_3d():
10151 """get_unit_sphere_3d() -> Sphere3D"""
10152 return _IMP_algebra.get_unit_sphere_3d()
10154 def get_unit_sphere_4d():
10155 """get_unit_sphere_4d() -> Sphere4D"""
10156 return _IMP_algebra.get_unit_sphere_4d()
10158 def get_unit_sphere_5d():
10159 """get_unit_sphere_5d() -> Sphere5D"""
10160 return _IMP_algebra.get_unit_sphere_5d()
10162 def get_unit_sphere_6d():
10163 """get_unit_sphere_6d() -> Sphere6D"""
10164 return _IMP_algebra.get_unit_sphere_6d()
10168 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
10169 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
10170 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
10171 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
10172 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
10173 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
10174 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
10175 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
10176 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
10177 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
10178 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
10179 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
10180 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
10181 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
10183 return _IMP_algebra.get_interiors_intersect(*args)
10187 get_random_vector_on(Sphere1D a) -> Vector1D
10188 get_random_vector_on(Sphere2D a) -> Vector2D
10189 get_random_vector_on(Sphere3D a) -> Vector3D
10190 get_random_vector_on(Sphere4D a) -> Vector4D
10191 get_random_vector_on(Sphere5D a) -> Vector5D
10192 get_random_vector_on(Sphere6D a) -> Vector6D
10193 get_random_vector_on(SphereKD a) -> VectorKD
10194 get_random_vector_on(BoundingBox1D a) -> Vector1D
10195 get_random_vector_on(BoundingBox2D a) -> Vector2D
10196 get_random_vector_on(BoundingBox3D a) -> Vector3D
10197 get_random_vector_on(BoundingBox4D a) -> Vector4D
10198 get_random_vector_on(BoundingBox5D a) -> Vector5D
10199 get_random_vector_on(BoundingBox6D a) -> Vector6D
10200 get_random_vector_on(BoundingBoxKD a) -> VectorKD
10202 return _IMP_algebra.get_random_vector_on(*args)
10206 get_random_vector_in(Cylinder3D c) -> Vector3D
10207 get_random_vector_in(Sphere1D a) -> Vector1D
10208 get_random_vector_in(Sphere2D a) -> Vector2D
10209 get_random_vector_in(Sphere3D a) -> Vector3D
10210 get_random_vector_in(Sphere4D a) -> Vector4D
10211 get_random_vector_in(Sphere5D a) -> Vector5D
10212 get_random_vector_in(Sphere6D a) -> Vector6D
10213 get_random_vector_in(SphereKD a) -> VectorKD
10214 get_random_vector_in(BoundingBox1D a) -> Vector1D
10215 get_random_vector_in(BoundingBox2D a) -> Vector2D
10216 get_random_vector_in(BoundingBox3D a) -> Vector3D
10217 get_random_vector_in(BoundingBox4D a) -> Vector4D
10218 get_random_vector_in(BoundingBox5D a) -> Vector5D
10219 get_random_vector_in(BoundingBox6D a) -> Vector6D
10220 get_random_vector_in(BoundingBoxKD a) -> VectorKD
10222 return _IMP_algebra.get_random_vector_in(*args)
10226 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
10227 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
10228 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
10229 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
10230 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
10231 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
10232 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
10234 return _IMP_algebra.get_intersection(*args)
10238 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
10239 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
10240 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
10241 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
10242 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
10243 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
10244 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
10246 return _IMP_algebra.get_union(*args)
10250 get_bounding_box(Segment3D g) -> BoundingBox3D
10251 get_bounding_box(Plane3D g) -> BoundingBox3D
10252 get_bounding_box(Cylinder3D g) -> BoundingBox3D
10253 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
10254 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
10255 get_bounding_box(Cone3D g) -> BoundingBox3D
10256 get_bounding_box(Sphere1D a) -> BoundingBox1D
10257 get_bounding_box(Sphere2D a) -> BoundingBox2D
10258 get_bounding_box(Sphere3D a) -> BoundingBox3D
10259 get_bounding_box(Sphere4D a) -> BoundingBox4D
10260 get_bounding_box(Sphere5D a) -> BoundingBox5D
10261 get_bounding_box(Sphere6D a) -> BoundingBox6D
10262 get_bounding_box(SphereKD a) -> BoundingBoxKD
10264 return _IMP_algebra.get_bounding_box(*args)
10268 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
10269 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
10270 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
10271 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & _in, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
10272 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
10273 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
10274 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
10275 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
10276 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
10277 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
10278 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
10280 return _IMP_algebra.get_uniform_surface_cover(*args)
10284 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
10285 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
10286 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
10287 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
10288 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
10289 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
10290 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
10292 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
10293 class _AxisAnglePair(_object):
10294 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10295 __swig_setmethods__ = {}
10296 __setattr__ =
lambda self, name, value: _swig_setattr(self, _AxisAnglePair, name, value)
10297 __swig_getmethods__ = {}
10298 __getattr__ =
lambda self, name: _swig_getattr(self, _AxisAnglePair, name)
10299 __repr__ = _swig_repr
10300 def __init__(self, *args):
10302 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10303 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10304 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10306 this = _IMP_algebra.new__AxisAnglePair(*args)
10307 try: self.this.append(this)
10308 except: self.this = this
10309 __swig_setmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_set
10310 __swig_getmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_get
10311 if _newclass:first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10312 __swig_setmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_set
10313 __swig_getmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_get
10314 if _newclass:second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10315 def __len__(self):
return 2
10316 def __repr__(self):
return str((self.first, self.second))
10317 def __getitem__(self, index):
10318 if not (index % 2):
10322 def __setitem__(self, index, val):
10323 if not (index % 2):
10327 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10328 __del__ =
lambda self :
None;
10329 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10330 _AxisAnglePair_swigregister(_AxisAnglePair)
10334 """get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
10335 return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10337 def get_rmsd_tranforming_first(*args):
10338 """get_rmsd_tranforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
10339 return _IMP_algebra.get_rmsd_tranforming_first(*args)
10342 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
10343 return _IMP_algebra.get_rmsd(*args)
10344 LinearFit=LinearFit2D
10345 ParabolicFit=ParabolicFit2D
10348 def get_module_version():
10349 """get_module_version() -> std::string const"""
10350 return _IMP_algebra.get_module_version()
10352 def get_example_path(*args):
10353 """get_example_path(std::string fname) -> std::string"""
10354 return _IMP_algebra.get_example_path(*args)
10356 def get_data_path(*args):
10357 """get_data_path(std::string fname) -> std::string"""
10358 return _IMP_algebra.get_data_path(*args)
10359 import _version_check
10360 _version_check.check_version(get_module_version())
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
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
ParticleIndexes get_indexes(const ParticlesTemp &ps)
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
const Cylinder3D & get_cylinder_3d_geometry(const Cylinder3D &g)
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)
BoundingBoxD< 3 > BoundingBox3D
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
double get_surface_area(const BoundingBoxD< 3 > &g)
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.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
compose two rotations a and b
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
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 ®, const ProjectingOptions &options, MasksManagerPtr masks=MasksManagerPtr(), String name="")
Generates a projection from particles.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
double get_area(const Plane3D &g)
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
BoundingBoxD< 5 > BoundingBox5D
DenseGrid3D< float > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
See IMP.base for more information.
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
compute the squared distance between two vectors
VT get_unit_vector(VT vt)
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.
IMP_Eigen::Matrix3d get_covariance(const Gaussian3D &g)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
return the point reflected about the plane
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
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.
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.
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)
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.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Returns the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
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
const Ellipsoid3D & get_ellipsoid_3d_geometry(const Ellipsoid3D &g)
const Plane3D & get_plane_3d_geometry(const Plane3D &g)
Rotation2D get_identity_rotation_2d()
Builds an identity rotation in 2D.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
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.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
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.
const Cone3D & get_cone_3d_geometry(const Cone3D &g)
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)
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotatation from an unnormalized quaternion.
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Common base class for heavy weight IMP objects.
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
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 ¢er)
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.
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
const SpherePatch3D & get_sphere_patch_3d_geometry(const SpherePatch3D &g)
base::Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 8 bounding points for the bounding box.
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.
CheckLevel get_check_level()
Get the current audit mode.
BoundingBoxD< 6 > BoundingBox6D
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
const Segment3D & get_segment_3d_geometry(const Segment3D &g)
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from euler angles.
BoundingBoxD< 1 > BoundingBox1D
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Returns a transformation that does not do anything.
BoundingBoxD< D > get_bounding_box(const BoundingBoxD< D > &g)
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Builds an identity rotation in 2D.