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")
348 _plural_types.append(
"Vector1Ds")
349 _value_types.append(
"Vector1D")
352 _plural_types.append(
"Vector2Ds")
353 _value_types.append(
"Vector2D")
356 _plural_types.append(
"Vector3Ds")
357 _value_types.append(
"Vector3D")
360 _plural_types.append(
"Vector4Ds")
361 _value_types.append(
"Vector4D")
364 _plural_types.append(
"Vector5Ds")
365 _value_types.append(
"Vector5D")
368 _plural_types.append(
"Vector6Ds")
369 _value_types.append(
"Vector6D")
372 _plural_types.append(
"Vector1Ds")
373 _value_types.append(
"VectorD<1>")
376 _plural_types.append(
"Vector2Ds")
377 _value_types.append(
"VectorD<2>")
380 _plural_types.append(
"Vector3Ds")
381 _value_types.append(
"VectorD<3>")
384 _plural_types.append(
"Vector4Ds")
385 _value_types.append(
"VectorD<4>")
388 _plural_types.append(
"Vector5Ds")
389 _value_types.append(
"VectorD<5>")
392 _plural_types.append(
"Vector6Ds")
393 _value_types.append(
"VectorD<6>")
396 _plural_types.append(
"VectorKDs")
397 _value_types.append(
"VectorKD")
400 _plural_types.append(
"VectorKDs")
401 _value_types.append(
"VectorD<-1>")
404 _plural_types.append(
"Sphere1Ds")
405 _value_types.append(
"Sphere1D")
408 _plural_types.append(
"Sphere2Ds")
409 _value_types.append(
"Sphere2D")
412 _plural_types.append(
"Sphere3Ds")
413 _value_types.append(
"Sphere3D")
416 _plural_types.append(
"Sphere4Ds")
417 _value_types.append(
"Sphere4D")
420 _plural_types.append(
"Sphere5Ds")
421 _value_types.append(
"Sphere5D")
424 _plural_types.append(
"Sphere6Ds")
425 _value_types.append(
"Sphere6D")
428 _plural_types.append(
"Sphere1Ds")
429 _value_types.append(
"SphereD<1>")
432 _plural_types.append(
"Sphere2Ds")
433 _value_types.append(
"SphereD<2>")
436 _plural_types.append(
"Sphere3Ds")
437 _value_types.append(
"SphereD<3>")
440 _plural_types.append(
"Sphere4Ds")
441 _value_types.append(
"SphereD<4>")
444 _plural_types.append(
"Sphere5Ds")
445 _value_types.append(
"SphereD<5>")
448 _plural_types.append(
"Sphere6Ds")
449 _value_types.append(
"SphereD<6>")
452 _plural_types.append(
"SphereKDs")
453 _value_types.append(
"SphereKD")
456 _plural_types.append(
"SphereKDs")
457 _value_types.append(
"SphereD<-1>")
460 _plural_types.append(
"BoundingBox1Ds")
461 _value_types.append(
"BoundingBox1D")
464 _plural_types.append(
"BoundingBox2Ds")
465 _value_types.append(
"BoundingBox2D")
468 _plural_types.append(
"BoundingBox3Ds")
469 _value_types.append(
"BoundingBox3D")
472 _plural_types.append(
"BoundingBox4Ds")
473 _value_types.append(
"BoundingBox4D")
476 _plural_types.append(
"BoundingBox5Ds")
477 _value_types.append(
"BoundingBox5D")
480 _plural_types.append(
"BoundingBox6Ds")
481 _value_types.append(
"BoundingBox6D")
484 _plural_types.append(
"BoundingBox1Ds")
485 _value_types.append(
"BoundingBoxD<1>")
488 _plural_types.append(
"BoundingBox2Ds")
489 _value_types.append(
"BoundingBoxD<2>")
492 _plural_types.append(
"BoundingBox3Ds")
493 _value_types.append(
"BoundingBoxD<3>")
496 _plural_types.append(
"BoundingBox4Ds")
497 _value_types.append(
"BoundingBoxD<4>")
500 _plural_types.append(
"BoundingBox5Ds")
501 _value_types.append(
"BoundingBoxD<5>")
504 _plural_types.append(
"BoundingBox6Ds")
505 _value_types.append(
"BoundingBoxD<6>")
508 _plural_types.append(
"BoundingBoxKDs")
509 _value_types.append(
"BoundingBoxKD")
512 _plural_types.append(
"BoundingBoxKDs")
513 _value_types.append(
"BoundingBoxD<-1>")
516 _plural_types.append(
"VectorInput1Ds")
517 _value_types.append(
"VectorInput1D")
520 _plural_types.append(
"VectorInput2Ds")
521 _value_types.append(
"VectorInput2D")
524 _plural_types.append(
"VectorInput3Ds")
525 _value_types.append(
"VectorInput3D")
528 _plural_types.append(
"VectorInput4Ds")
529 _value_types.append(
"VectorInput4D")
532 _plural_types.append(
"VectorInput5Ds")
533 _value_types.append(
"VectorInput5D")
536 _plural_types.append(
"VectorInput6Ds")
537 _value_types.append(
"VectorInput6D")
540 _plural_types.append(
"VectorInput1Ds")
541 _value_types.append(
"VectorInputD<1>")
544 _plural_types.append(
"VectorInput2Ds")
545 _value_types.append(
"VectorInputD<2>")
548 _plural_types.append(
"VectorInput3Ds")
549 _value_types.append(
"VectorInputD<3>")
552 _plural_types.append(
"VectorInput4Ds")
553 _value_types.append(
"VectorInputD<4>")
556 _plural_types.append(
"VectorInput5Ds")
557 _value_types.append(
"VectorInputD<5>")
560 _plural_types.append(
"VectorInput6Ds")
561 _value_types.append(
"VectorInputD<6>")
564 _plural_types.append(
"VectorInputKDs")
565 _value_types.append(
"VectorInputKD")
568 _plural_types.append(
"VectorInputKDs")
569 _value_types.append(
"VectorInputD<-1>")
571 PrincipalComponentAnalysis1Ds=list
572 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
573 _value_types.append(
"PrincipalComponentAnalysis1D")
575 PrincipalComponentAnalysis2Ds=list
576 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
577 _value_types.append(
"PrincipalComponentAnalysis2D")
579 PrincipalComponentAnalysis3Ds=list
580 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
581 _value_types.append(
"PrincipalComponentAnalysis3D")
583 PrincipalComponentAnalysis4Ds=list
584 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
585 _value_types.append(
"PrincipalComponentAnalysis4D")
587 PrincipalComponentAnalysis5Ds=list
588 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
589 _value_types.append(
"PrincipalComponentAnalysis5D")
591 PrincipalComponentAnalysis6Ds=list
592 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
593 _value_types.append(
"PrincipalComponentAnalysis6D")
595 PrincipalComponentAnalysis1Ds=list
596 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
597 _value_types.append(
"PrincipalComponentAnalysisD<1>")
599 PrincipalComponentAnalysis2Ds=list
600 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
601 _value_types.append(
"PrincipalComponentAnalysisD<2>")
603 PrincipalComponentAnalysis3Ds=list
604 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
605 _value_types.append(
"PrincipalComponentAnalysisD<3>")
607 PrincipalComponentAnalysis4Ds=list
608 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
609 _value_types.append(
"PrincipalComponentAnalysisD<4>")
611 PrincipalComponentAnalysis5Ds=list
612 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
613 _value_types.append(
"PrincipalComponentAnalysisD<5>")
615 PrincipalComponentAnalysis6Ds=list
616 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
617 _value_types.append(
"PrincipalComponentAnalysisD<6>")
619 PrincipalComponentAnalysisKDs=list
620 _plural_types.append(
"PrincipalComponentAnalysisKDs")
621 _value_types.append(
"PrincipalComponentAnalysisKD")
623 PrincipalComponentAnalysisKDs=list
624 _plural_types.append(
"PrincipalComponentAnalysisKDs")
625 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
627 _object_types.append(
"NearestNeighbor1D")
630 def _object_cast_to_NearestNeighbor1D(*args):
631 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
632 return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
633 _object_types.append(
"NearestNeighbor2D")
636 def _object_cast_to_NearestNeighbor2D(*args):
637 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
638 return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
639 _object_types.append(
"NearestNeighbor3D")
642 def _object_cast_to_NearestNeighbor3D(*args):
643 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
644 return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
645 _object_types.append(
"NearestNeighbor4D")
648 def _object_cast_to_NearestNeighbor4D(*args):
649 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
650 return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
651 _object_types.append(
"NearestNeighbor5D")
654 def _object_cast_to_NearestNeighbor5D(*args):
655 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
656 return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
657 _object_types.append(
"NearestNeighbor6D")
660 def _object_cast_to_NearestNeighbor6D(*args):
661 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
662 return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
663 _object_types.append(
"NearestNeighborKD")
666 def _object_cast_to_NearestNeighborKD(*args):
667 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
668 return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
669 ReferenceFrame3Ds=list
670 _plural_types.append(
"ReferenceFrame3Ds")
671 _value_types.append(
"ReferenceFrame3D")
673 DefaultEmbedding1Ds=list
674 _plural_types.append(
"DefaultEmbedding1Ds")
675 _value_types.append(
"DefaultEmbedding1D")
677 DefaultEmbedding2Ds=list
678 _plural_types.append(
"DefaultEmbedding2Ds")
679 _value_types.append(
"DefaultEmbedding2D")
681 DefaultEmbedding3Ds=list
682 _plural_types.append(
"DefaultEmbedding3Ds")
683 _value_types.append(
"DefaultEmbedding3D")
685 DefaultEmbedding4Ds=list
686 _plural_types.append(
"DefaultEmbedding4Ds")
687 _value_types.append(
"DefaultEmbedding4D")
689 DefaultEmbedding5Ds=list
690 _plural_types.append(
"DefaultEmbedding5Ds")
691 _value_types.append(
"DefaultEmbedding5D")
693 DefaultEmbedding6Ds=list
694 _plural_types.append(
"DefaultEmbedding6Ds")
695 _value_types.append(
"DefaultEmbedding6D")
697 DefaultEmbedding1Ds=list
698 _plural_types.append(
"DefaultEmbedding1Ds")
699 _value_types.append(
"DefaultEmbeddingD<1>")
701 DefaultEmbedding2Ds=list
702 _plural_types.append(
"DefaultEmbedding2Ds")
703 _value_types.append(
"DefaultEmbeddingD<2>")
705 DefaultEmbedding3Ds=list
706 _plural_types.append(
"DefaultEmbedding3Ds")
707 _value_types.append(
"DefaultEmbeddingD<3>")
709 DefaultEmbedding4Ds=list
710 _plural_types.append(
"DefaultEmbedding4Ds")
711 _value_types.append(
"DefaultEmbeddingD<4>")
713 DefaultEmbedding5Ds=list
714 _plural_types.append(
"DefaultEmbedding5Ds")
715 _value_types.append(
"DefaultEmbeddingD<5>")
717 DefaultEmbedding6Ds=list
718 _plural_types.append(
"DefaultEmbedding6Ds")
719 _value_types.append(
"DefaultEmbeddingD<6>")
721 DefaultEmbeddingKDs=list
722 _plural_types.append(
"DefaultEmbeddingKDs")
723 _value_types.append(
"DefaultEmbeddingKD")
725 DefaultEmbeddingKDs=list
726 _plural_types.append(
"DefaultEmbeddingKDs")
727 _value_types.append(
"DefaultEmbeddingD<-1>")
730 _plural_types.append(
"LogEmbedding1Ds")
731 _value_types.append(
"LogEmbedding1D")
734 _plural_types.append(
"LogEmbedding2Ds")
735 _value_types.append(
"LogEmbedding2D")
738 _plural_types.append(
"LogEmbedding3Ds")
739 _value_types.append(
"LogEmbedding3D")
742 _plural_types.append(
"LogEmbedding4Ds")
743 _value_types.append(
"LogEmbedding4D")
746 _plural_types.append(
"LogEmbedding5Ds")
747 _value_types.append(
"LogEmbedding5D")
750 _plural_types.append(
"LogEmbedding6Ds")
751 _value_types.append(
"LogEmbedding6D")
754 _plural_types.append(
"LogEmbedding1Ds")
755 _value_types.append(
"LogEmbeddingD<1>")
758 _plural_types.append(
"LogEmbedding2Ds")
759 _value_types.append(
"LogEmbeddingD<2>")
762 _plural_types.append(
"LogEmbedding3Ds")
763 _value_types.append(
"LogEmbeddingD<3>")
766 _plural_types.append(
"LogEmbedding4Ds")
767 _value_types.append(
"LogEmbeddingD<4>")
770 _plural_types.append(
"LogEmbedding5Ds")
771 _value_types.append(
"LogEmbeddingD<5>")
774 _plural_types.append(
"LogEmbedding6Ds")
775 _value_types.append(
"LogEmbeddingD<6>")
778 _plural_types.append(
"LogEmbeddingKDs")
779 _value_types.append(
"LogEmbeddingKD")
782 _plural_types.append(
"LogEmbeddingKDs")
783 _value_types.append(
"LogEmbeddingD<-1>")
786 _plural_types.append(
"GridIndex1Ds")
787 _value_types.append(
"GridIndex1D")
790 _plural_types.append(
"GridIndex2Ds")
791 _value_types.append(
"GridIndex2D")
794 _plural_types.append(
"GridIndex3Ds")
795 _value_types.append(
"GridIndex3D")
798 _plural_types.append(
"GridIndex4Ds")
799 _value_types.append(
"GridIndex4D")
802 _plural_types.append(
"GridIndex5Ds")
803 _value_types.append(
"GridIndex5D")
806 _plural_types.append(
"GridIndex6Ds")
807 _value_types.append(
"GridIndex6D")
810 _plural_types.append(
"GridIndex1Ds")
811 _value_types.append(
"GridIndexD<1>")
814 _plural_types.append(
"GridIndex2Ds")
815 _value_types.append(
"GridIndexD<2>")
818 _plural_types.append(
"GridIndex3Ds")
819 _value_types.append(
"GridIndexD<3>")
822 _plural_types.append(
"GridIndex4Ds")
823 _value_types.append(
"GridIndexD<4>")
826 _plural_types.append(
"GridIndex5Ds")
827 _value_types.append(
"GridIndexD<5>")
830 _plural_types.append(
"GridIndex6Ds")
831 _value_types.append(
"GridIndexD<6>")
834 _plural_types.append(
"GridIndexKDs")
835 _value_types.append(
"GridIndexKD")
838 _plural_types.append(
"GridIndexKDs")
839 _value_types.append(
"GridIndexD<-1>")
841 ExtendedGridIndex1Ds=list
842 _plural_types.append(
"ExtendedGridIndex1Ds")
843 _value_types.append(
"ExtendedGridIndex1D")
845 ExtendedGridIndex2Ds=list
846 _plural_types.append(
"ExtendedGridIndex2Ds")
847 _value_types.append(
"ExtendedGridIndex2D")
849 ExtendedGridIndex3Ds=list
850 _plural_types.append(
"ExtendedGridIndex3Ds")
851 _value_types.append(
"ExtendedGridIndex3D")
853 ExtendedGridIndex4Ds=list
854 _plural_types.append(
"ExtendedGridIndex4Ds")
855 _value_types.append(
"ExtendedGridIndex4D")
857 ExtendedGridIndex5Ds=list
858 _plural_types.append(
"ExtendedGridIndex5Ds")
859 _value_types.append(
"ExtendedGridIndex5D")
861 ExtendedGridIndex6Ds=list
862 _plural_types.append(
"ExtendedGridIndex6Ds")
863 _value_types.append(
"ExtendedGridIndex6D")
865 ExtendedGridIndex1Ds=list
866 _plural_types.append(
"ExtendedGridIndex1Ds")
867 _value_types.append(
"ExtendedGridIndexD<1>")
869 ExtendedGridIndex2Ds=list
870 _plural_types.append(
"ExtendedGridIndex2Ds")
871 _value_types.append(
"ExtendedGridIndexD<2>")
873 ExtendedGridIndex3Ds=list
874 _plural_types.append(
"ExtendedGridIndex3Ds")
875 _value_types.append(
"ExtendedGridIndexD<3>")
877 ExtendedGridIndex4Ds=list
878 _plural_types.append(
"ExtendedGridIndex4Ds")
879 _value_types.append(
"ExtendedGridIndexD<4>")
881 ExtendedGridIndex5Ds=list
882 _plural_types.append(
"ExtendedGridIndex5Ds")
883 _value_types.append(
"ExtendedGridIndexD<5>")
885 ExtendedGridIndex6Ds=list
886 _plural_types.append(
"ExtendedGridIndex6Ds")
887 _value_types.append(
"ExtendedGridIndexD<6>")
889 ExtendedGridIndexKDs=list
890 _plural_types.append(
"ExtendedGridIndexKDs")
891 _value_types.append(
"ExtendedGridIndexKD")
893 ExtendedGridIndexKDs=list
894 _plural_types.append(
"ExtendedGridIndexKDs")
895 _value_types.append(
"ExtendedGridIndexD<-1>")
897 BoundedGridRange1Ds=list
898 _plural_types.append(
"BoundedGridRange1Ds")
899 _value_types.append(
"BoundedGridRange1D")
901 BoundedGridRange2Ds=list
902 _plural_types.append(
"BoundedGridRange2Ds")
903 _value_types.append(
"BoundedGridRange2D")
905 BoundedGridRange3Ds=list
906 _plural_types.append(
"BoundedGridRange3Ds")
907 _value_types.append(
"BoundedGridRange3D")
909 BoundedGridRange4Ds=list
910 _plural_types.append(
"BoundedGridRange4Ds")
911 _value_types.append(
"BoundedGridRange4D")
913 BoundedGridRange5Ds=list
914 _plural_types.append(
"BoundedGridRange5Ds")
915 _value_types.append(
"BoundedGridRange5D")
917 BoundedGridRange6Ds=list
918 _plural_types.append(
"BoundedGridRange6Ds")
919 _value_types.append(
"BoundedGridRange6D")
921 BoundedGridRange1Ds=list
922 _plural_types.append(
"BoundedGridRange1Ds")
923 _value_types.append(
"BoundedGridRangeD<1>")
925 BoundedGridRange2Ds=list
926 _plural_types.append(
"BoundedGridRange2Ds")
927 _value_types.append(
"BoundedGridRangeD<2>")
929 BoundedGridRange3Ds=list
930 _plural_types.append(
"BoundedGridRange3Ds")
931 _value_types.append(
"BoundedGridRangeD<3>")
933 BoundedGridRange4Ds=list
934 _plural_types.append(
"BoundedGridRange4Ds")
935 _value_types.append(
"BoundedGridRangeD<4>")
937 BoundedGridRange5Ds=list
938 _plural_types.append(
"BoundedGridRange5Ds")
939 _value_types.append(
"BoundedGridRangeD<5>")
941 BoundedGridRange6Ds=list
942 _plural_types.append(
"BoundedGridRange6Ds")
943 _value_types.append(
"BoundedGridRangeD<6>")
945 BoundedGridRangeKDs=list
946 _plural_types.append(
"BoundedGridRangeKDs")
947 _value_types.append(
"BoundedGridRangeKD")
949 BoundedGridRangeKDs=list
950 _plural_types.append(
"BoundedGridRangeKDs")
951 _value_types.append(
"BoundedGridRangeD<-1>")
953 UnboundedGridRange1Ds=list
954 _plural_types.append(
"UnboundedGridRange1Ds")
955 _value_types.append(
"UnboundedGridRange1D")
957 UnboundedGridRange2Ds=list
958 _plural_types.append(
"UnboundedGridRange2Ds")
959 _value_types.append(
"UnboundedGridRange2D")
961 UnboundedGridRange3Ds=list
962 _plural_types.append(
"UnboundedGridRange3Ds")
963 _value_types.append(
"UnboundedGridRange3D")
965 UnboundedGridRange4Ds=list
966 _plural_types.append(
"UnboundedGridRange4Ds")
967 _value_types.append(
"UnboundedGridRange4D")
969 UnboundedGridRange5Ds=list
970 _plural_types.append(
"UnboundedGridRange5Ds")
971 _value_types.append(
"UnboundedGridRange5D")
973 UnboundedGridRange6Ds=list
974 _plural_types.append(
"UnboundedGridRange6Ds")
975 _value_types.append(
"UnboundedGridRange6D")
977 UnboundedGridRange1Ds=list
978 _plural_types.append(
"UnboundedGridRange1Ds")
979 _value_types.append(
"UnboundedGridRangeD<1>")
981 UnboundedGridRange2Ds=list
982 _plural_types.append(
"UnboundedGridRange2Ds")
983 _value_types.append(
"UnboundedGridRangeD<2>")
985 UnboundedGridRange3Ds=list
986 _plural_types.append(
"UnboundedGridRange3Ds")
987 _value_types.append(
"UnboundedGridRangeD<3>")
989 UnboundedGridRange4Ds=list
990 _plural_types.append(
"UnboundedGridRange4Ds")
991 _value_types.append(
"UnboundedGridRangeD<4>")
993 UnboundedGridRange5Ds=list
994 _plural_types.append(
"UnboundedGridRange5Ds")
995 _value_types.append(
"UnboundedGridRangeD<5>")
997 UnboundedGridRange6Ds=list
998 _plural_types.append(
"UnboundedGridRange6Ds")
999 _value_types.append(
"UnboundedGridRangeD<6>")
1001 UnboundedGridRangeKDs=list
1002 _plural_types.append(
"UnboundedGridRangeKDs")
1003 _value_types.append(
"UnboundedGridRangeKD")
1005 UnboundedGridRangeKDs=list
1006 _plural_types.append(
"UnboundedGridRangeKDs")
1007 _value_types.append(
"UnboundedGridRangeD<-1>")
1010 _plural_types.append(
"LinearFit2Ds")
1011 _value_types.append(
"LinearFit2D")
1013 ParabolicFit2Ds=list
1014 _plural_types.append(
"ParabolicFit2Ds")
1015 _value_types.append(
"ParabolicFit2D")
1018 _plural_types.append(
"FixedXYZs")
1019 _value_types.append(
"FixedXYZ")
1021 class _GeometricPrimitive1D(_object):
1022 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1023 __swig_setmethods__ = {}
1024 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive1D, name, value)
1025 __swig_getmethods__ = {}
1026 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive1D, name)
1027 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1028 __repr__ = _swig_repr
1029 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1030 __del__ =
lambda self :
None;
1031 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1032 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1034 class _GeometricPrimitive2D(_object):
1035 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1036 __swig_setmethods__ = {}
1037 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive2D, name, value)
1038 __swig_getmethods__ = {}
1039 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive2D, name)
1040 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1041 __repr__ = _swig_repr
1042 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1043 __del__ =
lambda self :
None;
1044 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1045 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1047 class _GeometricPrimitive3D(_object):
1048 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1049 __swig_setmethods__ = {}
1050 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive3D, name, value)
1051 __swig_getmethods__ = {}
1052 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive3D, name)
1053 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1054 __repr__ = _swig_repr
1055 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1056 __del__ =
lambda self :
None;
1057 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1058 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1060 class _GeometricPrimitive4D(_object):
1061 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1062 __swig_setmethods__ = {}
1063 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive4D, name, value)
1064 __swig_getmethods__ = {}
1065 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive4D, name)
1066 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1067 __repr__ = _swig_repr
1068 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1069 __del__ =
lambda self :
None;
1070 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1071 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1073 class _GeometricPrimitive5D(_object):
1074 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1075 __swig_setmethods__ = {}
1076 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive5D, name, value)
1077 __swig_getmethods__ = {}
1078 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive5D, name)
1079 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1080 __repr__ = _swig_repr
1081 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1082 __del__ =
lambda self :
None;
1083 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1084 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1086 class _GeometricPrimitive6D(_object):
1087 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1088 __swig_setmethods__ = {}
1089 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive6D, name, value)
1090 __swig_getmethods__ = {}
1091 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive6D, name)
1092 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1093 __repr__ = _swig_repr
1094 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1095 __del__ =
lambda self :
None;
1096 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1097 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1099 class _GeometricPrimitiveKD(_object):
1100 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1101 __swig_setmethods__ = {}
1102 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitiveKD, name, value)
1103 __swig_getmethods__ = {}
1104 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitiveKD, name)
1105 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1106 __repr__ = _swig_repr
1107 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1108 __del__ =
lambda self :
None;
1109 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1110 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1114 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1115 return _IMP_algebra.get_basis_vector_kd(*args)
1118 """get_zero_vector_kd(int D) -> VectorKD"""
1119 return _IMP_algebra.get_zero_vector_kd(*args)
1123 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1124 get_ones_vector_kd(unsigned int D) -> VectorKD
1126 return _IMP_algebra.get_ones_vector_kd(*args)
1129 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1130 return _IMP_algebra.get_vector_product(*args)
1133 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1134 return _IMP_algebra.get_orthogonal_vector(*args)
1137 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1138 return _IMP_algebra.get_centroid(*args)
1141 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1142 return _IMP_algebra.get_radius_of_gyration(*args)
1143 class Rotation3D(_GeometricPrimitive3D):
1144 """Proxy of C++ IMP::algebra::Rotation3D class"""
1145 __swig_setmethods__ = {}
1146 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1147 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation3D, name, value)
1148 __swig_getmethods__ = {}
1149 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1150 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation3D, name)
1151 def __init__(self, *args):
1153 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1154 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1155 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1157 this = _IMP_algebra.new_Rotation3D(*args)
1158 try: self.this.append(this)
1159 except: self.this = this
1160 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1161 __del__ =
lambda self :
None;
1162 def get_rotated_no_cache(self, *args):
1163 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1164 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1166 def get_rotated_one_coordinate_no_cache(self, *args):
1167 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1168 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1170 def get_rotated(self, *args):
1171 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1172 return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1174 def get_rotated_one_coordinate(self, *args):
1175 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1176 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1178 def get_rotation_matrix_row(self, *args):
1179 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1180 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1182 def show(self, *args):
1184 show(Rotation3D self, _ostream out=std::cout)
1185 show(Rotation3D self)
1187 return _IMP_algebra.Rotation3D_show(self, *args)
1189 def get_inverse(self):
1190 """get_inverse(Rotation3D self) -> Rotation3D"""
1191 return _IMP_algebra.Rotation3D_get_inverse(self)
1193 def get_quaternion(self):
1194 """get_quaternion(Rotation3D self) -> Vector4D"""
1195 return _IMP_algebra.Rotation3D_get_quaternion(self)
1197 def __mul__(self, *args):
1199 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1200 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1202 return _IMP_algebra.Rotation3D___mul__(self, *args)
1204 def __div__(self, *args):
1205 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1206 return _IMP_algebra.Rotation3D___div__(self, *args)
1208 def get_derivative(self, *args):
1209 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1210 return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1213 """__str__(Rotation3D self) -> std::string"""
1214 return _IMP_algebra.Rotation3D___str__(self)
1217 """__repr__(Rotation3D self) -> std::string"""
1218 return _IMP_algebra.Rotation3D___repr__(self)
1220 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1221 Rotation3D_swigregister(Rotation3D)
1225 """get_identity_rotation_3d() -> Rotation3D"""
1226 return _IMP_algebra.get_identity_rotation_3d()
1229 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1230 return _IMP_algebra.get_rotation_about_normalized_axis(*args)
1233 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1234 return _IMP_algebra.get_rotation_about_axis(*args)
1237 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1238 return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1242 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1243 double m21, double m22) -> Rotation3D
1245 return _IMP_algebra.get_rotation_from_matrix(*args)
1249 get_random_rotation_3d() -> Rotation3D
1250 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1252 return _IMP_algebra.get_random_rotation_3d(*args)
1255 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1256 return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1259 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1260 return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1263 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1264 return _IMP_algebra.get_rotation_from_vector4d(*args)
1267 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1268 return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1271 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1272 return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1275 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1276 return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1277 class FixedXYZ(_GeometricPrimitive3D):
1278 """Proxy of C++ IMP::algebra::FixedXYZ class"""
1279 __swig_setmethods__ = {}
1280 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1281 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedXYZ, name, value)
1282 __swig_getmethods__ = {}
1283 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1284 __getattr__ =
lambda self, name: _swig_getattr(self, FixedXYZ, name)
1285 def __init__(self, *args):
1287 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1288 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1290 this = _IMP_algebra.new_FixedXYZ(*args)
1291 try: self.this.append(this)
1292 except: self.this = this
1294 """get_x(FixedXYZ self) -> double"""
1295 return _IMP_algebra.FixedXYZ_get_x(self)
1298 """get_y(FixedXYZ self) -> double"""
1299 return _IMP_algebra.FixedXYZ_get_y(self)
1302 """get_z(FixedXYZ self) -> double"""
1303 return _IMP_algebra.FixedXYZ_get_z(self)
1305 def show(self, *args):
1307 show(FixedXYZ self, _ostream out=std::cout)
1310 return _IMP_algebra.FixedXYZ_show(self, *args)
1313 """__str__(FixedXYZ self) -> std::string"""
1314 return _IMP_algebra.FixedXYZ___str__(self)
1317 """__repr__(FixedXYZ self) -> std::string"""
1318 return _IMP_algebra.FixedXYZ___repr__(self)
1320 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1321 __del__ =
lambda self :
None;
1322 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1323 FixedXYZ_swigregister(FixedXYZ)
1327 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1328 return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1331 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1332 return _IMP_algebra.get_interpolated(*args)
1335 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1336 return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1339 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1340 return _IMP_algebra.get_axis_and_angle(*args)
1343 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1344 return _IMP_algebra.get_unit_bounding_box_kd(*args)
1347 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1348 return _IMP_algebra.get_cube_kd(*args)
1351 """get_vertices(BoundingBox3D bb) -> IMP::algebra::Vector3Ds"""
1352 return _IMP_algebra.get_vertices(*args)
1355 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1356 return _IMP_algebra.get_edges(*args)
1357 class Transformation3D(_GeometricPrimitive3D):
1358 """Proxy of C++ IMP::algebra::Transformation3D class"""
1359 __swig_setmethods__ = {}
1360 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1361 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation3D, name, value)
1362 __swig_getmethods__ = {}
1363 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1364 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation3D, name)
1365 def __init__(self, *args):
1367 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1368 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0, 0, 0)) -> Transformation3D
1369 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1370 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1372 this = _IMP_algebra.new_Transformation3D(*args)
1373 try: self.this.append(this)
1374 except: self.this = this
1375 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1376 __del__ =
lambda self :
None;
1377 def get_transformed(self, *args):
1378 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1379 return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1381 def __mul__(self, *args):
1383 __mul__(Transformation3D self, Vector3D v) -> Vector3D
1384 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1386 return _IMP_algebra.Transformation3D___mul__(self, *args)
1388 def __div__(self, *args):
1389 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1390 return _IMP_algebra.Transformation3D___div__(self, *args)
1392 def get_rotation(self):
1393 """get_rotation(Transformation3D self) -> Rotation3D"""
1394 return _IMP_algebra.Transformation3D_get_rotation(self)
1396 def get_translation(self):
1397 """get_translation(Transformation3D self) -> Vector3D"""
1398 return _IMP_algebra.Transformation3D_get_translation(self)
1400 def show(self, *args):
1402 show(Transformation3D self, _ostream out=std::cout)
1403 show(Transformation3D self)
1405 return _IMP_algebra.Transformation3D_show(self, *args)
1407 def get_inverse(self):
1408 """get_inverse(Transformation3D self) -> Transformation3D"""
1409 return _IMP_algebra.Transformation3D_get_inverse(self)
1412 """__str__(Transformation3D self) -> std::string"""
1413 return _IMP_algebra.Transformation3D___str__(self)
1416 """__repr__(Transformation3D self) -> std::string"""
1417 return _IMP_algebra.Transformation3D___repr__(self)
1419 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1420 Transformation3D_swigregister(Transformation3D)
1424 """get_identity_transformation_3d() -> Transformation3D"""
1425 return _IMP_algebra.get_identity_transformation_3d()
1428 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1429 return _IMP_algebra.get_transformation_3d(*args)
1433 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1434 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1435 get_random_local_transformation(Vector3D origin) -> Transformation3D
1437 return _IMP_algebra.get_random_local_transformation(*args)
1438 class Rotation2D(_GeometricPrimitive2D):
1439 """Proxy of C++ IMP::algebra::Rotation2D class"""
1440 __swig_setmethods__ = {}
1441 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1442 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation2D, name, value)
1443 __swig_getmethods__ = {}
1444 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1445 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation2D, name)
1446 def __init__(self, *args):
1448 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1449 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1451 this = _IMP_algebra.new_Rotation2D(*args)
1452 try: self.this.append(this)
1453 except: self.this = this
1454 def get_rotated(self, *args):
1456 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1457 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1459 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1461 def get_inverse(self):
1462 """get_inverse(Rotation2D self) -> Rotation2D"""
1463 return _IMP_algebra.Rotation2D_get_inverse(self)
1465 def set_angle(self, *args):
1466 """set_angle(Rotation2D self, double angle)"""
1467 return _IMP_algebra.Rotation2D_set_angle(self, *args)
1469 def get_angle(self):
1470 """get_angle(Rotation2D self) -> double"""
1471 return _IMP_algebra.Rotation2D_get_angle(self)
1473 def show(self, *args):
1475 show(Rotation2D self, _ostream out=std::cout)
1476 show(Rotation2D self)
1478 return _IMP_algebra.Rotation2D_show(self, *args)
1481 """__str__(Rotation2D self) -> std::string"""
1482 return _IMP_algebra.Rotation2D___str__(self)
1485 """__repr__(Rotation2D self) -> std::string"""
1486 return _IMP_algebra.Rotation2D___repr__(self)
1488 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1489 __del__ =
lambda self :
None;
1490 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1491 Rotation2D_swigregister(Rotation2D)
1495 """get_identity_rotation_2d() -> Rotation2D"""
1496 return _IMP_algebra.get_identity_rotation_2d()
1499 """get_random_rotation_2d() -> Rotation2D"""
1500 return _IMP_algebra.get_random_rotation_2d()
1503 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1504 return _IMP_algebra.get_rotation_to_x_axis(*args)
1505 class Transformation2D(_GeometricPrimitive2D):
1506 """Proxy of C++ IMP::algebra::Transformation2D class"""
1507 __swig_setmethods__ = {}
1508 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1509 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation2D, name, value)
1510 __swig_getmethods__ = {}
1511 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1512 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation2D, name)
1513 def __init__(self, *args):
1515 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1516 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0, 0.0)) -> Transformation2D
1517 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1518 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1520 this = _IMP_algebra.new_Transformation2D(*args)
1521 try: self.this.append(this)
1522 except: self.this = this
1523 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1524 __del__ =
lambda self :
None;
1525 def get_transformed(self, *args):
1526 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1527 return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1529 def __mul__(self, *args):
1531 __mul__(Transformation2D self, Vector2D v) -> Vector2D
1532 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1534 return _IMP_algebra.Transformation2D___mul__(self, *args)
1536 def __div__(self, *args):
1537 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1538 return _IMP_algebra.Transformation2D___div__(self, *args)
1540 def get_rotation(self):
1541 """get_rotation(Transformation2D self) -> Rotation2D"""
1542 return _IMP_algebra.Transformation2D_get_rotation(self)
1544 def set_rotation(self, *args):
1545 """set_rotation(Transformation2D self, double angle)"""
1546 return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1548 def get_translation(self):
1549 """get_translation(Transformation2D self) -> Vector2D"""
1550 return _IMP_algebra.Transformation2D_get_translation(self)
1552 def set_translation(self, *args):
1553 """set_translation(Transformation2D self, Vector2D v)"""
1554 return _IMP_algebra.Transformation2D_set_translation(self, *args)
1556 def show(self, *args):
1558 show(Transformation2D self, _ostream out=std::cout)
1559 show(Transformation2D self)
1561 return _IMP_algebra.Transformation2D_show(self, *args)
1563 def get_inverse(self):
1564 """get_inverse(Transformation2D self) -> Transformation2D"""
1565 return _IMP_algebra.Transformation2D_get_inverse(self)
1568 """__str__(Transformation2D self) -> std::string"""
1569 return _IMP_algebra.Transformation2D___str__(self)
1572 """__repr__(Transformation2D self) -> std::string"""
1573 return _IMP_algebra.Transformation2D___repr__(self)
1575 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1576 Transformation2D_swigregister(Transformation2D)
1580 """get_identity_transformation_2d() -> Transformation2D"""
1581 return _IMP_algebra.get_identity_transformation_2d()
1585 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1586 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1588 return _IMP_algebra.get_rotation_about_point(*args)
1592 compose(Rotation3D a, Rotation3D b) -> Rotation3D
1593 compose(Transformation3D a, Transformation3D b) -> Transformation3D
1594 compose(Rotation2D a, Rotation2D b) -> Rotation2D
1595 compose(Transformation2D a, Transformation2D b) -> Transformation2D
1597 return _IMP_algebra.compose(*args)
1599 def get_unit_sphere_kd(*args):
1600 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
1601 return _IMP_algebra.get_unit_sphere_kd(*args)
1605 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
1606 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
1608 return _IMP_algebra.get_enclosing_sphere(*args)
1611 """get_ball_radius_from_volume_3d(double volume) -> double"""
1612 return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
1615 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
1616 return _IMP_algebra.get_surface_area_and_volume(*args)
1617 class Vector1D(_GeometricPrimitive1D):
1618 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
1619 __swig_setmethods__ = {}
1620 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1621 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector1D, name, value)
1622 __swig_getmethods__ = {}
1623 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1624 __getattr__ =
lambda self, name: _swig_getattr(self, Vector1D, name)
1625 def __init__(self, *args):
1627 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
1628 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
1629 __init__(IMP::algebra::VectorD<(1)> self, double x, double y) -> Vector1D
1630 __init__(IMP::algebra::VectorD<(1)> self, double x, double y, double z) -> Vector1D
1631 __init__(IMP::algebra::VectorD<(1)> self, double x0, double x1, double x2, double x3) -> Vector1D
1632 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
1634 this = _IMP_algebra.new_Vector1D(*args)
1635 try: self.this.append(this)
1636 except: self.this = this
1637 def get_scalar_product(self, *args):
1638 """get_scalar_product(Vector1D self, Vector1D o) -> double"""
1639 return _IMP_algebra.Vector1D_get_scalar_product(self, *args)
1641 def get_squared_magnitude(self):
1642 """get_squared_magnitude(Vector1D self) -> double"""
1643 return _IMP_algebra.Vector1D_get_squared_magnitude(self)
1645 def get_magnitude(self):
1646 """get_magnitude(Vector1D self) -> double"""
1647 return _IMP_algebra.Vector1D_get_magnitude(self)
1649 def get_unit_vector(self):
1650 """get_unit_vector(Vector1D self) -> Vector1D"""
1651 return _IMP_algebra.Vector1D_get_unit_vector(self)
1653 def __mul__(self, *args):
1655 __mul__(Vector1D self, Vector1D o) -> double
1656 __mul__(Vector1D self, double s) -> Vector1D
1658 return _IMP_algebra.Vector1D___mul__(self, *args)
1660 def __div__(self, *args):
1661 """__div__(Vector1D self, double s) -> Vector1D"""
1662 return _IMP_algebra.Vector1D___div__(self, *args)
1665 """__neg__(Vector1D self) -> Vector1D"""
1666 return _IMP_algebra.Vector1D___neg__(self)
1668 def __sub__(self, *args):
1669 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
1670 return _IMP_algebra.Vector1D___sub__(self, *args)
1672 def __add__(self, *args):
1673 """__add__(Vector1D self, Vector1D o) -> Vector1D"""
1674 return _IMP_algebra.Vector1D___add__(self, *args)
1676 def show(self, *args):
1678 show(Vector1D self, _ostream out, std::string delim, bool parens=True)
1679 show(Vector1D self, _ostream out, std::string delim)
1680 show(Vector1D self, _ostream out=std::cout)
1683 return _IMP_algebra.Vector1D_show(self, *args)
1685 def get_dimension(self):
1686 """get_dimension(Vector1D self) -> unsigned int"""
1687 return _IMP_algebra.Vector1D_get_dimension(self)
1690 """__str__(Vector1D self) -> std::string"""
1691 return _IMP_algebra.Vector1D___str__(self)
1694 """__repr__(Vector1D self) -> std::string"""
1695 return _IMP_algebra.Vector1D___repr__(self)
1697 def __cmp__(self, *args):
1698 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
1699 return _IMP_algebra.Vector1D___cmp__(self, *args)
1701 def __getitem__(self, *args):
1702 """__getitem__(Vector1D self, unsigned int index) -> double"""
1703 return _IMP_algebra.Vector1D___getitem__(self, *args)
1705 def __setitem__(self, *args):
1706 """__setitem__(Vector1D self, unsigned int index, double val)"""
1707 return _IMP_algebra.Vector1D___setitem__(self, *args)
1709 def __iadd__(self, *args):
1710 _IMP_algebra.Vector1D___iadd__(self, *args)
1714 def __imul__(self, *args):
1715 _IMP_algebra.Vector1D___imul__(self, *args)
1719 def __idiv__(self, *args):
1720 _IMP_algebra.Vector1D___idiv__(self, *args)
1724 def __isub__(self, *args):
1725 _IMP_algebra.Vector1D___isub__(self, *args)
1730 """__len__(Vector1D self) -> unsigned int"""
1731 return _IMP_algebra.Vector1D___len__(self)
1733 def __rmul__(self, *args):
1734 """__rmul__(Vector1D self, double f) -> Vector1D"""
1735 return _IMP_algebra.Vector1D___rmul__(self, *args)
1737 __swig_destroy__ = _IMP_algebra.delete_Vector1D
1738 __del__ =
lambda self :
None;
1739 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
1740 Vector1D_swigregister(Vector1D)
1742 class Vector2D(_GeometricPrimitive2D):
1743 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
1744 __swig_setmethods__ = {}
1745 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1746 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector2D, name, value)
1747 __swig_getmethods__ = {}
1748 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1749 __getattr__ =
lambda self, name: _swig_getattr(self, Vector2D, name)
1750 def __init__(self, *args):
1752 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
1753 __init__(IMP::algebra::VectorD<(2)> self, double x) -> Vector2D
1754 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
1755 __init__(IMP::algebra::VectorD<(2)> self, double x, double y, double z) -> Vector2D
1756 __init__(IMP::algebra::VectorD<(2)> self, double x0, double x1, double x2, double x3) -> Vector2D
1757 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
1759 this = _IMP_algebra.new_Vector2D(*args)
1760 try: self.this.append(this)
1761 except: self.this = this
1762 def get_scalar_product(self, *args):
1763 """get_scalar_product(Vector2D self, Vector2D o) -> double"""
1764 return _IMP_algebra.Vector2D_get_scalar_product(self, *args)
1766 def get_squared_magnitude(self):
1767 """get_squared_magnitude(Vector2D self) -> double"""
1768 return _IMP_algebra.Vector2D_get_squared_magnitude(self)
1770 def get_magnitude(self):
1771 """get_magnitude(Vector2D self) -> double"""
1772 return _IMP_algebra.Vector2D_get_magnitude(self)
1774 def get_unit_vector(self):
1775 """get_unit_vector(Vector2D self) -> Vector2D"""
1776 return _IMP_algebra.Vector2D_get_unit_vector(self)
1778 def __mul__(self, *args):
1780 __mul__(Vector2D self, Vector2D o) -> double
1781 __mul__(Vector2D self, double s) -> Vector2D
1783 return _IMP_algebra.Vector2D___mul__(self, *args)
1785 def __div__(self, *args):
1786 """__div__(Vector2D self, double s) -> Vector2D"""
1787 return _IMP_algebra.Vector2D___div__(self, *args)
1790 """__neg__(Vector2D self) -> Vector2D"""
1791 return _IMP_algebra.Vector2D___neg__(self)
1793 def __sub__(self, *args):
1794 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
1795 return _IMP_algebra.Vector2D___sub__(self, *args)
1797 def __add__(self, *args):
1798 """__add__(Vector2D self, Vector2D o) -> Vector2D"""
1799 return _IMP_algebra.Vector2D___add__(self, *args)
1801 def show(self, *args):
1803 show(Vector2D self, _ostream out, std::string delim, bool parens=True)
1804 show(Vector2D self, _ostream out, std::string delim)
1805 show(Vector2D self, _ostream out=std::cout)
1808 return _IMP_algebra.Vector2D_show(self, *args)
1810 def get_dimension(self):
1811 """get_dimension(Vector2D self) -> unsigned int"""
1812 return _IMP_algebra.Vector2D_get_dimension(self)
1815 """__str__(Vector2D self) -> std::string"""
1816 return _IMP_algebra.Vector2D___str__(self)
1819 """__repr__(Vector2D self) -> std::string"""
1820 return _IMP_algebra.Vector2D___repr__(self)
1822 def __cmp__(self, *args):
1823 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
1824 return _IMP_algebra.Vector2D___cmp__(self, *args)
1826 def __getitem__(self, *args):
1827 """__getitem__(Vector2D self, unsigned int index) -> double"""
1828 return _IMP_algebra.Vector2D___getitem__(self, *args)
1830 def __setitem__(self, *args):
1831 """__setitem__(Vector2D self, unsigned int index, double val)"""
1832 return _IMP_algebra.Vector2D___setitem__(self, *args)
1834 def __iadd__(self, *args):
1835 _IMP_algebra.Vector2D___iadd__(self, *args)
1839 def __imul__(self, *args):
1840 _IMP_algebra.Vector2D___imul__(self, *args)
1844 def __idiv__(self, *args):
1845 _IMP_algebra.Vector2D___idiv__(self, *args)
1849 def __isub__(self, *args):
1850 _IMP_algebra.Vector2D___isub__(self, *args)
1855 """__len__(Vector2D self) -> unsigned int"""
1856 return _IMP_algebra.Vector2D___len__(self)
1858 def __rmul__(self, *args):
1859 """__rmul__(Vector2D self, double f) -> Vector2D"""
1860 return _IMP_algebra.Vector2D___rmul__(self, *args)
1862 __swig_destroy__ = _IMP_algebra.delete_Vector2D
1863 __del__ =
lambda self :
None;
1864 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
1865 Vector2D_swigregister(Vector2D)
1867 class Vector3D(_GeometricPrimitive3D):
1868 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
1869 __swig_setmethods__ = {}
1870 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1871 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector3D, name, value)
1872 __swig_getmethods__ = {}
1873 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1874 __getattr__ =
lambda self, name: _swig_getattr(self, Vector3D, name)
1875 def __init__(self, *args):
1877 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
1878 __init__(IMP::algebra::VectorD<(3)> self, double x) -> Vector3D
1879 __init__(IMP::algebra::VectorD<(3)> self, double x, double y) -> Vector3D
1880 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
1881 __init__(IMP::algebra::VectorD<(3)> self, double x0, double x1, double x2, double x3) -> Vector3D
1882 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
1884 this = _IMP_algebra.new_Vector3D(*args)
1885 try: self.this.append(this)
1886 except: self.this = this
1887 def get_scalar_product(self, *args):
1888 """get_scalar_product(Vector3D self, Vector3D o) -> double"""
1889 return _IMP_algebra.Vector3D_get_scalar_product(self, *args)
1891 def get_squared_magnitude(self):
1892 """get_squared_magnitude(Vector3D self) -> double"""
1893 return _IMP_algebra.Vector3D_get_squared_magnitude(self)
1895 def get_magnitude(self):
1896 """get_magnitude(Vector3D self) -> double"""
1897 return _IMP_algebra.Vector3D_get_magnitude(self)
1899 def get_unit_vector(self):
1900 """get_unit_vector(Vector3D self) -> Vector3D"""
1901 return _IMP_algebra.Vector3D_get_unit_vector(self)
1903 def __mul__(self, *args):
1905 __mul__(Vector3D self, Vector3D o) -> double
1906 __mul__(Vector3D self, double s) -> Vector3D
1908 return _IMP_algebra.Vector3D___mul__(self, *args)
1910 def __div__(self, *args):
1911 """__div__(Vector3D self, double s) -> Vector3D"""
1912 return _IMP_algebra.Vector3D___div__(self, *args)
1915 """__neg__(Vector3D self) -> Vector3D"""
1916 return _IMP_algebra.Vector3D___neg__(self)
1918 def __sub__(self, *args):
1919 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
1920 return _IMP_algebra.Vector3D___sub__(self, *args)
1922 def __add__(self, *args):
1923 """__add__(Vector3D self, Vector3D o) -> Vector3D"""
1924 return _IMP_algebra.Vector3D___add__(self, *args)
1926 def show(self, *args):
1928 show(Vector3D self, _ostream out, std::string delim, bool parens=True)
1929 show(Vector3D self, _ostream out, std::string delim)
1930 show(Vector3D self, _ostream out=std::cout)
1933 return _IMP_algebra.Vector3D_show(self, *args)
1935 def get_dimension(self):
1936 """get_dimension(Vector3D self) -> unsigned int"""
1937 return _IMP_algebra.Vector3D_get_dimension(self)
1940 """__str__(Vector3D self) -> std::string"""
1941 return _IMP_algebra.Vector3D___str__(self)
1944 """__repr__(Vector3D self) -> std::string"""
1945 return _IMP_algebra.Vector3D___repr__(self)
1947 def __cmp__(self, *args):
1948 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
1949 return _IMP_algebra.Vector3D___cmp__(self, *args)
1951 def __getitem__(self, *args):
1952 """__getitem__(Vector3D self, unsigned int index) -> double"""
1953 return _IMP_algebra.Vector3D___getitem__(self, *args)
1955 def __setitem__(self, *args):
1956 """__setitem__(Vector3D self, unsigned int index, double val)"""
1957 return _IMP_algebra.Vector3D___setitem__(self, *args)
1959 def __iadd__(self, *args):
1960 _IMP_algebra.Vector3D___iadd__(self, *args)
1964 def __imul__(self, *args):
1965 _IMP_algebra.Vector3D___imul__(self, *args)
1969 def __idiv__(self, *args):
1970 _IMP_algebra.Vector3D___idiv__(self, *args)
1974 def __isub__(self, *args):
1975 _IMP_algebra.Vector3D___isub__(self, *args)
1980 """__len__(Vector3D self) -> unsigned int"""
1981 return _IMP_algebra.Vector3D___len__(self)
1983 def __rmul__(self, *args):
1984 """__rmul__(Vector3D self, double f) -> Vector3D"""
1985 return _IMP_algebra.Vector3D___rmul__(self, *args)
1987 __swig_destroy__ = _IMP_algebra.delete_Vector3D
1988 __del__ =
lambda self :
None;
1989 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
1990 Vector3D_swigregister(Vector3D)
1992 class Vector4D(_GeometricPrimitive4D):
1993 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
1994 __swig_setmethods__ = {}
1995 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1996 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector4D, name, value)
1997 __swig_getmethods__ = {}
1998 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1999 __getattr__ =
lambda self, name: _swig_getattr(self, Vector4D, name)
2000 def __init__(self, *args):
2002 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2003 __init__(IMP::algebra::VectorD<(4)> self, double x) -> Vector4D
2004 __init__(IMP::algebra::VectorD<(4)> self, double x, double y) -> Vector4D
2005 __init__(IMP::algebra::VectorD<(4)> self, double x, double y, double z) -> Vector4D
2006 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2007 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2009 this = _IMP_algebra.new_Vector4D(*args)
2010 try: self.this.append(this)
2011 except: self.this = this
2012 def get_scalar_product(self, *args):
2013 """get_scalar_product(Vector4D self, Vector4D o) -> double"""
2014 return _IMP_algebra.Vector4D_get_scalar_product(self, *args)
2016 def get_squared_magnitude(self):
2017 """get_squared_magnitude(Vector4D self) -> double"""
2018 return _IMP_algebra.Vector4D_get_squared_magnitude(self)
2020 def get_magnitude(self):
2021 """get_magnitude(Vector4D self) -> double"""
2022 return _IMP_algebra.Vector4D_get_magnitude(self)
2024 def get_unit_vector(self):
2025 """get_unit_vector(Vector4D self) -> Vector4D"""
2026 return _IMP_algebra.Vector4D_get_unit_vector(self)
2028 def __mul__(self, *args):
2030 __mul__(Vector4D self, Vector4D o) -> double
2031 __mul__(Vector4D self, double s) -> Vector4D
2033 return _IMP_algebra.Vector4D___mul__(self, *args)
2035 def __div__(self, *args):
2036 """__div__(Vector4D self, double s) -> Vector4D"""
2037 return _IMP_algebra.Vector4D___div__(self, *args)
2040 """__neg__(Vector4D self) -> Vector4D"""
2041 return _IMP_algebra.Vector4D___neg__(self)
2043 def __sub__(self, *args):
2044 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2045 return _IMP_algebra.Vector4D___sub__(self, *args)
2047 def __add__(self, *args):
2048 """__add__(Vector4D self, Vector4D o) -> Vector4D"""
2049 return _IMP_algebra.Vector4D___add__(self, *args)
2051 def show(self, *args):
2053 show(Vector4D self, _ostream out, std::string delim, bool parens=True)
2054 show(Vector4D self, _ostream out, std::string delim)
2055 show(Vector4D self, _ostream out=std::cout)
2058 return _IMP_algebra.Vector4D_show(self, *args)
2060 def get_dimension(self):
2061 """get_dimension(Vector4D self) -> unsigned int"""
2062 return _IMP_algebra.Vector4D_get_dimension(self)
2065 """__str__(Vector4D self) -> std::string"""
2066 return _IMP_algebra.Vector4D___str__(self)
2069 """__repr__(Vector4D self) -> std::string"""
2070 return _IMP_algebra.Vector4D___repr__(self)
2072 def __cmp__(self, *args):
2073 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2074 return _IMP_algebra.Vector4D___cmp__(self, *args)
2076 def __getitem__(self, *args):
2077 """__getitem__(Vector4D self, unsigned int index) -> double"""
2078 return _IMP_algebra.Vector4D___getitem__(self, *args)
2080 def __setitem__(self, *args):
2081 """__setitem__(Vector4D self, unsigned int index, double val)"""
2082 return _IMP_algebra.Vector4D___setitem__(self, *args)
2084 def __iadd__(self, *args):
2085 _IMP_algebra.Vector4D___iadd__(self, *args)
2089 def __imul__(self, *args):
2090 _IMP_algebra.Vector4D___imul__(self, *args)
2094 def __idiv__(self, *args):
2095 _IMP_algebra.Vector4D___idiv__(self, *args)
2099 def __isub__(self, *args):
2100 _IMP_algebra.Vector4D___isub__(self, *args)
2105 """__len__(Vector4D self) -> unsigned int"""
2106 return _IMP_algebra.Vector4D___len__(self)
2108 def __rmul__(self, *args):
2109 """__rmul__(Vector4D self, double f) -> Vector4D"""
2110 return _IMP_algebra.Vector4D___rmul__(self, *args)
2112 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2113 __del__ =
lambda self :
None;
2114 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2115 Vector4D_swigregister(Vector4D)
2117 class Vector5D(_GeometricPrimitive5D):
2118 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2119 __swig_setmethods__ = {}
2120 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2121 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector5D, name, value)
2122 __swig_getmethods__ = {}
2123 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2124 __getattr__ =
lambda self, name: _swig_getattr(self, Vector5D, name)
2125 def __init__(self, *args):
2127 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2128 __init__(IMP::algebra::VectorD<(5)> self, double x) -> Vector5D
2129 __init__(IMP::algebra::VectorD<(5)> self, double x, double y) -> Vector5D
2130 __init__(IMP::algebra::VectorD<(5)> self, double x, double y, double z) -> Vector5D
2131 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3) -> Vector5D
2132 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2134 this = _IMP_algebra.new_Vector5D(*args)
2135 try: self.this.append(this)
2136 except: self.this = this
2137 def get_scalar_product(self, *args):
2138 """get_scalar_product(Vector5D self, Vector5D o) -> double"""
2139 return _IMP_algebra.Vector5D_get_scalar_product(self, *args)
2141 def get_squared_magnitude(self):
2142 """get_squared_magnitude(Vector5D self) -> double"""
2143 return _IMP_algebra.Vector5D_get_squared_magnitude(self)
2145 def get_magnitude(self):
2146 """get_magnitude(Vector5D self) -> double"""
2147 return _IMP_algebra.Vector5D_get_magnitude(self)
2149 def get_unit_vector(self):
2150 """get_unit_vector(Vector5D self) -> Vector5D"""
2151 return _IMP_algebra.Vector5D_get_unit_vector(self)
2153 def __mul__(self, *args):
2155 __mul__(Vector5D self, Vector5D o) -> double
2156 __mul__(Vector5D self, double s) -> Vector5D
2158 return _IMP_algebra.Vector5D___mul__(self, *args)
2160 def __div__(self, *args):
2161 """__div__(Vector5D self, double s) -> Vector5D"""
2162 return _IMP_algebra.Vector5D___div__(self, *args)
2165 """__neg__(Vector5D self) -> Vector5D"""
2166 return _IMP_algebra.Vector5D___neg__(self)
2168 def __sub__(self, *args):
2169 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2170 return _IMP_algebra.Vector5D___sub__(self, *args)
2172 def __add__(self, *args):
2173 """__add__(Vector5D self, Vector5D o) -> Vector5D"""
2174 return _IMP_algebra.Vector5D___add__(self, *args)
2176 def show(self, *args):
2178 show(Vector5D self, _ostream out, std::string delim, bool parens=True)
2179 show(Vector5D self, _ostream out, std::string delim)
2180 show(Vector5D self, _ostream out=std::cout)
2183 return _IMP_algebra.Vector5D_show(self, *args)
2185 def get_dimension(self):
2186 """get_dimension(Vector5D self) -> unsigned int"""
2187 return _IMP_algebra.Vector5D_get_dimension(self)
2190 """__str__(Vector5D self) -> std::string"""
2191 return _IMP_algebra.Vector5D___str__(self)
2194 """__repr__(Vector5D self) -> std::string"""
2195 return _IMP_algebra.Vector5D___repr__(self)
2197 def __cmp__(self, *args):
2198 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2199 return _IMP_algebra.Vector5D___cmp__(self, *args)
2201 def __getitem__(self, *args):
2202 """__getitem__(Vector5D self, unsigned int index) -> double"""
2203 return _IMP_algebra.Vector5D___getitem__(self, *args)
2205 def __setitem__(self, *args):
2206 """__setitem__(Vector5D self, unsigned int index, double val)"""
2207 return _IMP_algebra.Vector5D___setitem__(self, *args)
2209 def __iadd__(self, *args):
2210 _IMP_algebra.Vector5D___iadd__(self, *args)
2214 def __imul__(self, *args):
2215 _IMP_algebra.Vector5D___imul__(self, *args)
2219 def __idiv__(self, *args):
2220 _IMP_algebra.Vector5D___idiv__(self, *args)
2224 def __isub__(self, *args):
2225 _IMP_algebra.Vector5D___isub__(self, *args)
2230 """__len__(Vector5D self) -> unsigned int"""
2231 return _IMP_algebra.Vector5D___len__(self)
2233 def __rmul__(self, *args):
2234 """__rmul__(Vector5D self, double f) -> Vector5D"""
2235 return _IMP_algebra.Vector5D___rmul__(self, *args)
2237 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2238 __del__ =
lambda self :
None;
2239 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2240 Vector5D_swigregister(Vector5D)
2242 class Vector6D(_GeometricPrimitive6D):
2243 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2244 __swig_setmethods__ = {}
2245 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2246 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector6D, name, value)
2247 __swig_getmethods__ = {}
2248 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2249 __getattr__ =
lambda self, name: _swig_getattr(self, Vector6D, name)
2250 def __init__(self, *args):
2252 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2253 __init__(IMP::algebra::VectorD<(6)> self, double x) -> Vector6D
2254 __init__(IMP::algebra::VectorD<(6)> self, double x, double y) -> Vector6D
2255 __init__(IMP::algebra::VectorD<(6)> self, double x, double y, double z) -> Vector6D
2256 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3) -> Vector6D
2257 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2259 this = _IMP_algebra.new_Vector6D(*args)
2260 try: self.this.append(this)
2261 except: self.this = this
2262 def get_scalar_product(self, *args):
2263 """get_scalar_product(Vector6D self, Vector6D o) -> double"""
2264 return _IMP_algebra.Vector6D_get_scalar_product(self, *args)
2266 def get_squared_magnitude(self):
2267 """get_squared_magnitude(Vector6D self) -> double"""
2268 return _IMP_algebra.Vector6D_get_squared_magnitude(self)
2270 def get_magnitude(self):
2271 """get_magnitude(Vector6D self) -> double"""
2272 return _IMP_algebra.Vector6D_get_magnitude(self)
2274 def get_unit_vector(self):
2275 """get_unit_vector(Vector6D self) -> Vector6D"""
2276 return _IMP_algebra.Vector6D_get_unit_vector(self)
2278 def __mul__(self, *args):
2280 __mul__(Vector6D self, Vector6D o) -> double
2281 __mul__(Vector6D self, double s) -> Vector6D
2283 return _IMP_algebra.Vector6D___mul__(self, *args)
2285 def __div__(self, *args):
2286 """__div__(Vector6D self, double s) -> Vector6D"""
2287 return _IMP_algebra.Vector6D___div__(self, *args)
2290 """__neg__(Vector6D self) -> Vector6D"""
2291 return _IMP_algebra.Vector6D___neg__(self)
2293 def __sub__(self, *args):
2294 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2295 return _IMP_algebra.Vector6D___sub__(self, *args)
2297 def __add__(self, *args):
2298 """__add__(Vector6D self, Vector6D o) -> Vector6D"""
2299 return _IMP_algebra.Vector6D___add__(self, *args)
2301 def show(self, *args):
2303 show(Vector6D self, _ostream out, std::string delim, bool parens=True)
2304 show(Vector6D self, _ostream out, std::string delim)
2305 show(Vector6D self, _ostream out=std::cout)
2308 return _IMP_algebra.Vector6D_show(self, *args)
2310 def get_dimension(self):
2311 """get_dimension(Vector6D self) -> unsigned int"""
2312 return _IMP_algebra.Vector6D_get_dimension(self)
2315 """__str__(Vector6D self) -> std::string"""
2316 return _IMP_algebra.Vector6D___str__(self)
2319 """__repr__(Vector6D self) -> std::string"""
2320 return _IMP_algebra.Vector6D___repr__(self)
2322 def __cmp__(self, *args):
2323 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2324 return _IMP_algebra.Vector6D___cmp__(self, *args)
2326 def __getitem__(self, *args):
2327 """__getitem__(Vector6D self, unsigned int index) -> double"""
2328 return _IMP_algebra.Vector6D___getitem__(self, *args)
2330 def __setitem__(self, *args):
2331 """__setitem__(Vector6D self, unsigned int index, double val)"""
2332 return _IMP_algebra.Vector6D___setitem__(self, *args)
2334 def __iadd__(self, *args):
2335 _IMP_algebra.Vector6D___iadd__(self, *args)
2339 def __imul__(self, *args):
2340 _IMP_algebra.Vector6D___imul__(self, *args)
2344 def __idiv__(self, *args):
2345 _IMP_algebra.Vector6D___idiv__(self, *args)
2349 def __isub__(self, *args):
2350 _IMP_algebra.Vector6D___isub__(self, *args)
2355 """__len__(Vector6D self) -> unsigned int"""
2356 return _IMP_algebra.Vector6D___len__(self)
2358 def __rmul__(self, *args):
2359 """__rmul__(Vector6D self, double f) -> Vector6D"""
2360 return _IMP_algebra.Vector6D___rmul__(self, *args)
2362 __swig_destroy__ = _IMP_algebra.delete_Vector6D
2363 __del__ =
lambda self :
None;
2364 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2365 Vector6D_swigregister(Vector6D)
2367 class VectorKD(_GeometricPrimitiveKD):
2368 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2369 __swig_setmethods__ = {}
2370 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2371 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKD, name, value)
2372 __swig_getmethods__ = {}
2373 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2374 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKD, name)
2375 def __init__(self, *args):
2377 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2378 __init__(IMP::algebra::VectorD<(-1)> self, double x) -> VectorKD
2379 __init__(IMP::algebra::VectorD<(-1)> self, double x, double y) -> VectorKD
2380 __init__(IMP::algebra::VectorD<(-1)> self, double x, double y, double z) -> VectorKD
2381 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
2382 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2384 this = _IMP_algebra.new_VectorKD(*args)
2385 try: self.this.append(this)
2386 except: self.this = this
2387 def get_scalar_product(self, *args):
2388 """get_scalar_product(VectorKD self, VectorKD o) -> double"""
2389 return _IMP_algebra.VectorKD_get_scalar_product(self, *args)
2391 def get_squared_magnitude(self):
2392 """get_squared_magnitude(VectorKD self) -> double"""
2393 return _IMP_algebra.VectorKD_get_squared_magnitude(self)
2395 def get_magnitude(self):
2396 """get_magnitude(VectorKD self) -> double"""
2397 return _IMP_algebra.VectorKD_get_magnitude(self)
2399 def get_unit_vector(self):
2400 """get_unit_vector(VectorKD self) -> VectorKD"""
2401 return _IMP_algebra.VectorKD_get_unit_vector(self)
2403 def __mul__(self, *args):
2405 __mul__(VectorKD self, VectorKD o) -> double
2406 __mul__(VectorKD self, double s) -> VectorKD
2408 return _IMP_algebra.VectorKD___mul__(self, *args)
2410 def __div__(self, *args):
2411 """__div__(VectorKD self, double s) -> VectorKD"""
2412 return _IMP_algebra.VectorKD___div__(self, *args)
2415 """__neg__(VectorKD self) -> VectorKD"""
2416 return _IMP_algebra.VectorKD___neg__(self)
2418 def __sub__(self, *args):
2419 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2420 return _IMP_algebra.VectorKD___sub__(self, *args)
2422 def __add__(self, *args):
2423 """__add__(VectorKD self, VectorKD o) -> VectorKD"""
2424 return _IMP_algebra.VectorKD___add__(self, *args)
2426 def show(self, *args):
2428 show(VectorKD self, _ostream out, std::string delim, bool parens=True)
2429 show(VectorKD self, _ostream out, std::string delim)
2430 show(VectorKD self, _ostream out=std::cout)
2433 return _IMP_algebra.VectorKD_show(self, *args)
2435 def get_dimension(self):
2436 """get_dimension(VectorKD self) -> unsigned int"""
2437 return _IMP_algebra.VectorKD_get_dimension(self)
2440 """__str__(VectorKD self) -> std::string"""
2441 return _IMP_algebra.VectorKD___str__(self)
2444 """__repr__(VectorKD self) -> std::string"""
2445 return _IMP_algebra.VectorKD___repr__(self)
2447 def __cmp__(self, *args):
2448 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2449 return _IMP_algebra.VectorKD___cmp__(self, *args)
2451 def __getitem__(self, *args):
2452 """__getitem__(VectorKD self, unsigned int index) -> double"""
2453 return _IMP_algebra.VectorKD___getitem__(self, *args)
2455 def __setitem__(self, *args):
2456 """__setitem__(VectorKD self, unsigned int index, double val)"""
2457 return _IMP_algebra.VectorKD___setitem__(self, *args)
2459 def __iadd__(self, *args):
2460 _IMP_algebra.VectorKD___iadd__(self, *args)
2464 def __imul__(self, *args):
2465 _IMP_algebra.VectorKD___imul__(self, *args)
2469 def __idiv__(self, *args):
2470 _IMP_algebra.VectorKD___idiv__(self, *args)
2474 def __isub__(self, *args):
2475 _IMP_algebra.VectorKD___isub__(self, *args)
2480 """__len__(VectorKD self) -> unsigned int"""
2481 return _IMP_algebra.VectorKD___len__(self)
2483 def __rmul__(self, *args):
2484 """__rmul__(VectorKD self, double f) -> VectorKD"""
2485 return _IMP_algebra.VectorKD___rmul__(self, *args)
2487 __swig_destroy__ = _IMP_algebra.delete_VectorKD
2488 __del__ =
lambda self :
None;
2489 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2490 VectorKD_swigregister(VectorKD)
2493 """Proxy of C++ IMP::algebra::VectorInputD<(1)> class"""
2494 __swig_setmethods__ = {}
2495 for _s
in [Vector1D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2496 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput1D, name, value)
2497 __swig_getmethods__ = {}
2498 for _s
in [Vector1D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2499 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput1D, name)
2500 __repr__ = _swig_repr
2501 def __init__(self, *args):
2503 __init__(IMP::algebra::VectorInputD<(1)> self, Vector1D v) -> VectorInput1D
2504 __init__(IMP::algebra::VectorInputD<(1)> self, IMP::Floats const & v) -> VectorInput1D
2505 __init__(IMP::algebra::VectorInputD<(1)> self, double v) -> VectorInput1D
2507 this = _IMP_algebra.new_VectorInput1D(*args)
2508 try: self.this.append(this)
2509 except: self.this = this
2510 __swig_destroy__ = _IMP_algebra.delete_VectorInput1D
2511 __del__ =
lambda self :
None;
2512 VectorInput1D_swigregister = _IMP_algebra.VectorInput1D_swigregister
2513 VectorInput1D_swigregister(VectorInput1D)
2516 """Proxy of C++ IMP::algebra::VectorInputD<(2)> class"""
2517 __swig_setmethods__ = {}
2518 for _s
in [Vector2D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2519 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput2D, name, value)
2520 __swig_getmethods__ = {}
2521 for _s
in [Vector2D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2522 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput2D, name)
2523 def __init__(self, *args):
2525 __init__(IMP::algebra::VectorInputD<(2)> self, Vector2D v) -> VectorInput2D
2526 __init__(IMP::algebra::VectorInputD<(2)> self, IMP::Floats const & v) -> VectorInput2D
2528 this = _IMP_algebra.new_VectorInput2D(*args)
2529 try: self.this.append(this)
2530 except: self.this = this
2532 """__str__(VectorInput2D self) -> std::string"""
2533 return _IMP_algebra.VectorInput2D___str__(self)
2536 """__repr__(VectorInput2D self) -> std::string"""
2537 return _IMP_algebra.VectorInput2D___repr__(self)
2539 def __cmp__(self, *args):
2540 """__cmp__(VectorInput2D self, VectorInput2D arg2) -> int"""
2541 return _IMP_algebra.VectorInput2D___cmp__(self, *args)
2543 __swig_destroy__ = _IMP_algebra.delete_VectorInput2D
2544 __del__ =
lambda self :
None;
2545 VectorInput2D_swigregister = _IMP_algebra.VectorInput2D_swigregister
2546 VectorInput2D_swigregister(VectorInput2D)
2549 """Proxy of C++ IMP::algebra::VectorInputD<(3)> class"""
2550 __swig_setmethods__ = {}
2551 for _s
in [Vector3D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2552 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput3D, name, value)
2553 __swig_getmethods__ = {}
2554 for _s
in [Vector3D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2555 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput3D, name)
2556 def __init__(self, *args):
2558 __init__(IMP::algebra::VectorInputD<(3)> self, Vector3D v) -> VectorInput3D
2559 __init__(IMP::algebra::VectorInputD<(3)> self, IMP::Floats const & v) -> VectorInput3D
2561 this = _IMP_algebra.new_VectorInput3D(*args)
2562 try: self.this.append(this)
2563 except: self.this = this
2565 """__str__(VectorInput3D self) -> std::string"""
2566 return _IMP_algebra.VectorInput3D___str__(self)
2569 """__repr__(VectorInput3D self) -> std::string"""
2570 return _IMP_algebra.VectorInput3D___repr__(self)
2572 def __cmp__(self, *args):
2573 """__cmp__(VectorInput3D self, VectorInput3D arg2) -> int"""
2574 return _IMP_algebra.VectorInput3D___cmp__(self, *args)
2576 __swig_destroy__ = _IMP_algebra.delete_VectorInput3D
2577 __del__ =
lambda self :
None;
2578 VectorInput3D_swigregister = _IMP_algebra.VectorInput3D_swigregister
2579 VectorInput3D_swigregister(VectorInput3D)
2582 """Proxy of C++ IMP::algebra::VectorInputD<(4)> class"""
2583 __swig_setmethods__ = {}
2584 for _s
in [Vector4D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2585 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput4D, name, value)
2586 __swig_getmethods__ = {}
2587 for _s
in [Vector4D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2588 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput4D, name)
2589 def __init__(self, *args):
2591 __init__(IMP::algebra::VectorInputD<(4)> self, Vector4D v) -> VectorInput4D
2592 __init__(IMP::algebra::VectorInputD<(4)> self, IMP::Floats const & v) -> VectorInput4D
2594 this = _IMP_algebra.new_VectorInput4D(*args)
2595 try: self.this.append(this)
2596 except: self.this = this
2598 """__str__(VectorInput4D self) -> std::string"""
2599 return _IMP_algebra.VectorInput4D___str__(self)
2602 """__repr__(VectorInput4D self) -> std::string"""
2603 return _IMP_algebra.VectorInput4D___repr__(self)
2605 def __cmp__(self, *args):
2606 """__cmp__(VectorInput4D self, VectorInput4D arg2) -> int"""
2607 return _IMP_algebra.VectorInput4D___cmp__(self, *args)
2609 __swig_destroy__ = _IMP_algebra.delete_VectorInput4D
2610 __del__ =
lambda self :
None;
2611 VectorInput4D_swigregister = _IMP_algebra.VectorInput4D_swigregister
2612 VectorInput4D_swigregister(VectorInput4D)
2615 """Proxy of C++ IMP::algebra::VectorInputD<(5)> class"""
2616 __swig_setmethods__ = {}
2617 for _s
in [Vector5D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2618 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput5D, name, value)
2619 __swig_getmethods__ = {}
2620 for _s
in [Vector5D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2621 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput5D, name)
2622 def __init__(self, *args):
2624 __init__(IMP::algebra::VectorInputD<(5)> self, Vector5D v) -> VectorInput5D
2625 __init__(IMP::algebra::VectorInputD<(5)> self, IMP::Floats const & v) -> VectorInput5D
2627 this = _IMP_algebra.new_VectorInput5D(*args)
2628 try: self.this.append(this)
2629 except: self.this = this
2631 """__str__(VectorInput5D self) -> std::string"""
2632 return _IMP_algebra.VectorInput5D___str__(self)
2635 """__repr__(VectorInput5D self) -> std::string"""
2636 return _IMP_algebra.VectorInput5D___repr__(self)
2638 def __cmp__(self, *args):
2639 """__cmp__(VectorInput5D self, VectorInput5D arg2) -> int"""
2640 return _IMP_algebra.VectorInput5D___cmp__(self, *args)
2642 __swig_destroy__ = _IMP_algebra.delete_VectorInput5D
2643 __del__ =
lambda self :
None;
2644 VectorInput5D_swigregister = _IMP_algebra.VectorInput5D_swigregister
2645 VectorInput5D_swigregister(VectorInput5D)
2648 """Proxy of C++ IMP::algebra::VectorInputD<(6)> class"""
2649 __swig_setmethods__ = {}
2650 for _s
in [Vector6D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2651 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput6D, name, value)
2652 __swig_getmethods__ = {}
2653 for _s
in [Vector6D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2654 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput6D, name)
2655 def __init__(self, *args):
2657 __init__(IMP::algebra::VectorInputD<(6)> self, Vector6D v) -> VectorInput6D
2658 __init__(IMP::algebra::VectorInputD<(6)> self, IMP::Floats const & v) -> VectorInput6D
2660 this = _IMP_algebra.new_VectorInput6D(*args)
2661 try: self.this.append(this)
2662 except: self.this = this
2664 """__str__(VectorInput6D self) -> std::string"""
2665 return _IMP_algebra.VectorInput6D___str__(self)
2668 """__repr__(VectorInput6D self) -> std::string"""
2669 return _IMP_algebra.VectorInput6D___repr__(self)
2671 def __cmp__(self, *args):
2672 """__cmp__(VectorInput6D self, VectorInput6D arg2) -> int"""
2673 return _IMP_algebra.VectorInput6D___cmp__(self, *args)
2675 __swig_destroy__ = _IMP_algebra.delete_VectorInput6D
2676 __del__ =
lambda self :
None;
2677 VectorInput6D_swigregister = _IMP_algebra.VectorInput6D_swigregister
2678 VectorInput6D_swigregister(VectorInput6D)
2681 """Proxy of C++ IMP::algebra::VectorInputD<(-1)> class"""
2682 __swig_setmethods__ = {}
2683 for _s
in [VectorKD,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2684 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInputKD, name, value)
2685 __swig_getmethods__ = {}
2686 for _s
in [VectorKD,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2687 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInputKD, name)
2688 def __init__(self, *args):
2690 __init__(IMP::algebra::VectorInputD<(-1)> self, VectorKD v) -> VectorInputKD
2691 __init__(IMP::algebra::VectorInputD<(-1)> self, IMP::Floats const & v) -> VectorInputKD
2693 this = _IMP_algebra.new_VectorInputKD(*args)
2694 try: self.this.append(this)
2695 except: self.this = this
2697 """__str__(VectorInputKD self) -> std::string"""
2698 return _IMP_algebra.VectorInputKD___str__(self)
2701 """__repr__(VectorInputKD self) -> std::string"""
2702 return _IMP_algebra.VectorInputKD___repr__(self)
2704 def __cmp__(self, *args):
2705 """__cmp__(VectorInputKD self, VectorInputKD arg2) -> int"""
2706 return _IMP_algebra.VectorInputKD___cmp__(self, *args)
2708 __swig_destroy__ = _IMP_algebra.delete_VectorInputKD
2709 __del__ =
lambda self :
None;
2710 VectorInputKD_swigregister = _IMP_algebra.VectorInputKD_swigregister
2711 VectorInputKD_swigregister(VectorInputKD)
2714 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2715 __swig_setmethods__ = {}
2716 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox1D, name, value)
2717 __swig_getmethods__ = {}
2718 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox1D, name)
2719 def __init__(self, *args):
2721 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2722 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2723 __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D lb, VectorInput1D ub) -> BoundingBox1D
2724 __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D v) -> BoundingBox1D
2725 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2727 this = _IMP_algebra.new_BoundingBox1D(*args)
2728 try: self.this.append(this)
2729 except: self.this = this
2730 def get_dimension(self):
2731 """get_dimension(BoundingBox1D self) -> unsigned int"""
2732 return _IMP_algebra.BoundingBox1D_get_dimension(self)
2734 def get_corner(self, *args):
2735 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2736 return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2738 def get_contains(self, *args):
2740 get_contains(BoundingBox1D self, Vector1D o) -> bool
2741 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2743 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2745 def show(self, *args):
2747 show(BoundingBox1D self, _ostream out=std::cout)
2748 show(BoundingBox1D self)
2750 return _IMP_algebra.BoundingBox1D_show(self, *args)
2753 """__str__(BoundingBox1D self) -> std::string"""
2754 return _IMP_algebra.BoundingBox1D___str__(self)
2757 """__repr__(BoundingBox1D self) -> std::string"""
2758 return _IMP_algebra.BoundingBox1D___repr__(self)
2760 def __cmp__(self, *args):
2761 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2762 return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2764 def __getitem__(self, *args):
2765 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2766 return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2768 def __iadd__(self, *args):
2769 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2773 def __add__(self, *args):
2774 """__add__(BoundingBox1D self, BoundingBox1D o)"""
2775 return _IMP_algebra.BoundingBox1D___add__(self, *args)
2778 """__len__(BoundingBox1D self) -> unsigned int"""
2779 return _IMP_algebra.BoundingBox1D___len__(self)
2781 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2782 __del__ =
lambda self :
None;
2783 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2784 BoundingBox1D_swigregister(BoundingBox1D)
2787 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2788 __swig_setmethods__ = {}
2789 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox2D, name, value)
2790 __swig_getmethods__ = {}
2791 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox2D, name)
2792 def __init__(self, *args):
2794 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2795 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2796 __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D lb, VectorInput2D ub) -> BoundingBox2D
2797 __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D v) -> BoundingBox2D
2798 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2800 this = _IMP_algebra.new_BoundingBox2D(*args)
2801 try: self.this.append(this)
2802 except: self.this = this
2803 def get_dimension(self):
2804 """get_dimension(BoundingBox2D self) -> unsigned int"""
2805 return _IMP_algebra.BoundingBox2D_get_dimension(self)
2807 def get_corner(self, *args):
2808 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2809 return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2811 def get_contains(self, *args):
2813 get_contains(BoundingBox2D self, Vector2D o) -> bool
2814 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2816 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2818 def show(self, *args):
2820 show(BoundingBox2D self, _ostream out=std::cout)
2821 show(BoundingBox2D self)
2823 return _IMP_algebra.BoundingBox2D_show(self, *args)
2826 """__str__(BoundingBox2D self) -> std::string"""
2827 return _IMP_algebra.BoundingBox2D___str__(self)
2830 """__repr__(BoundingBox2D self) -> std::string"""
2831 return _IMP_algebra.BoundingBox2D___repr__(self)
2833 def __cmp__(self, *args):
2834 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2835 return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2837 def __getitem__(self, *args):
2838 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2839 return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2841 def __iadd__(self, *args):
2842 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2846 def __add__(self, *args):
2847 """__add__(BoundingBox2D self, BoundingBox2D o)"""
2848 return _IMP_algebra.BoundingBox2D___add__(self, *args)
2851 """__len__(BoundingBox2D self) -> unsigned int"""
2852 return _IMP_algebra.BoundingBox2D___len__(self)
2854 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2855 __del__ =
lambda self :
None;
2856 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2857 BoundingBox2D_swigregister(BoundingBox2D)
2860 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2861 __swig_setmethods__ = {}
2862 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3D, name, value)
2863 __swig_getmethods__ = {}
2864 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3D, name)
2865 def __init__(self, *args):
2867 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2868 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2869 __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D lb, VectorInput3D ub) -> BoundingBox3D
2870 __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D v) -> BoundingBox3D
2871 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2873 this = _IMP_algebra.new_BoundingBox3D(*args)
2874 try: self.this.append(this)
2875 except: self.this = this
2876 def get_dimension(self):
2877 """get_dimension(BoundingBox3D self) -> unsigned int"""
2878 return _IMP_algebra.BoundingBox3D_get_dimension(self)
2880 def get_corner(self, *args):
2881 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2882 return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2884 def get_contains(self, *args):
2886 get_contains(BoundingBox3D self, Vector3D o) -> bool
2887 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2889 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2891 def show(self, *args):
2893 show(BoundingBox3D self, _ostream out=std::cout)
2894 show(BoundingBox3D self)
2896 return _IMP_algebra.BoundingBox3D_show(self, *args)
2899 """__str__(BoundingBox3D self) -> std::string"""
2900 return _IMP_algebra.BoundingBox3D___str__(self)
2903 """__repr__(BoundingBox3D self) -> std::string"""
2904 return _IMP_algebra.BoundingBox3D___repr__(self)
2906 def __cmp__(self, *args):
2907 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
2908 return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
2910 def __getitem__(self, *args):
2911 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
2912 return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
2914 def __iadd__(self, *args):
2915 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
2919 def __add__(self, *args):
2920 """__add__(BoundingBox3D self, BoundingBox3D o)"""
2921 return _IMP_algebra.BoundingBox3D___add__(self, *args)
2924 """__len__(BoundingBox3D self) -> unsigned int"""
2925 return _IMP_algebra.BoundingBox3D___len__(self)
2927 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
2928 __del__ =
lambda self :
None;
2929 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
2930 BoundingBox3D_swigregister(BoundingBox3D)
2933 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
2934 __swig_setmethods__ = {}
2935 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox4D, name, value)
2936 __swig_getmethods__ = {}
2937 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox4D, name)
2938 def __init__(self, *args):
2940 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
2941 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
2942 __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D lb, VectorInput4D ub) -> BoundingBox4D
2943 __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D v) -> BoundingBox4D
2944 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
2946 this = _IMP_algebra.new_BoundingBox4D(*args)
2947 try: self.this.append(this)
2948 except: self.this = this
2949 def get_dimension(self):
2950 """get_dimension(BoundingBox4D self) -> unsigned int"""
2951 return _IMP_algebra.BoundingBox4D_get_dimension(self)
2953 def get_corner(self, *args):
2954 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
2955 return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
2957 def get_contains(self, *args):
2959 get_contains(BoundingBox4D self, Vector4D o) -> bool
2960 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
2962 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
2964 def show(self, *args):
2966 show(BoundingBox4D self, _ostream out=std::cout)
2967 show(BoundingBox4D self)
2969 return _IMP_algebra.BoundingBox4D_show(self, *args)
2972 """__str__(BoundingBox4D self) -> std::string"""
2973 return _IMP_algebra.BoundingBox4D___str__(self)
2976 """__repr__(BoundingBox4D self) -> std::string"""
2977 return _IMP_algebra.BoundingBox4D___repr__(self)
2979 def __cmp__(self, *args):
2980 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
2981 return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
2983 def __getitem__(self, *args):
2984 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
2985 return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
2987 def __iadd__(self, *args):
2988 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
2992 def __add__(self, *args):
2993 """__add__(BoundingBox4D self, BoundingBox4D o)"""
2994 return _IMP_algebra.BoundingBox4D___add__(self, *args)
2997 """__len__(BoundingBox4D self) -> unsigned int"""
2998 return _IMP_algebra.BoundingBox4D___len__(self)
3000 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3001 __del__ =
lambda self :
None;
3002 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3003 BoundingBox4D_swigregister(BoundingBox4D)
3006 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3007 __swig_setmethods__ = {}
3008 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox5D, name, value)
3009 __swig_getmethods__ = {}
3010 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox5D, name)
3011 def __init__(self, *args):
3013 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3014 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3015 __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D lb, VectorInput5D ub) -> BoundingBox5D
3016 __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D v) -> BoundingBox5D
3017 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3019 this = _IMP_algebra.new_BoundingBox5D(*args)
3020 try: self.this.append(this)
3021 except: self.this = this
3022 def get_dimension(self):
3023 """get_dimension(BoundingBox5D self) -> unsigned int"""
3024 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3026 def get_corner(self, *args):
3027 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3028 return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
3030 def get_contains(self, *args):
3032 get_contains(BoundingBox5D self, Vector5D o) -> bool
3033 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3035 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3037 def show(self, *args):
3039 show(BoundingBox5D self, _ostream out=std::cout)
3040 show(BoundingBox5D self)
3042 return _IMP_algebra.BoundingBox5D_show(self, *args)
3045 """__str__(BoundingBox5D self) -> std::string"""
3046 return _IMP_algebra.BoundingBox5D___str__(self)
3049 """__repr__(BoundingBox5D self) -> std::string"""
3050 return _IMP_algebra.BoundingBox5D___repr__(self)
3052 def __cmp__(self, *args):
3053 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3054 return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
3056 def __getitem__(self, *args):
3057 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3058 return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3060 def __iadd__(self, *args):
3061 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3065 def __add__(self, *args):
3066 """__add__(BoundingBox5D self, BoundingBox5D o)"""
3067 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3070 """__len__(BoundingBox5D self) -> unsigned int"""
3071 return _IMP_algebra.BoundingBox5D___len__(self)
3073 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3074 __del__ =
lambda self :
None;
3075 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3076 BoundingBox5D_swigregister(BoundingBox5D)
3079 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3080 __swig_setmethods__ = {}
3081 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox6D, name, value)
3082 __swig_getmethods__ = {}
3083 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox6D, name)
3084 def __init__(self, *args):
3086 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3087 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3088 __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D lb, VectorInput6D ub) -> BoundingBox6D
3089 __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D v) -> BoundingBox6D
3090 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3092 this = _IMP_algebra.new_BoundingBox6D(*args)
3093 try: self.this.append(this)
3094 except: self.this = this
3095 def get_dimension(self):
3096 """get_dimension(BoundingBox6D self) -> unsigned int"""
3097 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3099 def get_corner(self, *args):
3100 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3101 return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3103 def get_contains(self, *args):
3105 get_contains(BoundingBox6D self, Vector6D o) -> bool
3106 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3108 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3110 def show(self, *args):
3112 show(BoundingBox6D self, _ostream out=std::cout)
3113 show(BoundingBox6D self)
3115 return _IMP_algebra.BoundingBox6D_show(self, *args)
3118 """__str__(BoundingBox6D self) -> std::string"""
3119 return _IMP_algebra.BoundingBox6D___str__(self)
3122 """__repr__(BoundingBox6D self) -> std::string"""
3123 return _IMP_algebra.BoundingBox6D___repr__(self)
3125 def __cmp__(self, *args):
3126 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3127 return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3129 def __getitem__(self, *args):
3130 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3131 return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3133 def __iadd__(self, *args):
3134 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3138 def __add__(self, *args):
3139 """__add__(BoundingBox6D self, BoundingBox6D o)"""
3140 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3143 """__len__(BoundingBox6D self) -> unsigned int"""
3144 return _IMP_algebra.BoundingBox6D___len__(self)
3146 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3147 __del__ =
lambda self :
None;
3148 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3149 BoundingBox6D_swigregister(BoundingBox6D)
3152 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3153 __swig_setmethods__ = {}
3154 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBoxKD, name, value)
3155 __swig_getmethods__ = {}
3156 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBoxKD, name)
3157 def __init__(self, *args):
3159 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3160 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3161 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD lb, VectorInputKD ub) -> BoundingBoxKD
3162 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD v) -> BoundingBoxKD
3163 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3165 this = _IMP_algebra.new_BoundingBoxKD(*args)
3166 try: self.this.append(this)
3167 except: self.this = this
3168 def get_dimension(self):
3169 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3170 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3172 def get_corner(self, *args):
3173 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3174 return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3176 def get_contains(self, *args):
3178 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3179 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3181 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3183 def show(self, *args):
3185 show(BoundingBoxKD self, _ostream out=std::cout)
3186 show(BoundingBoxKD self)
3188 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3191 """__str__(BoundingBoxKD self) -> std::string"""
3192 return _IMP_algebra.BoundingBoxKD___str__(self)
3195 """__repr__(BoundingBoxKD self) -> std::string"""
3196 return _IMP_algebra.BoundingBoxKD___repr__(self)
3198 def __cmp__(self, *args):
3199 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3200 return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3202 def __getitem__(self, *args):
3203 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3204 return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3206 def __iadd__(self, *args):
3207 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3211 def __add__(self, *args):
3212 """__add__(BoundingBoxKD self, BoundingBoxKD o)"""
3213 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3216 """__len__(BoundingBoxKD self) -> unsigned int"""
3217 return _IMP_algebra.BoundingBoxKD___len__(self)
3219 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3220 __del__ =
lambda self :
None;
3221 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3222 BoundingBoxKD_swigregister(BoundingBoxKD)
3224 class Sphere1D(_GeometricPrimitive1D):
3225 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3226 __swig_setmethods__ = {}
3227 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3228 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere1D, name, value)
3229 __swig_getmethods__ = {}
3230 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3231 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere1D, name)
3232 def __init__(self, *args):
3234 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3235 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3237 this = _IMP_algebra.new_Sphere1D(*args)
3238 try: self.this.append(this)
3239 except: self.this = this
3240 def get_radius(self):
3241 """get_radius(Sphere1D self) -> double"""
3242 return _IMP_algebra.Sphere1D_get_radius(self)
3244 def get_center(self):
3245 """get_center(Sphere1D self) -> Vector1D"""
3246 return _IMP_algebra.Sphere1D_get_center(self)
3248 def get_contains(self, *args):
3250 get_contains(Sphere1D self, Sphere1D o) -> bool
3251 get_contains(Sphere1D self, Vector1D p) -> bool
3253 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3255 def show(self, *args):
3257 show(Sphere1D self, _ostream out=std::cout)
3260 return _IMP_algebra.Sphere1D_show(self, *args)
3262 def get_dimension(self):
3263 """get_dimension(Sphere1D self) -> unsigned int"""
3264 return _IMP_algebra.Sphere1D_get_dimension(self)
3267 """__str__(Sphere1D self) -> std::string"""
3268 return _IMP_algebra.Sphere1D___str__(self)
3271 """__repr__(Sphere1D self) -> std::string"""
3272 return _IMP_algebra.Sphere1D___repr__(self)
3274 def __cmp__(self, *args):
3275 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3276 return _IMP_algebra.Sphere1D___cmp__(self, *args)
3278 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3279 __del__ =
lambda self :
None;
3280 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3281 Sphere1D_swigregister(Sphere1D)
3283 class Sphere2D(_GeometricPrimitive2D):
3284 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3285 __swig_setmethods__ = {}
3286 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3287 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere2D, name, value)
3288 __swig_getmethods__ = {}
3289 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3290 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere2D, name)
3291 def __init__(self, *args):
3293 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3294 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3296 this = _IMP_algebra.new_Sphere2D(*args)
3297 try: self.this.append(this)
3298 except: self.this = this
3299 def get_radius(self):
3300 """get_radius(Sphere2D self) -> double"""
3301 return _IMP_algebra.Sphere2D_get_radius(self)
3303 def get_center(self):
3304 """get_center(Sphere2D self) -> Vector2D"""
3305 return _IMP_algebra.Sphere2D_get_center(self)
3307 def get_contains(self, *args):
3309 get_contains(Sphere2D self, Sphere2D o) -> bool
3310 get_contains(Sphere2D self, Vector2D p) -> bool
3312 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3314 def show(self, *args):
3316 show(Sphere2D self, _ostream out=std::cout)
3319 return _IMP_algebra.Sphere2D_show(self, *args)
3321 def get_dimension(self):
3322 """get_dimension(Sphere2D self) -> unsigned int"""
3323 return _IMP_algebra.Sphere2D_get_dimension(self)
3326 """__str__(Sphere2D self) -> std::string"""
3327 return _IMP_algebra.Sphere2D___str__(self)
3330 """__repr__(Sphere2D self) -> std::string"""
3331 return _IMP_algebra.Sphere2D___repr__(self)
3333 def __cmp__(self, *args):
3334 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3335 return _IMP_algebra.Sphere2D___cmp__(self, *args)
3337 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3338 __del__ =
lambda self :
None;
3339 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3340 Sphere2D_swigregister(Sphere2D)
3342 class Sphere3D(_GeometricPrimitive3D):
3343 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3344 __swig_setmethods__ = {}
3345 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3346 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere3D, name, value)
3347 __swig_getmethods__ = {}
3348 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3349 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere3D, name)
3350 def __init__(self, *args):
3352 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3353 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3355 this = _IMP_algebra.new_Sphere3D(*args)
3356 try: self.this.append(this)
3357 except: self.this = this
3358 def get_radius(self):
3359 """get_radius(Sphere3D self) -> double"""
3360 return _IMP_algebra.Sphere3D_get_radius(self)
3362 def get_center(self):
3363 """get_center(Sphere3D self) -> Vector3D"""
3364 return _IMP_algebra.Sphere3D_get_center(self)
3366 def get_contains(self, *args):
3368 get_contains(Sphere3D self, Sphere3D o) -> bool
3369 get_contains(Sphere3D self, Vector3D p) -> bool
3371 return _IMP_algebra.Sphere3D_get_contains(self, *args)
3373 def show(self, *args):
3375 show(Sphere3D self, _ostream out=std::cout)
3378 return _IMP_algebra.Sphere3D_show(self, *args)
3380 def get_dimension(self):
3381 """get_dimension(Sphere3D self) -> unsigned int"""
3382 return _IMP_algebra.Sphere3D_get_dimension(self)
3385 """__str__(Sphere3D self) -> std::string"""
3386 return _IMP_algebra.Sphere3D___str__(self)
3389 """__repr__(Sphere3D self) -> std::string"""
3390 return _IMP_algebra.Sphere3D___repr__(self)
3392 def __cmp__(self, *args):
3393 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3394 return _IMP_algebra.Sphere3D___cmp__(self, *args)
3396 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3397 __del__ =
lambda self :
None;
3398 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3399 Sphere3D_swigregister(Sphere3D)
3401 class Sphere4D(_GeometricPrimitive4D):
3402 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3403 __swig_setmethods__ = {}
3404 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3405 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere4D, name, value)
3406 __swig_getmethods__ = {}
3407 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3408 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere4D, name)
3409 def __init__(self, *args):
3411 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3412 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3414 this = _IMP_algebra.new_Sphere4D(*args)
3415 try: self.this.append(this)
3416 except: self.this = this
3417 def get_radius(self):
3418 """get_radius(Sphere4D self) -> double"""
3419 return _IMP_algebra.Sphere4D_get_radius(self)
3421 def get_center(self):
3422 """get_center(Sphere4D self) -> Vector4D"""
3423 return _IMP_algebra.Sphere4D_get_center(self)
3425 def get_contains(self, *args):
3427 get_contains(Sphere4D self, Sphere4D o) -> bool
3428 get_contains(Sphere4D self, Vector4D p) -> bool
3430 return _IMP_algebra.Sphere4D_get_contains(self, *args)
3432 def show(self, *args):
3434 show(Sphere4D self, _ostream out=std::cout)
3437 return _IMP_algebra.Sphere4D_show(self, *args)
3439 def get_dimension(self):
3440 """get_dimension(Sphere4D self) -> unsigned int"""
3441 return _IMP_algebra.Sphere4D_get_dimension(self)
3444 """__str__(Sphere4D self) -> std::string"""
3445 return _IMP_algebra.Sphere4D___str__(self)
3448 """__repr__(Sphere4D self) -> std::string"""
3449 return _IMP_algebra.Sphere4D___repr__(self)
3451 def __cmp__(self, *args):
3452 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3453 return _IMP_algebra.Sphere4D___cmp__(self, *args)
3455 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3456 __del__ =
lambda self :
None;
3457 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3458 Sphere4D_swigregister(Sphere4D)
3460 class Sphere5D(_GeometricPrimitive5D):
3461 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3462 __swig_setmethods__ = {}
3463 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3464 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere5D, name, value)
3465 __swig_getmethods__ = {}
3466 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3467 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere5D, name)
3468 def __init__(self, *args):
3470 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3471 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3473 this = _IMP_algebra.new_Sphere5D(*args)
3474 try: self.this.append(this)
3475 except: self.this = this
3476 def get_radius(self):
3477 """get_radius(Sphere5D self) -> double"""
3478 return _IMP_algebra.Sphere5D_get_radius(self)
3480 def get_center(self):
3481 """get_center(Sphere5D self) -> Vector5D"""
3482 return _IMP_algebra.Sphere5D_get_center(self)
3484 def get_contains(self, *args):
3486 get_contains(Sphere5D self, Sphere5D o) -> bool
3487 get_contains(Sphere5D self, Vector5D p) -> bool
3489 return _IMP_algebra.Sphere5D_get_contains(self, *args)
3491 def show(self, *args):
3493 show(Sphere5D self, _ostream out=std::cout)
3496 return _IMP_algebra.Sphere5D_show(self, *args)
3498 def get_dimension(self):
3499 """get_dimension(Sphere5D self) -> unsigned int"""
3500 return _IMP_algebra.Sphere5D_get_dimension(self)
3503 """__str__(Sphere5D self) -> std::string"""
3504 return _IMP_algebra.Sphere5D___str__(self)
3507 """__repr__(Sphere5D self) -> std::string"""
3508 return _IMP_algebra.Sphere5D___repr__(self)
3510 def __cmp__(self, *args):
3511 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3512 return _IMP_algebra.Sphere5D___cmp__(self, *args)
3514 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3515 __del__ =
lambda self :
None;
3516 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3517 Sphere5D_swigregister(Sphere5D)
3519 class Sphere6D(_GeometricPrimitive6D):
3520 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3521 __swig_setmethods__ = {}
3522 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3523 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere6D, name, value)
3524 __swig_getmethods__ = {}
3525 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3526 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere6D, name)
3527 def __init__(self, *args):
3529 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3530 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3532 this = _IMP_algebra.new_Sphere6D(*args)
3533 try: self.this.append(this)
3534 except: self.this = this
3535 def get_radius(self):
3536 """get_radius(Sphere6D self) -> double"""
3537 return _IMP_algebra.Sphere6D_get_radius(self)
3539 def get_center(self):
3540 """get_center(Sphere6D self) -> Vector6D"""
3541 return _IMP_algebra.Sphere6D_get_center(self)
3543 def get_contains(self, *args):
3545 get_contains(Sphere6D self, Sphere6D o) -> bool
3546 get_contains(Sphere6D self, Vector6D p) -> bool
3548 return _IMP_algebra.Sphere6D_get_contains(self, *args)
3550 def show(self, *args):
3552 show(Sphere6D self, _ostream out=std::cout)
3555 return _IMP_algebra.Sphere6D_show(self, *args)
3557 def get_dimension(self):
3558 """get_dimension(Sphere6D self) -> unsigned int"""
3559 return _IMP_algebra.Sphere6D_get_dimension(self)
3562 """__str__(Sphere6D self) -> std::string"""
3563 return _IMP_algebra.Sphere6D___str__(self)
3566 """__repr__(Sphere6D self) -> std::string"""
3567 return _IMP_algebra.Sphere6D___repr__(self)
3569 def __cmp__(self, *args):
3570 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3571 return _IMP_algebra.Sphere6D___cmp__(self, *args)
3573 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3574 __del__ =
lambda self :
None;
3575 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3576 Sphere6D_swigregister(Sphere6D)
3578 class SphereKD(_GeometricPrimitiveKD):
3579 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3580 __swig_setmethods__ = {}
3581 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3582 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereKD, name, value)
3583 __swig_getmethods__ = {}
3584 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3585 __getattr__ =
lambda self, name: _swig_getattr(self, SphereKD, name)
3586 def __init__(self, *args):
3588 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3589 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3591 this = _IMP_algebra.new_SphereKD(*args)
3592 try: self.this.append(this)
3593 except: self.this = this
3594 def get_radius(self):
3595 """get_radius(SphereKD self) -> double"""
3596 return _IMP_algebra.SphereKD_get_radius(self)
3598 def get_center(self):
3599 """get_center(SphereKD self) -> VectorKD"""
3600 return _IMP_algebra.SphereKD_get_center(self)
3602 def get_contains(self, *args):
3604 get_contains(SphereKD self, SphereKD o) -> bool
3605 get_contains(SphereKD self, VectorKD p) -> bool
3607 return _IMP_algebra.SphereKD_get_contains(self, *args)
3609 def show(self, *args):
3611 show(SphereKD self, _ostream out=std::cout)
3614 return _IMP_algebra.SphereKD_show(self, *args)
3616 def get_dimension(self):
3617 """get_dimension(SphereKD self) -> unsigned int"""
3618 return _IMP_algebra.SphereKD_get_dimension(self)
3621 """__str__(SphereKD self) -> std::string"""
3622 return _IMP_algebra.SphereKD___str__(self)
3625 """__repr__(SphereKD self) -> std::string"""
3626 return _IMP_algebra.SphereKD___repr__(self)
3628 def __cmp__(self, *args):
3629 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3630 return _IMP_algebra.SphereKD___cmp__(self, *args)
3632 __swig_destroy__ = _IMP_algebra.delete_SphereKD
3633 __del__ =
lambda self :
None;
3634 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3635 SphereKD_swigregister(SphereKD)
3637 class ReferenceFrame3D(_object):
3638 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3639 __swig_setmethods__ = {}
3640 __setattr__ =
lambda self, name, value: _swig_setattr(self, ReferenceFrame3D, name, value)
3641 __swig_getmethods__ = {}
3642 __getattr__ =
lambda self, name: _swig_getattr(self, ReferenceFrame3D, name)
3643 def __init__(self, *args):
3645 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3646 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3648 this = _IMP_algebra.new_ReferenceFrame3D(*args)
3649 try: self.this.append(this)
3650 except: self.this = this
3651 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3652 __del__ =
lambda self :
None;
3653 def get_transformation_to(self):
3654 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3655 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3657 def get_transformation_from(self):
3658 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3659 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3661 def get_global_coordinates(self, *args):
3662 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3663 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3665 def get_local_coordinates(self, *args):
3666 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3667 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3669 def get_global_reference_frame(self, *args):
3670 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3671 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3673 def get_local_reference_frame(self, *args):
3674 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3675 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3677 def show(self, *args):
3679 show(ReferenceFrame3D self, _ostream out=std::cout)
3680 show(ReferenceFrame3D self)
3682 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3685 """__str__(ReferenceFrame3D self) -> std::string"""
3686 return _IMP_algebra.ReferenceFrame3D___str__(self)
3689 """__repr__(ReferenceFrame3D self) -> std::string"""
3690 return _IMP_algebra.ReferenceFrame3D___repr__(self)
3692 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3693 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3696 def get_transformed(*args):
3698 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3699 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3701 return _IMP_algebra.get_transformed(*args)
3703 def get_transformation_from_first_to_second(*args):
3704 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3705 return _IMP_algebra.get_transformation_from_first_to_second(*args)
3706 class SphericalVector3D(_GeometricPrimitive3D):
3707 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3708 __swig_setmethods__ = {}
3709 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3710 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphericalVector3D, name, value)
3711 __swig_getmethods__ = {}
3712 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3713 __getattr__ =
lambda self, name: _swig_getattr(self, SphericalVector3D, name)
3714 def __init__(self, *args):
3716 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3717 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3718 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3719 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3721 this = _IMP_algebra.new_SphericalVector3D(*args)
3722 try: self.this.append(this)
3723 except: self.this = this
3724 def get_cartesian_coordinates(self):
3725 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3726 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3728 def show(self, *args):
3730 show(SphericalVector3D self, _ostream out=std::cout)
3731 show(SphericalVector3D self)
3733 return _IMP_algebra.SphericalVector3D_show(self, *args)
3736 """__str__(SphericalVector3D self) -> std::string"""
3737 return _IMP_algebra.SphericalVector3D___str__(self)
3740 """__repr__(SphericalVector3D self) -> std::string"""
3741 return _IMP_algebra.SphericalVector3D___repr__(self)
3743 def __getitem__(self, *args):
3744 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3745 return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3747 def __setitem__(self, *args):
3748 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3749 return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3751 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3752 __del__ =
lambda self :
None;
3753 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3754 SphericalVector3D_swigregister(SphericalVector3D)
3758 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3759 return _IMP_algebra.get_alignments_from_first_to_second(*args)
3760 class Segment3D(_GeometricPrimitive3D):
3761 """Proxy of C++ IMP::algebra::Segment3D class"""
3762 __swig_setmethods__ = {}
3763 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3764 __setattr__ =
lambda self, name, value: _swig_setattr(self, Segment3D, name, value)
3765 __swig_getmethods__ = {}
3766 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3767 __getattr__ =
lambda self, name: _swig_getattr(self, Segment3D, name)
3768 def __init__(self, *args):
3770 __init__(IMP::algebra::Segment3D self) -> Segment3D
3771 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3773 this = _IMP_algebra.new_Segment3D(*args)
3774 try: self.this.append(this)
3775 except: self.this = this
3776 def get_point(self, *args):
3777 """get_point(Segment3D self, unsigned int i) -> Vector3D"""
3778 return _IMP_algebra.Segment3D_get_point(self, *args)
3780 def get_middle_point(self):
3781 """get_middle_point(Segment3D self) -> Vector3D"""
3782 return _IMP_algebra.Segment3D_get_middle_point(self)
3784 def get_direction(self):
3785 """get_direction(Segment3D self) -> Vector3D"""
3786 return _IMP_algebra.Segment3D_get_direction(self)
3788 def get_length(self):
3789 """get_length(Segment3D self) -> double"""
3790 return _IMP_algebra.Segment3D_get_length(self)
3792 def show(self, *args):
3794 show(Segment3D self, _ostream out=std::cout)
3795 show(Segment3D self)
3797 return _IMP_algebra.Segment3D_show(self, *args)
3800 """__str__(Segment3D self) -> std::string"""
3801 return _IMP_algebra.Segment3D___str__(self)
3804 """__repr__(Segment3D self) -> std::string"""
3805 return _IMP_algebra.Segment3D___repr__(self)
3807 __swig_destroy__ = _IMP_algebra.delete_Segment3D
3808 __del__ =
lambda self :
None;
3809 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3810 Segment3D_swigregister(Segment3D)
3814 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3815 return _IMP_algebra.get_segment_3d_geometry(*args)
3818 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3819 return _IMP_algebra.get_relative_projection_on_segment(*args)
3820 class Triangle3D(_GeometricPrimitive3D):
3821 """Proxy of C++ IMP::algebra::Triangle3D class"""
3822 __swig_setmethods__ = {}
3823 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3824 __setattr__ =
lambda self, name, value: _swig_setattr(self, Triangle3D, name, value)
3825 __swig_getmethods__ = {}
3826 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3827 __getattr__ =
lambda self, name: _swig_getattr(self, Triangle3D, name)
3828 def __init__(self, *args):
3830 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3831 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3833 this = _IMP_algebra.new_Triangle3D(*args)
3834 try: self.this.append(this)
3835 except: self.this = this
3836 def get_point(self, *args):
3837 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3838 return _IMP_algebra.Triangle3D_get_point(self, *args)
3840 def show(self, *args):
3842 show(Triangle3D self, _ostream out=std::cout)
3843 show(Triangle3D self)
3845 return _IMP_algebra.Triangle3D_show(self, *args)
3847 def get_edge_lengths(self):
3848 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3849 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3852 """__str__(Triangle3D self) -> std::string"""
3853 return _IMP_algebra.Triangle3D___str__(self)
3856 """__repr__(Triangle3D self) -> std::string"""
3857 return _IMP_algebra.Triangle3D___repr__(self)
3859 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3860 __del__ =
lambda self :
None;
3861 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3862 Triangle3D_swigregister(Triangle3D)
3866 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3867 return _IMP_algebra.get_largest_triangle(*args)
3870 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3871 return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3874 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3875 return _IMP_algebra.get_are_colinear(*args)
3876 class LinearFit2D(_GeometricPrimitive2D):
3877 """Proxy of C++ IMP::algebra::LinearFit2D class"""
3878 __swig_setmethods__ = {}
3879 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3880 __setattr__ =
lambda self, name, value: _swig_setattr(self, LinearFit2D, name, value)
3881 __swig_getmethods__ = {}
3882 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3883 __getattr__ =
lambda self, name: _swig_getattr(self, LinearFit2D, name)
3884 def __init__(self, *args):
3886 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3887 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3889 this = _IMP_algebra.new_LinearFit2D(*args)
3890 try: self.this.append(this)
3891 except: self.this = this
3892 def get_fit_error(self):
3893 """get_fit_error(LinearFit2D self) -> double"""
3894 return _IMP_algebra.LinearFit2D_get_fit_error(self)
3897 """get_a(LinearFit2D self) -> double"""
3898 return _IMP_algebra.LinearFit2D_get_a(self)
3901 """get_b(LinearFit2D self) -> double"""
3902 return _IMP_algebra.LinearFit2D_get_b(self)
3904 def show(self, *args):
3906 show(LinearFit2D self, _ostream out=std::cout)
3907 show(LinearFit2D self)
3909 return _IMP_algebra.LinearFit2D_show(self, *args)
3912 """__str__(LinearFit2D self) -> std::string"""
3913 return _IMP_algebra.LinearFit2D___str__(self)
3916 """__repr__(LinearFit2D self) -> std::string"""
3917 return _IMP_algebra.LinearFit2D___repr__(self)
3919 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
3920 __del__ =
lambda self :
None;
3921 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
3922 LinearFit2D_swigregister(LinearFit2D)
3924 class ParabolicFit2D(_GeometricPrimitive2D):
3925 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
3926 __swig_setmethods__ = {}
3927 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3928 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParabolicFit2D, name, value)
3929 __swig_getmethods__ = {}
3930 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3931 __getattr__ =
lambda self, name: _swig_getattr(self, ParabolicFit2D, name)
3932 def __init__(self, *args):
3933 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
3934 this = _IMP_algebra.new_ParabolicFit2D(*args)
3935 try: self.this.append(this)
3936 except: self.this = this
3937 def get_fit_error(self):
3938 """get_fit_error(ParabolicFit2D self) -> double"""
3939 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
3942 """get_a(ParabolicFit2D self) -> double"""
3943 return _IMP_algebra.ParabolicFit2D_get_a(self)
3946 """get_b(ParabolicFit2D self) -> double"""
3947 return _IMP_algebra.ParabolicFit2D_get_b(self)
3950 """get_c(ParabolicFit2D self) -> double"""
3951 return _IMP_algebra.ParabolicFit2D_get_c(self)
3953 def show(self, *args):
3955 show(ParabolicFit2D self, _ostream out=std::cout)
3956 show(ParabolicFit2D self)
3958 return _IMP_algebra.ParabolicFit2D_show(self, *args)
3961 """__str__(ParabolicFit2D self) -> std::string"""
3962 return _IMP_algebra.ParabolicFit2D___str__(self)
3965 """__repr__(ParabolicFit2D self) -> std::string"""
3966 return _IMP_algebra.ParabolicFit2D___repr__(self)
3968 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
3969 __del__ =
lambda self :
None;
3970 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
3971 ParabolicFit2D_swigregister(ParabolicFit2D)
3973 class Plane3D(_GeometricPrimitive3D):
3974 """Proxy of C++ IMP::algebra::Plane3D class"""
3975 __swig_setmethods__ = {}
3976 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3977 __setattr__ =
lambda self, name, value: _swig_setattr(self, Plane3D, name, value)
3978 __swig_getmethods__ = {}
3979 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3980 __getattr__ =
lambda self, name: _swig_getattr(self, Plane3D, name)
3981 def __init__(self, *args):
3983 __init__(IMP::algebra::Plane3D self) -> Plane3D
3984 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
3985 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
3987 this = _IMP_algebra.new_Plane3D(*args)
3988 try: self.this.append(this)
3989 except: self.this = this
3990 def get_point_on_plane(self):
3991 """get_point_on_plane(Plane3D self) -> Vector3D"""
3992 return _IMP_algebra.Plane3D_get_point_on_plane(self)
3994 def get_normal(self):
3995 """get_normal(Plane3D self) -> Vector3D"""
3996 return _IMP_algebra.Plane3D_get_normal(self)
3998 def get_projected(self, *args):
3999 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4000 return _IMP_algebra.Plane3D_get_projected(self, *args)
4003 """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
4004 return _IMP_algebra.Plane3D_get_projection(self, *args)
4006 def get_is_above(self, *args):
4007 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4008 return _IMP_algebra.Plane3D_get_is_above(self, *args)
4010 def get_is_below(self, *args):
4011 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4012 return _IMP_algebra.Plane3D_get_is_below(self, *args)
4014 def get_height(self, *args):
4015 """get_height(Plane3D self, Vector3D p) -> double"""
4016 return _IMP_algebra.Plane3D_get_height(self, *args)
4018 def show(self, *args):
4020 show(Plane3D self, _ostream out=std::cout)
4023 return _IMP_algebra.Plane3D_show(self, *args)
4025 def get_opposite(self):
4026 """get_opposite(Plane3D self) -> Plane3D"""
4027 return _IMP_algebra.Plane3D_get_opposite(self)
4029 def get_distance_from_origin(self):
4030 """get_distance_from_origin(Plane3D self) -> double"""
4031 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4034 """__str__(Plane3D self) -> std::string"""
4035 return _IMP_algebra.Plane3D___str__(self)
4038 """__repr__(Plane3D self) -> std::string"""
4039 return _IMP_algebra.Plane3D___repr__(self)
4041 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4042 __del__ =
lambda self :
None;
4043 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4044 Plane3D_swigregister(Plane3D)
4048 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4049 return _IMP_algebra.get_reflected(*args)
4052 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4053 return _IMP_algebra.get_plane_3d_geometry(*args)
4054 class Reflection3D(_GeometricPrimitive3D):
4055 """Proxy of C++ IMP::algebra::Reflection3D class"""
4056 __swig_setmethods__ = {}
4057 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4058 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reflection3D, name, value)
4059 __swig_getmethods__ = {}
4060 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4061 __getattr__ =
lambda self, name: _swig_getattr(self, Reflection3D, name)
4062 def __init__(self, *args):
4064 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4065 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4067 this = _IMP_algebra.new_Reflection3D(*args)
4068 try: self.this.append(this)
4069 except: self.this = this
4071 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4072 return _IMP_algebra.Reflection3D_get_reflected(self, *args)
4074 def show(self, *args):
4076 show(Reflection3D self, _ostream out=std::cout)
4077 show(Reflection3D self)
4079 return _IMP_algebra.Reflection3D_show(self, *args)
4082 """__str__(Reflection3D self) -> std::string"""
4083 return _IMP_algebra.Reflection3D___str__(self)
4086 """__repr__(Reflection3D self) -> std::string"""
4087 return _IMP_algebra.Reflection3D___repr__(self)
4089 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4090 __del__ =
lambda self :
None;
4091 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4092 Reflection3D_swigregister(Reflection3D)
4094 class Cylinder3D(_GeometricPrimitive3D):
4095 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4096 __swig_setmethods__ = {}
4097 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4098 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cylinder3D, name, value)
4099 __swig_getmethods__ = {}
4100 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4101 __getattr__ =
lambda self, name: _swig_getattr(self, Cylinder3D, name)
4102 def __init__(self, *args):
4104 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4105 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4107 this = _IMP_algebra.new_Cylinder3D(*args)
4108 try: self.this.append(this)
4109 except: self.this = this
4110 def get_radius(self):
4111 """get_radius(Cylinder3D self) -> double"""
4112 return _IMP_algebra.Cylinder3D_get_radius(self)
4115 """get_segment(Cylinder3D self) -> Segment3D"""
4116 return _IMP_algebra.Cylinder3D_get_segment(self)
4118 def get_surface_point_at(self, *args):
4119 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4120 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4122 def get_inner_point_at(self, *args):
4123 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4124 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4126 def show(self, *args):
4128 show(Cylinder3D self, _ostream out=std::cout)
4129 show(Cylinder3D self)
4131 return _IMP_algebra.Cylinder3D_show(self, *args)
4134 """__str__(Cylinder3D self) -> std::string"""
4135 return _IMP_algebra.Cylinder3D___str__(self)
4138 """__repr__(Cylinder3D self) -> std::string"""
4139 return _IMP_algebra.Cylinder3D___repr__(self)
4141 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4142 __del__ =
lambda self :
None;
4143 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4144 Cylinder3D_swigregister(Cylinder3D)
4148 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4149 return _IMP_algebra.get_cylinder_3d_geometry(*args)
4150 class Ellipsoid3D(_GeometricPrimitive3D):
4151 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4152 __swig_setmethods__ = {}
4153 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4154 __setattr__ =
lambda self, name, value: _swig_setattr(self, Ellipsoid3D, name, value)
4155 __swig_getmethods__ = {}
4156 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4157 __getattr__ =
lambda self, name: _swig_getattr(self, Ellipsoid3D, name)
4158 def __init__(self, *args):
4160 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4161 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4163 this = _IMP_algebra.new_Ellipsoid3D(*args)
4164 try: self.this.append(this)
4165 except: self.this = this
4166 def get_radius(self, *args):
4167 """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4168 return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4170 def get_center(self):
4171 """get_center(Ellipsoid3D self) -> Vector3D"""
4172 return _IMP_algebra.Ellipsoid3D_get_center(self)
4174 def get_rotation(self):
4175 """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4176 return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4178 def get_transformation(self):
4179 """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4180 return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4182 def show(self, *args):
4184 show(Ellipsoid3D self, _ostream out=std::cout)
4185 show(Ellipsoid3D self)
4187 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4190 """__str__(Ellipsoid3D self) -> std::string"""
4191 return _IMP_algebra.Ellipsoid3D___str__(self)
4194 """__repr__(Ellipsoid3D self) -> std::string"""
4195 return _IMP_algebra.Ellipsoid3D___repr__(self)
4197 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4198 __del__ =
lambda self :
None;
4199 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4200 Ellipsoid3D_swigregister(Ellipsoid3D)
4204 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4205 return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4206 class GridIndex1D(IMP.base._Value):
4207 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
4208 __swig_setmethods__ = {}
4209 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4210 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex1D, name, value)
4211 __swig_getmethods__ = {}
4212 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4213 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex1D, name)
4215 """__init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D"""
4216 this = _IMP_algebra.new_GridIndex1D()
4217 try: self.this.append(this)
4218 except: self.this = this
4219 def get_dimension(self):
4220 """get_dimension(GridIndex1D self) -> unsigned int"""
4221 return _IMP_algebra.GridIndex1D_get_dimension(self)
4223 def __getitem__(self, *args):
4224 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
4225 return _IMP_algebra.GridIndex1D___getitem__(self, *args)
4227 def show(self, *args):
4229 show(GridIndex1D self, _ostream out=std::cout)
4230 show(GridIndex1D self)
4232 return _IMP_algebra.GridIndex1D_show(self, *args)
4235 """__len__(GridIndex1D self) -> unsigned int"""
4236 return _IMP_algebra.GridIndex1D___len__(self)
4238 def __eq__(self, *args):
4239 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
4240 return _IMP_algebra.GridIndex1D___eq__(self, *args)
4242 def __ne__(self, *args):
4243 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
4244 return _IMP_algebra.GridIndex1D___ne__(self, *args)
4246 def __lt__(self, *args):
4247 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
4248 return _IMP_algebra.GridIndex1D___lt__(self, *args)
4250 def __gt__(self, *args):
4251 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
4252 return _IMP_algebra.GridIndex1D___gt__(self, *args)
4254 def __ge__(self, *args):
4255 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
4256 return _IMP_algebra.GridIndex1D___ge__(self, *args)
4258 def __le__(self, *args):
4259 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
4260 return _IMP_algebra.GridIndex1D___le__(self, *args)
4263 """__hash__(GridIndex1D self) -> std::size_t"""
4264 return _IMP_algebra.GridIndex1D___hash__(self)
4267 """__str__(GridIndex1D self) -> std::string"""
4268 return _IMP_algebra.GridIndex1D___str__(self)
4271 """__repr__(GridIndex1D self) -> std::string"""
4272 return _IMP_algebra.GridIndex1D___repr__(self)
4274 def __cmp__(self, *args):
4275 """__cmp__(GridIndex1D self, GridIndex1D arg2) -> int"""
4276 return _IMP_algebra.GridIndex1D___cmp__(self, *args)
4278 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
4279 __del__ =
lambda self :
None;
4280 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
4281 GridIndex1D_swigregister(GridIndex1D)
4283 class GridIndex2D(IMP.base._Value):
4284 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
4285 __swig_setmethods__ = {}
4286 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4287 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex2D, name, value)
4288 __swig_getmethods__ = {}
4289 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4290 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex2D, name)
4292 """__init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D"""
4293 this = _IMP_algebra.new_GridIndex2D()
4294 try: self.this.append(this)
4295 except: self.this = this
4296 def get_dimension(self):
4297 """get_dimension(GridIndex2D self) -> unsigned int"""
4298 return _IMP_algebra.GridIndex2D_get_dimension(self)
4300 def __getitem__(self, *args):
4301 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
4302 return _IMP_algebra.GridIndex2D___getitem__(self, *args)
4304 def show(self, *args):
4306 show(GridIndex2D self, _ostream out=std::cout)
4307 show(GridIndex2D self)
4309 return _IMP_algebra.GridIndex2D_show(self, *args)
4312 """__len__(GridIndex2D self) -> unsigned int"""
4313 return _IMP_algebra.GridIndex2D___len__(self)
4315 def __eq__(self, *args):
4316 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
4317 return _IMP_algebra.GridIndex2D___eq__(self, *args)
4319 def __ne__(self, *args):
4320 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
4321 return _IMP_algebra.GridIndex2D___ne__(self, *args)
4323 def __lt__(self, *args):
4324 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
4325 return _IMP_algebra.GridIndex2D___lt__(self, *args)
4327 def __gt__(self, *args):
4328 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
4329 return _IMP_algebra.GridIndex2D___gt__(self, *args)
4331 def __ge__(self, *args):
4332 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
4333 return _IMP_algebra.GridIndex2D___ge__(self, *args)
4335 def __le__(self, *args):
4336 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
4337 return _IMP_algebra.GridIndex2D___le__(self, *args)
4340 """__hash__(GridIndex2D self) -> std::size_t"""
4341 return _IMP_algebra.GridIndex2D___hash__(self)
4344 """__str__(GridIndex2D self) -> std::string"""
4345 return _IMP_algebra.GridIndex2D___str__(self)
4348 """__repr__(GridIndex2D self) -> std::string"""
4349 return _IMP_algebra.GridIndex2D___repr__(self)
4351 def __cmp__(self, *args):
4352 """__cmp__(GridIndex2D self, GridIndex2D arg2) -> int"""
4353 return _IMP_algebra.GridIndex2D___cmp__(self, *args)
4355 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
4356 __del__ =
lambda self :
None;
4357 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
4358 GridIndex2D_swigregister(GridIndex2D)
4360 class GridIndex3D(IMP.base._Value):
4361 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
4362 __swig_setmethods__ = {}
4363 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4364 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex3D, name, value)
4365 __swig_getmethods__ = {}
4366 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4367 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex3D, name)
4369 """__init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D"""
4370 this = _IMP_algebra.new_GridIndex3D()
4371 try: self.this.append(this)
4372 except: self.this = this
4373 def get_dimension(self):
4374 """get_dimension(GridIndex3D self) -> unsigned int"""
4375 return _IMP_algebra.GridIndex3D_get_dimension(self)
4377 def __getitem__(self, *args):
4378 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
4379 return _IMP_algebra.GridIndex3D___getitem__(self, *args)
4381 def show(self, *args):
4383 show(GridIndex3D self, _ostream out=std::cout)
4384 show(GridIndex3D self)
4386 return _IMP_algebra.GridIndex3D_show(self, *args)
4389 """__len__(GridIndex3D self) -> unsigned int"""
4390 return _IMP_algebra.GridIndex3D___len__(self)
4392 def __eq__(self, *args):
4393 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
4394 return _IMP_algebra.GridIndex3D___eq__(self, *args)
4396 def __ne__(self, *args):
4397 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
4398 return _IMP_algebra.GridIndex3D___ne__(self, *args)
4400 def __lt__(self, *args):
4401 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
4402 return _IMP_algebra.GridIndex3D___lt__(self, *args)
4404 def __gt__(self, *args):
4405 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
4406 return _IMP_algebra.GridIndex3D___gt__(self, *args)
4408 def __ge__(self, *args):
4409 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
4410 return _IMP_algebra.GridIndex3D___ge__(self, *args)
4412 def __le__(self, *args):
4413 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
4414 return _IMP_algebra.GridIndex3D___le__(self, *args)
4417 """__hash__(GridIndex3D self) -> std::size_t"""
4418 return _IMP_algebra.GridIndex3D___hash__(self)
4421 """__str__(GridIndex3D self) -> std::string"""
4422 return _IMP_algebra.GridIndex3D___str__(self)
4425 """__repr__(GridIndex3D self) -> std::string"""
4426 return _IMP_algebra.GridIndex3D___repr__(self)
4428 def __cmp__(self, *args):
4429 """__cmp__(GridIndex3D self, GridIndex3D arg2) -> int"""
4430 return _IMP_algebra.GridIndex3D___cmp__(self, *args)
4432 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
4433 __del__ =
lambda self :
None;
4434 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
4435 GridIndex3D_swigregister(GridIndex3D)
4437 class GridIndex4D(IMP.base._Value):
4438 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
4439 __swig_setmethods__ = {}
4440 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4441 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex4D, name, value)
4442 __swig_getmethods__ = {}
4443 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4444 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex4D, name)
4446 """__init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D"""
4447 this = _IMP_algebra.new_GridIndex4D()
4448 try: self.this.append(this)
4449 except: self.this = this
4450 def get_dimension(self):
4451 """get_dimension(GridIndex4D self) -> unsigned int"""
4452 return _IMP_algebra.GridIndex4D_get_dimension(self)
4454 def __getitem__(self, *args):
4455 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
4456 return _IMP_algebra.GridIndex4D___getitem__(self, *args)
4458 def show(self, *args):
4460 show(GridIndex4D self, _ostream out=std::cout)
4461 show(GridIndex4D self)
4463 return _IMP_algebra.GridIndex4D_show(self, *args)
4466 """__len__(GridIndex4D self) -> unsigned int"""
4467 return _IMP_algebra.GridIndex4D___len__(self)
4469 def __eq__(self, *args):
4470 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
4471 return _IMP_algebra.GridIndex4D___eq__(self, *args)
4473 def __ne__(self, *args):
4474 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
4475 return _IMP_algebra.GridIndex4D___ne__(self, *args)
4477 def __lt__(self, *args):
4478 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
4479 return _IMP_algebra.GridIndex4D___lt__(self, *args)
4481 def __gt__(self, *args):
4482 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
4483 return _IMP_algebra.GridIndex4D___gt__(self, *args)
4485 def __ge__(self, *args):
4486 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
4487 return _IMP_algebra.GridIndex4D___ge__(self, *args)
4489 def __le__(self, *args):
4490 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
4491 return _IMP_algebra.GridIndex4D___le__(self, *args)
4494 """__hash__(GridIndex4D self) -> std::size_t"""
4495 return _IMP_algebra.GridIndex4D___hash__(self)
4498 """__str__(GridIndex4D self) -> std::string"""
4499 return _IMP_algebra.GridIndex4D___str__(self)
4502 """__repr__(GridIndex4D self) -> std::string"""
4503 return _IMP_algebra.GridIndex4D___repr__(self)
4505 def __cmp__(self, *args):
4506 """__cmp__(GridIndex4D self, GridIndex4D arg2) -> int"""
4507 return _IMP_algebra.GridIndex4D___cmp__(self, *args)
4509 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
4510 __del__ =
lambda self :
None;
4511 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
4512 GridIndex4D_swigregister(GridIndex4D)
4514 class GridIndex5D(IMP.base._Value):
4515 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
4516 __swig_setmethods__ = {}
4517 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4518 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex5D, name, value)
4519 __swig_getmethods__ = {}
4520 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4521 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex5D, name)
4523 """__init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D"""
4524 this = _IMP_algebra.new_GridIndex5D()
4525 try: self.this.append(this)
4526 except: self.this = this
4527 def get_dimension(self):
4528 """get_dimension(GridIndex5D self) -> unsigned int"""
4529 return _IMP_algebra.GridIndex5D_get_dimension(self)
4531 def __getitem__(self, *args):
4532 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
4533 return _IMP_algebra.GridIndex5D___getitem__(self, *args)
4535 def show(self, *args):
4537 show(GridIndex5D self, _ostream out=std::cout)
4538 show(GridIndex5D self)
4540 return _IMP_algebra.GridIndex5D_show(self, *args)
4543 """__len__(GridIndex5D self) -> unsigned int"""
4544 return _IMP_algebra.GridIndex5D___len__(self)
4546 def __eq__(self, *args):
4547 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
4548 return _IMP_algebra.GridIndex5D___eq__(self, *args)
4550 def __ne__(self, *args):
4551 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
4552 return _IMP_algebra.GridIndex5D___ne__(self, *args)
4554 def __lt__(self, *args):
4555 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
4556 return _IMP_algebra.GridIndex5D___lt__(self, *args)
4558 def __gt__(self, *args):
4559 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
4560 return _IMP_algebra.GridIndex5D___gt__(self, *args)
4562 def __ge__(self, *args):
4563 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
4564 return _IMP_algebra.GridIndex5D___ge__(self, *args)
4566 def __le__(self, *args):
4567 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
4568 return _IMP_algebra.GridIndex5D___le__(self, *args)
4571 """__hash__(GridIndex5D self) -> std::size_t"""
4572 return _IMP_algebra.GridIndex5D___hash__(self)
4575 """__str__(GridIndex5D self) -> std::string"""
4576 return _IMP_algebra.GridIndex5D___str__(self)
4579 """__repr__(GridIndex5D self) -> std::string"""
4580 return _IMP_algebra.GridIndex5D___repr__(self)
4582 def __cmp__(self, *args):
4583 """__cmp__(GridIndex5D self, GridIndex5D arg2) -> int"""
4584 return _IMP_algebra.GridIndex5D___cmp__(self, *args)
4586 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
4587 __del__ =
lambda self :
None;
4588 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
4589 GridIndex5D_swigregister(GridIndex5D)
4591 class GridIndex6D(IMP.base._Value):
4592 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
4593 __swig_setmethods__ = {}
4594 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4595 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex6D, name, value)
4596 __swig_getmethods__ = {}
4597 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4598 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex6D, name)
4600 """__init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D"""
4601 this = _IMP_algebra.new_GridIndex6D()
4602 try: self.this.append(this)
4603 except: self.this = this
4604 def get_dimension(self):
4605 """get_dimension(GridIndex6D self) -> unsigned int"""
4606 return _IMP_algebra.GridIndex6D_get_dimension(self)
4608 def __getitem__(self, *args):
4609 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
4610 return _IMP_algebra.GridIndex6D___getitem__(self, *args)
4612 def show(self, *args):
4614 show(GridIndex6D self, _ostream out=std::cout)
4615 show(GridIndex6D self)
4617 return _IMP_algebra.GridIndex6D_show(self, *args)
4620 """__len__(GridIndex6D self) -> unsigned int"""
4621 return _IMP_algebra.GridIndex6D___len__(self)
4623 def __eq__(self, *args):
4624 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
4625 return _IMP_algebra.GridIndex6D___eq__(self, *args)
4627 def __ne__(self, *args):
4628 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
4629 return _IMP_algebra.GridIndex6D___ne__(self, *args)
4631 def __lt__(self, *args):
4632 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
4633 return _IMP_algebra.GridIndex6D___lt__(self, *args)
4635 def __gt__(self, *args):
4636 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
4637 return _IMP_algebra.GridIndex6D___gt__(self, *args)
4639 def __ge__(self, *args):
4640 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
4641 return _IMP_algebra.GridIndex6D___ge__(self, *args)
4643 def __le__(self, *args):
4644 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
4645 return _IMP_algebra.GridIndex6D___le__(self, *args)
4648 """__hash__(GridIndex6D self) -> std::size_t"""
4649 return _IMP_algebra.GridIndex6D___hash__(self)
4652 """__str__(GridIndex6D self) -> std::string"""
4653 return _IMP_algebra.GridIndex6D___str__(self)
4656 """__repr__(GridIndex6D self) -> std::string"""
4657 return _IMP_algebra.GridIndex6D___repr__(self)
4659 def __cmp__(self, *args):
4660 """__cmp__(GridIndex6D self, GridIndex6D arg2) -> int"""
4661 return _IMP_algebra.GridIndex6D___cmp__(self, *args)
4663 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
4664 __del__ =
lambda self :
None;
4665 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
4666 GridIndex6D_swigregister(GridIndex6D)
4668 class GridIndexKD(IMP.base._Value):
4669 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
4670 __swig_setmethods__ = {}
4671 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4672 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndexKD, name, value)
4673 __swig_getmethods__ = {}
4674 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4675 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndexKD, name)
4677 """__init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD"""
4678 this = _IMP_algebra.new_GridIndexKD()
4679 try: self.this.append(this)
4680 except: self.this = this
4681 def get_dimension(self):
4682 """get_dimension(GridIndexKD self) -> unsigned int"""
4683 return _IMP_algebra.GridIndexKD_get_dimension(self)
4685 def __getitem__(self, *args):
4686 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
4687 return _IMP_algebra.GridIndexKD___getitem__(self, *args)
4689 def show(self, *args):
4691 show(GridIndexKD self, _ostream out=std::cout)
4692 show(GridIndexKD self)
4694 return _IMP_algebra.GridIndexKD_show(self, *args)
4697 """__len__(GridIndexKD self) -> unsigned int"""
4698 return _IMP_algebra.GridIndexKD___len__(self)
4700 def __eq__(self, *args):
4701 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
4702 return _IMP_algebra.GridIndexKD___eq__(self, *args)
4704 def __ne__(self, *args):
4705 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
4706 return _IMP_algebra.GridIndexKD___ne__(self, *args)
4708 def __lt__(self, *args):
4709 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
4710 return _IMP_algebra.GridIndexKD___lt__(self, *args)
4712 def __gt__(self, *args):
4713 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
4714 return _IMP_algebra.GridIndexKD___gt__(self, *args)
4716 def __ge__(self, *args):
4717 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
4718 return _IMP_algebra.GridIndexKD___ge__(self, *args)
4720 def __le__(self, *args):
4721 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
4722 return _IMP_algebra.GridIndexKD___le__(self, *args)
4725 """__hash__(GridIndexKD self) -> std::size_t"""
4726 return _IMP_algebra.GridIndexKD___hash__(self)
4729 """__str__(GridIndexKD self) -> std::string"""
4730 return _IMP_algebra.GridIndexKD___str__(self)
4733 """__repr__(GridIndexKD self) -> std::string"""
4734 return _IMP_algebra.GridIndexKD___repr__(self)
4736 def __cmp__(self, *args):
4737 """__cmp__(GridIndexKD self, GridIndexKD arg2) -> int"""
4738 return _IMP_algebra.GridIndexKD___cmp__(self, *args)
4740 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
4741 __del__ =
lambda self :
None;
4742 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
4743 GridIndexKD_swigregister(GridIndexKD)
4745 class ExtendedGridIndex1D(IMP.base._Value):
4746 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
4747 __swig_setmethods__ = {}
4748 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4749 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex1D, name, value)
4750 __swig_getmethods__ = {}
4751 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4752 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex1D, name)
4753 def __init__(self, *args):
4755 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
4756 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
4757 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
4759 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
4760 try: self.this.append(this)
4761 except: self.this = this
4762 def get_dimension(self):
4763 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
4764 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
4766 def __eq__(self, *args):
4767 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4768 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
4770 def __ne__(self, *args):
4771 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4772 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
4774 def __lt__(self, *args):
4775 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4776 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
4778 def __gt__(self, *args):
4779 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4780 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
4782 def __ge__(self, *args):
4783 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4784 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
4786 def __le__(self, *args):
4787 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4788 return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
4790 def __setitem__(self, *args):
4791 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
4792 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
4794 def __getitem__(self, *args):
4795 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
4796 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
4798 def show(self, *args):
4800 show(ExtendedGridIndex1D self, _ostream out=std::cout)
4801 show(ExtendedGridIndex1D self)
4803 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
4806 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
4807 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
4810 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
4811 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
4813 def get_uniform_offset(self, *args):
4814 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
4815 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
4817 def get_offset(self, *args):
4818 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
4819 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
4822 """__str__(ExtendedGridIndex1D self) -> std::string"""
4823 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
4826 """__repr__(ExtendedGridIndex1D self) -> std::string"""
4827 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
4829 def __cmp__(self, *args):
4830 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D arg2) -> int"""
4831 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
4833 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
4834 __del__ =
lambda self :
None;
4835 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
4836 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
4838 class ExtendedGridIndex2D(IMP.base._Value):
4839 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
4840 __swig_setmethods__ = {}
4841 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4842 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex2D, name, value)
4843 __swig_getmethods__ = {}
4844 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4845 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex2D, name)
4846 def __init__(self, *args):
4848 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
4849 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
4850 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
4852 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
4853 try: self.this.append(this)
4854 except: self.this = this
4855 def get_dimension(self):
4856 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
4857 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
4859 def __eq__(self, *args):
4860 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4861 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
4863 def __ne__(self, *args):
4864 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4865 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
4867 def __lt__(self, *args):
4868 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4869 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
4871 def __gt__(self, *args):
4872 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4873 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
4875 def __ge__(self, *args):
4876 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4877 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
4879 def __le__(self, *args):
4880 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4881 return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
4883 def __setitem__(self, *args):
4884 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
4885 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
4887 def __getitem__(self, *args):
4888 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
4889 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
4891 def show(self, *args):
4893 show(ExtendedGridIndex2D self, _ostream out=std::cout)
4894 show(ExtendedGridIndex2D self)
4896 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
4899 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
4900 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
4903 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
4904 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
4906 def get_uniform_offset(self, *args):
4907 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
4908 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
4910 def get_offset(self, *args):
4911 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
4912 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
4915 """__str__(ExtendedGridIndex2D self) -> std::string"""
4916 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
4919 """__repr__(ExtendedGridIndex2D self) -> std::string"""
4920 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
4922 def __cmp__(self, *args):
4923 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D arg2) -> int"""
4924 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
4926 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
4927 __del__ =
lambda self :
None;
4928 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
4929 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
4931 class ExtendedGridIndex3D(IMP.base._Value):
4932 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
4933 __swig_setmethods__ = {}
4934 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4935 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex3D, name, value)
4936 __swig_getmethods__ = {}
4937 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4938 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex3D, name)
4939 def __init__(self, *args):
4941 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
4942 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
4943 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
4945 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
4946 try: self.this.append(this)
4947 except: self.this = this
4948 def get_dimension(self):
4949 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
4950 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
4952 def __eq__(self, *args):
4953 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4954 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
4956 def __ne__(self, *args):
4957 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4958 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
4960 def __lt__(self, *args):
4961 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4962 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
4964 def __gt__(self, *args):
4965 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4966 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
4968 def __ge__(self, *args):
4969 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4970 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
4972 def __le__(self, *args):
4973 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
4974 return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
4976 def __setitem__(self, *args):
4977 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
4978 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
4980 def __getitem__(self, *args):
4981 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
4982 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
4984 def show(self, *args):
4986 show(ExtendedGridIndex3D self, _ostream out=std::cout)
4987 show(ExtendedGridIndex3D self)
4989 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
4992 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
4993 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
4996 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
4997 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
4999 def get_uniform_offset(self, *args):
5000 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5001 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5003 def get_offset(self, *args):
5004 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5005 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5008 """__str__(ExtendedGridIndex3D self) -> std::string"""
5009 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5012 """__repr__(ExtendedGridIndex3D self) -> std::string"""
5013 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5015 def __cmp__(self, *args):
5016 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D arg2) -> int"""
5017 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5019 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5020 __del__ =
lambda self :
None;
5021 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5022 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5024 class ExtendedGridIndex4D(IMP.base._Value):
5025 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5026 __swig_setmethods__ = {}
5027 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5028 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex4D, name, value)
5029 __swig_getmethods__ = {}
5030 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5031 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex4D, name)
5032 def __init__(self, *args):
5034 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5035 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5036 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5038 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5039 try: self.this.append(this)
5040 except: self.this = this
5041 def get_dimension(self):
5042 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
5043 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
5045 def __eq__(self, *args):
5046 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5047 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
5049 def __ne__(self, *args):
5050 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5051 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
5053 def __lt__(self, *args):
5054 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5055 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
5057 def __gt__(self, *args):
5058 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5059 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
5061 def __ge__(self, *args):
5062 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5063 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
5065 def __le__(self, *args):
5066 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5067 return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
5069 def __setitem__(self, *args):
5070 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
5071 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
5073 def __getitem__(self, *args):
5074 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
5075 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
5077 def show(self, *args):
5079 show(ExtendedGridIndex4D self, _ostream out=std::cout)
5080 show(ExtendedGridIndex4D self)
5082 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
5085 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
5086 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
5089 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
5090 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
5092 def get_uniform_offset(self, *args):
5093 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
5094 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
5096 def get_offset(self, *args):
5097 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
5098 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
5101 """__str__(ExtendedGridIndex4D self) -> std::string"""
5102 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
5105 """__repr__(ExtendedGridIndex4D self) -> std::string"""
5106 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
5108 def __cmp__(self, *args):
5109 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D arg2) -> int"""
5110 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
5112 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
5113 __del__ =
lambda self :
None;
5114 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
5115 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
5117 class ExtendedGridIndex5D(IMP.base._Value):
5118 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
5119 __swig_setmethods__ = {}
5120 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5121 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex5D, name, value)
5122 __swig_getmethods__ = {}
5123 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5124 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex5D, name)
5125 def __init__(self, *args):
5127 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
5128 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
5129 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
5131 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
5132 try: self.this.append(this)
5133 except: self.this = this
5134 def get_dimension(self):
5135 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
5136 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
5138 def __eq__(self, *args):
5139 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5140 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
5142 def __ne__(self, *args):
5143 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5144 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
5146 def __lt__(self, *args):
5147 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5148 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
5150 def __gt__(self, *args):
5151 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5152 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
5154 def __ge__(self, *args):
5155 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5156 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
5158 def __le__(self, *args):
5159 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5160 return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
5162 def __setitem__(self, *args):
5163 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
5164 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
5166 def __getitem__(self, *args):
5167 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
5168 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
5170 def show(self, *args):
5172 show(ExtendedGridIndex5D self, _ostream out=std::cout)
5173 show(ExtendedGridIndex5D self)
5175 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
5178 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
5179 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
5182 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
5183 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
5185 def get_uniform_offset(self, *args):
5186 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
5187 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
5189 def get_offset(self, *args):
5190 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
5191 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
5194 """__str__(ExtendedGridIndex5D self) -> std::string"""
5195 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
5198 """__repr__(ExtendedGridIndex5D self) -> std::string"""
5199 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
5201 def __cmp__(self, *args):
5202 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D arg2) -> int"""
5203 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
5205 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
5206 __del__ =
lambda self :
None;
5207 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
5208 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
5210 class ExtendedGridIndex6D(IMP.base._Value):
5211 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
5212 __swig_setmethods__ = {}
5213 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5214 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex6D, name, value)
5215 __swig_getmethods__ = {}
5216 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5217 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex6D, name)
5218 def __init__(self, *args):
5220 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
5221 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
5222 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
5224 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
5225 try: self.this.append(this)
5226 except: self.this = this
5227 def get_dimension(self):
5228 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
5229 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
5231 def __eq__(self, *args):
5232 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5233 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
5235 def __ne__(self, *args):
5236 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5237 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
5239 def __lt__(self, *args):
5240 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5241 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
5243 def __gt__(self, *args):
5244 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5245 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
5247 def __ge__(self, *args):
5248 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5249 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
5251 def __le__(self, *args):
5252 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5253 return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
5255 def __setitem__(self, *args):
5256 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
5257 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
5259 def __getitem__(self, *args):
5260 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
5261 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
5263 def show(self, *args):
5265 show(ExtendedGridIndex6D self, _ostream out=std::cout)
5266 show(ExtendedGridIndex6D self)
5268 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
5271 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
5272 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
5275 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
5276 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
5278 def get_uniform_offset(self, *args):
5279 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
5280 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
5282 def get_offset(self, *args):
5283 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
5284 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
5287 """__str__(ExtendedGridIndex6D self) -> std::string"""
5288 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
5291 """__repr__(ExtendedGridIndex6D self) -> std::string"""
5292 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
5294 def __cmp__(self, *args):
5295 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D arg2) -> int"""
5296 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
5298 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
5299 __del__ =
lambda self :
None;
5300 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
5301 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
5303 class ExtendedGridIndexKD(IMP.base._Value):
5304 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
5305 __swig_setmethods__ = {}
5306 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5307 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndexKD, name, value)
5308 __swig_getmethods__ = {}
5309 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5310 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndexKD, name)
5311 def __init__(self, *args):
5313 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
5314 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
5315 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
5317 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
5318 try: self.this.append(this)
5319 except: self.this = this
5320 def get_dimension(self):
5321 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
5322 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
5324 def __eq__(self, *args):
5325 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5326 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
5328 def __ne__(self, *args):
5329 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5330 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
5332 def __lt__(self, *args):
5333 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5334 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
5336 def __gt__(self, *args):
5337 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5338 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
5340 def __ge__(self, *args):
5341 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5342 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
5344 def __le__(self, *args):
5345 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5346 return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
5348 def __setitem__(self, *args):
5349 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
5350 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
5352 def __getitem__(self, *args):
5353 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
5354 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
5356 def show(self, *args):
5358 show(ExtendedGridIndexKD self, _ostream out=std::cout)
5359 show(ExtendedGridIndexKD self)
5361 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
5364 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
5365 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
5368 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
5369 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
5371 def get_uniform_offset(self, *args):
5372 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
5373 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
5375 def get_offset(self, *args):
5376 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
5377 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
5380 """__str__(ExtendedGridIndexKD self) -> std::string"""
5381 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
5384 """__repr__(ExtendedGridIndexKD self) -> std::string"""
5385 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
5387 def __cmp__(self, *args):
5388 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD arg2) -> int"""
5389 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
5391 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
5392 __del__ =
lambda self :
None;
5393 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
5394 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
5396 class BoundedGridRange1D(_object):
5397 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
5398 __swig_setmethods__ = {}
5399 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange1D, name, value)
5400 __swig_getmethods__ = {}
5401 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange1D, name)
5402 def get_is_bounded():
5403 """get_is_bounded() -> bool"""
5404 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5406 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5407 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5408 def __init__(self, *args):
5410 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
5411 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
5413 this = _IMP_algebra.new_BoundedGridRange1D(*args)
5414 try: self.this.append(this)
5415 except: self.this = this
5416 def get_number_of_voxels(self, *args):
5418 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
5419 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
5421 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
5423 def get_end_index(self):
5424 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5425 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
5427 def show(self, *args):
5429 show(BoundedGridRange1D self, _ostream out=std::cout)
5430 show(BoundedGridRange1D self)
5432 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
5434 def get_all_indexes(self):
5435 """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5436 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
5439 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5440 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
5442 def get_extended_indexes(self, *args):
5443 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
5444 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
5447 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
5448 return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
5450 def get_has_index(self, *args):
5451 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
5452 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
5454 def get_minimum_extended_index(self):
5455 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5456 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
5458 def get_maximum_extended_index(self):
5459 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5460 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
5463 """__str__(BoundedGridRange1D self) -> std::string"""
5464 return _IMP_algebra.BoundedGridRange1D___str__(self)
5467 """__repr__(BoundedGridRange1D self) -> std::string"""
5468 return _IMP_algebra.BoundedGridRange1D___repr__(self)
5470 def __cmp__(self, *args):
5471 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
5472 return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
5474 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
5475 __del__ =
lambda self :
None;
5476 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
5477 BoundedGridRange1D_swigregister(BoundedGridRange1D)
5479 def BoundedGridRange1D_get_is_bounded():
5480 """BoundedGridRange1D_get_is_bounded() -> bool"""
5481 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5483 class BoundedGridRange2D(_object):
5484 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
5485 __swig_setmethods__ = {}
5486 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange2D, name, value)
5487 __swig_getmethods__ = {}
5488 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange2D, name)
5489 def get_is_bounded():
5490 """get_is_bounded() -> bool"""
5491 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5493 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5494 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5495 def __init__(self, *args):
5497 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
5498 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
5500 this = _IMP_algebra.new_BoundedGridRange2D(*args)
5501 try: self.this.append(this)
5502 except: self.this = this
5503 def get_number_of_voxels(self, *args):
5505 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
5506 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
5508 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
5510 def get_end_index(self):
5511 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5512 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
5514 def show(self, *args):
5516 show(BoundedGridRange2D self, _ostream out=std::cout)
5517 show(BoundedGridRange2D self)
5519 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
5521 def get_all_indexes(self):
5522 """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5523 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
5526 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5527 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
5529 def get_extended_indexes(self, *args):
5530 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
5531 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
5534 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
5535 return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
5537 def get_has_index(self, *args):
5538 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
5539 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
5541 def get_minimum_extended_index(self):
5542 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5543 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
5545 def get_maximum_extended_index(self):
5546 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5547 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
5550 """__str__(BoundedGridRange2D self) -> std::string"""
5551 return _IMP_algebra.BoundedGridRange2D___str__(self)
5554 """__repr__(BoundedGridRange2D self) -> std::string"""
5555 return _IMP_algebra.BoundedGridRange2D___repr__(self)
5557 def __cmp__(self, *args):
5558 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
5559 return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
5561 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
5562 __del__ =
lambda self :
None;
5563 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
5564 BoundedGridRange2D_swigregister(BoundedGridRange2D)
5566 def BoundedGridRange2D_get_is_bounded():
5567 """BoundedGridRange2D_get_is_bounded() -> bool"""
5568 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5570 class BoundedGridRange3D(_object):
5571 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
5572 __swig_setmethods__ = {}
5573 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange3D, name, value)
5574 __swig_getmethods__ = {}
5575 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange3D, name)
5576 def get_is_bounded():
5577 """get_is_bounded() -> bool"""
5578 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5580 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5581 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5582 def __init__(self, *args):
5584 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
5585 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
5587 this = _IMP_algebra.new_BoundedGridRange3D(*args)
5588 try: self.this.append(this)
5589 except: self.this = this
5590 def get_number_of_voxels(self, *args):
5592 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
5593 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
5595 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
5597 def get_end_index(self):
5598 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5599 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
5601 def show(self, *args):
5603 show(BoundedGridRange3D self, _ostream out=std::cout)
5604 show(BoundedGridRange3D self)
5606 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
5608 def get_all_indexes(self):
5609 """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5610 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
5613 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5614 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
5616 def get_extended_indexes(self, *args):
5617 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
5618 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
5621 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5622 return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
5624 def get_has_index(self, *args):
5625 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
5626 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
5628 def get_minimum_extended_index(self):
5629 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5630 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
5632 def get_maximum_extended_index(self):
5633 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5634 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
5637 """__str__(BoundedGridRange3D self) -> std::string"""
5638 return _IMP_algebra.BoundedGridRange3D___str__(self)
5641 """__repr__(BoundedGridRange3D self) -> std::string"""
5642 return _IMP_algebra.BoundedGridRange3D___repr__(self)
5644 def __cmp__(self, *args):
5645 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
5646 return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
5648 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
5649 __del__ =
lambda self :
None;
5650 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
5651 BoundedGridRange3D_swigregister(BoundedGridRange3D)
5653 def BoundedGridRange3D_get_is_bounded():
5654 """BoundedGridRange3D_get_is_bounded() -> bool"""
5655 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5657 class BoundedGridRange4D(_object):
5658 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
5659 __swig_setmethods__ = {}
5660 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange4D, name, value)
5661 __swig_getmethods__ = {}
5662 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange4D, name)
5663 def get_is_bounded():
5664 """get_is_bounded() -> bool"""
5665 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5667 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5668 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5669 def __init__(self, *args):
5671 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
5672 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
5674 this = _IMP_algebra.new_BoundedGridRange4D(*args)
5675 try: self.this.append(this)
5676 except: self.this = this
5677 def get_number_of_voxels(self, *args):
5679 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
5680 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
5682 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
5684 def get_end_index(self):
5685 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5686 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
5688 def show(self, *args):
5690 show(BoundedGridRange4D self, _ostream out=std::cout)
5691 show(BoundedGridRange4D self)
5693 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
5695 def get_all_indexes(self):
5696 """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5697 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
5700 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5701 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
5703 def get_extended_indexes(self, *args):
5704 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
5705 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
5708 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
5709 return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
5711 def get_has_index(self, *args):
5712 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
5713 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
5715 def get_minimum_extended_index(self):
5716 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5717 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
5719 def get_maximum_extended_index(self):
5720 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5721 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
5724 """__str__(BoundedGridRange4D self) -> std::string"""
5725 return _IMP_algebra.BoundedGridRange4D___str__(self)
5728 """__repr__(BoundedGridRange4D self) -> std::string"""
5729 return _IMP_algebra.BoundedGridRange4D___repr__(self)
5731 def __cmp__(self, *args):
5732 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
5733 return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
5735 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
5736 __del__ =
lambda self :
None;
5737 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
5738 BoundedGridRange4D_swigregister(BoundedGridRange4D)
5740 def BoundedGridRange4D_get_is_bounded():
5741 """BoundedGridRange4D_get_is_bounded() -> bool"""
5742 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5744 class BoundedGridRange5D(_object):
5745 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
5746 __swig_setmethods__ = {}
5747 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange5D, name, value)
5748 __swig_getmethods__ = {}
5749 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange5D, name)
5750 def get_is_bounded():
5751 """get_is_bounded() -> bool"""
5752 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5754 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5755 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5756 def __init__(self, *args):
5758 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
5759 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
5761 this = _IMP_algebra.new_BoundedGridRange5D(*args)
5762 try: self.this.append(this)
5763 except: self.this = this
5764 def get_number_of_voxels(self, *args):
5766 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
5767 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
5769 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
5771 def get_end_index(self):
5772 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5773 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
5775 def show(self, *args):
5777 show(BoundedGridRange5D self, _ostream out=std::cout)
5778 show(BoundedGridRange5D self)
5780 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
5782 def get_all_indexes(self):
5783 """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5784 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
5787 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5788 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
5790 def get_extended_indexes(self, *args):
5791 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
5792 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
5795 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
5796 return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
5798 def get_has_index(self, *args):
5799 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
5800 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
5802 def get_minimum_extended_index(self):
5803 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5804 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
5806 def get_maximum_extended_index(self):
5807 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5808 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
5811 """__str__(BoundedGridRange5D self) -> std::string"""
5812 return _IMP_algebra.BoundedGridRange5D___str__(self)
5815 """__repr__(BoundedGridRange5D self) -> std::string"""
5816 return _IMP_algebra.BoundedGridRange5D___repr__(self)
5818 def __cmp__(self, *args):
5819 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
5820 return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
5822 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
5823 __del__ =
lambda self :
None;
5824 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
5825 BoundedGridRange5D_swigregister(BoundedGridRange5D)
5827 def BoundedGridRange5D_get_is_bounded():
5828 """BoundedGridRange5D_get_is_bounded() -> bool"""
5829 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5831 class BoundedGridRange6D(_object):
5832 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
5833 __swig_setmethods__ = {}
5834 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange6D, name, value)
5835 __swig_getmethods__ = {}
5836 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange6D, name)
5837 def get_is_bounded():
5838 """get_is_bounded() -> bool"""
5839 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
5841 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5842 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5843 def __init__(self, *args):
5845 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
5846 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
5848 this = _IMP_algebra.new_BoundedGridRange6D(*args)
5849 try: self.this.append(this)
5850 except: self.this = this
5851 def get_number_of_voxels(self, *args):
5853 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
5854 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
5856 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
5858 def get_end_index(self):
5859 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5860 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
5862 def show(self, *args):
5864 show(BoundedGridRange6D self, _ostream out=std::cout)
5865 show(BoundedGridRange6D self)
5867 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
5869 def get_all_indexes(self):
5870 """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5871 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
5874 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5875 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
5877 def get_extended_indexes(self, *args):
5878 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
5879 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
5882 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
5883 return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
5885 def get_has_index(self, *args):
5886 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
5887 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
5889 def get_minimum_extended_index(self):
5890 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5891 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
5893 def get_maximum_extended_index(self):
5894 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5895 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
5898 """__str__(BoundedGridRange6D self) -> std::string"""
5899 return _IMP_algebra.BoundedGridRange6D___str__(self)
5902 """__repr__(BoundedGridRange6D self) -> std::string"""
5903 return _IMP_algebra.BoundedGridRange6D___repr__(self)
5905 def __cmp__(self, *args):
5906 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
5907 return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
5909 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
5910 __del__ =
lambda self :
None;
5911 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
5912 BoundedGridRange6D_swigregister(BoundedGridRange6D)
5914 def BoundedGridRange6D_get_is_bounded():
5915 """BoundedGridRange6D_get_is_bounded() -> bool"""
5916 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
5918 class BoundedGridRangeKD(_object):
5919 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
5920 __swig_setmethods__ = {}
5921 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRangeKD, name, value)
5922 __swig_getmethods__ = {}
5923 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRangeKD, name)
5924 def get_is_bounded():
5925 """get_is_bounded() -> bool"""
5926 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
5928 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5929 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5930 def __init__(self, *args):
5932 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
5933 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
5935 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
5936 try: self.this.append(this)
5937 except: self.this = this
5938 def get_number_of_voxels(self, *args):
5940 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
5941 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
5943 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
5945 def get_end_index(self):
5946 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
5947 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
5949 def show(self, *args):
5951 show(BoundedGridRangeKD self, _ostream out=std::cout)
5952 show(BoundedGridRangeKD self)
5954 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
5956 def get_all_indexes(self):
5957 """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
5958 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
5961 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
5962 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
5964 def get_extended_indexes(self, *args):
5965 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
5966 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
5969 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5970 return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
5972 def get_has_index(self, *args):
5973 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
5974 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
5976 def get_minimum_extended_index(self):
5977 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
5978 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
5980 def get_maximum_extended_index(self):
5981 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
5982 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
5985 """__str__(BoundedGridRangeKD self) -> std::string"""
5986 return _IMP_algebra.BoundedGridRangeKD___str__(self)
5989 """__repr__(BoundedGridRangeKD self) -> std::string"""
5990 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
5992 def __cmp__(self, *args):
5993 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
5994 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
5996 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
5997 __del__ =
lambda self :
None;
5998 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
5999 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6001 def BoundedGridRangeKD_get_is_bounded():
6002 """BoundedGridRangeKD_get_is_bounded() -> bool"""
6003 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6005 class UnboundedGridRange1D(_object):
6006 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6007 __swig_setmethods__ = {}
6008 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange1D, name, value)
6009 __swig_getmethods__ = {}
6010 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange1D, name)
6011 def __init__(self, *args):
6013 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6014 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6016 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6017 try: self.this.append(this)
6018 except: self.this = this
6019 def set_number_of_voxels(self, *args):
6020 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6021 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6023 def get_number_of_voxels(self, *args):
6024 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6025 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
6027 def get_is_bounded():
6028 """get_is_bounded() -> bool"""
6029 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6031 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6032 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6033 def get_has_index(self, *args):
6034 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
6035 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
6037 def show(self, *args):
6039 show(UnboundedGridRange1D self, _ostream out=std::cout)
6040 show(UnboundedGridRange1D self)
6042 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
6044 def get_extended_indexes(self, *args):
6045 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6046 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
6049 """__str__(UnboundedGridRange1D self) -> std::string"""
6050 return _IMP_algebra.UnboundedGridRange1D___str__(self)
6053 """__repr__(UnboundedGridRange1D self) -> std::string"""
6054 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
6056 def __cmp__(self, *args):
6057 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
6058 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
6060 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
6061 __del__ =
lambda self :
None;
6062 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
6063 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
6065 def UnboundedGridRange1D_get_is_bounded():
6066 """UnboundedGridRange1D_get_is_bounded() -> bool"""
6067 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6069 class UnboundedGridRange2D(_object):
6070 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
6071 __swig_setmethods__ = {}
6072 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange2D, name, value)
6073 __swig_getmethods__ = {}
6074 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange2D, name)
6075 def __init__(self, *args):
6077 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
6078 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
6080 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
6081 try: self.this.append(this)
6082 except: self.this = this
6083 def set_number_of_voxels(self, *args):
6084 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
6085 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
6087 def get_number_of_voxels(self, *args):
6088 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
6089 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
6091 def get_is_bounded():
6092 """get_is_bounded() -> bool"""
6093 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6095 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6096 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6097 def get_has_index(self, *args):
6098 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
6099 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
6101 def show(self, *args):
6103 show(UnboundedGridRange2D self, _ostream out=std::cout)
6104 show(UnboundedGridRange2D self)
6106 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
6108 def get_extended_indexes(self, *args):
6109 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6110 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
6113 """__str__(UnboundedGridRange2D self) -> std::string"""
6114 return _IMP_algebra.UnboundedGridRange2D___str__(self)
6117 """__repr__(UnboundedGridRange2D self) -> std::string"""
6118 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
6120 def __cmp__(self, *args):
6121 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
6122 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
6124 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
6125 __del__ =
lambda self :
None;
6126 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
6127 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
6129 def UnboundedGridRange2D_get_is_bounded():
6130 """UnboundedGridRange2D_get_is_bounded() -> bool"""
6131 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6133 class UnboundedGridRange3D(_object):
6134 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
6135 __swig_setmethods__ = {}
6136 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange3D, name, value)
6137 __swig_getmethods__ = {}
6138 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange3D, name)
6139 def __init__(self, *args):
6141 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
6142 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
6144 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
6145 try: self.this.append(this)
6146 except: self.this = this
6147 def set_number_of_voxels(self, *args):
6148 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
6149 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
6151 def get_number_of_voxels(self, *args):
6152 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
6153 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
6155 def get_is_bounded():
6156 """get_is_bounded() -> bool"""
6157 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6159 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6160 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6161 def get_has_index(self, *args):
6162 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
6163 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
6165 def show(self, *args):
6167 show(UnboundedGridRange3D self, _ostream out=std::cout)
6168 show(UnboundedGridRange3D self)
6170 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
6172 def get_extended_indexes(self, *args):
6173 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6174 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
6177 """__str__(UnboundedGridRange3D self) -> std::string"""
6178 return _IMP_algebra.UnboundedGridRange3D___str__(self)
6181 """__repr__(UnboundedGridRange3D self) -> std::string"""
6182 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
6184 def __cmp__(self, *args):
6185 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
6186 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
6188 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
6189 __del__ =
lambda self :
None;
6190 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
6191 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
6193 def UnboundedGridRange3D_get_is_bounded():
6194 """UnboundedGridRange3D_get_is_bounded() -> bool"""
6195 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6197 class UnboundedGridRange4D(_object):
6198 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
6199 __swig_setmethods__ = {}
6200 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange4D, name, value)
6201 __swig_getmethods__ = {}
6202 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange4D, name)
6203 def __init__(self, *args):
6205 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
6206 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
6208 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
6209 try: self.this.append(this)
6210 except: self.this = this
6211 def set_number_of_voxels(self, *args):
6212 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
6213 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
6215 def get_number_of_voxels(self, *args):
6216 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
6217 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
6219 def get_is_bounded():
6220 """get_is_bounded() -> bool"""
6221 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6223 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6224 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6225 def get_has_index(self, *args):
6226 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
6227 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
6229 def show(self, *args):
6231 show(UnboundedGridRange4D self, _ostream out=std::cout)
6232 show(UnboundedGridRange4D self)
6234 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
6236 def get_extended_indexes(self, *args):
6237 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6238 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
6241 """__str__(UnboundedGridRange4D self) -> std::string"""
6242 return _IMP_algebra.UnboundedGridRange4D___str__(self)
6245 """__repr__(UnboundedGridRange4D self) -> std::string"""
6246 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
6248 def __cmp__(self, *args):
6249 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
6250 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
6252 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
6253 __del__ =
lambda self :
None;
6254 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
6255 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
6257 def UnboundedGridRange4D_get_is_bounded():
6258 """UnboundedGridRange4D_get_is_bounded() -> bool"""
6259 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6261 class UnboundedGridRange5D(_object):
6262 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
6263 __swig_setmethods__ = {}
6264 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange5D, name, value)
6265 __swig_getmethods__ = {}
6266 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange5D, name)
6267 def __init__(self, *args):
6269 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
6270 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
6272 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
6273 try: self.this.append(this)
6274 except: self.this = this
6275 def set_number_of_voxels(self, *args):
6276 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
6277 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
6279 def get_number_of_voxels(self, *args):
6280 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
6281 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
6283 def get_is_bounded():
6284 """get_is_bounded() -> bool"""
6285 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6287 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6288 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6289 def get_has_index(self, *args):
6290 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
6291 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
6293 def show(self, *args):
6295 show(UnboundedGridRange5D self, _ostream out=std::cout)
6296 show(UnboundedGridRange5D self)
6298 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
6300 def get_extended_indexes(self, *args):
6301 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6302 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
6305 """__str__(UnboundedGridRange5D self) -> std::string"""
6306 return _IMP_algebra.UnboundedGridRange5D___str__(self)
6309 """__repr__(UnboundedGridRange5D self) -> std::string"""
6310 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
6312 def __cmp__(self, *args):
6313 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
6314 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
6316 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
6317 __del__ =
lambda self :
None;
6318 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
6319 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
6321 def UnboundedGridRange5D_get_is_bounded():
6322 """UnboundedGridRange5D_get_is_bounded() -> bool"""
6323 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6325 class UnboundedGridRange6D(_object):
6326 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
6327 __swig_setmethods__ = {}
6328 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange6D, name, value)
6329 __swig_getmethods__ = {}
6330 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange6D, name)
6331 def __init__(self, *args):
6333 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
6334 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
6336 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
6337 try: self.this.append(this)
6338 except: self.this = this
6339 def set_number_of_voxels(self, *args):
6340 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
6341 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
6343 def get_number_of_voxels(self, *args):
6344 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
6345 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
6347 def get_is_bounded():
6348 """get_is_bounded() -> bool"""
6349 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6351 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6352 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6353 def get_has_index(self, *args):
6354 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
6355 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
6357 def show(self, *args):
6359 show(UnboundedGridRange6D self, _ostream out=std::cout)
6360 show(UnboundedGridRange6D self)
6362 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
6364 def get_extended_indexes(self, *args):
6365 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6366 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
6369 """__str__(UnboundedGridRange6D self) -> std::string"""
6370 return _IMP_algebra.UnboundedGridRange6D___str__(self)
6373 """__repr__(UnboundedGridRange6D self) -> std::string"""
6374 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
6376 def __cmp__(self, *args):
6377 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
6378 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
6380 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
6381 __del__ =
lambda self :
None;
6382 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
6383 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
6385 def UnboundedGridRange6D_get_is_bounded():
6386 """UnboundedGridRange6D_get_is_bounded() -> bool"""
6387 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6389 class UnboundedGridRangeKD(_object):
6390 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
6391 __swig_setmethods__ = {}
6392 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRangeKD, name, value)
6393 __swig_getmethods__ = {}
6394 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRangeKD, name)
6395 def __init__(self, *args):
6397 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
6398 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
6400 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
6401 try: self.this.append(this)
6402 except: self.this = this
6403 def set_number_of_voxels(self, *args):
6404 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
6405 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
6407 def get_number_of_voxels(self, *args):
6408 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
6409 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
6411 def get_is_bounded():
6412 """get_is_bounded() -> bool"""
6413 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6415 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6416 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6417 def get_has_index(self, *args):
6418 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
6419 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
6421 def show(self, *args):
6423 show(UnboundedGridRangeKD self, _ostream out=std::cout)
6424 show(UnboundedGridRangeKD self)
6426 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
6428 def get_extended_indexes(self, *args):
6429 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6430 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
6433 """__str__(UnboundedGridRangeKD self) -> std::string"""
6434 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
6437 """__repr__(UnboundedGridRangeKD self) -> std::string"""
6438 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
6440 def __cmp__(self, *args):
6441 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
6442 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
6444 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
6445 __del__ =
lambda self :
None;
6446 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
6447 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
6449 def UnboundedGridRangeKD_get_is_bounded():
6450 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
6451 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6453 class DefaultEmbedding1D(_object):
6454 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
6455 __swig_setmethods__ = {}
6456 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding1D, name, value)
6457 __swig_getmethods__ = {}
6458 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding1D, name)
6459 def __init__(self, *args):
6461 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
6462 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
6464 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
6465 try: self.this.append(this)
6466 except: self.this = this
6467 def set_origin(self, *args):
6468 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
6469 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
6471 def get_origin(self):
6472 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
6473 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
6475 def get_dimension(self):
6476 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
6477 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
6479 def set_unit_cell(self, *args):
6480 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
6481 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
6483 def get_inverse_unit_cell(self):
6484 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6485 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
6487 def get_unit_cell(self):
6488 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6489 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
6491 def get_extended_index(self, *args):
6492 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
6493 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
6496 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
6497 return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
6499 def get_center(self, *args):
6501 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
6502 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
6504 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
6508 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
6509 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
6511 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
6513 def show(self, *args):
6515 show(DefaultEmbedding1D self, _ostream out=std::cout)
6516 show(DefaultEmbedding1D self)
6518 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
6521 """__str__(DefaultEmbedding1D self) -> std::string"""
6522 return _IMP_algebra.DefaultEmbedding1D___str__(self)
6525 """__repr__(DefaultEmbedding1D self) -> std::string"""
6526 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
6528 def __cmp__(self, *args):
6529 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
6530 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
6532 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
6533 __del__ =
lambda self :
None;
6534 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
6535 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
6537 class DefaultEmbedding2D(_object):
6538 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
6539 __swig_setmethods__ = {}
6540 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding2D, name, value)
6541 __swig_getmethods__ = {}
6542 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding2D, name)
6543 def __init__(self, *args):
6545 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
6546 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
6548 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
6549 try: self.this.append(this)
6550 except: self.this = this
6551 def set_origin(self, *args):
6552 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
6553 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
6555 def get_origin(self):
6556 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
6557 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
6559 def get_dimension(self):
6560 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
6561 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
6563 def set_unit_cell(self, *args):
6564 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
6565 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
6567 def get_inverse_unit_cell(self):
6568 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6569 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
6571 def get_unit_cell(self):
6572 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6573 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
6575 def get_extended_index(self, *args):
6576 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
6577 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
6580 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
6581 return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
6583 def get_center(self, *args):
6585 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
6586 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
6588 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
6592 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
6593 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
6595 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
6597 def show(self, *args):
6599 show(DefaultEmbedding2D self, _ostream out=std::cout)
6600 show(DefaultEmbedding2D self)
6602 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
6605 """__str__(DefaultEmbedding2D self) -> std::string"""
6606 return _IMP_algebra.DefaultEmbedding2D___str__(self)
6609 """__repr__(DefaultEmbedding2D self) -> std::string"""
6610 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
6612 def __cmp__(self, *args):
6613 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
6614 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
6616 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
6617 __del__ =
lambda self :
None;
6618 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
6619 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
6621 class DefaultEmbedding3D(_object):
6622 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
6623 __swig_setmethods__ = {}
6624 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding3D, name, value)
6625 __swig_getmethods__ = {}
6626 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding3D, name)
6627 def __init__(self, *args):
6629 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
6630 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
6632 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
6633 try: self.this.append(this)
6634 except: self.this = this
6635 def set_origin(self, *args):
6636 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
6637 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
6639 def get_origin(self):
6640 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
6641 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
6643 def get_dimension(self):
6644 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
6645 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
6647 def set_unit_cell(self, *args):
6648 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
6649 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
6651 def get_inverse_unit_cell(self):
6652 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6653 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
6655 def get_unit_cell(self):
6656 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6657 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
6659 def get_extended_index(self, *args):
6660 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
6661 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
6664 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
6665 return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
6667 def get_center(self, *args):
6669 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
6670 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
6672 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
6676 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
6677 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
6679 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
6681 def show(self, *args):
6683 show(DefaultEmbedding3D self, _ostream out=std::cout)
6684 show(DefaultEmbedding3D self)
6686 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
6689 """__str__(DefaultEmbedding3D self) -> std::string"""
6690 return _IMP_algebra.DefaultEmbedding3D___str__(self)
6693 """__repr__(DefaultEmbedding3D self) -> std::string"""
6694 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
6696 def __cmp__(self, *args):
6697 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
6698 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
6700 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
6701 __del__ =
lambda self :
None;
6702 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
6703 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
6705 class DefaultEmbedding4D(_object):
6706 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
6707 __swig_setmethods__ = {}
6708 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding4D, name, value)
6709 __swig_getmethods__ = {}
6710 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding4D, name)
6711 def __init__(self, *args):
6713 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
6714 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
6716 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
6717 try: self.this.append(this)
6718 except: self.this = this
6719 def set_origin(self, *args):
6720 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
6721 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
6723 def get_origin(self):
6724 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
6725 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
6727 def get_dimension(self):
6728 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
6729 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
6731 def set_unit_cell(self, *args):
6732 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
6733 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
6735 def get_inverse_unit_cell(self):
6736 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6737 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
6739 def get_unit_cell(self):
6740 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6741 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
6743 def get_extended_index(self, *args):
6744 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
6745 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
6748 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
6749 return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
6751 def get_center(self, *args):
6753 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
6754 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
6756 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
6760 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
6761 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
6763 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
6765 def show(self, *args):
6767 show(DefaultEmbedding4D self, _ostream out=std::cout)
6768 show(DefaultEmbedding4D self)
6770 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
6773 """__str__(DefaultEmbedding4D self) -> std::string"""
6774 return _IMP_algebra.DefaultEmbedding4D___str__(self)
6777 """__repr__(DefaultEmbedding4D self) -> std::string"""
6778 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
6780 def __cmp__(self, *args):
6781 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
6782 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
6784 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
6785 __del__ =
lambda self :
None;
6786 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
6787 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
6789 class DefaultEmbedding5D(_object):
6790 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
6791 __swig_setmethods__ = {}
6792 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding5D, name, value)
6793 __swig_getmethods__ = {}
6794 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding5D, name)
6795 def __init__(self, *args):
6797 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
6798 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
6800 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
6801 try: self.this.append(this)
6802 except: self.this = this
6803 def set_origin(self, *args):
6804 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
6805 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
6807 def get_origin(self):
6808 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
6809 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
6811 def get_dimension(self):
6812 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
6813 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
6815 def set_unit_cell(self, *args):
6816 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
6817 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
6819 def get_inverse_unit_cell(self):
6820 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6821 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
6823 def get_unit_cell(self):
6824 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6825 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
6827 def get_extended_index(self, *args):
6828 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
6829 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
6832 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
6833 return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
6835 def get_center(self, *args):
6837 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
6838 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
6840 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
6844 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
6845 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
6847 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
6849 def show(self, *args):
6851 show(DefaultEmbedding5D self, _ostream out=std::cout)
6852 show(DefaultEmbedding5D self)
6854 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
6857 """__str__(DefaultEmbedding5D self) -> std::string"""
6858 return _IMP_algebra.DefaultEmbedding5D___str__(self)
6861 """__repr__(DefaultEmbedding5D self) -> std::string"""
6862 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
6864 def __cmp__(self, *args):
6865 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
6866 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
6868 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
6869 __del__ =
lambda self :
None;
6870 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
6871 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
6873 class DefaultEmbedding6D(_object):
6874 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
6875 __swig_setmethods__ = {}
6876 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding6D, name, value)
6877 __swig_getmethods__ = {}
6878 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding6D, name)
6879 def __init__(self, *args):
6881 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
6882 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
6884 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
6885 try: self.this.append(this)
6886 except: self.this = this
6887 def set_origin(self, *args):
6888 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
6889 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
6891 def get_origin(self):
6892 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
6893 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
6895 def get_dimension(self):
6896 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
6897 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
6899 def set_unit_cell(self, *args):
6900 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
6901 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
6903 def get_inverse_unit_cell(self):
6904 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
6905 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
6907 def get_unit_cell(self):
6908 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
6909 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
6911 def get_extended_index(self, *args):
6912 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
6913 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
6916 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
6917 return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
6919 def get_center(self, *args):
6921 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
6922 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
6924 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
6928 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
6929 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
6931 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
6933 def show(self, *args):
6935 show(DefaultEmbedding6D self, _ostream out=std::cout)
6936 show(DefaultEmbedding6D self)
6938 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
6941 """__str__(DefaultEmbedding6D self) -> std::string"""
6942 return _IMP_algebra.DefaultEmbedding6D___str__(self)
6945 """__repr__(DefaultEmbedding6D self) -> std::string"""
6946 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
6948 def __cmp__(self, *args):
6949 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
6950 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
6952 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
6953 __del__ =
lambda self :
None;
6954 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
6955 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
6957 class DefaultEmbeddingKD(_object):
6958 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
6959 __swig_setmethods__ = {}
6960 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbeddingKD, name, value)
6961 __swig_getmethods__ = {}
6962 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbeddingKD, name)
6963 def __init__(self, *args):
6965 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
6966 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
6968 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
6969 try: self.this.append(this)
6970 except: self.this = this
6971 def set_origin(self, *args):
6972 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
6973 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
6975 def get_origin(self):
6976 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
6977 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
6979 def get_dimension(self):
6980 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
6981 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
6983 def set_unit_cell(self, *args):
6984 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
6985 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
6987 def get_inverse_unit_cell(self):
6988 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
6989 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
6991 def get_unit_cell(self):
6992 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
6993 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
6995 def get_extended_index(self, *args):
6996 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
6997 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
7000 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7001 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7003 def get_center(self, *args):
7005 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7006 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7008 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7012 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7013 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7015 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7017 def show(self, *args):
7019 show(DefaultEmbeddingKD self, _ostream out=std::cout)
7020 show(DefaultEmbeddingKD self)
7022 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7025 """__str__(DefaultEmbeddingKD self) -> std::string"""
7026 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
7029 """__repr__(DefaultEmbeddingKD self) -> std::string"""
7030 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
7032 def __cmp__(self, *args):
7033 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
7034 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
7036 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
7037 __del__ =
lambda self :
None;
7038 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
7039 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
7041 class LogEmbedding1D(_object):
7042 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
7043 __swig_setmethods__ = {}
7044 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding1D, name, value)
7045 __swig_getmethods__ = {}
7046 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding1D, name)
7047 def __init__(self, *args):
7049 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
7050 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
7051 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
7052 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
7053 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
7055 this = _IMP_algebra.new_LogEmbedding1D(*args)
7056 try: self.this.append(this)
7057 except: self.this = this
7058 def set_origin(self, *args):
7059 """set_origin(LogEmbedding1D self, Vector1D o)"""
7060 return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
7062 def get_origin(self):
7063 """get_origin(LogEmbedding1D self) -> Vector1D"""
7064 return _IMP_algebra.LogEmbedding1D_get_origin(self)
7066 def get_dimension(self):
7067 """get_dimension(LogEmbedding1D self) -> unsigned int"""
7068 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
7070 def set_unit_cell(self, *args):
7072 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
7073 set_unit_cell(LogEmbedding1D self, Vector1D o)
7075 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
7077 def get_unit_cell(self):
7078 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
7079 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
7081 def get_extended_index(self, *args):
7082 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7083 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
7086 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
7087 return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
7089 def get_center(self, *args):
7091 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7092 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
7094 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
7098 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7099 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7101 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
7103 def show(self, *args):
7105 show(LogEmbedding1D self, _ostream out=std::cout)
7106 show(LogEmbedding1D self)
7108 return _IMP_algebra.LogEmbedding1D_show(self, *args)
7111 """__str__(LogEmbedding1D self) -> std::string"""
7112 return _IMP_algebra.LogEmbedding1D___str__(self)
7115 """__repr__(LogEmbedding1D self) -> std::string"""
7116 return _IMP_algebra.LogEmbedding1D___repr__(self)
7118 def __cmp__(self, *args):
7119 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
7120 return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
7122 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
7123 __del__ =
lambda self :
None;
7124 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
7125 LogEmbedding1D_swigregister(LogEmbedding1D)
7127 class LogEmbedding2D(_object):
7128 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
7129 __swig_setmethods__ = {}
7130 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding2D, name, value)
7131 __swig_getmethods__ = {}
7132 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding2D, name)
7133 def __init__(self, *args):
7135 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
7136 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
7137 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
7138 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
7139 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
7141 this = _IMP_algebra.new_LogEmbedding2D(*args)
7142 try: self.this.append(this)
7143 except: self.this = this
7144 def set_origin(self, *args):
7145 """set_origin(LogEmbedding2D self, Vector2D o)"""
7146 return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
7148 def get_origin(self):
7149 """get_origin(LogEmbedding2D self) -> Vector2D"""
7150 return _IMP_algebra.LogEmbedding2D_get_origin(self)
7152 def get_dimension(self):
7153 """get_dimension(LogEmbedding2D self) -> unsigned int"""
7154 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
7156 def set_unit_cell(self, *args):
7158 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
7159 set_unit_cell(LogEmbedding2D self, Vector2D o)
7161 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
7163 def get_unit_cell(self):
7164 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
7165 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
7167 def get_extended_index(self, *args):
7168 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7169 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
7172 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
7173 return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
7175 def get_center(self, *args):
7177 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7178 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
7180 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
7184 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7185 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7187 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
7189 def show(self, *args):
7191 show(LogEmbedding2D self, _ostream out=std::cout)
7192 show(LogEmbedding2D self)
7194 return _IMP_algebra.LogEmbedding2D_show(self, *args)
7197 """__str__(LogEmbedding2D self) -> std::string"""
7198 return _IMP_algebra.LogEmbedding2D___str__(self)
7201 """__repr__(LogEmbedding2D self) -> std::string"""
7202 return _IMP_algebra.LogEmbedding2D___repr__(self)
7204 def __cmp__(self, *args):
7205 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
7206 return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
7208 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
7209 __del__ =
lambda self :
None;
7210 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
7211 LogEmbedding2D_swigregister(LogEmbedding2D)
7213 class LogEmbedding3D(_object):
7214 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
7215 __swig_setmethods__ = {}
7216 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding3D, name, value)
7217 __swig_getmethods__ = {}
7218 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding3D, name)
7219 def __init__(self, *args):
7221 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
7222 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
7223 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
7224 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
7225 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
7227 this = _IMP_algebra.new_LogEmbedding3D(*args)
7228 try: self.this.append(this)
7229 except: self.this = this
7230 def set_origin(self, *args):
7231 """set_origin(LogEmbedding3D self, Vector3D o)"""
7232 return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
7234 def get_origin(self):
7235 """get_origin(LogEmbedding3D self) -> Vector3D"""
7236 return _IMP_algebra.LogEmbedding3D_get_origin(self)
7238 def get_dimension(self):
7239 """get_dimension(LogEmbedding3D self) -> unsigned int"""
7240 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
7242 def set_unit_cell(self, *args):
7244 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
7245 set_unit_cell(LogEmbedding3D self, Vector3D o)
7247 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
7249 def get_unit_cell(self):
7250 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
7251 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
7253 def get_extended_index(self, *args):
7254 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7255 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
7258 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
7259 return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
7261 def get_center(self, *args):
7263 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7264 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
7266 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
7270 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7271 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7273 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
7275 def show(self, *args):
7277 show(LogEmbedding3D self, _ostream out=std::cout)
7278 show(LogEmbedding3D self)
7280 return _IMP_algebra.LogEmbedding3D_show(self, *args)
7283 """__str__(LogEmbedding3D self) -> std::string"""
7284 return _IMP_algebra.LogEmbedding3D___str__(self)
7287 """__repr__(LogEmbedding3D self) -> std::string"""
7288 return _IMP_algebra.LogEmbedding3D___repr__(self)
7290 def __cmp__(self, *args):
7291 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
7292 return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
7294 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
7295 __del__ =
lambda self :
None;
7296 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
7297 LogEmbedding3D_swigregister(LogEmbedding3D)
7299 class LogEmbedding4D(_object):
7300 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
7301 __swig_setmethods__ = {}
7302 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding4D, name, value)
7303 __swig_getmethods__ = {}
7304 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding4D, name)
7305 def __init__(self, *args):
7307 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
7308 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
7309 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
7310 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
7311 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
7313 this = _IMP_algebra.new_LogEmbedding4D(*args)
7314 try: self.this.append(this)
7315 except: self.this = this
7316 def set_origin(self, *args):
7317 """set_origin(LogEmbedding4D self, Vector4D o)"""
7318 return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
7320 def get_origin(self):
7321 """get_origin(LogEmbedding4D self) -> Vector4D"""
7322 return _IMP_algebra.LogEmbedding4D_get_origin(self)
7324 def get_dimension(self):
7325 """get_dimension(LogEmbedding4D self) -> unsigned int"""
7326 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
7328 def set_unit_cell(self, *args):
7330 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
7331 set_unit_cell(LogEmbedding4D self, Vector4D o)
7333 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
7335 def get_unit_cell(self):
7336 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
7337 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
7339 def get_extended_index(self, *args):
7340 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7341 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
7344 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
7345 return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
7347 def get_center(self, *args):
7349 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7350 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
7352 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
7356 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7357 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7359 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
7361 def show(self, *args):
7363 show(LogEmbedding4D self, _ostream out=std::cout)
7364 show(LogEmbedding4D self)
7366 return _IMP_algebra.LogEmbedding4D_show(self, *args)
7369 """__str__(LogEmbedding4D self) -> std::string"""
7370 return _IMP_algebra.LogEmbedding4D___str__(self)
7373 """__repr__(LogEmbedding4D self) -> std::string"""
7374 return _IMP_algebra.LogEmbedding4D___repr__(self)
7376 def __cmp__(self, *args):
7377 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
7378 return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
7380 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
7381 __del__ =
lambda self :
None;
7382 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
7383 LogEmbedding4D_swigregister(LogEmbedding4D)
7385 class LogEmbedding5D(_object):
7386 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
7387 __swig_setmethods__ = {}
7388 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding5D, name, value)
7389 __swig_getmethods__ = {}
7390 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding5D, name)
7391 def __init__(self, *args):
7393 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
7394 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
7395 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
7396 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
7397 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
7399 this = _IMP_algebra.new_LogEmbedding5D(*args)
7400 try: self.this.append(this)
7401 except: self.this = this
7402 def set_origin(self, *args):
7403 """set_origin(LogEmbedding5D self, Vector5D o)"""
7404 return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
7406 def get_origin(self):
7407 """get_origin(LogEmbedding5D self) -> Vector5D"""
7408 return _IMP_algebra.LogEmbedding5D_get_origin(self)
7410 def get_dimension(self):
7411 """get_dimension(LogEmbedding5D self) -> unsigned int"""
7412 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
7414 def set_unit_cell(self, *args):
7416 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
7417 set_unit_cell(LogEmbedding5D self, Vector5D o)
7419 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
7421 def get_unit_cell(self):
7422 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
7423 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
7425 def get_extended_index(self, *args):
7426 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7427 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
7430 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
7431 return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
7433 def get_center(self, *args):
7435 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7436 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
7438 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
7442 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7443 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7445 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
7447 def show(self, *args):
7449 show(LogEmbedding5D self, _ostream out=std::cout)
7450 show(LogEmbedding5D self)
7452 return _IMP_algebra.LogEmbedding5D_show(self, *args)
7455 """__str__(LogEmbedding5D self) -> std::string"""
7456 return _IMP_algebra.LogEmbedding5D___str__(self)
7459 """__repr__(LogEmbedding5D self) -> std::string"""
7460 return _IMP_algebra.LogEmbedding5D___repr__(self)
7462 def __cmp__(self, *args):
7463 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
7464 return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
7466 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
7467 __del__ =
lambda self :
None;
7468 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
7469 LogEmbedding5D_swigregister(LogEmbedding5D)
7471 class LogEmbedding6D(_object):
7472 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
7473 __swig_setmethods__ = {}
7474 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding6D, name, value)
7475 __swig_getmethods__ = {}
7476 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding6D, name)
7477 def __init__(self, *args):
7479 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
7480 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
7481 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
7482 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
7483 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
7485 this = _IMP_algebra.new_LogEmbedding6D(*args)
7486 try: self.this.append(this)
7487 except: self.this = this
7488 def set_origin(self, *args):
7489 """set_origin(LogEmbedding6D self, Vector6D o)"""
7490 return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
7492 def get_origin(self):
7493 """get_origin(LogEmbedding6D self) -> Vector6D"""
7494 return _IMP_algebra.LogEmbedding6D_get_origin(self)
7496 def get_dimension(self):
7497 """get_dimension(LogEmbedding6D self) -> unsigned int"""
7498 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
7500 def set_unit_cell(self, *args):
7502 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
7503 set_unit_cell(LogEmbedding6D self, Vector6D o)
7505 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
7507 def get_unit_cell(self):
7508 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
7509 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
7511 def get_extended_index(self, *args):
7512 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7513 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
7516 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
7517 return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
7519 def get_center(self, *args):
7521 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7522 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
7524 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
7528 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7529 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7531 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
7533 def show(self, *args):
7535 show(LogEmbedding6D self, _ostream out=std::cout)
7536 show(LogEmbedding6D self)
7538 return _IMP_algebra.LogEmbedding6D_show(self, *args)
7541 """__str__(LogEmbedding6D self) -> std::string"""
7542 return _IMP_algebra.LogEmbedding6D___str__(self)
7545 """__repr__(LogEmbedding6D self) -> std::string"""
7546 return _IMP_algebra.LogEmbedding6D___repr__(self)
7548 def __cmp__(self, *args):
7549 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
7550 return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
7552 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
7553 __del__ =
lambda self :
None;
7554 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
7555 LogEmbedding6D_swigregister(LogEmbedding6D)
7557 class LogEmbeddingKD(_object):
7558 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
7559 __swig_setmethods__ = {}
7560 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbeddingKD, name, value)
7561 __swig_getmethods__ = {}
7562 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbeddingKD, name)
7563 def __init__(self, *args):
7565 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
7566 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
7567 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
7568 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
7569 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
7571 this = _IMP_algebra.new_LogEmbeddingKD(*args)
7572 try: self.this.append(this)
7573 except: self.this = this
7574 def set_origin(self, *args):
7575 """set_origin(LogEmbeddingKD self, VectorKD o)"""
7576 return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
7578 def get_origin(self):
7579 """get_origin(LogEmbeddingKD self) -> VectorKD"""
7580 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
7582 def get_dimension(self):
7583 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
7584 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
7586 def set_unit_cell(self, *args):
7588 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
7589 set_unit_cell(LogEmbeddingKD self, VectorKD o)
7591 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
7593 def get_unit_cell(self):
7594 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
7595 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
7597 def get_extended_index(self, *args):
7598 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7599 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
7602 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7603 return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
7605 def get_center(self, *args):
7607 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7608 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
7610 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
7614 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7615 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7617 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
7619 def show(self, *args):
7621 show(LogEmbeddingKD self, _ostream out=std::cout)
7622 show(LogEmbeddingKD self)
7624 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
7627 """__str__(LogEmbeddingKD self) -> std::string"""
7628 return _IMP_algebra.LogEmbeddingKD___str__(self)
7631 """__repr__(LogEmbeddingKD self) -> std::string"""
7632 return _IMP_algebra.LogEmbeddingKD___repr__(self)
7634 def __cmp__(self, *args):
7635 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
7636 return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
7638 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
7639 __del__ =
lambda self :
None;
7640 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
7641 LogEmbeddingKD_swigregister(LogEmbeddingKD)
7643 class SpherePatch3D(_GeometricPrimitive3D):
7644 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
7645 __swig_setmethods__ = {}
7646 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7647 __setattr__ =
lambda self, name, value: _swig_setattr(self, SpherePatch3D, name, value)
7648 __swig_getmethods__ = {}
7649 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7650 __getattr__ =
lambda self, name: _swig_getattr(self, SpherePatch3D, name)
7651 def __init__(self, *args):
7653 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
7654 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
7656 this = _IMP_algebra.new_SpherePatch3D(*args)
7657 try: self.this.append(this)
7658 except: self.this = this
7659 def get_contains(self, *args):
7660 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
7661 return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
7663 def get_plane(self):
7664 """get_plane(SpherePatch3D self) -> Plane3D"""
7665 return _IMP_algebra.SpherePatch3D_get_plane(self)
7667 def get_sphere(self):
7668 """get_sphere(SpherePatch3D self) -> Sphere3D"""
7669 return _IMP_algebra.SpherePatch3D_get_sphere(self)
7671 def show(self, *args):
7673 show(SpherePatch3D self, _ostream out=std::cout)
7674 show(SpherePatch3D self)
7676 return _IMP_algebra.SpherePatch3D_show(self, *args)
7678 def get_boundary_point(self):
7679 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
7680 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
7683 """__str__(SpherePatch3D self) -> std::string"""
7684 return _IMP_algebra.SpherePatch3D___str__(self)
7687 """__repr__(SpherePatch3D self) -> std::string"""
7688 return _IMP_algebra.SpherePatch3D___repr__(self)
7690 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
7691 __del__ =
lambda self :
None;
7692 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
7693 SpherePatch3D_swigregister(SpherePatch3D)
7698 get_area(Plane3D g) -> double
7699 get_area(SpherePatch3D g) -> double
7701 return _IMP_algebra.get_area(*args)
7704 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
7705 return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
7706 class Cone3D(_GeometricPrimitive3D):
7707 """Proxy of C++ IMP::algebra::Cone3D class"""
7708 __swig_setmethods__ = {}
7709 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7710 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cone3D, name, value)
7711 __swig_getmethods__ = {}
7712 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7713 __getattr__ =
lambda self, name: _swig_getattr(self, Cone3D, name)
7714 def __init__(self, *args):
7716 __init__(IMP::algebra::Cone3D self) -> Cone3D
7717 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
7719 this = _IMP_algebra.new_Cone3D(*args)
7720 try: self.this.append(this)
7721 except: self.this = this
7723 """get_tip(Cone3D self) -> Vector3D"""
7724 return _IMP_algebra.Cone3D_get_tip(self)
7726 def get_direction(self):
7727 """get_direction(Cone3D self) -> Vector3D"""
7728 return _IMP_algebra.Cone3D_get_direction(self)
7730 def get_height(self):
7731 """get_height(Cone3D self) -> double"""
7732 return _IMP_algebra.Cone3D_get_height(self)
7734 def get_angle(self):
7735 """get_angle(Cone3D self) -> double"""
7736 return _IMP_algebra.Cone3D_get_angle(self)
7738 def get_radius(self):
7739 """get_radius(Cone3D self) -> double"""
7740 return _IMP_algebra.Cone3D_get_radius(self)
7742 def get_contains(self, *args):
7743 """get_contains(Cone3D self, Vector3D v) -> bool"""
7744 return _IMP_algebra.Cone3D_get_contains(self, *args)
7746 def get_base_plane(self):
7747 """get_base_plane(Cone3D self) -> Plane3D"""
7748 return _IMP_algebra.Cone3D_get_base_plane(self)
7750 def show(self, *args):
7752 show(Cone3D self, _ostream out=std::cout)
7755 return _IMP_algebra.Cone3D_show(self, *args)
7758 """__str__(Cone3D self) -> std::string"""
7759 return _IMP_algebra.Cone3D___str__(self)
7762 """__repr__(Cone3D self) -> std::string"""
7763 return _IMP_algebra.Cone3D___repr__(self)
7765 __swig_destroy__ = _IMP_algebra.delete_Cone3D
7766 __del__ =
lambda self :
None;
7767 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
7768 Cone3D_swigregister(Cone3D)
7773 get_surface_area(BoundingBox3D g) -> double
7774 get_surface_area(Sphere3D g) -> double
7775 get_surface_area(Cylinder3D g) -> double
7776 get_surface_area(Ellipsoid3D g) -> double
7777 get_surface_area(Cone3D g) -> double
7779 return _IMP_algebra.get_surface_area(*args)
7783 get_volume(BoundingBox3D g) -> double
7784 get_volume(Sphere3D g) -> double
7785 get_volume(Cylinder3D g) -> double
7786 get_volume(Ellipsoid3D g) -> double
7787 get_volume(Cone3D g) -> double
7789 return _IMP_algebra.get_volume(*args)
7792 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
7793 return _IMP_algebra.get_cone_3d_geometry(*args)
7796 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
7797 return _IMP_algebra.write_pts(*args)
7800 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
7801 return _IMP_algebra.read_pts(*args)
7804 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
7805 return _IMP_algebra.write_spheres(*args)
7808 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
7809 return _IMP_algebra.read_spheres(*args)
7812 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
7813 return _IMP_algebra.get_grid_surface_cover(*args)
7817 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0), IMP::algebra::Sphere3Ds const & obstacles=IMP::algebra::Sphere3Ds()) -> IMP::algebra::Vector3Ds
7818 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0)) -> IMP::algebra::Vector3Ds
7819 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
7821 return _IMP_algebra.get_random_chain(*args)
7824 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
7825 return _IMP_algebra.reversed_read(*args)
7829 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
7830 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
7832 return _IMP_algebra.reversed_write(*args)
7835 """get_is_big_endian() -> bool"""
7836 return _IMP_algebra.get_is_big_endian()
7839 """get_is_little_endian() -> bool"""
7840 return _IMP_algebra.get_is_little_endian()
7844 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
7845 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
7847 return _IMP_algebra.get_shortest_segment(*args)
7849 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
7850 __swig_setmethods__ = {}
7851 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7852 __setattr__ =
lambda self, name, value: _swig_setattr(self, DynamicNearestNeighbor3D, name, value)
7853 __swig_getmethods__ = {}
7854 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7855 __getattr__ =
lambda self, name: _swig_getattr(self, DynamicNearestNeighbor3D, name)
7856 def __init__(self, *args):
7858 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
7859 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
7861 this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
7862 try: self.this.append(this)
7863 except: self.this = this
7864 def get_in_ball(self, *args):
7865 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
7866 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
7868 def set_coordinates(self, *args):
7869 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
7870 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
7872 def get_version_info(self):
7873 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
7874 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
7876 __swig_destroy__ = _IMP_algebra.delete_DynamicNearestNeighbor3D
7877 __del__ =
lambda self :
None;
7879 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
7880 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
7883 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
7884 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
7887 return _object_cast_to_DynamicNearestNeighbor3D(o)
7888 get_from = staticmethod(get_from)
7890 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
7891 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
7894 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
7895 __swig_setmethods__ = {}
7896 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7897 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKDMetric, name, value)
7898 __swig_getmethods__ = {}
7899 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7900 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKDMetric, name)
7901 def __init__(self, *args):
7902 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
7903 if self.__class__ == VectorKDMetric:
7907 this = _IMP_algebra.new_VectorKDMetric(_self, *args)
7908 try: self.this.append(this)
7909 except: self.this = this
7910 if self.__class__ != VectorKDMetric:
7912 IMP.base._director_objects.register(self)
7917 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
7918 return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
7921 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
7922 return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
7925 """__str__(VectorKDMetric self) -> std::string"""
7926 return _IMP_algebra.VectorKDMetric___str__(self)
7929 """__repr__(VectorKDMetric self) -> std::string"""
7930 return _IMP_algebra.VectorKDMetric___repr__(self)
7933 return _object_cast_to_VectorKDMetric(o)
7934 get_from = staticmethod(get_from)
7936 def get_type_name(self):
7937 return self.__class__.__name__
7938 def do_show(self, out):
7940 def get_version_info(self):
7941 if"IMP::algebra" ==
"IMP":
7942 return VersionInfo(
"python",
"0")
7944 return IMP.VersionInfo(
"python",
"0")
7946 return _object_cast_to_VectorKDMetric(o)
7947 get_from = staticmethod(get_from)
7949 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
7950 __del__ =
lambda self :
None;
7951 def __disown__(self):
7953 _IMP_algebra.disown_VectorKDMetric(self)
7954 return weakref_proxy(self)
7955 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
7956 VectorKDMetric_swigregister(VectorKDMetric)
7958 class EuclideanVectorKDMetric(VectorKDMetric):
7959 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
7960 __swig_setmethods__ = {}
7961 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7962 __setattr__ =
lambda self, name, value: _swig_setattr(self, EuclideanVectorKDMetric, name, value)
7963 __swig_getmethods__ = {}
7964 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7965 __getattr__ =
lambda self, name: _swig_getattr(self, EuclideanVectorKDMetric, name)
7966 def __init__(self, name="EuclideanVectorKDMetric%1%"):
7968 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
7969 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
7971 this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
7972 try: self.this.append(this)
7973 except: self.this = this
7974 def get_version_info(self):
7975 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
7976 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
7978 __swig_destroy__ = _IMP_algebra.delete_EuclideanVectorKDMetric
7979 __del__ =
lambda self :
None;
7981 """__str__(EuclideanVectorKDMetric self) -> std::string"""
7982 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
7985 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
7986 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
7989 return _object_cast_to_EuclideanVectorKDMetric(o)
7990 get_from = staticmethod(get_from)
7992 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
7993 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
7995 class MaxVectorKDMetric(VectorKDMetric):
7996 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
7997 __swig_setmethods__ = {}
7998 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7999 __setattr__ =
lambda self, name, value: _swig_setattr(self, MaxVectorKDMetric, name, value)
8000 __swig_getmethods__ = {}
8001 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8002 __getattr__ =
lambda self, name: _swig_getattr(self, MaxVectorKDMetric, name)
8003 def __init__(self, name="MaxVectorKDMetric%1%"):
8005 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8006 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8008 this = _IMP_algebra.new_MaxVectorKDMetric(name)
8009 try: self.this.append(this)
8010 except: self.this = this
8011 def get_version_info(self):
8012 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8013 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8015 __swig_destroy__ = _IMP_algebra.delete_MaxVectorKDMetric
8016 __del__ =
lambda self :
None;
8018 """__str__(MaxVectorKDMetric self) -> std::string"""
8019 return _IMP_algebra.MaxVectorKDMetric___str__(self)
8022 """__repr__(MaxVectorKDMetric self) -> std::string"""
8023 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8026 return _object_cast_to_MaxVectorKDMetric(o)
8027 get_from = staticmethod(get_from)
8029 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8030 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8033 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8034 __swig_setmethods__ = {}
8035 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8036 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor1D, name, value)
8037 __swig_getmethods__ = {}
8038 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8039 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor1D, name)
8040 def __init__(self, *args):
8042 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8043 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8045 this = _IMP_algebra.new_NearestNeighbor1D(*args)
8046 try: self.this.append(this)
8047 except: self.this = this
8048 def set_query_log(self, *args):
8049 """set_query_log(NearestNeighbor1D self, std::string fname)"""
8050 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8052 def get_nearest_neighbor(self, *args):
8054 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8055 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8057 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8059 def get_nearest_neighbors(self, *args):
8061 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8062 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8064 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8066 def get_in_ball(self, *args):
8068 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8069 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8071 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8073 def get_version_info(self):
8074 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8075 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8077 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor1D
8078 __del__ =
lambda self :
None;
8080 """__str__(NearestNeighbor1D self) -> std::string"""
8081 return _IMP_algebra.NearestNeighbor1D___str__(self)
8084 """__repr__(NearestNeighbor1D self) -> std::string"""
8085 return _IMP_algebra.NearestNeighbor1D___repr__(self)
8088 return _object_cast_to_NearestNeighborD(o)
8089 get_from = staticmethod(get_from)
8091 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8092 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8095 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8096 __swig_setmethods__ = {}
8097 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8098 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor2D, name, value)
8099 __swig_getmethods__ = {}
8100 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8101 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor2D, name)
8102 def __init__(self, *args):
8104 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8105 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8107 this = _IMP_algebra.new_NearestNeighbor2D(*args)
8108 try: self.this.append(this)
8109 except: self.this = this
8110 def set_query_log(self, *args):
8111 """set_query_log(NearestNeighbor2D self, std::string fname)"""
8112 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8114 def get_nearest_neighbor(self, *args):
8116 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
8117 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
8119 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
8121 def get_nearest_neighbors(self, *args):
8123 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
8124 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
8126 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
8128 def get_in_ball(self, *args):
8130 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
8131 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
8133 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
8135 def get_version_info(self):
8136 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
8137 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
8139 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor2D
8140 __del__ =
lambda self :
None;
8142 """__str__(NearestNeighbor2D self) -> std::string"""
8143 return _IMP_algebra.NearestNeighbor2D___str__(self)
8146 """__repr__(NearestNeighbor2D self) -> std::string"""
8147 return _IMP_algebra.NearestNeighbor2D___repr__(self)
8150 return _object_cast_to_NearestNeighborD(o)
8151 get_from = staticmethod(get_from)
8153 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
8154 NearestNeighbor2D_swigregister(NearestNeighbor2D)
8157 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
8158 __swig_setmethods__ = {}
8159 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8160 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor3D, name, value)
8161 __swig_getmethods__ = {}
8162 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8163 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor3D, name)
8164 def __init__(self, *args):
8166 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
8167 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
8169 this = _IMP_algebra.new_NearestNeighbor3D(*args)
8170 try: self.this.append(this)
8171 except: self.this = this
8172 def set_query_log(self, *args):
8173 """set_query_log(NearestNeighbor3D self, std::string fname)"""
8174 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
8176 def get_nearest_neighbor(self, *args):
8178 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
8179 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
8181 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
8183 def get_nearest_neighbors(self, *args):
8185 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
8186 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
8188 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
8190 def get_in_ball(self, *args):
8192 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
8193 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
8195 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
8197 def get_version_info(self):
8198 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
8199 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
8201 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor3D
8202 __del__ =
lambda self :
None;
8204 """__str__(NearestNeighbor3D self) -> std::string"""
8205 return _IMP_algebra.NearestNeighbor3D___str__(self)
8208 """__repr__(NearestNeighbor3D self) -> std::string"""
8209 return _IMP_algebra.NearestNeighbor3D___repr__(self)
8212 return _object_cast_to_NearestNeighborD(o)
8213 get_from = staticmethod(get_from)
8215 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
8216 NearestNeighbor3D_swigregister(NearestNeighbor3D)
8219 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
8220 __swig_setmethods__ = {}
8221 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8222 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor4D, name, value)
8223 __swig_getmethods__ = {}
8224 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8225 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor4D, name)
8226 def __init__(self, *args):
8228 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
8229 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
8231 this = _IMP_algebra.new_NearestNeighbor4D(*args)
8232 try: self.this.append(this)
8233 except: self.this = this
8234 def set_query_log(self, *args):
8235 """set_query_log(NearestNeighbor4D self, std::string fname)"""
8236 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
8238 def get_nearest_neighbor(self, *args):
8240 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
8241 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
8243 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
8245 def get_nearest_neighbors(self, *args):
8247 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
8248 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
8250 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
8252 def get_in_ball(self, *args):
8254 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
8255 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
8257 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
8259 def get_version_info(self):
8260 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
8261 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
8263 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor4D
8264 __del__ =
lambda self :
None;
8266 """__str__(NearestNeighbor4D self) -> std::string"""
8267 return _IMP_algebra.NearestNeighbor4D___str__(self)
8270 """__repr__(NearestNeighbor4D self) -> std::string"""
8271 return _IMP_algebra.NearestNeighbor4D___repr__(self)
8274 return _object_cast_to_NearestNeighborD(o)
8275 get_from = staticmethod(get_from)
8277 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
8278 NearestNeighbor4D_swigregister(NearestNeighbor4D)
8281 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
8282 __swig_setmethods__ = {}
8283 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8284 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor5D, name, value)
8285 __swig_getmethods__ = {}
8286 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8287 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor5D, name)
8288 def __init__(self, *args):
8290 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
8291 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
8293 this = _IMP_algebra.new_NearestNeighbor5D(*args)
8294 try: self.this.append(this)
8295 except: self.this = this
8296 def set_query_log(self, *args):
8297 """set_query_log(NearestNeighbor5D self, std::string fname)"""
8298 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
8300 def get_nearest_neighbor(self, *args):
8302 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
8303 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
8305 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
8307 def get_nearest_neighbors(self, *args):
8309 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
8310 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
8312 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
8314 def get_in_ball(self, *args):
8316 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
8317 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
8319 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
8321 def get_version_info(self):
8322 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
8323 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
8325 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor5D
8326 __del__ =
lambda self :
None;
8328 """__str__(NearestNeighbor5D self) -> std::string"""
8329 return _IMP_algebra.NearestNeighbor5D___str__(self)
8332 """__repr__(NearestNeighbor5D self) -> std::string"""
8333 return _IMP_algebra.NearestNeighbor5D___repr__(self)
8336 return _object_cast_to_NearestNeighborD(o)
8337 get_from = staticmethod(get_from)
8339 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
8340 NearestNeighbor5D_swigregister(NearestNeighbor5D)
8343 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
8344 __swig_setmethods__ = {}
8345 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8346 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor6D, name, value)
8347 __swig_getmethods__ = {}
8348 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8349 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor6D, name)
8350 def __init__(self, *args):
8352 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
8353 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
8355 this = _IMP_algebra.new_NearestNeighbor6D(*args)
8356 try: self.this.append(this)
8357 except: self.this = this
8358 def set_query_log(self, *args):
8359 """set_query_log(NearestNeighbor6D self, std::string fname)"""
8360 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
8362 def get_nearest_neighbor(self, *args):
8364 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
8365 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
8367 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
8369 def get_nearest_neighbors(self, *args):
8371 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
8372 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
8374 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
8376 def get_in_ball(self, *args):
8378 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
8379 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
8381 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
8383 def get_version_info(self):
8384 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
8385 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
8387 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor6D
8388 __del__ =
lambda self :
None;
8390 """__str__(NearestNeighbor6D self) -> std::string"""
8391 return _IMP_algebra.NearestNeighbor6D___str__(self)
8394 """__repr__(NearestNeighbor6D self) -> std::string"""
8395 return _IMP_algebra.NearestNeighbor6D___repr__(self)
8398 return _object_cast_to_NearestNeighborD(o)
8399 get_from = staticmethod(get_from)
8401 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
8402 NearestNeighbor6D_swigregister(NearestNeighbor6D)
8405 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
8406 __swig_setmethods__ = {}
8407 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8408 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborKD, name, value)
8409 __swig_getmethods__ = {}
8410 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8411 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborKD, name)
8412 def __init__(self, *args):
8414 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
8415 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
8417 this = _IMP_algebra.new_NearestNeighborKD(*args)
8418 try: self.this.append(this)
8419 except: self.this = this
8420 def set_query_log(self, *args):
8421 """set_query_log(NearestNeighborKD self, std::string fname)"""
8422 return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
8424 def get_nearest_neighbor(self, *args):
8426 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
8427 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
8429 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
8431 def get_nearest_neighbors(self, *args):
8433 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
8434 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
8436 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
8438 def get_in_ball(self, *args):
8440 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
8441 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
8443 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
8445 def get_version_info(self):
8446 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
8447 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
8449 __swig_destroy__ = _IMP_algebra.delete_NearestNeighborKD
8450 __del__ =
lambda self :
None;
8452 """__str__(NearestNeighborKD self) -> std::string"""
8453 return _IMP_algebra.NearestNeighborKD___str__(self)
8456 """__repr__(NearestNeighborKD self) -> std::string"""
8457 return _IMP_algebra.NearestNeighborKD___repr__(self)
8460 return _object_cast_to_NearestNeighborD(o)
8461 get_from = staticmethod(get_from)
8463 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
8464 NearestNeighborKD_swigregister(NearestNeighborKD)
8468 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
8469 return _IMP_algebra.get_transformation_aligning_pair(*args)
8470 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
8471 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
8472 __swig_setmethods__ = {}
8473 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8474 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis1D, name, value)
8475 __swig_getmethods__ = {}
8476 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8477 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis1D, name)
8478 def __init__(self, *args):
8480 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
8481 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
8483 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
8484 try: self.this.append(this)
8485 except: self.this = this
8487 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
8488 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
8490 def get_principal_component(self, *args):
8491 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
8492 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
8494 def get_principal_values(self):
8495 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
8496 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
8498 def get_principal_value(self, *args):
8499 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
8500 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
8503 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
8504 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
8506 def set_centroid(self, *args):
8507 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
8508 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
8510 def show(self, *args):
8512 show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
8513 show(PrincipalComponentAnalysis1D self)
8515 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
8517 def __eq__(self, *args):
8518 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8519 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
8521 def __ne__(self, *args):
8522 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8523 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
8525 def __lt__(self, *args):
8526 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8527 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
8529 def __gt__(self, *args):
8530 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8531 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
8533 def __ge__(self, *args):
8534 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8535 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
8537 def __le__(self, *args):
8538 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8539 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
8542 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
8543 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
8546 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
8547 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
8549 def __cmp__(self, *args):
8550 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D arg2) -> int"""
8551 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
8553 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
8554 __del__ =
lambda self :
None;
8555 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
8556 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
8558 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
8559 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
8560 __swig_setmethods__ = {}
8561 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8562 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis2D, name, value)
8563 __swig_getmethods__ = {}
8564 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8565 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis2D, name)
8566 def __init__(self, *args):
8568 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
8569 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
8571 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
8572 try: self.this.append(this)
8573 except: self.this = this
8575 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
8576 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
8578 def get_principal_component(self, *args):
8579 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
8580 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
8582 def get_principal_values(self):
8583 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
8584 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
8586 def get_principal_value(self, *args):
8587 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
8588 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
8591 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
8592 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
8594 def set_centroid(self, *args):
8595 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
8596 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
8598 def show(self, *args):
8600 show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
8601 show(PrincipalComponentAnalysis2D self)
8603 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
8605 def __eq__(self, *args):
8606 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8607 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
8609 def __ne__(self, *args):
8610 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8611 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
8613 def __lt__(self, *args):
8614 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8615 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
8617 def __gt__(self, *args):
8618 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8619 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
8621 def __ge__(self, *args):
8622 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8623 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
8625 def __le__(self, *args):
8626 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8627 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
8630 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
8631 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
8634 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
8635 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
8637 def __cmp__(self, *args):
8638 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D arg2) -> int"""
8639 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
8641 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
8642 __del__ =
lambda self :
None;
8643 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
8644 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
8646 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
8647 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
8648 __swig_setmethods__ = {}
8649 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8650 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis3D, name, value)
8651 __swig_getmethods__ = {}
8652 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8653 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis3D, name)
8654 def __init__(self, *args):
8656 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
8657 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
8659 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
8660 try: self.this.append(this)
8661 except: self.this = this
8663 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
8664 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
8666 def get_principal_component(self, *args):
8667 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
8668 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
8670 def get_principal_values(self):
8671 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
8672 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
8674 def get_principal_value(self, *args):
8675 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
8676 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
8679 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
8680 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
8682 def set_centroid(self, *args):
8683 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
8684 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
8686 def show(self, *args):
8688 show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
8689 show(PrincipalComponentAnalysis3D self)
8691 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
8693 def __eq__(self, *args):
8694 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8695 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
8697 def __ne__(self, *args):
8698 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8699 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
8701 def __lt__(self, *args):
8702 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8703 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
8705 def __gt__(self, *args):
8706 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8707 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
8709 def __ge__(self, *args):
8710 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8711 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
8713 def __le__(self, *args):
8714 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8715 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
8718 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
8719 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
8722 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
8723 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
8725 def __cmp__(self, *args):
8726 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D arg2) -> int"""
8727 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
8729 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
8730 __del__ =
lambda self :
None;
8731 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
8732 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
8734 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
8735 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
8736 __swig_setmethods__ = {}
8737 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8738 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis4D, name, value)
8739 __swig_getmethods__ = {}
8740 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8741 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis4D, name)
8742 def __init__(self, *args):
8744 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
8745 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
8747 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
8748 try: self.this.append(this)
8749 except: self.this = this
8751 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
8752 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
8754 def get_principal_component(self, *args):
8755 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
8756 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
8758 def get_principal_values(self):
8759 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
8760 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
8762 def get_principal_value(self, *args):
8763 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
8764 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
8767 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
8768 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
8770 def set_centroid(self, *args):
8771 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
8772 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
8774 def show(self, *args):
8776 show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
8777 show(PrincipalComponentAnalysis4D self)
8779 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
8781 def __eq__(self, *args):
8782 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8783 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
8785 def __ne__(self, *args):
8786 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8787 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
8789 def __lt__(self, *args):
8790 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8791 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
8793 def __gt__(self, *args):
8794 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8795 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
8797 def __ge__(self, *args):
8798 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8799 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
8801 def __le__(self, *args):
8802 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8803 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
8806 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
8807 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
8810 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
8811 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
8813 def __cmp__(self, *args):
8814 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D arg2) -> int"""
8815 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
8817 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
8818 __del__ =
lambda self :
None;
8819 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
8820 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
8822 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
8823 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
8824 __swig_setmethods__ = {}
8825 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8826 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis5D, name, value)
8827 __swig_getmethods__ = {}
8828 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8829 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis5D, name)
8830 def __init__(self, *args):
8832 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
8833 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
8835 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
8836 try: self.this.append(this)
8837 except: self.this = this
8839 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
8840 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
8842 def get_principal_component(self, *args):
8843 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
8844 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
8846 def get_principal_values(self):
8847 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
8848 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
8850 def get_principal_value(self, *args):
8851 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
8852 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
8855 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
8856 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
8858 def set_centroid(self, *args):
8859 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
8860 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
8862 def show(self, *args):
8864 show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
8865 show(PrincipalComponentAnalysis5D self)
8867 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
8869 def __eq__(self, *args):
8870 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8871 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
8873 def __ne__(self, *args):
8874 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8875 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
8877 def __lt__(self, *args):
8878 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8879 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
8881 def __gt__(self, *args):
8882 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8883 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
8885 def __ge__(self, *args):
8886 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8887 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
8889 def __le__(self, *args):
8890 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8891 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
8894 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
8895 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
8898 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
8899 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
8901 def __cmp__(self, *args):
8902 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D arg2) -> int"""
8903 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
8905 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
8906 __del__ =
lambda self :
None;
8907 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
8908 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
8910 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
8911 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
8912 __swig_setmethods__ = {}
8913 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8914 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis6D, name, value)
8915 __swig_getmethods__ = {}
8916 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8917 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis6D, name)
8918 def __init__(self, *args):
8920 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
8921 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
8923 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
8924 try: self.this.append(this)
8925 except: self.this = this
8927 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
8928 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
8930 def get_principal_component(self, *args):
8931 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
8932 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
8934 def get_principal_values(self):
8935 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
8936 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
8938 def get_principal_value(self, *args):
8939 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
8940 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
8943 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
8944 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
8946 def set_centroid(self, *args):
8947 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
8948 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
8950 def show(self, *args):
8952 show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
8953 show(PrincipalComponentAnalysis6D self)
8955 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
8957 def __eq__(self, *args):
8958 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8959 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
8961 def __ne__(self, *args):
8962 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8963 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
8965 def __lt__(self, *args):
8966 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8967 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
8969 def __gt__(self, *args):
8970 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8971 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
8973 def __ge__(self, *args):
8974 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8975 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
8977 def __le__(self, *args):
8978 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
8979 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
8982 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
8983 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
8986 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
8987 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
8989 def __cmp__(self, *args):
8990 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D arg2) -> int"""
8991 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
8993 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
8994 __del__ =
lambda self :
None;
8995 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
8996 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
8998 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
8999 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9000 __swig_setmethods__ = {}
9001 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9002 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysisKD, name, value)
9003 __swig_getmethods__ = {}
9004 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9005 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysisKD, name)
9006 def __init__(self, *args):
9008 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9009 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9011 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9012 try: self.this.append(this)
9013 except: self.this = this
9015 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9016 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9018 def get_principal_component(self, *args):
9019 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9020 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9022 def get_principal_values(self):
9023 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9024 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9026 def get_principal_value(self, *args):
9027 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9028 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9031 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9032 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9034 def set_centroid(self, *args):
9035 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9036 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9038 def show(self, *args):
9040 show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9041 show(PrincipalComponentAnalysisKD self)
9043 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9045 def __eq__(self, *args):
9046 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9047 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9049 def __ne__(self, *args):
9050 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9051 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9053 def __lt__(self, *args):
9054 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9055 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9057 def __gt__(self, *args):
9058 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9059 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9061 def __ge__(self, *args):
9062 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9063 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9065 def __le__(self, *args):
9066 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9067 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9070 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9071 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9074 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9075 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9077 def __cmp__(self, *args):
9078 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD arg2) -> int"""
9079 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9081 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9082 __del__ =
lambda self :
None;
9083 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9084 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9089 get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9090 get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9091 get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9092 get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9093 get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9094 get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9095 get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9097 return _IMP_algebra.get_principal_components(*args)
9101 get_distance(Rotation3D r0, Rotation3D r1) -> double
9102 get_distance(Segment3D s, Vector3D p) -> double
9103 get_distance(Segment3D a, Segment3D b) -> double
9104 get_distance(Plane3D pln, Vector3D p) -> double
9105 get_distance(Vector1D a, Vector1D b) -> double
9106 get_distance(Vector2D a, Vector2D b) -> double
9107 get_distance(Vector3D a, Vector3D b) -> double
9108 get_distance(Vector4D a, Vector4D b) -> double
9109 get_distance(Vector5D a, Vector5D b) -> double
9110 get_distance(Vector6D a, Vector6D b) -> double
9111 get_distance(VectorKD a, VectorKD b) -> double
9112 get_distance(Sphere1D a, Sphere1D b) -> double
9113 get_distance(Sphere2D a, Sphere2D b) -> double
9114 get_distance(Sphere3D a, Sphere3D b) -> double
9115 get_distance(Sphere4D a, Sphere4D b) -> double
9116 get_distance(Sphere5D a, Sphere5D b) -> double
9117 get_distance(Sphere6D a, Sphere6D b) -> double
9118 get_distance(SphereKD a, SphereKD b) -> double
9120 return _IMP_algebra.get_distance(*args)
9124 get_squared_distance(Vector1D a, Vector1D b) -> double
9125 get_squared_distance(Vector2D a, Vector2D b) -> double
9126 get_squared_distance(Vector3D a, Vector3D b) -> double
9127 get_squared_distance(Vector4D a, Vector4D b) -> double
9128 get_squared_distance(Vector5D a, Vector5D b) -> double
9129 get_squared_distance(Vector6D a, Vector6D b) -> double
9130 get_squared_distance(VectorKD a, VectorKD b) -> double
9132 return _IMP_algebra.get_squared_distance(*args)
9134 def get_basis_vector_1d(*args):
9135 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
9136 return _IMP_algebra.get_basis_vector_1d(*args)
9138 def get_basis_vector_2d(*args):
9139 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
9140 return _IMP_algebra.get_basis_vector_2d(*args)
9142 def get_basis_vector_3d(*args):
9143 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
9144 return _IMP_algebra.get_basis_vector_3d(*args)
9146 def get_basis_vector_4d(*args):
9147 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
9148 return _IMP_algebra.get_basis_vector_4d(*args)
9150 def get_basis_vector_5d(*args):
9151 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
9152 return _IMP_algebra.get_basis_vector_5d(*args)
9154 def get_basis_vector_6d(*args):
9155 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
9156 return _IMP_algebra.get_basis_vector_6d(*args)
9158 def get_zero_vector_1d():
9159 """get_zero_vector_1d() -> Vector1D"""
9160 return _IMP_algebra.get_zero_vector_1d()
9162 def get_zero_vector_2d():
9163 """get_zero_vector_2d() -> Vector2D"""
9164 return _IMP_algebra.get_zero_vector_2d()
9166 def get_zero_vector_3d():
9167 """get_zero_vector_3d() -> Vector3D"""
9168 return _IMP_algebra.get_zero_vector_3d()
9170 def get_zero_vector_4d():
9171 """get_zero_vector_4d() -> Vector4D"""
9172 return _IMP_algebra.get_zero_vector_4d()
9174 def get_zero_vector_5d():
9175 """get_zero_vector_5d() -> Vector5D"""
9176 return _IMP_algebra.get_zero_vector_5d()
9178 def get_zero_vector_6d():
9179 """get_zero_vector_6d() -> Vector6D"""
9180 return _IMP_algebra.get_zero_vector_6d()
9182 def get_ones_vector_1d(v=1):
9184 get_ones_vector_1d(double v=1) -> Vector1D
9185 get_ones_vector_1d() -> Vector1D
9187 return _IMP_algebra.get_ones_vector_1d(v)
9189 def get_ones_vector_2d(v=1):
9191 get_ones_vector_2d(double v=1) -> Vector2D
9192 get_ones_vector_2d() -> Vector2D
9194 return _IMP_algebra.get_ones_vector_2d(v)
9196 def get_ones_vector_3d(v=1):
9198 get_ones_vector_3d(double v=1) -> Vector3D
9199 get_ones_vector_3d() -> Vector3D
9201 return _IMP_algebra.get_ones_vector_3d(v)
9203 def get_ones_vector_4d(v=1):
9205 get_ones_vector_4d(double v=1) -> Vector4D
9206 get_ones_vector_4d() -> Vector4D
9208 return _IMP_algebra.get_ones_vector_4d(v)
9210 def get_ones_vector_5d(v=1):
9212 get_ones_vector_5d(double v=1) -> Vector5D
9213 get_ones_vector_5d() -> Vector5D
9215 return _IMP_algebra.get_ones_vector_5d(v)
9217 def get_ones_vector_6d(v=1):
9219 get_ones_vector_6d(double v=1) -> Vector6D
9220 get_ones_vector_6d() -> Vector6D
9222 return _IMP_algebra.get_ones_vector_6d(v)
9224 def get_unit_bounding_box_1d():
9225 """get_unit_bounding_box_1d() -> BoundingBox1D"""
9226 return _IMP_algebra.get_unit_bounding_box_1d()
9228 def get_unit_bounding_box_2d():
9229 """get_unit_bounding_box_2d() -> BoundingBox2D"""
9230 return _IMP_algebra.get_unit_bounding_box_2d()
9232 def get_unit_bounding_box_3d():
9233 """get_unit_bounding_box_3d() -> BoundingBox3D"""
9234 return _IMP_algebra.get_unit_bounding_box_3d()
9236 def get_unit_bounding_box_4d():
9237 """get_unit_bounding_box_4d() -> BoundingBox4D"""
9238 return _IMP_algebra.get_unit_bounding_box_4d()
9240 def get_unit_bounding_box_5d():
9241 """get_unit_bounding_box_5d() -> BoundingBox5D"""
9242 return _IMP_algebra.get_unit_bounding_box_5d()
9244 def get_unit_bounding_box_6d():
9245 """get_unit_bounding_box_6d() -> BoundingBox6D"""
9246 return _IMP_algebra.get_unit_bounding_box_6d()
9248 def get_cube_1d(*args):
9249 """get_cube_1d(double radius) -> BoundingBox1D"""
9250 return _IMP_algebra.get_cube_1d(*args)
9252 def get_cube_2d(*args):
9253 """get_cube_2d(double radius) -> BoundingBox2D"""
9254 return _IMP_algebra.get_cube_2d(*args)
9256 def get_cube_3d(*args):
9257 """get_cube_3d(double radius) -> BoundingBox3D"""
9258 return _IMP_algebra.get_cube_3d(*args)
9260 def get_cube_4d(*args):
9261 """get_cube_4d(double radius) -> BoundingBox4D"""
9262 return _IMP_algebra.get_cube_4d(*args)
9264 def get_cube_5d(*args):
9265 """get_cube_5d(double radius) -> BoundingBox5D"""
9266 return _IMP_algebra.get_cube_5d(*args)
9268 def get_cube_6d(*args):
9269 """get_cube_6d(double radius) -> BoundingBox6D"""
9270 return _IMP_algebra.get_cube_6d(*args)
9272 def get_unit_sphere_1d():
9273 """get_unit_sphere_1d() -> Sphere1D"""
9274 return _IMP_algebra.get_unit_sphere_1d()
9276 def get_unit_sphere_2d():
9277 """get_unit_sphere_2d() -> Sphere2D"""
9278 return _IMP_algebra.get_unit_sphere_2d()
9280 def get_unit_sphere_3d():
9281 """get_unit_sphere_3d() -> Sphere3D"""
9282 return _IMP_algebra.get_unit_sphere_3d()
9284 def get_unit_sphere_4d():
9285 """get_unit_sphere_4d() -> Sphere4D"""
9286 return _IMP_algebra.get_unit_sphere_4d()
9288 def get_unit_sphere_5d():
9289 """get_unit_sphere_5d() -> Sphere5D"""
9290 return _IMP_algebra.get_unit_sphere_5d()
9292 def get_unit_sphere_6d():
9293 """get_unit_sphere_6d() -> Sphere6D"""
9294 return _IMP_algebra.get_unit_sphere_6d()
9298 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
9299 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
9300 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
9301 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
9302 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
9303 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
9304 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
9305 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
9306 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
9307 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
9308 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
9309 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
9310 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
9311 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
9313 return _IMP_algebra.get_interiors_intersect(*args)
9317 get_random_vector_on(Sphere1D a) -> Vector1D
9318 get_random_vector_on(Sphere2D a) -> Vector2D
9319 get_random_vector_on(Sphere3D a) -> Vector3D
9320 get_random_vector_on(Sphere4D a) -> Vector4D
9321 get_random_vector_on(Sphere5D a) -> Vector5D
9322 get_random_vector_on(Sphere6D a) -> Vector6D
9323 get_random_vector_on(SphereKD a) -> VectorKD
9324 get_random_vector_on(BoundingBox1D a) -> Vector1D
9325 get_random_vector_on(BoundingBox2D a) -> Vector2D
9326 get_random_vector_on(BoundingBox3D a) -> Vector3D
9327 get_random_vector_on(BoundingBox4D a) -> Vector4D
9328 get_random_vector_on(BoundingBox5D a) -> Vector5D
9329 get_random_vector_on(BoundingBox6D a) -> Vector6D
9330 get_random_vector_on(BoundingBoxKD a) -> VectorKD
9332 return _IMP_algebra.get_random_vector_on(*args)
9336 get_random_vector_in(Sphere2D s) -> Vector2D
9337 get_random_vector_in(Cylinder3D c) -> Vector3D
9338 get_random_vector_in(Sphere1D a) -> Vector1D
9339 get_random_vector_in(Sphere2D a) -> Vector2D
9340 get_random_vector_in(Sphere3D a) -> Vector3D
9341 get_random_vector_in(Sphere4D a) -> Vector4D
9342 get_random_vector_in(Sphere5D a) -> Vector5D
9343 get_random_vector_in(Sphere6D a) -> Vector6D
9344 get_random_vector_in(SphereKD a) -> VectorKD
9345 get_random_vector_in(BoundingBox1D a) -> Vector1D
9346 get_random_vector_in(BoundingBox2D a) -> Vector2D
9347 get_random_vector_in(BoundingBox3D a) -> Vector3D
9348 get_random_vector_in(BoundingBox4D a) -> Vector4D
9349 get_random_vector_in(BoundingBox5D a) -> Vector5D
9350 get_random_vector_in(BoundingBox6D a) -> Vector6D
9351 get_random_vector_in(BoundingBoxKD a) -> VectorKD
9353 return _IMP_algebra.get_random_vector_in(*args)
9357 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9358 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9359 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9360 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9361 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9362 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9363 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9365 return _IMP_algebra.get_intersection(*args)
9369 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9370 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9371 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9372 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9373 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9374 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9375 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9377 return _IMP_algebra.get_union(*args)
9381 get_bounding_box(Segment3D g) -> BoundingBox3D
9382 get_bounding_box(Plane3D g) -> BoundingBox3D
9383 get_bounding_box(Cylinder3D g) -> BoundingBox3D
9384 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
9385 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
9386 get_bounding_box(Cone3D g) -> BoundingBox3D
9387 get_bounding_box(Sphere1D a) -> BoundingBox1D
9388 get_bounding_box(Sphere2D a) -> BoundingBox2D
9389 get_bounding_box(Sphere3D a) -> BoundingBox3D
9390 get_bounding_box(Sphere4D a) -> BoundingBox4D
9391 get_bounding_box(Sphere5D a) -> BoundingBox5D
9392 get_bounding_box(Sphere6D a) -> BoundingBox6D
9393 get_bounding_box(SphereKD a) -> BoundingBoxKD
9395 return _IMP_algebra.get_bounding_box(*args)
9399 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
9400 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9401 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9402 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
9403 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
9404 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
9405 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
9406 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
9407 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
9408 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
9410 return _IMP_algebra.get_uniform_surface_cover(*args)
9414 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
9415 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
9416 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
9417 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
9418 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
9419 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
9420 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
9422 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
9423 class _SparseIntStorage(BoundedGridRange3D):
9424 """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> class"""
9425 __swig_setmethods__ = {}
9426 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9427 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseIntStorage, name, value)
9428 __swig_getmethods__ = {}
9429 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9430 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseIntStorage, name)
9431 __repr__ = _swig_repr
9432 def __init__(self, *args):
9433 """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorage"""
9434 this = _IMP_algebra.new__SparseIntStorage(*args)
9435 try: self.this.append(this)
9436 except: self.this = this
9437 def show(self, *args):
9439 show(_SparseIntStorage self, _ostream out=std::cout)
9440 show(_SparseIntStorage self)
9442 return _IMP_algebra._SparseIntStorage_show(self, *args)
9444 def add_voxel(self, *args):
9445 """add_voxel(_SparseIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9446 return _IMP_algebra._SparseIntStorage_add_voxel(self, *args)
9448 def remove_voxel(self, *args):
9449 """remove_voxel(_SparseIntStorage self, GridIndex3D gi)"""
9450 return _IMP_algebra._SparseIntStorage_remove_voxel(self, *args)
9452 def get_number_of_voxels(self):
9453 """get_number_of_voxels(_SparseIntStorage self) -> unsigned int"""
9454 return _IMP_algebra._SparseIntStorage_get_number_of_voxels(self)
9456 def get_has_index(self, *args):
9457 """get_has_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> bool"""
9458 return _IMP_algebra._SparseIntStorage_get_has_index(self, *args)
9461 """get_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9462 return _IMP_algebra._SparseIntStorage_get_index(self, *args)
9464 def __setitem__(self, *args):
9465 """__setitem__(_SparseIntStorage self, GridIndex3D i, int const & v)"""
9466 return _IMP_algebra._SparseIntStorage___setitem__(self, *args)
9468 def __getitem__(self, *args):
9469 """__getitem__(_SparseIntStorage self, GridIndex3D i) -> int const &"""
9470 return _IMP_algebra._SparseIntStorage___getitem__(self, *args)
9472 def get_all_indexes(self):
9473 """get_all_indexes(_SparseIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9474 return _IMP_algebra._SparseIntStorage_get_all_indexes(self)
9477 """get_indexes(_SparseIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9478 return _IMP_algebra._SparseIntStorage_get_indexes(self, *args)
9480 def get_minimum_extended_index(self):
9481 """get_minimum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9482 return _IMP_algebra._SparseIntStorage_get_minimum_extended_index(self)
9484 def get_maximum_extended_index(self):
9485 """get_maximum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9486 return _IMP_algebra._SparseIntStorage_get_maximum_extended_index(self)
9488 __swig_destroy__ = _IMP_algebra.delete__SparseIntStorage
9489 __del__ =
lambda self :
None;
9490 _SparseIntStorage_swigregister = _IMP_algebra._SparseIntStorage_swigregister
9491 _SparseIntStorage_swigregister(_SparseIntStorage)
9493 class _SparseUBIntStorage(UnboundedGridRange3D):
9494 """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> class"""
9495 __swig_setmethods__ = {}
9496 for _s
in [UnboundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9497 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseUBIntStorage, name, value)
9498 __swig_getmethods__ = {}
9499 for _s
in [UnboundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9500 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseUBIntStorage, name)
9501 __repr__ = _swig_repr
9502 def __init__(self, *args):
9503 """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorage"""
9504 this = _IMP_algebra.new__SparseUBIntStorage(*args)
9505 try: self.this.append(this)
9506 except: self.this = this
9507 def show(self, *args):
9509 show(_SparseUBIntStorage self, _ostream out=std::cout)
9510 show(_SparseUBIntStorage self)
9512 return _IMP_algebra._SparseUBIntStorage_show(self, *args)
9514 def add_voxel(self, *args):
9515 """add_voxel(_SparseUBIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9516 return _IMP_algebra._SparseUBIntStorage_add_voxel(self, *args)
9518 def remove_voxel(self, *args):
9519 """remove_voxel(_SparseUBIntStorage self, GridIndex3D gi)"""
9520 return _IMP_algebra._SparseUBIntStorage_remove_voxel(self, *args)
9522 def get_number_of_voxels(self):
9523 """get_number_of_voxels(_SparseUBIntStorage self) -> unsigned int"""
9524 return _IMP_algebra._SparseUBIntStorage_get_number_of_voxels(self)
9526 def get_has_index(self, *args):
9527 """get_has_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> bool"""
9528 return _IMP_algebra._SparseUBIntStorage_get_has_index(self, *args)
9531 """get_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9532 return _IMP_algebra._SparseUBIntStorage_get_index(self, *args)
9534 def __setitem__(self, *args):
9535 """__setitem__(_SparseUBIntStorage self, GridIndex3D i, int const & v)"""
9536 return _IMP_algebra._SparseUBIntStorage___setitem__(self, *args)
9538 def __getitem__(self, *args):
9539 """__getitem__(_SparseUBIntStorage self, GridIndex3D i) -> int const &"""
9540 return _IMP_algebra._SparseUBIntStorage___getitem__(self, *args)
9542 def get_all_indexes(self):
9543 """get_all_indexes(_SparseUBIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9544 return _IMP_algebra._SparseUBIntStorage_get_all_indexes(self)
9547 """get_indexes(_SparseUBIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9548 return _IMP_algebra._SparseUBIntStorage_get_indexes(self, *args)
9550 def get_minimum_extended_index(self):
9551 """get_minimum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9552 return _IMP_algebra._SparseUBIntStorage_get_minimum_extended_index(self)
9554 def get_maximum_extended_index(self):
9555 """get_maximum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9556 return _IMP_algebra._SparseUBIntStorage_get_maximum_extended_index(self)
9558 __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorage
9559 __del__ =
lambda self :
None;
9560 _SparseUBIntStorage_swigregister = _IMP_algebra._SparseUBIntStorage_swigregister
9561 _SparseUBIntStorage_swigregister(_SparseUBIntStorage)
9563 class _SparseUBIntStorageK(UnboundedGridRangeKD):
9564 """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> class"""
9565 __swig_setmethods__ = {}
9566 for _s
in [UnboundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9567 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseUBIntStorageK, name, value)
9568 __swig_getmethods__ = {}
9569 for _s
in [UnboundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9570 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseUBIntStorageK, name)
9571 __repr__ = _swig_repr
9572 def __init__(self, *args):
9573 """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorageK"""
9574 this = _IMP_algebra.new__SparseUBIntStorageK(*args)
9575 try: self.this.append(this)
9576 except: self.this = this
9577 def show(self, *args):
9579 show(_SparseUBIntStorageK self, _ostream out=std::cout)
9580 show(_SparseUBIntStorageK self)
9582 return _IMP_algebra._SparseUBIntStorageK_show(self, *args)
9584 def add_voxel(self, *args):
9585 """add_voxel(_SparseUBIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9586 return _IMP_algebra._SparseUBIntStorageK_add_voxel(self, *args)
9588 def remove_voxel(self, *args):
9589 """remove_voxel(_SparseUBIntStorageK self, GridIndexKD gi)"""
9590 return _IMP_algebra._SparseUBIntStorageK_remove_voxel(self, *args)
9592 def get_number_of_voxels(self):
9593 """get_number_of_voxels(_SparseUBIntStorageK self) -> unsigned int"""
9594 return _IMP_algebra._SparseUBIntStorageK_get_number_of_voxels(self)
9596 def get_has_index(self, *args):
9597 """get_has_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9598 return _IMP_algebra._SparseUBIntStorageK_get_has_index(self, *args)
9601 """get_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9602 return _IMP_algebra._SparseUBIntStorageK_get_index(self, *args)
9604 def __setitem__(self, *args):
9605 """__setitem__(_SparseUBIntStorageK self, GridIndexKD i, int const & v)"""
9606 return _IMP_algebra._SparseUBIntStorageK___setitem__(self, *args)
9608 def __getitem__(self, *args):
9609 """__getitem__(_SparseUBIntStorageK self, GridIndexKD i) -> int const &"""
9610 return _IMP_algebra._SparseUBIntStorageK___getitem__(self, *args)
9612 def get_all_indexes(self):
9613 """get_all_indexes(_SparseUBIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9614 return _IMP_algebra._SparseUBIntStorageK_get_all_indexes(self)
9617 """get_indexes(_SparseUBIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9618 return _IMP_algebra._SparseUBIntStorageK_get_indexes(self, *args)
9620 def get_minimum_extended_index(self):
9621 """get_minimum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9622 return _IMP_algebra._SparseUBIntStorageK_get_minimum_extended_index(self)
9624 def get_maximum_extended_index(self):
9625 """get_maximum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9626 return _IMP_algebra._SparseUBIntStorageK_get_maximum_extended_index(self)
9628 __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorageK
9629 __del__ =
lambda self :
None;
9630 _SparseUBIntStorageK_swigregister = _IMP_algebra._SparseUBIntStorageK_swigregister
9631 _SparseUBIntStorageK_swigregister(_SparseUBIntStorageK)
9633 class _SparseIntStorageK(BoundedGridRangeKD):
9634 """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> class"""
9635 __swig_setmethods__ = {}
9636 for _s
in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9637 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseIntStorageK, name, value)
9638 __swig_getmethods__ = {}
9639 for _s
in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9640 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseIntStorageK, name)
9641 __repr__ = _swig_repr
9642 def __init__(self, *args):
9643 """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorageK"""
9644 this = _IMP_algebra.new__SparseIntStorageK(*args)
9645 try: self.this.append(this)
9646 except: self.this = this
9647 def show(self, *args):
9649 show(_SparseIntStorageK self, _ostream out=std::cout)
9650 show(_SparseIntStorageK self)
9652 return _IMP_algebra._SparseIntStorageK_show(self, *args)
9654 def add_voxel(self, *args):
9655 """add_voxel(_SparseIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9656 return _IMP_algebra._SparseIntStorageK_add_voxel(self, *args)
9658 def remove_voxel(self, *args):
9659 """remove_voxel(_SparseIntStorageK self, GridIndexKD gi)"""
9660 return _IMP_algebra._SparseIntStorageK_remove_voxel(self, *args)
9662 def get_number_of_voxels(self):
9663 """get_number_of_voxels(_SparseIntStorageK self) -> unsigned int"""
9664 return _IMP_algebra._SparseIntStorageK_get_number_of_voxels(self)
9666 def get_has_index(self, *args):
9667 """get_has_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9668 return _IMP_algebra._SparseIntStorageK_get_has_index(self, *args)
9671 """get_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9672 return _IMP_algebra._SparseIntStorageK_get_index(self, *args)
9674 def __setitem__(self, *args):
9675 """__setitem__(_SparseIntStorageK self, GridIndexKD i, int const & v)"""
9676 return _IMP_algebra._SparseIntStorageK___setitem__(self, *args)
9678 def __getitem__(self, *args):
9679 """__getitem__(_SparseIntStorageK self, GridIndexKD i) -> int const &"""
9680 return _IMP_algebra._SparseIntStorageK___getitem__(self, *args)
9682 def get_all_indexes(self):
9683 """get_all_indexes(_SparseIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9684 return _IMP_algebra._SparseIntStorageK_get_all_indexes(self)
9687 """get_indexes(_SparseIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9688 return _IMP_algebra._SparseIntStorageK_get_indexes(self, *args)
9690 def get_minimum_extended_index(self):
9691 """get_minimum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9692 return _IMP_algebra._SparseIntStorageK_get_minimum_extended_index(self)
9694 def get_maximum_extended_index(self):
9695 """get_maximum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9696 return _IMP_algebra._SparseIntStorageK_get_maximum_extended_index(self)
9698 __swig_destroy__ = _IMP_algebra.delete__SparseIntStorageK
9699 __del__ =
lambda self :
None;
9700 _SparseIntStorageK_swigregister = _IMP_algebra._SparseIntStorageK_swigregister
9701 _SparseIntStorageK_swigregister(_SparseIntStorageK)
9703 class _DenseDoubleStorage(BoundedGridRange3D):
9704 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
9705 __swig_setmethods__ = {}
9706 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9707 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseDoubleStorage, name, value)
9708 __swig_getmethods__ = {}
9709 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9710 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseDoubleStorage, name)
9711 __repr__ = _swig_repr
9712 def __setitem__(self, *args):
9714 __setitem__(_DenseDoubleStorage self, GridIndex3D i, double const & v)
9715 __setitem__(_DenseDoubleStorage self, unsigned int i, double const & v)
9717 return _IMP_algebra._DenseDoubleStorage___setitem__(self, *args)
9719 def __getitem__(self, *args):
9721 __getitem__(_DenseDoubleStorage self, GridIndex3D i) -> double const
9722 __getitem__(_DenseDoubleStorage self, unsigned int i) -> double const &
9724 return _IMP_algebra._DenseDoubleStorage___getitem__(self, *args)
9726 def __init__(self, *args):
9728 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _DenseDoubleStorage o) -> _DenseDoubleStorage
9729 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _DenseDoubleStorage
9730 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _DenseDoubleStorage
9731 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _DenseDoubleStorage
9732 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _DenseDoubleStorage
9734 this = _IMP_algebra.new__DenseDoubleStorage(*args)
9735 try: self.this.append(this)
9736 except: self.this = this
9738 """get_is_dense() -> bool"""
9739 return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9741 if _newclass:get_is_dense = staticmethod(get_is_dense)
9742 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9743 def show(self, *args):
9745 show(_DenseDoubleStorage self, _ostream out=std::cout)
9746 show(_DenseDoubleStorage self)
9748 return _IMP_algebra._DenseDoubleStorage_show(self, *args)
9750 def add_voxel(self, *args):
9751 """add_voxel(_DenseDoubleStorage self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
9752 return _IMP_algebra._DenseDoubleStorage_add_voxel(self, *args)
9754 def get_all_voxels(self):
9755 """get_all_voxels(_DenseDoubleStorage self) -> IMP::base::Vector< double >"""
9756 return _IMP_algebra._DenseDoubleStorage_get_all_voxels(self)
9758 __swig_destroy__ = _IMP_algebra.delete__DenseDoubleStorage
9759 __del__ =
lambda self :
None;
9760 _DenseDoubleStorage_swigregister = _IMP_algebra._DenseDoubleStorage_swigregister
9761 _DenseDoubleStorage_swigregister(_DenseDoubleStorage)
9763 def _DenseDoubleStorage_get_is_dense():
9764 """_DenseDoubleStorage_get_is_dense() -> bool"""
9765 return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9767 class _DenseFloatStorage(BoundedGridRange3D):
9768 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,float)> class"""
9769 __swig_setmethods__ = {}
9770 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9771 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseFloatStorage, name, value)
9772 __swig_getmethods__ = {}
9773 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9774 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseFloatStorage, name)
9775 __repr__ = _swig_repr
9776 def __setitem__(self, *args):
9778 __setitem__(_DenseFloatStorage self, GridIndex3D i, float const & v)
9779 __setitem__(_DenseFloatStorage self, unsigned int i, float const & v)
9781 return _IMP_algebra._DenseFloatStorage___setitem__(self, *args)
9783 def __getitem__(self, *args):
9785 __getitem__(_DenseFloatStorage self, GridIndex3D i) -> float const
9786 __getitem__(_DenseFloatStorage self, unsigned int i) -> float const &
9788 return _IMP_algebra._DenseFloatStorage___getitem__(self, *args)
9790 def __init__(self, *args):
9792 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, _DenseFloatStorage o) -> _DenseFloatStorage
9793 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorage
9794 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts) -> _DenseFloatStorage
9795 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, float const & default_value=float()) -> _DenseFloatStorage
9796 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self) -> _DenseFloatStorage
9798 this = _IMP_algebra.new__DenseFloatStorage(*args)
9799 try: self.this.append(this)
9800 except: self.this = this
9802 """get_is_dense() -> bool"""
9803 return _IMP_algebra._DenseFloatStorage_get_is_dense()
9805 if _newclass:get_is_dense = staticmethod(get_is_dense)
9806 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9807 def show(self, *args):
9809 show(_DenseFloatStorage self, _ostream out=std::cout)
9810 show(_DenseFloatStorage self)
9812 return _IMP_algebra._DenseFloatStorage_show(self, *args)
9814 def add_voxel(self, *args):
9815 """add_voxel(_DenseFloatStorage self, ExtendedGridIndex3D arg2, float const & arg3) -> GridIndex3D"""
9816 return _IMP_algebra._DenseFloatStorage_add_voxel(self, *args)
9818 def get_all_voxels(self):
9819 """get_all_voxels(_DenseFloatStorage self) -> IMP::base::Vector< float >"""
9820 return _IMP_algebra._DenseFloatStorage_get_all_voxels(self)
9822 __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorage
9823 __del__ =
lambda self :
None;
9824 _DenseFloatStorage_swigregister = _IMP_algebra._DenseFloatStorage_swigregister
9825 _DenseFloatStorage_swigregister(_DenseFloatStorage)
9827 def _DenseFloatStorage_get_is_dense():
9828 """_DenseFloatStorage_get_is_dense() -> bool"""
9829 return _IMP_algebra._DenseFloatStorage_get_is_dense()
9831 class _DenseIntStorage(BoundedGridRange3D):
9832 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
9833 __swig_setmethods__ = {}
9834 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9835 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseIntStorage, name, value)
9836 __swig_getmethods__ = {}
9837 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9838 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseIntStorage, name)
9839 __repr__ = _swig_repr
9840 def __setitem__(self, *args):
9842 __setitem__(_DenseIntStorage self, GridIndex3D i, int const & v)
9843 __setitem__(_DenseIntStorage self, unsigned int i, int const & v)
9845 return _IMP_algebra._DenseIntStorage___setitem__(self, *args)
9847 def __getitem__(self, *args):
9849 __getitem__(_DenseIntStorage self, GridIndex3D i) -> int const
9850 __getitem__(_DenseIntStorage self, unsigned int i) -> int const &
9852 return _IMP_algebra._DenseIntStorage___getitem__(self, *args)
9854 def __init__(self, *args):
9856 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _DenseIntStorage o) -> _DenseIntStorage
9857 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _DenseIntStorage
9858 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _DenseIntStorage
9859 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _DenseIntStorage
9860 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _DenseIntStorage
9862 this = _IMP_algebra.new__DenseIntStorage(*args)
9863 try: self.this.append(this)
9864 except: self.this = this
9866 """get_is_dense() -> bool"""
9867 return _IMP_algebra._DenseIntStorage_get_is_dense()
9869 if _newclass:get_is_dense = staticmethod(get_is_dense)
9870 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9871 def show(self, *args):
9873 show(_DenseIntStorage self, _ostream out=std::cout)
9874 show(_DenseIntStorage self)
9876 return _IMP_algebra._DenseIntStorage_show(self, *args)
9878 def add_voxel(self, *args):
9879 """add_voxel(_DenseIntStorage self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
9880 return _IMP_algebra._DenseIntStorage_add_voxel(self, *args)
9882 def get_all_voxels(self):
9883 """get_all_voxels(_DenseIntStorage self) -> IMP::base::Vector< int >"""
9884 return _IMP_algebra._DenseIntStorage_get_all_voxels(self)
9886 __swig_destroy__ = _IMP_algebra.delete__DenseIntStorage
9887 __del__ =
lambda self :
None;
9888 _DenseIntStorage_swigregister = _IMP_algebra._DenseIntStorage_swigregister
9889 _DenseIntStorage_swigregister(_DenseIntStorage)
9891 def _DenseIntStorage_get_is_dense():
9892 """_DenseIntStorage_get_is_dense() -> bool"""
9893 return _IMP_algebra._DenseIntStorage_get_is_dense()
9895 class _DenseFloatStorageK(BoundedGridRangeKD):
9896 """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,float)> class"""
9897 __swig_setmethods__ = {}
9898 for _s
in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9899 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseFloatStorageK, name, value)
9900 __swig_getmethods__ = {}
9901 for _s
in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9902 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseFloatStorageK, name)
9903 __repr__ = _swig_repr
9904 def __setitem__(self, *args):
9906 __setitem__(_DenseFloatStorageK self, GridIndexKD i, float const & v)
9907 __setitem__(_DenseFloatStorageK self, unsigned int i, float const & v)
9909 return _IMP_algebra._DenseFloatStorageK___setitem__(self, *args)
9911 def __getitem__(self, *args):
9913 __getitem__(_DenseFloatStorageK self, GridIndexKD i) -> float const
9914 __getitem__(_DenseFloatStorageK self, unsigned int i) -> float const &
9916 return _IMP_algebra._DenseFloatStorageK___getitem__(self, *args)
9918 def __init__(self, *args):
9920 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, _DenseFloatStorageK o) -> _DenseFloatStorageK
9921 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorageK
9922 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts) -> _DenseFloatStorageK
9923 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, float const & default_value=float()) -> _DenseFloatStorageK
9924 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self) -> _DenseFloatStorageK
9926 this = _IMP_algebra.new__DenseFloatStorageK(*args)
9927 try: self.this.append(this)
9928 except: self.this = this
9930 """get_is_dense() -> bool"""
9931 return _IMP_algebra._DenseFloatStorageK_get_is_dense()
9933 if _newclass:get_is_dense = staticmethod(get_is_dense)
9934 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9935 def show(self, *args):
9937 show(_DenseFloatStorageK self, _ostream out=std::cout)
9938 show(_DenseFloatStorageK self)
9940 return _IMP_algebra._DenseFloatStorageK_show(self, *args)
9942 def add_voxel(self, *args):
9943 """add_voxel(_DenseFloatStorageK self, ExtendedGridIndexKD arg2, float const & arg3) -> GridIndexKD"""
9944 return _IMP_algebra._DenseFloatStorageK_add_voxel(self, *args)
9946 def get_all_voxels(self):
9947 """get_all_voxels(_DenseFloatStorageK self) -> IMP::base::Vector< float >"""
9948 return _IMP_algebra._DenseFloatStorageK_get_all_voxels(self)
9950 __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorageK
9951 __del__ =
lambda self :
None;
9952 _DenseFloatStorageK_swigregister = _IMP_algebra._DenseFloatStorageK_swigregister
9953 _DenseFloatStorageK_swigregister(_DenseFloatStorageK)
9955 def _DenseFloatStorageK_get_is_dense():
9956 """_DenseFloatStorageK_get_is_dense() -> bool"""
9957 return _IMP_algebra._DenseFloatStorageK_get_is_dense()
9959 class SparseIntGrid3D(_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
9960 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
9961 __swig_setmethods__ = {}
9962 for _s
in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9963 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseIntGrid3D, name, value)
9964 __swig_getmethods__ = {}
9965 for _s
in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9966 __getattr__ =
lambda self, name: _swig_getattr(self, SparseIntGrid3D, name)
9967 __repr__ = _swig_repr
9968 def __init__(self, *args):
9970 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseIntGrid3D
9971 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseIntGrid3D
9972 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseIntGrid3D
9973 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseIntGrid3D
9974 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _SparseIntStorage storage, DefaultEmbedding3D embed) -> SparseIntGrid3D
9975 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseIntGrid3D
9976 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseIntGrid3D
9977 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseIntGrid3D
9979 this = _IMP_algebra.new_SparseIntGrid3D(*args)
9980 try: self.this.append(this)
9981 except: self.this = this
9982 def __getitem__(self, *args):
9984 __getitem__(SparseIntGrid3D self, Vector3D i) -> int const
9985 __getitem__(SparseIntGrid3D self, GridIndex3D i) -> int const &
9987 return _IMP_algebra.SparseIntGrid3D___getitem__(self, *args)
9989 def __setitem__(self, *args):
9991 __setitem__(SparseIntGrid3D self, Vector3D i, int const & v)
9992 __setitem__(SparseIntGrid3D self, GridIndex3D i, int const & vt)
9994 return _IMP_algebra.SparseIntGrid3D___setitem__(self, *args)
9996 def get_has_index(self, *args):
9997 """get_has_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
9998 return _IMP_algebra.SparseIntGrid3D_get_has_index(self, *args)
10001 """get_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10002 return _IMP_algebra.SparseIntGrid3D_get_index(self, *args)
10004 def add_voxel(self, *args):
10006 add_voxel(SparseIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10007 add_voxel(SparseIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10009 return _IMP_algebra.SparseIntGrid3D_add_voxel(self, *args)
10011 def get_extended_index(self, *args):
10013 get_extended_index(SparseIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10014 get_extended_index(SparseIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10016 return _IMP_algebra.SparseIntGrid3D_get_extended_index(self, *args)
10020 get_bounding_box(SparseIntGrid3D self) -> BoundingBox3D
10021 get_bounding_box(SparseIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10022 get_bounding_box(SparseIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10024 return _IMP_algebra.SparseIntGrid3D_get_bounding_box(self, *args)
10026 def set_bounding_box(self, *args):
10027 """set_bounding_box(SparseIntGrid3D self, BoundingBox3D bb3)"""
10028 return _IMP_algebra.SparseIntGrid3D_set_bounding_box(self, *args)
10030 def get_nearest_index(self, *args):
10031 """get_nearest_index(SparseIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10032 return _IMP_algebra.SparseIntGrid3D_get_nearest_index(self, *args)
10034 def get_nearest_extended_index(self, *args):
10035 """get_nearest_extended_index(SparseIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10036 return _IMP_algebra.SparseIntGrid3D_get_nearest_extended_index(self, *args)
10038 __swig_destroy__ = _IMP_algebra.delete_SparseIntGrid3D
10039 __del__ =
lambda self :
None;
10040 SparseIntGrid3D_swigregister = _IMP_algebra.SparseIntGrid3D_swigregister
10041 SparseIntGrid3D_swigregister(SparseIntGrid3D)
10044 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10045 __swig_setmethods__ = {}
10046 for _s
in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10047 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGrid3D, name, value)
10048 __swig_getmethods__ = {}
10049 for _s
in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10050 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGrid3D, name)
10051 __repr__ = _swig_repr
10052 def __init__(self, *args):
10054 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseUnboundedIntGrid3D
10055 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseUnboundedIntGrid3D
10056 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseUnboundedIntGrid3D
10057 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseUnboundedIntGrid3D
10058 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _SparseUBIntStorage storage, DefaultEmbedding3D embed) -> SparseUnboundedIntGrid3D
10059 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseUnboundedIntGrid3D
10060 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
10061 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseUnboundedIntGrid3D
10063 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
10064 try: self.this.append(this)
10065 except: self.this = this
10066 def __getitem__(self, *args):
10068 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int const
10069 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int const &
10071 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
10073 def __setitem__(self, *args):
10075 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & v)
10076 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & vt)
10078 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
10080 def get_has_index(self, *args):
10081 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
10082 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
10085 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10086 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
10088 def add_voxel(self, *args):
10090 add_voxel(SparseUnboundedIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10091 add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10093 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
10095 def get_extended_index(self, *args):
10097 get_extended_index(SparseUnboundedIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10098 get_extended_index(SparseUnboundedIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10100 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
10104 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
10105 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10106 get_bounding_box(SparseUnboundedIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10108 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
10110 def set_bounding_box(self, *args):
10111 """set_bounding_box(SparseUnboundedIntGrid3D self, BoundingBox3D bb3)"""
10112 return _IMP_algebra.SparseUnboundedIntGrid3D_set_bounding_box(self, *args)
10114 def get_nearest_index(self, *args):
10115 """get_nearest_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10116 return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_index(self, *args)
10118 def get_nearest_extended_index(self, *args):
10119 """get_nearest_extended_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10120 return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_extended_index(self, *args)
10122 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
10123 __del__ =
lambda self :
None;
10124 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
10125 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
10127 class SparseUnboundedIntGridKD(_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD):
10128 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
10129 __swig_setmethods__ = {}
10130 for _s
in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10131 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGridKD, name, value)
10132 __swig_getmethods__ = {}
10133 for _s
in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10134 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGridKD, name)
10135 __repr__ = _swig_repr
10136 def __init__(self, *args):
10138 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, int default_value=int()) -> SparseUnboundedIntGridKD
10139 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> SparseUnboundedIntGridKD
10140 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, int const & default_value=int()) -> SparseUnboundedIntGridKD
10141 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> SparseUnboundedIntGridKD
10142 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, _SparseUBIntStorageK storage, DefaultEmbeddingKD embed) -> SparseUnboundedIntGridKD
10143 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin, int const & default_value=int()) -> SparseUnboundedIntGridKD
10144 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
10145 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> SparseUnboundedIntGridKD
10147 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
10148 try: self.this.append(this)
10149 except: self.this = this
10150 def __getitem__(self, *args):
10152 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int const
10153 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int const &
10155 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
10157 def __setitem__(self, *args):
10159 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & v)
10160 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & vt)
10162 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
10164 def get_has_index(self, *args):
10165 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> bool"""
10166 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
10169 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10170 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
10172 def add_voxel(self, *args):
10174 add_voxel(SparseUnboundedIntGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10175 add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10177 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
10179 def get_extended_index(self, *args):
10181 get_extended_index(SparseUnboundedIntGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10182 get_extended_index(SparseUnboundedIntGridKD self, VectorKD i) -> ExtendedGridIndexKD
10184 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
10188 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
10189 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10190 get_bounding_box(SparseUnboundedIntGridKD self, GridIndexKD i) -> BoundingBoxKD
10192 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
10194 def set_bounding_box(self, *args):
10195 """set_bounding_box(SparseUnboundedIntGridKD self, BoundingBoxKD bb3)"""
10196 return _IMP_algebra.SparseUnboundedIntGridKD_set_bounding_box(self, *args)
10198 def get_nearest_index(self, *args):
10199 """get_nearest_index(SparseUnboundedIntGridKD self, VectorKD pt) -> GridIndexKD"""
10200 return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_index(self, *args)
10202 def get_nearest_extended_index(self, *args):
10203 """get_nearest_extended_index(SparseUnboundedIntGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10204 return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_extended_index(self, *args)
10206 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
10207 __del__ =
lambda self :
None;
10208 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
10209 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
10211 class DenseDoubleGrid3D(_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10212 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10213 __swig_setmethods__ = {}
10214 for _s
in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10215 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseDoubleGrid3D, name, value)
10216 __swig_getmethods__ = {}
10217 for _s
in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10218 __getattr__ =
lambda self, name: _swig_getattr(self, DenseDoubleGrid3D, name)
10219 __repr__ = _swig_repr
10220 def __init__(self, *args):
10222 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, double default_value=double()) -> DenseDoubleGrid3D
10223 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseDoubleGrid3D
10224 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, double const & default_value=double()) -> DenseDoubleGrid3D
10225 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
10226 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseDoubleStorage storage, DefaultEmbedding3D embed) -> DenseDoubleGrid3D
10227 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, double const & default_value=double()) -> DenseDoubleGrid3D
10228 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseDoubleGrid3D
10229 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseDoubleGrid3D
10231 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
10232 try: self.this.append(this)
10233 except: self.this = this
10234 def __getitem__(self, *args):
10236 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double const
10237 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double const &
10239 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
10241 def __setitem__(self, *args):
10243 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & v)
10244 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & vt)
10246 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
10248 def get_has_index(self, *args):
10249 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> bool"""
10250 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
10253 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10254 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
10256 def add_voxel(self, *args):
10258 add_voxel(DenseDoubleGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D
10259 add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & vt) -> GridIndex3D
10261 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
10263 def get_extended_index(self, *args):
10265 get_extended_index(DenseDoubleGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10266 get_extended_index(DenseDoubleGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10268 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
10272 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
10273 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10274 get_bounding_box(DenseDoubleGrid3D self, GridIndex3D i) -> BoundingBox3D
10276 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
10278 def set_bounding_box(self, *args):
10279 """set_bounding_box(DenseDoubleGrid3D self, BoundingBox3D bb3)"""
10280 return _IMP_algebra.DenseDoubleGrid3D_set_bounding_box(self, *args)
10282 def get_nearest_index(self, *args):
10283 """get_nearest_index(DenseDoubleGrid3D self, Vector3D pt) -> GridIndex3D"""
10284 return _IMP_algebra.DenseDoubleGrid3D_get_nearest_index(self, *args)
10286 def get_nearest_extended_index(self, *args):
10287 """get_nearest_extended_index(DenseDoubleGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10288 return _IMP_algebra.DenseDoubleGrid3D_get_nearest_extended_index(self, *args)
10290 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
10291 __del__ =
lambda self :
None;
10292 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
10293 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
10295 class DenseFloatGrid3D(_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10296 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10297 __swig_setmethods__ = {}
10298 for _s
in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10299 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatGrid3D, name, value)
10300 __swig_getmethods__ = {}
10301 for _s
in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10302 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatGrid3D, name)
10303 __repr__ = _swig_repr
10304 def __init__(self, *args):
10306 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, float default_value=float()) -> DenseFloatGrid3D
10307 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseFloatGrid3D
10308 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, float const & default_value=float()) -> DenseFloatGrid3D
10309 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
10310 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseFloatStorage storage, DefaultEmbedding3D embed) -> DenseFloatGrid3D
10311 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, float const & default_value=float()) -> DenseFloatGrid3D
10312 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseFloatGrid3D
10313 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseFloatGrid3D
10315 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
10316 try: self.this.append(this)
10317 except: self.this = this
10318 def __getitem__(self, *args):
10320 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float const
10321 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float const &
10323 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
10325 def __setitem__(self, *args):
10327 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & v)
10328 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & vt)
10330 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
10332 def get_has_index(self, *args):
10333 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> bool"""
10334 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
10337 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10338 return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
10340 def add_voxel(self, *args):
10342 add_voxel(DenseFloatGrid3D self, Vector3D pt, float const & vt) -> GridIndex3D
10343 add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & vt) -> GridIndex3D
10345 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
10347 def get_extended_index(self, *args):
10349 get_extended_index(DenseFloatGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10350 get_extended_index(DenseFloatGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10352 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
10356 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
10357 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10358 get_bounding_box(DenseFloatGrid3D self, GridIndex3D i) -> BoundingBox3D
10360 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
10362 def set_bounding_box(self, *args):
10363 """set_bounding_box(DenseFloatGrid3D self, BoundingBox3D bb3)"""
10364 return _IMP_algebra.DenseFloatGrid3D_set_bounding_box(self, *args)
10366 def get_nearest_index(self, *args):
10367 """get_nearest_index(DenseFloatGrid3D self, Vector3D pt) -> GridIndex3D"""
10368 return _IMP_algebra.DenseFloatGrid3D_get_nearest_index(self, *args)
10370 def get_nearest_extended_index(self, *args):
10371 """get_nearest_extended_index(DenseFloatGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10372 return _IMP_algebra.DenseFloatGrid3D_get_nearest_extended_index(self, *args)
10374 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
10375 __del__ =
lambda self :
None;
10376 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
10377 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
10379 class DenseIntLogGrid3D(_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10380 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10381 __swig_setmethods__ = {}
10382 for _s
in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10383 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseIntLogGrid3D, name, value)
10384 __swig_getmethods__ = {}
10385 for _s
in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10386 __getattr__ =
lambda self, name: _swig_getattr(self, DenseIntLogGrid3D, name)
10387 __repr__ = _swig_repr
10388 def __init__(self, *args):
10390 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> DenseIntLogGrid3D
10391 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseIntLogGrid3D
10392 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> DenseIntLogGrid3D
10393 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseIntLogGrid3D
10394 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _DenseIntStorage storage, LogEmbedding3D embed) -> DenseIntLogGrid3D
10395 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> DenseIntLogGrid3D
10396 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseIntLogGrid3D
10397 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> DenseIntLogGrid3D
10399 this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
10400 try: self.this.append(this)
10401 except: self.this = this
10402 def __getitem__(self, *args):
10404 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int const
10405 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int const &
10407 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
10409 def __setitem__(self, *args):
10411 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & v)
10412 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & vt)
10414 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
10416 def get_has_index(self, *args):
10417 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10418 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
10421 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10422 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
10424 def add_voxel(self, *args):
10426 add_voxel(DenseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10427 add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10429 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
10431 def get_extended_index(self, *args):
10433 get_extended_index(DenseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10434 get_extended_index(DenseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10436 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
10440 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
10441 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10442 get_bounding_box(DenseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10444 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
10446 def set_bounding_box(self, *args):
10447 """set_bounding_box(DenseIntLogGrid3D self, BoundingBox3D bb3)"""
10448 return _IMP_algebra.DenseIntLogGrid3D_set_bounding_box(self, *args)
10450 def get_nearest_index(self, *args):
10451 """get_nearest_index(DenseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10452 return _IMP_algebra.DenseIntLogGrid3D_get_nearest_index(self, *args)
10454 def get_nearest_extended_index(self, *args):
10455 """get_nearest_extended_index(DenseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10456 return _IMP_algebra.DenseIntLogGrid3D_get_nearest_extended_index(self, *args)
10458 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
10459 __del__ =
lambda self :
None;
10460 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
10461 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
10463 class SparseIntLogGrid3D(_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10464 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10465 __swig_setmethods__ = {}
10466 for _s
in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10467 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseIntLogGrid3D, name, value)
10468 __swig_getmethods__ = {}
10469 for _s
in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10470 __getattr__ =
lambda self, name: _swig_getattr(self, SparseIntLogGrid3D, name)
10471 __repr__ = _swig_repr
10472 def __init__(self, *args):
10474 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseIntLogGrid3D
10475 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseIntLogGrid3D
10476 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseIntLogGrid3D
10477 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseIntLogGrid3D
10478 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _SparseIntStorage storage, LogEmbedding3D embed) -> SparseIntLogGrid3D
10479 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseIntLogGrid3D
10480 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseIntLogGrid3D
10481 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> SparseIntLogGrid3D
10483 this = _IMP_algebra.new_SparseIntLogGrid3D(*args)
10484 try: self.this.append(this)
10485 except: self.this = this
10486 def __getitem__(self, *args):
10488 __getitem__(SparseIntLogGrid3D self, Vector3D i) -> int const
10489 __getitem__(SparseIntLogGrid3D self, GridIndex3D i) -> int const &
10491 return _IMP_algebra.SparseIntLogGrid3D___getitem__(self, *args)
10493 def __setitem__(self, *args):
10495 __setitem__(SparseIntLogGrid3D self, Vector3D i, int const & v)
10496 __setitem__(SparseIntLogGrid3D self, GridIndex3D i, int const & vt)
10498 return _IMP_algebra.SparseIntLogGrid3D___setitem__(self, *args)
10500 def get_has_index(self, *args):
10501 """get_has_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10502 return _IMP_algebra.SparseIntLogGrid3D_get_has_index(self, *args)
10505 """get_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10506 return _IMP_algebra.SparseIntLogGrid3D_get_index(self, *args)
10508 def add_voxel(self, *args):
10510 add_voxel(SparseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10511 add_voxel(SparseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10513 return _IMP_algebra.SparseIntLogGrid3D_add_voxel(self, *args)
10515 def get_extended_index(self, *args):
10517 get_extended_index(SparseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10518 get_extended_index(SparseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10520 return _IMP_algebra.SparseIntLogGrid3D_get_extended_index(self, *args)
10524 get_bounding_box(SparseIntLogGrid3D self) -> BoundingBox3D
10525 get_bounding_box(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10526 get_bounding_box(SparseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10528 return _IMP_algebra.SparseIntLogGrid3D_get_bounding_box(self, *args)
10530 def set_bounding_box(self, *args):
10531 """set_bounding_box(SparseIntLogGrid3D self, BoundingBox3D bb3)"""
10532 return _IMP_algebra.SparseIntLogGrid3D_set_bounding_box(self, *args)
10534 def get_nearest_index(self, *args):
10535 """get_nearest_index(SparseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10536 return _IMP_algebra.SparseIntLogGrid3D_get_nearest_index(self, *args)
10538 def get_nearest_extended_index(self, *args):
10539 """get_nearest_extended_index(SparseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10540 return _IMP_algebra.SparseIntLogGrid3D_get_nearest_extended_index(self, *args)
10542 __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGrid3D
10543 __del__ =
lambda self :
None;
10544 SparseIntLogGrid3D_swigregister = _IMP_algebra.SparseIntLogGrid3D_swigregister
10545 SparseIntLogGrid3D_swigregister(SparseIntLogGrid3D)
10547 class SparseIntLogGridKD(_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10548 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10549 __swig_setmethods__ = {}
10550 for _s
in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10551 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseIntLogGridKD, name, value)
10552 __swig_getmethods__ = {}
10553 for _s
in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10554 __getattr__ =
lambda self, name: _swig_getattr(self, SparseIntLogGridKD, name)
10555 __repr__ = _swig_repr
10556 def __init__(self, *args):
10558 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, int default_value=int()) -> SparseIntLogGridKD
10559 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> SparseIntLogGridKD
10560 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, int const & default_value=int()) -> SparseIntLogGridKD
10561 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> SparseIntLogGridKD
10562 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, _SparseIntStorageK storage, LogEmbeddingKD embed) -> SparseIntLogGridKD
10563 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin, int const & default_value=int()) -> SparseIntLogGridKD
10564 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> SparseIntLogGridKD
10565 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> SparseIntLogGridKD
10567 this = _IMP_algebra.new_SparseIntLogGridKD(*args)
10568 try: self.this.append(this)
10569 except: self.this = this
10570 def __getitem__(self, *args):
10572 __getitem__(SparseIntLogGridKD self, VectorKD i) -> int const
10573 __getitem__(SparseIntLogGridKD self, GridIndexKD i) -> int const &
10575 return _IMP_algebra.SparseIntLogGridKD___getitem__(self, *args)
10577 def __setitem__(self, *args):
10579 __setitem__(SparseIntLogGridKD self, VectorKD i, int const & v)
10580 __setitem__(SparseIntLogGridKD self, GridIndexKD i, int const & vt)
10582 return _IMP_algebra.SparseIntLogGridKD___setitem__(self, *args)
10584 def get_has_index(self, *args):
10585 """get_has_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10586 return _IMP_algebra.SparseIntLogGridKD_get_has_index(self, *args)
10589 """get_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10590 return _IMP_algebra.SparseIntLogGridKD_get_index(self, *args)
10592 def add_voxel(self, *args):
10594 add_voxel(SparseIntLogGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10595 add_voxel(SparseIntLogGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10597 return _IMP_algebra.SparseIntLogGridKD_add_voxel(self, *args)
10599 def get_extended_index(self, *args):
10601 get_extended_index(SparseIntLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10602 get_extended_index(SparseIntLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10604 return _IMP_algebra.SparseIntLogGridKD_get_extended_index(self, *args)
10608 get_bounding_box(SparseIntLogGridKD self) -> BoundingBoxKD
10609 get_bounding_box(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10610 get_bounding_box(SparseIntLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10612 return _IMP_algebra.SparseIntLogGridKD_get_bounding_box(self, *args)
10614 def set_bounding_box(self, *args):
10615 """set_bounding_box(SparseIntLogGridKD self, BoundingBoxKD bb3)"""
10616 return _IMP_algebra.SparseIntLogGridKD_set_bounding_box(self, *args)
10618 def get_nearest_index(self, *args):
10619 """get_nearest_index(SparseIntLogGridKD self, VectorKD pt) -> GridIndexKD"""
10620 return _IMP_algebra.SparseIntLogGridKD_get_nearest_index(self, *args)
10622 def get_nearest_extended_index(self, *args):
10623 """get_nearest_extended_index(SparseIntLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10624 return _IMP_algebra.SparseIntLogGridKD_get_nearest_extended_index(self, *args)
10626 __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGridKD
10627 __del__ =
lambda self :
None;
10628 SparseIntLogGridKD_swigregister = _IMP_algebra.SparseIntLogGridKD_swigregister
10629 SparseIntLogGridKD_swigregister(SparseIntLogGridKD)
10631 class DenseFloatLogGridKD(_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10632 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10633 __swig_setmethods__ = {}
10634 for _s
in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10635 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatLogGridKD, name, value)
10636 __swig_getmethods__ = {}
10637 for _s
in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10638 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatLogGridKD, name)
10639 __repr__ = _swig_repr
10640 def __init__(self, *args):
10642 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, float default_value=float()) -> DenseFloatLogGridKD
10643 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> DenseFloatLogGridKD
10644 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, float const & default_value=float()) -> DenseFloatLogGridKD
10645 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> DenseFloatLogGridKD
10646 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, _DenseFloatStorageK storage, LogEmbeddingKD embed) -> DenseFloatLogGridKD
10647 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin, float const & default_value=float()) -> DenseFloatLogGridKD
10648 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> DenseFloatLogGridKD
10649 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> DenseFloatLogGridKD
10651 this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
10652 try: self.this.append(this)
10653 except: self.this = this
10654 def __getitem__(self, *args):
10656 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float const
10657 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float const &
10659 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
10661 def __setitem__(self, *args):
10663 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & v)
10664 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & vt)
10666 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
10668 def get_has_index(self, *args):
10669 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10670 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
10673 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10674 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
10676 def add_voxel(self, *args):
10678 add_voxel(DenseFloatLogGridKD self, VectorKD pt, float const & vt) -> GridIndexKD
10679 add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & vt) -> GridIndexKD
10681 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
10683 def get_extended_index(self, *args):
10685 get_extended_index(DenseFloatLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10686 get_extended_index(DenseFloatLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10688 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
10692 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
10693 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10694 get_bounding_box(DenseFloatLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10696 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
10698 def set_bounding_box(self, *args):
10699 """set_bounding_box(DenseFloatLogGridKD self, BoundingBoxKD bb3)"""
10700 return _IMP_algebra.DenseFloatLogGridKD_set_bounding_box(self, *args)
10702 def get_nearest_index(self, *args):
10703 """get_nearest_index(DenseFloatLogGridKD self, VectorKD pt) -> GridIndexKD"""
10704 return _IMP_algebra.DenseFloatLogGridKD_get_nearest_index(self, *args)
10706 def get_nearest_extended_index(self, *args):
10707 """get_nearest_extended_index(DenseFloatLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10708 return _IMP_algebra.DenseFloatLogGridKD_get_nearest_extended_index(self, *args)
10710 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
10711 __del__ =
lambda self :
None;
10712 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
10713 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
10715 class _AxisAnglePair(_object):
10716 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10717 __swig_setmethods__ = {}
10718 __setattr__ =
lambda self, name, value: _swig_setattr(self, _AxisAnglePair, name, value)
10719 __swig_getmethods__ = {}
10720 __getattr__ =
lambda self, name: _swig_getattr(self, _AxisAnglePair, name)
10721 __repr__ = _swig_repr
10722 def __init__(self, *args):
10724 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10725 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10726 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10728 this = _IMP_algebra.new__AxisAnglePair(*args)
10729 try: self.this.append(this)
10730 except: self.this = this
10731 __swig_setmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_set
10732 __swig_getmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_get
10733 if _newclass:first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10734 __swig_setmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_set
10735 __swig_getmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_get
10736 if _newclass:second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10737 def __len__(self):
return 2
10738 def __repr__(self):
return str((self.first, self.second))
10739 def __getitem__(self, index):
10740 if not (index % 2):
10744 def __setitem__(self, index, val):
10745 if not (index % 2):
10749 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10750 __del__ =
lambda self :
None;
10751 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10752 _AxisAnglePair_swigregister(_AxisAnglePair)
10756 """get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
10757 return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10758 LinearFit=LinearFit2D
10759 ParabolicFit=ParabolicFit2D
10762 def get_module_version():
10763 """get_module_version() -> std::string const"""
10764 return _IMP_algebra.get_module_version()
10766 def get_example_path(*args):
10767 """get_example_path(std::string fname) -> std::string"""
10768 return _IMP_algebra.get_example_path(*args)
10770 def get_data_path(*args):
10771 """get_data_path(std::string fname) -> std::string"""
10772 return _IMP_algebra.get_data_path(*args)
10773 import _version_check
10774 _version_check.check_version(get_module_version())
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.
VectorInputD< 3 > VectorInput3D
double get_surface_area(const BoundingBoxD< 3 > &g)
VectorInputD< 2 > VectorInput2D
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.
VectorInputD<-1 > VectorInputKD
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
BoundingBoxD< 5 > BoundingBox5D
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
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.
VectorInputD< 5 > VectorInput5D
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
return the point reflected about the plane
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Vector3Ds get_vertices(const BoundingBoxD< 3 > &bb)
Return a list of the 8 bounding points for the bounding box.
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.
Grid3D< int, SparseGridStorage3D< int, BoundedGridStorage3D > > SparseIntGrid3D
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
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.
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.
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)
VectorInputD< 4 > VectorInput4D
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.
VectorInputD< 1 > VectorInput1D
CheckLevel get_check_level()
Get the current audit mode.
VectorInputD< 6 > VectorInput6D
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)
Rotation2D get_random_rotation_2d()
Builds an identity rotation in 2D.